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
625 ignore_undefined_symbols
637 gcc_default_float_abi
645 aros_nesting_supervisor
650 aros_host_x11_libdirs
651 aros_host_x11_includes
655 aros_default_wbheight
661 aros_cflags_format_security
662 aros_cflags_strict_overflow
663 aros_cflags_enum_compare
664 aros_cflags_array_bounds
665 aros_cflags_unused_but_set_variable
666 crosstools_cxx_target
668 aros_target_strip_flags
675 aros_kernel_objcflags
694 aros_target_cc_includes
709 aros_target_bootloader
729 aros_amigaos_compliance
735 aros_target_toolchain
744 aros_cflags_iquote_end
746 kernel_cflags_iquote_end
748 host_cflags_iquote_end
750 aros_target_nostdlib_ldflags
751 aros_target_detach_ldflags
752 aros_target_nix_ldflags
753 aros_target_nostartup_ldflags
754 aros_target_nostdinc_cflags
871 program_transform_name
884 enable_option_checking
889 with_kernel_gcc_version
893 enable_target_variant
899 enable_amigaos_compliance
900 with_kernel_toolchain_prefix
901 with_elf_toolchain_prefix
904 with_aros_toolchain_install
916 enable_palm_debug_hack
917 enable_nesting_supervisor
929 ac_precious_vars
='build_alias
945 # Initialize some variables set by options.
947 ac_init_version
=false
948 ac_unrecognized_opts
=
950 # The variables have the same names as the options, with
951 # dashes changed to underlines.
959 program_transform_name
=s
,x
,x
,
967 # Installation directory options.
968 # These are left unexpanded so users can "make install exec_prefix=/foo"
969 # and all the variables that are supposed to be based on exec_prefix
970 # by default will actually change.
971 # Use braces instead of parens because sh, perl, etc. also accept them.
972 # (The list follows the same order as the GNU Coding Standards.)
973 bindir
='${exec_prefix}/bin'
974 sbindir
='${exec_prefix}/sbin'
975 libexecdir
='${exec_prefix}/libexec'
976 datarootdir
='${prefix}/share'
977 datadir
='${datarootdir}'
978 sysconfdir
='${prefix}/etc'
979 sharedstatedir
='${prefix}/com'
980 localstatedir
='${prefix}/var'
981 includedir
='${prefix}/include'
982 oldincludedir
='/usr/include'
983 docdir
='${datarootdir}/doc/${PACKAGE}'
984 infodir
='${datarootdir}/info'
989 libdir
='${exec_prefix}/lib'
990 localedir
='${datarootdir}/locale'
991 mandir
='${datarootdir}/man'
997 # If the previous option needs an argument, assign it.
998 if test -n "$ac_prev"; then
999 eval $ac_prev=\
$ac_option
1005 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1010 # Accept the important Cygnus configure options, so we can diagnose typos.
1012 case $ac_dashdash$ac_option in
1016 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1018 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1019 bindir
=$ac_optarg ;;
1021 -build |
--build |
--buil |
--bui |
--bu)
1022 ac_prev
=build_alias
;;
1023 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1024 build_alias
=$ac_optarg ;;
1026 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1027 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1028 ac_prev
=cache_file
;;
1029 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1030 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1031 cache_file
=$ac_optarg ;;
1033 --config-cache |
-C)
1034 cache_file
=config.cache
;;
1036 -datadir |
--datadir |
--datadi |
--datad)
1038 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1039 datadir
=$ac_optarg ;;
1041 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1042 |
--dataroo |
--dataro |
--datar)
1043 ac_prev
=datarootdir
;;
1044 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1045 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1046 datarootdir
=$ac_optarg ;;
1048 -disable-* |
--disable-*)
1049 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1052 as_fn_error $?
"invalid feature name: $ac_useropt"
1053 ac_useropt_orig
=$ac_useropt
1054 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055 case $ac_user_opts in
1057 "enable_
$ac_useropt"
1059 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1060 ac_unrecognized_sep
=', ';;
1062 eval enable_
$ac_useropt=no
;;
1064 -docdir |
--docdir |
--docdi |
--doc |
--do)
1066 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1067 docdir
=$ac_optarg ;;
1069 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1071 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1072 dvidir
=$ac_optarg ;;
1074 -enable-* |
--enable-*)
1075 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1078 as_fn_error $?
"invalid feature name: $ac_useropt"
1079 ac_useropt_orig
=$ac_useropt
1080 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1083 "enable_
$ac_useropt"
1085 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1086 ac_unrecognized_sep
=', ';;
1088 eval enable_
$ac_useropt=\
$ac_optarg ;;
1090 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1091 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1092 |
--exec |
--exe |
--ex)
1093 ac_prev
=exec_prefix
;;
1094 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1095 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1096 |
--exec=* |
--exe=* |
--ex=*)
1097 exec_prefix
=$ac_optarg ;;
1099 -gas |
--gas |
--ga |
--g)
1100 # Obsolete; use --with-gas.
1103 -help |
--help |
--hel |
--he |
-h)
1104 ac_init_help
=long
;;
1105 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1106 ac_init_help
=recursive
;;
1107 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1108 ac_init_help
=short
;;
1110 -host |
--host |
--hos |
--ho)
1111 ac_prev
=host_alias
;;
1112 -host=* |
--host=* |
--hos=* |
--ho=*)
1113 host_alias
=$ac_optarg ;;
1115 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1117 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1119 htmldir
=$ac_optarg ;;
1121 -includedir |
--includedir |
--includedi |
--included |
--include \
1122 |
--includ |
--inclu |
--incl |
--inc)
1123 ac_prev
=includedir
;;
1124 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1125 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1126 includedir
=$ac_optarg ;;
1128 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1130 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1131 infodir
=$ac_optarg ;;
1133 -libdir |
--libdir |
--libdi |
--libd)
1135 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1136 libdir
=$ac_optarg ;;
1138 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1139 |
--libexe |
--libex |
--libe)
1140 ac_prev
=libexecdir
;;
1141 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1142 |
--libexe=* |
--libex=* |
--libe=*)
1143 libexecdir
=$ac_optarg ;;
1145 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1146 ac_prev
=localedir
;;
1147 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1148 localedir
=$ac_optarg ;;
1150 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1151 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1152 ac_prev
=localstatedir
;;
1153 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1154 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1155 localstatedir
=$ac_optarg ;;
1157 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1159 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1160 mandir
=$ac_optarg ;;
1162 -nfp |
--nfp |
--nf)
1163 # Obsolete; use --without-fp.
1166 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1167 |
--no-cr |
--no-c |
-n)
1170 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1171 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1174 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1175 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1176 |
--oldin |
--oldi |
--old |
--ol |
--o)
1177 ac_prev
=oldincludedir
;;
1178 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1179 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1180 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1181 oldincludedir
=$ac_optarg ;;
1183 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1185 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1186 prefix
=$ac_optarg ;;
1188 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1189 |
--program-pre |
--program-pr |
--program-p)
1190 ac_prev
=program_prefix
;;
1191 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1192 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1193 program_prefix
=$ac_optarg ;;
1195 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1196 |
--program-suf |
--program-su |
--program-s)
1197 ac_prev
=program_suffix
;;
1198 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1199 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1200 program_suffix
=$ac_optarg ;;
1202 -program-transform-name |
--program-transform-name \
1203 |
--program-transform-nam |
--program-transform-na \
1204 |
--program-transform-n |
--program-transform- \
1205 |
--program-transform |
--program-transfor \
1206 |
--program-transfo |
--program-transf \
1207 |
--program-trans |
--program-tran \
1208 |
--progr-tra |
--program-tr |
--program-t)
1209 ac_prev
=program_transform_name
;;
1210 -program-transform-name=* |
--program-transform-name=* \
1211 |
--program-transform-nam=* |
--program-transform-na=* \
1212 |
--program-transform-n=* |
--program-transform-=* \
1213 |
--program-transform=* |
--program-transfor=* \
1214 |
--program-transfo=* |
--program-transf=* \
1215 |
--program-trans=* |
--program-tran=* \
1216 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1217 program_transform_name
=$ac_optarg ;;
1219 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1221 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1222 pdfdir
=$ac_optarg ;;
1224 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1226 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1229 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1230 |
-silent |
--silent |
--silen |
--sile |
--sil)
1233 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1235 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1237 sbindir
=$ac_optarg ;;
1239 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1240 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1241 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1243 ac_prev
=sharedstatedir
;;
1244 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1245 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1246 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1248 sharedstatedir
=$ac_optarg ;;
1250 -site |
--site |
--sit)
1252 -site=* |
--site=* |
--sit=*)
1255 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1257 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1258 srcdir
=$ac_optarg ;;
1260 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1261 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1262 ac_prev
=sysconfdir
;;
1263 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1264 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1265 sysconfdir
=$ac_optarg ;;
1267 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1268 ac_prev
=target_alias
;;
1269 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1270 target_alias
=$ac_optarg ;;
1272 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1275 -version |
--version |
--versio |
--versi |
--vers |
-V)
1276 ac_init_version
=: ;;
1279 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1280 # Reject names that are not valid shell variable names.
1281 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1282 as_fn_error $?
"invalid package name: $ac_useropt"
1283 ac_useropt_orig
=$ac_useropt
1284 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1285 case $ac_user_opts in
1289 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1290 ac_unrecognized_sep
=', ';;
1292 eval with_
$ac_useropt=\
$ac_optarg ;;
1294 -without-* |
--without-*)
1295 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1296 # Reject names that are not valid shell variable names.
1297 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1298 as_fn_error $?
"invalid package name: $ac_useropt"
1299 ac_useropt_orig
=$ac_useropt
1300 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1301 case $ac_user_opts in
1305 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1306 ac_unrecognized_sep
=', ';;
1308 eval with_
$ac_useropt=no
;;
1311 # Obsolete; use --with-x.
1314 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1315 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1316 ac_prev
=x_includes
;;
1317 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1318 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1319 x_includes
=$ac_optarg ;;
1321 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1322 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1323 ac_prev
=x_libraries
;;
1324 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1325 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1326 x_libraries
=$ac_optarg ;;
1328 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1329 Try \`$0 --help' for more information"
1333 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1334 # Reject names that are not valid shell variable names.
1335 case $ac_envvar in #(
1336 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1337 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1339 eval $ac_envvar=\
$ac_optarg
1340 export $ac_envvar ;;
1343 # FIXME: should be removed in autoconf 3.0.
1344 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1345 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1346 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1347 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1353 if test -n "$ac_prev"; then
1354 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1355 as_fn_error $?
"missing argument to $ac_option"
1358 if test -n "$ac_unrecognized_opts"; then
1359 case $enable_option_checking in
1361 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1362 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1366 # Check all directory arguments for consistency.
1367 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1368 datadir sysconfdir sharedstatedir localstatedir includedir \
1369 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1370 libdir localedir mandir
1372 eval ac_val
=\$
$ac_var
1373 # Remove trailing slashes.
1376 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1377 eval $ac_var=\
$ac_val;;
1379 # Be sure to have absolute directory names.
1381 [\\/$
]* | ?
:[\\/]* ) continue;;
1382 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1384 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1387 # There might be people who depend on the old broken behavior: `$host'
1388 # used to hold the argument of --host etc.
1389 # FIXME: To remove some day.
1392 target
=$target_alias
1394 # FIXME: To remove some day.
1395 if test "x$host_alias" != x
; then
1396 if test "x$build_alias" = x
; then
1397 cross_compiling
=maybe
1398 elif test "x$build_alias" != "x$host_alias"; then
1404 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1406 test "$silent" = yes && exec 6>/dev
/null
1409 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1410 ac_ls_di
=`ls -di .` &&
1411 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1412 as_fn_error $?
"working directory cannot be determined"
1413 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1414 as_fn_error $?
"pwd does not report name of working directory"
1417 # Find the source files, if location was not specified.
1418 if test -z "$srcdir"; then
1419 ac_srcdir_defaulted
=yes
1420 # Try the directory containing this script, then the parent directory.
1421 ac_confdir
=`$as_dirname -- "$as_myself" ||
1422 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1423 X"$as_myself" : 'X\(//\)[^/]' \| \
1424 X"$as_myself" : 'X\(//\)$' \| \
1425 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1426 $as_echo X"$as_myself" |
1427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1445 if test ! -r "$srcdir/$ac_unique_file"; then
1449 ac_srcdir_defaulted
=no
1451 if test ! -r "$srcdir/$ac_unique_file"; then
1452 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1453 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1455 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1457 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1459 # When building in place, set srcdir=.
1460 if test "$ac_abs_confdir" = "$ac_pwd"; then
1463 # Remove unnecessary trailing slashes from srcdir.
1464 # Double slashes in file names in object file debugging info
1465 # mess up M-x gdb in Emacs.
1467 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1469 for ac_var
in $ac_precious_vars; do
1470 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1471 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1472 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1473 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1477 # Report the --help message.
1479 if test "$ac_init_help" = "long"; then
1480 # Omit some internal or obsolete options to make the list less imposing.
1481 # This message is too long to be a string in the A/UX 3.1 sh.
1483 \`configure' configures this package to adapt to many kinds of systems.
1485 Usage: $0 [OPTION]... [VAR=VALUE]...
1487 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1488 VAR=VALUE. See below for descriptions of some of the useful variables.
1490 Defaults for the options are specified in brackets.
1493 -h, --help display this help and exit
1494 --help=short display options specific to this package
1495 --help=recursive display the short help of all the included packages
1496 -V, --version display version information and exit
1497 -q, --quiet, --silent do not print \`checking ...' messages
1498 --cache-file=FILE cache test results in FILE [disabled]
1499 -C, --config-cache alias for \`--cache-file=config.cache'
1500 -n, --no-create do not create output files
1501 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1503 Installation directories:
1504 --prefix=PREFIX install architecture-independent files in PREFIX
1505 [$ac_default_prefix]
1506 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1509 By default, \`make install' will install all the files in
1510 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1511 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1512 for instance \`--prefix=\$HOME'.
1514 For better control, use the options below.
1516 Fine tuning of the installation directories:
1517 --bindir=DIR user executables [EPREFIX/bin]
1518 --sbindir=DIR system admin executables [EPREFIX/sbin]
1519 --libexecdir=DIR program executables [EPREFIX/libexec]
1520 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1521 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1522 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1523 --libdir=DIR object code libraries [EPREFIX/lib]
1524 --includedir=DIR C header files [PREFIX/include]
1525 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1526 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1527 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1528 --infodir=DIR info documentation [DATAROOTDIR/info]
1529 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1530 --mandir=DIR man documentation [DATAROOTDIR/man]
1531 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1532 --htmldir=DIR html documentation [DOCDIR]
1533 --dvidir=DIR dvi documentation [DOCDIR]
1534 --pdfdir=DIR pdf documentation [DOCDIR]
1535 --psdir=DIR ps documentation [DOCDIR]
1541 --x-includes=DIR X include files are
in DIR
1542 --x-libraries=DIR X library files are
in DIR
1545 --build=BUILD configure
for building on BUILD
[guessed
]
1546 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1550 if test -n "$ac_init_help"; then
1555 --disable-option-checking ignore unrecognized
--enable/--with options
1556 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1557 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1558 --enable-build-type=TYPE
1559 Select the build
type. Available types are
:
1560 personal
, nightly
, snapshot
, milestone
, release. Do
1561 NOT use this option unless you know what you are
1562 doing
! (default
=personal
)
1563 --enable-debug=list Enable different types of debug. Commas or
1564 whitespaces can be used to separate the items
in the
1565 list. Available types of debug are
: all
, none
,
1566 messages
, stack
, mungwall
, modules
, symbols. If no
1567 list is provided
then "all" is assumed.
1569 --enable-distcc Use distcc as a front end to the compiler
1571 --enable-ccache Use ccache as a front end to the compiler
1573 --enable-target-variant=NAME
1574 Enable a specific target variant
(default
=none
)
1575 --enable-amigaos-compliance=VERSION
1576 Enforce userspace AmigaOS compliance to a specific
1577 KickStart version
(default
=none
).
1578 --disable-crosstools Do not build cross-compiler toolchain
1579 --enable-includes=dir Alternative system include directory
1580 --enable-palm-debug-hack
1581 Enable palm debug output hack
in palm native
1583 --enable-nesting-supervisor
1584 Enable nesting supervisor support
in unix
1586 --disable-mmu Disable MMU support
(default
=enabled
)
1587 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1588 --enable-x11-shm use X11 shared memory
(default
=auto
)
1589 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1590 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1591 --disable-sdltest Do not try to compile and run a
test SDL program
1592 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1595 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1596 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1597 --with-kernel-gcc-version=VERSION
1598 Use
host gcc-VERSION
for building AROS
1599 --with-gcc-version=VERSION
1600 Use
host gcc-VERSION
for building AROS
1601 --with-optimization=FLAGS
1602 Use optimization flags FLAGS
(default
=-O2).
1603 --with-paranoia=FLAGS CC flags to
enable paranoia
1604 --with-xcode=PATH Specify XCode path
for iOS targets
1605 (default
=/Developer
).
1606 --with-sdk-version=VERSION
1607 Use iOS SDK version VERSION
(default
=4.1).
1608 --with-sdk=PATH Specify Android SDK path
1609 (default
=$default_android_sdk).
1610 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1611 --with-sdk-version=LEVEL
1612 Use Android SDK
for API LEVEL
(default
=12).
1613 --with-ndk-version=LEVEL
1614 Use Android NDK
for API LEVEL
(default
=9).
1615 --with-kernel-toolchain-prefix=...
1616 Specify crosscompile toolchain prefix
for kernel
1618 --with-elf-toolchain-prefix=...
1619 Specify crosscompile toolchain prefix to wrap
for
1621 --with-aros-toolchain=PREFIX
1622 Specify prebuilt AROS toolchain
1623 --with-aros-toolchain-install=DIR
1624 Where to
install or search
for cross tools binaries
1625 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1626 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1627 --with-float=<spec
> Specify floating point ABI
1628 (default
=$gcc_default_float_abi).
1629 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1630 --with-portssources=DIR Where to download sourcecode
for external ports
1631 --with-bootloader=NAME Use a specific bootloader
1632 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1633 --with-theme=NAME Use a specific GUI Theme
1634 --with-resolution=XRESxYRESxDEPTH
1635 Default resolution of the initial WorkbenchScreen
1636 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1637 --with-x use the X Window System
1638 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1639 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1641 Some influential environment variables
:
1642 CXX C
++ compiler
command
1643 CXXFLAGS C
++ compiler flags
1644 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1645 nonstandard directory
<lib dir
>
1646 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1647 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1648 you have headers
in a nonstandard directory
<include dir
>
1649 CC C compiler
command
1650 CFLAGS C compiler flags
1652 PYTHON the Python interpreter
1653 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1655 Use these variables to override the choices made by
`configure' or to help
1656 it to find libraries and programs with nonstandard names/locations.
1658 Report bugs to the package provider.
1663 if test "$ac_init_help" = "recursive"; then
1664 # If there are subdirs, report their specific --help.
1665 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1666 test -d "$ac_dir" ||
1667 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1672 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1674 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1675 # A ".." for each directory in $ac_dir_suffix.
1676 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1677 case $ac_top_builddir_sub in
1678 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1679 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1682 ac_abs_top_builddir=$ac_pwd
1683 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1684 # for backward compatibility:
1685 ac_top_builddir=$ac_top_build_prefix
1688 .) # We are building in place.
1690 ac_top_srcdir=$ac_top_builddir_sub
1691 ac_abs_top_srcdir=$ac_pwd ;;
1692 [\\/]* | ?:[\\/]* ) # Absolute name.
1693 ac_srcdir=$srcdir$ac_dir_suffix;
1694 ac_top_srcdir=$srcdir
1695 ac_abs_top_srcdir=$srcdir ;;
1697 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1698 ac_top_srcdir=$ac_top_build_prefix$srcdir
1699 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1701 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1703 cd "$ac_dir" || { ac_status=$?; continue; }
1704 # Check for guested configure.
1705 if test -f "$ac_srcdir/configure.gnu"; then
1707 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1708 elif test -f "$ac_srcdir/configure"; then
1710 $SHELL "$ac_srcdir/configure" --help=recursive
1712 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1714 cd "$ac_pwd" || { ac_status=$?; break; }
1718 test -n "$ac_init_help" && exit $ac_status
1719 if $ac_init_version; then
1722 generated by GNU Autoconf 2.69
1724 Copyright (C) 2012 Free Software Foundation, Inc.
1725 This configure script is free software; the Free Software Foundation
1726 gives unlimited permission to copy, distribute and modify it.
1731 ## ------------------------ ##
1732 ## Autoconf initialization. ##
1733 ## ------------------------ ##
1735 # ac_fn_cxx_try_compile LINENO
1736 # ----------------------------
1737 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1738 ac_fn_cxx_try_compile ()
1740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741 rm -f conftest.$ac_objext
1742 if { { ac_try="$ac_compile"
1744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1745 *) ac_try_echo
=$ac_try;;
1747 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1748 $as_echo "$ac_try_echo"; } >&5
1749 (eval "$ac_compile") 2>conftest.err
1751 if test -s conftest.err
; then
1752 grep -v '^ *+' conftest.err
>conftest.er1
1753 cat conftest.er1
>&5
1754 mv -f conftest.er1 conftest.err
1756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757 test $ac_status = 0; } && {
1758 test -z "$ac_cxx_werror_flag" ||
1759 test ! -s conftest.err
1760 } && test -s conftest.
$ac_objext; then :
1763 $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.
$ac_ext >&5
1768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769 as_fn_set_status
$ac_retval
1771 } # ac_fn_cxx_try_compile
1773 # ac_fn_c_try_compile LINENO
1774 # --------------------------
1775 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1776 ac_fn_c_try_compile
()
1778 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1779 rm -f conftest.
$ac_objext
1780 if { { ac_try
="$ac_compile"
1782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_compile") 2>conftest.err
1789 if test -s conftest.err; then
1790 grep -v '^ *+' conftest.err >conftest.er1
1791 cat conftest.er1 >&5
1792 mv -f conftest.er1 conftest.err
1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 test $ac_status = 0; } && {
1796 test -z "$ac_c_werror_flag" ||
1797 test ! -s conftest.err
1798 } && test -s conftest.$ac_objext; then :
1801 $as_echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.$ac_ext >&5
1806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1807 as_fn_set_status $ac_retval
1809 } # ac_fn_c_try_compile
1811 # ac_fn_c_try_cpp LINENO
1812 # ----------------------
1813 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817 if { { ac_try="$ac_cpp conftest.$ac_ext"
1819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1820 *) ac_try_echo
=$ac_try;;
1822 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1823 $as_echo "$ac_try_echo"; } >&5
1824 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1826 if test -s conftest.err
; then
1827 grep -v '^ *+' conftest.err
>conftest.er1
1828 cat conftest.er1
>&5
1829 mv -f conftest.er1 conftest.err
1831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1832 test $ac_status = 0; } > conftest.i
&& {
1833 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1834 test ! -s conftest.err
1838 $as_echo "$as_me: failed program was:" >&5
1839 sed 's/^/| /' conftest.
$ac_ext >&5
1843 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1844 as_fn_set_status
$ac_retval
1848 # ac_fn_c_try_link LINENO
1849 # -----------------------
1850 # Try to link conftest.$ac_ext, and return whether this succeeded.
1853 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1854 rm -f conftest.
$ac_objext conftest
$ac_exeext
1855 if { { ac_try
="$ac_link"
1857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1858 *) ac_try_echo=$ac_try;;
1860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1861 $as_echo "$ac_try_echo"; } >&5
1862 (eval "$ac_link") 2>conftest.err
1864 if test -s conftest.err; then
1865 grep -v '^ *+' conftest.err >conftest.er1
1866 cat conftest.er1 >&5
1867 mv -f conftest.er1 conftest.err
1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test $ac_status = 0; } && {
1871 test -z "$ac_c_werror_flag" ||
1872 test ! -s conftest.err
1873 } && test -s conftest$ac_exeext && {
1874 test "$cross_compiling" = yes ||
1875 test -x conftest$ac_exeext
1879 $as_echo "$as_me: failed program was:" >&5
1880 sed 's/^/| /' conftest.$ac_ext >&5
1884 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1885 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1886 # interfere with the next link command; also delete a directory that is
1887 # left behind by Apple's compiler. We do this before executing the actions.
1888 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890 as_fn_set_status $ac_retval
1892 } # ac_fn_c_try_link
1894 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1895 # -------------------------------------------------------
1896 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1897 # the include files in INCLUDES and setting the cache variable VAR
1899 ac_fn_c_check_header_mongrel ()
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902 if eval \${$3+:} false; then :
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1904 $as_echo_n "checking for $2... " >&6; }
1905 if eval \${$3+:} false; then :
1906 $as_echo_n "(cached) " >&6
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1910 $as_echo "$ac_res" >&6; }
1912 # Is the header compilable?
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1914 $as_echo_n "checking $2 usability... " >&6; }
1915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916 /* end confdefs.h. */
1920 if ac_fn_c_try_compile "$LINENO"; then :
1921 ac_header_compiler=yes
1923 ac_header_compiler=no
1925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1927 $as_echo "$ac_header_compiler" >&6; }
1929 # Is the header present?
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1931 $as_echo_n "checking $2 presence... " >&6; }
1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933 /* end confdefs.h. */
1936 if ac_fn_c_try_cpp "$LINENO"; then :
1937 ac_header_preproc=yes
1939 ac_header_preproc=no
1941 rm -f conftest.err conftest.i conftest.$ac_ext
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1943 $as_echo "$ac_header_preproc" >&6; }
1945 # So? What about this header?
1946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1949 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1951 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1955 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1957 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1959 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1961 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1963 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1967 $as_echo_n "checking for $2... " >&6; }
1968 if eval \${$3+:} false; then :
1969 $as_echo_n "(cached) " >&6
1971 eval "$3=\$ac_header_compiler"
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1975 $as_echo "$ac_res" >&6; }
1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1979 } # ac_fn_c_check_header_mongrel
1981 # ac_fn_c_try_run LINENO
1982 # ----------------------
1983 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1984 # that executables *can* be run.
1987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1988 if { { ac_try="$ac_link"
1990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1991 *) ac_try_echo
=$ac_try;;
1993 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1994 $as_echo "$ac_try_echo"; } >&5
1995 (eval "$ac_link") 2>&5
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1999 { { case "(($ac_try" in
2000 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2001 *) ac_try_echo=$ac_try;;
2003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2004 $as_echo "$ac_try_echo"; } >&5
2005 (eval "$ac_try") 2>&5
2007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2008 test $ac_status = 0; }; }; then :
2011 $as_echo "$as_me: program exited with status $ac_status" >&5
2012 $as_echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.$ac_ext >&5
2015 ac_retval=$ac_status
2017 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2018 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2019 as_fn_set_status $ac_retval
2023 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2024 # -------------------------------------------------------
2025 # Tests whether HEADER exists and can be compiled using the include files in
2026 # INCLUDES, setting the cache variable VAR accordingly.
2027 ac_fn_c_check_header_compile ()
2029 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2031 $as_echo_n "checking for $2... " >&6; }
2032 if eval \${$3+:} false; then :
2033 $as_echo_n "(cached) " >&6
2035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2040 if ac_fn_c_try_compile "$LINENO"; then :
2045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2049 $as_echo "$ac_res" >&6; }
2050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2052 } # ac_fn_c_check_header_compile
2054 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2055 # ----------------------------------------------------
2056 # Tries to find if the field MEMBER exists in type AGGR, after including
2057 # INCLUDES, setting cache variable VAR accordingly.
2058 ac_fn_c_check_member ()
2060 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2062 $as_echo_n "checking for $2.$3... " >&6; }
2063 if eval \${$4+:} false; then :
2064 $as_echo_n "(cached) " >&6
2066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h. */
2079 if ac_fn_c_try_compile "$LINENO"; then :
2082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h. */
2089 if (sizeof ac_aggr.$3)
2095 if ac_fn_c_try_compile "$LINENO"; then :
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2106 $as_echo "$ac_res" >&6; }
2107 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2109 } # ac_fn_c_check_member
2111 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2112 # ---------------------------------------------
2113 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2115 ac_fn_c_check_decl ()
2117 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2118 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2119 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2121 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2122 if eval \${$3+:} false; then :
2123 $as_echo_n "(cached) " >&6
2125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2126 /* end confdefs.h. */
2131 #ifndef $as_decl_name
2133 (void) $as_decl_use;
2135 (void) $as_decl_name;
2143 if ac_fn_c_try_compile "$LINENO"; then :
2148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2152 $as_echo "$ac_res" >&6; }
2153 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2155 } # ac_fn_c_check_decl
2157 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2158 # -------------------------------------------
2159 # Tests whether TYPE exists after having included INCLUDES, setting cache
2160 # variable VAR accordingly.
2161 ac_fn_c_check_type ()
2163 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2165 $as_echo_n "checking for $2... " >&6; }
2166 if eval \${$3+:} false; then :
2167 $as_echo_n "(cached) " >&6
2170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2171 /* end confdefs.h. */
2182 if ac_fn_c_try_compile "$LINENO"; then :
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2195 if ac_fn_c_try_compile "$LINENO"; then :
2200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2206 $as_echo "$ac_res" >&6; }
2207 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2209 } # ac_fn_c_check_type
2211 # ac_fn_c_check_func LINENO FUNC VAR
2212 # ----------------------------------
2213 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2214 ac_fn_c_check_func ()
2216 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2218 $as_echo_n "checking for $2... " >&6; }
2219 if eval \${$3+:} false; then :
2220 $as_echo_n "(cached) " >&6
2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h. */
2224 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2226 #define $2 innocuous_$2
2228 /* System header to define __stub macros and hopefully few prototypes,
2229 which can conflict with char $2 (); below.
2230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2231 <limits.h> exists even on freestanding compilers. */
2234 # include <limits.h>
2236 # include <assert.h>
2241 /* Override any GCC internal prototype to avoid an error.
2242 Use char because int might match the return type of a GCC
2243 builtin and then its argument prototype would still apply. */
2248 /* The GNU C library defines this for functions which it implements
2249 to always fail with ENOSYS. Some functions are actually named
2250 something starting with __ and the normal name is an alias. */
2251 #if defined __stub_$2 || defined __stub___$2
2263 if ac_fn_c_try_link "$LINENO"; then :
2268 rm -f core conftest.err conftest.$ac_objext \
2269 conftest$ac_exeext conftest.$ac_ext
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2273 $as_echo "$ac_res" >&6; }
2274 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2276 } # ac_fn_c_check_func
2277 cat >config.log <<_ACEOF
2278 This file contains any messages produced by compilers while
2279 running configure, to aid debugging if configure makes a mistake.
2281 It was created by $as_me, which was
2282 generated by GNU Autoconf 2.69. Invocation command line was
2294 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2295 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2296 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2297 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2298 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2300 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2301 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2303 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2304 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2305 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2306 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2307 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2308 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2309 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317 test -z "$as_dir" && as_dir=.
2318 $as_echo "PATH: $as_dir"
2334 # Keep a trace of the command line.
2335 # Strip out --no-create and --no-recursion so they do not pile up.
2336 # Strip out --silent because we don't want to record it for future runs.
2337 # Also quote any args containing shell meta-characters.
2338 # Make two passes to allow for proper duplicate-argument suppression.
2342 ac_must_keep_next=false
2348 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2349 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2350 | -silent | --silent | --silen | --sile | --sil)
2353 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2356 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2358 as_fn_append ac_configure_args1 " '$ac_arg'"
2359 if test $ac_must_keep_next = true; then
2360 ac_must_keep_next=false # Got value, back to normal.
2363 *=* | --config-cache | -C | -disable-* | --disable-* \
2364 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2365 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2366 | -with-* | --with-* | -without-* | --without-* | --x)
2367 case "$ac_configure_args0 " in
2368 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2371 -* ) ac_must_keep_next=true ;;
2374 as_fn_append ac_configure_args " '$ac_arg'"
2379 { ac_configure_args0=; unset ac_configure_args0;}
2380 { ac_configure_args1=; unset ac_configure_args1;}
2382 # When interrupted or exit'd, cleanup temporary files, and complete
2383 # config.log. We remove comments because anyway the quotes in there
2384 # would cause problems or look ugly.
2385 # WARNING: Use '\'' to represent an apostrophe within the trap.
2386 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2387 trap 'exit_status=$?
2388 # Save into config.log some information that might help in debugging.
2392 $as_echo "## ---------------- ##
2393 ## Cache variables. ##
2394 ## ---------------- ##"
2396 # The following way of writing the cache mishandles newlines in values,
2398 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2399 eval ac_val=\$$ac_var
2403 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2404 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2407 _ | IFS | as_nl) ;; #(
2408 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2409 *) { eval $ac_var=; unset $ac_var;} ;;
2414 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2415 *${as_nl}ac_space=\ *)
2417 "s/'\''/'\''\\\\'\'''\''/g;
2418 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2421 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2428 $as_echo "## ----------------- ##
2429 ## Output variables. ##
2430 ## ----------------- ##"
2432 for ac_var in $ac_subst_vars
2434 eval ac_val=\$$ac_var
2436 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2438 $as_echo "$ac_var='\''$ac_val'\''"
2442 if test -n "$ac_subst_files"; then
2443 $as_echo "## ------------------- ##
2444 ## File substitutions. ##
2445 ## ------------------- ##"
2447 for ac_var in $ac_subst_files
2449 eval ac_val=\$$ac_var
2451 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2453 $as_echo "$ac_var='\''$ac_val'\''"
2458 if test -s confdefs.h; then
2459 $as_echo "## ----------- ##
2466 test "$ac_signal" != 0 &&
2467 $as_echo "$as_me: caught signal $ac_signal"
2468 $as_echo "$as_me: exit $exit_status"
2470 rm -f core *.core core.conftest.* &&
2471 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2474 for ac_signal in 1 2 13 15; do
2475 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2479 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2480 rm -f -r conftest* confdefs.h
2482 $as_echo "/* confdefs.h */" > confdefs.h
2484 # Predefined preprocessor variables.
2486 cat >>confdefs.h <<_ACEOF
2487 #define PACKAGE_NAME "$PACKAGE_NAME"
2490 cat >>confdefs.h <<_ACEOF
2491 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2494 cat >>confdefs.h <<_ACEOF
2495 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2498 cat >>confdefs.h <<_ACEOF
2499 #define PACKAGE_STRING "$PACKAGE_STRING"
2502 cat >>confdefs.h <<_ACEOF
2503 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2506 cat >>confdefs.h <<_ACEOF
2507 #define PACKAGE_URL "$PACKAGE_URL"
2511 # Let the site file select an alternate cache file if it wants to.
2512 # Prefer an explicitly selected file to automatically selected ones.
2515 if test -n "$CONFIG_SITE"; then
2516 # We do not want a PATH search for config.site.
2517 case $CONFIG_SITE in #((
2518 -*) ac_site_file1=./$CONFIG_SITE;;
2519 */*) ac_site_file1=$CONFIG_SITE;;
2520 *) ac_site_file1=./$CONFIG_SITE;;
2522 elif test "x$prefix" != xNONE; then
2523 ac_site_file1=$prefix/share/config.site
2524 ac_site_file2=$prefix/etc/config.site
2526 ac_site_file1=$ac_default_prefix/share/config.site
2527 ac_site_file2=$ac_default_prefix/etc/config.site
2529 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2531 test "x$ac_site_file" = xNONE && continue
2532 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2534 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2535 sed 's/^/| /' "$ac_site_file" >&5
2537 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2539 as_fn_error $? "failed to load site
script $ac_site_file
2540 See \
`config.log' for more details" "$LINENO" 5; }
2544 if test -r "$cache_file"; then
2545 # Some versions of bash will fail to source /dev/null (special files
2546 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2547 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2549 $as_echo "$as_me: loading cache $cache_file" >&6;}
2551 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2552 *) . "./$cache_file";;
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2557 $as_echo "$as_me: creating cache $cache_file" >&6;}
2561 as_fn_append ac_header_list " stdlib.h"
2562 as_fn_append ac_header_list " unistd.h"
2563 as_fn_append ac_header_list " sys/param.h"
2564 # Check that the precious variables saved in the cache have kept the same
2566 ac_cache_corrupted=false
2567 for ac_var in $ac_precious_vars; do
2568 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2569 eval ac_new_set=\$ac_env_${ac_var}_set
2570 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2571 eval ac_new_val=\$ac_env_${ac_var}_value
2572 case $ac_old_set,$ac_new_set in
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2575 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2576 ac_cache_corrupted=: ;;
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2579 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2580 ac_cache_corrupted=: ;;
2583 if test "x$ac_old_val" != "x$ac_new_val"; then
2584 # differences in whitespace do not lead to failure.
2585 ac_old_val_w=`echo x
$ac_old_val`
2586 ac_new_val_w=`echo x
$ac_new_val`
2587 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2589 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2590 ac_cache_corrupted=:
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2593 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2594 eval $ac_var=\$ac_old_val
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2597 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2599 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2602 # Pass precious variables to config.status.
2603 if test "$ac_new_set" = set; then
2605 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2606 *) ac_arg=$ac_var=$ac_new_val ;;
2608 case " $ac_configure_args " in
2609 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2610 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2614 if $ac_cache_corrupted; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2618 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2619 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2621 ## -------------------- ##
2622 ## Main body of script. ##
2623 ## -------------------- ##
2626 ac_cpp='$CPP $CPPFLAGS'
2627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2634 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2635 if test -f "$ac_dir/install-sh"; then
2637 ac_install_sh="$ac_aux_dir/install-sh -c"
2639 elif test -f "$ac_dir/install.sh"; then
2641 ac_install_sh="$ac_aux_dir/install.sh -c"
2643 elif test -f "$ac_dir/shtool"; then
2645 ac_install_sh="$ac_aux_dir/shtool install -c"
2649 if test -z "$ac_aux_dir"; then
2650 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2653 # These three variables are undocumented and unsupported,
2654 # and are intended to be withdrawn in a future Autoconf release.
2655 # They can cause serious problems if a builder's source tree is in a directory
2656 # whose full name contains unusual characters.
2657 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2658 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2659 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2663 # Check what host we are running on.
2664 # If a target is not suggested, we use this one.
2665 # Note that what we call a target, Autoconf calls a host.
2666 # Make sure we can run config.sub.
2667 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2668 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2671 $as_echo_n "checking build system type... " >&6; }
2672 if ${ac_cv_build+:} false; then :
2673 $as_echo_n "(cached) " >&6
2675 ac_build_alias=$build_alias
2676 test "x$ac_build_alias" = x &&
2677 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2678 test "x$ac_build_alias" = x &&
2679 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2680 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2681 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2685 $as_echo "$ac_cv_build" >&6; }
2686 case $ac_cv_build in
2688 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2691 ac_save_IFS=$IFS; IFS='-'
2697 # Remember, the first character of IFS is used to create $*,
2698 # except with old shells:
2701 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2705 $as_echo_n "checking host system type... " >&6; }
2706 if ${ac_cv_host+:} false; then :
2707 $as_echo_n "(cached) " >&6
2709 if test "x$host_alias" = x; then
2710 ac_cv_host=$ac_cv_build
2712 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2713 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2718 $as_echo "$ac_cv_host" >&6; }
2721 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2724 ac_save_IFS=$IFS; IFS='-'
2730 # Remember, the first character of IFS is used to create $*,
2731 # except with old shells:
2734 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2738 # The AROS target is slightly different to the normal GNU style
2739 # format. We don't have the middle part, and we reverse the order
2740 # of the $(CPU) and $(OS) bits.
2742 # Don't strip the version of the target yet, it might be
2743 # useful on some systems.
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2746 $as_echo_n "checking for AROS style target... " >&6; }
2748 if test "$target" = "NONE" ; then
2749 target=$host_os-$host_cpu
2751 if test "$target" = "" ; then
2752 target=$host_os-$host_cpu
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2756 $as_echo "$target" >&6; }
2758 if test "$host_os" = "mingw32" ; then
2762 # Don't know where else to put this...
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2764 $as_echo_n "checking building AROS in... " >&6; }
2765 AROS_BUILDDIR=`${PWDCMD-pwd}`
2766 AROS_BUILDDIR_UNIX=${PWD}
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2768 $as_echo "$AROS_BUILDDIR" >&6; }
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2771 $as_echo_n "checking AROS source in... " >&6; }
2772 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2775 $as_echo "$SRCDIR" >&6; }
2777 # Parse the target field into something useful.
2779 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2780 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2783 # Some debug output, to be removed again.
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2785 $as_echo_n "checking for target system (debug output)... " >&6; }
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2787 $as_echo "$target_os" >&6; }
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2789 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2791 $as_echo "$target_cpu" >&6; }
2793 aros_default_wbwidth=800
2794 aros_default_wbheight=600
2795 aros_default_wbdepth=4
2798 # The first step is to find the host binaries.
2799 # Check for a compiler.
2800 # Due to a bug in autoconf check for c++ compiler first.
2801 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2803 ac_cpp='$CXXCPP $CPPFLAGS'
2804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2807 if test -z "$CXX"; then
2808 if test -n "$CCC"; then
2811 if test -n "$ac_tool_prefix"; then
2812 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2814 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2815 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2817 $as_echo_n "checking for $ac_word... " >&6; }
2818 if ${ac_cv_prog_CXX+:} false; then :
2819 $as_echo_n "(cached) " >&6
2821 if test -n "$CXX"; then
2822 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir=.
2829 for ac_exec_ext in '' $ac_executable_extensions; do
2830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2831 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2842 if test -n "$CXX"; then
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2844 $as_echo "$CXX" >&6; }
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847 $as_echo "no" >&6; }
2851 test -n "$CXX" && break
2854 if test -z "$CXX"; then
2856 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2858 # Extract the first word of "$ac_prog", so it can be a program name with args.
2859 set dummy $ac_prog; ac_word=$2
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2861 $as_echo_n "checking for $ac_word... " >&6; }
2862 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2863 $as_echo_n "(cached) " >&6
2865 if test -n "$ac_ct_CXX"; then
2866 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2872 test -z "$as_dir" && as_dir=.
2873 for ac_exec_ext in '' $ac_executable_extensions; do
2874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2875 ac_cv_prog_ac_ct_CXX="$ac_prog"
2876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2885 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2886 if test -n "$ac_ct_CXX"; then
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2888 $as_echo "$ac_ct_CXX" >&6; }
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2891 $as_echo "no" >&6; }
2895 test -n "$ac_ct_CXX" && break
2898 if test "x$ac_ct_CXX" = x; then
2901 case $cross_compiling:$ac_tool_warned in
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2905 ac_tool_warned=yes ;;
2913 # Provide some information about the compiler.
2914 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2917 for ac_option in --version -v -V -qversion; do
2918 { { ac_try="$ac_compiler $ac_option >&5"
2920 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2921 *) ac_try_echo
=$ac_try;;
2923 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2924 $as_echo "$ac_try_echo"; } >&5
2925 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2927 if test -s conftest.err
; then
2929 ... rest of stderr output deleted ...
2930 10q' conftest.err
>conftest.er1
2931 cat conftest.er1
>&5
2933 rm -f conftest.er1 conftest.err
2934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2935 test $ac_status = 0; }
2938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2949 ac_clean_files_save
=$ac_clean_files
2950 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2951 # Try to create an executable without -o first, disregard a.out.
2952 # It will help us diagnose broken compilers, and finding out an intuition
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2955 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2956 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2958 # The possible output files:
2959 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2962 for ac_file
in $ac_files
2965 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2966 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2971 if { { ac_try
="$ac_link_default"
2973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2977 $as_echo "$ac_try_echo"; } >&5
2978 (eval "$ac_link_default") 2>&5
2980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2981 test $ac_status = 0; }; then :
2982 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2983 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2984 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2985 # so that the user can short-circuit this test for compilers unknown to
2987 for ac_file in $ac_files ''
2989 test -f "$ac_file" || continue
2991 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2994 # We found the default executable, but exeext='' is most
2998 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3000 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3002 # We set ac_cv_exeext here because the later test for it is not
3003 # safe: cross compilers may not add the suffix if given an `-o'
3004 # argument, so we may need to know it at that point already.
3005 # Even if this section looks crufty: it has the advantage of
3012 test "$ac_cv_exeext" = no && ac_cv_exeext=
3017 if test -z "$ac_file"; then :
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019 $as_echo "no" >&6; }
3020 $as_echo "$as_me: failed program was:" >&5
3021 sed 's
/^
/|
/' conftest.$ac_ext >&5
3023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3024 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3025 as_fn_error 77 "C++ compiler cannot create executables
3026 See \`config.log
' for more details" "$LINENO" 5; }
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3029 $as_echo "yes" >&6; }
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3032 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3034 $as_echo "$ac_file" >&6; }
3035 ac_exeext=$ac_cv_exeext
3037 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3038 ac_clean_files=$ac_clean_files_save
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3040 $as_echo_n "checking for suffix of executables... " >&6; }
3041 if { { ac_try="$ac_link"
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_link") 2>&5
3050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051 test $ac_status = 0; }; then :
3052 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3053 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3054 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3056 for ac_file
in conftest.exe conftest conftest.
*; do
3057 test -f "$ac_file" ||
continue
3059 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3060 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3068 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3069 See \`config.log' for more details" "$LINENO" 5; }
3071 rm -f conftest conftest
$ac_cv_exeext
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3073 $as_echo "$ac_cv_exeext" >&6; }
3075 rm -f conftest.
$ac_ext
3076 EXEEXT
=$ac_cv_exeext
3078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3079 /* end confdefs.h. */
3084 FILE *f = fopen ("conftest.out", "w");
3085 return ferror (f) || fclose (f) != 0;
3091 ac_clean_files
="$ac_clean_files conftest.out"
3092 # Check that the compiler produces executables we can run. If not, either
3093 # the compiler is broken, or we cross compile.
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3095 $as_echo_n "checking whether we are cross compiling... " >&6; }
3096 if test "$cross_compiling" != yes; then
3097 { { ac_try
="$ac_link"
3099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3103 $as_echo "$ac_try_echo"; } >&5
3104 (eval "$ac_link") 2>&5
3106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3107 test $ac_status = 0; }
3108 if { ac_try='./conftest$ac_cv_exeext'
3109 { { case "(($ac_try" in
3110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3111 *) ac_try_echo
=$ac_try;;
3113 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3114 $as_echo "$ac_try_echo"; } >&5
3115 (eval "$ac_try") 2>&5
3117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3118 test $ac_status = 0; }; }; then
3121 if test "$cross_compiling" = maybe
; then
3124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3126 as_fn_error $?
"cannot run C++ compiled programs.
3127 If you meant to cross compile, use \`--host'.
3128 See \`config.log' for more details" "$LINENO" 5; }
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3133 $as_echo "$cross_compiling" >&6; }
3135 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3136 ac_clean_files
=$ac_clean_files_save
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3138 $as_echo_n "checking for suffix of object files... " >&6; }
3139 if ${ac_cv_objext+:} false
; then :
3140 $as_echo_n "(cached) " >&6
3142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3153 rm -f conftest.o conftest.obj
3154 if { { ac_try
="$ac_compile"
3156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3160 $as_echo "$ac_try_echo"; } >&5
3161 (eval "$ac_compile") 2>&5
3163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3164 test $ac_status = 0; }; then :
3165 for ac_file in conftest.o conftest.obj conftest.*; do
3166 test -f "$ac_file" || continue;
3168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3169 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3174 $as_echo "$as_me: failed program was:" >&5
3175 sed 's/^/| /' conftest.$ac_ext >&5
3177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3179 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3180 See \
`config.log' for more details" "$LINENO" 5; }
3182 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3185 $as_echo "$ac_cv_objext" >&6; }
3186 OBJEXT=$ac_cv_objext
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3189 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3190 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3191 $as_echo_n "(cached) " >&6
3193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3194 /* end confdefs.h. */
3207 if ac_fn_cxx_try_compile "$LINENO"; then :
3212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3213 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3217 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3218 if test $ac_compiler_gnu = yes; then
3223 ac_test_CXXFLAGS=${CXXFLAGS+set}
3224 ac_save_CXXFLAGS=$CXXFLAGS
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3226 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3227 if ${ac_cv_prog_cxx_g+:} false; then :
3228 $as_echo_n "(cached) " >&6
3230 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3231 ac_cxx_werror_flag=yes
3234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3235 /* end confdefs.h. */
3245 if ac_fn_cxx_try_compile "$LINENO"; then :
3246 ac_cv_prog_cxx_g=yes
3249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3260 if ac_fn_cxx_try_compile "$LINENO"; then :
3263 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3266 /* end confdefs.h. */
3276 if ac_fn_cxx_try_compile "$LINENO"; then :
3277 ac_cv_prog_cxx_g=yes
3279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3287 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3288 if test "$ac_test_CXXFLAGS" = set; then
3289 CXXFLAGS=$ac_save_CXXFLAGS
3290 elif test $ac_cv_prog_cxx_g = yes; then
3291 if test "$GXX" = yes; then
3297 if test "$GXX" = yes; then
3304 ac_cpp='$CPP $CPPFLAGS'
3305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3310 ac_cpp='$CPP $CPPFLAGS'
3311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3314 if test -n "$ac_tool_prefix"; then
3315 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3316 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3318 $as_echo_n "checking for $ac_word... " >&6; }
3319 if ${ac_cv_prog_CC+:} false; then :
3320 $as_echo_n "(cached) " >&6
3322 if test -n "$CC"; then
3323 ac_cv_prog_CC="$CC" # Let the user override the test.
3325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3329 test -z "$as_dir" && as_dir=.
3330 for ac_exec_ext in '' $ac_executable_extensions; do
3331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3332 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3343 if test -n "$CC"; then
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3345 $as_echo "$CC" >&6; }
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3348 $as_echo "no" >&6; }
3353 if test -z "$ac_cv_prog_CC"; then
3355 # Extract the first word of "gcc", so it can be a program name with args.
3356 set dummy gcc; ac_word=$2
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3358 $as_echo_n "checking for $ac_word... " >&6; }
3359 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3360 $as_echo_n "(cached) " >&6
3362 if test -n "$ac_ct_CC"; then
3363 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3369 test -z "$as_dir" && as_dir=.
3370 for ac_exec_ext in '' $ac_executable_extensions; do
3371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3372 ac_cv_prog_ac_ct_CC="gcc"
3373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3382 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3383 if test -n "$ac_ct_CC"; then
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3385 $as_echo "$ac_ct_CC" >&6; }
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3388 $as_echo "no" >&6; }
3391 if test "x$ac_ct_CC" = x; then
3394 case $cross_compiling:$ac_tool_warned in
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3398 ac_tool_warned=yes ;;
3406 if test -z "$CC"; then
3407 if test -n "$ac_tool_prefix"; then
3408 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3409 set dummy ${ac_tool_prefix}cc; ac_word=$2
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3411 $as_echo_n "checking for $ac_word... " >&6; }
3412 if ${ac_cv_prog_CC+:} false; then :
3413 $as_echo_n "(cached) " >&6
3415 if test -n "$CC"; then
3416 ac_cv_prog_CC="$CC" # Let the user override the test.
3418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3422 test -z "$as_dir" && as_dir=.
3423 for ac_exec_ext in '' $ac_executable_extensions; do
3424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3425 ac_cv_prog_CC="${ac_tool_prefix}cc"
3426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 if test -n "$CC"; then
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3438 $as_echo "$CC" >&6; }
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3441 $as_echo "no" >&6; }
3447 if test -z "$CC"; then
3448 # Extract the first word of "cc", so it can be a program name with args.
3449 set dummy cc; ac_word=$2
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3451 $as_echo_n "checking for $ac_word... " >&6; }
3452 if ${ac_cv_prog_CC+:} false; then :
3453 $as_echo_n "(cached) " >&6
3455 if test -n "$CC"; then
3456 ac_cv_prog_CC="$CC" # Let the user override the test.
3459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3463 test -z "$as_dir" && as_dir=.
3464 for ac_exec_ext in '' $ac_executable_extensions; do
3465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3466 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3467 ac_prog_rejected=yes
3471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3478 if test $ac_prog_rejected = yes; then
3479 # We found a bogon in the path, so make sure we never use it.
3480 set dummy $ac_cv_prog_CC
3482 if test $# != 0; then
3483 # We chose a different compiler from the bogus one.
3484 # However, it has the same basename, so the bogon will be chosen
3485 # first if we set CC to just the basename; use the full file name.
3487 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3493 if test -n "$CC"; then
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3495 $as_echo "$CC" >&6; }
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498 $as_echo "no" >&6; }
3503 if test -z "$CC"; then
3504 if test -n "$ac_tool_prefix"; then
3505 for ac_prog in cl.exe
3507 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3508 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3510 $as_echo_n "checking for $ac_word... " >&6; }
3511 if ${ac_cv_prog_CC+:} false; then :
3512 $as_echo_n "(cached) " >&6
3514 if test -n "$CC"; then
3515 ac_cv_prog_CC="$CC" # Let the user override the test.
3517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3521 test -z "$as_dir" && as_dir=.
3522 for ac_exec_ext in '' $ac_executable_extensions; do
3523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3524 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3535 if test -n "$CC"; then
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3537 $as_echo "$CC" >&6; }
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3540 $as_echo "no" >&6; }
3544 test -n "$CC" && break
3547 if test -z "$CC"; then
3549 for ac_prog in cl.exe
3551 # Extract the first word of "$ac_prog", so it can be a program name with args.
3552 set dummy $ac_prog; ac_word=$2
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3554 $as_echo_n "checking for $ac_word... " >&6; }
3555 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3556 $as_echo_n "(cached) " >&6
3558 if test -n "$ac_ct_CC"; then
3559 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3565 test -z "$as_dir" && as_dir=.
3566 for ac_exec_ext in '' $ac_executable_extensions; do
3567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3568 ac_cv_prog_ac_ct_CC="$ac_prog"
3569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3578 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3579 if test -n "$ac_ct_CC"; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3581 $as_echo "$ac_ct_CC" >&6; }
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3584 $as_echo "no" >&6; }
3588 test -n "$ac_ct_CC" && break
3591 if test "x$ac_ct_CC" = x; then
3594 case $cross_compiling:$ac_tool_warned in
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3598 ac_tool_warned=yes ;;
3607 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3609 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3610 See \
`config.log' for more details" "$LINENO" 5; }
3612 # Provide some information about the compiler.
3613 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3616 for ac_option in --version -v -V -qversion; do
3617 { { ac_try="$ac_compiler $ac_option >&5"
3619 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3620 *) ac_try_echo
=$ac_try;;
3622 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3623 $as_echo "$ac_try_echo"; } >&5
3624 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3626 if test -s conftest.err
; then
3628 ... rest of stderr output deleted ...
3629 10q' conftest.err
>conftest.er1
3630 cat conftest.er1
>&5
3632 rm -f conftest.er1 conftest.err
3633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3634 test $ac_status = 0; }
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3638 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3639 if ${ac_cv_c_compiler_gnu+:} false
; then :
3640 $as_echo_n "(cached) " >&6
3642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3643 /* end confdefs.h. */
3656 if ac_fn_c_try_compile
"$LINENO"; then :
3661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3662 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3666 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3667 if test $ac_compiler_gnu = yes; then
3672 ac_test_CFLAGS
=${CFLAGS+set}
3673 ac_save_CFLAGS
=$CFLAGS
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3675 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3676 if ${ac_cv_prog_cc_g+:} false
; then :
3677 $as_echo_n "(cached) " >&6
3679 ac_save_c_werror_flag
=$ac_c_werror_flag
3680 ac_c_werror_flag
=yes
3683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3694 if ac_fn_c_try_compile
"$LINENO"; then :
3698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3699 /* end confdefs.h. */
3709 if ac_fn_c_try_compile
"$LINENO"; then :
3712 ac_c_werror_flag
=$ac_save_c_werror_flag
3714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3715 /* end confdefs.h. */
3725 if ac_fn_c_try_compile
"$LINENO"; then :
3728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3733 ac_c_werror_flag
=$ac_save_c_werror_flag
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3736 $as_echo "$ac_cv_prog_cc_g" >&6; }
3737 if test "$ac_test_CFLAGS" = set; then
3738 CFLAGS
=$ac_save_CFLAGS
3739 elif test $ac_cv_prog_cc_g = yes; then
3740 if test "$GCC" = yes; then
3746 if test "$GCC" = yes; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3753 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3754 if ${ac_cv_prog_cc_c89+:} false
; then :
3755 $as_echo_n "(cached) " >&6
3757 ac_cv_prog_cc_c89
=no
3759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3760 /* end confdefs.h. */
3764 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3765 struct buf { int x; };
3766 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3767 static char *e (p, i)
3773 static char *f (char * (*g) (char **, int), char **p, ...)
3778 s = g (p, va_arg (v,int));
3783 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3784 function prototypes and stuff, but not '\xHH' hex character constants.
3785 These don't provoke an error unfortunately, instead are silently treated
3786 as 'x'. The following induces an error, until -std is added to get
3787 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3788 array size at least. It's necessary to write '\x00'==0 to get something
3789 that's true only with -std. */
3790 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3792 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3793 inside strings and character constants. */
3795 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3797 int test (int i, double x);
3798 struct s1 {int (*f) (int a);};
3799 struct s2 {int (*f) (double a);};
3800 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3806 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3811 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3812 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3814 CC
="$ac_save_CC $ac_arg"
3815 if ac_fn_c_try_compile
"$LINENO"; then :
3816 ac_cv_prog_cc_c89
=$ac_arg
3818 rm -f core conftest.err conftest.
$ac_objext
3819 test "x$ac_cv_prog_cc_c89" != "xno" && break
3821 rm -f conftest.
$ac_ext
3826 case "x$ac_cv_prog_cc_c89" in
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3829 $as_echo "none needed" >&6; } ;;
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3832 $as_echo "unsupported" >&6; } ;;
3834 CC
="$CC $ac_cv_prog_cc_c89"
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3836 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3838 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3843 ac_cpp
='$CPP $CPPFLAGS'
3844 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3845 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3846 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3848 case $ac_cv_prog_cc_stdc in #(
3850 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3853 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3854 if ${ac_cv_prog_cc_c99+:} false
; then :
3855 $as_echo_n "(cached) " >&6
3857 ac_cv_prog_cc_c99
=no
3859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3860 /* end confdefs.h. */
3862 #include <stdbool.h>
3867 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3868 #define debug(...) fprintf (stderr, __VA_ARGS__)
3869 #define showlist(...) puts (#__VA_ARGS__)
3870 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3872 test_varargs_macros (void)
3877 debug ("X = %d\n", x);
3878 showlist (The first, second, and third items.);
3879 report (x>y, "x is %d but y is %d", x, y);
3882 // Check long long types.
3883 #define BIG64 18446744073709551615ull
3884 #define BIG32 4294967295ul
3885 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3887 your preprocessor is broken;
3891 your preprocessor is broken;
3893 static long long int bignum = -9223372036854775807LL;
3894 static unsigned long long int ubignum = BIG64;
3896 struct incomplete_array
3904 const wchar_t *name;
3908 typedef const char *ccp;
3911 test_restrict (ccp restrict text)
3913 // See if C++-style comments work.
3914 // Iterate through items via the restricted pointer.
3915 // Also check for declarations in for loops.
3916 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3921 // Check varargs and va_copy.
3923 test_varargs (const char *format, ...)
3926 va_start (args, format);
3928 va_copy (args_copy, args);
3939 str = va_arg (args_copy, const char *);
3942 number = va_arg (args_copy, int);
3945 fnumber = va_arg (args_copy, double);
3960 _Bool success = false;
3963 if (test_restrict ("String literal") == 0)
3965 char *restrict newvar = "Another string";
3968 test_varargs ("s, d' f .", "string", 65, 34.234);
3969 test_varargs_macros ();
3971 // Check flexible array members.
3972 struct incomplete_array *ia =
3973 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3975 for (int i = 0; i < ia->datasize; ++i)
3976 ia->data[i] = i * 1.234;
3978 // Check named initializers.
3979 struct named_init ni = {
3981 .name = L"Test wide string",
3982 .average = 543.34343,
3987 int dynamic_array[ni.number];
3988 dynamic_array[ni.number - 1] = 543;
3990 // work around unused variable warnings
3991 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3992 || dynamic_array[ni.number - 1] != 543);
3998 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4000 CC
="$ac_save_CC $ac_arg"
4001 if ac_fn_c_try_compile
"$LINENO"; then :
4002 ac_cv_prog_cc_c99
=$ac_arg
4004 rm -f core conftest.err conftest.
$ac_objext
4005 test "x$ac_cv_prog_cc_c99" != "xno" && break
4007 rm -f conftest.
$ac_ext
4012 case "x$ac_cv_prog_cc_c99" in
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4015 $as_echo "none needed" >&6; } ;;
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4018 $as_echo "unsupported" >&6; } ;;
4020 CC
="$CC $ac_cv_prog_cc_c99"
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4022 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4024 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4025 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4028 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4029 if ${ac_cv_prog_cc_c89+:} false
; then :
4030 $as_echo_n "(cached) " >&6
4032 ac_cv_prog_cc_c89
=no
4034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4035 /* end confdefs.h. */
4039 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4040 struct buf { int x; };
4041 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4042 static char *e (p, i)
4048 static char *f (char * (*g) (char **, int), char **p, ...)
4053 s = g (p, va_arg (v,int));
4058 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4059 function prototypes and stuff, but not '\xHH' hex character constants.
4060 These don't provoke an error unfortunately, instead are silently treated
4061 as 'x'. The following induces an error, until -std is added to get
4062 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4063 array size at least. It's necessary to write '\x00'==0 to get something
4064 that's true only with -std. */
4065 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4067 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4068 inside strings and character constants. */
4070 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4072 int test (int i, double x);
4073 struct s1 {int (*f) (int a);};
4074 struct s2 {int (*f) (double a);};
4075 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4081 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4086 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4087 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4089 CC
="$ac_save_CC $ac_arg"
4090 if ac_fn_c_try_compile
"$LINENO"; then :
4091 ac_cv_prog_cc_c89
=$ac_arg
4093 rm -f core conftest.err conftest.
$ac_objext
4094 test "x$ac_cv_prog_cc_c89" != "xno" && break
4096 rm -f conftest.
$ac_ext
4101 case "x$ac_cv_prog_cc_c89" in
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4104 $as_echo "none needed" >&6; } ;;
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4107 $as_echo "unsupported" >&6; } ;;
4109 CC
="$CC $ac_cv_prog_cc_c89"
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4111 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4113 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4114 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4116 ac_cv_prog_cc_stdc
=no
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4123 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4124 if ${ac_cv_prog_cc_stdc+:} false
; then :
4125 $as_echo_n "(cached) " >&6
4128 case $ac_cv_prog_cc_stdc in #(
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4131 $as_echo "unsupported" >&6; } ;; #(
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4134 $as_echo "none needed" >&6; } ;; #(
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4137 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4141 ac_cpp
='$CPP $CPPFLAGS'
4142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4146 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4147 # On Suns, sometimes $CPP names a directory.
4148 if test -n "$CPP" && test -d "$CPP"; then
4151 if test -z "$CPP"; then
4152 if ${ac_cv_prog_CPP+:} false
; then :
4153 $as_echo_n "(cached) " >&6
4155 # Double quotes because CPP needs to be expanded
4156 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4159 for ac_c_preproc_warn_flag
in '' yes
4161 # Use a header file that comes with gcc, so configuring glibc
4162 # with a fresh cross-compiler works.
4163 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4164 # <limits.h> exists even on freestanding compilers.
4165 # On the NeXT, cc -E runs the code through the compiler's parser,
4166 # not just through cpp. "Syntax error" is here to catch this case.
4167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4168 /* end confdefs.h. */
4170 # include <limits.h>
4172 # include <assert.h>
4176 if ac_fn_c_try_cpp
"$LINENO"; then :
4179 # Broken: fails on valid input.
4182 rm -f conftest.err conftest.i conftest.
$ac_ext
4184 # OK, works on sane cases. Now check whether nonexistent headers
4185 # can be detected and how.
4186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4187 /* end confdefs.h. */
4188 #include <ac_nonexistent.h>
4190 if ac_fn_c_try_cpp
"$LINENO"; then :
4191 # Broken: success on invalid input.
4194 # Passes both tests.
4198 rm -f conftest.err conftest.i conftest.
$ac_ext
4201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4202 rm -f conftest.i conftest.err conftest.
$ac_ext
4203 if $ac_preproc_ok; then :
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4216 $as_echo "$CPP" >&6; }
4218 for ac_c_preproc_warn_flag
in '' yes
4220 # Use a header file that comes with gcc, so configuring glibc
4221 # with a fresh cross-compiler works.
4222 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4223 # <limits.h> exists even on freestanding compilers.
4224 # On the NeXT, cc -E runs the code through the compiler's parser,
4225 # not just through cpp. "Syntax error" is here to catch this case.
4226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4229 # include <limits.h>
4231 # include <assert.h>
4235 if ac_fn_c_try_cpp
"$LINENO"; then :
4238 # Broken: fails on valid input.
4241 rm -f conftest.err conftest.i conftest.
$ac_ext
4243 # OK, works on sane cases. Now check whether nonexistent headers
4244 # can be detected and how.
4245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4246 /* end confdefs.h. */
4247 #include <ac_nonexistent.h>
4249 if ac_fn_c_try_cpp
"$LINENO"; then :
4250 # Broken: success on invalid input.
4253 # Passes both tests.
4257 rm -f conftest.err conftest.i conftest.
$ac_ext
4260 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4261 rm -f conftest.i conftest.err conftest.
$ac_ext
4262 if $ac_preproc_ok; then :
4265 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4267 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4268 See \`config.log' for more details" "$LINENO" 5; }
4272 ac_cpp
='$CPP $CPPFLAGS'
4273 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4274 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4275 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4278 # Check for a compatible awk
4279 for ac_prog
in gawk nawk
4281 # Extract the first word of "$ac_prog", so it can be a program name with args.
4282 set dummy
$ac_prog; 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_prog_AWK+:} false
; then :
4286 $as_echo_n "(cached) " >&6
4288 if test -n "$AWK"; then
4289 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4295 test -z "$as_dir" && as_dir
=.
4296 for ac_exec_ext
in '' $ac_executable_extensions; do
4297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_prog_AWK
="$ac_prog"
4299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4309 if test -n "$AWK"; then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4311 $as_echo "$AWK" >&6; }
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4318 test -n "$AWK" && break
4321 if test "$AWK" = ""; then
4322 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4324 # Extract the first word of "mmake", so it can be a program name with args.
4325 set dummy mmake
; ac_word
=$2
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4327 $as_echo_n "checking for $ac_word... " >&6; }
4328 if ${ac_cv_prog_MMAKE+:} false
; then :
4329 $as_echo_n "(cached) " >&6
4331 if test -n "$MMAKE"; then
4332 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4338 test -z "$as_dir" && as_dir
=.
4339 for ac_exec_ext
in '' $ac_executable_extensions; do
4340 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4341 ac_cv_prog_MMAKE
="mmake "
4342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 MMAKE
=$ac_cv_prog_MMAKE
4352 if test -n "$MMAKE"; then
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4354 $as_echo "$MMAKE" >&6; }
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4357 $as_echo "no" >&6; }
4362 # Perform some default variable assignments. Note all of these will be
4363 # Regenerated from the script, so there is no need to cache them.
4365 aros_host_cpp
="$CPP"
4367 aros_host_cxx
="$CXX"
4368 if test "$GCC" = "yes"; then
4369 aros_gcc_ld
=`$CC -print-prog-name=ld`
4370 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4371 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4373 $as_echo_n "checking for $ac_word... " >&6; }
4374 if ${ac_cv_path_aros_host_ld+:} false
; then :
4375 $as_echo_n "(cached) " >&6
4377 case $aros_host_ld in
4379 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4383 for as_dir
in `dirname $aros_gcc_ld`
4386 test -z "$as_dir" && as_dir
=.
4387 for ac_exec_ext
in '' $ac_executable_extensions; do
4388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4389 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4400 aros_host_ld
=$ac_cv_path_aros_host_ld
4401 if test -n "$aros_host_ld"; then
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4403 $as_echo "$aros_host_ld" >&6; }
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4406 $as_echo "no" >&6; }
4411 if test "$aros_host_ld" = ""; then
4412 # Extract the first word of "ld", so it can be a program name with args.
4413 set dummy ld
; ac_word
=$2
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4415 $as_echo_n "checking for $ac_word... " >&6; }
4416 if ${ac_cv_path_aros_host_ld+:} false
; then :
4417 $as_echo_n "(cached) " >&6
4419 case $aros_host_ld in
4421 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4428 test -z "$as_dir" && as_dir
=.
4429 for ac_exec_ext
in '' $ac_executable_extensions; do
4430 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4431 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 aros_host_ld
=$ac_cv_path_aros_host_ld
4443 if test -n "$aros_host_ld"; then
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4445 $as_echo "$aros_host_ld" >&6; }
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4448 $as_echo "no" >&6; }
4453 if test "$aros_host_ld" = ""; then
4454 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4456 aros_host_make
="make"
4457 aros_host_cflags
=$CFLAGS
4458 aros_host_cxxflags
=$CXXFLAGS
4459 aros_host_ldflags
=$LDFLAGS
4460 aros_host_debug
="-g -O0"
4461 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4462 aros_host_mkargs
="--no-print-directory"
4463 aros_host_exe_suffix
="$EXEEXT"
4464 aros_host_lib_suffix
=""
4466 # Ignore all compliance, AROS ROMs = 0
4467 # KickStart v1.0 = 30
4468 # KickStart v1.3 = 34
4469 # KickStart v2.0 = 37
4470 # KickStart v3.0 = 39
4471 # KickStart v3.1 = 40
4473 aros_amigaos_compliance
=0
4475 for ac_prog
in aclocal aclocal19 aclocal-1.9
4477 # Extract the first word of "$ac_prog", so it can be a program name with args.
4478 set dummy
$ac_prog; ac_word
=$2
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4480 $as_echo_n "checking for $ac_word... " >&6; }
4481 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4482 $as_echo_n "(cached) " >&6
4484 if test -n "$aros_host_aclocal"; then
4485 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4491 test -z "$as_dir" && as_dir
=.
4492 for ac_exec_ext
in '' $ac_executable_extensions; do
4493 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4494 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4504 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4505 if test -n "$aros_host_aclocal"; then
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4507 $as_echo "$aros_host_aclocal" >&6; }
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4510 $as_echo "no" >&6; }
4514 test -n "$aros_host_aclocal" && break
4517 for ac_prog
in autoconf autoconf259 autoconf253
4519 # Extract the first word of "$ac_prog", so it can be a program name with args.
4520 set dummy
$ac_prog; ac_word
=$2
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4522 $as_echo_n "checking for $ac_word... " >&6; }
4523 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4524 $as_echo_n "(cached) " >&6
4526 if test -n "$aros_host_autoconf"; then
4527 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4533 test -z "$as_dir" && as_dir
=.
4534 for ac_exec_ext
in '' $ac_executable_extensions; do
4535 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4536 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4546 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4547 if test -n "$aros_host_autoconf"; then
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4549 $as_echo "$aros_host_autoconf" >&6; }
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4552 $as_echo "no" >&6; }
4556 test -n "$aros_host_autoconf" && break
4559 for ac_prog
in autoheader autoheader259 autoheader253
4561 # Extract the first word of "$ac_prog", so it can be a program name with args.
4562 set dummy
$ac_prog; ac_word
=$2
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4564 $as_echo_n "checking for $ac_word... " >&6; }
4565 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4566 $as_echo_n "(cached) " >&6
4568 if test -n "$aros_host_autoheader"; then
4569 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4575 test -z "$as_dir" && as_dir
=.
4576 for ac_exec_ext
in '' $ac_executable_extensions; do
4577 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4578 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4588 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4589 if test -n "$aros_host_autoheader"; then
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4591 $as_echo "$aros_host_autoheader" >&6; }
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4594 $as_echo "no" >&6; }
4598 test -n "$aros_host_autoheader" && break
4601 for ac_prog
in automake automake19 automake-1.9
4603 # Extract the first word of "$ac_prog", so it can be a program name with args.
4604 set dummy
$ac_prog; ac_word
=$2
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4606 $as_echo_n "checking for $ac_word... " >&6; }
4607 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4608 $as_echo_n "(cached) " >&6
4610 if test -n "$aros_host_automake"; then
4611 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4617 test -z "$as_dir" && as_dir
=.
4618 for ac_exec_ext
in '' $ac_executable_extensions; do
4619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4620 ac_cv_prog_aros_host_automake
="$ac_prog"
4621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4630 aros_host_automake
=$ac_cv_prog_aros_host_automake
4631 if test -n "$aros_host_automake"; then
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4633 $as_echo "$aros_host_automake" >&6; }
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4636 $as_echo "no" >&6; }
4640 test -n "$aros_host_automake" && break
4644 if test "$aros_host_aclocal" = ""; then
4645 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4647 if test "$aros_host_automake" = ""; then
4648 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4651 case "$aros_host_cc" in
4653 aros_host_cc_pipe
="-pipe"
4656 aros_host_cc_pipe
=""
4659 aros_host_cc_pipe
=""
4663 aros_kernel_cc_includes
=""
4664 aros_target_cc_includes
=""
4667 # ----------------------------------------------------------------------------------------
4668 # Host-specific defaults
4670 # This is the main host configuration section. It is where the host
4671 # can change the values of any variables it needs to change. We do
4672 # not look at anything that compiles to the target yet, we'll get
4677 aros_host_arch
="aros"
4678 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4681 aros_host_cpu
="i386"
4684 aros_host_cpu
="x86_64"
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4691 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4692 aros_host_cpu
="$host_cpu"
4698 aros_host_arch
="linux"
4699 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4700 android_build_os
="linux-x86"
4701 android_tool
="android"
4702 default_android_sdk
="/opt/android-sdk-linux_x86"
4705 aros_host_cpu
="i386"
4708 aros_host_cpu
="x86_64"
4711 aros_host_cpu
="m68k"
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4721 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4722 aros_host_cpu
="$host_cpu"
4728 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4729 aros_host_make
="gmake"
4730 aros_host_arch
="freebsd"
4731 aros_host_cpu
="i386"
4733 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4737 aros_object_format
="elf_i386"
4741 aros_object_format
="elf_i386_fbsd"
4748 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4749 aros_host_arch
="darwin"
4751 android_build_os
="darwin-x86"
4752 android_tool
="android"
4753 default_android_sdk
="/android-sdk-mac_x86"
4756 aros_host_cpu
="i386"
4759 aros_host_cpu
="x86_64"
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4766 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4767 aros_host_cpu
="$host_cpu"
4771 aros_host_ldflags
="$aros_host_ldflags -liconv"
4776 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4777 aros_host_make
="gmake"
4778 aros_host_arch
="dragonfly"
4781 aros_host_cpu
="i386"
4784 aros_host_cpu
="x86_64"
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4788 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4789 aros_host_cpu
="$host_cpu"
4795 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4796 aros_host_make
="gmake"
4797 aros_host_arch
="netbsd"
4800 aros_host_cpu
="i386"
4803 aros_host_cpu
="m68k"
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4807 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4808 aros_host_cpu
="$host_cpu"
4811 aros_host_lib_suffix
=".0.0"
4815 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4816 aros_host_make
="gmake"
4817 aros_host_arch
="openbsd"
4820 aros_host_cpu
="i386"
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4824 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4825 aros_host_cpu
="$host_cpu"
4831 aros_host_arch
="solaris"
4832 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4835 aros_host_cpu
="i386"
4838 aros_host_cpu
="sparc"
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4842 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4843 aros_host_cpu
="$host_cpu"
4849 aros_host_arch
="morphos"
4855 aros_host_arch
="amiga"
4861 TOUCH
="/gg/bin/touch"
4864 aros_host_cpu
="m68k"
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4871 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4872 aros_host_cpu
="$host_cpu"
4878 aros_host_arch
="cygwin"
4879 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4881 android_build_os
="windows"
4882 android_tool
="android.bat"
4883 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4887 aros_host_cpu
="i386"
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4891 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4892 aros_host_cpu
="$host_cpu"
4898 aros_host_arch
="mingw32"
4899 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4901 android_build_os
="windows"
4902 android_tool
="android.bat"
4903 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4909 $as_echo_n "checking for Windows native gcc target... " >&6; }
4910 host_cpu
=`gcc -dumpmachine`
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4912 $as_echo "$host_cpu" >&6; }
4919 aros_host_cpu
="i386"
4923 aros_host_cpu
="i386"
4927 aros_host_cpu
="x86_64"
4928 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4933 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4934 aros_host_cpu
="$host_cpu"
4939 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4943 # Extract the first word of "ar", so it can be a program name with args.
4944 set dummy
ar; ac_word
=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4948 $as_echo_n "(cached) " >&6
4950 if test -n "$aros_host_ar"; then
4951 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4957 test -z "$as_dir" && as_dir
=.
4958 for ac_exec_ext
in '' $ac_executable_extensions; do
4959 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4960 ac_cv_prog_aros_host_ar
="ar cr"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4970 aros_host_ar
=$ac_cv_prog_aros_host_ar
4971 if test -n "$aros_host_ar"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4973 $as_echo "$aros_host_ar" >&6; }
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4980 if test "$aros_host_ar" = ""; then
4981 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4983 # Extract the first word of "ranlib", so it can be a program name with args.
4984 set dummy ranlib
; ac_word
=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4988 $as_echo_n "(cached) " >&6
4990 if test -n "$aros_host_ranlib"; then
4991 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4997 test -z "$as_dir" && as_dir
=.
4998 for ac_exec_ext
in '' $ac_executable_extensions; do
4999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5000 ac_cv_prog_aros_host_ranlib
="ranlib "
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5010 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
5011 if test -n "$aros_host_ranlib"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
5013 $as_echo "$aros_host_ranlib" >&6; }
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5020 if test "$aros_host_ranlib" = ""; then
5021 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5023 # Extract the first word of "strip", so it can be a program name with args.
5024 set dummy strip
; ac_word
=$2
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 $as_echo_n "checking for $ac_word... " >&6; }
5027 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5028 $as_echo_n "(cached) " >&6
5030 if test -n "$aros_host_strip"; then
5031 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5037 test -z "$as_dir" && as_dir
=.
5038 for ac_exec_ext
in '' $ac_executable_extensions; do
5039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5040 ac_cv_prog_aros_host_strip
="strip "
5041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5050 aros_host_strip
=$ac_cv_prog_aros_host_strip
5051 if test -n "$aros_host_strip"; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5053 $as_echo "$aros_host_strip" >&6; }
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5060 if test "$aros_host_strip" = ""; then
5061 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5064 # Extract the first word of "rm", so it can be a program name with args.
5065 set dummy
rm; ac_word
=$2
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5067 $as_echo_n "checking for $ac_word... " >&6; }
5068 if ${ac_cv_prog_RM+:} false
; then :
5069 $as_echo_n "(cached) " >&6
5071 if test -n "$RM"; then
5072 ac_cv_prog_RM
="$RM" # Let the user override the test.
5074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5078 test -z "$as_dir" && as_dir
=.
5079 for ac_exec_ext
in '' $ac_executable_extensions; do
5080 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5081 ac_cv_prog_RM
="rm -rf"
5082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5092 if test -n "$RM"; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5094 $as_echo "$RM" >&6; }
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097 $as_echo "no" >&6; }
5101 if test "$RM" = ""; then
5102 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5104 # Extract the first word of "cp", so it can be a program name with args.
5105 set dummy
cp; ac_word
=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if ${ac_cv_prog_CP+:} false
; then :
5109 $as_echo_n "(cached) " >&6
5111 if test -n "$CP"; then
5112 ac_cv_prog_CP
="$CP" # Let the user override the test.
5114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5118 test -z "$as_dir" && as_dir
=.
5119 for ac_exec_ext
in '' $ac_executable_extensions; do
5120 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 if test -n "$CP"; then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5134 $as_echo "$CP" >&6; }
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5141 if test "$CP" = ""; then
5142 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5144 # Extract the first word of "mv", so it can be a program name with args.
5145 set dummy
mv; ac_word
=$2
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147 $as_echo_n "checking for $ac_word... " >&6; }
5148 if ${ac_cv_prog_MV+:} false
; then :
5149 $as_echo_n "(cached) " >&6
5151 if test -n "$MV"; then
5152 ac_cv_prog_MV
="$MV" # Let the user override the test.
5154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5158 test -z "$as_dir" && as_dir
=.
5159 for ac_exec_ext
in '' $ac_executable_extensions; do
5160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 if test -n "$MV"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5174 $as_echo "$MV" >&6; }
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5181 if test "$MV" = ""; then
5182 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5184 # Extract the first word of "echo", so it can be a program name with args.
5185 set dummy
echo; ac_word
=$2
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5187 $as_echo_n "checking for $ac_word... " >&6; }
5188 if ${ac_cv_prog_ECHO+:} false
; then :
5189 $as_echo_n "(cached) " >&6
5191 if test -n "$ECHO"; then
5192 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5198 test -z "$as_dir" && as_dir
=.
5199 for ac_exec_ext
in '' $ac_executable_extensions; do
5200 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5201 ac_cv_prog_ECHO
="echo "
5202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5211 ECHO
=$ac_cv_prog_ECHO
5212 if test -n "$ECHO"; then
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5214 $as_echo "$ECHO" >&6; }
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5217 $as_echo "no" >&6; }
5221 if test "$ECHO" = ""; then
5222 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5224 # Extract the first word of "mkdir", so it can be a program name with args.
5225 set dummy mkdir
; ac_word
=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_MKDIR+:} false
; then :
5229 $as_echo_n "(cached) " >&6
5231 if test -n "$MKDIR"; then
5232 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5238 test -z "$as_dir" && as_dir
=.
5239 for ac_exec_ext
in '' $ac_executable_extensions; do
5240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_MKDIR
="mkdir -p"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5251 MKDIR
=$ac_cv_prog_MKDIR
5252 if test -n "$MKDIR"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5254 $as_echo "$MKDIR" >&6; }
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5261 if test "$MKDIR" = ""; then
5262 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5264 # Extract the first word of "touch", so it can be a program name with args.
5265 set dummy
touch; ac_word
=$2
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5267 $as_echo_n "checking for $ac_word... " >&6; }
5268 if ${ac_cv_prog_TOUCH+:} false
; then :
5269 $as_echo_n "(cached) " >&6
5271 if test -n "$TOUCH"; then
5272 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5278 test -z "$as_dir" && as_dir
=.
5279 for ac_exec_ext
in '' $ac_executable_extensions; do
5280 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5281 ac_cv_prog_TOUCH
="touch "
5282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5291 TOUCH
=$ac_cv_prog_TOUCH
5292 if test -n "$TOUCH"; then
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5294 $as_echo "$TOUCH" >&6; }
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5297 $as_echo "no" >&6; }
5301 if test "$TOUCH" = ""; then
5302 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5304 # Extract the first word of "sort", so it can be a program name with args.
5305 set dummy
sort; ac_word
=$2
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5307 $as_echo_n "checking for $ac_word... " >&6; }
5308 if ${ac_cv_prog_SORT+:} false
; then :
5309 $as_echo_n "(cached) " >&6
5311 if test -n "$SORT"; then
5312 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5318 test -z "$as_dir" && as_dir
=.
5319 for ac_exec_ext
in '' $ac_executable_extensions; do
5320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5321 ac_cv_prog_SORT
="sort "
5322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5331 SORT
=$ac_cv_prog_SORT
5332 if test -n "$SORT"; then
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5334 $as_echo "$SORT" >&6; }
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5337 $as_echo "no" >&6; }
5341 if test "$SORT" = ""; then
5342 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5344 # Extract the first word of "uniq", so it can be a program name with args.
5345 set dummy
uniq; ac_word
=$2
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5347 $as_echo_n "checking for $ac_word... " >&6; }
5348 if ${ac_cv_prog_UNIQ+:} false
; then :
5349 $as_echo_n "(cached) " >&6
5351 if test -n "$UNIQ"; then
5352 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5358 test -z "$as_dir" && as_dir
=.
5359 for ac_exec_ext
in '' $ac_executable_extensions; do
5360 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5361 ac_cv_prog_UNIQ
="uniq "
5362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5371 UNIQ
=$ac_cv_prog_UNIQ
5372 if test -n "$UNIQ"; then
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5374 $as_echo "$UNIQ" >&6; }
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5377 $as_echo "no" >&6; }
5381 if test "$UNIQ" = ""; then
5382 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5384 # Extract the first word of "true", so it can be a program name with args.
5385 set dummy true
; ac_word
=$2
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5387 $as_echo_n "checking for $ac_word... " >&6; }
5388 if ${ac_cv_prog_NOP+:} false
; then :
5389 $as_echo_n "(cached) " >&6
5391 if test -n "$NOP"; then
5392 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5398 test -z "$as_dir" && as_dir
=.
5399 for ac_exec_ext
in '' $ac_executable_extensions; do
5400 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5401 ac_cv_prog_NOP
="true "
5402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5412 if test -n "$NOP"; then
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5414 $as_echo "$NOP" >&6; }
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5417 $as_echo "no" >&6; }
5421 if test "$NOP" = ""; then
5422 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5424 # Extract the first word of "cat", so it can be a program name with args.
5425 set dummy
cat; 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_CAT+:} false
; then :
5429 $as_echo_n "(cached) " >&6
5431 if test -n "$CAT"; then
5432 ac_cv_prog_CAT
="$CAT" # 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_CAT
="cat "
5442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 if test -n "$CAT"; then
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5454 $as_echo "$CAT" >&6; }
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5457 $as_echo "no" >&6; }
5461 if test "$CAT" = ""; then
5462 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5464 # Extract the first word of "bison", so it can be a program name with args.
5465 set dummy bison
; ac_word
=$2
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5467 $as_echo_n "checking for $ac_word... " >&6; }
5468 if ${ac_cv_prog_BISON+:} false
; then :
5469 $as_echo_n "(cached) " >&6
5471 if test -n "$BISON"; then
5472 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5478 test -z "$as_dir" && as_dir
=.
5479 for ac_exec_ext
in '' $ac_executable_extensions; do
5480 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5481 ac_cv_prog_BISON
="bison "
5482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5491 BISON
=$ac_cv_prog_BISON
5492 if test -n "$BISON"; then
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5494 $as_echo "$BISON" >&6; }
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5497 $as_echo "no" >&6; }
5501 if test "$BISON" = ""; then
5502 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5504 # Extract the first word of "flex", so it can be a program name with args.
5505 set dummy flex
; ac_word
=$2
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5507 $as_echo_n "checking for $ac_word... " >&6; }
5508 if ${ac_cv_prog_FLEX+:} false
; then :
5509 $as_echo_n "(cached) " >&6
5511 if test -n "$FLEX"; then
5512 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5518 test -z "$as_dir" && as_dir
=.
5519 for ac_exec_ext
in '' $ac_executable_extensions; do
5520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5521 ac_cv_prog_FLEX
="flex "
5522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 FLEX
=$ac_cv_prog_FLEX
5532 if test -n "$FLEX"; then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5534 $as_echo "$FLEX" >&6; }
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5541 if test "$FLEX" = ""; then
5542 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5544 # Extract the first word of "pngtopnm", so it can be a program name with args.
5545 set dummy pngtopnm
; ac_word
=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547 $as_echo_n "checking for $ac_word... " >&6; }
5548 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5549 $as_echo_n "(cached) " >&6
5551 if test -n "$PNGTOPNM"; then
5552 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5558 test -z "$as_dir" && as_dir
=.
5559 for ac_exec_ext
in '' $ac_executable_extensions; do
5560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5561 ac_cv_prog_PNGTOPNM
="pngtopnm "
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5571 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5572 if test -n "$PNGTOPNM"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5574 $as_echo "$PNGTOPNM" >&6; }
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577 $as_echo "no" >&6; }
5581 if test "$PNGTOPNM" = ""; then
5582 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5584 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5585 set dummy ppmtoilbm
; ac_word
=$2
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5587 $as_echo_n "checking for $ac_word... " >&6; }
5588 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5589 $as_echo_n "(cached) " >&6
5591 if test -n "$PPMTOILBM"; then
5592 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5598 test -z "$as_dir" && as_dir
=.
5599 for ac_exec_ext
in '' $ac_executable_extensions; do
5600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5601 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5611 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5612 if test -n "$PPMTOILBM"; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5614 $as_echo "$PPMTOILBM" >&6; }
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5617 $as_echo "no" >&6; }
5621 if test "$PPMTOILBM" = ""; then
5622 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5624 # Extract the first word of "sed", so it can be a program name with args.
5625 set dummy
sed; ac_word
=$2
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5627 $as_echo_n "checking for $ac_word... " >&6; }
5628 if ${ac_cv_prog_SED+:} false
; then :
5629 $as_echo_n "(cached) " >&6
5631 if test -n "$SED"; then
5632 ac_cv_prog_SED
="$SED" # Let the user override the test.
5634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5638 test -z "$as_dir" && as_dir
=.
5639 for ac_exec_ext
in '' $ac_executable_extensions; do
5640 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5641 ac_cv_prog_SED
="sed "
5642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5652 if test -n "$SED"; then
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5654 $as_echo "$SED" >&6; }
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5657 $as_echo "no" >&6; }
5661 if test "$SED" = ""; then
5662 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5664 # Extract the first word of "chmod", so it can be a program name with args.
5665 set dummy
chmod; ac_word
=$2
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5667 $as_echo_n "checking for $ac_word... " >&6; }
5668 if ${ac_cv_prog_CHMOD+:} false
; then :
5669 $as_echo_n "(cached) " >&6
5671 if test -n "$CHMOD"; then
5672 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5678 test -z "$as_dir" && as_dir
=.
5679 for ac_exec_ext
in '' $ac_executable_extensions; do
5680 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5681 ac_cv_prog_CHMOD
="chmod "
5682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5691 CHMOD
=$ac_cv_prog_CHMOD
5692 if test -n "$CHMOD"; then
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5694 $as_echo "$CHMOD" >&6; }
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5697 $as_echo "no" >&6; }
5701 if test "$CHMOD" = ""; then
5702 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5704 # Extract the first word of "patch", so it can be a program name with args.
5705 set dummy
patch; ac_word
=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if ${ac_cv_prog_PATCH+:} false
; then :
5709 $as_echo_n "(cached) " >&6
5711 if test -n "$PATCH"; then
5712 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5718 test -z "$as_dir" && as_dir
=.
5719 for ac_exec_ext
in '' $ac_executable_extensions; do
5720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5721 ac_cv_prog_PATCH
="patch "
5722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 PATCH
=$ac_cv_prog_PATCH
5732 if test -n "$PATCH"; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5734 $as_echo "$PATCH" >&6; }
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
5741 if test "$PATCH" = ""; then
5742 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5751 if test -n "$PYTHON"; then
5752 # If the user set $PYTHON, use it and don't search something else.
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5754 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5756 # split strings by '.' and convert to numeric. Append some zeros
5757 # because we need at least 4 digits for the hex conversion.
5758 # map returns an iterator in Python 3.0 and a list in 2.x
5759 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5761 # xrange is not present in Python 3.0 and range returns an iterator
5762 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5763 sys.exit(sys.hexversion < minverhex)"
5764 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5765 ($PYTHON -c "$prog") >&5 2>&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); }; then :
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5770 $as_echo "yes" >&6; }
5772 as_fn_error $?
"too old" "$LINENO" 5
5774 am_display_PYTHON
=$PYTHON
5776 # Otherwise, try each interpreter until we find one that satisfies
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5779 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5780 if ${am_cv_pathless_PYTHON+:} false
; then :
5781 $as_echo_n "(cached) " >&6
5784 for am_cv_pathless_PYTHON
in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none
; do
5785 test "$am_cv_pathless_PYTHON" = none
&& break
5787 # split strings by '.' and convert to numeric. Append some zeros
5788 # because we need at least 4 digits for the hex conversion.
5789 # map returns an iterator in Python 3.0 and a list in 2.x
5790 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5792 # xrange is not present in Python 3.0 and range returns an iterator
5793 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5794 sys.exit(sys.hexversion < minverhex)"
5795 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5796 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799 (exit $ac_status); }; then :
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5805 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5806 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5807 if test "$am_cv_pathless_PYTHON" = none
; then
5810 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5811 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5813 $as_echo_n "checking for $ac_word... " >&6; }
5814 if ${ac_cv_path_PYTHON+:} false
; then :
5815 $as_echo_n "(cached) " >&6
5819 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5826 test -z "$as_dir" && as_dir
=.
5827 for ac_exec_ext
in '' $ac_executable_extensions; do
5828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5829 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5840 PYTHON
=$ac_cv_path_PYTHON
5841 if test -n "$PYTHON"; then
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5843 $as_echo "$PYTHON" >&6; }
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5846 $as_echo "no" >&6; }
5851 am_display_PYTHON
=$am_cv_pathless_PYTHON
5855 if test "$PYTHON" = :; then
5856 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5861 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5862 if ${am_cv_python_version+:} false
; then :
5863 $as_echo_n "(cached) " >&6
5865 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5868 $as_echo "$am_cv_python_version" >&6; }
5869 PYTHON_VERSION
=$am_cv_python_version
5873 PYTHON_PREFIX
='${prefix}'
5875 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5880 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5881 if ${am_cv_python_platform+:} false
; then :
5882 $as_echo_n "(cached) " >&6
5884 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5887 $as_echo "$am_cv_python_platform" >&6; }
5888 PYTHON_PLATFORM
=$am_cv_python_platform
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5894 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5895 if ${am_cv_python_pythondir+:} false
; then :
5896 $as_echo_n "(cached) " >&6
5898 if test "x$prefix" = xNONE
5900 am_py_prefix
=$ac_default_prefix
5902 am_py_prefix
=$prefix
5904 am_cv_python_pythondir
=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
5905 case $am_cv_python_pythondir in
5907 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5908 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5911 case $am_py_prefix in
5914 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5922 $as_echo "$am_cv_python_pythondir" >&6; }
5923 pythondir
=$am_cv_python_pythondir
5927 pkgpythondir
=\
${pythondir}/$PACKAGE
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5931 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5932 if ${am_cv_python_pyexecdir+:} false
; then :
5933 $as_echo_n "(cached) " >&6
5935 if test "x$exec_prefix" = xNONE
5937 am_py_exec_prefix
=$am_py_prefix
5939 am_py_exec_prefix
=$exec_prefix
5941 am_cv_python_pyexecdir
=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
5942 case $am_cv_python_pyexecdir in
5943 $am_py_exec_prefix*)
5944 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5945 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5948 case $am_py_exec_prefix in
5951 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5959 $as_echo "$am_cv_python_pyexecdir" >&6; }
5960 pyexecdir
=$am_cv_python_pyexecdir
5964 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
5974 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
5975 if ${ac_cv_lib_png_png_read_png+:} false
; then :
5976 $as_echo_n "(cached) " >&6
5978 ac_check_lib_save_LIBS
=$LIBS
5980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5981 /* end confdefs.h. */
5983 /* Override any GCC internal prototype to avoid an error.
5984 Use char because int might match the return type of a GCC
5985 builtin and then its argument prototype would still apply. */
5989 char png_read_png ();
5993 return png_read_png ();
5998 if ac_fn_c_try_link
"$LINENO"; then :
5999 ac_cv_lib_png_png_read_png
=yes
6001 ac_cv_lib_png_png_read_png
=no
6003 rm -f core conftest.err conftest.
$ac_objext \
6004 conftest
$ac_exeext conftest.
$ac_ext
6005 LIBS
=$ac_check_lib_save_LIBS
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6008 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6009 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6010 cat >>confdefs.h
<<_ACEOF
6011 #define HAVE_LIBPNG 1
6018 if test "$ac_cv_lib_png_png_read_png" = ""; then
6019 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6032 # Check for some includes for the X11 HIDD and the kernel
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6035 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6036 if ${ac_cv_path_GREP+:} false
; then :
6037 $as_echo_n "(cached) " >&6
6039 if test -z "$GREP"; then
6040 ac_path_GREP_found
=false
6041 # Loop through the user's path and test for each of PROGNAME-LIST
6042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6043 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6046 test -z "$as_dir" && as_dir
=.
6047 for ac_prog
in grep ggrep
; do
6048 for ac_exec_ext
in '' $ac_executable_extensions; do
6049 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6050 as_fn_executable_p
"$ac_path_GREP" ||
continue
6051 # Check for GNU ac_path_GREP and select it if it is found.
6052 # Check for GNU $ac_path_GREP
6053 case `"$ac_path_GREP" --version 2>&1` in
6055 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6058 $as_echo_n 0123456789 >"conftest.in"
6061 cat "conftest.in" "conftest.in" >"conftest.tmp"
6062 mv "conftest.tmp" "conftest.in"
6063 cp "conftest.in" "conftest.nl"
6064 $as_echo 'GREP' >> "conftest.nl"
6065 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6066 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6067 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6068 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6069 # Best one so far, save it but keep looking for a better one
6070 ac_cv_path_GREP
="$ac_path_GREP"
6071 ac_path_GREP_max
=$ac_count
6073 # 10*(2^10) chars as input seems more than enough
6074 test $ac_count -gt 10 && break
6076 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6079 $ac_path_GREP_found && break 3
6084 if test -z "$ac_cv_path_GREP"; then
6085 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6088 ac_cv_path_GREP
=$GREP
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6093 $as_echo "$ac_cv_path_GREP" >&6; }
6094 GREP
="$ac_cv_path_GREP"
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6098 $as_echo_n "checking for egrep... " >&6; }
6099 if ${ac_cv_path_EGREP+:} false
; then :
6100 $as_echo_n "(cached) " >&6
6102 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6103 then ac_cv_path_EGREP
="$GREP -E"
6105 if test -z "$EGREP"; then
6106 ac_path_EGREP_found
=false
6107 # Loop through the user's path and test for each of PROGNAME-LIST
6108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6109 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6112 test -z "$as_dir" && as_dir
=.
6113 for ac_prog
in egrep; do
6114 for ac_exec_ext
in '' $ac_executable_extensions; do
6115 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6116 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6117 # Check for GNU ac_path_EGREP and select it if it is found.
6118 # Check for GNU $ac_path_EGREP
6119 case `"$ac_path_EGREP" --version 2>&1` in
6121 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6124 $as_echo_n 0123456789 >"conftest.in"
6127 cat "conftest.in" "conftest.in" >"conftest.tmp"
6128 mv "conftest.tmp" "conftest.in"
6129 cp "conftest.in" "conftest.nl"
6130 $as_echo 'EGREP' >> "conftest.nl"
6131 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6132 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6133 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6134 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6135 # Best one so far, save it but keep looking for a better one
6136 ac_cv_path_EGREP
="$ac_path_EGREP"
6137 ac_path_EGREP_max
=$ac_count
6139 # 10*(2^10) chars as input seems more than enough
6140 test $ac_count -gt 10 && break
6142 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6145 $ac_path_EGREP_found && break 3
6150 if test -z "$ac_cv_path_EGREP"; then
6151 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6154 ac_cv_path_EGREP
=$EGREP
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6160 $as_echo "$ac_cv_path_EGREP" >&6; }
6161 EGREP
="$ac_cv_path_EGREP"
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6165 $as_echo_n "checking for ANSI C header files... " >&6; }
6166 if ${ac_cv_header_stdc+:} false
; then :
6167 $as_echo_n "(cached) " >&6
6169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6170 /* end confdefs.h. */
6184 if ac_fn_c_try_compile
"$LINENO"; then :
6185 ac_cv_header_stdc
=yes
6187 ac_cv_header_stdc
=no
6189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6191 if test $ac_cv_header_stdc = yes; then
6192 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6194 /* end confdefs.h. */
6198 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6199 $EGREP "memchr" >/dev
/null
2>&1; then :
6202 ac_cv_header_stdc
=no
6208 if test $ac_cv_header_stdc = yes; then
6209 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6211 /* end confdefs.h. */
6215 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6216 $EGREP "free" >/dev
/null
2>&1; then :
6219 ac_cv_header_stdc
=no
6225 if test $ac_cv_header_stdc = yes; then
6226 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6227 if test "$cross_compiling" = yes; then :
6230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6231 /* end confdefs.h. */
6234 #if ((' ' & 0x0FF) == 0x020)
6235 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6236 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6238 # define ISLOWER(c) \
6239 (('a' <= (c) && (c) <= 'i') \
6240 || ('j' <= (c) && (c) <= 'r') \
6241 || ('s' <= (c) && (c) <= 'z'))
6242 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6245 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6250 for (i = 0; i < 256; i++)
6251 if (XOR (islower (i), ISLOWER (i))
6252 || toupper (i) != TOUPPER (i))
6257 if ac_fn_c_try_run
"$LINENO"; then :
6260 ac_cv_header_stdc
=no
6262 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6263 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6269 $as_echo "$ac_cv_header_stdc" >&6; }
6270 if test $ac_cv_header_stdc = yes; then
6272 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6276 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6277 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6278 inttypes.h stdint.h unistd.h
6280 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6281 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6283 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6284 cat >>confdefs.h
<<_ACEOF
6285 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6293 for ac_header
in sys
/ipc.h sys
/shm.h \
6294 sys
/mmap.h sys
/mman.h sysexits.h \
6295 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6298 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6299 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6300 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6301 cat >>confdefs.h
<<_ACEOF
6302 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6310 for ac_header
in sys
/mount.h
6312 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6314 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6315 cat >>confdefs.h
<<_ACEOF
6316 #define HAVE_SYS_MOUNT_H 1
6325 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6326 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6328 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6329 if eval \
${$as_ac_Header+:} false
; then :
6330 $as_echo_n "(cached) " >&6
6332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6333 /* end confdefs.h. */
6334 #include <sys/types.h>
6346 if ac_fn_c_try_compile
"$LINENO"; then :
6347 eval "$as_ac_Header=yes"
6349 eval "$as_ac_Header=no"
6351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6353 eval ac_res
=\$
$as_ac_Header
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6355 $as_echo "$ac_res" >&6; }
6356 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6357 cat >>confdefs.h
<<_ACEOF
6358 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6361 ac_header_dirent
=$ac_hdr; break
6365 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6366 if test $ac_header_dirent = dirent.h
; then
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6368 $as_echo_n "checking for library containing opendir... " >&6; }
6369 if ${ac_cv_search_opendir+:} false
; then :
6370 $as_echo_n "(cached) " >&6
6372 ac_func_search_save_LIBS
=$LIBS
6373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6376 /* Override any GCC internal prototype to avoid an error.
6377 Use char because int might match the return type of a GCC
6378 builtin and then its argument prototype would still apply. */
6391 for ac_lib
in '' dir
; do
6392 if test -z "$ac_lib"; then
6393 ac_res
="none required"
6396 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6398 if ac_fn_c_try_link
"$LINENO"; then :
6399 ac_cv_search_opendir
=$ac_res
6401 rm -f core conftest.err conftest.
$ac_objext \
6403 if ${ac_cv_search_opendir+:} false
; then :
6407 if ${ac_cv_search_opendir+:} false
; then :
6410 ac_cv_search_opendir
=no
6413 LIBS
=$ac_func_search_save_LIBS
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6416 $as_echo "$ac_cv_search_opendir" >&6; }
6417 ac_res
=$ac_cv_search_opendir
6418 if test "$ac_res" != no
; then :
6419 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6425 $as_echo_n "checking for library containing opendir... " >&6; }
6426 if ${ac_cv_search_opendir+:} false
; then :
6427 $as_echo_n "(cached) " >&6
6429 ac_func_search_save_LIBS
=$LIBS
6430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6431 /* end confdefs.h. */
6433 /* Override any GCC internal prototype to avoid an error.
6434 Use char because int might match the return type of a GCC
6435 builtin and then its argument prototype would still apply. */
6448 for ac_lib
in '' x
; do
6449 if test -z "$ac_lib"; then
6450 ac_res
="none required"
6453 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6455 if ac_fn_c_try_link
"$LINENO"; then :
6456 ac_cv_search_opendir
=$ac_res
6458 rm -f core conftest.err conftest.
$ac_objext \
6460 if ${ac_cv_search_opendir+:} false
; then :
6464 if ${ac_cv_search_opendir+:} false
; then :
6467 ac_cv_search_opendir
=no
6470 LIBS
=$ac_func_search_save_LIBS
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6473 $as_echo "$ac_cv_search_opendir" >&6; }
6474 ac_res
=$ac_cv_search_opendir
6475 if test "$ac_res" != no
; then :
6476 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6483 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6484 if ${ac_cv_header_stat_broken+:} false
; then :
6485 $as_echo_n "(cached) " >&6
6487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6488 /* end confdefs.h. */
6489 #include <sys/types.h>
6490 #include <sys/stat.h>
6492 #if defined S_ISBLK && defined S_IFDIR
6493 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6496 #if defined S_ISBLK && defined S_IFCHR
6497 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6500 #if defined S_ISLNK && defined S_IFREG
6501 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6504 #if defined S_ISSOCK && defined S_IFREG
6505 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6509 if ac_fn_c_try_compile
"$LINENO"; then :
6510 ac_cv_header_stat_broken
=no
6512 ac_cv_header_stat_broken
=yes
6514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6517 $as_echo "$ac_cv_header_stat_broken" >&6; }
6518 if test $ac_cv_header_stat_broken = yes; then
6520 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6525 $as_echo_n "checking for ANSI C header files... " >&6; }
6526 if ${ac_cv_header_stdc+:} false
; then :
6527 $as_echo_n "(cached) " >&6
6529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6530 /* end confdefs.h. */
6544 if ac_fn_c_try_compile
"$LINENO"; then :
6545 ac_cv_header_stdc
=yes
6547 ac_cv_header_stdc
=no
6549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6551 if test $ac_cv_header_stdc = yes; then
6552 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6554 /* end confdefs.h. */
6558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6559 $EGREP "memchr" >/dev
/null
2>&1; then :
6562 ac_cv_header_stdc
=no
6568 if test $ac_cv_header_stdc = yes; then
6569 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6576 $EGREP "free" >/dev
/null
2>&1; then :
6579 ac_cv_header_stdc
=no
6585 if test $ac_cv_header_stdc = yes; then
6586 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6587 if test "$cross_compiling" = yes; then :
6590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6591 /* end confdefs.h. */
6594 #if ((' ' & 0x0FF) == 0x020)
6595 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6596 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6598 # define ISLOWER(c) \
6599 (('a' <= (c) && (c) <= 'i') \
6600 || ('j' <= (c) && (c) <= 'r') \
6601 || ('s' <= (c) && (c) <= 'z'))
6602 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6605 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6610 for (i = 0; i < 256; i++)
6611 if (XOR (islower (i), ISLOWER (i))
6612 || toupper (i) != TOUPPER (i))
6617 if ac_fn_c_try_run
"$LINENO"; then :
6620 ac_cv_header_stdc
=no
6622 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6623 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6629 $as_echo "$ac_cv_header_stdc" >&6; }
6630 if test $ac_cv_header_stdc = yes; then
6632 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6637 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6638 if ${ac_cv_header_sys_wait_h+:} false
; then :
6639 $as_echo_n "(cached) " >&6
6641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6642 /* end confdefs.h. */
6643 #include <sys/types.h>
6644 #include <sys/wait.h>
6646 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6649 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6657 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6662 if ac_fn_c_try_compile
"$LINENO"; then :
6663 ac_cv_header_sys_wait_h
=yes
6665 ac_cv_header_sys_wait_h
=no
6667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6670 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6671 if test $ac_cv_header_sys_wait_h = yes; then
6673 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6678 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6679 if ${ac_cv_header_time+:} false
; then :
6680 $as_echo_n "(cached) " >&6
6682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6683 /* end confdefs.h. */
6684 #include <sys/types.h>
6685 #include <sys/time.h>
6691 if ((struct tm *) 0)
6697 if ac_fn_c_try_compile
"$LINENO"; then :
6698 ac_cv_header_time
=yes
6700 ac_cv_header_time
=no
6702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6705 $as_echo "$ac_cv_header_time" >&6; }
6706 if test $ac_cv_header_time = yes; then
6708 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6712 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6713 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6715 cat >>confdefs.h
<<_ACEOF
6716 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6720 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6725 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6726 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6728 cat >>confdefs.h
<<_ACEOF
6729 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6733 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6736 case " $LIBOBJS " in
6737 *" fileblocks.$ac_objext "* ) ;;
6738 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6745 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6746 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6748 cat >>confdefs.h
<<_ACEOF
6749 #define HAVE_STRUCT_STAT_ST_RDEV 1
6753 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6759 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6760 if ${ac_cv_struct_tm+:} false
; then :
6761 $as_echo_n "(cached) " >&6
6763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6764 /* end confdefs.h. */
6765 #include <sys/types.h>
6772 int *p = &tm.tm_sec;
6778 if ac_fn_c_try_compile
"$LINENO"; then :
6779 ac_cv_struct_tm
=time.h
6781 ac_cv_struct_tm
=sys
/time.h
6783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6786 $as_echo "$ac_cv_struct_tm" >&6; }
6787 if test $ac_cv_struct_tm = sys
/time.h
; then
6789 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6793 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6794 #include <$ac_cv_struct_tm>
6797 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6799 cat >>confdefs.h
<<_ACEOF
6800 #define HAVE_STRUCT_TM_TM_ZONE 1
6806 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6808 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6811 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6813 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6819 cat >>confdefs.h
<<_ACEOF
6820 #define HAVE_DECL_TZNAME $ac_have_decl
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6824 $as_echo_n "checking for tzname... " >&6; }
6825 if ${ac_cv_var_tzname+:} false
; then :
6826 $as_echo_n "(cached) " >&6
6828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6829 /* end confdefs.h. */
6831 #if !HAVE_DECL_TZNAME
6832 extern char *tzname[];
6838 return tzname[0][0];
6843 if ac_fn_c_try_link
"$LINENO"; then :
6844 ac_cv_var_tzname
=yes
6848 rm -f core conftest.err conftest.
$ac_objext \
6849 conftest
$ac_exeext conftest.
$ac_ext
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6852 $as_echo "$ac_cv_var_tzname" >&6; }
6853 if test $ac_cv_var_tzname = yes; then
6855 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6860 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6861 if test "x$ac_cv_type_off_t" = xyes
; then :
6865 cat >>confdefs.h
<<_ACEOF
6866 #define off_t long int
6871 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6872 if test "x$ac_cv_type_pid_t" = xyes
; then :
6876 cat >>confdefs.h
<<_ACEOF
6882 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6883 if test "x$ac_cv_type_size_t" = xyes
; then :
6887 cat >>confdefs.h
<<_ACEOF
6888 #define size_t unsigned int
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6894 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6895 if ${ac_cv_type_uid_t+:} false
; then :
6896 $as_echo_n "(cached) " >&6
6898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6899 /* end confdefs.h. */
6900 #include <sys/types.h>
6903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6904 $EGREP "uid_t" >/dev
/null
2>&1; then :
6905 ac_cv_type_uid_t
=yes
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6913 $as_echo "$ac_cv_type_uid_t" >&6; }
6914 if test $ac_cv_type_uid_t = no
; then
6916 $as_echo "#define uid_t int" >>confdefs.h
6919 $as_echo "#define gid_t int" >>confdefs.h
6924 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6925 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6927 cat >>confdefs.h
<<_ACEOF
6928 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6935 # Look for some functions
6936 for ac_func
in getpagesize kqueue statfs statvfs \
6937 clone kse_create rfork_thread thr_create sa_register \
6938 getcontext makecontext setcontext sigaltstack swapcontext
6940 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6941 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6942 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6943 cat >>confdefs.h
<<_ACEOF
6944 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6954 for ac_header
in $ac_header_list
6956 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6957 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6959 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6960 cat >>confdefs.h
<<_ACEOF
6961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6975 for ac_func
in getpagesize
6977 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6978 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6979 cat >>confdefs.h
<<_ACEOF
6980 #define HAVE_GETPAGESIZE 1
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6987 $as_echo_n "checking for working mmap... " >&6; }
6988 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6989 $as_echo_n "(cached) " >&6
6991 if test "$cross_compiling" = yes; then :
6992 ac_cv_func_mmap_fixed_mapped
=no
6994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6995 /* end confdefs.h. */
6996 $ac_includes_default
6997 /* malloc might have been renamed as rpl_malloc. */
7000 /* Thanks to Mike Haertel and Jim Avera for this test.
7001 Here is a matrix of mmap possibilities:
7002 mmap private not fixed
7003 mmap private fixed at somewhere currently unmapped
7004 mmap private fixed at somewhere already mapped
7005 mmap shared not fixed
7006 mmap shared fixed at somewhere currently unmapped
7007 mmap shared fixed at somewhere already mapped
7008 For private mappings, we should verify that changes cannot be read()
7009 back from the file, nor mmap's back from the file at a different
7010 address. (There have been systems where private was not correctly
7011 implemented like the infamous i386 svr4.0, and systems where the
7012 VM page cache was not coherent with the file system buffer cache
7013 like early versions of FreeBSD and possibly contemporary NetBSD.)
7014 For shared mappings, we should conversely verify that changes get
7015 propagated back to all the places they're supposed to be.
7017 Grep wants private fixed already mapped.
7018 The main things grep needs to know about mmap are:
7019 * does it exist and is it safe to write into the mmap'd area
7020 * how to use it (BSD variants) */
7023 #include <sys/mman.h>
7025 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7029 /* This mess was copied from the GNU getpagesize.h. */
7030 #ifndef HAVE_GETPAGESIZE
7031 # ifdef _SC_PAGESIZE
7032 # define getpagesize() sysconf(_SC_PAGESIZE)
7033 # else /* no _SC_PAGESIZE */
7034 # ifdef HAVE_SYS_PARAM_H
7035 # include <sys/param.h>
7036 # ifdef EXEC_PAGESIZE
7037 # define getpagesize() EXEC_PAGESIZE
7038 # else /* no EXEC_PAGESIZE */
7040 # define getpagesize() NBPG * CLSIZE
7043 # endif /* no CLSIZE */
7044 # else /* no NBPG */
7046 # define getpagesize() NBPC
7047 # else /* no NBPC */
7049 # define getpagesize() PAGESIZE
7050 # endif /* PAGESIZE */
7051 # endif /* no NBPC */
7052 # endif /* no NBPG */
7053 # endif /* no EXEC_PAGESIZE */
7054 # else /* no HAVE_SYS_PARAM_H */
7055 # define getpagesize() 8192 /* punt totally */
7056 # endif /* no HAVE_SYS_PARAM_H */
7057 # endif /* no _SC_PAGESIZE */
7059 #endif /* no HAVE_GETPAGESIZE */
7064 char *data, *data2, *data3;
7069 pagesize = getpagesize ();
7071 /* First, make a file with some known garbage in it. */
7072 data = (char *) malloc (pagesize);
7075 for (i = 0; i < pagesize; ++i)
7076 *(data + i) = rand ();
7078 fd = creat ("conftest.mmap", 0600);
7081 if (write (fd, data, pagesize) != pagesize)
7085 /* Next, check that the tail of a page is zero-filled. File must have
7086 non-zero length, otherwise we risk SIGBUS for entire page. */
7087 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7091 if (write (fd2, cdata2, 1) != 1)
7093 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7094 if (data2 == MAP_FAILED)
7096 for (i = 0; i < pagesize; ++i)
7100 if (munmap (data2, pagesize))
7103 /* Next, try to mmap the file at a fixed address which already has
7104 something else allocated at it. If we can, also make sure that
7105 we see the same garbage. */
7106 fd = open ("conftest.mmap", O_RDWR);
7109 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7110 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7112 for (i = 0; i < pagesize; ++i)
7113 if (*(data + i) != *(data2 + i))
7116 /* Finally, make sure that changes to the mapped area do not
7117 percolate back to the file as seen by read(). (This is a bug on
7118 some variants of i386 svr4.0.) */
7119 for (i = 0; i < pagesize; ++i)
7120 *(data2 + i) = *(data2 + i) + 1;
7121 data3 = (char *) malloc (pagesize);
7124 if (read (fd, data3, pagesize) != pagesize)
7126 for (i = 0; i < pagesize; ++i)
7127 if (*(data + i) != *(data3 + i))
7133 if ac_fn_c_try_run
"$LINENO"; then :
7134 ac_cv_func_mmap_fixed_mapped
=yes
7136 ac_cv_func_mmap_fixed_mapped
=no
7138 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7139 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7144 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7145 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7147 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7150 rm -f conftest.mmap conftest.txt
7155 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7156 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7157 aros_config_ldflags
=""
7159 aros_shared_default
=yes
7161 aros_shared_cflags
="-fPIC"
7162 aros_shared_aflags
=""
7163 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7164 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7166 aros_kernel_ar_flags
="cr"
7167 aros_target_ar_flags
="cr"
7168 aros_target_nm_flags
="-C -ul"
7169 aros_target_strip_flags
="--strip-unneeded -R.comment"
7174 aros_target_genmap
="-Wl,-Map -Xlinker"
7176 # Native flavour stuff
7177 aros_serial_debug
="0"
7179 # Palm native flavour stuff
7180 aros_palm_debug_hack
="0"
7182 # Unix flavour stuff
7183 aros_nesting_supervisor
="0"
7185 # Collect-aros stuff: "-ius" to ignore undefined symbols
7186 ignore_undefined_symbols
=""
7188 # Check for X11 by default
7191 #-----------------------------------------------------------------------------
7194 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7195 # it switched on by default, and we use the host compiler, so it compiles AROS
7196 # code with this enabled resulting in link failures as we don't have support
7199 # We use two methods to disable it. For the host compiler (used to compile
7200 # some hosted modules), we test to see if the compiler supports stack
7201 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7202 # work on all platforms.
7204 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7205 # (this is done unconditionally, as it should have no effect on compilers
7206 # without the stack protection feature). This may be specific to the way that
7207 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7208 # strong enough to disable it in a generic way though, so we'll live with it
7209 # until another vendor ships GCC with it enabled in a different way, and deal
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7214 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7215 save_cflags
="$CFLAGS"
7216 CFLAGS
="$CFLAGS -fno-stack-protector"
7217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7218 /* end confdefs.h. */
7228 if ac_fn_c_try_compile
"$LINENO"; then :
7229 use_no_stack_protector
="yes"
7231 use_no_stack_protector
="no"
7233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7235 $as_echo "$use_no_stack_protector" >&6; }
7236 if test "x-$use_no_stack_protector" = "x-yes" ; then
7237 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7239 CFLAGS
="$save_cflags"
7241 #-----------------------------------------------------------------------------
7243 # Disable pointer-signedness warnings if the compiler recognises the option
7244 # (this only works for the host compiler at the moment)
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7247 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7248 save_cflags
="$CFLAGS"
7249 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7251 /* end confdefs.h. */
7261 if ac_fn_c_try_compile
"$LINENO"; then :
7262 use_no_sign_warning
="yes"
7264 use_no_sign_warning
="no"
7266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7268 $as_echo "$use_no_sign_warning" >&6; }
7269 if test "x-$use_no_sign_warning" = "x-yes" ; then
7270 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7272 CFLAGS
="$save_cflags"
7274 #-----------------------------------------------------------------------------
7276 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7279 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7280 save_cflags
="$CFLAGS"
7281 CFLAGS
="$CFLAGS -fgnu89-inline"
7282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7283 /* end confdefs.h. */
7293 if ac_fn_c_try_compile
"$LINENO"; then :
7294 use_gnu89_inline
="yes"
7296 use_gnu89_inline
="no"
7298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7300 $as_echo "$use_gnu89_inline" >&6; }
7301 if test "x-$use_gnu89_inline" = "x-yes" ; then
7302 gnu89_inline
="-fgnu89-inline"
7304 CFLAGS
="$save_cflags"
7306 #-----------------------------------------------------------------------------
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7309 $as_echo_n "checking for type of build... " >&6; }
7310 # Check whether --enable-build_type was given.
7311 if test "${enable_build_type+set}" = set; then :
7312 enableval
=$enable_build_type; build_type
=$enableval
7314 build_type
="personal"
7318 if test "$build_type" = "nightly"; then
7319 build_type_string
="NIGHTLY"
7320 elif test "$build_type" = "snapshot"; then
7321 build_type_string
="SNAPSHOT"
7322 elif test "$build_type" = "milestone"; then
7323 build_type_string
="MILESTONE"
7324 elif test "$build_type" = "release"; then
7325 build_type_string
="RELEASE"
7327 build_type_string
="PERSONAL"
7328 build_type
="personal"
7331 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7334 $as_echo "$build_type" >&6; }
7336 #-----------------------------------------------------------------------------
7337 all_debug_types
="messages stack modules mungwall symbols"
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7340 $as_echo_n "checking which debug types to enable... " >&6; }
7341 # Check whether --enable-debug was given.
7342 if test "${enable_debug+set}" = set; then :
7343 enableval
=$enable_debug; debug
="$enableval"
7349 if test "$debug" = "" -o "$debug" = "no"; then
7351 elif test "$debug" = "yes"; then
7355 if test "$debug" = "all" ; then
7356 debug
="messages stack modules symbols"
7357 for d
in $all_debug_types; do
7358 export aros_
${d}_debug
="1"
7361 for d
in $all_debug_types; do
7362 export aros_
${d}_debug
="0"
7366 if test "$debug" != "none"; then
7367 debug
=`echo $debug | sed s/,/\ /g`
7370 for d2
in $all_debug_types; do
7371 if test "$d2" = "$d"; then
7376 if test "$found" = "0"; then
7377 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7379 export aros_
${d}_debug
="1"
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7384 $as_echo "$debug" >&6; }
7386 if test "$aros_messages_debug" = "1"; then
7387 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7389 aros_messages_debug
=""
7391 if test "$aros_symbols_debug" = "1"; then
7392 aros_symbols_debug
="-g"
7394 aros_symbols_debug
=""
7397 # These are the flags to pass when compiling debugged programs
7398 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7399 aros_debug_aflags
=""
7400 aros_debug_ldflags
="$aros_symbols_debug"
7402 #-----------------------------------------------------------------------------
7403 # Checking for distcc and ccache.
7405 # Always apply the transforms in this particular order. Basically you should
7406 # always run 'ccache distcc compiler' in that order for the best performance.
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7409 $as_echo_n "checking whether to enable distcc... " >&6; }
7410 # Check whether --enable-distcc was given.
7411 if test "${enable_distcc+set}" = set; then :
7412 enableval
=$enable_distcc; distcc
="$enableval"
7417 if test "$distcc" != "" -a "$distcc" != "no"; then
7418 # AC_CHECK_PROG will print out the result in this case
7419 # Extract the first word of "distcc", so it can be a program name with args.
7420 set dummy distcc
; ac_word
=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422 $as_echo_n "checking for $ac_word... " >&6; }
7423 if ${ac_cv_path_DISTCC+:} false
; then :
7424 $as_echo_n "(cached) " >&6
7428 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7435 test -z "$as_dir" && as_dir
=.
7436 for ac_exec_ext
in '' $ac_executable_extensions; do
7437 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7438 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7446 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7450 DISTCC
=$ac_cv_path_DISTCC
7451 if test -n "$DISTCC"; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7453 $as_echo "$DISTCC" >&6; }
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 $as_echo "no" >&6; }
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7462 $as_echo "no" >&6; }
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7466 $as_echo_n "checking whether to enable ccache... " >&6; }
7467 # Check whether --enable-ccache was given.
7468 if test "${enable_ccache+set}" = set; then :
7469 enableval
=$enable_ccache; ccache
="$enableval"
7474 if test "$ccache" != "" -a "$ccache" != "no"; then
7475 # AC_CHECK_PROG will print out the result in this case
7476 # Extract the first word of "ccache", so it can be a program name with args.
7477 set dummy ccache
; ac_word
=$2
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7479 $as_echo_n "checking for $ac_word... " >&6; }
7480 if ${ac_cv_prog_CCACHE+:} false
; then :
7481 $as_echo_n "(cached) " >&6
7483 if test -n "$CCACHE"; then
7484 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7490 test -z "$as_dir" && as_dir
=.
7491 for ac_exec_ext
in '' $ac_executable_extensions; do
7492 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7493 ac_cv_prog_CCACHE
="ccache"
7494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7503 CCACHE
=$ac_cv_prog_CCACHE
7504 if test -n "$CCACHE"; then
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7506 $as_echo "$CCACHE" >&6; }
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7509 $as_echo "no" >&6; }
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7515 $as_echo "no" >&6; }
7518 #-----------------------------------------------------------------------------
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7520 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7522 # Check whether --with-kernel-gcc-version was given.
7523 if test "${with_kernel_gcc_version+set}" = set; then :
7524 withval
=$with_kernel_gcc_version; kernel_tool_version
="-$withval"
7526 kernel_tool_version
=""
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7530 $as_echo "$kernel_tool_version" >&6; }
7532 #-----------------------------------------------------------------------------
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7534 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7536 # Check whether --with-gcc-version was given.
7537 if test "${with_gcc_version+set}" = set; then :
7538 withval
=$with_gcc_version; target_tool_version
="$withval"
7540 target_tool_version
="default"
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7544 $as_echo "$target_tool_version" >&6; }
7546 #-----------------------------------------------------------------------------
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7548 $as_echo_n "checking what optimization flags to use... " >&6; }
7550 # Check whether --with-optimization was given.
7551 if test "${with_optimization+set}" = set; then :
7552 withval
=$with_optimization; optimization
="$withval"
7554 optimization
="unknown"
7557 if test "$optimization" = "unknown"; then
7558 if test "$debug" != "none"; then
7564 aros_config_cflags
="$aros_config_cflags $optimization"
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7566 $as_echo "$optimization" >&6; }
7568 #-----------------------------------------------------------------------------
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7570 $as_echo_n "checking what paranoia flags to use... " >&6; }
7572 # Check whether --with-paranoia was given.
7573 if test "${with_paranoia+set}" = set; then :
7574 withval
=$with_paranoia; paranoia_flags
="$withval"
7576 paranoia_flags
="default"
7579 if test "$paranoia_flags" = "default"; then
7581 else if test "$paranoia_flags" = "yes"; then
7582 paranoia_flags
="-Wall -Werror"
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7585 $as_echo "$paranoia_flags" >&6; }
7586 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7588 #-----------------------------------------------------------------------------
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7590 $as_echo_n "checking what target variant to enable... " >&6; }
7591 # Check whether --enable-target_variant was given.
7592 if test "${enable_target_variant+set}" = set; then :
7593 enableval
=$enable_target_variant; target_variant
=$enableval
7598 if test "$target_variant" = ""; then
7599 aros_target_variant
=""
7600 aros_target_suffix
=""
7603 aros_target_variant
="$target_variant"
7604 aros_target_suffix
="-$target_variant"
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7607 $as_echo "$enableval" >&6; }
7609 #-----------------------------------------------------------------------------
7610 # Target-specific defaults. You can override then on a per-target basis.
7612 # Bootloader name. Currently used by PC target.
7613 target_bootloader
="none"
7615 #-----------------------------------------------------------------------------
7616 # Additional options for some specific targets
7618 case "$aros_target_variant" in
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7621 $as_echo_n "checking XCode path... " >&6; }
7623 # Check whether --with-xcode was given.
7624 if test "${with_xcode+set}" = set; then :
7625 withval
=$with_xcode; aros_xcode_path
="$withval"
7627 aros_xcode_path
="/Developer"
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7631 $as_echo "$aros_xcode_path" >&6; }
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7634 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7636 # Check whether --with-sdk-version was given.
7637 if test "${with_sdk_version+set}" = set; then :
7638 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7640 aros_sdk_version
="4.1"
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7644 $as_echo "$aros_sdk_version" >&6; }
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7650 $as_echo_n "checking Android SDK path... " >&6; }
7652 # Check whether --with-sdk was given.
7653 if test "${with_sdk+set}" = set; then :
7654 withval
=$with_sdk; aros_android_sdk
="$withval"
7656 aros_android_sdk
=$default_android_sdk
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7660 $as_echo "$aros_android_sdk" >&6; }
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7663 $as_echo_n "checking Android NDK path... " >&6; }
7665 # Check whether --with-ndk was given.
7666 if test "${with_ndk+set}" = set; then :
7667 withval
=$with_ndk; aros_android_ndk
="$withval"
7669 aros_android_ndk
="none"
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7673 $as_echo "$aros_android_ndk" >&6; }
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7676 $as_echo_n "checking what Android SDK version to use... " >&6; }
7678 # Check whether --with-sdk-version was given.
7679 if test "${with_sdk_version+set}" = set; then :
7680 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7682 aros_sdk_version
="12"
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7686 $as_echo "$aros_sdk_version" >&6; }
7688 if test "$aros_android_ndk" != "none"; then
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7690 $as_echo_n "checking what Android NDK version to use... " >&6; }
7692 # Check whether --with-ndk-version was given.
7693 if test "${with_ndk_version+set}" = set; then :
7694 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7696 aros_ndk_version
="9"
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7700 $as_echo "$aros_ndk_version" >&6; }
7703 export PATH
="$aros_android_sdk/tools:$PATH"
7704 # Extract the first word of "$android_tool", so it can be a program name with args.
7705 set dummy
$android_tool; ac_word
=$2
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7707 $as_echo_n "checking for $ac_word... " >&6; }
7708 if ${ac_cv_path_android_tool+:} false
; then :
7709 $as_echo_n "(cached) " >&6
7711 case $android_tool in
7713 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7720 test -z "$as_dir" && as_dir
=.
7721 for ac_exec_ext
in '' $ac_executable_extensions; do
7722 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7723 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7734 android_tool
=$ac_cv_path_android_tool
7735 if test -n "$android_tool"; then
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7737 $as_echo "$android_tool" >&6; }
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7740 $as_echo "no" >&6; }
7744 if test "$android_tool" = ""; then
7745 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7748 aros_android_level
=android-
$aros_sdk_version
7749 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7750 echo "Platform $aros_android_level is not installed in your SDK"
7751 echo "Use --with-sdk-version=<API level number> to select another platform version"
7752 echo "You can check what plaform versions are installed in your SDK"
7753 echo "by examining contents of $aros_android_sdk/platforms directory"
7754 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7757 # Extract the first word of "ant", so it can be a program name with args.
7758 set dummy ant
; ac_word
=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7760 $as_echo_n "checking for $ac_word... " >&6; }
7761 if ${ac_cv_path_ant+:} false
; then :
7762 $as_echo_n "(cached) " >&6
7766 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7773 test -z "$as_dir" && as_dir
=.
7774 for ac_exec_ext
in '' $ac_executable_extensions; do
7775 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7776 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7788 if test -n "$ant"; then
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7790 $as_echo "$ant" >&6; }
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7793 $as_echo "no" >&6; }
7797 if test "$ant" = ""; then
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7799 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7802 if test "$host_os" = "mingw32"; then
7803 android_tool
="cmd //c $android_tool"
7809 #-----------------------------------------------------------------------------
7810 # External toolchains
7811 kernel_tool_prefix
="none"
7812 aros_tool_prefix
="none"
7813 elf_tool_prefix
="${target_cpu}-elf-"
7815 # This is the target configuration switch.
7816 case "$target_os" in
7818 aros_target_arch
="linux"
7819 aros_target_family
="unix"
7820 case "$target_cpu" in
7822 aros_target_cpu
="m68k"
7823 aros_object_format
="m68kelf"
7824 aros_flavour
="emulcompat"
7825 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7826 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7827 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7828 gcc_target_cpu
="mc68000"
7831 aros_target_cpu
="i386"
7832 aros_object_format
="elf_i386"
7833 aros_flavour
="emulation"
7834 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7835 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7836 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7837 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7838 aros_config_ldflags
="-m32 -march=i486"
7839 aros_kernel_ldflags
="-melf_i386"
7840 aros_default_wbdepth
=8
7841 gcc_target_cpu
="i386"
7842 pci_hidd_target
="hidd-pci-linux"
7843 android_tool_dir_prefix
="x86"
7844 android_tool_prefix
="i686-android-linux"
7845 android_ndk_arch
="x86"
7848 aros_target_cpu
="x86_64"
7849 aros_object_format
="elf_x86_64"
7850 aros_flavour
="emulation"
7851 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7852 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7853 aros_default_wbdepth
=8
7854 pci_hidd_target
="hidd-pci-linux"
7857 aros_target_cpu
="ppc"
7858 aros_object_format
="elf32ppc"
7859 aros_flavour
="emulation"
7860 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7861 aros_default_wbdepth
=8
7862 gcc_target_cpu
="ppc"
7865 # Same as powerpc, but I need this for the nightly build to work again.
7866 # Actually, the nightly should be made working with powerpc target.
7867 # That just was too much work for the moment, another week or two.
7869 aros_target_cpu
="ppc"
7870 aros_object_format
="elf32ppc"
7871 aros_flavour
="emulation"
7872 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7873 aros_default_wbdepth
=8
7874 gcc_target_cpu
="ppc"
7877 aros_target_cpu
="arm"
7879 aros_object_format
="armelf_linux_eabi"
7880 aros_flavour
="emulation"
7881 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7882 gcc_target_cpu
="arm"
7883 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7884 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7885 aros_arch_libs
="-laeabi"
7886 gcc_default_fpu
="vfpv3-d16"
7887 gcc_default_float_abi
="hard"
7888 android_tool_dir_prefix
="arm-linux-androideabi"
7889 android_tool_prefix
="arm-linux-androideabi"
7890 android_ndk_arch
="arm"
7891 kernel_tool_prefix
="arm-linux-gnueabihf-"
7894 aros_target_cpu
="arm"
7895 aros_object_format
="armelf_linux_eabi"
7896 aros_flavour
="emulation"
7897 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7898 gcc_target_cpu
="arm"
7899 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7900 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7901 aros_arch_libs
="-laeabi"
7902 android_tool_dir_prefix
="arm-linux-androideabi"
7903 android_tool_prefix
="arm-linux-androideabi"
7904 android_ndk_arch
="arm"
7905 kernel_tool_prefix
="arm-linux-gnueabi-"
7908 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7911 case "$aros_target_variant" in
7914 if test "$android_ndk_arch" = ""; then
7915 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7918 aros_default_wbwidth
=320
7919 aros_default_wbheight
=480
7920 if test "$aros_android_ndk" = "none"; then
7921 aros_kernel_cflags
="-mandroid"
7922 aros_kernel_ldflags
="-mandroid"
7925 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7926 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7927 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7928 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7929 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7930 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7933 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7934 # Disable implicit PIC mode
7935 aros_target_cflags
="$aros_target_cflags -fno-pic"
7936 kernel_tool_prefix
="$android_tool_prefix-"
7942 aros_target_arch
="pc"
7943 aros_shared_default
="no"
7944 target_bootloader
="grub2"
7945 case "$target_cpu" in
7947 aros_target_cpu
="i386"
7950 if test "$aros_object_format" = "" ; then
7951 aros_object_format
="elf_i386"
7953 aros_flavour
="standalone"
7954 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7955 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7956 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7957 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7958 aros_config_ldflags
="-m32 -march=i486"
7959 aros_kernel_ldflags
="-melf_i386"
7960 aros_default_wbwidth
=640
7961 aros_default_wbheight
=480
7962 gcc_target_cpu
="i386"
7965 aros_target_cpu
="x86_64"
7967 if test "$aros_object_format" = "" ; then
7968 aros_object_format
="elf_x86_64"
7970 aros_flavour
="standalone"
7971 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7972 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7973 aros_kernel_ldflags
=""
7974 aros_default_wbwidth
=640
7975 aros_default_wbheight
=480
7978 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7984 aros_target_arch
="prep"
7985 aros_shared_default
="no"
7986 aros_target_cpu
="ppc"
7987 aros_object_format
="elf32ppc"
7988 aros_flavour
="ppcnative"
7989 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7990 aros_kernel_ldflags
=""
7991 aros_default_wbwidth
=640
7992 aros_default_wbheight
=480
7993 gcc_target_cpu
="ppc"
7997 aros_target_arch
="freebsd"
7998 aros_target_family
="unix"
7999 aros_target_cpu
="i386"
8000 aros_flavour
="emulation"
8001 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8002 gcc_target_cpu
="i386"
8004 aros_target_strip_flags
="-x"
8008 aros_target_arch
="darwin"
8009 aros_target_family
="unix"
8010 aros_flavour
="emulation"
8011 case "$target_cpu" in
8013 aros_ios_platform
="iPhoneSimulator"
8014 aros_target_cpu
="i386"
8015 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8016 aros_kernel_ldflags
=""
8017 aros_macosx_version
="10.4"
8018 aros_default_wbdepth
=8
8019 gcc_target_cpu
="i386"
8020 aros_object_format
="elf_i386"
8021 aros_kernel_ar_flags
="-cr"
8022 aros_target_strip_flags
="-x"
8023 kernel_tool_flags
="-m32"
8026 aros_target_cpu
="x86_64"
8027 aros_object_format
="elf_x86_64"
8028 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8029 aros_macosx_version
="10.6"
8030 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8031 aros_kernel_cflags
="-m64"
8032 aros_kernel_ldflags
="-m64"
8033 aros_target_cflags
="-mcmodel=large"
8034 aros_default_wbdepth
=8
8036 aros_kernel_ar_flags
="-cr"
8039 aros_kernel_ranlib
="ranlib"
8041 aros_kernel_strip
="strip"
8042 kernel_tool_prefix
="i686-apple-darwin10-"
8045 aros_target_cpu
="ppc"
8046 aros_object_format
="elf32ppc"
8047 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8048 aros_kernel_ldflags
=""
8049 aros_macosx_version
="10.0"
8050 aros_default_wbdepth
=8
8051 gcc_target_cpu
="ppc"
8053 aros_kernel_ar_flags
="-cr"
8054 aros_kernel_ld
="ld -arch ppc"
8055 aros_kernel_as
="as -arch ppc"
8056 aros_kernel_ranlib
="ranlib -arch ppc"
8057 aros_kernel_nm
="nm -arch ppc"
8058 aros_kernel_strip
="strip -arch ppc"
8059 kernel_tool_prefix
="powerpc-apple-darwin10-"
8062 aros_ios_platform
="iPhoneOS"
8063 aros_target_cpu
="arm"
8064 aros_object_format
="armelf_linux_eabi"
8065 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8066 aros_arch_libs
="-laeabi"
8067 aros_default_wbdepth
=8
8068 gcc_target_cpu
="arm"
8070 aros_kernel_ar_flags
="-cr"
8071 aros_kernel_ld
="ld -arch arm"
8072 aros_kernel_ranlib
="ranlib -arch arm"
8073 kernel_tool_prefix
="arm-apple-darwin10-"
8074 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8077 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8080 case "$aros_target_variant" in
8082 aros_ios_version
="3.0"
8083 aros_default_wbwidth
=320
8084 aros_default_wbheight
=480
8085 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8086 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8087 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8089 # This is here because it may depend on iOS or SDK version
8090 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8091 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8092 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8095 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8096 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8102 aros_target_arch
="dragonfly"
8103 aros_target_family
="unix"
8104 aros_flavour
="emulation"
8105 case "$target_cpu" in
8107 aros_target_cpu
="i386"
8108 aros_object_format
="elf_i386"
8109 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8112 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8113 aros_target_cpu
="x86_64"
8114 aros_object_format
="elf_x86_64"
8115 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8118 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8124 aros_target_arch
="netbsd"
8125 aros_target_family
="unix"
8126 case "$target_cpu" in
8128 aros_target_cpu
="m68k"
8129 aros_object_format
="m68kelf"
8130 aros_flavour
="emulcompat"
8131 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8132 gcc_target_cpu
="mc68000"
8135 aros_target_cpu
="i386"
8136 aros_object_format
="elf_i386"
8137 aros_flavour
="emulation"
8138 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8139 aros_default_wbdepth
=8
8140 gcc_target_cpu
="i386"
8143 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8146 aros_target_genmap
="-Wl,-M -Xlinker >"
8147 aros_flavour
="emulation"
8148 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8152 aros_target_arch
="openbsd"
8153 aros_target_family
="unix"
8154 case "$target_cpu" in
8156 aros_target_cpu
="i386"
8157 aros_object_format
="elf_i386"
8158 aros_flavour
="emulation"
8159 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8160 gcc_target_cpu
="i386"
8163 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8166 aros_target_genmap
="-Wl,-M -Xlinker >"
8167 aros_target_nm_flags
="-u"
8168 aros_flavour
="emulation"
8172 aros_target_arch
="solaris"
8173 aros_target_family
="unix"
8174 case "$target_cpu" in
8176 aros_target_cpu
="i386"
8177 aros_object_format
="elf_i386"
8178 aros_flavour
="emulation"
8179 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8180 aros_default_wbdepth
=8
8181 gcc_target_cpu
="i386"
8184 aros_target_cpu
="sparc"
8185 aros_object_format
="elf_sparc"
8186 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8187 gcc_target_cpu
="sparc"
8190 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8193 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8194 aros_flavour
="emulation"
8198 aros_target_arch
="morphos"
8199 aros_shared_default
="no"
8200 aros_target_cpu
="ppc"
8201 aros_object_format
="elf_ppc"
8202 aros_flavour
="nativecompat"
8203 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8204 gcc_target_cpu
="ppc"
8208 aros_target_arch
="sam440"
8209 aros_shared_default
="no"
8210 aros_target_cpu
="ppc"
8211 aros_object_format
="elf32ppc"
8212 aros_flavour
="ppcnative"
8213 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8214 aros_kernel_ldflags
=""
8215 aros_default_wbwidth
=1024
8216 aros_default_wbheight
=768
8217 aros_default_wbdepth
=24
8218 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8219 gcc_target_cpu
="powerpc"
8223 aros_target_arch
="efika"
8224 aros_shared_default
="no"
8225 aros_target_cpu
="arm"
8226 aros_object_format
="armelf_linux_eabi"
8227 aros_flavour
="standalone"
8228 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8229 aros_kernel_ldflags
=""
8230 aros_default_wbwidth
=1024
8231 aros_default_wbheight
=600
8232 aros_arch_libs
="-laeabi"
8233 gcc_default_cpu
="armv7-a"
8234 gcc_default_fpu
="vfpv3"
8235 gcc_default_float_abi
="softfp"
8236 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8237 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8241 aros_target_arch
="chrp"
8242 aros_shared_default
="no"
8243 aros_target_cpu
="ppc"
8244 aros_object_format
="elf32ppc"
8245 aros_flavour
="ppcnative"
8246 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8247 aros_kernel_ldflags
=""
8248 aros_default_wbwidth
=640
8249 aros_default_wbheight
=480
8250 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8251 gcc_target_cpu
="powerpc"
8252 case "$aros_target_variant" in
8254 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8260 aros_flavour
="standalone"
8261 aros_target_arch
="raspi"
8262 aros_target_cpu
="arm"
8263 aros_object_format
="armelf_linux_eabi"
8264 aros_shared_default
="no"
8265 aros_arch_libs
="-laeabi"
8267 gcc_default_cpu
="armv6"
8268 gcc_default_cpu_tune
="arm1176jzf-s"
8269 case "$target_cpu" in
8271 gcc_default_fpu
="vfp"
8272 gcc_default_float_abi
="hard"
8275 gcc_default_fpu
="vfp"
8276 gcc_default_float_abi
="softfp"
8279 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8283 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8284 aros_config_cflags
="$aros_config_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8285 aros_config_aflags
="$aros_config_aflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8286 aros_kernel_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8287 aros_target_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8291 aros_target_arch
="amiga"
8292 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8293 aros_shared_default
="no"
8295 case "$target_cpu" in
8297 # Check whether --enable-amigaos_compliance was given.
8298 if test "${enable_amigaos_compliance+set}" = set; then :
8299 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8303 aros_target_cpu
="m68k"
8304 aros_object_format
="m68kelf"
8305 aros_flavour
="standcompat"
8306 gcc_target_cpu
="m68000"
8307 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -Os -DNOLIBINLINE"
8308 aros_config_aflags
="$aros_config_aflags"
8309 aros_target_strip_flags
="-R.comment --strip-debug"
8310 aros_default_wbwidth
=640
8311 aros_default_wbheight
=256
8312 aros_default_wbdepth
=2
8316 aros_flavour
="native"
8317 gcc_target_cpu
="ppc"
8320 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8326 aros_target_arch
="mingw32"
8327 aros_shared_default
="no"
8328 aros_flavour
="emulation"
8329 aros_shared_cflags
=""
8330 need_crosstools
="yes"
8333 case "$target_cpu" in
8335 aros_target_cpu
="i386"
8336 aros_object_format
="elf_i386"
8337 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8338 aros_default_wbdepth
=8
8339 gcc_target_cpu
="i386"
8341 kernel_tool_prefix
="i386-mingw32-"
8344 aros_target_cpu
="x86_64"
8345 aros_object_format
="elf_x86_64"
8346 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8347 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8348 aros_default_wbdepth
=8
8349 kernel_tool_prefix
="x86_64-w64-mingw32-"
8352 aros_target_cpu
="arm"
8353 aros_object_format
="armelf_linux_eabi"
8354 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8355 aros_arch_libs
="-laeabi"
8356 aros_default_wbdepth
=8
8357 gcc_target_cpu
="arm"
8358 gcc_default_float_abi
="soft"
8359 kernel_tool_prefix
="arm-mingw32ce-"
8360 aros_default_wbwidth
=160
8361 aros_default_wbheight
=160
8364 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8367 if test $host_os = "cygwin"; then
8368 aros_kernel_cflags
="-mno-cygwin"
8372 aros_target_arch
="pp"
8373 aros_shared_default
="no"
8374 case "$target_cpu" in
8376 aros_target_cpu
="m68k"
8377 aros_object_format
="m68kelf"
8378 aros_flavour
="palmnative"
8379 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8380 aros_default_wbwidth
=160
8381 aros_default_wbheight
=160
8382 aros_default_wbdepth
=1
8383 aros_target_ar_flags
="cru"
8384 aros_compiler_libs
="-lgcc1"
8385 aros_shared_default
=no
8386 aros_shared_cflags
="-fpic"
8387 aros_shared_aflags
=""
8388 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8389 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8390 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8391 aros_debug_aflags
=""
8392 aros_debug_ldflags
="$aros_symbols_debug"
8393 aros_mungwall_debug
="0"
8394 aros_modules_debug
="0"
8395 gcc_target_cpu
="mc68000"
8396 ignore_undefined_symbols
="-ius"
8399 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8405 aros_target_arch
="mac"
8406 aros_shared_default
="no"
8407 case "$target_cpu" in
8409 aros_target_cpu
="m68k"
8410 aros_object_format
="m68kelf"
8411 aros_flavour
="mac68knative"
8412 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8413 aros_default_wbwidth
=512
8414 aros_default_wbheight
=384
8415 aros_default_wbdepth
=8
8416 aros_target_ar_flags
="cru"
8417 aros_compiler_libs
="-lgcc1"
8418 aros_shared_default
=no
8419 aros_shared_cflags
="-fpic"
8420 aros_shared_aflags
=""
8421 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8422 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8423 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8424 aros_debug_aflags
=""
8425 aros_debug_ldflags
="$aros_symbols_debug"
8426 aros_mungwall_debug
="0"
8427 aros_modules_debug
="0"
8428 gcc_target_cpu
="mc68000"
8429 ignore_undefined_symbols
="-ius"
8432 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8438 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8442 #-----------------------------------------------------------------------------
8443 crosstools_guess
=yes
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8446 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8448 # Check whether --with-kernel-toolchain-prefix was given.
8449 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8450 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8454 $as_echo "$kernel_tool_prefix" >&6; }
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8457 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8459 # Check whether --with-elf-toolchain-prefix was given.
8460 if test "${with_elf_toolchain_prefix+set}" = set; then :
8461 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8466 $as_echo "$elf_tool_prefix" >&6; }
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8469 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8471 # Check whether --with-aros-toolchain was given.
8472 if test "${with_aros_toolchain+set}" = set; then :
8473 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8477 if test "$aros_tool_prefix" = "yes" ; then
8478 aros_tool_prefix
=$aros_target_cpu-aros-
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8481 $as_echo "$aros_tool_prefix" >&6; }
8483 #-----------------------------------------------------------------------------
8484 # Checking if we should build crosstools..
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8486 $as_echo_n "checking whether to build crosstools... " >&6; }
8487 # Check whether --enable-crosstools was given.
8488 if test "${enable_crosstools+set}" = set; then :
8489 enableval
=$enable_crosstools; crosstools
="$enableval"
8491 crosstools
="$crosstools_guess"
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8495 $as_echo "$crosstools" >&6; }
8497 if test "${crosstools}" = "yes"; then
8498 if test "${crosstools_guess}" = "no"; then
8499 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8504 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8506 # Check whether --with-aros-toolchain-install was given.
8507 if test "${with_aros_toolchain_install+set}" = set; then :
8508 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8511 if test "x$aros_toolchain_install" = "x"; then
8512 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8514 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8515 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8518 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8521 # Now process extra architecture-specific options.
8522 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8523 # as well as floating-point ABI.
8524 case "$aros_target_cpu" in
8526 if test "$gcc_default_cpu" = ""; then
8527 gcc_default_cpu
="armv6"
8529 if test "$gcc_default_fpu" = ""; then
8530 gcc_default_fpu
="vfp"
8532 if test "$gcc_default_float_abi" = ""; then
8533 gcc_default_float_abi
="softfp"
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8537 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8539 # Check whether --with-cpu was given.
8540 if test "${with_cpu+set}" = set; then :
8541 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8543 aros_gcc_cpu
=$gcc_default_cpu
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8547 $as_echo "$aros_gcc_cpu" >&6; }
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8550 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8552 # Check whether --with-fpu was given.
8553 if test "${with_fpu+set}" = set; then :
8554 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8556 aros_gcc_fpu
=$gcc_default_fpu
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8560 $as_echo "$aros_gcc_fpu" >&6; }
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8563 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8565 # Check whether --with-float was given.
8566 if test "${with_float+set}" = set; then :
8567 withval
=$with_float; aros_gcc_float_abi
="$withval"
8569 aros_gcc_float_abi
=$gcc_default_float_abi
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8573 $as_echo "$aros_gcc_float_abi" >&6; }
8575 aros_config_cflags
="$aros_config_cflags -marm -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi -fno-asynchronous-unwind-tables -fno-exceptions"
8576 aros_config_aflags
="$aros_config_aflags -marm -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi -fno-asynchronous-unwind-tables -fno-exceptions"
8580 # Some formats need custom ELF specs.
8581 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8582 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8583 elf_specs_in
=config
/${aros_object_format}-specs.
in
8585 elf_specs_in
=config
/elf-specs.
in
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8589 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8591 # Check whether --with-aros-gcc was given.
8592 if test "${with_aros_gcc+set}" = set; then :
8593 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8599 $as_echo "$aros_gcc_version" >&6; }
8601 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8602 # Since we override specs, we may need to put these defines there
8603 if test "$gcc_target_cpu" != ""; then
8604 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8608 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8610 # Check whether --with-portssources was given.
8611 if test "${with_portssources+set}" = set; then :
8612 withval
=$with_portssources; with_portssrcdir
=$withval
8614 with_portssrcdir
="default"
8617 if test "$with_portssrcdir" = "default"; then
8618 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8620 AROS_PORTSSRCDIR
="$with_portssrcdir"
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8623 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8626 $as_echo_n "checking which bootloader to use... " >&6; }
8628 # Check whether --with-bootloader was given.
8629 if test "${with_bootloader+set}" = set; then :
8630 withval
=$with_bootloader; target_bootloader
=$withval
8632 target_bootloader
=$target_bootloader
8635 if test "$target_bootloader" = "none"; then
8636 aros_target_bootloader
=""
8638 aros_target_bootloader
="$target_bootloader"
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8641 $as_echo "$target_bootloader" >&6; }
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8644 $as_echo_n "checking which icon-set to use... " >&6; }
8646 # Check whether --with-iconset was given.
8647 if test "${with_iconset+set}" = set; then :
8648 withval
=$with_iconset; target_iconset
=$withval
8650 target_iconset
="default"
8653 if test "$target_iconset" = "default"; then
8654 aros_target_iconset
="Gorilla"
8655 target_iconset
="default (Gorilla)"
8657 aros_target_iconset
="$target_iconset"
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8660 $as_echo "$target_iconset" >&6; }
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8663 $as_echo_n "checking which GUI Theme to use... " >&6; }
8665 # Check whether --with-theme was given.
8666 if test "${with_theme+set}" = set; then :
8667 withval
=$with_theme; target_guitheme
=$withval
8669 target_guitheme
="default"
8672 if test "$target_guitheme" = "default"; then
8673 aros_target_guitheme
="Ice"
8675 aros_target_guitheme
="$target_guitheme"
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8678 $as_echo "$aros_target_guitheme" >&6; }
8680 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8684 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8688 if test "$aros_host_cpu" == "x86_64" ; then
8689 if test "$aros_target_cpu" == "i386" ; then
8694 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8695 if test "$aros_host_arch" != "$aros_target_arch" ; then
8699 if test "$host_cc_elf" = "no" ; then
8704 if test "$cross_compiling" = "no" ; then
8705 kernel_tool_prefix
=""
8706 if test "$host_cc_elf" = "yes" ; then
8711 #######################################################################
8712 ## Compute what toolchains to use, and their paths ##
8713 #######################################################################
8715 # This takes, as input:
8716 # crosstools {yes,no}
8717 # kernel_tool_version {"",[version]}
8718 # aros_gcc_version {"",[version]}
8719 # kernel_tool_prefix {none,[some-arch-os-]}
8720 # target_tool_prefix ${aros_target_cpu}-aros-
8721 # aros_tool_prefix ${aros_target_cpu}-aros-
8724 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8725 # Where the 'kernel' binaries are located
8726 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8727 # Where the 'target' binaries are located
8728 # (not the symlink farm - that is aros_target_*!)
8731 # if crosstools then
8732 # if kernel_tools_prefix = "no-kernel-prefix-"
8733 # aros_kernel_* = crosstools cc paths
8734 # aros_kernel_cc = elf cc wrapper around crosstools cc
8736 # VALIDATE(${kernel_tools_prefix}*)
8737 # aros_kernel_* = ${kernel_tools_prefix}*
8738 # if ${kernel_tools_prefix}cc is an AROS gcc
8739 # aros_kernel_cc = ${kernel_tools_prefix}cc
8741 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8745 # orig_target_* = aros built crosstools
8746 # orig_target_cc = elf cc wrapper around crosstools cc
8748 # VALIDATE(${kernel_tools_prefix}*)
8750 # orig_target_* = aros_kernel_*
8751 # if aros_kernel_cc is an AROS gcc
8752 # orig_target_cc = aros_kernel_cc
8754 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8758 target_tool_prefix
="${aros_target_cpu}-aros-"
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8761 $as_echo_n "checking which kernel tools... " >&6; }
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8763 $as_echo "$kernel_tool_prefix" >&6; };
8765 if test "$kernel_tool_prefix" = "none" ; then
8766 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8767 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8770 # Kernel tools required - find them
8771 # Note that 'normally', aros_kernel_* overrides will be
8772 # empty, unless specified in the per-arch sections above.
8773 if test "x$aros_kernel_cpp" = "x"; then
8774 aros_kernel_cpp
=${kernel_tool_prefix}cpp
8777 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
8778 if test "$cross_compiling" = "yes" ; then
8779 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8780 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8782 $as_echo_n "checking for $ac_word... " >&6; }
8783 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8784 $as_echo_n "(cached) " >&6
8786 case $aros_kernel_cpp in
8788 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8795 test -z "$as_dir" && as_dir
=.
8796 for ac_exec_ext
in '' $ac_executable_extensions; do
8797 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8798 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8809 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8810 if test -n "$aros_kernel_cpp"; then
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8812 $as_echo "$aros_kernel_cpp" >&6; }
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8815 $as_echo "no" >&6; }
8820 if test "$GCC" = "yes"; then
8821 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8822 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8823 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8825 $as_echo_n "checking for $ac_word... " >&6; }
8826 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8827 $as_echo_n "(cached) " >&6
8829 case $aros_kernel_cpp in
8831 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8835 for as_dir
in `dirname $aros_gcc_cpp`
8838 test -z "$as_dir" && as_dir
=.
8839 for ac_exec_ext
in '' $ac_executable_extensions; do
8840 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8841 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8852 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8853 if test -n "$aros_kernel_cpp"; then
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8855 $as_echo "$aros_kernel_cpp" >&6; }
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8858 $as_echo "no" >&6; }
8863 if test "$aros_kernel_cpp" = ""; then
8864 # Extract the first word of "cpp", so it can be a program name with args.
8865 set dummy cpp
; ac_word
=$2
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8867 $as_echo_n "checking for $ac_word... " >&6; }
8868 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8869 $as_echo_n "(cached) " >&6
8871 case $aros_kernel_cpp in
8873 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8880 test -z "$as_dir" && as_dir
=.
8881 for ac_exec_ext
in '' $ac_executable_extensions; do
8882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8883 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8894 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8895 if test -n "$aros_kernel_cpp"; then
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8897 $as_echo "$aros_kernel_cpp" >&6; }
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8900 $as_echo "no" >&6; }
8907 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
8908 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8910 $as_echo_n "checking for $ac_word... " >&6; }
8911 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8912 $as_echo_n "(cached) " >&6
8914 case $aros_kernel_cpp in
8916 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8923 test -z "$as_dir" && as_dir
=.
8924 for ac_exec_ext
in '' $ac_executable_extensions; do
8925 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8926 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8937 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8938 if test -n "$aros_kernel_cpp"; then
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8940 $as_echo "$aros_kernel_cpp" >&6; }
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8943 $as_echo "no" >&6; }
8949 if test "$aros_kernel_cpp" = ""; then
8950 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8952 if test "x$aros_kernel_cc" = "x"; then
8953 aros_kernel_cc
=${kernel_tool_prefix}gcc
8956 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
8957 if test "$cross_compiling" = "yes" ; then
8958 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8959 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8961 $as_echo_n "checking for $ac_word... " >&6; }
8962 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8963 $as_echo_n "(cached) " >&6
8965 case $aros_kernel_cc in
8967 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8974 test -z "$as_dir" && as_dir
=.
8975 for ac_exec_ext
in '' $ac_executable_extensions; do
8976 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8977 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8988 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8989 if test -n "$aros_kernel_cc"; then
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8991 $as_echo "$aros_kernel_cc" >&6; }
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8994 $as_echo "no" >&6; }
8999 if test "$GCC" = "yes"; then
9000 aros_gcc_cc
=`$CC -print-prog-name=cc`
9001 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9002 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9004 $as_echo_n "checking for $ac_word... " >&6; }
9005 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9006 $as_echo_n "(cached) " >&6
9008 case $aros_kernel_cc in
9010 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9014 for as_dir
in `dirname $aros_gcc_cc`
9017 test -z "$as_dir" && as_dir
=.
9018 for ac_exec_ext
in '' $ac_executable_extensions; do
9019 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9020 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9031 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9032 if test -n "$aros_kernel_cc"; then
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9034 $as_echo "$aros_kernel_cc" >&6; }
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9037 $as_echo "no" >&6; }
9042 if test "$aros_kernel_cc" = ""; then
9043 # Extract the first word of "cc", so it can be a program name with args.
9044 set dummy cc
; ac_word
=$2
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9046 $as_echo_n "checking for $ac_word... " >&6; }
9047 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9048 $as_echo_n "(cached) " >&6
9050 case $aros_kernel_cc in
9052 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9059 test -z "$as_dir" && as_dir
=.
9060 for ac_exec_ext
in '' $ac_executable_extensions; do
9061 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9062 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9073 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9074 if test -n "$aros_kernel_cc"; then
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9076 $as_echo "$aros_kernel_cc" >&6; }
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9079 $as_echo "no" >&6; }
9086 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9087 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9089 $as_echo_n "checking for $ac_word... " >&6; }
9090 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9091 $as_echo_n "(cached) " >&6
9093 case $aros_kernel_cc in
9095 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9102 test -z "$as_dir" && as_dir
=.
9103 for ac_exec_ext
in '' $ac_executable_extensions; do
9104 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9105 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9116 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9117 if test -n "$aros_kernel_cc"; then
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9119 $as_echo "$aros_kernel_cc" >&6; }
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9122 $as_echo "no" >&6; }
9128 if test "$aros_kernel_cc" = ""; then
9129 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9131 if test "x$aros_kernel_cxx" = "x"; then
9132 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9135 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9136 if test "$cross_compiling" = "yes" ; then
9137 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9138 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9140 $as_echo_n "checking for $ac_word... " >&6; }
9141 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9142 $as_echo_n "(cached) " >&6
9144 case $aros_kernel_cxx in
9146 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9153 test -z "$as_dir" && as_dir
=.
9154 for ac_exec_ext
in '' $ac_executable_extensions; do
9155 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9156 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9167 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9168 if test -n "$aros_kernel_cxx"; then
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9170 $as_echo "$aros_kernel_cxx" >&6; }
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9173 $as_echo "no" >&6; }
9178 if test "$GCC" = "yes"; then
9179 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9180 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9181 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9183 $as_echo_n "checking for $ac_word... " >&6; }
9184 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9185 $as_echo_n "(cached) " >&6
9187 case $aros_kernel_cxx in
9189 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9193 for as_dir
in `dirname $aros_gcc_cxx`
9196 test -z "$as_dir" && as_dir
=.
9197 for ac_exec_ext
in '' $ac_executable_extensions; do
9198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9199 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9210 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9211 if test -n "$aros_kernel_cxx"; then
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9213 $as_echo "$aros_kernel_cxx" >&6; }
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9216 $as_echo "no" >&6; }
9221 if test "$aros_kernel_cxx" = ""; then
9222 # Extract the first word of "cxx", so it can be a program name with args.
9223 set dummy cxx
; ac_word
=$2
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9225 $as_echo_n "checking for $ac_word... " >&6; }
9226 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9227 $as_echo_n "(cached) " >&6
9229 case $aros_kernel_cxx in
9231 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9238 test -z "$as_dir" && as_dir
=.
9239 for ac_exec_ext
in '' $ac_executable_extensions; do
9240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9241 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9252 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9253 if test -n "$aros_kernel_cxx"; then
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9255 $as_echo "$aros_kernel_cxx" >&6; }
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9258 $as_echo "no" >&6; }
9265 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9266 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9268 $as_echo_n "checking for $ac_word... " >&6; }
9269 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9270 $as_echo_n "(cached) " >&6
9272 case $aros_kernel_cxx in
9274 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9281 test -z "$as_dir" && as_dir
=.
9282 for ac_exec_ext
in '' $ac_executable_extensions; do
9283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9284 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9295 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9296 if test -n "$aros_kernel_cxx"; then
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9298 $as_echo "$aros_kernel_cxx" >&6; }
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9301 $as_echo "no" >&6; }
9307 # If it's set, make sure it's really there
9308 if test "x$aros_kernel_cxx" != "x" ; then
9309 if test "$aros_kernel_cxx" = ""; then
9310 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9314 if test "$aros_kernel_ld" = ""; then
9315 if test "$cross_compiling" = "yes" ; then
9316 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9317 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9319 $as_echo_n "checking for $ac_word... " >&6; }
9320 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9321 $as_echo_n "(cached) " >&6
9323 case $aros_kernel_ld in
9325 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9332 test -z "$as_dir" && as_dir
=.
9333 for ac_exec_ext
in '' $ac_executable_extensions; do
9334 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9335 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9346 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9347 if test -n "$aros_kernel_ld"; then
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9349 $as_echo "$aros_kernel_ld" >&6; }
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9352 $as_echo "no" >&6; }
9357 if test "$GCC" = "yes"; then
9358 aros_gcc_ld
=`$CC -print-prog-name=ld`
9359 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9360 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9362 $as_echo_n "checking for $ac_word... " >&6; }
9363 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9364 $as_echo_n "(cached) " >&6
9366 case $aros_kernel_ld in
9368 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9372 for as_dir
in `dirname $aros_gcc_ld`
9375 test -z "$as_dir" && as_dir
=.
9376 for ac_exec_ext
in '' $ac_executable_extensions; do
9377 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9378 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9389 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9390 if test -n "$aros_kernel_ld"; then
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9392 $as_echo "$aros_kernel_ld" >&6; }
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9395 $as_echo "no" >&6; }
9400 if test "$aros_kernel_ld" = ""; then
9401 # Extract the first word of "ld", so it can be a program name with args.
9402 set dummy ld
; ac_word
=$2
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9404 $as_echo_n "checking for $ac_word... " >&6; }
9405 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9406 $as_echo_n "(cached) " >&6
9408 case $aros_kernel_ld in
9410 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9417 test -z "$as_dir" && as_dir
=.
9418 for ac_exec_ext
in '' $ac_executable_extensions; do
9419 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9420 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9431 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9432 if test -n "$aros_kernel_ld"; then
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9434 $as_echo "$aros_kernel_ld" >&6; }
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9437 $as_echo "no" >&6; }
9444 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9445 set dummy
$aros_kernel_ld; ac_word
=$2
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9447 $as_echo_n "checking for $ac_word... " >&6; }
9448 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9449 $as_echo_n "(cached) " >&6
9451 case $aros_kernel_ld in
9453 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9460 test -z "$as_dir" && as_dir
=.
9461 for ac_exec_ext
in '' $ac_executable_extensions; do
9462 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9463 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9474 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9475 if test -n "$aros_kernel_ld"; then
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9477 $as_echo "$aros_kernel_ld" >&6; }
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9480 $as_echo "no" >&6; }
9486 if test "$aros_kernel_ld" = ""; then
9487 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9490 if test "$aros_kernel_as" = ""; then
9491 if test "$cross_compiling" = "yes" ; then
9492 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9493 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9495 $as_echo_n "checking for $ac_word... " >&6; }
9496 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9497 $as_echo_n "(cached) " >&6
9499 case $aros_kernel_as in
9501 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9508 test -z "$as_dir" && as_dir
=.
9509 for ac_exec_ext
in '' $ac_executable_extensions; do
9510 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9511 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9522 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9523 if test -n "$aros_kernel_as"; then
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9525 $as_echo "$aros_kernel_as" >&6; }
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9528 $as_echo "no" >&6; }
9533 if test "$GCC" = "yes"; then
9534 aros_gcc_as
=`$CC -print-prog-name=as`
9535 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9536 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9538 $as_echo_n "checking for $ac_word... " >&6; }
9539 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9540 $as_echo_n "(cached) " >&6
9542 case $aros_kernel_as in
9544 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9548 for as_dir
in `dirname $aros_gcc_as`
9551 test -z "$as_dir" && as_dir
=.
9552 for ac_exec_ext
in '' $ac_executable_extensions; do
9553 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9554 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9565 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9566 if test -n "$aros_kernel_as"; then
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9568 $as_echo "$aros_kernel_as" >&6; }
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9571 $as_echo "no" >&6; }
9576 if test "$aros_kernel_as" = ""; then
9577 # Extract the first word of "as", so it can be a program name with args.
9578 set dummy as
; ac_word
=$2
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9580 $as_echo_n "checking for $ac_word... " >&6; }
9581 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9582 $as_echo_n "(cached) " >&6
9584 case $aros_kernel_as in
9586 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9593 test -z "$as_dir" && as_dir
=.
9594 for ac_exec_ext
in '' $ac_executable_extensions; do
9595 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9596 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9607 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9608 if test -n "$aros_kernel_as"; then
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9610 $as_echo "$aros_kernel_as" >&6; }
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9613 $as_echo "no" >&6; }
9620 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9621 set dummy
$aros_kernel_as; ac_word
=$2
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9623 $as_echo_n "checking for $ac_word... " >&6; }
9624 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9625 $as_echo_n "(cached) " >&6
9627 case $aros_kernel_as in
9629 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9636 test -z "$as_dir" && as_dir
=.
9637 for ac_exec_ext
in '' $ac_executable_extensions; do
9638 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9639 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9650 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9651 if test -n "$aros_kernel_as"; then
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9653 $as_echo "$aros_kernel_as" >&6; }
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9656 $as_echo "no" >&6; }
9662 if test "$aros_kernel_as" = ""; then
9663 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9666 if test "$aros_kernel_ar" = ""; then
9667 if test "$cross_compiling" = "yes" ; then
9668 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9669 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9671 $as_echo_n "checking for $ac_word... " >&6; }
9672 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9673 $as_echo_n "(cached) " >&6
9675 case $aros_kernel_ar in
9677 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9684 test -z "$as_dir" && as_dir
=.
9685 for ac_exec_ext
in '' $ac_executable_extensions; do
9686 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9687 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9698 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9699 if test -n "$aros_kernel_ar"; then
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9701 $as_echo "$aros_kernel_ar" >&6; }
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9704 $as_echo "no" >&6; }
9709 if test "$GCC" = "yes"; then
9710 aros_gcc_ar
=`$CC -print-prog-name=ar`
9711 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9712 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9714 $as_echo_n "checking for $ac_word... " >&6; }
9715 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9716 $as_echo_n "(cached) " >&6
9718 case $aros_kernel_ar in
9720 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9724 for as_dir
in `dirname $aros_gcc_ar`
9727 test -z "$as_dir" && as_dir
=.
9728 for ac_exec_ext
in '' $ac_executable_extensions; do
9729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9730 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9741 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9742 if test -n "$aros_kernel_ar"; then
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9744 $as_echo "$aros_kernel_ar" >&6; }
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9747 $as_echo "no" >&6; }
9752 if test "$aros_kernel_ar" = ""; then
9753 # Extract the first word of "ar", so it can be a program name with args.
9754 set dummy
ar; ac_word
=$2
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9756 $as_echo_n "checking for $ac_word... " >&6; }
9757 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9758 $as_echo_n "(cached) " >&6
9760 case $aros_kernel_ar in
9762 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9769 test -z "$as_dir" && as_dir
=.
9770 for ac_exec_ext
in '' $ac_executable_extensions; do
9771 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9772 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9783 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9784 if test -n "$aros_kernel_ar"; then
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9786 $as_echo "$aros_kernel_ar" >&6; }
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9789 $as_echo "no" >&6; }
9796 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9797 set dummy
$aros_kernel_ar; ac_word
=$2
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9799 $as_echo_n "checking for $ac_word... " >&6; }
9800 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9801 $as_echo_n "(cached) " >&6
9803 case $aros_kernel_ar in
9805 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9812 test -z "$as_dir" && as_dir
=.
9813 for ac_exec_ext
in '' $ac_executable_extensions; do
9814 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9815 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9826 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9827 if test -n "$aros_kernel_ar"; then
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9829 $as_echo "$aros_kernel_ar" >&6; }
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9832 $as_echo "no" >&6; }
9838 if test "$aros_kernel_ar" = ""; then
9839 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9842 if test "$aros_kernel_ranlib" = ""; then
9843 if test "$cross_compiling" = "yes" ; then
9844 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9845 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9847 $as_echo_n "checking for $ac_word... " >&6; }
9848 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9849 $as_echo_n "(cached) " >&6
9851 case $aros_kernel_ranlib in
9853 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9860 test -z "$as_dir" && as_dir
=.
9861 for ac_exec_ext
in '' $ac_executable_extensions; do
9862 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9863 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9874 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9875 if test -n "$aros_kernel_ranlib"; then
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9877 $as_echo "$aros_kernel_ranlib" >&6; }
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9880 $as_echo "no" >&6; }
9885 if test "$GCC" = "yes"; then
9886 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9887 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9888 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9890 $as_echo_n "checking for $ac_word... " >&6; }
9891 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9892 $as_echo_n "(cached) " >&6
9894 case $aros_kernel_ranlib in
9896 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9900 for as_dir
in `dirname $aros_gcc_ranlib`
9903 test -z "$as_dir" && as_dir
=.
9904 for ac_exec_ext
in '' $ac_executable_extensions; do
9905 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9906 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9917 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9918 if test -n "$aros_kernel_ranlib"; then
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9920 $as_echo "$aros_kernel_ranlib" >&6; }
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9923 $as_echo "no" >&6; }
9928 if test "$aros_kernel_ranlib" = ""; then
9929 # Extract the first word of "ranlib", so it can be a program name with args.
9930 set dummy ranlib
; ac_word
=$2
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9932 $as_echo_n "checking for $ac_word... " >&6; }
9933 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9934 $as_echo_n "(cached) " >&6
9936 case $aros_kernel_ranlib in
9938 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9945 test -z "$as_dir" && as_dir
=.
9946 for ac_exec_ext
in '' $ac_executable_extensions; do
9947 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9948 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9959 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9960 if test -n "$aros_kernel_ranlib"; then
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9962 $as_echo "$aros_kernel_ranlib" >&6; }
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9965 $as_echo "no" >&6; }
9972 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9973 set dummy
$aros_kernel_ranlib; ac_word
=$2
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9975 $as_echo_n "checking for $ac_word... " >&6; }
9976 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9977 $as_echo_n "(cached) " >&6
9979 case $aros_kernel_ranlib in
9981 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9988 test -z "$as_dir" && as_dir
=.
9989 for ac_exec_ext
in '' $ac_executable_extensions; do
9990 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9991 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10002 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10003 if test -n "$aros_kernel_ranlib"; then
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10005 $as_echo "$aros_kernel_ranlib" >&6; }
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10008 $as_echo "no" >&6; }
10014 if test "$aros_kernel_ranlib" = ""; then
10015 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10018 if test "$aros_kernel_nm" = ""; then
10019 if test "$cross_compiling" = "yes" ; then
10020 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10021 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10023 $as_echo_n "checking for $ac_word... " >&6; }
10024 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10025 $as_echo_n "(cached) " >&6
10027 case $aros_kernel_nm in
10029 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10033 for as_dir
in $PATH
10036 test -z "$as_dir" && as_dir
=.
10037 for ac_exec_ext
in '' $ac_executable_extensions; do
10038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10039 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10050 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10051 if test -n "$aros_kernel_nm"; then
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10053 $as_echo "$aros_kernel_nm" >&6; }
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10056 $as_echo "no" >&6; }
10061 if test "$GCC" = "yes"; then
10062 aros_gcc_nm
=`$CC -print-prog-name=nm`
10063 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10064 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10066 $as_echo_n "checking for $ac_word... " >&6; }
10067 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10068 $as_echo_n "(cached) " >&6
10070 case $aros_kernel_nm in
10072 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10076 for as_dir
in `dirname $aros_gcc_nm`
10079 test -z "$as_dir" && as_dir
=.
10080 for ac_exec_ext
in '' $ac_executable_extensions; do
10081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10082 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10093 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10094 if test -n "$aros_kernel_nm"; then
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10096 $as_echo "$aros_kernel_nm" >&6; }
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10099 $as_echo "no" >&6; }
10104 if test "$aros_kernel_nm" = ""; then
10105 # Extract the first word of "nm", so it can be a program name with args.
10106 set dummy nm
; ac_word
=$2
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10108 $as_echo_n "checking for $ac_word... " >&6; }
10109 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10110 $as_echo_n "(cached) " >&6
10112 case $aros_kernel_nm in
10114 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10118 for as_dir
in $PATH
10121 test -z "$as_dir" && as_dir
=.
10122 for ac_exec_ext
in '' $ac_executable_extensions; do
10123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10124 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10135 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10136 if test -n "$aros_kernel_nm"; then
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10138 $as_echo "$aros_kernel_nm" >&6; }
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10141 $as_echo "no" >&6; }
10148 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10149 set dummy
$aros_kernel_nm; ac_word
=$2
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10151 $as_echo_n "checking for $ac_word... " >&6; }
10152 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10153 $as_echo_n "(cached) " >&6
10155 case $aros_kernel_nm in
10157 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10161 for as_dir
in $PATH
10164 test -z "$as_dir" && as_dir
=.
10165 for ac_exec_ext
in '' $ac_executable_extensions; do
10166 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10167 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10178 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10179 if test -n "$aros_kernel_nm"; then
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10181 $as_echo "$aros_kernel_nm" >&6; }
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10184 $as_echo "no" >&6; }
10190 if test "$aros_kernel_nm" = ""; then
10191 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10194 if test "$aros_kernel_strip" = ""; then
10195 if test "$cross_compiling" = "yes" ; then
10196 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10197 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10199 $as_echo_n "checking for $ac_word... " >&6; }
10200 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10201 $as_echo_n "(cached) " >&6
10203 case $aros_kernel_strip in
10205 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10209 for as_dir
in $PATH
10212 test -z "$as_dir" && as_dir
=.
10213 for ac_exec_ext
in '' $ac_executable_extensions; do
10214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10215 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10226 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10227 if test -n "$aros_kernel_strip"; then
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10229 $as_echo "$aros_kernel_strip" >&6; }
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10232 $as_echo "no" >&6; }
10237 if test "$GCC" = "yes"; then
10238 aros_gcc_strip
=`$CC -print-prog-name=strip`
10239 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10240 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10242 $as_echo_n "checking for $ac_word... " >&6; }
10243 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10244 $as_echo_n "(cached) " >&6
10246 case $aros_kernel_strip in
10248 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10252 for as_dir
in `dirname $aros_gcc_strip`
10255 test -z "$as_dir" && as_dir
=.
10256 for ac_exec_ext
in '' $ac_executable_extensions; do
10257 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10258 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10269 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10270 if test -n "$aros_kernel_strip"; then
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10272 $as_echo "$aros_kernel_strip" >&6; }
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10275 $as_echo "no" >&6; }
10280 if test "$aros_kernel_strip" = ""; then
10281 # Extract the first word of "strip", so it can be a program name with args.
10282 set dummy strip
; ac_word
=$2
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10284 $as_echo_n "checking for $ac_word... " >&6; }
10285 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10286 $as_echo_n "(cached) " >&6
10288 case $aros_kernel_strip in
10290 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10294 for as_dir
in $PATH
10297 test -z "$as_dir" && as_dir
=.
10298 for ac_exec_ext
in '' $ac_executable_extensions; do
10299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10300 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10311 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10312 if test -n "$aros_kernel_strip"; then
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10314 $as_echo "$aros_kernel_strip" >&6; }
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10317 $as_echo "no" >&6; }
10324 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10325 set dummy
$aros_kernel_strip; ac_word
=$2
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10327 $as_echo_n "checking for $ac_word... " >&6; }
10328 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10329 $as_echo_n "(cached) " >&6
10331 case $aros_kernel_strip in
10333 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10337 for as_dir
in $PATH
10340 test -z "$as_dir" && as_dir
=.
10341 for ac_exec_ext
in '' $ac_executable_extensions; do
10342 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10343 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10354 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10355 if test -n "$aros_kernel_strip"; then
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10357 $as_echo "$aros_kernel_strip" >&6; }
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10360 $as_echo "no" >&6; }
10366 if test "$aros_kernel_strip" = ""; then
10367 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10370 # Objcopy and objdump are not required for the kernel
10371 # toolchain on many architectures.
10372 # So we'll look for them, but not make them strictly required.
10374 if test "$aros_kernel_objcopy" = ""; then
10375 if test "$cross_compiling" = "yes" ; then
10376 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10377 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10379 $as_echo_n "checking for $ac_word... " >&6; }
10380 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10381 $as_echo_n "(cached) " >&6
10383 case $aros_kernel_objcopy in
10385 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10389 for as_dir
in $PATH
10392 test -z "$as_dir" && as_dir
=.
10393 for ac_exec_ext
in '' $ac_executable_extensions; do
10394 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10395 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10406 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10407 if test -n "$aros_kernel_objcopy"; then
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10409 $as_echo "$aros_kernel_objcopy" >&6; }
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10412 $as_echo "no" >&6; }
10417 if test "$GCC" = "yes"; then
10418 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10419 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10420 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10422 $as_echo_n "checking for $ac_word... " >&6; }
10423 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10424 $as_echo_n "(cached) " >&6
10426 case $aros_kernel_objcopy in
10428 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10432 for as_dir
in `dirname $aros_gcc_objcopy`
10435 test -z "$as_dir" && as_dir
=.
10436 for ac_exec_ext
in '' $ac_executable_extensions; do
10437 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10438 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10449 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10450 if test -n "$aros_kernel_objcopy"; then
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10452 $as_echo "$aros_kernel_objcopy" >&6; }
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10455 $as_echo "no" >&6; }
10460 if test "$aros_kernel_objcopy" = ""; then
10461 # Extract the first word of "objcopy", so it can be a program name with args.
10462 set dummy objcopy
; ac_word
=$2
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10464 $as_echo_n "checking for $ac_word... " >&6; }
10465 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10466 $as_echo_n "(cached) " >&6
10468 case $aros_kernel_objcopy in
10470 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10474 for as_dir
in $PATH
10477 test -z "$as_dir" && as_dir
=.
10478 for ac_exec_ext
in '' $ac_executable_extensions; do
10479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10480 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10491 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10492 if test -n "$aros_kernel_objcopy"; then
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10494 $as_echo "$aros_kernel_objcopy" >&6; }
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10497 $as_echo "no" >&6; }
10504 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10505 set dummy
$aros_kernel_objcopy; ac_word
=$2
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10507 $as_echo_n "checking for $ac_word... " >&6; }
10508 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10509 $as_echo_n "(cached) " >&6
10511 case $aros_kernel_objcopy in
10513 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10517 for as_dir
in $PATH
10520 test -z "$as_dir" && as_dir
=.
10521 for ac_exec_ext
in '' $ac_executable_extensions; do
10522 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10523 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10534 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10535 if test -n "$aros_kernel_objcopy"; then
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10537 $as_echo "$aros_kernel_objcopy" >&6; }
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10540 $as_echo "no" >&6; }
10547 if test "$aros_kernel_objdump" = ""; then
10548 if test "$cross_compiling" = "yes" ; then
10549 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10550 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10552 $as_echo_n "checking for $ac_word... " >&6; }
10553 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10554 $as_echo_n "(cached) " >&6
10556 case $aros_kernel_objdump in
10558 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10562 for as_dir
in $PATH
10565 test -z "$as_dir" && as_dir
=.
10566 for ac_exec_ext
in '' $ac_executable_extensions; do
10567 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10568 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10579 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10580 if test -n "$aros_kernel_objdump"; then
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10582 $as_echo "$aros_kernel_objdump" >&6; }
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10585 $as_echo "no" >&6; }
10590 if test "$GCC" = "yes"; then
10591 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10592 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10593 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10595 $as_echo_n "checking for $ac_word... " >&6; }
10596 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10597 $as_echo_n "(cached) " >&6
10599 case $aros_kernel_objdump in
10601 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10605 for as_dir
in `dirname $aros_gcc_objdump`
10608 test -z "$as_dir" && as_dir
=.
10609 for ac_exec_ext
in '' $ac_executable_extensions; do
10610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10611 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10622 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10623 if test -n "$aros_kernel_objdump"; then
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10625 $as_echo "$aros_kernel_objdump" >&6; }
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10628 $as_echo "no" >&6; }
10633 if test "$aros_kernel_objdump" = ""; then
10634 # Extract the first word of "objdump", so it can be a program name with args.
10635 set dummy objdump
; ac_word
=$2
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10637 $as_echo_n "checking for $ac_word... " >&6; }
10638 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10639 $as_echo_n "(cached) " >&6
10641 case $aros_kernel_objdump in
10643 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10647 for as_dir
in $PATH
10650 test -z "$as_dir" && as_dir
=.
10651 for ac_exec_ext
in '' $ac_executable_extensions; do
10652 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10653 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10664 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10665 if test -n "$aros_kernel_objdump"; then
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10667 $as_echo "$aros_kernel_objdump" >&6; }
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10670 $as_echo "no" >&6; }
10677 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10678 set dummy
$aros_kernel_objdump; ac_word
=$2
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10680 $as_echo_n "checking for $ac_word... " >&6; }
10681 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10682 $as_echo_n "(cached) " >&6
10684 case $aros_kernel_objdump in
10686 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10690 for as_dir
in $PATH
10693 test -z "$as_dir" && as_dir
=.
10694 for ac_exec_ext
in '' $ac_executable_extensions; do
10695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10696 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10707 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10708 if test -n "$aros_kernel_objdump"; then
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10710 $as_echo "$aros_kernel_objdump" >&6; }
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10713 $as_echo "no" >&6; }
10719 if test "x${crosstools}" != "xyes" ; then
10720 if test "$aros_kernel_objcopy" = ""; then
10721 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10723 if test "$aros_kernel_objdump" = ""; then
10724 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10730 $as_echo_n "checking which target tools to use... " >&6; }
10731 if test "$crosstools" = "yes"; then
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10733 $as_echo "$target_tool_prefix" >&6; }
10734 # We are are building AROS crosstools
10735 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10736 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10737 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10738 orig_target_cpp
="${tmp_tool_prefix}cpp"
10739 orig_target_ld
="${tmp_tool_prefix}ld"
10740 orig_target_as
="${tmp_tool_prefix}as"
10741 orig_target_ar
="${tmp_tool_prefix}ar"
10742 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10743 orig_target_nm
="${tmp_tool_prefix}nm"
10744 orig_target_strip
="${tmp_tool_prefix}strip"
10745 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10746 orig_target_objdump
="${tmp_tool_prefix}objdump"
10748 # Determine whether AROS or ELF tools should be used
10749 if test "$aros_tool_prefix" = "none"; then
10750 aros_tool_prefix
="${elf_tool_prefix}"
10751 crosstools_cxx_target
=tools-crosstools
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10755 $as_echo "$aros_tool_prefix" >&6; }
10756 # We are *not* building AROS crosstools - use the AROS or ELF tools
10758 if test "${aros_tool_prefix}cpp" = ""; then
10759 if test "$cross_compiling" = "yes" ; then
10760 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10761 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10763 $as_echo_n "checking for $ac_word... " >&6; }
10764 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10765 $as_echo_n "(cached) " >&6
10767 case $orig_target_cpp in
10769 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10773 for as_dir
in $PATH
10776 test -z "$as_dir" && as_dir
=.
10777 for ac_exec_ext
in '' $ac_executable_extensions; do
10778 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10779 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10790 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10791 if test -n "$orig_target_cpp"; then
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10793 $as_echo "$orig_target_cpp" >&6; }
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10796 $as_echo "no" >&6; }
10801 if test "$GCC" = "yes"; then
10802 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10803 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10804 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10806 $as_echo_n "checking for $ac_word... " >&6; }
10807 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10808 $as_echo_n "(cached) " >&6
10810 case $orig_target_cpp in
10812 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10816 for as_dir
in `dirname $aros_gcc_cpp`
10819 test -z "$as_dir" && as_dir
=.
10820 for ac_exec_ext
in '' $ac_executable_extensions; do
10821 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10822 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10833 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10834 if test -n "$orig_target_cpp"; then
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10836 $as_echo "$orig_target_cpp" >&6; }
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10839 $as_echo "no" >&6; }
10844 if test "$orig_target_cpp" = ""; then
10845 # Extract the first word of "cpp", so it can be a program name with args.
10846 set dummy cpp
; ac_word
=$2
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10848 $as_echo_n "checking for $ac_word... " >&6; }
10849 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10850 $as_echo_n "(cached) " >&6
10852 case $orig_target_cpp in
10854 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10858 for as_dir
in $PATH
10861 test -z "$as_dir" && as_dir
=.
10862 for ac_exec_ext
in '' $ac_executable_extensions; do
10863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10864 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10875 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10876 if test -n "$orig_target_cpp"; then
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10878 $as_echo "$orig_target_cpp" >&6; }
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10881 $as_echo "no" >&6; }
10888 # Extract the first word of "${aros_tool_prefix}cpp", so it can be a program name with args.
10889 set dummy
${aros_tool_prefix}cpp
; ac_word
=$2
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10891 $as_echo_n "checking for $ac_word... " >&6; }
10892 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10893 $as_echo_n "(cached) " >&6
10895 case $orig_target_cpp in
10897 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10901 for as_dir
in $PATH
10904 test -z "$as_dir" && as_dir
=.
10905 for ac_exec_ext
in '' $ac_executable_extensions; do
10906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10907 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10918 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10919 if test -n "$orig_target_cpp"; then
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10921 $as_echo "$orig_target_cpp" >&6; }
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10924 $as_echo "no" >&6; }
10930 if test "$orig_target_cpp" = ""; then
10931 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10934 if test "${aros_tool_prefix}gcc" = ""; then
10935 if test "$cross_compiling" = "yes" ; then
10936 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10937 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10939 $as_echo_n "checking for $ac_word... " >&6; }
10940 if ${ac_cv_path_orig_target_cc+:} false
; then :
10941 $as_echo_n "(cached) " >&6
10943 case $orig_target_cc in
10945 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10949 for as_dir
in $PATH
10952 test -z "$as_dir" && as_dir
=.
10953 for ac_exec_ext
in '' $ac_executable_extensions; do
10954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10955 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10966 orig_target_cc
=$ac_cv_path_orig_target_cc
10967 if test -n "$orig_target_cc"; then
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10969 $as_echo "$orig_target_cc" >&6; }
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10972 $as_echo "no" >&6; }
10977 if test "$GCC" = "yes"; then
10978 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10979 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10980 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10982 $as_echo_n "checking for $ac_word... " >&6; }
10983 if ${ac_cv_path_orig_target_cc+:} false
; then :
10984 $as_echo_n "(cached) " >&6
10986 case $orig_target_cc in
10988 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10992 for as_dir
in `dirname $aros_gcc_gcc`
10995 test -z "$as_dir" && as_dir
=.
10996 for ac_exec_ext
in '' $ac_executable_extensions; do
10997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10998 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11009 orig_target_cc
=$ac_cv_path_orig_target_cc
11010 if test -n "$orig_target_cc"; then
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11012 $as_echo "$orig_target_cc" >&6; }
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11015 $as_echo "no" >&6; }
11020 if test "$orig_target_cc" = ""; then
11021 # Extract the first word of "gcc", so it can be a program name with args.
11022 set dummy gcc
; ac_word
=$2
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11024 $as_echo_n "checking for $ac_word... " >&6; }
11025 if ${ac_cv_path_orig_target_cc+:} false
; then :
11026 $as_echo_n "(cached) " >&6
11028 case $orig_target_cc in
11030 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11034 for as_dir
in $PATH
11037 test -z "$as_dir" && as_dir
=.
11038 for ac_exec_ext
in '' $ac_executable_extensions; do
11039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11040 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11051 orig_target_cc
=$ac_cv_path_orig_target_cc
11052 if test -n "$orig_target_cc"; then
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11054 $as_echo "$orig_target_cc" >&6; }
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11057 $as_echo "no" >&6; }
11064 # Extract the first word of "${aros_tool_prefix}gcc", so it can be a program name with args.
11065 set dummy
${aros_tool_prefix}gcc
; ac_word
=$2
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11067 $as_echo_n "checking for $ac_word... " >&6; }
11068 if ${ac_cv_path_orig_target_cc+:} false
; then :
11069 $as_echo_n "(cached) " >&6
11071 case $orig_target_cc in
11073 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11077 for as_dir
in $PATH
11080 test -z "$as_dir" && as_dir
=.
11081 for ac_exec_ext
in '' $ac_executable_extensions; do
11082 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11083 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11094 orig_target_cc
=$ac_cv_path_orig_target_cc
11095 if test -n "$orig_target_cc"; then
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11097 $as_echo "$orig_target_cc" >&6; }
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11100 $as_echo "no" >&6; }
11106 if test "$orig_target_cc" = ""; then
11107 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11109 if test "x${crosstools_cxx_target}" = "x" ; then
11111 if test "${aros_tool_prefix}g++" = ""; then
11112 if test "$cross_compiling" = "yes" ; then
11113 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11114 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11116 $as_echo_n "checking for $ac_word... " >&6; }
11117 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11118 $as_echo_n "(cached) " >&6
11120 case $orig_target_cxx in
11122 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11126 for as_dir
in $PATH
11129 test -z "$as_dir" && as_dir
=.
11130 for ac_exec_ext
in '' $ac_executable_extensions; do
11131 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11132 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11143 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11144 if test -n "$orig_target_cxx"; then
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11146 $as_echo "$orig_target_cxx" >&6; }
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11149 $as_echo "no" >&6; }
11154 if test "$GCC" = "yes"; then
11155 aros_gcc_g
++=`$CC -print-prog-name=g++`
11156 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11157 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11159 $as_echo_n "checking for $ac_word... " >&6; }
11160 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11161 $as_echo_n "(cached) " >&6
11163 case $orig_target_cxx in
11165 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11169 for as_dir
in `dirname $aros_gcc_g++`
11172 test -z "$as_dir" && as_dir
=.
11173 for ac_exec_ext
in '' $ac_executable_extensions; do
11174 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11175 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11186 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11187 if test -n "$orig_target_cxx"; then
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11189 $as_echo "$orig_target_cxx" >&6; }
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11192 $as_echo "no" >&6; }
11197 if test "$orig_target_cxx" = ""; then
11198 # Extract the first word of "g++", so it can be a program name with args.
11199 set dummy g
++; ac_word
=$2
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11201 $as_echo_n "checking for $ac_word... " >&6; }
11202 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11203 $as_echo_n "(cached) " >&6
11205 case $orig_target_cxx in
11207 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11211 for as_dir
in $PATH
11214 test -z "$as_dir" && as_dir
=.
11215 for ac_exec_ext
in '' $ac_executable_extensions; do
11216 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11217 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11228 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11229 if test -n "$orig_target_cxx"; then
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11231 $as_echo "$orig_target_cxx" >&6; }
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11234 $as_echo "no" >&6; }
11241 # Extract the first word of "${aros_tool_prefix}g++", so it can be a program name with args.
11242 set dummy
${aros_tool_prefix}g
++; ac_word
=$2
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11244 $as_echo_n "checking for $ac_word... " >&6; }
11245 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11246 $as_echo_n "(cached) " >&6
11248 case $orig_target_cxx in
11250 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11254 for as_dir
in $PATH
11257 test -z "$as_dir" && as_dir
=.
11258 for ac_exec_ext
in '' $ac_executable_extensions; do
11259 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11260 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11271 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11272 if test -n "$orig_target_cxx"; then
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11274 $as_echo "$orig_target_cxx" >&6; }
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11277 $as_echo "no" >&6; }
11283 if test "$orig_target_cxx" = ""; then
11284 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11288 if test "${aros_tool_prefix}ld" = ""; then
11289 if test "$cross_compiling" = "yes" ; then
11290 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11291 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11293 $as_echo_n "checking for $ac_word... " >&6; }
11294 if ${ac_cv_path_orig_target_ld+:} false
; then :
11295 $as_echo_n "(cached) " >&6
11297 case $orig_target_ld in
11299 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11303 for as_dir
in $PATH
11306 test -z "$as_dir" && as_dir
=.
11307 for ac_exec_ext
in '' $ac_executable_extensions; do
11308 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11309 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11320 orig_target_ld
=$ac_cv_path_orig_target_ld
11321 if test -n "$orig_target_ld"; then
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11323 $as_echo "$orig_target_ld" >&6; }
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11326 $as_echo "no" >&6; }
11331 if test "$GCC" = "yes"; then
11332 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11333 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11334 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11336 $as_echo_n "checking for $ac_word... " >&6; }
11337 if ${ac_cv_path_orig_target_ld+:} false
; then :
11338 $as_echo_n "(cached) " >&6
11340 case $orig_target_ld in
11342 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11346 for as_dir
in `dirname $aros_gcc_gcc`
11349 test -z "$as_dir" && as_dir
=.
11350 for ac_exec_ext
in '' $ac_executable_extensions; do
11351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11352 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11363 orig_target_ld
=$ac_cv_path_orig_target_ld
11364 if test -n "$orig_target_ld"; then
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11366 $as_echo "$orig_target_ld" >&6; }
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11369 $as_echo "no" >&6; }
11374 if test "$orig_target_ld" = ""; then
11375 # Extract the first word of "gcc", so it can be a program name with args.
11376 set dummy gcc
; ac_word
=$2
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11378 $as_echo_n "checking for $ac_word... " >&6; }
11379 if ${ac_cv_path_orig_target_ld+:} false
; then :
11380 $as_echo_n "(cached) " >&6
11382 case $orig_target_ld in
11384 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11388 for as_dir
in $PATH
11391 test -z "$as_dir" && as_dir
=.
11392 for ac_exec_ext
in '' $ac_executable_extensions; do
11393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11394 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11405 orig_target_ld
=$ac_cv_path_orig_target_ld
11406 if test -n "$orig_target_ld"; then
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11408 $as_echo "$orig_target_ld" >&6; }
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11411 $as_echo "no" >&6; }
11418 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11419 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11421 $as_echo_n "checking for $ac_word... " >&6; }
11422 if ${ac_cv_path_orig_target_ld+:} false
; then :
11423 $as_echo_n "(cached) " >&6
11425 case $orig_target_ld in
11427 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11431 for as_dir
in $PATH
11434 test -z "$as_dir" && as_dir
=.
11435 for ac_exec_ext
in '' $ac_executable_extensions; do
11436 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11437 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11448 orig_target_ld
=$ac_cv_path_orig_target_ld
11449 if test -n "$orig_target_ld"; then
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11451 $as_echo "$orig_target_ld" >&6; }
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11454 $as_echo "no" >&6; }
11460 if test "$orig_target_ld" = ""; then
11461 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11464 if test "${aros_tool_prefix}as" = ""; then
11465 if test "$cross_compiling" = "yes" ; then
11466 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11467 set dummy
${target_tool_prefix}as
; ac_word
=$2
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11469 $as_echo_n "checking for $ac_word... " >&6; }
11470 if ${ac_cv_path_orig_target_as+:} false
; then :
11471 $as_echo_n "(cached) " >&6
11473 case $orig_target_as in
11475 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11479 for as_dir
in $PATH
11482 test -z "$as_dir" && as_dir
=.
11483 for ac_exec_ext
in '' $ac_executable_extensions; do
11484 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11485 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11496 orig_target_as
=$ac_cv_path_orig_target_as
11497 if test -n "$orig_target_as"; then
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11499 $as_echo "$orig_target_as" >&6; }
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11502 $as_echo "no" >&6; }
11507 if test "$GCC" = "yes"; then
11508 aros_gcc_as
=`$CC -print-prog-name=as`
11509 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11510 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11512 $as_echo_n "checking for $ac_word... " >&6; }
11513 if ${ac_cv_path_orig_target_as+:} false
; then :
11514 $as_echo_n "(cached) " >&6
11516 case $orig_target_as in
11518 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11522 for as_dir
in `dirname $aros_gcc_as`
11525 test -z "$as_dir" && as_dir
=.
11526 for ac_exec_ext
in '' $ac_executable_extensions; do
11527 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11528 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11539 orig_target_as
=$ac_cv_path_orig_target_as
11540 if test -n "$orig_target_as"; then
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11542 $as_echo "$orig_target_as" >&6; }
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11545 $as_echo "no" >&6; }
11550 if test "$orig_target_as" = ""; then
11551 # Extract the first word of "as", so it can be a program name with args.
11552 set dummy as
; ac_word
=$2
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11554 $as_echo_n "checking for $ac_word... " >&6; }
11555 if ${ac_cv_path_orig_target_as+:} false
; then :
11556 $as_echo_n "(cached) " >&6
11558 case $orig_target_as in
11560 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11564 for as_dir
in $PATH
11567 test -z "$as_dir" && as_dir
=.
11568 for ac_exec_ext
in '' $ac_executable_extensions; do
11569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11570 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11581 orig_target_as
=$ac_cv_path_orig_target_as
11582 if test -n "$orig_target_as"; then
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11584 $as_echo "$orig_target_as" >&6; }
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11587 $as_echo "no" >&6; }
11594 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11595 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11597 $as_echo_n "checking for $ac_word... " >&6; }
11598 if ${ac_cv_path_orig_target_as+:} false
; then :
11599 $as_echo_n "(cached) " >&6
11601 case $orig_target_as in
11603 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11607 for as_dir
in $PATH
11610 test -z "$as_dir" && as_dir
=.
11611 for ac_exec_ext
in '' $ac_executable_extensions; do
11612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11613 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11624 orig_target_as
=$ac_cv_path_orig_target_as
11625 if test -n "$orig_target_as"; then
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11627 $as_echo "$orig_target_as" >&6; }
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11630 $as_echo "no" >&6; }
11636 if test "$orig_target_as" = ""; then
11637 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11640 if test "${aros_tool_prefix}ar" = ""; then
11641 if test "$cross_compiling" = "yes" ; then
11642 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11643 set dummy
${target_tool_prefix}ar; ac_word
=$2
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11645 $as_echo_n "checking for $ac_word... " >&6; }
11646 if ${ac_cv_path_orig_target_ar+:} false
; then :
11647 $as_echo_n "(cached) " >&6
11649 case $orig_target_ar in
11651 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11655 for as_dir
in $PATH
11658 test -z "$as_dir" && as_dir
=.
11659 for ac_exec_ext
in '' $ac_executable_extensions; do
11660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11661 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11672 orig_target_ar
=$ac_cv_path_orig_target_ar
11673 if test -n "$orig_target_ar"; then
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11675 $as_echo "$orig_target_ar" >&6; }
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11678 $as_echo "no" >&6; }
11683 if test "$GCC" = "yes"; then
11684 aros_gcc_ar
=`$CC -print-prog-name=ar`
11685 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11686 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11688 $as_echo_n "checking for $ac_word... " >&6; }
11689 if ${ac_cv_path_orig_target_ar+:} false
; then :
11690 $as_echo_n "(cached) " >&6
11692 case $orig_target_ar in
11694 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11698 for as_dir
in `dirname $aros_gcc_ar`
11701 test -z "$as_dir" && as_dir
=.
11702 for ac_exec_ext
in '' $ac_executable_extensions; do
11703 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11704 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11715 orig_target_ar
=$ac_cv_path_orig_target_ar
11716 if test -n "$orig_target_ar"; then
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11718 $as_echo "$orig_target_ar" >&6; }
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11721 $as_echo "no" >&6; }
11726 if test "$orig_target_ar" = ""; then
11727 # Extract the first word of "ar", so it can be a program name with args.
11728 set dummy
ar; ac_word
=$2
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11730 $as_echo_n "checking for $ac_word... " >&6; }
11731 if ${ac_cv_path_orig_target_ar+:} false
; then :
11732 $as_echo_n "(cached) " >&6
11734 case $orig_target_ar in
11736 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11740 for as_dir
in $PATH
11743 test -z "$as_dir" && as_dir
=.
11744 for ac_exec_ext
in '' $ac_executable_extensions; do
11745 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11746 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11757 orig_target_ar
=$ac_cv_path_orig_target_ar
11758 if test -n "$orig_target_ar"; then
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11760 $as_echo "$orig_target_ar" >&6; }
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11763 $as_echo "no" >&6; }
11770 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11771 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11773 $as_echo_n "checking for $ac_word... " >&6; }
11774 if ${ac_cv_path_orig_target_ar+:} false
; then :
11775 $as_echo_n "(cached) " >&6
11777 case $orig_target_ar in
11779 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11783 for as_dir
in $PATH
11786 test -z "$as_dir" && as_dir
=.
11787 for ac_exec_ext
in '' $ac_executable_extensions; do
11788 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11789 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11800 orig_target_ar
=$ac_cv_path_orig_target_ar
11801 if test -n "$orig_target_ar"; then
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11803 $as_echo "$orig_target_ar" >&6; }
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11806 $as_echo "no" >&6; }
11812 if test "$orig_target_ar" = ""; then
11813 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11816 if test "${aros_tool_prefix}ranlib" = ""; then
11817 if test "$cross_compiling" = "yes" ; then
11818 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11819 set dummy
${target_tool_prefix}ar; ac_word
=$2
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11821 $as_echo_n "checking for $ac_word... " >&6; }
11822 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11823 $as_echo_n "(cached) " >&6
11825 case $orig_target_ranlib in
11827 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11831 for as_dir
in $PATH
11834 test -z "$as_dir" && as_dir
=.
11835 for ac_exec_ext
in '' $ac_executable_extensions; do
11836 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11837 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11848 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11849 if test -n "$orig_target_ranlib"; then
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11851 $as_echo "$orig_target_ranlib" >&6; }
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11854 $as_echo "no" >&6; }
11859 if test "$GCC" = "yes"; then
11860 aros_gcc_ar
=`$CC -print-prog-name=ar`
11861 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11862 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11864 $as_echo_n "checking for $ac_word... " >&6; }
11865 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11866 $as_echo_n "(cached) " >&6
11868 case $orig_target_ranlib in
11870 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11874 for as_dir
in `dirname $aros_gcc_ar`
11877 test -z "$as_dir" && as_dir
=.
11878 for ac_exec_ext
in '' $ac_executable_extensions; do
11879 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11880 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11891 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11892 if test -n "$orig_target_ranlib"; then
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11894 $as_echo "$orig_target_ranlib" >&6; }
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11897 $as_echo "no" >&6; }
11902 if test "$orig_target_ranlib" = ""; then
11903 # Extract the first word of "ar", so it can be a program name with args.
11904 set dummy
ar; ac_word
=$2
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11906 $as_echo_n "checking for $ac_word... " >&6; }
11907 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11908 $as_echo_n "(cached) " >&6
11910 case $orig_target_ranlib in
11912 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11916 for as_dir
in $PATH
11919 test -z "$as_dir" && as_dir
=.
11920 for ac_exec_ext
in '' $ac_executable_extensions; do
11921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11922 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11933 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11934 if test -n "$orig_target_ranlib"; then
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11936 $as_echo "$orig_target_ranlib" >&6; }
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11939 $as_echo "no" >&6; }
11946 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11947 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11949 $as_echo_n "checking for $ac_word... " >&6; }
11950 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11951 $as_echo_n "(cached) " >&6
11953 case $orig_target_ranlib in
11955 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11959 for as_dir
in $PATH
11962 test -z "$as_dir" && as_dir
=.
11963 for ac_exec_ext
in '' $ac_executable_extensions; do
11964 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11965 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11976 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11977 if test -n "$orig_target_ranlib"; then
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11979 $as_echo "$orig_target_ranlib" >&6; }
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11982 $as_echo "no" >&6; }
11988 if test "$orig_target_ranlib" = ""; then
11989 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11992 if test "${aros_tool_prefix}nm" = ""; then
11993 if test "$cross_compiling" = "yes" ; then
11994 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
11995 set dummy
${target_tool_prefix}nm
; ac_word
=$2
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11997 $as_echo_n "checking for $ac_word... " >&6; }
11998 if ${ac_cv_path_orig_target_nm+:} false
; then :
11999 $as_echo_n "(cached) " >&6
12001 case $orig_target_nm in
12003 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12007 for as_dir
in $PATH
12010 test -z "$as_dir" && as_dir
=.
12011 for ac_exec_ext
in '' $ac_executable_extensions; do
12012 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12013 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12024 orig_target_nm
=$ac_cv_path_orig_target_nm
12025 if test -n "$orig_target_nm"; then
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12027 $as_echo "$orig_target_nm" >&6; }
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12030 $as_echo "no" >&6; }
12035 if test "$GCC" = "yes"; then
12036 aros_gcc_nm
=`$CC -print-prog-name=nm`
12037 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12038 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12040 $as_echo_n "checking for $ac_word... " >&6; }
12041 if ${ac_cv_path_orig_target_nm+:} false
; then :
12042 $as_echo_n "(cached) " >&6
12044 case $orig_target_nm in
12046 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12050 for as_dir
in `dirname $aros_gcc_nm`
12053 test -z "$as_dir" && as_dir
=.
12054 for ac_exec_ext
in '' $ac_executable_extensions; do
12055 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12056 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12067 orig_target_nm
=$ac_cv_path_orig_target_nm
12068 if test -n "$orig_target_nm"; then
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12070 $as_echo "$orig_target_nm" >&6; }
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12073 $as_echo "no" >&6; }
12078 if test "$orig_target_nm" = ""; then
12079 # Extract the first word of "nm", so it can be a program name with args.
12080 set dummy nm
; ac_word
=$2
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12082 $as_echo_n "checking for $ac_word... " >&6; }
12083 if ${ac_cv_path_orig_target_nm+:} false
; then :
12084 $as_echo_n "(cached) " >&6
12086 case $orig_target_nm in
12088 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12092 for as_dir
in $PATH
12095 test -z "$as_dir" && as_dir
=.
12096 for ac_exec_ext
in '' $ac_executable_extensions; do
12097 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12098 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12109 orig_target_nm
=$ac_cv_path_orig_target_nm
12110 if test -n "$orig_target_nm"; then
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12112 $as_echo "$orig_target_nm" >&6; }
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12115 $as_echo "no" >&6; }
12122 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12123 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12125 $as_echo_n "checking for $ac_word... " >&6; }
12126 if ${ac_cv_path_orig_target_nm+:} false
; then :
12127 $as_echo_n "(cached) " >&6
12129 case $orig_target_nm in
12131 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12135 for as_dir
in $PATH
12138 test -z "$as_dir" && as_dir
=.
12139 for ac_exec_ext
in '' $ac_executable_extensions; do
12140 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12141 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12152 orig_target_nm
=$ac_cv_path_orig_target_nm
12153 if test -n "$orig_target_nm"; then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12155 $as_echo "$orig_target_nm" >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158 $as_echo "no" >&6; }
12164 if test "$orig_target_nm" = ""; then
12165 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12168 if test "${aros_tool_prefix}strip" = ""; then
12169 if test "$cross_compiling" = "yes" ; then
12170 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12171 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12173 $as_echo_n "checking for $ac_word... " >&6; }
12174 if ${ac_cv_path_orig_target_strip+:} false
; then :
12175 $as_echo_n "(cached) " >&6
12177 case $orig_target_strip in
12179 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12183 for as_dir
in $PATH
12186 test -z "$as_dir" && as_dir
=.
12187 for ac_exec_ext
in '' $ac_executable_extensions; do
12188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12189 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12200 orig_target_strip
=$ac_cv_path_orig_target_strip
12201 if test -n "$orig_target_strip"; then
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12203 $as_echo "$orig_target_strip" >&6; }
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12206 $as_echo "no" >&6; }
12211 if test "$GCC" = "yes"; then
12212 aros_gcc_strip
=`$CC -print-prog-name=strip`
12213 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12214 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12216 $as_echo_n "checking for $ac_word... " >&6; }
12217 if ${ac_cv_path_orig_target_strip+:} false
; then :
12218 $as_echo_n "(cached) " >&6
12220 case $orig_target_strip in
12222 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12226 for as_dir
in `dirname $aros_gcc_strip`
12229 test -z "$as_dir" && as_dir
=.
12230 for ac_exec_ext
in '' $ac_executable_extensions; do
12231 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12232 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12243 orig_target_strip
=$ac_cv_path_orig_target_strip
12244 if test -n "$orig_target_strip"; then
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12246 $as_echo "$orig_target_strip" >&6; }
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12249 $as_echo "no" >&6; }
12254 if test "$orig_target_strip" = ""; then
12255 # Extract the first word of "strip", so it can be a program name with args.
12256 set dummy strip
; ac_word
=$2
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12258 $as_echo_n "checking for $ac_word... " >&6; }
12259 if ${ac_cv_path_orig_target_strip+:} false
; then :
12260 $as_echo_n "(cached) " >&6
12262 case $orig_target_strip in
12264 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12268 for as_dir
in $PATH
12271 test -z "$as_dir" && as_dir
=.
12272 for ac_exec_ext
in '' $ac_executable_extensions; do
12273 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12274 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12285 orig_target_strip
=$ac_cv_path_orig_target_strip
12286 if test -n "$orig_target_strip"; then
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12288 $as_echo "$orig_target_strip" >&6; }
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12291 $as_echo "no" >&6; }
12298 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12299 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12301 $as_echo_n "checking for $ac_word... " >&6; }
12302 if ${ac_cv_path_orig_target_strip+:} false
; then :
12303 $as_echo_n "(cached) " >&6
12305 case $orig_target_strip in
12307 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12311 for as_dir
in $PATH
12314 test -z "$as_dir" && as_dir
=.
12315 for ac_exec_ext
in '' $ac_executable_extensions; do
12316 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12317 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12328 orig_target_strip
=$ac_cv_path_orig_target_strip
12329 if test -n "$orig_target_strip"; then
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12331 $as_echo "$orig_target_strip" >&6; }
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12334 $as_echo "no" >&6; }
12340 if test "$orig_target_strip" = ""; then
12341 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12344 if test "${aros_tool_prefix}objcopy" = ""; then
12345 if test "$cross_compiling" = "yes" ; then
12346 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12347 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12349 $as_echo_n "checking for $ac_word... " >&6; }
12350 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12351 $as_echo_n "(cached) " >&6
12353 case $orig_target_objcopy in
12355 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12359 for as_dir
in $PATH
12362 test -z "$as_dir" && as_dir
=.
12363 for ac_exec_ext
in '' $ac_executable_extensions; do
12364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12365 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12376 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12377 if test -n "$orig_target_objcopy"; then
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12379 $as_echo "$orig_target_objcopy" >&6; }
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12382 $as_echo "no" >&6; }
12387 if test "$GCC" = "yes"; then
12388 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12389 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12390 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12392 $as_echo_n "checking for $ac_word... " >&6; }
12393 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12394 $as_echo_n "(cached) " >&6
12396 case $orig_target_objcopy in
12398 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12402 for as_dir
in `dirname $aros_gcc_objcopy`
12405 test -z "$as_dir" && as_dir
=.
12406 for ac_exec_ext
in '' $ac_executable_extensions; do
12407 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12408 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12419 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12420 if test -n "$orig_target_objcopy"; then
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12422 $as_echo "$orig_target_objcopy" >&6; }
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12425 $as_echo "no" >&6; }
12430 if test "$orig_target_objcopy" = ""; then
12431 # Extract the first word of "objcopy", so it can be a program name with args.
12432 set dummy objcopy
; ac_word
=$2
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12434 $as_echo_n "checking for $ac_word... " >&6; }
12435 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12436 $as_echo_n "(cached) " >&6
12438 case $orig_target_objcopy in
12440 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12444 for as_dir
in $PATH
12447 test -z "$as_dir" && as_dir
=.
12448 for ac_exec_ext
in '' $ac_executable_extensions; do
12449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12450 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12461 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12462 if test -n "$orig_target_objcopy"; then
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12464 $as_echo "$orig_target_objcopy" >&6; }
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12467 $as_echo "no" >&6; }
12474 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12475 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12477 $as_echo_n "checking for $ac_word... " >&6; }
12478 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12479 $as_echo_n "(cached) " >&6
12481 case $orig_target_objcopy in
12483 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12487 for as_dir
in $PATH
12490 test -z "$as_dir" && as_dir
=.
12491 for ac_exec_ext
in '' $ac_executable_extensions; do
12492 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12493 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12504 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12505 if test -n "$orig_target_objcopy"; then
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12507 $as_echo "$orig_target_objcopy" >&6; }
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12510 $as_echo "no" >&6; }
12516 if test "$orig_target_objcopy" = ""; then
12517 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12520 if test "${aros_tool_prefix}objdump" = ""; then
12521 if test "$cross_compiling" = "yes" ; then
12522 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12523 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12525 $as_echo_n "checking for $ac_word... " >&6; }
12526 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12527 $as_echo_n "(cached) " >&6
12529 case $orig_target_objdump in
12531 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12535 for as_dir
in $PATH
12538 test -z "$as_dir" && as_dir
=.
12539 for ac_exec_ext
in '' $ac_executable_extensions; do
12540 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12541 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12552 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12553 if test -n "$orig_target_objdump"; then
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12555 $as_echo "$orig_target_objdump" >&6; }
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12558 $as_echo "no" >&6; }
12563 if test "$GCC" = "yes"; then
12564 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12565 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12566 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12568 $as_echo_n "checking for $ac_word... " >&6; }
12569 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12570 $as_echo_n "(cached) " >&6
12572 case $orig_target_objdump in
12574 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12578 for as_dir
in `dirname $aros_gcc_objdump`
12581 test -z "$as_dir" && as_dir
=.
12582 for ac_exec_ext
in '' $ac_executable_extensions; do
12583 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12584 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12595 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12596 if test -n "$orig_target_objdump"; then
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12598 $as_echo "$orig_target_objdump" >&6; }
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12601 $as_echo "no" >&6; }
12606 if test "$orig_target_objdump" = ""; then
12607 # Extract the first word of "objdump", so it can be a program name with args.
12608 set dummy objdump
; ac_word
=$2
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12610 $as_echo_n "checking for $ac_word... " >&6; }
12611 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12612 $as_echo_n "(cached) " >&6
12614 case $orig_target_objdump in
12616 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12620 for as_dir
in $PATH
12623 test -z "$as_dir" && as_dir
=.
12624 for ac_exec_ext
in '' $ac_executable_extensions; do
12625 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12626 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12637 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12638 if test -n "$orig_target_objdump"; then
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12640 $as_echo "$orig_target_objdump" >&6; }
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12643 $as_echo "no" >&6; }
12650 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12651 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12653 $as_echo_n "checking for $ac_word... " >&6; }
12654 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12655 $as_echo_n "(cached) " >&6
12657 case $orig_target_objdump in
12659 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12663 for as_dir
in $PATH
12666 test -z "$as_dir" && as_dir
=.
12667 for ac_exec_ext
in '' $ac_executable_extensions; do
12668 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12669 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12680 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12681 if test -n "$orig_target_objdump"; then
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12683 $as_echo "$orig_target_objdump" >&6; }
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12686 $as_echo "no" >&6; }
12692 if test "$orig_target_objdump" = ""; then
12693 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12697 if test "$kernel_tool_prefix" = "none" ; then
12698 # No kernel tools specified
12699 # Assume target tools == kernel tools with ELF wrapper
12700 aros_kernel_cc
=$orig_target_cc
12701 aros_kernel_cxx
=$orig_target_cxx
12702 aros_kernel_cpp
=$orig_target_cpp
12703 aros_kernel_ld
=$orig_target_ld
12704 aros_kernel_as
=$orig_target_as
12705 aros_kernel_ar
=$orig_target_ar
12706 aros_kernel_ranlib
=$orig_target_ranlib
12707 aros_kernel_nm
=$orig_target_nm
12708 aros_kernel_strip
=$orig_target_strip
12709 aros_kernel_objcopy
=$orig_target_objcopy
12710 aros_kernel_objdump
=$orig_target_objdump
12711 use_kernel_cc_wrapper
=yes
12714 # At this point, all aros_kernel_* and aros_target_*
12715 # tools should be set up correctly
12717 CC
="$aros_kernel_cc $kernel_tool_flags"
12718 CPP
="$aros_kernel_cpp"
12720 #-----------------------------------------------------------------------------
12722 # Disable pointer-signedness warnings if the compiler recognises the option
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12725 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12726 save_cflags
="$CFLAGS"
12727 if test "$crosstools" != "yes" ; then
12728 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12740 if ac_fn_c_try_compile
"$LINENO"; then :
12741 use_no_sign_warning
="yes"
12743 use_no_sign_warning
="no"
12745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12747 # we do know it is supported for the smallest version of gcc we are going to build
12748 # we assume it's also supported by later versions
12749 use_no_sign_warning
=yes
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12752 $as_echo "$use_no_sign_warning" >&6; }
12753 if test "x-$use_no_sign_warning" = "x-yes" ; then
12754 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12756 CFLAGS
="$save_cflags"
12758 #-----------------------------------------------------------------------------
12760 # Find all the tools we need to compile. This could be cross-compiling
12761 # though! If that is the case we use the GNU form of the target and
12762 # simply add this to the front of the binary name. This is rather simple,
12763 # but it should work under most circumstances.
12765 # The default tools are to use the same as the host, but only if the
12766 # host and target CPU are the same. With GCC this is normally enough.
12770 aros_shared_ld
="$aros_host_ld"
12772 aros_target_mkdep
="$aros_host_mkdep"
12774 # The default tools executables to be linked to.
12775 if test "$rescomp" != ""; then
12776 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12777 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12779 $as_echo_n "checking for $ac_word... " >&6; }
12780 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12781 $as_echo_n "(cached) " >&6
12783 case $aros_kernel_rescomp in
12785 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12789 for as_dir
in $PATH
12792 test -z "$as_dir" && as_dir
=.
12793 for ac_exec_ext
in '' $ac_executable_extensions; do
12794 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12795 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12806 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12807 if test -n "$aros_kernel_rescomp"; then
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12809 $as_echo "$aros_kernel_rescomp" >&6; }
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12812 $as_echo "no" >&6; }
12816 if test "$aros_kernel_rescomp" = ""; then
12817 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12821 # Set up the sources for the symlink farm
12822 if test "$crosstools" = "yes"; then
12823 crosstools_target
=tools-crosstools
12826 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12827 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12830 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12831 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12832 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12833 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12834 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12835 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12836 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12838 # aros_cc_pre is a variable that is added to the front of the compiler name
12839 # in the generated aros-gcc shell script. We need this to enable the cache
12840 # to work across cleaned builds. Also, support DISTCC using the correct
12841 # environment variable.
12844 if test "x${DISTCC}" != "x" ; then
12845 if test "x${CCACHE}" != "x" ; then
12846 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12848 aros_cc_pre
="${DISTCC} "
12851 if test "x${CCACHE}" != "x" ; then
12852 aros_cc_pre
="${CCACHE} "
12856 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12858 aros_target_nostdinc_cflags
=-nostdinc
12860 aros_target_nostartup_ldflags
=-nostartfiles
12862 aros_target_nix_ldflags
=-nix
12864 aros_target_detach_ldflags
=-detach
12866 aros_target_nostdlib_ldflags
=-nostdlib
12870 if test "$crosstools" != "yes"; then
12871 if test "$GCC" = "yes"; then
12872 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12875 # We do not know which gcc version we are going to build and what we need to know
12876 # here is different for different versions so this will be set later during the
12877 # build of crosstools.
12878 aros_target_cc_path
=@aros_target_cc_path@
12880 aros_target_cpp
="${prefix}cpp"
12881 aros_target_cc
="${prefix}gcc"
12882 aros_target_cxx
="${prefix}g++"
12883 aros_target_as
="${prefix}as"
12884 aros_target_ld
="${prefix}ld"
12885 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12886 aros_target_objcopy
="${prefix}objcopy"
12887 aros_target_objdump
="${prefix}objdump"
12888 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12889 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12890 aros_target_strip
="${prefix}strip"
12891 aros_plain_nm
="${prefix}nm"
12892 aros_plain_ar
="${prefix}ar"
12894 # Check whether --enable-includes was given.
12895 if test "${enable_includes+set}" = set; then :
12896 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12898 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
12902 if test "$aros_kernel_includes" = ""; then
12903 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12904 aros_kernel_includes
="-isystem $aros_target_incl"
12908 if test "$aros_kernel_includes" != "" ; then
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12910 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12911 if test "$aros_kernel_cc_includes" = "" ; then
12912 # Try to guess where the directory is.
12913 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12914 if test -d $aros_kernel_cc_includes; then
12915 # Check if there is also an include-fixed directory and add it
12916 # to kernel compiler's include path as it may contain some of
12917 # the headers we need.
12918 if test -d "$aros_kernel_cc_includes"-fixed; then
12919 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12921 # Check for specific includes directory. Neede for Ubuntu 11.10
12922 if test -d "/usr/include/i386-linux-gnu"; then
12923 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12926 # The directory doesn't exist, we need to do some more work.
12927 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12929 # These are the headers we're looking for.
12930 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12931 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12935 for h
in $headers; do
12936 # Which other headers are needed by each of the above?
12937 deps
=$
(echo "#include <$h>" | \
12938 $aros_kernel_cc -E -M - 2>/dev
/null | \
12939 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12941 # Copy all the needed headers to a directory beneath gendir.
12944 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12945 sed -n "s,^.*/include\(/.*\),\1,p")
12946 ! test -d $dir && mkdir
-p $dir
12947 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12953 $as_echo "$aros_kernel_cc_includes" >&6; }
12954 # Adding -nostdinc to kernel includes as they are always used together.
12955 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12958 if test "$crosstools" != "yes"; then
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12960 $as_echo_n "checking for the target compiler's include path... " >&6; }
12961 if test "$aros_target_cc_includes" = "" ; then
12962 #try to guess where the directory is
12963 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12964 if ! test -d $aros_target_cc_includes; then
12965 #the directory doesn't exist, we need to do some more work
12966 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12968 #these are the headers we're looking for
12969 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12970 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12974 for h
in $headers; do
12975 #which other headers each of the above headers needs?
12976 deps
=$
(echo "#include <$h>" | \
12977 $orig_target_cc -E -M - 2>/dev
/null | \
12978 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12980 #copy all the needed headers to a directory beneath gendir
12983 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
12984 sed -n "s,^.*/include\(/.*\),\1,p")
12985 ! test -d $dir && mkdir
-p $dir
12986 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
12992 $as_echo "$aros_target_cc_includes" >&6; }
12994 # We do not know which gcc version we are going to build and what we need to know
12995 # here is different for different versions so this will be set later during the
12996 # build of crosstools.
12997 aros_target_cc_includes
=@aros_target_cc_includes@
13001 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13002 # On GCC >= 4.0 -iquote should be used
13006 save_cflags
="$CFLAGS"
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13009 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13010 if test "x-$crosstools" != "x-yes"; then
13011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13022 if ac_fn_c_try_compile
"$LINENO"; then :
13027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13029 # we do know it is supported for the smallest version of gcc we are going to build
13030 # we assume it's also supported by later versions
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13034 $as_echo "$has_iquote" >&6; }
13035 if test "x-$has_iquote" = "x-yes" ; then
13036 host_cflags_iquote
=-iquote
13037 host_cflags_iquote_end
=
13039 host_cflags_iquote
=-I
13040 host_cflags_iquote_end
=-I-
13042 kernel_cflags_iquote
=$host_cflags_iquote
13043 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13044 if test "x-$cross_compiling" = "x-yes"; then
13045 CC
="$aros_kernel_cc"
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13047 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13048 if test "x-$crosstools" != "x-yes"; then
13049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13050 /* end confdefs.h. */
13060 if ac_fn_c_try_compile
"$LINENO"; then :
13061 use_no_stack_protector
="yes"
13063 use_no_stack_protector
="no"
13065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13067 # we do know it is supported for the smallest version of gcc we are going to build
13068 # we assume it's also supported by later versions
13069 use_no_stack_protector
=yes
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13072 $as_echo "$use_no_stack_protector" >&6; }
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13074 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13075 if test "x-$crosstools" != "x-yes"; then
13076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13077 /* end confdefs.h. */
13087 if ac_fn_c_try_compile
"$LINENO"; then :
13092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13094 # we do know it is supported for the smallest version of gcc we are going to build
13095 # we assume it's also supported by later versions
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13099 $as_echo "$has_iquote" >&6; }
13100 if test "x-$has_iquote" = "x-yes" ; then
13101 kernel_cflags_iquote
=-iquote
13102 kernel_cflags_iquote_end
=
13104 kernel_cflags_iquote
=-I
13105 kernel_cflags_iquote_end
=-I-
13108 aros_cflags_iquote
=$kernel_cflags_iquote
13109 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13110 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13111 CC
="$orig_target_cc"
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13113 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13114 if test "x-$crosstools" != "x-yes"; then
13115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13116 /* end confdefs.h. */
13126 if ac_fn_c_try_compile
"$LINENO"; then :
13131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13133 # we do know it is supported for the smallest version of gcc we are going to build
13134 # we assume it's also supported by later versions
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13138 $as_echo "$has_iquote" >&6; }
13139 if test "x-$has_iquote" = "x-yes" ; then
13140 aros_cflags_iquote
=-iquote
13141 aros_cflags_iquote_end
=
13143 aros_cflags_iquote
=-I
13144 aros_cflags_iquote_end
=-I-
13147 if test "x-$use_no_stack_protector" = "x-yes" ; then
13148 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13152 #-----------------------------------------------------------------------------
13154 # Check if the target compiler supports some options used for delinting:
13155 # -Wunused-but-set-variable
13158 # -Wstrict-overflow
13159 # -Wformat-security
13161 if test "x-$crosstools" != "x-yes"; then
13162 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13163 CC
="$orig_target_cc"
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13166 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13167 CFLAGS
=-Wunused-but-set-variable
13168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13169 /* end confdefs.h. */
13179 if ac_fn_c_try_compile
"$LINENO"; then :
13180 aros_unused_but_set_variable
="yes"
13182 aros_unused_but_set_variable
="no"
13184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13186 $as_echo "$aros_unused_but_set_variable" >&6; }
13187 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13188 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13192 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13193 CFLAGS
=-Warray-bounds
13194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13195 /* end confdefs.h. */
13205 if ac_fn_c_try_compile
"$LINENO"; then :
13206 aros_array_bounds
="yes"
13208 aros_array_bounds
="no"
13210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13212 $as_echo "$aros_array_bounds" >&6; }
13213 if test "x-$aros_array_bounds" = "x-yes" ; then
13214 aros_cflags_array_bounds
=-Wno-array-bounds
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13218 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13219 CFLAGS
=-Wenum-compare
13220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13221 /* end confdefs.h. */
13231 if ac_fn_c_try_compile
"$LINENO"; then :
13232 aros_enum_compare
="yes"
13234 aros_enum_compare
="no"
13236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13238 $as_echo "$aros_enum_compare" >&6; }
13239 if test "x-$aros_enum_compare" = "x-yes" ; then
13240 aros_cflags_enum_compare
=-Wno-enum-compare
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13244 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13245 CFLAGS
=-Wstrict-overflow
13246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13247 /* end confdefs.h. */
13257 if ac_fn_c_try_compile
"$LINENO"; then :
13258 aros_strict_overflow
="yes"
13260 aros_strict_overflow
="no"
13262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13264 $as_echo "$aros_strict_overflow" >&6; }
13265 if test "x-$aros_strict_overflow" = "x-yes" ; then
13266 aros_cflags_strict_overflow
=-Wno-strict-overflow
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13270 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13271 CFLAGS
=-Wformat-security
13272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13273 /* end confdefs.h. */
13283 if ac_fn_c_try_compile
"$LINENO"; then :
13284 aros_format_security
="yes"
13286 aros_format_security
="no"
13288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13290 $as_echo "$aros_format_security" >&6; }
13291 if test "x-$aros_format_security" = "x-yes" ; then
13292 aros_cflags_format_security
=-Wno-format-security
13295 # We do not know which gcc version we are going to build and what we need to know
13296 # here is different for different versions so this will be set later during the
13297 # build of crosstools.
13298 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13299 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13300 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13301 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13302 aros_cflags_format_security
=@aros_cflags_format_security@
13305 #-----------------------------------------------------------------------------
13307 # Check if we can explicitly choose older version of symbol hashing
13309 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13310 CC
="$aros_kernel_cc"
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13312 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13314 /* end confdefs.h. */
13324 if ac_fn_c_try_link
"$LINENO"; then :
13325 use_hash_style
="yes"
13327 use_hash_style
="no"
13329 rm -f core conftest.err conftest.
$ac_objext \
13330 conftest
$ac_exeext conftest.
$ac_ext
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13332 $as_echo "$use_hash_style" >&6; }
13333 if test "x-$use_hash_style" = "x-yes" ; then
13334 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13337 CFLAGS
="$save_cflags"
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13348 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13350 # Check whether --with-resolution was given.
13351 if test "${with_resolution+set}" = set; then :
13352 withval
=$with_resolution; resolution
=$withval
13357 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13358 if test "$resolution" = "yes" ; then
13361 if test "$resolution" = "no" ; then
13364 if test "$resolution" != "none" ; then
13365 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13366 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13367 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13370 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13371 aros_cv_default_wbwidth
=$aros_default_wbwidth
13372 aros_cv_default_wbheight
=$aros_default_wbheight
13373 aros_cv_default_wbdepth
=$aros_default_wbdepth
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13376 $as_echo_n "checking if serial debug is enabled... " >&6; }
13378 # Check whether --with-serial-debug was given.
13379 if test "${with_serial_debug+set}" = set; then :
13380 withval
=$with_serial_debug; serial_debug
=$withval
13385 if test "$aros_serial_debug" = 0 ; then
13386 serial_debug_forced
=""
13387 if test "$serial_debug" = "yes" ; then
13390 if test "$serial_debug" = "no" ; then
13391 serial_debug
="none"
13394 serial_debug_forced
="(forced)"
13395 serial_debug
=$aros_serial_debug
13397 if test "$serial_debug" != "none" ; then
13398 aros_serial_debug
=$serial_debug
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13400 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13403 $as_echo "no" >&6; }
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13407 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13408 # Check whether --enable-palm_debug_hack was given.
13409 if test "${enable_palm_debug_hack+set}" = set; then :
13410 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13412 palm_debug_hack
="no"
13415 if test "$palm_debug_hack" = "yes" ; then
13416 aros_palm_debug_hack
="1"
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13419 $as_echo "$palm_debug_hack" >&6; }
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13422 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13423 # Check whether --enable-nesting_supervisor was given.
13424 if test "${enable_nesting_supervisor+set}" = set; then :
13425 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13427 nesting_supervisor
="no"
13430 if test "$nesting_supervisor" = "yes" ; then
13431 aros_nesting_supervisor
="1"
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13434 $as_echo "$nesting_supervisor" >&6; }
13436 if test "$aros_enable_mmu" = "" ; then
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13438 $as_echo_n "checking if MMU support is enabled... " >&6; }
13439 # Check whether --enable-mmu was given.
13440 if test "${enable_mmu+set}" = set; then :
13441 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13443 aros_enable_mmu
="yes"
13446 if test "$aros_enable_mmu" = "" ; then
13447 aros_enable_mmu
="yes"
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13450 $as_echo "$aros_enable_mmu" >&6; }
13452 if test "$aros_enable_mmu" = "no" ; then
13453 aros_enable_mmu
="0"
13455 aros_enable_mmu
="1"
13459 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13461 if test "x-$need_dlopen" != "x-no" ; then
13464 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13465 if test "x$ac_cv_func_dlopen" = xyes
; then :
13471 if test "x-$have_dl" = "x-no" ; then
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13473 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13474 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13475 $as_echo_n "(cached) " >&6
13477 ac_check_lib_save_LIBS
=$LIBS
13479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13480 /* end confdefs.h. */
13482 /* Override any GCC internal prototype to avoid an error.
13483 Use char because int might match the return type of a GCC
13484 builtin and then its argument prototype would still apply. */
13497 if ac_fn_c_try_link
"$LINENO"; then :
13498 ac_cv_lib_dl_dlopen
=yes
13500 ac_cv_lib_dl_dlopen
=no
13502 rm -f core conftest.err conftest.
$ac_objext \
13503 conftest
$ac_exeext conftest.
$ac_ext
13504 LIBS
=$ac_check_lib_save_LIBS
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13507 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13508 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13510 aros_host_ldflags
="$aros_host_ldflags -ldl"
13516 if test "x-$have_dl" = "x-no" ; then
13517 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13523 # Check whether --enable-x11_hidd was given.
13524 if test "${enable_x11_hidd+set}" = set; then :
13525 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13527 x11_hidd
="$need_x11"
13530 case "x-$x11_hidd" in
13531 x-yes|x-no|x-auto
) ;;
13532 *) x11_hidd
="$need_x11" ;;
13537 if test "x-$x11_hidd" != "x-no" ; then
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13540 $as_echo_n "checking for X... " >&6; }
13543 # Check whether --with-x was given.
13544 if test "${with_x+set}" = set; then :
13548 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13549 if test "x$with_x" = xno
; then
13550 # The user explicitly disabled X.
13553 case $x_includes,$x_libraries in #(
13554 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13555 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13556 $as_echo_n "(cached) " >&6
13558 # One or both of the vars are not set, and there is no cached value.
13559 ac_x_includes
=no ac_x_libraries
=no
13560 rm -f -r conftest.dir
13561 if mkdir conftest.dir
; then
13563 cat >Imakefile
<<'_ACEOF'
13565 @echo incroot='${INCROOT}'
13567 @echo usrlibdir='${USRLIBDIR}'
13569 @echo libdir='${LIBDIR}'
13571 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13572 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13573 for ac_var
in incroot usrlibdir libdir
; do
13574 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13576 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13577 for ac_extension
in a so sl dylib la dll
; do
13578 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13579 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13580 ac_im_usrlibdir
=$ac_im_libdir; break
13583 # Screen out bogus values from the imake configuration. They are
13584 # bogus both because they are the default anyway, and because
13585 # using them would break gcc on systems where it needs fixed includes.
13586 case $ac_im_incroot in
13587 /usr
/include
) ac_x_includes
= ;;
13588 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13590 case $ac_im_usrlibdir in
13591 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13592 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13596 rm -f -r conftest.dir
13599 # Standard set of common directories for X headers.
13600 # Check X11 before X11Rn because it is often a symlink to the current release.
13614 /usr/local/X11/include
13615 /usr/local/X11R7/include
13616 /usr/local/X11R6/include
13617 /usr/local/X11R5/include
13618 /usr/local/X11R4/include
13620 /usr/local/include/X11
13621 /usr/local/include/X11R7
13622 /usr/local/include/X11R6
13623 /usr/local/include/X11R5
13624 /usr/local/include/X11R4
13628 /usr/XFree86/include/X11
13632 /usr/unsupported/include
13633 /usr/athena/include
13634 /usr/local/x11r5/include
13635 /usr/lpp/Xamples/include
13637 /usr/openwin/include
13638 /usr/openwin/share/include'
13640 if test "$ac_x_includes" = no
; then
13641 # Guess where to find include files, by looking for Xlib.h.
13642 # First, try using that file with no special directory specified.
13643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13645 #include <X11/Xlib.h>
13647 if ac_fn_c_try_cpp
"$LINENO"; then :
13648 # We can compile using X headers with no special include directory.
13651 for ac_dir
in $ac_x_header_dirs; do
13652 if test -r "$ac_dir/X11/Xlib.h"; then
13653 ac_x_includes
=$ac_dir
13658 rm -f conftest.err conftest.i conftest.
$ac_ext
13659 fi # $ac_x_includes = no
13661 if test "$ac_x_libraries" = no
; then
13662 # Check for the libraries.
13663 # See if we find them without any special options.
13664 # Don't add to $LIBS permanently.
13667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13668 /* end confdefs.h. */
13669 #include <X11/Xlib.h>
13678 if ac_fn_c_try_link
"$LINENO"; then :
13680 # We can link X programs with no special library path.
13684 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13686 # Don't even attempt the hair of trying to link an X program!
13687 for ac_extension
in a so sl dylib la dll
; do
13688 if test -r "$ac_dir/libX11.$ac_extension"; then
13689 ac_x_libraries
=$ac_dir
13695 rm -f core conftest.err conftest.
$ac_objext \
13696 conftest
$ac_exeext conftest.
$ac_ext
13697 fi # $ac_x_libraries = no
13699 case $ac_x_includes,$ac_x_libraries in #(
13700 no
,* |
*,no |
*\'*)
13701 # Didn't find X, or a directory has "'" in its name.
13702 ac_cv_have_x
="have_x=no";; #(
13704 # Record where we found X for the cache.
13705 ac_cv_have_x
="have_x=yes\
13706 ac_x_includes='$ac_x_includes'\
13707 ac_x_libraries='$ac_x_libraries'"
13713 eval "$ac_cv_have_x"
13716 if test "$have_x" != yes; then
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13718 $as_echo "$have_x" >&6; }
13721 # If each of the values was on the command line, it overrides each guess.
13722 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13723 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13724 # Update the cache value to reflect the command line values.
13725 ac_cv_have_x
="have_x=yes\
13726 ac_x_includes='$x_includes'\
13727 ac_x_libraries='$x_libraries'"
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13729 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13734 for path
in $x_libraries
13736 x_cflags
="$x_cflags -L$path"
13739 for path
in $x_includes
13741 x_cflags
="$x_cflags -I$path"
13744 if test "x-$no_x" = "x-yes" ; then
13746 if test "x-$x11_hidd" != "x-auto" ; then
13747 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13751 x11_hidd_target
=kernel-x11gfx-kobj
13754 # Check whether --enable-x11_shm was given.
13755 if test "${enable_x11_shm+set}" = set; then :
13756 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13758 x11_hidd_shm
="auto"
13761 case "x-$x11_hidd_shm" in
13762 x-yes|x-no|x-auto
) ;;
13763 *) x11_hidd_shm
="auto" ;;
13768 if test "x-$x11_hidd_shm" != "x-no" ; then
13770 for ac_header
in sys
/ipc.h
13772 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13773 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13774 cat >>confdefs.h
<<_ACEOF
13775 #define HAVE_SYS_IPC_H 1
13782 for ac_header
in sys
/shm.h
13784 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13785 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13786 cat >>confdefs.h
<<_ACEOF
13787 #define HAVE_SYS_SHM_H 1
13795 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13797 save_cflags
="$CFLAGS"
13798 CFLAGS
="$CFLAGS $x_cflags"
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13800 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13801 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13802 $as_echo_n "(cached) " >&6
13804 ac_check_lib_save_LIBS
=$LIBS
13805 LIBS
="-lXext $LIBS"
13806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13807 /* end confdefs.h. */
13809 /* Override any GCC internal prototype to avoid an error.
13810 Use char because int might match the return type of a GCC
13811 builtin and then its argument prototype would still apply. */
13815 char XShmQueryExtension ();
13819 return XShmQueryExtension ();
13824 if ac_fn_c_try_link
"$LINENO"; then :
13825 ac_cv_lib_Xext_XShmQueryExtension
=yes
13827 ac_cv_lib_Xext_XShmQueryExtension
=no
13829 rm -f core conftest.err conftest.
$ac_objext \
13830 conftest
$ac_exeext conftest.
$ac_ext
13831 LIBS
=$ac_check_lib_save_LIBS
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13834 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13835 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13839 CFLAGS
="$save_cflags"
13843 if test "x-$have_xshm" = "x-yes" ; then
13844 DO_XSHM_SUPPORT
="1"
13845 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13846 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13848 DO_XSHM_SUPPORT
="0"
13852 # Check whether --enable-x11_vidmode was given.
13853 if test "${enable_x11_vidmode+set}" = set; then :
13854 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13856 x11_hidd_vidmode
="auto"
13859 case "x-$x11_hidd_vidmode" in
13860 x-yes|x-no|x-auto
) ;;
13861 *) x11_hidd_vidmode
="auto" ;;
13866 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13868 save_cflags
="$CFLAGS"
13869 CFLAGS
="$CFLAGS $x_cflags"
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13871 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13872 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13873 $as_echo_n "(cached) " >&6
13875 ac_check_lib_save_LIBS
=$LIBS
13876 LIBS
="-lXxf86vm $LIBS"
13877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13878 /* end confdefs.h. */
13880 /* Override any GCC internal prototype to avoid an error.
13881 Use char because int might match the return type of a GCC
13882 builtin and then its argument prototype would still apply. */
13886 char XF86VidModeQueryExtension ();
13890 return XF86VidModeQueryExtension ();
13895 if ac_fn_c_try_link
"$LINENO"; then :
13896 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13898 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13900 rm -f core conftest.err conftest.
$ac_objext \
13901 conftest
$ac_exeext conftest.
$ac_ext
13902 LIBS
=$ac_check_lib_save_LIBS
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13905 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13906 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13910 CFLAGS
="$save_cflags"
13913 if test "x-$have_vidmode" = "x-yes" ; then
13914 DO_VIDMODE_SUPPORT
="1"
13915 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13916 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13918 DO_VIDMODE_SUPPORT
="0"
13922 aros_host_x11_includes
=$x_includes
13923 aros_host_x11_libdirs
=$x_libraries
13927 # Check whether --enable-sdl_hidd was given.
13928 if test "${enable_sdl_hidd+set}" = set; then :
13929 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13934 case "x-$sdl_hidd" in
13935 x-yes|x-no|x-auto
) ;;
13936 *) sdl_hidd
="auto" ;;
13939 if test "x-$sdl_hidd" != "x-no" ; then
13942 # Check whether --with-sdl-prefix was given.
13943 if test "${with_sdl_prefix+set}" = set; then :
13944 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13950 # Check whether --with-sdl-exec-prefix was given.
13951 if test "${with_sdl_exec_prefix+set}" = set; then :
13952 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13957 # Check whether --enable-sdltest was given.
13958 if test "${enable_sdltest+set}" = set; then :
13959 enableval
=$enable_sdltest;
13965 if test x
$sdl_exec_prefix != x
; then
13966 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
13967 if test x
${SDL_CONFIG+set} != xset
; then
13968 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
13971 if test x
$sdl_prefix != x
; then
13972 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
13973 if test x
${SDL_CONFIG+set} != xset
; then
13974 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
13978 as_save_PATH
="$PATH"
13979 if test "x$prefix" != xNONE
; then
13980 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
13982 # Extract the first word of "sdl-config", so it can be a program name with args.
13983 set dummy sdl-config
; ac_word
=$2
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13985 $as_echo_n "checking for $ac_word... " >&6; }
13986 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
13987 $as_echo_n "(cached) " >&6
13989 case $SDL_CONFIG in
13991 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
13994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13995 for as_dir
in $PATH
13998 test -z "$as_dir" && as_dir
=.
13999 for ac_exec_ext
in '' $ac_executable_extensions; do
14000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14001 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14009 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14013 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14014 if test -n "$SDL_CONFIG"; then
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14016 $as_echo "$SDL_CONFIG" >&6; }
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14019 $as_echo "no" >&6; }
14023 PATH
="$as_save_PATH"
14024 min_sdl_version
=1.2.10
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14026 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14028 if test "$SDL_CONFIG" = "no" ; then
14031 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14032 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14034 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14036 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14038 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14040 if test "x$enable_sdltest" = "xyes" ; then
14041 ac_save_CFLAGS
="$CFLAGS"
14042 ac_save_CXXFLAGS
="$CXXFLAGS"
14043 ac_save_LIBS
="$LIBS"
14044 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14045 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14046 LIBS
="$LIBS $SDL_LIBS"
14048 if test "$cross_compiling" = yes; then :
14049 echo $ac_n "cross compiling; assumed OK... $ac_c"
14051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14052 /* end confdefs.h. */
14055 #include <stdlib.h>
14056 #include <string.h>
14060 my_strdup (char *str)
14066 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14067 strcpy (new_str, str);
14075 int main (int argc, char *argv[])
14077 int major, minor, micro;
14080 /* This hangs on some systems (?)
14081 system ("touch conf.sdltest");
14083 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14085 /* HP/UX 9 (%@#!) writes to sscanf strings */
14086 tmp_version = my_strdup("$min_sdl_version");
14087 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14088 printf("%s, bad version string\n", "$min_sdl_version");
14092 if (($sdl_major_version > major) ||
14093 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14094 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14100 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14101 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14102 printf("*** best to upgrade to the required version.\n");
14103 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14104 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14105 printf("*** config.cache before re-running configure\n");
14112 if ac_fn_c_try_run
"$LINENO"; then :
14117 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14118 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14121 CFLAGS
="$ac_save_CFLAGS"
14122 CXXFLAGS
="$ac_save_CXXFLAGS"
14123 LIBS
="$ac_save_LIBS"
14126 if test "x$no_sdl" = x
; then
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14128 $as_echo "yes" >&6; }
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14132 $as_echo "no" >&6; }
14133 if test "$SDL_CONFIG" = "no" ; then
14134 echo "*** The sdl-config script installed by SDL could not be found"
14135 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14136 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14137 echo "*** full path to sdl-config."
14139 if test -f conf.sdltest
; then
14142 echo "*** Could not run SDL test program, checking why..."
14143 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14144 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14145 LIBS
="$LIBS $SDL_LIBS"
14146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14147 /* end confdefs.h. */
14152 int main(int argc, char *argv[])
14155 #define main K_and_R_C_main
14165 if ac_fn_c_try_link
"$LINENO"; then :
14166 echo "*** The test program compiled, but did not run. This usually means"
14167 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14168 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14169 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14170 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14171 echo "*** is required on your system"
14173 echo "*** If you have an old version installed, it is best to remove it, although"
14174 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14176 echo "*** The test program failed to compile or link. See the file config.log for the"
14177 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14178 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14179 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14181 rm -f core conftest.err conftest.
$ac_objext \
14182 conftest
$ac_exeext conftest.
$ac_ext
14183 CFLAGS
="$ac_save_CFLAGS"
14184 CXXFLAGS
="$ac_save_CXXFLAGS"
14185 LIBS
="$ac_save_LIBS"
14197 if test "x-$have_sdl" != "x-yes" ; then
14199 if test "x-$sdl_hidd" != "x-auto" ; then
14200 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14204 sdl_hidd_target
=kernel-hidd-sdl
14205 aros_host_sdl_cflags
=SDL_CFLAGS
14206 aros_host_sdl_libs
=SDL_LIBS
14210 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14211 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14216 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14217 oss_library_target
=workbench-libs-oss-unix
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14223 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14224 # Check whether --enable-dbus was given.
14225 if test "${enable_dbus+set}" = set; then :
14226 enableval
=$enable_dbus; dbus
="yes"
14231 if test "$dbus" = "yes" ; then
14233 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14234 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14235 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14236 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14241 $as_echo "$dbus" >&6; }
14243 if test "$use_kernel_cc_wrapper" = "yes" ; then
14244 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14247 if test "${crosstools}" != "yes" ; then
14248 aros_target_toolchain
=no
14250 aros_target_toolchain
=yes
14266 # Compatability with other Amiga-like operation systems
14361 # Delinting target compiler flags
14385 # Native version related
14388 # Palm native version related
14391 # Unix/Hosted version related
14397 # Apple iOS related
14402 # ARM default GCC target related
14428 # Collect-aros stuff: "-ius" to ignore undefined symbols
14431 # C compiler related
14434 case "$aros_flavour" in
14435 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14436 aros_flavour
="emulation" ;;
14437 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14438 aros_flavour
="emulation" ;;
14439 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14440 aros_flavour
="standalone";;
14441 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14442 aros_flavour
="standalone";;
14443 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14444 aros_flavour
="native" ;;
14445 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14446 aros_flavour
="native" ;;
14447 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14448 aros_flavour
="linklib" ;;
14449 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14450 aros_flavour
="palmnative" ;;
14451 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14452 aros_flavour
="mac68knative" ;;
14453 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14454 aros_flavour
="ppcnative" ;;
14457 if test ! -d ${aros_inc_dir} ; then
14458 ${MKDIR} ${aros_inc_dir}
14460 if test ! -d ${aros_geninc_dir} ; then
14461 ${MKDIR} ${aros_geninc_dir}
14463 if test ! -d ${aros_hostcfg_dir} ; then
14464 ${MKDIR} ${aros_hostcfg_dir}
14466 if test ! -d ${aros_targetcfg_dir} ; then
14467 ${MKDIR} ${aros_targetcfg_dir}
14469 if test ! -d ${aros_tools_dir} ; then
14470 ${MKDIR} ${aros_tools_dir}
14472 if test ! -d ${aros_scripts_dir} ; then
14473 ${MKDIR} ${aros_scripts_dir}
14476 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14479 ac_config_commands
="$ac_config_commands compiler_executable"
14481 ac_config_commands
="$ac_config_commands genmf_executable"
14484 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 mmake.config ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_targetcfg_dir}/specs:config/specs.in ${aros_targetcfg_dir}/elf-specs:${elf_specs_in} ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-cpp:scripts/aros-cpp.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-gcc:scripts/aros-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-g++:scripts/aros-g++.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc:scripts/elf-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py tools/collect-aros/env.h ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
14487 cat >confcache
<<\_ACEOF
14488 # This file is a shell script that caches the results of configure
14489 # tests run on this system so they can be shared between configure
14490 # scripts and configure runs, see configure's option --config-cache.
14491 # It is not useful on other systems. If it contains results you don't
14492 # want to keep, you may remove or edit it.
14494 # config.status only pays attention to the cache file if you give it
14495 # the --recheck option to rerun configure.
14497 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14498 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14499 # following values.
14503 # The following way of writing the cache mishandles newlines in values,
14504 # but we know of no workaround that is simple, portable, and efficient.
14505 # So, we kill variables containing newlines.
14506 # Ultrix sh set writes to stderr and can't be redirected directly,
14507 # and sets the high bit in the cache file unless we assign to the vars.
14509 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14510 eval ac_val
=\$
$ac_var
14514 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14515 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14518 _ | IFS | as_nl
) ;; #(
14519 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14520 *) { eval $ac_var=; unset $ac_var;} ;;
14526 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14527 *${as_nl}ac_space
=\
*)
14528 # `set' does not quote correctly, so add quotes: double-quote
14529 # substitution turns \\\\ into \\, and sed turns \\ into \.
14532 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14535 # `set' quotes correctly as required by POSIX, so do not add quotes.
14536 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14545 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14547 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14549 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14550 if test -w "$cache_file"; then
14551 if test "x$cache_file" != "x/dev/null"; then
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14553 $as_echo "$as_me: updating cache $cache_file" >&6;}
14554 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14555 cat confcache
>"$cache_file"
14557 case $cache_file in #(
14559 mv -f confcache
"$cache_file"$$
&&
14560 mv -f "$cache_file"$$
"$cache_file" ;; #(
14562 mv -f confcache
"$cache_file" ;;
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14568 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14573 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14574 # Let make expand exec_prefix.
14575 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14577 DEFS
=-DHAVE_CONFIG_H
14582 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14583 # 1. Remove the extension, and $U if already installed.
14584 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14585 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14586 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14587 # will be set to the directory where LIBOBJS objects are built.
14588 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14589 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14591 LIBOBJS
=$ac_libobjs
14593 LTLIBOBJS
=$ac_ltlibobjs
14597 : "${CONFIG_STATUS=./config.status}"
14599 ac_clean_files_save
=$ac_clean_files
14600 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14602 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14604 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14606 # Generated by $as_me.
14607 # Run this file to recreate the current configuration.
14608 # Compiler output produced by configure, useful for debugging
14609 # configure, is in config.log if it exists.
14612 ac_cs_recheck=false
14615 SHELL=\${CONFIG_SHELL-$SHELL}
14618 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14619 ## -------------------- ##
14620 ## M4sh Initialization. ##
14621 ## -------------------- ##
14623 # Be more Bourne compatible
14624 DUALCASE
=1; export DUALCASE
# for MKS sh
14625 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14628 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14629 # is contrary to our usage. Disable this feature.
14630 alias -g '${1+"$@"}'='"$@"'
14631 setopt NO_GLOB_SUBST
14633 case `(set -o) 2>/dev/null` in #(
14645 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14646 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14647 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14648 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14649 # Prefer a ksh shell builtin over an external printf program on Solaris,
14650 # but without wasting forks for bash or zsh.
14651 if test -z "$BASH_VERSION$ZSH_VERSION" \
14652 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14653 as_echo='print
-r --'
14654 as_echo_n='print
-rn --'
14655 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14656 as_echo='printf %s
\n'
14657 as_echo_n='printf %s
'
14659 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14660 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14661 as_echo_n='/usr
/ucb
/echo -n'
14663 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14664 as_echo_n_body='eval
14668 expr "X$arg" : "X\\(.*\\)$as_nl";
14669 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14671 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14673 export as_echo_n_body
14674 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14676 export as_echo_body
14677 as_echo='sh
-c $as_echo_body as_echo
'
14680 # The user is always right.
14681 if test "${PATH_SEPARATOR+set}" != set; then
14683 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14684 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14691 # We need space, tab and new line, in precisely that order. Quoting is
14692 # there to prevent editors from complaining about space-tab.
14693 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14694 # splitting by setting IFS to empty value.)
14697 # Find who we are. Look in the path if we contain no directory separator.
14700 *[\\/]* ) as_myself=$0 ;;
14701 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14702 for as_dir in $PATH
14705 test -z "$as_dir" && as_dir=.
14706 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14712 # We did not find ourselves, most probably we were run as `sh COMMAND'
14713 # in which case we are not to be found in the path.
14714 if test "x$as_myself" = x
; then
14717 if test ! -f "$as_myself"; then
14718 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14722 # Unset variables that we do not need and which cause bugs (e.g. in
14723 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14724 # suppresses any "Segmentation fault" message there. '((' could
14725 # trigger a bug in pdksh 5.2.14.
14726 for as_var
in BASH_ENV ENV MAIL MAILPATH
14727 do eval test x\
${$as_var+set} = xset \
14728 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14741 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14744 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14745 # ----------------------------------------
14746 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14747 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14748 # script with STATUS, using 1 if that was 0.
14751 as_status
=$1; test $as_status -eq 0 && as_status
=1
14753 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14754 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14756 $as_echo "$as_me: error: $2" >&2
14757 as_fn_exit
$as_status
14761 # as_fn_set_status STATUS
14762 # -----------------------
14763 # Set $? to STATUS, without forking.
14764 as_fn_set_status
()
14767 } # as_fn_set_status
14769 # as_fn_exit STATUS
14770 # -----------------
14771 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14775 as_fn_set_status
$1
14781 # Portably unset VAR.
14784 { eval $1=; unset $1;}
14786 as_unset
=as_fn_unset
14787 # as_fn_append VAR VALUE
14788 # ----------------------
14789 # Append the text in VALUE to the end of the definition contained in VAR. Take
14790 # advantage of any shell optimizations that allow amortized linear growth over
14791 # repeated appends, instead of the typical quadratic growth present in naive
14793 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14794 eval 'as_fn_append ()
14805 # as_fn_arith ARG...
14806 # ------------------
14807 # Perform arithmetic evaluation on the ARGs, and store the result in the
14808 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14809 # must be portable across $(()) and expr.
14810 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14811 eval 'as_fn_arith ()
14818 as_val
=`expr "$@" || test $? -eq 1`
14823 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14824 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14830 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14831 as_basename
=basename
14836 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14842 as_me
=`$as_basename -- "$0" ||
14843 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14844 X"$0" : 'X\(//\)$' \| \
14845 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14847 sed '/^.*\/\([^/][^/]*\)\/*$/{
14861 # Avoid depending upon Character Ranges.
14862 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14863 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14864 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14865 as_cr_digits
='0123456789'
14866 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14868 ECHO_C
= ECHO_N
= ECHO_T
=
14869 case `echo -n x` in #(((((
14871 case `echo 'xy\c'` in
14872 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14874 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14881 rm -f conf$$ conf$$.exe conf$$.
file
14882 if test -d conf$$.dir
; then
14883 rm -f conf$$.dir
/conf$$.
file
14886 mkdir conf$$.dir
2>/dev
/null
14888 if (echo >conf$$.
file) 2>/dev
/null
; then
14889 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14891 # ... but there are two gotchas:
14892 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14893 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14894 # In both cases, we have to default to `cp -pR'.
14895 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14897 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14905 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14906 rmdir conf$$.dir
2>/dev
/null
14911 # Create "$as_dir" as a directory, including parents if necessary.
14916 -*) as_dir
=.
/$as_dir;;
14918 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14922 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14923 *) as_qdir
=$as_dir;;
14925 as_dirs
="'$as_qdir' $as_dirs"
14926 as_dir
=`$as_dirname -- "$as_dir" ||
14927 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14928 X"$as_dir" : 'X\(//\)[^/]' \| \
14929 X"$as_dir" : 'X\(//\)$' \| \
14930 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14931 $as_echo X"$as_dir" |
14932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14936 /^X\(\/\/\)[^/].*/{
14949 test -d "$as_dir" && break
14951 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14952 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14956 if mkdir
-p .
2>/dev
/null
; then
14957 as_mkdir_p
='mkdir -p "$as_dir"'
14959 test -d .
/-p && rmdir .
/-p
14964 # as_fn_executable_p FILE
14965 # -----------------------
14966 # Test if FILE is an executable regular file.
14967 as_fn_executable_p
()
14969 test -f "$1" && test -x "$1"
14970 } # as_fn_executable_p
14971 as_test_x
='test -x'
14972 as_executable_p
=as_fn_executable_p
14974 # Sed expression to map a string onto a valid CPP name.
14975 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14977 # Sed expression to map a string onto a valid variable name.
14978 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14982 ## ----------------------------------- ##
14983 ## Main body of $CONFIG_STATUS script. ##
14984 ## ----------------------------------- ##
14986 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14989 # Save the log message, to keep $0 and so on meaningful, and to
14990 # report actual input values of CONFIG_FILES etc. instead of their
14991 # values after options handling.
14993 This file was extended by $as_me, which was
14994 generated by GNU Autoconf 2.69. Invocation command line was
14996 CONFIG_FILES = $CONFIG_FILES
14997 CONFIG_HEADERS = $CONFIG_HEADERS
14998 CONFIG_LINKS = $CONFIG_LINKS
14999 CONFIG_COMMANDS = $CONFIG_COMMANDS
15002 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15007 case $ac_config_files in *"
15008 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15011 case $ac_config_headers in *"
15012 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15017 # Files that config.status was made for.
15018 config_files="$ac_config_files"
15019 config_headers="$ac_config_headers"
15020 config_commands="$ac_config_commands"
15024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15026 \`$as_me' instantiates files and other configuration actions
15027 from templates according to the current configuration. Unless the files
15028 and actions are specified as TAGs, all are instantiated by default.
15030 Usage: $0 [OPTION]... [TAG]...
15032 -h, --help print this help, then exit
15033 -V, --version print version number and configuration settings, then exit
15034 --config print configuration, then exit
15035 -q, --quiet, --silent
15036 do not print progress messages
15037 -d, --debug don't remove temporary files
15038 --recheck update $as_me by reconfiguring in the same conditions
15039 --file=FILE[:TEMPLATE]
15040 instantiate the configuration file FILE
15041 --header=FILE[:TEMPLATE]
15042 instantiate the configuration header FILE
15044 Configuration files:
15047 Configuration headers:
15050 Configuration commands:
15053 Report bugs to the package provider."
15056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15057 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15060 configured by $0, generated by GNU Autoconf 2.69,
15061 with options \\"\$ac_cs_config\\"
15063 Copyright (C) 2012 Free Software Foundation, Inc.
15064 This config.status script is free software; the Free Software Foundation
15065 gives unlimited permission to copy, distribute and modify it."
15069 test -n "\$AWK" || AWK=awk
15072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15073 # The default lists apply if the user does not specify any file.
15079 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15080 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15084 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15096 # Handling of the options.
15097 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15099 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15100 $as_echo "$ac_cs_version"; exit ;;
15101 --config |
--confi |
--conf |
--con |
--co |
--c )
15102 $as_echo "$ac_cs_config"; exit ;;
15103 --debug |
--debu |
--deb |
--de |
--d |
-d )
15105 --file |
--fil |
--fi |
--f )
15108 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15109 '') as_fn_error $?
"missing file argument" ;;
15111 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15112 ac_need_defaults
=false
;;
15113 --header |
--heade |
--head |
--hea )
15116 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15118 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15119 ac_need_defaults
=false
;;
15121 # Conflict between --help and --header
15122 as_fn_error $?
"ambiguous option: \`$1'
15123 Try \`$0 --help' for more information.";;
15124 --help |
--hel |
-h )
15125 $as_echo "$ac_cs_usage"; exit ;;
15126 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15127 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15130 # This is an error.
15131 -*) as_fn_error $?
"unrecognized option: \`$1'
15132 Try \`$0 --help' for more information." ;;
15134 *) as_fn_append ac_config_targets
" $1"
15135 ac_need_defaults
=false
;;
15141 ac_configure_extra_args
=
15143 if $ac_cs_silent; then
15145 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15150 if \$ac_cs_recheck; then
15151 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15153 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15154 CONFIG_SHELL='$SHELL'
15155 export CONFIG_SHELL
15160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15164 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15165 ## Running $as_me. ##
15171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15176 aros_host_exe_suffix=${aros_host_exe_suffix}
15177 aros_tools_dir=${aros_tools_dir}
15178 aros_target_cpu=${aros_target_cpu}
15179 aros_target_arch=${aros_target_arch}
15180 aros_target_suffix=${aros_target_suffix}
15181 orig_target_nm=${orig_target_nm}
15182 orig_target_as=${orig_target_as}
15183 orig_target_ar=${orig_target_ar}
15184 orig_target_ranlib=${orig_target_ranlib}
15185 orig_target_objdump=${orig_target_objdump}
15186 orig_target_objcopy=${orig_target_objcopy}
15187 orig_target_strip=${orig_target_strip}
15188 aros_kernel_ld=${aros_kernel_ld}
15191 aros_tools_dir=${aros_tools_dir}
15196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15198 # Handling of arguments.
15199 for ac_config_target
in $ac_config_targets
15201 case $ac_config_target in
15202 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15203 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15204 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15205 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15206 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15207 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15208 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15209 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15210 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15211 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15212 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15213 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15214 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15215 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-cpp") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-cpp:scripts/aros-cpp.in" ;;
15216 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-gcc") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-gcc:scripts/aros-gcc.in" ;;
15217 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-g++") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-g++:scripts/aros-g++.in" ;;
15218 "${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" ;;
15219 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in" ;;
15220 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15221 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15222 "${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" ;;
15224 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15229 # If the user did not use the arguments to specify the items to instantiate,
15230 # then the envvar interface is used. Set only those that are not.
15231 # We use the long form for the default assignment because of an extremely
15232 # bizarre bug on SunOS 4.1.3.
15233 if $ac_need_defaults; then
15234 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15235 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15236 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15239 # Have a temporary directory for convenience. Make it in the build tree
15240 # simply because there is no reason against having it here, and in addition,
15241 # creating and moving files from /tmp can sometimes cause problems.
15242 # Hook for its removal unless debugging.
15243 # Note that there is a small window in which the directory will not be cleaned:
15244 # after its creation but before its name has been assigned to `$tmp'.
15248 trap 'exit_status=$?
15249 : "${ac_tmp:=$tmp}"
15250 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15252 trap 'as_fn_exit 1' 1 2 13 15
15254 # Create a (secure) tmp directory for tmp files.
15257 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15261 tmp
=.
/conf$$
-$RANDOM
15262 (umask 077 && mkdir
"$tmp")
15263 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15266 # Set up the scripts for CONFIG_FILES section.
15267 # No need to generate them if there are no CONFIG_FILES.
15268 # This happens for instance with `./config.status config.h'.
15269 if test -n "$CONFIG_FILES"; then
15272 ac_cr
=`echo X | tr X '\015'`
15273 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15274 # But we know of no other shell where ac_cr would be empty at this
15275 # point, so we can use a bashism as a fallback.
15276 if test "x$ac_cr" = x
; then
15277 eval ac_cr
=\$
\'\\r
\'
15279 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15280 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15283 ac_cs_awk_cr
=$ac_cr
15286 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15291 echo "cat >conf$$subs.awk <<_ACEOF" &&
15292 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15294 } >conf$$subs.sh ||
15295 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15296 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15298 for ac_last_try in false false false false false :; do
15299 . ./conf$$subs.sh ||
15300 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15302 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15303 if test $ac_delim_n = $ac_delim_num; then
15305 elif $ac_last_try; then
15306 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15308 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15311 rm -f conf$$subs.sh
15313 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15314 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15318 s/^/S["/; s
/!.
*/"]=/
15328 s/\(.\{148\}\)..*/\1/
15330 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15335 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15342 s/\(.\{148\}\)..*/\1/
15344 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15348 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15353 ' <conf$$subs.awk | sed '
15358 ' >>$CONFIG_STATUS || ac_write_fail=1
15359 rm -f conf$$subs.awk
15360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15362 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15363 for (key in S) S_is_set[key] = 1
15369 nfields = split(line, field, "@
")
15371 len = length(field[1])
15372 for (i = 2; i < nfields; i++) {
15374 keylen = length(key)
15375 if (S_is_set[key]) {
15377 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15378 len += length(value) + length(field[++i])
15389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15390 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15391 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15394 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15395 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15398 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15399 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15400 # trailing colons and then remove the whole line if VPATH becomes empty
15401 # (actually we leave an empty line to preserve line numbers).
15402 if test "x
$srcdir" = x.; then
15403 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15422 fi # test -n "$CONFIG_FILES"
15424 # Set up the scripts for CONFIG_HEADERS section.
15425 # No need to generate them if there are no CONFIG_HEADERS.
15426 # This happens for instance with `./config.status Makefile'.
15427 if test -n "$CONFIG_HEADERS"; then
15428 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15432 # Transform confdefs.h into an awk script `defines.awk', embedded as
15433 # here-document in config.status, that substitutes the proper values into
15434 # config.h.in to produce config.h.
15436 # Create a delimiter string that does not exist in confdefs.h, to ease
15437 # handling of long lines.
15439 for ac_last_try in false false :; do
15440 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15441 if test -z "$ac_tt"; then
15443 elif $ac_last_try; then
15444 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15446 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15450 # For the awk script, D is an array of macro values keyed by name,
15451 # likewise P contains macro parameters if any. Preserve backslash
15452 # newline sequences.
15454 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15456 s/.\{148\}/&'"$ac_delim"'/g
15459 s/^[ ]*#[ ]*define[ ][ ]*/ /
15466 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15468 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15472 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15473 D["\
1"]=" \
3\\\\\\n
"\\/p
15475 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15480 s/.\{148\}/&'"$ac_delim"'/g
15485 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15488 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15490 ' <confdefs.h | sed '
15491 s/'"$ac_delim"'/"\\\
15492 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15495 for (key in D) D_is_set[key] = 1
15498 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15500 split(line, arg, " ")
15501 if (arg[1] == "#") {
15505 defundef
= substr
(arg
[1], 2)
15508 split(mac1
, mac2
, "(") #)
15510 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15511 if (D_is_set
[macro
]) {
15512 # Preserve the white space surrounding the "#".
15513 print prefix
"define", macro P
[macro
] D
[macro
]
15516 # Replace #undef with comments. This is necessary, for example,
15517 # in the case of _POSIX_SOURCE, which is predefined and required
15518 # on some systems where configure will not decide to define it.
15519 if (defundef
== "undef") {
15520 print
"/*", prefix defundef
, macro
, "*/"
15528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15529 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15530 fi # test -n "$CONFIG_HEADERS"
15533 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15538 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15540 case $ac_mode$ac_tag in
15542 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15543 :[FH
]-) ac_tag
=-:-;;
15544 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15561 -) ac_f
="$ac_tmp/stdin";;
15562 *) # Look for the file first in the build tree, then in the source tree
15563 # (if the path is not absolute). The absolute path cannot be DOS-style,
15564 # because $ac_f cannot contain `:'.
15568 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15570 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15572 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15573 as_fn_append ac_file_inputs
" '$ac_f'"
15576 # Let's still pretend it is `configure' which instantiates (i.e., don't
15577 # use $as_me), people would be surprised to read:
15578 # /* config.h. Generated by config.status. */
15579 configure_input
='Generated from '`
15580 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15582 if test x
"$ac_file" != x-
; then
15583 configure_input
="$ac_file. $configure_input"
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15585 $as_echo "$as_me: creating $ac_file" >&6;}
15587 # Neutralize special characters interpreted by sed in replacement strings.
15588 case $configure_input in #(
15589 *\
&* |
*\|
* |
*\\* )
15590 ac_sed_conf_input
=`$as_echo "$configure_input" |
15591 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15592 *) ac_sed_conf_input
=$configure_input;;
15596 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15597 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15602 ac_dir
=`$as_dirname -- "$ac_file" ||
15603 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15604 X"$ac_file" : 'X\(//\)[^/]' \| \
15605 X"$ac_file" : 'X\(//\)$' \| \
15606 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15607 $as_echo X"$ac_file" |
15608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15612 /^X\(\/\/\)[^/].*/{
15625 as_dir
="$ac_dir"; as_fn_mkdir_p
15629 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15631 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15632 # A ".." for each directory in $ac_dir_suffix.
15633 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15634 case $ac_top_builddir_sub in
15635 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15636 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15639 ac_abs_top_builddir
=$ac_pwd
15640 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15641 # for backward compatibility:
15642 ac_top_builddir
=$ac_top_build_prefix
15645 .
) # We are building in place.
15647 ac_top_srcdir
=$ac_top_builddir_sub
15648 ac_abs_top_srcdir
=$ac_pwd ;;
15649 [\\/]* | ?
:[\\/]* ) # Absolute name.
15650 ac_srcdir
=$srcdir$ac_dir_suffix;
15651 ac_top_srcdir
=$srcdir
15652 ac_abs_top_srcdir
=$srcdir ;;
15653 *) # Relative name.
15654 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15655 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15656 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15658 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15670 # If the template does not know about datarootdir, expand it.
15671 # FIXME: This hack should be removed a few years after 2.60.
15672 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15683 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15684 *datarootdir
*) ac_datarootdir_seen
=yes;;
15685 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15687 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15690 ac_datarootdir_hack='
15691 s&@datadir@&$datadir&g
15692 s&@docdir@&$docdir&g
15693 s&@infodir@&$infodir&g
15694 s&@localedir@&$localedir&g
15695 s&@mandir@&$mandir&g
15696 s&\\\${datarootdir}&$datarootdir&g' ;;
15700 # Neutralize VPATH when `$srcdir' = `.'.
15701 # Shell code in configure.ac might set extrasub.
15702 # FIXME: do we really want to maintain this feature?
15703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15704 ac_sed_extra="$ac_vpsub
15707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15709 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15710 s|@configure_input@|
$ac_sed_conf_input|
;t t
15711 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15712 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15713 s
&@srcdir@
&$ac_srcdir&;t t
15714 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15715 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15716 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15717 s
&@builddir@
&$ac_builddir&;t t
15718 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15719 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15720 $ac_datarootdir_hack
15722 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15723 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15725 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15726 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15727 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15728 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15730 which seems to be undefined. Please make sure it is defined" >&5
15731 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15732 which seems to be undefined. Please make sure it is defined" >&2;}
15734 rm -f "$ac_tmp/stdin"
15736 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15737 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15739 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15745 if test x"$ac_file" != x-; then
15747 $as_echo "/* $configure_input */" \
15748 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15749 } >"$ac_tmp/config.h" \
15750 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15751 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15753 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15756 mv "$ac_tmp/config.h" "$ac_file" \
15757 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15760 $as_echo "/* $configure_input */" \
15761 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15762 || as_fn_error $? "could not create -" "$LINENO" 5
15766 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15767 $as_echo "$as_me: executing $ac_file commands" >&6;}
15772 case $ac_file$ac_mode in
15773 "compiler_executable":C)
15774 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15776 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15777 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15781 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15783 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15784 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15785 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15786 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15787 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15788 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15789 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15791 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15793 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15801 ac_clean_files=$ac_clean_files_save
15803 test $ac_write_fail = 0 ||
15804 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15807 # configure is writing to config.log, and then calls config.status.
15808 # config.status does its own redirection, appending to config.log.
15809 # Unfortunately, on DOS this fails, as config.log is still kept open
15810 # by configure, so config.status won't be able to
write to it
; its
15811 # output is simply discarded. So we exec the FD to /dev/null,
15812 # effectively closing config.log, so it can be properly (re)opened and
15813 # appended to by config.status. When coming back to configure, we
15814 # need to make the FD available again.
15815 if test "$no_create" != yes; then
15817 ac_config_status_args
=
15818 test "$silent" = yes &&
15819 ac_config_status_args
="$ac_config_status_args --quiet"
15821 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15823 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15824 # would make configure fail if this is the last instruction.
15825 $ac_cs_success || as_fn_exit
1
15827 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15829 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15834 #XXX compatability...
15835 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15837 if test -n "$aros_shared_cflags" ; then
15838 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15839 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg