2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="mmakefile"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
623 ac_subst_vars
='LTLIBOBJS
627 ignore_undefined_symbols
640 gcc_default_float_abi
648 aros_nesting_supervisor
653 aros_host_x11_libdirs
654 aros_host_x11_includes
658 aros_default_wbheight
664 aros_cflags_format_security
665 aros_cflags_strict_overflow
666 aros_cflags_enum_compare
667 aros_cflags_array_bounds
668 aros_cflags_unused_but_set_variable
669 crosstools_cxx_target
671 aros_target_strip_flags
678 aros_kernel_objcflags
697 aros_target_cc_includes
712 aros_target_bootloader
732 aros_amigaos_compliance
738 aros_target_toolchain
747 aros_cflags_iquote_end
749 kernel_cflags_iquote_end
751 host_cflags_iquote_end
753 aros_target_nostdlib_ldflags
754 aros_target_detach_ldflags
755 aros_target_nix_ldflags
756 aros_target_nostartup_ldflags
757 aros_target_nostdinc_cflags
874 program_transform_name
887 enable_option_checking
892 with_kernel_gcc_version
896 enable_target_variant
903 enable_amigaos_compliance
904 with_kernel_toolchain_prefix
905 with_elf_toolchain_prefix
908 with_aros_toolchain_install
920 enable_palm_debug_hack
922 enable_nesting_supervisor
934 ac_precious_vars
='build_alias
950 # Initialize some variables set by options.
952 ac_init_version
=false
953 ac_unrecognized_opts
=
955 # The variables have the same names as the options, with
956 # dashes changed to underlines.
964 program_transform_name
=s
,x
,x
,
972 # Installation directory options.
973 # These are left unexpanded so users can "make install exec_prefix=/foo"
974 # and all the variables that are supposed to be based on exec_prefix
975 # by default will actually change.
976 # Use braces instead of parens because sh, perl, etc. also accept them.
977 # (The list follows the same order as the GNU Coding Standards.)
978 bindir
='${exec_prefix}/bin'
979 sbindir
='${exec_prefix}/sbin'
980 libexecdir
='${exec_prefix}/libexec'
981 datarootdir
='${prefix}/share'
982 datadir
='${datarootdir}'
983 sysconfdir
='${prefix}/etc'
984 sharedstatedir
='${prefix}/com'
985 localstatedir
='${prefix}/var'
986 includedir
='${prefix}/include'
987 oldincludedir
='/usr/include'
988 docdir
='${datarootdir}/doc/${PACKAGE}'
989 infodir
='${datarootdir}/info'
994 libdir
='${exec_prefix}/lib'
995 localedir
='${datarootdir}/locale'
996 mandir
='${datarootdir}/man'
1002 # If the previous option needs an argument, assign it.
1003 if test -n "$ac_prev"; then
1004 eval $ac_prev=\
$ac_option
1010 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1015 # Accept the important Cygnus configure options, so we can diagnose typos.
1017 case $ac_dashdash$ac_option in
1021 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1023 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1024 bindir
=$ac_optarg ;;
1026 -build |
--build |
--buil |
--bui |
--bu)
1027 ac_prev
=build_alias
;;
1028 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1029 build_alias
=$ac_optarg ;;
1031 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1032 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1033 ac_prev
=cache_file
;;
1034 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1035 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1036 cache_file
=$ac_optarg ;;
1038 --config-cache |
-C)
1039 cache_file
=config.cache
;;
1041 -datadir |
--datadir |
--datadi |
--datad)
1043 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1044 datadir
=$ac_optarg ;;
1046 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1047 |
--dataroo |
--dataro |
--datar)
1048 ac_prev
=datarootdir
;;
1049 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1050 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1051 datarootdir
=$ac_optarg ;;
1053 -disable-* |
--disable-*)
1054 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1057 as_fn_error $?
"invalid feature name: $ac_useropt"
1058 ac_useropt_orig
=$ac_useropt
1059 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060 case $ac_user_opts in
1062 "enable_
$ac_useropt"
1064 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1065 ac_unrecognized_sep
=', ';;
1067 eval enable_
$ac_useropt=no
;;
1069 -docdir |
--docdir |
--docdi |
--doc |
--do)
1071 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1072 docdir
=$ac_optarg ;;
1074 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1076 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1077 dvidir
=$ac_optarg ;;
1079 -enable-* |
--enable-*)
1080 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1081 # Reject names that are not valid shell variable names.
1082 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1083 as_fn_error $?
"invalid feature name: $ac_useropt"
1084 ac_useropt_orig
=$ac_useropt
1085 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086 case $ac_user_opts in
1088 "enable_
$ac_useropt"
1090 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1091 ac_unrecognized_sep
=', ';;
1093 eval enable_
$ac_useropt=\
$ac_optarg ;;
1095 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1096 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1097 |
--exec |
--exe |
--ex)
1098 ac_prev
=exec_prefix
;;
1099 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1100 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1101 |
--exec=* |
--exe=* |
--ex=*)
1102 exec_prefix
=$ac_optarg ;;
1104 -gas |
--gas |
--ga |
--g)
1105 # Obsolete; use --with-gas.
1108 -help |
--help |
--hel |
--he |
-h)
1109 ac_init_help
=long
;;
1110 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1111 ac_init_help
=recursive
;;
1112 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1113 ac_init_help
=short
;;
1115 -host |
--host |
--hos |
--ho)
1116 ac_prev
=host_alias
;;
1117 -host=* |
--host=* |
--hos=* |
--ho=*)
1118 host_alias
=$ac_optarg ;;
1120 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1122 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1124 htmldir
=$ac_optarg ;;
1126 -includedir |
--includedir |
--includedi |
--included |
--include \
1127 |
--includ |
--inclu |
--incl |
--inc)
1128 ac_prev
=includedir
;;
1129 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1130 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1131 includedir
=$ac_optarg ;;
1133 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1135 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1136 infodir
=$ac_optarg ;;
1138 -libdir |
--libdir |
--libdi |
--libd)
1140 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1141 libdir
=$ac_optarg ;;
1143 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1144 |
--libexe |
--libex |
--libe)
1145 ac_prev
=libexecdir
;;
1146 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1147 |
--libexe=* |
--libex=* |
--libe=*)
1148 libexecdir
=$ac_optarg ;;
1150 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1151 ac_prev
=localedir
;;
1152 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1153 localedir
=$ac_optarg ;;
1155 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1156 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1157 ac_prev
=localstatedir
;;
1158 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1159 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1160 localstatedir
=$ac_optarg ;;
1162 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1164 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1165 mandir
=$ac_optarg ;;
1167 -nfp |
--nfp |
--nf)
1168 # Obsolete; use --without-fp.
1171 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1172 |
--no-cr |
--no-c |
-n)
1175 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1176 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1179 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1180 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1181 |
--oldin |
--oldi |
--old |
--ol |
--o)
1182 ac_prev
=oldincludedir
;;
1183 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1184 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1185 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1186 oldincludedir
=$ac_optarg ;;
1188 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1190 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1191 prefix
=$ac_optarg ;;
1193 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1194 |
--program-pre |
--program-pr |
--program-p)
1195 ac_prev
=program_prefix
;;
1196 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1197 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1198 program_prefix
=$ac_optarg ;;
1200 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1201 |
--program-suf |
--program-su |
--program-s)
1202 ac_prev
=program_suffix
;;
1203 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1204 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1205 program_suffix
=$ac_optarg ;;
1207 -program-transform-name |
--program-transform-name \
1208 |
--program-transform-nam |
--program-transform-na \
1209 |
--program-transform-n |
--program-transform- \
1210 |
--program-transform |
--program-transfor \
1211 |
--program-transfo |
--program-transf \
1212 |
--program-trans |
--program-tran \
1213 |
--progr-tra |
--program-tr |
--program-t)
1214 ac_prev
=program_transform_name
;;
1215 -program-transform-name=* |
--program-transform-name=* \
1216 |
--program-transform-nam=* |
--program-transform-na=* \
1217 |
--program-transform-n=* |
--program-transform-=* \
1218 |
--program-transform=* |
--program-transfor=* \
1219 |
--program-transfo=* |
--program-transf=* \
1220 |
--program-trans=* |
--program-tran=* \
1221 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1222 program_transform_name
=$ac_optarg ;;
1224 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1226 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1227 pdfdir
=$ac_optarg ;;
1229 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1231 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1234 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1235 |
-silent |
--silent |
--silen |
--sile |
--sil)
1238 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1240 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1242 sbindir
=$ac_optarg ;;
1244 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1245 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1246 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1248 ac_prev
=sharedstatedir
;;
1249 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1250 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1251 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1253 sharedstatedir
=$ac_optarg ;;
1255 -site |
--site |
--sit)
1257 -site=* |
--site=* |
--sit=*)
1260 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1262 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1263 srcdir
=$ac_optarg ;;
1265 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1266 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1267 ac_prev
=sysconfdir
;;
1268 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1269 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1270 sysconfdir
=$ac_optarg ;;
1272 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1273 ac_prev
=target_alias
;;
1274 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1275 target_alias
=$ac_optarg ;;
1277 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1280 -version |
--version |
--versio |
--versi |
--vers |
-V)
1281 ac_init_version
=: ;;
1284 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1285 # Reject names that are not valid shell variable names.
1286 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1287 as_fn_error $?
"invalid package name: $ac_useropt"
1288 ac_useropt_orig
=$ac_useropt
1289 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1290 case $ac_user_opts in
1294 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1295 ac_unrecognized_sep
=', ';;
1297 eval with_
$ac_useropt=\
$ac_optarg ;;
1299 -without-* |
--without-*)
1300 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1301 # Reject names that are not valid shell variable names.
1302 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1303 as_fn_error $?
"invalid package name: $ac_useropt"
1304 ac_useropt_orig
=$ac_useropt
1305 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1306 case $ac_user_opts in
1310 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1311 ac_unrecognized_sep
=', ';;
1313 eval with_
$ac_useropt=no
;;
1316 # Obsolete; use --with-x.
1319 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1320 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1321 ac_prev
=x_includes
;;
1322 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1323 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1324 x_includes
=$ac_optarg ;;
1326 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1327 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1328 ac_prev
=x_libraries
;;
1329 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1330 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1331 x_libraries
=$ac_optarg ;;
1333 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1334 Try \`$0 --help' for more information"
1338 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1339 # Reject names that are not valid shell variable names.
1340 case $ac_envvar in #(
1341 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1342 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1344 eval $ac_envvar=\
$ac_optarg
1345 export $ac_envvar ;;
1348 # FIXME: should be removed in autoconf 3.0.
1349 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1350 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1351 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1352 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1358 if test -n "$ac_prev"; then
1359 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1360 as_fn_error $?
"missing argument to $ac_option"
1363 if test -n "$ac_unrecognized_opts"; then
1364 case $enable_option_checking in
1366 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1367 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1371 # Check all directory arguments for consistency.
1372 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1373 datadir sysconfdir sharedstatedir localstatedir includedir \
1374 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1375 libdir localedir mandir
1377 eval ac_val
=\$
$ac_var
1378 # Remove trailing slashes.
1381 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1382 eval $ac_var=\
$ac_val;;
1384 # Be sure to have absolute directory names.
1386 [\\/$
]* | ?
:[\\/]* ) continue;;
1387 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1389 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1392 # There might be people who depend on the old broken behavior: `$host'
1393 # used to hold the argument of --host etc.
1394 # FIXME: To remove some day.
1397 target
=$target_alias
1399 # FIXME: To remove some day.
1400 if test "x$host_alias" != x
; then
1401 if test "x$build_alias" = x
; then
1402 cross_compiling
=maybe
1403 elif test "x$build_alias" != "x$host_alias"; then
1409 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1411 test "$silent" = yes && exec 6>/dev
/null
1414 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1415 ac_ls_di
=`ls -di .` &&
1416 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1417 as_fn_error $?
"working directory cannot be determined"
1418 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1419 as_fn_error $?
"pwd does not report name of working directory"
1422 # Find the source files, if location was not specified.
1423 if test -z "$srcdir"; then
1424 ac_srcdir_defaulted
=yes
1425 # Try the directory containing this script, then the parent directory.
1426 ac_confdir
=`$as_dirname -- "$as_myself" ||
1427 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1428 X"$as_myself" : 'X\(//\)[^/]' \| \
1429 X"$as_myself" : 'X\(//\)$' \| \
1430 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1431 $as_echo X"$as_myself" |
1432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1450 if test ! -r "$srcdir/$ac_unique_file"; then
1454 ac_srcdir_defaulted
=no
1456 if test ! -r "$srcdir/$ac_unique_file"; then
1457 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1458 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1460 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1462 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1464 # When building in place, set srcdir=.
1465 if test "$ac_abs_confdir" = "$ac_pwd"; then
1468 # Remove unnecessary trailing slashes from srcdir.
1469 # Double slashes in file names in object file debugging info
1470 # mess up M-x gdb in Emacs.
1472 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1474 for ac_var
in $ac_precious_vars; do
1475 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1476 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1477 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1478 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1482 # Report the --help message.
1484 if test "$ac_init_help" = "long"; then
1485 # Omit some internal or obsolete options to make the list less imposing.
1486 # This message is too long to be a string in the A/UX 3.1 sh.
1488 \`configure' configures this package to adapt to many kinds of systems.
1490 Usage: $0 [OPTION]... [VAR=VALUE]...
1492 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1493 VAR=VALUE. See below for descriptions of some of the useful variables.
1495 Defaults for the options are specified in brackets.
1498 -h, --help display this help and exit
1499 --help=short display options specific to this package
1500 --help=recursive display the short help of all the included packages
1501 -V, --version display version information and exit
1502 -q, --quiet, --silent do not print \`checking ...' messages
1503 --cache-file=FILE cache test results in FILE [disabled]
1504 -C, --config-cache alias for \`--cache-file=config.cache'
1505 -n, --no-create do not create output files
1506 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1508 Installation directories:
1509 --prefix=PREFIX install architecture-independent files in PREFIX
1510 [$ac_default_prefix]
1511 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1514 By default, \`make install' will install all the files in
1515 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1516 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1517 for instance \`--prefix=\$HOME'.
1519 For better control, use the options below.
1521 Fine tuning of the installation directories:
1522 --bindir=DIR user executables [EPREFIX/bin]
1523 --sbindir=DIR system admin executables [EPREFIX/sbin]
1524 --libexecdir=DIR program executables [EPREFIX/libexec]
1525 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1526 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1527 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1528 --libdir=DIR object code libraries [EPREFIX/lib]
1529 --includedir=DIR C header files [PREFIX/include]
1530 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1531 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1532 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1533 --infodir=DIR info documentation [DATAROOTDIR/info]
1534 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1535 --mandir=DIR man documentation [DATAROOTDIR/man]
1536 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1537 --htmldir=DIR html documentation [DOCDIR]
1538 --dvidir=DIR dvi documentation [DOCDIR]
1539 --pdfdir=DIR pdf documentation [DOCDIR]
1540 --psdir=DIR ps documentation [DOCDIR]
1546 --x-includes=DIR X include files are
in DIR
1547 --x-libraries=DIR X library files are
in DIR
1550 --build=BUILD configure
for building on BUILD
[guessed
]
1551 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1555 if test -n "$ac_init_help"; then
1560 --disable-option-checking ignore unrecognized
--enable/--with options
1561 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1562 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1563 --enable-build-type=TYPE
1564 Select the build
type. Available types are
:
1565 personal
, nightly
, snapshot
, milestone
, release. Do
1566 NOT use this option unless you know what you are
1567 doing
! (default
=personal
)
1568 --enable-debug=list Enable different types of debug. Commas or
1569 whitespaces can be used to separate the items
in the
1570 list. Available types of debug are
: all
, none
,
1571 messages
, stack
, mungwall
, modules
, symbols. If no
1572 list is provided
then "all" is assumed.
1574 --enable-distcc Use distcc as a front end to the compiler
1576 --enable-ccache Use ccache as a front end to the compiler
1578 --enable-target-variant=NAME
1579 Enable a specific target variant
(default
=none
)
1580 --enable-amigaos-compliance=VERSION
1581 Enforce userspace AmigaOS compliance to a specific
1582 KickStart version
(default
=none
).
1583 --disable-crosstools Do not build cross-compiler toolchain
1584 --disable-objc Build without Objectve-C support
1585 --enable-includes=dir Alternative system include directory
1586 --enable-palm-debug-hack
1587 Enable palm debug output hack
in palm native
1589 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1590 --enable-nesting-supervisor
1591 Enable nesting supervisor support
in unix
1593 --disable-mmu Disable MMU support
(default
=enabled
)
1594 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1595 --enable-x11-shm use X11 shared memory
(default
=auto
)
1596 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1597 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1598 --disable-sdltest Do not try to compile and run a
test SDL program
1599 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1602 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1603 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1604 --with-kernel-gcc-version=VERSION
1605 Use gcc-VERSION
for building bootstrap
1606 --with-gcc-version=VERSION
1607 Use gcc-VERSION
for building AROS
1608 --with-optimization=FLAGS
1609 Use optimization flags FLAGS
(default
=-O2).
1610 --with-paranoia=FLAGS CC flags to
enable paranoia
1611 --with-xcode=PATH Specify XCode path
for iOS targets
1612 (default
=/Developer
).
1613 --with-sdk-version=VERSION
1614 Use iOS SDK version VERSION
(default
=4.1).
1615 --with-sdk=PATH Specify Android SDK path
1616 (default
=$default_android_sdk).
1617 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1618 --with-sdk-version=LEVEL
1619 Use Android SDK
for API LEVEL
(default
=12).
1620 --with-ndk-version=LEVEL
1621 Use Android NDK
for API LEVEL
(default
=9).
1622 --with-apk-version=(release|debug
)
1623 Which version of AROSBootstrap.apk to compile.
1624 Release version needs key
for signing
, debug version
1625 will only run
in emulator.
(default
=release
)
1626 --with-kernel-toolchain-prefix=...
1627 Specify crosscompile toolchain prefix
for kernel
1629 --with-elf-toolchain-prefix=...
1630 Specify crosscompile toolchain prefix to wrap
for
1632 --with-aros-toolchain=PREFIX
1633 Specify prebuilt AROS toolchain
1634 --with-aros-toolchain-install=DIR
1635 Where to
install or search
for cross tools binaries
1636 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1637 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1638 --with-float=<spec
> Specify floating point ABI
1639 (default
=$gcc_default_float_abi).
1640 --with-portssources=DIR Where to download sourcecode
for external ports
1641 --with-bootloader=NAME Use a specific bootloader
1642 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1643 --with-theme=NAME Use a specific GUI Theme
1644 --with-resolution=XRESxYRESxDEPTH
1645 Default resolution of the initial WorkbenchScreen
1646 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1647 --with-x use the X Window System
1648 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1649 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1651 Some influential environment variables
:
1652 CXX C
++ compiler
command
1653 CXXFLAGS C
++ compiler flags
1654 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1655 nonstandard directory
<lib dir
>
1656 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1657 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1658 you have headers
in a nonstandard directory
<include dir
>
1659 CC C compiler
command
1660 CFLAGS C compiler flags
1662 PYTHON the Python interpreter
1663 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1665 Use these variables to override the choices made by
`configure' or to help
1666 it to find libraries and programs with nonstandard names/locations.
1668 Report bugs to the package provider.
1673 if test "$ac_init_help" = "recursive"; then
1674 # If there are subdirs, report their specific --help.
1675 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1676 test -d "$ac_dir" ||
1677 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1682 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1684 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1685 # A ".." for each directory in $ac_dir_suffix.
1686 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1687 case $ac_top_builddir_sub in
1688 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1689 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1692 ac_abs_top_builddir=$ac_pwd
1693 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1694 # for backward compatibility:
1695 ac_top_builddir=$ac_top_build_prefix
1698 .) # We are building in place.
1700 ac_top_srcdir=$ac_top_builddir_sub
1701 ac_abs_top_srcdir=$ac_pwd ;;
1702 [\\/]* | ?:[\\/]* ) # Absolute name.
1703 ac_srcdir=$srcdir$ac_dir_suffix;
1704 ac_top_srcdir=$srcdir
1705 ac_abs_top_srcdir=$srcdir ;;
1707 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1708 ac_top_srcdir=$ac_top_build_prefix$srcdir
1709 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1711 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1713 cd "$ac_dir" || { ac_status=$?; continue; }
1714 # Check for guested configure.
1715 if test -f "$ac_srcdir/configure.gnu"; then
1717 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1718 elif test -f "$ac_srcdir/configure"; then
1720 $SHELL "$ac_srcdir/configure" --help=recursive
1722 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1724 cd "$ac_pwd" || { ac_status=$?; break; }
1728 test -n "$ac_init_help" && exit $ac_status
1729 if $ac_init_version; then
1732 generated by GNU Autoconf 2.69
1734 Copyright (C) 2012 Free Software Foundation, Inc.
1735 This configure script is free software; the Free Software Foundation
1736 gives unlimited permission to copy, distribute and modify it.
1741 ## ------------------------ ##
1742 ## Autoconf initialization. ##
1743 ## ------------------------ ##
1745 # ac_fn_cxx_try_compile LINENO
1746 # ----------------------------
1747 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1748 ac_fn_cxx_try_compile ()
1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751 rm -f conftest.$ac_objext
1752 if { { ac_try="$ac_compile"
1754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1755 *) ac_try_echo
=$ac_try;;
1757 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759 (eval "$ac_compile") 2>conftest.err
1761 if test -s conftest.err
; then
1762 grep -v '^ *+' conftest.err
>conftest.er1
1763 cat conftest.er1
>&5
1764 mv -f conftest.er1 conftest.err
1766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767 test $ac_status = 0; } && {
1768 test -z "$ac_cxx_werror_flag" ||
1769 test ! -s conftest.err
1770 } && test -s conftest.
$ac_objext; then :
1773 $as_echo "$as_me: failed program was:" >&5
1774 sed 's/^/| /' conftest.
$ac_ext >&5
1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1779 as_fn_set_status
$ac_retval
1781 } # ac_fn_cxx_try_compile
1783 # ac_fn_c_try_compile LINENO
1784 # --------------------------
1785 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1786 ac_fn_c_try_compile
()
1788 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1789 rm -f conftest.
$ac_objext
1790 if { { ac_try
="$ac_compile"
1792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1793 *) ac_try_echo=$ac_try;;
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_compile") 2>conftest.err
1799 if test -s conftest.err; then
1800 grep -v '^ *+' conftest.err >conftest.er1
1801 cat conftest.er1 >&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } && {
1806 test -z "$ac_c_werror_flag" ||
1807 test ! -s conftest.err
1808 } && test -s conftest.$ac_objext; then :
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.$ac_ext >&5
1816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817 as_fn_set_status $ac_retval
1819 } # ac_fn_c_try_compile
1821 # ac_fn_c_try_cpp LINENO
1822 # ----------------------
1823 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 if { { ac_try="$ac_cpp conftest.$ac_ext"
1829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1830 *) ac_try_echo
=$ac_try;;
1832 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1836 if test -s conftest.err
; then
1837 grep -v '^ *+' conftest.err
>conftest.er1
1838 cat conftest.er1
>&5
1839 mv -f conftest.er1 conftest.err
1841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842 test $ac_status = 0; } > conftest.i
&& {
1843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1844 test ! -s conftest.err
1848 $as_echo "$as_me: failed program was:" >&5
1849 sed 's/^/| /' conftest.
$ac_ext >&5
1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1854 as_fn_set_status
$ac_retval
1858 # ac_fn_c_try_link LINENO
1859 # -----------------------
1860 # Try to link conftest.$ac_ext, and return whether this succeeded.
1863 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1864 rm -f conftest.
$ac_objext conftest
$ac_exeext
1865 if { { ac_try
="$ac_link"
1867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1868 *) ac_try_echo=$ac_try;;
1870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1871 $as_echo "$ac_try_echo"; } >&5
1872 (eval "$ac_link") 2>conftest.err
1874 if test -s conftest.err; then
1875 grep -v '^ *+' conftest.err >conftest.er1
1876 cat conftest.er1 >&5
1877 mv -f conftest.er1 conftest.err
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; } && {
1881 test -z "$ac_c_werror_flag" ||
1882 test ! -s conftest.err
1883 } && test -s conftest$ac_exeext && {
1884 test "$cross_compiling" = yes ||
1885 test -x conftest$ac_exeext
1889 $as_echo "$as_me: failed program was:" >&5
1890 sed 's/^/| /' conftest.$ac_ext >&5
1894 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1895 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1896 # interfere with the next link command; also delete a directory that is
1897 # left behind by Apple's compiler. We do this before executing the actions.
1898 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900 as_fn_set_status $ac_retval
1902 } # ac_fn_c_try_link
1904 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1905 # -------------------------------------------------------
1906 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1907 # the include files in INCLUDES and setting the cache variable VAR
1909 ac_fn_c_check_header_mongrel ()
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 if eval \${$3+:} false; then :
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if eval \${$3+:} false; then :
1916 $as_echo_n "(cached) " >&6
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1920 $as_echo "$ac_res" >&6; }
1922 # Is the header compilable?
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1924 $as_echo_n "checking $2 usability... " >&6; }
1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */
1930 if ac_fn_c_try_compile "$LINENO"; then :
1931 ac_header_compiler=yes
1933 ac_header_compiler=no
1935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1937 $as_echo "$ac_header_compiler" >&6; }
1939 # Is the header present?
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1941 $as_echo_n "checking $2 presence... " >&6; }
1942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1943 /* end confdefs.h. */
1946 if ac_fn_c_try_cpp "$LINENO"; then :
1947 ac_header_preproc=yes
1949 ac_header_preproc=no
1951 rm -f conftest.err conftest.i conftest.$ac_ext
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1953 $as_echo "$ac_header_preproc" >&6; }
1955 # So? What about this header?
1956 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1959 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1961 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1965 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1967 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1969 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1971 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1973 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1977 $as_echo_n "checking for $2... " >&6; }
1978 if eval \${$3+:} false; then :
1979 $as_echo_n "(cached) " >&6
1981 eval "$3=\$ac_header_compiler"
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1985 $as_echo "$ac_res" >&6; }
1987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1989 } # ac_fn_c_check_header_mongrel
1991 # ac_fn_c_try_run LINENO
1992 # ----------------------
1993 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1994 # that executables *can* be run.
1997 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1998 if { { ac_try="$ac_link"
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_link") 2>&5
2007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2008 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2009 { { case "(($ac_try" in
2010 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2011 *) ac_try_echo=$ac_try;;
2013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2014 $as_echo "$ac_try_echo"; } >&5
2015 (eval "$ac_try") 2>&5
2017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2018 test $ac_status = 0; }; }; then :
2021 $as_echo "$as_me: program exited with status $ac_status" >&5
2022 $as_echo "$as_me: failed program was:" >&5
2023 sed 's/^/| /' conftest.$ac_ext >&5
2025 ac_retval=$ac_status
2027 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2029 as_fn_set_status $ac_retval
2033 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2034 # -------------------------------------------------------
2035 # Tests whether HEADER exists and can be compiled using the include files in
2036 # INCLUDES, setting the cache variable VAR accordingly.
2037 ac_fn_c_check_header_compile ()
2039 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2041 $as_echo_n "checking for $2... " >&6; }
2042 if eval \${$3+:} false; then :
2043 $as_echo_n "(cached) " >&6
2045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2046 /* end confdefs.h. */
2050 if ac_fn_c_try_compile "$LINENO"; then :
2055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2059 $as_echo "$ac_res" >&6; }
2060 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2062 } # ac_fn_c_check_header_compile
2064 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2065 # ----------------------------------------------------
2066 # Tries to find if the field MEMBER exists in type AGGR, after including
2067 # INCLUDES, setting cache variable VAR accordingly.
2068 ac_fn_c_check_member ()
2070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2072 $as_echo_n "checking for $2.$3... " >&6; }
2073 if eval \${$4+:} false; then :
2074 $as_echo_n "(cached) " >&6
2076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2077 /* end confdefs.h. */
2089 if ac_fn_c_try_compile "$LINENO"; then :
2092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h. */
2099 if (sizeof ac_aggr.$3)
2105 if ac_fn_c_try_compile "$LINENO"; then :
2110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2116 $as_echo "$ac_res" >&6; }
2117 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2119 } # ac_fn_c_check_member
2121 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2122 # ---------------------------------------------
2123 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2125 ac_fn_c_check_decl ()
2127 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2128 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2129 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2131 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2132 if eval \${$3+:} false; then :
2133 $as_echo_n "(cached) " >&6
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2141 #ifndef $as_decl_name
2143 (void) $as_decl_use;
2145 (void) $as_decl_name;
2153 if ac_fn_c_try_compile "$LINENO"; then :
2158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2162 $as_echo "$ac_res" >&6; }
2163 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2165 } # ac_fn_c_check_decl
2167 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2168 # -------------------------------------------
2169 # Tests whether TYPE exists after having included INCLUDES, setting cache
2170 # variable VAR accordingly.
2171 ac_fn_c_check_type ()
2173 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2175 $as_echo_n "checking for $2... " >&6; }
2176 if eval \${$3+:} false; then :
2177 $as_echo_n "(cached) " >&6
2180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2181 /* end confdefs.h. */
2192 if ac_fn_c_try_compile "$LINENO"; then :
2193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2194 /* end confdefs.h. */
2205 if ac_fn_c_try_compile "$LINENO"; then :
2210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2216 $as_echo "$ac_res" >&6; }
2217 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2219 } # ac_fn_c_check_type
2221 # ac_fn_c_check_func LINENO FUNC VAR
2222 # ----------------------------------
2223 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2224 ac_fn_c_check_func ()
2226 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2228 $as_echo_n "checking for $2... " >&6; }
2229 if eval \${$3+:} false; then :
2230 $as_echo_n "(cached) " >&6
2232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h. */
2234 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2236 #define $2 innocuous_$2
2238 /* System header to define __stub macros and hopefully few prototypes,
2239 which can conflict with char $2 (); below.
2240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2241 <limits.h> exists even on freestanding compilers. */
2244 # include <limits.h>
2246 # include <assert.h>
2251 /* Override any GCC internal prototype to avoid an error.
2252 Use char because int might match the return type of a GCC
2253 builtin and then its argument prototype would still apply. */
2258 /* The GNU C library defines this for functions which it implements
2259 to always fail with ENOSYS. Some functions are actually named
2260 something starting with __ and the normal name is an alias. */
2261 #if defined __stub_$2 || defined __stub___$2
2273 if ac_fn_c_try_link "$LINENO"; then :
2278 rm -f core conftest.err conftest.$ac_objext \
2279 conftest$ac_exeext conftest.$ac_ext
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2283 $as_echo "$ac_res" >&6; }
2284 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2286 } # ac_fn_c_check_func
2287 cat >config.log <<_ACEOF
2288 This file contains any messages produced by compilers while
2289 running configure, to aid debugging if configure makes a mistake.
2291 It was created by $as_me, which was
2292 generated by GNU Autoconf 2.69. Invocation command line was
2304 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2305 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2306 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2307 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2308 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2310 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2311 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2313 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2314 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2315 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2316 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2317 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2318 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2319 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327 test -z "$as_dir" && as_dir=.
2328 $as_echo "PATH: $as_dir"
2344 # Keep a trace of the command line.
2345 # Strip out --no-create and --no-recursion so they do not pile up.
2346 # Strip out --silent because we don't want to record it for future runs.
2347 # Also quote any args containing shell meta-characters.
2348 # Make two passes to allow for proper duplicate-argument suppression.
2352 ac_must_keep_next=false
2358 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2359 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2360 | -silent | --silent | --silen | --sile | --sil)
2363 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2366 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2368 as_fn_append ac_configure_args1 " '$ac_arg'"
2369 if test $ac_must_keep_next = true; then
2370 ac_must_keep_next=false # Got value, back to normal.
2373 *=* | --config-cache | -C | -disable-* | --disable-* \
2374 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2375 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2376 | -with-* | --with-* | -without-* | --without-* | --x)
2377 case "$ac_configure_args0 " in
2378 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2381 -* ) ac_must_keep_next=true ;;
2384 as_fn_append ac_configure_args " '$ac_arg'"
2389 { ac_configure_args0=; unset ac_configure_args0;}
2390 { ac_configure_args1=; unset ac_configure_args1;}
2392 # When interrupted or exit'd, cleanup temporary files, and complete
2393 # config.log. We remove comments because anyway the quotes in there
2394 # would cause problems or look ugly.
2395 # WARNING: Use '\'' to represent an apostrophe within the trap.
2396 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2397 trap 'exit_status=$?
2398 # Save into config.log some information that might help in debugging.
2402 $as_echo "## ---------------- ##
2403 ## Cache variables. ##
2404 ## ---------------- ##"
2406 # The following way of writing the cache mishandles newlines in values,
2408 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2409 eval ac_val=\$$ac_var
2413 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2414 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2417 _ | IFS | as_nl) ;; #(
2418 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2419 *) { eval $ac_var=; unset $ac_var;} ;;
2424 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2425 *${as_nl}ac_space=\ *)
2427 "s/'\''/'\''\\\\'\'''\''/g;
2428 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2431 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2438 $as_echo "## ----------------- ##
2439 ## Output variables. ##
2440 ## ----------------- ##"
2442 for ac_var in $ac_subst_vars
2444 eval ac_val=\$$ac_var
2446 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2448 $as_echo "$ac_var='\''$ac_val'\''"
2452 if test -n "$ac_subst_files"; then
2453 $as_echo "## ------------------- ##
2454 ## File substitutions. ##
2455 ## ------------------- ##"
2457 for ac_var in $ac_subst_files
2459 eval ac_val=\$$ac_var
2461 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2463 $as_echo "$ac_var='\''$ac_val'\''"
2468 if test -s confdefs.h; then
2469 $as_echo "## ----------- ##
2476 test "$ac_signal" != 0 &&
2477 $as_echo "$as_me: caught signal $ac_signal"
2478 $as_echo "$as_me: exit $exit_status"
2480 rm -f core *.core core.conftest.* &&
2481 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2484 for ac_signal in 1 2 13 15; do
2485 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2489 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2490 rm -f -r conftest* confdefs.h
2492 $as_echo "/* confdefs.h */" > confdefs.h
2494 # Predefined preprocessor variables.
2496 cat >>confdefs.h <<_ACEOF
2497 #define PACKAGE_NAME "$PACKAGE_NAME"
2500 cat >>confdefs.h <<_ACEOF
2501 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2504 cat >>confdefs.h <<_ACEOF
2505 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2508 cat >>confdefs.h <<_ACEOF
2509 #define PACKAGE_STRING "$PACKAGE_STRING"
2512 cat >>confdefs.h <<_ACEOF
2513 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2516 cat >>confdefs.h <<_ACEOF
2517 #define PACKAGE_URL "$PACKAGE_URL"
2521 # Let the site file select an alternate cache file if it wants to.
2522 # Prefer an explicitly selected file to automatically selected ones.
2525 if test -n "$CONFIG_SITE"; then
2526 # We do not want a PATH search for config.site.
2527 case $CONFIG_SITE in #((
2528 -*) ac_site_file1=./$CONFIG_SITE;;
2529 */*) ac_site_file1=$CONFIG_SITE;;
2530 *) ac_site_file1=./$CONFIG_SITE;;
2532 elif test "x$prefix" != xNONE; then
2533 ac_site_file1=$prefix/share/config.site
2534 ac_site_file2=$prefix/etc/config.site
2536 ac_site_file1=$ac_default_prefix/share/config.site
2537 ac_site_file2=$ac_default_prefix/etc/config.site
2539 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2541 test "x$ac_site_file" = xNONE && continue
2542 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2544 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2545 sed 's/^/| /' "$ac_site_file" >&5
2547 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2549 as_fn_error $? "failed to load site
script $ac_site_file
2550 See \
`config.log' for more details" "$LINENO" 5; }
2554 if test -r "$cache_file"; then
2555 # Some versions of bash will fail to source /dev/null (special files
2556 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2557 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2559 $as_echo "$as_me: loading cache $cache_file" >&6;}
2561 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2562 *) . "./$cache_file";;
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2567 $as_echo "$as_me: creating cache $cache_file" >&6;}
2571 as_fn_append ac_header_list " stdlib.h"
2572 as_fn_append ac_header_list " unistd.h"
2573 as_fn_append ac_header_list " sys/param.h"
2574 # Check that the precious variables saved in the cache have kept the same
2576 ac_cache_corrupted=false
2577 for ac_var in $ac_precious_vars; do
2578 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2579 eval ac_new_set=\$ac_env_${ac_var}_set
2580 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2581 eval ac_new_val=\$ac_env_${ac_var}_value
2582 case $ac_old_set,$ac_new_set in
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2585 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2586 ac_cache_corrupted=: ;;
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2589 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2590 ac_cache_corrupted=: ;;
2593 if test "x$ac_old_val" != "x$ac_new_val"; then
2594 # differences in whitespace do not lead to failure.
2595 ac_old_val_w=`echo x
$ac_old_val`
2596 ac_new_val_w=`echo x
$ac_new_val`
2597 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2599 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2600 ac_cache_corrupted=:
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2603 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2604 eval $ac_var=\$ac_old_val
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2607 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2609 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2612 # Pass precious variables to config.status.
2613 if test "$ac_new_set" = set; then
2615 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2616 *) ac_arg=$ac_var=$ac_new_val ;;
2618 case " $ac_configure_args " in
2619 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2620 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2624 if $ac_cache_corrupted; then
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2628 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2629 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2631 ## -------------------- ##
2632 ## Main body of script. ##
2633 ## -------------------- ##
2636 ac_cpp='$CPP $CPPFLAGS'
2637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2644 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2645 if test -f "$ac_dir/install-sh"; then
2647 ac_install_sh="$ac_aux_dir/install-sh -c"
2649 elif test -f "$ac_dir/install.sh"; then
2651 ac_install_sh="$ac_aux_dir/install.sh -c"
2653 elif test -f "$ac_dir/shtool"; then
2655 ac_install_sh="$ac_aux_dir/shtool install -c"
2659 if test -z "$ac_aux_dir"; then
2660 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2663 # These three variables are undocumented and unsupported,
2664 # and are intended to be withdrawn in a future Autoconf release.
2665 # They can cause serious problems if a builder's source tree is in a directory
2666 # whose full name contains unusual characters.
2667 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2668 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2669 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2673 # Check what host we are running on.
2674 # If a target is not suggested, we use this one.
2675 # Note that what we call a target, Autoconf calls a host.
2676 # Make sure we can run config.sub.
2677 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2678 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2681 $as_echo_n "checking build system type... " >&6; }
2682 if ${ac_cv_build+:} false; then :
2683 $as_echo_n "(cached) " >&6
2685 ac_build_alias=$build_alias
2686 test "x$ac_build_alias" = x &&
2687 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2688 test "x$ac_build_alias" = x &&
2689 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2690 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2691 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2695 $as_echo "$ac_cv_build" >&6; }
2696 case $ac_cv_build in
2698 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2701 ac_save_IFS=$IFS; IFS='-'
2707 # Remember, the first character of IFS is used to create $*,
2708 # except with old shells:
2711 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2715 $as_echo_n "checking host system type... " >&6; }
2716 if ${ac_cv_host+:} false; then :
2717 $as_echo_n "(cached) " >&6
2719 if test "x$host_alias" = x; then
2720 ac_cv_host=$ac_cv_build
2722 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2723 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2728 $as_echo "$ac_cv_host" >&6; }
2731 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2734 ac_save_IFS=$IFS; IFS='-'
2740 # Remember, the first character of IFS is used to create $*,
2741 # except with old shells:
2744 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2748 # The AROS target is slightly different to the normal GNU style
2749 # format. We don't have the middle part, and we reverse the order
2750 # of the $(CPU) and $(OS) bits.
2752 # Don't strip the version of the target yet, it might be
2753 # useful on some systems.
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2756 $as_echo_n "checking for AROS style target... " >&6; }
2758 if test "$target" = "NONE" ; then
2759 target=$host_os-$host_cpu
2761 if test "$target" = "" ; then
2762 target=$host_os-$host_cpu
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2766 $as_echo "$target" >&6; }
2768 if test "$host_os" = "mingw32" ; then
2772 # Don't know where else to put this...
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2774 $as_echo_n "checking building AROS in... " >&6; }
2775 AROS_BUILDDIR=`${PWDCMD-pwd}`
2776 AROS_BUILDDIR_UNIX=${PWD}
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2778 $as_echo "$AROS_BUILDDIR" >&6; }
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2781 $as_echo_n "checking AROS source in... " >&6; }
2782 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2785 $as_echo "$SRCDIR" >&6; }
2787 # Parse the target field into something useful.
2789 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2790 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2793 # Some debug output, to be removed again.
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2795 $as_echo_n "checking for target system (debug output)... " >&6; }
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2797 $as_echo "$target_os" >&6; }
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2799 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2801 $as_echo "$target_cpu" >&6; }
2803 aros_default_wbwidth=800
2804 aros_default_wbheight=600
2805 aros_default_wbdepth=4
2808 # The first step is to find the host binaries.
2809 # Check for a compiler.
2810 # Due to a bug in autoconf check for c++ compiler first.
2811 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2813 ac_cpp='$CXXCPP $CPPFLAGS'
2814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2817 if test -z "$CXX"; then
2818 if test -n "$CCC"; then
2821 if test -n "$ac_tool_prefix"; then
2822 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2825 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827 $as_echo_n "checking for $ac_word... " >&6; }
2828 if ${ac_cv_prog_CXX+:} false; then :
2829 $as_echo_n "(cached) " >&6
2831 if test -n "$CXX"; then
2832 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir=.
2839 for ac_exec_ext in '' $ac_executable_extensions; do
2840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2852 if test -n "$CXX"; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2854 $as_echo "$CXX" >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2861 test -n "$CXX" && break
2864 if test -z "$CXX"; then
2866 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2868 # Extract the first word of "$ac_prog", so it can be a program name with args.
2869 set dummy $ac_prog; ac_word=$2
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2871 $as_echo_n "checking for $ac_word... " >&6; }
2872 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2873 $as_echo_n "(cached) " >&6
2875 if test -n "$ac_ct_CXX"; then
2876 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2882 test -z "$as_dir" && as_dir=.
2883 for ac_exec_ext in '' $ac_executable_extensions; do
2884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2885 ac_cv_prog_ac_ct_CXX="$ac_prog"
2886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2895 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2896 if test -n "$ac_ct_CXX"; then
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2898 $as_echo "$ac_ct_CXX" >&6; }
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2901 $as_echo "no" >&6; }
2905 test -n "$ac_ct_CXX" && break
2908 if test "x$ac_ct_CXX" = x; then
2911 case $cross_compiling:$ac_tool_warned in
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2915 ac_tool_warned=yes ;;
2923 # Provide some information about the compiler.
2924 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2927 for ac_option in --version -v -V -qversion; do
2928 { { ac_try="$ac_compiler $ac_option >&5"
2930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2931 *) ac_try_echo
=$ac_try;;
2933 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2934 $as_echo "$ac_try_echo"; } >&5
2935 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2937 if test -s conftest.err
; then
2939 ... rest of stderr output deleted ...
2940 10q' conftest.err
>conftest.er1
2941 cat conftest.er1
>&5
2943 rm -f conftest.er1 conftest.err
2944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2945 test $ac_status = 0; }
2948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2949 /* end confdefs.h. */
2959 ac_clean_files_save
=$ac_clean_files
2960 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2961 # Try to create an executable without -o first, disregard a.out.
2962 # It will help us diagnose broken compilers, and finding out an intuition
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2965 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2966 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2968 # The possible output files:
2969 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2972 for ac_file
in $ac_files
2975 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2976 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2981 if { { ac_try
="$ac_link_default"
2983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2987 $as_echo "$ac_try_echo"; } >&5
2988 (eval "$ac_link_default") 2>&5
2990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2991 test $ac_status = 0; }; then :
2992 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2993 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2994 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2995 # so that the user can short-circuit this test for compilers unknown to
2997 for ac_file in $ac_files ''
2999 test -f "$ac_file" || continue
3001 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3004 # We found the default executable, but exeext='' is most
3008 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3010 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3012 # We set ac_cv_exeext here because the later test for it is not
3013 # safe: cross compilers may not add the suffix if given an `-o'
3014 # argument, so we may need to know it at that point already.
3015 # Even if this section looks crufty: it has the advantage of
3022 test "$ac_cv_exeext" = no && ac_cv_exeext=
3027 if test -z "$ac_file"; then :
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029 $as_echo "no" >&6; }
3030 $as_echo "$as_me: failed program was:" >&5
3031 sed 's
/^
/|
/' conftest.$ac_ext >&5
3033 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3034 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3035 as_fn_error 77 "C++ compiler cannot create executables
3036 See \`config.log
' for more details" "$LINENO" 5; }
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3039 $as_echo "yes" >&6; }
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3042 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3044 $as_echo "$ac_file" >&6; }
3045 ac_exeext=$ac_cv_exeext
3047 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3048 ac_clean_files=$ac_clean_files_save
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3050 $as_echo_n "checking for suffix of executables... " >&6; }
3051 if { { ac_try="$ac_link"
3053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3054 *) ac_try_echo=$ac_try;;
3056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3057 $as_echo "$ac_try_echo"; } >&5
3058 (eval "$ac_link") 2>&5
3060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3061 test $ac_status = 0; }; then :
3062 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3063 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3064 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3066 for ac_file
in conftest.exe conftest conftest.
*; do
3067 test -f "$ac_file" ||
continue
3069 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3070 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3078 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3079 See \`config.log' for more details" "$LINENO" 5; }
3081 rm -f conftest conftest
$ac_cv_exeext
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3083 $as_echo "$ac_cv_exeext" >&6; }
3085 rm -f conftest.
$ac_ext
3086 EXEEXT
=$ac_cv_exeext
3088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3089 /* end confdefs.h. */
3094 FILE *f = fopen ("conftest.out", "w");
3095 return ferror (f) || fclose (f) != 0;
3101 ac_clean_files
="$ac_clean_files conftest.out"
3102 # Check that the compiler produces executables we can run. If not, either
3103 # the compiler is broken, or we cross compile.
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3105 $as_echo_n "checking whether we are cross compiling... " >&6; }
3106 if test "$cross_compiling" != yes; then
3107 { { ac_try
="$ac_link"
3109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3113 $as_echo "$ac_try_echo"; } >&5
3114 (eval "$ac_link") 2>&5
3116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3117 test $ac_status = 0; }
3118 if { ac_try='./conftest$ac_cv_exeext'
3119 { { case "(($ac_try" in
3120 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3121 *) ac_try_echo
=$ac_try;;
3123 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3124 $as_echo "$ac_try_echo"; } >&5
3125 (eval "$ac_try") 2>&5
3127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3128 test $ac_status = 0; }; }; then
3131 if test "$cross_compiling" = maybe
; then
3134 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3136 as_fn_error $?
"cannot run C++ compiled programs.
3137 If you meant to cross compile, use \`--host'.
3138 See \`config.log' for more details" "$LINENO" 5; }
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3143 $as_echo "$cross_compiling" >&6; }
3145 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3146 ac_clean_files
=$ac_clean_files_save
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3148 $as_echo_n "checking for suffix of object files... " >&6; }
3149 if ${ac_cv_objext+:} false
; then :
3150 $as_echo_n "(cached) " >&6
3152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3153 /* end confdefs.h. */
3163 rm -f conftest.o conftest.obj
3164 if { { ac_try
="$ac_compile"
3166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3170 $as_echo "$ac_try_echo"; } >&5
3171 (eval "$ac_compile") 2>&5
3173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3174 test $ac_status = 0; }; then :
3175 for ac_file in conftest.o conftest.obj conftest.*; do
3176 test -f "$ac_file" || continue;
3178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3179 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3184 $as_echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.$ac_ext >&5
3187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3189 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3190 See \
`config.log' for more details" "$LINENO" 5; }
3192 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3195 $as_echo "$ac_cv_objext" >&6; }
3196 OBJEXT=$ac_cv_objext
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3199 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3200 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3201 $as_echo_n "(cached) " >&6
3203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3204 /* end confdefs.h. */
3217 if ac_fn_cxx_try_compile "$LINENO"; then :
3222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3227 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3228 if test $ac_compiler_gnu = yes; then
3233 ac_test_CXXFLAGS=${CXXFLAGS+set}
3234 ac_save_CXXFLAGS=$CXXFLAGS
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3236 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3237 if ${ac_cv_prog_cxx_g+:} false; then :
3238 $as_echo_n "(cached) " >&6
3240 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3241 ac_cxx_werror_flag=yes
3244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3245 /* end confdefs.h. */
3255 if ac_fn_cxx_try_compile "$LINENO"; then :
3256 ac_cv_prog_cxx_g=yes
3259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260 /* end confdefs.h. */
3270 if ac_fn_cxx_try_compile "$LINENO"; then :
3273 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3286 if ac_fn_cxx_try_compile "$LINENO"; then :
3287 ac_cv_prog_cxx_g=yes
3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3297 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3298 if test "$ac_test_CXXFLAGS" = set; then
3299 CXXFLAGS=$ac_save_CXXFLAGS
3300 elif test $ac_cv_prog_cxx_g = yes; then
3301 if test "$GXX" = yes; then
3307 if test "$GXX" = yes; then
3314 ac_cpp='$CPP $CPPFLAGS'
3315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3320 ac_cpp='$CPP $CPPFLAGS'
3321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3324 if test -n "$ac_tool_prefix"; then
3325 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3326 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3328 $as_echo_n "checking for $ac_word... " >&6; }
3329 if ${ac_cv_prog_CC+:} false; then :
3330 $as_echo_n "(cached) " >&6
3332 if test -n "$CC"; then
3333 ac_cv_prog_CC="$CC" # Let the user override the test.
3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339 test -z "$as_dir" && as_dir=.
3340 for ac_exec_ext in '' $ac_executable_extensions; do
3341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3342 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3353 if test -n "$CC"; then
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3355 $as_echo "$CC" >&6; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358 $as_echo "no" >&6; }
3363 if test -z "$ac_cv_prog_CC"; then
3365 # Extract the first word of "gcc", so it can be a program name with args.
3366 set dummy gcc; ac_word=$2
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3368 $as_echo_n "checking for $ac_word... " >&6; }
3369 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3370 $as_echo_n "(cached) " >&6
3372 if test -n "$ac_ct_CC"; then
3373 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 test -z "$as_dir" && as_dir=.
3380 for ac_exec_ext in '' $ac_executable_extensions; do
3381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3382 ac_cv_prog_ac_ct_CC="gcc"
3383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3392 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3393 if test -n "$ac_ct_CC"; then
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3395 $as_echo "$ac_ct_CC" >&6; }
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3398 $as_echo "no" >&6; }
3401 if test "x$ac_ct_CC" = x; then
3404 case $cross_compiling:$ac_tool_warned in
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3408 ac_tool_warned=yes ;;
3416 if test -z "$CC"; then
3417 if test -n "$ac_tool_prefix"; then
3418 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3419 set dummy ${ac_tool_prefix}cc; ac_word=$2
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3421 $as_echo_n "checking for $ac_word... " >&6; }
3422 if ${ac_cv_prog_CC+:} false; then :
3423 $as_echo_n "(cached) " >&6
3425 if test -n "$CC"; then
3426 ac_cv_prog_CC="$CC" # Let the user override the test.
3428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3432 test -z "$as_dir" && as_dir=.
3433 for ac_exec_ext in '' $ac_executable_extensions; do
3434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3435 ac_cv_prog_CC="${ac_tool_prefix}cc"
3436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3446 if test -n "$CC"; then
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3448 $as_echo "$CC" >&6; }
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3451 $as_echo "no" >&6; }
3457 if test -z "$CC"; then
3458 # Extract the first word of "cc", so it can be a program name with args.
3459 set dummy cc; ac_word=$2
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3461 $as_echo_n "checking for $ac_word... " >&6; }
3462 if ${ac_cv_prog_CC+:} false; then :
3463 $as_echo_n "(cached) " >&6
3465 if test -n "$CC"; then
3466 ac_cv_prog_CC="$CC" # Let the user override the test.
3469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3473 test -z "$as_dir" && as_dir=.
3474 for ac_exec_ext in '' $ac_executable_extensions; do
3475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3476 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3477 ac_prog_rejected=yes
3481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3488 if test $ac_prog_rejected = yes; then
3489 # We found a bogon in the path, so make sure we never use it.
3490 set dummy $ac_cv_prog_CC
3492 if test $# != 0; then
3493 # We chose a different compiler from the bogus one.
3494 # However, it has the same basename, so the bogon will be chosen
3495 # first if we set CC to just the basename; use the full file name.
3497 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3503 if test -n "$CC"; then
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3505 $as_echo "$CC" >&6; }
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3508 $as_echo "no" >&6; }
3513 if test -z "$CC"; then
3514 if test -n "$ac_tool_prefix"; then
3515 for ac_prog in cl.exe
3517 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3518 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3520 $as_echo_n "checking for $ac_word... " >&6; }
3521 if ${ac_cv_prog_CC+:} false; then :
3522 $as_echo_n "(cached) " >&6
3524 if test -n "$CC"; then
3525 ac_cv_prog_CC="$CC" # Let the user override the test.
3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3531 test -z "$as_dir" && as_dir=.
3532 for ac_exec_ext in '' $ac_executable_extensions; do
3533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3534 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3545 if test -n "$CC"; then
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3547 $as_echo "$CC" >&6; }
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3550 $as_echo "no" >&6; }
3554 test -n "$CC" && break
3557 if test -z "$CC"; then
3559 for ac_prog in cl.exe
3561 # Extract the first word of "$ac_prog", so it can be a program name with args.
3562 set dummy $ac_prog; ac_word=$2
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3564 $as_echo_n "checking for $ac_word... " >&6; }
3565 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3566 $as_echo_n "(cached) " >&6
3568 if test -n "$ac_ct_CC"; then
3569 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 test -z "$as_dir" && as_dir=.
3576 for ac_exec_ext in '' $ac_executable_extensions; do
3577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3578 ac_cv_prog_ac_ct_CC="$ac_prog"
3579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3588 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3589 if test -n "$ac_ct_CC"; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3591 $as_echo "$ac_ct_CC" >&6; }
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3594 $as_echo "no" >&6; }
3598 test -n "$ac_ct_CC" && break
3601 if test "x$ac_ct_CC" = x; then
3604 case $cross_compiling:$ac_tool_warned in
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3608 ac_tool_warned=yes ;;
3617 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3619 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3620 See \
`config.log' for more details" "$LINENO" 5; }
3622 # Provide some information about the compiler.
3623 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3626 for ac_option in --version -v -V -qversion; do
3627 { { ac_try="$ac_compiler $ac_option >&5"
3629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3630 *) ac_try_echo
=$ac_try;;
3632 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3633 $as_echo "$ac_try_echo"; } >&5
3634 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3636 if test -s conftest.err
; then
3638 ... rest of stderr output deleted ...
3639 10q' conftest.err
>conftest.er1
3640 cat conftest.er1
>&5
3642 rm -f conftest.er1 conftest.err
3643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3644 test $ac_status = 0; }
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3648 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3649 if ${ac_cv_c_compiler_gnu+:} false
; then :
3650 $as_echo_n "(cached) " >&6
3652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3653 /* end confdefs.h. */
3666 if ac_fn_c_try_compile
"$LINENO"; then :
3671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3672 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3676 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3677 if test $ac_compiler_gnu = yes; then
3682 ac_test_CFLAGS
=${CFLAGS+set}
3683 ac_save_CFLAGS
=$CFLAGS
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3685 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3686 if ${ac_cv_prog_cc_g+:} false
; then :
3687 $as_echo_n "(cached) " >&6
3689 ac_save_c_werror_flag
=$ac_c_werror_flag
3690 ac_c_werror_flag
=yes
3693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3694 /* end confdefs.h. */
3704 if ac_fn_c_try_compile
"$LINENO"; then :
3708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3709 /* end confdefs.h. */
3719 if ac_fn_c_try_compile
"$LINENO"; then :
3722 ac_c_werror_flag
=$ac_save_c_werror_flag
3724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3735 if ac_fn_c_try_compile
"$LINENO"; then :
3738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3743 ac_c_werror_flag
=$ac_save_c_werror_flag
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3746 $as_echo "$ac_cv_prog_cc_g" >&6; }
3747 if test "$ac_test_CFLAGS" = set; then
3748 CFLAGS
=$ac_save_CFLAGS
3749 elif test $ac_cv_prog_cc_g = yes; then
3750 if test "$GCC" = yes; then
3756 if test "$GCC" = yes; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3763 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3764 if ${ac_cv_prog_cc_c89+:} false
; then :
3765 $as_echo_n "(cached) " >&6
3767 ac_cv_prog_cc_c89
=no
3769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3770 /* end confdefs.h. */
3774 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3775 struct buf { int x; };
3776 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3777 static char *e (p, i)
3783 static char *f (char * (*g) (char **, int), char **p, ...)
3788 s = g (p, va_arg (v,int));
3793 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3794 function prototypes and stuff, but not '\xHH' hex character constants.
3795 These don't provoke an error unfortunately, instead are silently treated
3796 as 'x'. The following induces an error, until -std is added to get
3797 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3798 array size at least. It's necessary to write '\x00'==0 to get something
3799 that's true only with -std. */
3800 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3802 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3803 inside strings and character constants. */
3805 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3807 int test (int i, double x);
3808 struct s1 {int (*f) (int a);};
3809 struct s2 {int (*f) (double a);};
3810 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3816 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3821 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3822 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3824 CC
="$ac_save_CC $ac_arg"
3825 if ac_fn_c_try_compile
"$LINENO"; then :
3826 ac_cv_prog_cc_c89
=$ac_arg
3828 rm -f core conftest.err conftest.
$ac_objext
3829 test "x$ac_cv_prog_cc_c89" != "xno" && break
3831 rm -f conftest.
$ac_ext
3836 case "x$ac_cv_prog_cc_c89" in
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3839 $as_echo "none needed" >&6; } ;;
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3842 $as_echo "unsupported" >&6; } ;;
3844 CC
="$CC $ac_cv_prog_cc_c89"
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3846 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3848 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3853 ac_cpp
='$CPP $CPPFLAGS'
3854 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3855 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3856 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3858 case $ac_cv_prog_cc_stdc in #(
3860 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3863 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3864 if ${ac_cv_prog_cc_c99+:} false
; then :
3865 $as_echo_n "(cached) " >&6
3867 ac_cv_prog_cc_c99
=no
3869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3872 #include <stdbool.h>
3877 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3878 #define debug(...) fprintf (stderr, __VA_ARGS__)
3879 #define showlist(...) puts (#__VA_ARGS__)
3880 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3882 test_varargs_macros (void)
3887 debug ("X = %d\n", x);
3888 showlist (The first, second, and third items.);
3889 report (x>y, "x is %d but y is %d", x, y);
3892 // Check long long types.
3893 #define BIG64 18446744073709551615ull
3894 #define BIG32 4294967295ul
3895 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3897 your preprocessor is broken;
3901 your preprocessor is broken;
3903 static long long int bignum = -9223372036854775807LL;
3904 static unsigned long long int ubignum = BIG64;
3906 struct incomplete_array
3914 const wchar_t *name;
3918 typedef const char *ccp;
3921 test_restrict (ccp restrict text)
3923 // See if C++-style comments work.
3924 // Iterate through items via the restricted pointer.
3925 // Also check for declarations in for loops.
3926 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3931 // Check varargs and va_copy.
3933 test_varargs (const char *format, ...)
3936 va_start (args, format);
3938 va_copy (args_copy, args);
3949 str = va_arg (args_copy, const char *);
3952 number = va_arg (args_copy, int);
3955 fnumber = va_arg (args_copy, double);
3970 _Bool success = false;
3973 if (test_restrict ("String literal") == 0)
3975 char *restrict newvar = "Another string";
3978 test_varargs ("s, d' f .", "string", 65, 34.234);
3979 test_varargs_macros ();
3981 // Check flexible array members.
3982 struct incomplete_array *ia =
3983 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3985 for (int i = 0; i < ia->datasize; ++i)
3986 ia->data[i] = i * 1.234;
3988 // Check named initializers.
3989 struct named_init ni = {
3991 .name = L"Test wide string",
3992 .average = 543.34343,
3997 int dynamic_array[ni.number];
3998 dynamic_array[ni.number - 1] = 543;
4000 // work around unused variable warnings
4001 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4002 || dynamic_array[ni.number - 1] != 543);
4008 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4010 CC
="$ac_save_CC $ac_arg"
4011 if ac_fn_c_try_compile
"$LINENO"; then :
4012 ac_cv_prog_cc_c99
=$ac_arg
4014 rm -f core conftest.err conftest.
$ac_objext
4015 test "x$ac_cv_prog_cc_c99" != "xno" && break
4017 rm -f conftest.
$ac_ext
4022 case "x$ac_cv_prog_cc_c99" in
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4025 $as_echo "none needed" >&6; } ;;
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4028 $as_echo "unsupported" >&6; } ;;
4030 CC
="$CC $ac_cv_prog_cc_c99"
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4032 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4034 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4035 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4038 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4039 if ${ac_cv_prog_cc_c89+:} false
; then :
4040 $as_echo_n "(cached) " >&6
4042 ac_cv_prog_cc_c89
=no
4044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4045 /* end confdefs.h. */
4049 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4050 struct buf { int x; };
4051 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4052 static char *e (p, i)
4058 static char *f (char * (*g) (char **, int), char **p, ...)
4063 s = g (p, va_arg (v,int));
4068 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4069 function prototypes and stuff, but not '\xHH' hex character constants.
4070 These don't provoke an error unfortunately, instead are silently treated
4071 as 'x'. The following induces an error, until -std is added to get
4072 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4073 array size at least. It's necessary to write '\x00'==0 to get something
4074 that's true only with -std. */
4075 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4077 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4078 inside strings and character constants. */
4080 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4082 int test (int i, double x);
4083 struct s1 {int (*f) (int a);};
4084 struct s2 {int (*f) (double a);};
4085 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4091 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4096 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4097 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4099 CC
="$ac_save_CC $ac_arg"
4100 if ac_fn_c_try_compile
"$LINENO"; then :
4101 ac_cv_prog_cc_c89
=$ac_arg
4103 rm -f core conftest.err conftest.
$ac_objext
4104 test "x$ac_cv_prog_cc_c89" != "xno" && break
4106 rm -f conftest.
$ac_ext
4111 case "x$ac_cv_prog_cc_c89" in
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4114 $as_echo "none needed" >&6; } ;;
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4117 $as_echo "unsupported" >&6; } ;;
4119 CC
="$CC $ac_cv_prog_cc_c89"
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4121 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4123 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4124 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4126 ac_cv_prog_cc_stdc
=no
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4133 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4134 if ${ac_cv_prog_cc_stdc+:} false
; then :
4135 $as_echo_n "(cached) " >&6
4138 case $ac_cv_prog_cc_stdc in #(
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4141 $as_echo "unsupported" >&6; } ;; #(
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4144 $as_echo "none needed" >&6; } ;; #(
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4147 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4151 ac_cpp
='$CPP $CPPFLAGS'
4152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4156 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4157 # On Suns, sometimes $CPP names a directory.
4158 if test -n "$CPP" && test -d "$CPP"; then
4161 if test -z "$CPP"; then
4162 if ${ac_cv_prog_CPP+:} false
; then :
4163 $as_echo_n "(cached) " >&6
4165 # Double quotes because CPP needs to be expanded
4166 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4169 for ac_c_preproc_warn_flag
in '' yes
4171 # Use a header file that comes with gcc, so configuring glibc
4172 # with a fresh cross-compiler works.
4173 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4174 # <limits.h> exists even on freestanding compilers.
4175 # On the NeXT, cc -E runs the code through the compiler's parser,
4176 # not just through cpp. "Syntax error" is here to catch this case.
4177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4180 # include <limits.h>
4182 # include <assert.h>
4186 if ac_fn_c_try_cpp
"$LINENO"; then :
4189 # Broken: fails on valid input.
4192 rm -f conftest.err conftest.i conftest.
$ac_ext
4194 # OK, works on sane cases. Now check whether nonexistent headers
4195 # can be detected and how.
4196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4198 #include <ac_nonexistent.h>
4200 if ac_fn_c_try_cpp
"$LINENO"; then :
4201 # Broken: success on invalid input.
4204 # Passes both tests.
4208 rm -f conftest.err conftest.i conftest.
$ac_ext
4211 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4212 rm -f conftest.i conftest.err conftest.
$ac_ext
4213 if $ac_preproc_ok; then :
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4226 $as_echo "$CPP" >&6; }
4228 for ac_c_preproc_warn_flag
in '' yes
4230 # Use a header file that comes with gcc, so configuring glibc
4231 # with a fresh cross-compiler works.
4232 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4233 # <limits.h> exists even on freestanding compilers.
4234 # On the NeXT, cc -E runs the code through the compiler's parser,
4235 # not just through cpp. "Syntax error" is here to catch this case.
4236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4239 # include <limits.h>
4241 # include <assert.h>
4245 if ac_fn_c_try_cpp
"$LINENO"; then :
4248 # Broken: fails on valid input.
4251 rm -f conftest.err conftest.i conftest.
$ac_ext
4253 # OK, works on sane cases. Now check whether nonexistent headers
4254 # can be detected and how.
4255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4257 #include <ac_nonexistent.h>
4259 if ac_fn_c_try_cpp
"$LINENO"; then :
4260 # Broken: success on invalid input.
4263 # Passes both tests.
4267 rm -f conftest.err conftest.i conftest.
$ac_ext
4270 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4271 rm -f conftest.i conftest.err conftest.
$ac_ext
4272 if $ac_preproc_ok; then :
4275 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4277 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4278 See \`config.log' for more details" "$LINENO" 5; }
4282 ac_cpp
='$CPP $CPPFLAGS'
4283 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4284 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4285 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4288 # Check for a compatible awk
4289 for ac_prog
in gawk nawk
4291 # Extract the first word of "$ac_prog", so it can be a program name with args.
4292 set dummy
$ac_prog; ac_word
=$2
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4294 $as_echo_n "checking for $ac_word... " >&6; }
4295 if ${ac_cv_prog_AWK+:} false
; then :
4296 $as_echo_n "(cached) " >&6
4298 if test -n "$AWK"; then
4299 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4305 test -z "$as_dir" && as_dir
=.
4306 for ac_exec_ext
in '' $ac_executable_extensions; do
4307 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4308 ac_cv_prog_AWK
="$ac_prog"
4309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4319 if test -n "$AWK"; then
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4321 $as_echo "$AWK" >&6; }
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4324 $as_echo "no" >&6; }
4328 test -n "$AWK" && break
4331 if test "$AWK" = ""; then
4332 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4334 # Extract the first word of "mmake", so it can be a program name with args.
4335 set dummy mmake
; ac_word
=$2
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337 $as_echo_n "checking for $ac_word... " >&6; }
4338 if ${ac_cv_prog_MMAKE+:} false
; then :
4339 $as_echo_n "(cached) " >&6
4341 if test -n "$MMAKE"; then
4342 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4348 test -z "$as_dir" && as_dir
=.
4349 for ac_exec_ext
in '' $ac_executable_extensions; do
4350 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4351 ac_cv_prog_MMAKE
="mmake "
4352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4361 MMAKE
=$ac_cv_prog_MMAKE
4362 if test -n "$MMAKE"; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4364 $as_echo "$MMAKE" >&6; }
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4367 $as_echo "no" >&6; }
4372 # Perform some default variable assignments. Note all of these will be
4373 # Regenerated from the script, so there is no need to cache them.
4375 aros_host_cpp
="$CPP"
4377 aros_host_cxx
="$CXX"
4378 if test "$GCC" = "yes"; then
4379 aros_gcc_ld
=`$CC -print-prog-name=ld`
4380 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4381 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4383 $as_echo_n "checking for $ac_word... " >&6; }
4384 if ${ac_cv_path_aros_host_ld+:} false
; then :
4385 $as_echo_n "(cached) " >&6
4387 case $aros_host_ld in
4389 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4393 for as_dir
in `dirname $aros_gcc_ld`
4396 test -z "$as_dir" && as_dir
=.
4397 for ac_exec_ext
in '' $ac_executable_extensions; do
4398 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4399 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 aros_host_ld
=$ac_cv_path_aros_host_ld
4411 if test -n "$aros_host_ld"; then
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4413 $as_echo "$aros_host_ld" >&6; }
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4416 $as_echo "no" >&6; }
4421 if test "$aros_host_ld" = ""; then
4422 # Extract the first word of "ld", so it can be a program name with args.
4423 set dummy ld
; ac_word
=$2
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4425 $as_echo_n "checking for $ac_word... " >&6; }
4426 if ${ac_cv_path_aros_host_ld+:} false
; then :
4427 $as_echo_n "(cached) " >&6
4429 case $aros_host_ld in
4431 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4438 test -z "$as_dir" && as_dir
=.
4439 for ac_exec_ext
in '' $ac_executable_extensions; do
4440 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4441 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4452 aros_host_ld
=$ac_cv_path_aros_host_ld
4453 if test -n "$aros_host_ld"; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4455 $as_echo "$aros_host_ld" >&6; }
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458 $as_echo "no" >&6; }
4463 if test "$aros_host_ld" = ""; then
4464 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4466 aros_host_make
="make"
4467 aros_host_cflags
=$CFLAGS
4468 aros_host_cxxflags
=$CXXFLAGS
4469 aros_host_ldflags
=$LDFLAGS
4470 aros_host_debug
="-g -O0"
4471 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4472 aros_host_mkargs
="--no-print-directory"
4473 aros_host_exe_suffix
="$EXEEXT"
4474 aros_host_lib_suffix
=""
4476 # Ignore all compliance, AROS ROMs = 0
4477 # KickStart v1.0 = 30
4478 # KickStart v1.3 = 34
4479 # KickStart v2.0 = 37
4480 # KickStart v3.0 = 39
4481 # KickStart v3.1 = 40
4483 aros_amigaos_compliance
=0
4485 for ac_prog
in aclocal aclocal19 aclocal-1.9
4487 # Extract the first word of "$ac_prog", so it can be a program name with args.
4488 set dummy
$ac_prog; ac_word
=$2
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4490 $as_echo_n "checking for $ac_word... " >&6; }
4491 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4492 $as_echo_n "(cached) " >&6
4494 if test -n "$aros_host_aclocal"; then
4495 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4501 test -z "$as_dir" && as_dir
=.
4502 for ac_exec_ext
in '' $ac_executable_extensions; do
4503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4504 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4514 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4515 if test -n "$aros_host_aclocal"; then
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4517 $as_echo "$aros_host_aclocal" >&6; }
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4520 $as_echo "no" >&6; }
4524 test -n "$aros_host_aclocal" && break
4527 for ac_prog
in autoconf autoconf259 autoconf253
4529 # Extract the first word of "$ac_prog", so it can be a program name with args.
4530 set dummy
$ac_prog; ac_word
=$2
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4532 $as_echo_n "checking for $ac_word... " >&6; }
4533 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4534 $as_echo_n "(cached) " >&6
4536 if test -n "$aros_host_autoconf"; then
4537 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4543 test -z "$as_dir" && as_dir
=.
4544 for ac_exec_ext
in '' $ac_executable_extensions; do
4545 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4546 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4556 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4557 if test -n "$aros_host_autoconf"; then
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4559 $as_echo "$aros_host_autoconf" >&6; }
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4562 $as_echo "no" >&6; }
4566 test -n "$aros_host_autoconf" && break
4569 for ac_prog
in autoheader autoheader259 autoheader253
4571 # Extract the first word of "$ac_prog", so it can be a program name with args.
4572 set dummy
$ac_prog; ac_word
=$2
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4574 $as_echo_n "checking for $ac_word... " >&6; }
4575 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4576 $as_echo_n "(cached) " >&6
4578 if test -n "$aros_host_autoheader"; then
4579 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4585 test -z "$as_dir" && as_dir
=.
4586 for ac_exec_ext
in '' $ac_executable_extensions; do
4587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4588 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4598 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4599 if test -n "$aros_host_autoheader"; then
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4601 $as_echo "$aros_host_autoheader" >&6; }
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4604 $as_echo "no" >&6; }
4608 test -n "$aros_host_autoheader" && break
4611 for ac_prog
in automake automake19 automake-1.9
4613 # Extract the first word of "$ac_prog", so it can be a program name with args.
4614 set dummy
$ac_prog; ac_word
=$2
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4616 $as_echo_n "checking for $ac_word... " >&6; }
4617 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4618 $as_echo_n "(cached) " >&6
4620 if test -n "$aros_host_automake"; then
4621 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4627 test -z "$as_dir" && as_dir
=.
4628 for ac_exec_ext
in '' $ac_executable_extensions; do
4629 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4630 ac_cv_prog_aros_host_automake
="$ac_prog"
4631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4640 aros_host_automake
=$ac_cv_prog_aros_host_automake
4641 if test -n "$aros_host_automake"; then
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4643 $as_echo "$aros_host_automake" >&6; }
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646 $as_echo "no" >&6; }
4650 test -n "$aros_host_automake" && break
4654 if test "$aros_host_aclocal" = ""; then
4655 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4657 if test "$aros_host_automake" = ""; then
4658 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4661 case "$aros_host_cc" in
4663 aros_host_cc_pipe
="-pipe"
4666 aros_host_cc_pipe
=""
4669 aros_host_cc_pipe
=""
4673 aros_kernel_cc_includes
=""
4674 aros_target_cc_includes
=""
4677 # ----------------------------------------------------------------------------------------
4678 # Host-specific defaults
4680 # This is the main host configuration section. It is where the host
4681 # can change the values of any variables it needs to change. We do
4682 # not look at anything that compiles to the target yet, we'll get
4687 aros_host_arch
="aros"
4688 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4691 aros_host_cpu
="i386"
4694 aros_host_cpu
="x86_64"
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4701 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4702 aros_host_cpu
="$host_cpu"
4708 aros_host_arch
="linux"
4709 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4710 android_build_os
="linux-x86"
4711 android_tool
="android"
4712 default_android_sdk
="/opt/android-sdk-linux_x86"
4715 aros_host_cpu
="i386"
4718 aros_host_cpu
="x86_64"
4721 aros_host_cpu
="m68k"
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4731 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4732 aros_host_cpu
="$host_cpu"
4738 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4739 aros_host_make
="gmake"
4740 aros_host_arch
="freebsd"
4741 aros_host_cpu
="i386"
4743 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4747 aros_object_format
="elf_i386"
4751 aros_object_format
="elf_i386_fbsd"
4758 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4759 aros_host_arch
="darwin"
4761 android_build_os
="darwin-x86"
4762 android_tool
="android"
4763 default_android_sdk
="/android-sdk-mac_x86"
4766 aros_host_cpu
="i386"
4769 aros_host_cpu
="x86_64"
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4776 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4777 aros_host_cpu
="$host_cpu"
4781 aros_host_ldflags
="$aros_host_ldflags -liconv"
4786 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4787 aros_host_make
="gmake"
4788 aros_host_arch
="dragonfly"
4791 aros_host_cpu
="i386"
4794 aros_host_cpu
="x86_64"
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4798 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4799 aros_host_cpu
="$host_cpu"
4805 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4806 aros_host_make
="gmake"
4807 aros_host_arch
="netbsd"
4810 aros_host_cpu
="i386"
4813 aros_host_cpu
="m68k"
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4817 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4818 aros_host_cpu
="$host_cpu"
4821 aros_host_lib_suffix
=".0.0"
4825 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4826 aros_host_make
="gmake"
4827 aros_host_arch
="openbsd"
4830 aros_host_cpu
="i386"
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4834 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4835 aros_host_cpu
="$host_cpu"
4841 aros_host_arch
="solaris"
4842 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4845 aros_host_cpu
="i386"
4848 aros_host_cpu
="sparc"
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4852 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4853 aros_host_cpu
="$host_cpu"
4859 aros_host_arch
="morphos"
4865 aros_host_arch
="amiga"
4871 TOUCH
="/gg/bin/touch"
4874 aros_host_cpu
="m68k"
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4881 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4882 aros_host_cpu
="$host_cpu"
4888 aros_host_arch
="cygwin"
4889 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4891 android_build_os
="windows"
4892 android_tool
="android.bat"
4893 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4897 aros_host_cpu
="i386"
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4901 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4902 aros_host_cpu
="$host_cpu"
4908 aros_host_arch
="mingw32"
4909 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4911 android_build_os
="windows"
4912 android_tool
="android.bat"
4913 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4919 $as_echo_n "checking for Windows native gcc target... " >&6; }
4920 host_cpu
=`gcc -dumpmachine`
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4922 $as_echo "$host_cpu" >&6; }
4929 aros_host_cpu
="i386"
4933 aros_host_cpu
="i386"
4937 aros_host_cpu
="x86_64"
4938 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4943 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4944 aros_host_cpu
="$host_cpu"
4949 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4953 # Extract the first word of "ar", so it can be a program name with args.
4954 set dummy
ar; ac_word
=$2
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4956 $as_echo_n "checking for $ac_word... " >&6; }
4957 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4958 $as_echo_n "(cached) " >&6
4960 if test -n "$aros_host_ar"; then
4961 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4967 test -z "$as_dir" && as_dir
=.
4968 for ac_exec_ext
in '' $ac_executable_extensions; do
4969 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4970 ac_cv_prog_aros_host_ar
="ar cr"
4971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 aros_host_ar
=$ac_cv_prog_aros_host_ar
4981 if test -n "$aros_host_ar"; then
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4983 $as_echo "$aros_host_ar" >&6; }
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986 $as_echo "no" >&6; }
4990 if test "$aros_host_ar" = ""; then
4991 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4993 # Extract the first word of "ranlib", so it can be a program name with args.
4994 set dummy ranlib
; ac_word
=$2
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 $as_echo_n "checking for $ac_word... " >&6; }
4997 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4998 $as_echo_n "(cached) " >&6
5000 if test -n "$aros_host_ranlib"; then
5001 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
5003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5007 test -z "$as_dir" && as_dir
=.
5008 for ac_exec_ext
in '' $ac_executable_extensions; do
5009 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5010 ac_cv_prog_aros_host_ranlib
="ranlib "
5011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5020 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
5021 if test -n "$aros_host_ranlib"; then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
5023 $as_echo "$aros_host_ranlib" >&6; }
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5026 $as_echo "no" >&6; }
5030 if test "$aros_host_ranlib" = ""; then
5031 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5033 # Extract the first word of "strip", so it can be a program name with args.
5034 set dummy strip
; ac_word
=$2
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5036 $as_echo_n "checking for $ac_word... " >&6; }
5037 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5038 $as_echo_n "(cached) " >&6
5040 if test -n "$aros_host_strip"; then
5041 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5047 test -z "$as_dir" && as_dir
=.
5048 for ac_exec_ext
in '' $ac_executable_extensions; do
5049 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5050 ac_cv_prog_aros_host_strip
="strip "
5051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5060 aros_host_strip
=$ac_cv_prog_aros_host_strip
5061 if test -n "$aros_host_strip"; then
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5063 $as_echo "$aros_host_strip" >&6; }
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5066 $as_echo "no" >&6; }
5070 if test "$aros_host_strip" = ""; then
5071 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5074 # Extract the first word of "rm", so it can be a program name with args.
5075 set dummy
rm; ac_word
=$2
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5077 $as_echo_n "checking for $ac_word... " >&6; }
5078 if ${ac_cv_prog_RM+:} false
; then :
5079 $as_echo_n "(cached) " >&6
5081 if test -n "$RM"; then
5082 ac_cv_prog_RM
="$RM" # Let the user override the test.
5084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5088 test -z "$as_dir" && as_dir
=.
5089 for ac_exec_ext
in '' $ac_executable_extensions; do
5090 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5091 ac_cv_prog_RM
="rm -rf"
5092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5102 if test -n "$RM"; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5104 $as_echo "$RM" >&6; }
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5111 if test "$RM" = ""; then
5112 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5114 # Extract the first word of "cp", so it can be a program name with args.
5115 set dummy
cp; ac_word
=$2
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 $as_echo_n "checking for $ac_word... " >&6; }
5118 if ${ac_cv_prog_CP+:} false
; then :
5119 $as_echo_n "(cached) " >&6
5121 if test -n "$CP"; then
5122 ac_cv_prog_CP
="$CP" # Let the user override the test.
5124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5128 test -z "$as_dir" && as_dir
=.
5129 for ac_exec_ext
in '' $ac_executable_extensions; do
5130 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5142 if test -n "$CP"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5144 $as_echo "$CP" >&6; }
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5151 if test "$CP" = ""; then
5152 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5154 # Extract the first word of "mv", so it can be a program name with args.
5155 set dummy
mv; ac_word
=$2
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5157 $as_echo_n "checking for $ac_word... " >&6; }
5158 if ${ac_cv_prog_MV+:} false
; then :
5159 $as_echo_n "(cached) " >&6
5161 if test -n "$MV"; then
5162 ac_cv_prog_MV
="$MV" # Let the user override the test.
5164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5168 test -z "$as_dir" && as_dir
=.
5169 for ac_exec_ext
in '' $ac_executable_extensions; do
5170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5182 if test -n "$MV"; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5184 $as_echo "$MV" >&6; }
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5187 $as_echo "no" >&6; }
5191 if test "$MV" = ""; then
5192 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5194 # Extract the first word of "echo", so it can be a program name with args.
5195 set dummy
echo; ac_word
=$2
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5197 $as_echo_n "checking for $ac_word... " >&6; }
5198 if ${ac_cv_prog_ECHO+:} false
; then :
5199 $as_echo_n "(cached) " >&6
5201 if test -n "$ECHO"; then
5202 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5208 test -z "$as_dir" && as_dir
=.
5209 for ac_exec_ext
in '' $ac_executable_extensions; do
5210 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5211 ac_cv_prog_ECHO
="echo "
5212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5221 ECHO
=$ac_cv_prog_ECHO
5222 if test -n "$ECHO"; then
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5224 $as_echo "$ECHO" >&6; }
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 $as_echo "no" >&6; }
5231 if test "$ECHO" = ""; then
5232 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5234 # Extract the first word of "mkdir", so it can be a program name with args.
5235 set dummy mkdir
; ac_word
=$2
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237 $as_echo_n "checking for $ac_word... " >&6; }
5238 if ${ac_cv_prog_MKDIR+:} false
; then :
5239 $as_echo_n "(cached) " >&6
5241 if test -n "$MKDIR"; then
5242 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5248 test -z "$as_dir" && as_dir
=.
5249 for ac_exec_ext
in '' $ac_executable_extensions; do
5250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5251 ac_cv_prog_MKDIR
="mkdir -p"
5252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 MKDIR
=$ac_cv_prog_MKDIR
5262 if test -n "$MKDIR"; then
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5264 $as_echo "$MKDIR" >&6; }
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 $as_echo "no" >&6; }
5271 if test "$MKDIR" = ""; then
5272 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5274 # Extract the first word of "touch", so it can be a program name with args.
5275 set dummy
touch; ac_word
=$2
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5277 $as_echo_n "checking for $ac_word... " >&6; }
5278 if ${ac_cv_prog_TOUCH+:} false
; then :
5279 $as_echo_n "(cached) " >&6
5281 if test -n "$TOUCH"; then
5282 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5288 test -z "$as_dir" && as_dir
=.
5289 for ac_exec_ext
in '' $ac_executable_extensions; do
5290 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5291 ac_cv_prog_TOUCH
="touch "
5292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5301 TOUCH
=$ac_cv_prog_TOUCH
5302 if test -n "$TOUCH"; then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5304 $as_echo "$TOUCH" >&6; }
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5307 $as_echo "no" >&6; }
5311 if test "$TOUCH" = ""; then
5312 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5314 # Extract the first word of "sort", so it can be a program name with args.
5315 set dummy
sort; ac_word
=$2
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5317 $as_echo_n "checking for $ac_word... " >&6; }
5318 if ${ac_cv_prog_SORT+:} false
; then :
5319 $as_echo_n "(cached) " >&6
5321 if test -n "$SORT"; then
5322 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5328 test -z "$as_dir" && as_dir
=.
5329 for ac_exec_ext
in '' $ac_executable_extensions; do
5330 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5331 ac_cv_prog_SORT
="sort "
5332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 SORT
=$ac_cv_prog_SORT
5342 if test -n "$SORT"; then
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5344 $as_echo "$SORT" >&6; }
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5347 $as_echo "no" >&6; }
5351 if test "$SORT" = ""; then
5352 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5354 # Extract the first word of "uniq", so it can be a program name with args.
5355 set dummy
uniq; ac_word
=$2
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5357 $as_echo_n "checking for $ac_word... " >&6; }
5358 if ${ac_cv_prog_UNIQ+:} false
; then :
5359 $as_echo_n "(cached) " >&6
5361 if test -n "$UNIQ"; then
5362 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5368 test -z "$as_dir" && as_dir
=.
5369 for ac_exec_ext
in '' $ac_executable_extensions; do
5370 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5371 ac_cv_prog_UNIQ
="uniq "
5372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5381 UNIQ
=$ac_cv_prog_UNIQ
5382 if test -n "$UNIQ"; then
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5384 $as_echo "$UNIQ" >&6; }
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5387 $as_echo "no" >&6; }
5391 if test "$UNIQ" = ""; then
5392 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5394 # Extract the first word of "true", so it can be a program name with args.
5395 set dummy true
; ac_word
=$2
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5397 $as_echo_n "checking for $ac_word... " >&6; }
5398 if ${ac_cv_prog_NOP+:} false
; then :
5399 $as_echo_n "(cached) " >&6
5401 if test -n "$NOP"; then
5402 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5408 test -z "$as_dir" && as_dir
=.
5409 for ac_exec_ext
in '' $ac_executable_extensions; do
5410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5411 ac_cv_prog_NOP
="true "
5412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5422 if test -n "$NOP"; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5424 $as_echo "$NOP" >&6; }
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5427 $as_echo "no" >&6; }
5431 if test "$NOP" = ""; then
5432 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5434 # Extract the first word of "cat", so it can be a program name with args.
5435 set dummy
cat; ac_word
=$2
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5437 $as_echo_n "checking for $ac_word... " >&6; }
5438 if ${ac_cv_prog_CAT+:} false
; then :
5439 $as_echo_n "(cached) " >&6
5441 if test -n "$CAT"; then
5442 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir
=.
5449 for ac_exec_ext
in '' $ac_executable_extensions; do
5450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5451 ac_cv_prog_CAT
="cat "
5452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5462 if test -n "$CAT"; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5464 $as_echo "$CAT" >&6; }
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467 $as_echo "no" >&6; }
5471 if test "$CAT" = ""; then
5472 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5474 # Extract the first word of "bison", so it can be a program name with args.
5475 set dummy bison
; ac_word
=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if ${ac_cv_prog_BISON+:} false
; then :
5479 $as_echo_n "(cached) " >&6
5481 if test -n "$BISON"; then
5482 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5488 test -z "$as_dir" && as_dir
=.
5489 for ac_exec_ext
in '' $ac_executable_extensions; do
5490 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5491 ac_cv_prog_BISON
="bison "
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5501 BISON
=$ac_cv_prog_BISON
5502 if test -n "$BISON"; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5504 $as_echo "$BISON" >&6; }
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5511 if test "$BISON" = ""; then
5512 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5514 # Extract the first word of "flex", so it can be a program name with args.
5515 set dummy flex
; ac_word
=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if ${ac_cv_prog_FLEX+:} false
; then :
5519 $as_echo_n "(cached) " >&6
5521 if test -n "$FLEX"; then
5522 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5528 test -z "$as_dir" && as_dir
=.
5529 for ac_exec_ext
in '' $ac_executable_extensions; do
5530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5531 ac_cv_prog_FLEX
="flex "
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 FLEX
=$ac_cv_prog_FLEX
5542 if test -n "$FLEX"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5544 $as_echo "$FLEX" >&6; }
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5551 if test "$FLEX" = ""; then
5552 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5554 # Extract the first word of "pngtopnm", so it can be a program name with args.
5555 set dummy pngtopnm
; ac_word
=$2
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5557 $as_echo_n "checking for $ac_word... " >&6; }
5558 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5559 $as_echo_n "(cached) " >&6
5561 if test -n "$PNGTOPNM"; then
5562 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5568 test -z "$as_dir" && as_dir
=.
5569 for ac_exec_ext
in '' $ac_executable_extensions; do
5570 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5571 ac_cv_prog_PNGTOPNM
="pngtopnm "
5572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5582 if test -n "$PNGTOPNM"; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5584 $as_echo "$PNGTOPNM" >&6; }
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5587 $as_echo "no" >&6; }
5591 if test "$PNGTOPNM" = ""; then
5592 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5594 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5595 set dummy ppmtoilbm
; ac_word
=$2
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5597 $as_echo_n "checking for $ac_word... " >&6; }
5598 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5599 $as_echo_n "(cached) " >&6
5601 if test -n "$PPMTOILBM"; then
5602 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5608 test -z "$as_dir" && as_dir
=.
5609 for ac_exec_ext
in '' $ac_executable_extensions; do
5610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5611 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5621 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5622 if test -n "$PPMTOILBM"; then
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5624 $as_echo "$PPMTOILBM" >&6; }
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5627 $as_echo "no" >&6; }
5631 if test "$PPMTOILBM" = ""; then
5632 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5634 # Extract the first word of "sed", so it can be a program name with args.
5635 set dummy
sed; ac_word
=$2
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5637 $as_echo_n "checking for $ac_word... " >&6; }
5638 if ${ac_cv_prog_SED+:} false
; then :
5639 $as_echo_n "(cached) " >&6
5641 if test -n "$SED"; then
5642 ac_cv_prog_SED
="$SED" # Let the user override the test.
5644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5648 test -z "$as_dir" && as_dir
=.
5649 for ac_exec_ext
in '' $ac_executable_extensions; do
5650 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5651 ac_cv_prog_SED
="sed "
5652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 if test -n "$SED"; then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5664 $as_echo "$SED" >&6; }
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5667 $as_echo "no" >&6; }
5671 if test "$SED" = ""; then
5672 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5674 # Extract the first word of "chmod", so it can be a program name with args.
5675 set dummy
chmod; ac_word
=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5677 $as_echo_n "checking for $ac_word... " >&6; }
5678 if ${ac_cv_prog_CHMOD+:} false
; then :
5679 $as_echo_n "(cached) " >&6
5681 if test -n "$CHMOD"; then
5682 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5688 test -z "$as_dir" && as_dir
=.
5689 for ac_exec_ext
in '' $ac_executable_extensions; do
5690 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_CHMOD
="chmod "
5692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5701 CHMOD
=$ac_cv_prog_CHMOD
5702 if test -n "$CHMOD"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5704 $as_echo "$CHMOD" >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 $as_echo "no" >&6; }
5711 if test "$CHMOD" = ""; then
5712 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5714 # Extract the first word of "patch", so it can be a program name with args.
5715 set dummy
patch; ac_word
=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_PATCH+:} false
; then :
5719 $as_echo_n "(cached) " >&6
5721 if test -n "$PATCH"; then
5722 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5728 test -z "$as_dir" && as_dir
=.
5729 for ac_exec_ext
in '' $ac_executable_extensions; do
5730 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_PATCH
="patch "
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5741 PATCH
=$ac_cv_prog_PATCH
5742 if test -n "$PATCH"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5744 $as_echo "$PATCH" >&6; }
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5751 if test "$PATCH" = ""; then
5752 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5761 if test -n "$PYTHON"; then
5762 # If the user set $PYTHON, use it and don't search something else.
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5764 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5766 # split strings by '.' and convert to numeric. Append some zeros
5767 # because we need at least 4 digits for the hex conversion.
5768 # map returns an iterator in Python 3.0 and a list in 2.x
5769 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5771 # xrange is not present in Python 3.0 and range returns an iterator
5772 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5773 sys.exit(sys.hexversion < minverhex)"
5774 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5775 ($PYTHON -c "$prog") >&5 2>&5
5777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5778 (exit $ac_status); }; then :
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5780 $as_echo "yes" >&6; }
5782 as_fn_error $?
"too old" "$LINENO" 5
5784 am_display_PYTHON
=$PYTHON
5786 # Otherwise, try each interpreter until we find one that satisfies
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5789 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5790 if ${am_cv_pathless_PYTHON+:} false
; then :
5791 $as_echo_n "(cached) " >&6
5794 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
5795 test "$am_cv_pathless_PYTHON" = none
&& break
5797 # split strings by '.' and convert to numeric. Append some zeros
5798 # because we need at least 4 digits for the hex conversion.
5799 # map returns an iterator in Python 3.0 and a list in 2.x
5800 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5802 # xrange is not present in Python 3.0 and range returns an iterator
5803 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5804 sys.exit(sys.hexversion < minverhex)"
5805 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5806 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 (exit $ac_status); }; then :
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5815 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5816 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5817 if test "$am_cv_pathless_PYTHON" = none
; then
5820 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5821 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if ${ac_cv_path_PYTHON+:} false
; then :
5825 $as_echo_n "(cached) " >&6
5829 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5836 test -z "$as_dir" && as_dir
=.
5837 for ac_exec_ext
in '' $ac_executable_extensions; do
5838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5839 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5850 PYTHON
=$ac_cv_path_PYTHON
5851 if test -n "$PYTHON"; then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5853 $as_echo "$PYTHON" >&6; }
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5856 $as_echo "no" >&6; }
5861 am_display_PYTHON
=$am_cv_pathless_PYTHON
5865 if test "$PYTHON" = :; then
5866 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5871 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5872 if ${am_cv_python_version+:} false
; then :
5873 $as_echo_n "(cached) " >&6
5875 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5878 $as_echo "$am_cv_python_version" >&6; }
5879 PYTHON_VERSION
=$am_cv_python_version
5883 PYTHON_PREFIX
='${prefix}'
5885 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5890 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5891 if ${am_cv_python_platform+:} false
; then :
5892 $as_echo_n "(cached) " >&6
5894 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5897 $as_echo "$am_cv_python_platform" >&6; }
5898 PYTHON_PLATFORM
=$am_cv_python_platform
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5904 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5905 if ${am_cv_python_pythondir+:} false
; then :
5906 $as_echo_n "(cached) " >&6
5908 if test "x$prefix" = xNONE
5910 am_py_prefix
=$ac_default_prefix
5912 am_py_prefix
=$prefix
5914 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`
5915 case $am_cv_python_pythondir in
5917 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5918 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5921 case $am_py_prefix in
5924 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5932 $as_echo "$am_cv_python_pythondir" >&6; }
5933 pythondir
=$am_cv_python_pythondir
5937 pkgpythondir
=\
${pythondir}/$PACKAGE
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5941 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5942 if ${am_cv_python_pyexecdir+:} false
; then :
5943 $as_echo_n "(cached) " >&6
5945 if test "x$exec_prefix" = xNONE
5947 am_py_exec_prefix
=$am_py_prefix
5949 am_py_exec_prefix
=$exec_prefix
5951 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`
5952 case $am_cv_python_pyexecdir in
5953 $am_py_exec_prefix*)
5954 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5955 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5958 case $am_py_exec_prefix in
5961 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5969 $as_echo "$am_cv_python_pyexecdir" >&6; }
5970 pyexecdir
=$am_cv_python_pyexecdir
5974 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
5984 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
5985 if ${ac_cv_lib_png_png_read_png+:} false
; then :
5986 $as_echo_n "(cached) " >&6
5988 ac_check_lib_save_LIBS
=$LIBS
5990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5991 /* end confdefs.h. */
5993 /* Override any GCC internal prototype to avoid an error.
5994 Use char because int might match the return type of a GCC
5995 builtin and then its argument prototype would still apply. */
5999 char png_read_png ();
6003 return png_read_png ();
6008 if ac_fn_c_try_link
"$LINENO"; then :
6009 ac_cv_lib_png_png_read_png
=yes
6011 ac_cv_lib_png_png_read_png
=no
6013 rm -f core conftest.err conftest.
$ac_objext \
6014 conftest
$ac_exeext conftest.
$ac_ext
6015 LIBS
=$ac_check_lib_save_LIBS
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6018 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6019 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6020 cat >>confdefs.h
<<_ACEOF
6021 #define HAVE_LIBPNG 1
6028 if test "$ac_cv_lib_png_png_read_png" = ""; then
6029 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6042 # Check for some includes for the X11 HIDD and the kernel
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6045 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6046 if ${ac_cv_path_GREP+:} false
; then :
6047 $as_echo_n "(cached) " >&6
6049 if test -z "$GREP"; then
6050 ac_path_GREP_found
=false
6051 # Loop through the user's path and test for each of PROGNAME-LIST
6052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6053 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6056 test -z "$as_dir" && as_dir
=.
6057 for ac_prog
in grep ggrep
; do
6058 for ac_exec_ext
in '' $ac_executable_extensions; do
6059 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6060 as_fn_executable_p
"$ac_path_GREP" ||
continue
6061 # Check for GNU ac_path_GREP and select it if it is found.
6062 # Check for GNU $ac_path_GREP
6063 case `"$ac_path_GREP" --version 2>&1` in
6065 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6068 $as_echo_n 0123456789 >"conftest.in"
6071 cat "conftest.in" "conftest.in" >"conftest.tmp"
6072 mv "conftest.tmp" "conftest.in"
6073 cp "conftest.in" "conftest.nl"
6074 $as_echo 'GREP' >> "conftest.nl"
6075 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6076 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6077 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6078 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6079 # Best one so far, save it but keep looking for a better one
6080 ac_cv_path_GREP
="$ac_path_GREP"
6081 ac_path_GREP_max
=$ac_count
6083 # 10*(2^10) chars as input seems more than enough
6084 test $ac_count -gt 10 && break
6086 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6089 $ac_path_GREP_found && break 3
6094 if test -z "$ac_cv_path_GREP"; then
6095 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6098 ac_cv_path_GREP
=$GREP
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6103 $as_echo "$ac_cv_path_GREP" >&6; }
6104 GREP
="$ac_cv_path_GREP"
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6108 $as_echo_n "checking for egrep... " >&6; }
6109 if ${ac_cv_path_EGREP+:} false
; then :
6110 $as_echo_n "(cached) " >&6
6112 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6113 then ac_cv_path_EGREP
="$GREP -E"
6115 if test -z "$EGREP"; then
6116 ac_path_EGREP_found
=false
6117 # Loop through the user's path and test for each of PROGNAME-LIST
6118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6119 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6122 test -z "$as_dir" && as_dir
=.
6123 for ac_prog
in egrep; do
6124 for ac_exec_ext
in '' $ac_executable_extensions; do
6125 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6126 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6127 # Check for GNU ac_path_EGREP and select it if it is found.
6128 # Check for GNU $ac_path_EGREP
6129 case `"$ac_path_EGREP" --version 2>&1` in
6131 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6134 $as_echo_n 0123456789 >"conftest.in"
6137 cat "conftest.in" "conftest.in" >"conftest.tmp"
6138 mv "conftest.tmp" "conftest.in"
6139 cp "conftest.in" "conftest.nl"
6140 $as_echo 'EGREP' >> "conftest.nl"
6141 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6142 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6143 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6144 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6145 # Best one so far, save it but keep looking for a better one
6146 ac_cv_path_EGREP
="$ac_path_EGREP"
6147 ac_path_EGREP_max
=$ac_count
6149 # 10*(2^10) chars as input seems more than enough
6150 test $ac_count -gt 10 && break
6152 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6155 $ac_path_EGREP_found && break 3
6160 if test -z "$ac_cv_path_EGREP"; then
6161 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6164 ac_cv_path_EGREP
=$EGREP
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6170 $as_echo "$ac_cv_path_EGREP" >&6; }
6171 EGREP
="$ac_cv_path_EGREP"
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6175 $as_echo_n "checking for ANSI C header files... " >&6; }
6176 if ${ac_cv_header_stdc+:} false
; then :
6177 $as_echo_n "(cached) " >&6
6179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6180 /* end confdefs.h. */
6194 if ac_fn_c_try_compile
"$LINENO"; then :
6195 ac_cv_header_stdc
=yes
6197 ac_cv_header_stdc
=no
6199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6201 if test $ac_cv_header_stdc = yes; then
6202 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6204 /* end confdefs.h. */
6208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6209 $EGREP "memchr" >/dev
/null
2>&1; then :
6212 ac_cv_header_stdc
=no
6218 if test $ac_cv_header_stdc = yes; then
6219 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6221 /* end confdefs.h. */
6225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6226 $EGREP "free" >/dev
/null
2>&1; then :
6229 ac_cv_header_stdc
=no
6235 if test $ac_cv_header_stdc = yes; then
6236 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6237 if test "$cross_compiling" = yes; then :
6240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6241 /* end confdefs.h. */
6244 #if ((' ' & 0x0FF) == 0x020)
6245 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6246 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6248 # define ISLOWER(c) \
6249 (('a' <= (c) && (c) <= 'i') \
6250 || ('j' <= (c) && (c) <= 'r') \
6251 || ('s' <= (c) && (c) <= 'z'))
6252 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6255 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6260 for (i = 0; i < 256; i++)
6261 if (XOR (islower (i), ISLOWER (i))
6262 || toupper (i) != TOUPPER (i))
6267 if ac_fn_c_try_run
"$LINENO"; then :
6270 ac_cv_header_stdc
=no
6272 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6273 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6279 $as_echo "$ac_cv_header_stdc" >&6; }
6280 if test $ac_cv_header_stdc = yes; then
6282 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6286 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6287 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6288 inttypes.h stdint.h unistd.h
6290 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6291 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6293 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6294 cat >>confdefs.h
<<_ACEOF
6295 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6303 for ac_header
in sys
/ipc.h sys
/shm.h \
6304 sys
/mmap.h sys
/mman.h sysexits.h \
6305 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6308 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6309 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6310 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6311 cat >>confdefs.h
<<_ACEOF
6312 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6320 for ac_header
in sys
/mount.h
6322 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6324 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6325 cat >>confdefs.h
<<_ACEOF
6326 #define HAVE_SYS_MOUNT_H 1
6335 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6336 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6338 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6339 if eval \
${$as_ac_Header+:} false
; then :
6340 $as_echo_n "(cached) " >&6
6342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6344 #include <sys/types.h>
6356 if ac_fn_c_try_compile
"$LINENO"; then :
6357 eval "$as_ac_Header=yes"
6359 eval "$as_ac_Header=no"
6361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6363 eval ac_res
=\$
$as_ac_Header
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6365 $as_echo "$ac_res" >&6; }
6366 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6367 cat >>confdefs.h
<<_ACEOF
6368 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6371 ac_header_dirent
=$ac_hdr; break
6375 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6376 if test $ac_header_dirent = dirent.h
; then
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6378 $as_echo_n "checking for library containing opendir... " >&6; }
6379 if ${ac_cv_search_opendir+:} false
; then :
6380 $as_echo_n "(cached) " >&6
6382 ac_func_search_save_LIBS
=$LIBS
6383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6384 /* end confdefs.h. */
6386 /* Override any GCC internal prototype to avoid an error.
6387 Use char because int might match the return type of a GCC
6388 builtin and then its argument prototype would still apply. */
6401 for ac_lib
in '' dir
; do
6402 if test -z "$ac_lib"; then
6403 ac_res
="none required"
6406 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6408 if ac_fn_c_try_link
"$LINENO"; then :
6409 ac_cv_search_opendir
=$ac_res
6411 rm -f core conftest.err conftest.
$ac_objext \
6413 if ${ac_cv_search_opendir+:} false
; then :
6417 if ${ac_cv_search_opendir+:} false
; then :
6420 ac_cv_search_opendir
=no
6423 LIBS
=$ac_func_search_save_LIBS
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6426 $as_echo "$ac_cv_search_opendir" >&6; }
6427 ac_res
=$ac_cv_search_opendir
6428 if test "$ac_res" != no
; then :
6429 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6435 $as_echo_n "checking for library containing opendir... " >&6; }
6436 if ${ac_cv_search_opendir+:} false
; then :
6437 $as_echo_n "(cached) " >&6
6439 ac_func_search_save_LIBS
=$LIBS
6440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6441 /* end confdefs.h. */
6443 /* Override any GCC internal prototype to avoid an error.
6444 Use char because int might match the return type of a GCC
6445 builtin and then its argument prototype would still apply. */
6458 for ac_lib
in '' x
; do
6459 if test -z "$ac_lib"; then
6460 ac_res
="none required"
6463 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6465 if ac_fn_c_try_link
"$LINENO"; then :
6466 ac_cv_search_opendir
=$ac_res
6468 rm -f core conftest.err conftest.
$ac_objext \
6470 if ${ac_cv_search_opendir+:} false
; then :
6474 if ${ac_cv_search_opendir+:} false
; then :
6477 ac_cv_search_opendir
=no
6480 LIBS
=$ac_func_search_save_LIBS
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6483 $as_echo "$ac_cv_search_opendir" >&6; }
6484 ac_res
=$ac_cv_search_opendir
6485 if test "$ac_res" != no
; then :
6486 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6493 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6494 if ${ac_cv_header_stat_broken+:} false
; then :
6495 $as_echo_n "(cached) " >&6
6497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6498 /* end confdefs.h. */
6499 #include <sys/types.h>
6500 #include <sys/stat.h>
6502 #if defined S_ISBLK && defined S_IFDIR
6503 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6506 #if defined S_ISBLK && defined S_IFCHR
6507 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6510 #if defined S_ISLNK && defined S_IFREG
6511 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6514 #if defined S_ISSOCK && defined S_IFREG
6515 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6519 if ac_fn_c_try_compile
"$LINENO"; then :
6520 ac_cv_header_stat_broken
=no
6522 ac_cv_header_stat_broken
=yes
6524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6527 $as_echo "$ac_cv_header_stat_broken" >&6; }
6528 if test $ac_cv_header_stat_broken = yes; then
6530 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6535 $as_echo_n "checking for ANSI C header files... " >&6; }
6536 if ${ac_cv_header_stdc+:} false
; then :
6537 $as_echo_n "(cached) " >&6
6539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6540 /* end confdefs.h. */
6554 if ac_fn_c_try_compile
"$LINENO"; then :
6555 ac_cv_header_stdc
=yes
6557 ac_cv_header_stdc
=no
6559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6561 if test $ac_cv_header_stdc = yes; then
6562 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6564 /* end confdefs.h. */
6568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6569 $EGREP "memchr" >/dev
/null
2>&1; then :
6572 ac_cv_header_stdc
=no
6578 if test $ac_cv_header_stdc = yes; then
6579 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6581 /* end confdefs.h. */
6585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6586 $EGREP "free" >/dev
/null
2>&1; then :
6589 ac_cv_header_stdc
=no
6595 if test $ac_cv_header_stdc = yes; then
6596 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6597 if test "$cross_compiling" = yes; then :
6600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6601 /* end confdefs.h. */
6604 #if ((' ' & 0x0FF) == 0x020)
6605 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6606 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6608 # define ISLOWER(c) \
6609 (('a' <= (c) && (c) <= 'i') \
6610 || ('j' <= (c) && (c) <= 'r') \
6611 || ('s' <= (c) && (c) <= 'z'))
6612 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6615 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6620 for (i = 0; i < 256; i++)
6621 if (XOR (islower (i), ISLOWER (i))
6622 || toupper (i) != TOUPPER (i))
6627 if ac_fn_c_try_run
"$LINENO"; then :
6630 ac_cv_header_stdc
=no
6632 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6633 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6639 $as_echo "$ac_cv_header_stdc" >&6; }
6640 if test $ac_cv_header_stdc = yes; then
6642 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6647 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6648 if ${ac_cv_header_sys_wait_h+:} false
; then :
6649 $as_echo_n "(cached) " >&6
6651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6652 /* end confdefs.h. */
6653 #include <sys/types.h>
6654 #include <sys/wait.h>
6656 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6659 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6667 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6672 if ac_fn_c_try_compile
"$LINENO"; then :
6673 ac_cv_header_sys_wait_h
=yes
6675 ac_cv_header_sys_wait_h
=no
6677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6680 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6681 if test $ac_cv_header_sys_wait_h = yes; then
6683 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6688 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6689 if ${ac_cv_header_time+:} false
; then :
6690 $as_echo_n "(cached) " >&6
6692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6693 /* end confdefs.h. */
6694 #include <sys/types.h>
6695 #include <sys/time.h>
6701 if ((struct tm *) 0)
6707 if ac_fn_c_try_compile
"$LINENO"; then :
6708 ac_cv_header_time
=yes
6710 ac_cv_header_time
=no
6712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6715 $as_echo "$ac_cv_header_time" >&6; }
6716 if test $ac_cv_header_time = yes; then
6718 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6722 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6723 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6725 cat >>confdefs.h
<<_ACEOF
6726 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6730 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6735 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6736 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6738 cat >>confdefs.h
<<_ACEOF
6739 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6743 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6746 case " $LIBOBJS " in
6747 *" fileblocks.$ac_objext "* ) ;;
6748 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6755 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6756 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6758 cat >>confdefs.h
<<_ACEOF
6759 #define HAVE_STRUCT_STAT_ST_RDEV 1
6763 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6769 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6770 if ${ac_cv_struct_tm+:} false
; then :
6771 $as_echo_n "(cached) " >&6
6773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6774 /* end confdefs.h. */
6775 #include <sys/types.h>
6782 int *p = &tm.tm_sec;
6788 if ac_fn_c_try_compile
"$LINENO"; then :
6789 ac_cv_struct_tm
=time.h
6791 ac_cv_struct_tm
=sys
/time.h
6793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6796 $as_echo "$ac_cv_struct_tm" >&6; }
6797 if test $ac_cv_struct_tm = sys
/time.h
; then
6799 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6803 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6804 #include <$ac_cv_struct_tm>
6807 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6809 cat >>confdefs.h
<<_ACEOF
6810 #define HAVE_STRUCT_TM_TM_ZONE 1
6816 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6818 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6821 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6823 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6829 cat >>confdefs.h
<<_ACEOF
6830 #define HAVE_DECL_TZNAME $ac_have_decl
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6834 $as_echo_n "checking for tzname... " >&6; }
6835 if ${ac_cv_var_tzname+:} false
; then :
6836 $as_echo_n "(cached) " >&6
6838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6839 /* end confdefs.h. */
6841 #if !HAVE_DECL_TZNAME
6842 extern char *tzname[];
6848 return tzname[0][0];
6853 if ac_fn_c_try_link
"$LINENO"; then :
6854 ac_cv_var_tzname
=yes
6858 rm -f core conftest.err conftest.
$ac_objext \
6859 conftest
$ac_exeext conftest.
$ac_ext
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6862 $as_echo "$ac_cv_var_tzname" >&6; }
6863 if test $ac_cv_var_tzname = yes; then
6865 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6870 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6871 if test "x$ac_cv_type_off_t" = xyes
; then :
6875 cat >>confdefs.h
<<_ACEOF
6876 #define off_t long int
6881 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6882 if test "x$ac_cv_type_pid_t" = xyes
; then :
6886 cat >>confdefs.h
<<_ACEOF
6892 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6893 if test "x$ac_cv_type_size_t" = xyes
; then :
6897 cat >>confdefs.h
<<_ACEOF
6898 #define size_t unsigned int
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6904 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6905 if ${ac_cv_type_uid_t+:} false
; then :
6906 $as_echo_n "(cached) " >&6
6908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6909 /* end confdefs.h. */
6910 #include <sys/types.h>
6913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6914 $EGREP "uid_t" >/dev
/null
2>&1; then :
6915 ac_cv_type_uid_t
=yes
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6923 $as_echo "$ac_cv_type_uid_t" >&6; }
6924 if test $ac_cv_type_uid_t = no
; then
6926 $as_echo "#define uid_t int" >>confdefs.h
6929 $as_echo "#define gid_t int" >>confdefs.h
6934 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6935 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6937 cat >>confdefs.h
<<_ACEOF
6938 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6945 # Look for some functions
6946 for ac_func
in getpagesize kqueue statfs statvfs \
6947 clone kse_create rfork_thread thr_create sa_register \
6948 getcontext makecontext setcontext sigaltstack swapcontext
6950 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6951 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6952 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6953 cat >>confdefs.h
<<_ACEOF
6954 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6964 for ac_header
in $ac_header_list
6966 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6967 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6969 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6970 cat >>confdefs.h
<<_ACEOF
6971 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6985 for ac_func
in getpagesize
6987 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6988 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6989 cat >>confdefs.h
<<_ACEOF
6990 #define HAVE_GETPAGESIZE 1
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6997 $as_echo_n "checking for working mmap... " >&6; }
6998 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6999 $as_echo_n "(cached) " >&6
7001 if test "$cross_compiling" = yes; then :
7002 ac_cv_func_mmap_fixed_mapped
=no
7004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7005 /* end confdefs.h. */
7006 $ac_includes_default
7007 /* malloc might have been renamed as rpl_malloc. */
7010 /* Thanks to Mike Haertel and Jim Avera for this test.
7011 Here is a matrix of mmap possibilities:
7012 mmap private not fixed
7013 mmap private fixed at somewhere currently unmapped
7014 mmap private fixed at somewhere already mapped
7015 mmap shared not fixed
7016 mmap shared fixed at somewhere currently unmapped
7017 mmap shared fixed at somewhere already mapped
7018 For private mappings, we should verify that changes cannot be read()
7019 back from the file, nor mmap's back from the file at a different
7020 address. (There have been systems where private was not correctly
7021 implemented like the infamous i386 svr4.0, and systems where the
7022 VM page cache was not coherent with the file system buffer cache
7023 like early versions of FreeBSD and possibly contemporary NetBSD.)
7024 For shared mappings, we should conversely verify that changes get
7025 propagated back to all the places they're supposed to be.
7027 Grep wants private fixed already mapped.
7028 The main things grep needs to know about mmap are:
7029 * does it exist and is it safe to write into the mmap'd area
7030 * how to use it (BSD variants) */
7033 #include <sys/mman.h>
7035 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7039 /* This mess was copied from the GNU getpagesize.h. */
7040 #ifndef HAVE_GETPAGESIZE
7041 # ifdef _SC_PAGESIZE
7042 # define getpagesize() sysconf(_SC_PAGESIZE)
7043 # else /* no _SC_PAGESIZE */
7044 # ifdef HAVE_SYS_PARAM_H
7045 # include <sys/param.h>
7046 # ifdef EXEC_PAGESIZE
7047 # define getpagesize() EXEC_PAGESIZE
7048 # else /* no EXEC_PAGESIZE */
7050 # define getpagesize() NBPG * CLSIZE
7053 # endif /* no CLSIZE */
7054 # else /* no NBPG */
7056 # define getpagesize() NBPC
7057 # else /* no NBPC */
7059 # define getpagesize() PAGESIZE
7060 # endif /* PAGESIZE */
7061 # endif /* no NBPC */
7062 # endif /* no NBPG */
7063 # endif /* no EXEC_PAGESIZE */
7064 # else /* no HAVE_SYS_PARAM_H */
7065 # define getpagesize() 8192 /* punt totally */
7066 # endif /* no HAVE_SYS_PARAM_H */
7067 # endif /* no _SC_PAGESIZE */
7069 #endif /* no HAVE_GETPAGESIZE */
7074 char *data, *data2, *data3;
7079 pagesize = getpagesize ();
7081 /* First, make a file with some known garbage in it. */
7082 data = (char *) malloc (pagesize);
7085 for (i = 0; i < pagesize; ++i)
7086 *(data + i) = rand ();
7088 fd = creat ("conftest.mmap", 0600);
7091 if (write (fd, data, pagesize) != pagesize)
7095 /* Next, check that the tail of a page is zero-filled. File must have
7096 non-zero length, otherwise we risk SIGBUS for entire page. */
7097 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7101 if (write (fd2, cdata2, 1) != 1)
7103 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7104 if (data2 == MAP_FAILED)
7106 for (i = 0; i < pagesize; ++i)
7110 if (munmap (data2, pagesize))
7113 /* Next, try to mmap the file at a fixed address which already has
7114 something else allocated at it. If we can, also make sure that
7115 we see the same garbage. */
7116 fd = open ("conftest.mmap", O_RDWR);
7119 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7120 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7122 for (i = 0; i < pagesize; ++i)
7123 if (*(data + i) != *(data2 + i))
7126 /* Finally, make sure that changes to the mapped area do not
7127 percolate back to the file as seen by read(). (This is a bug on
7128 some variants of i386 svr4.0.) */
7129 for (i = 0; i < pagesize; ++i)
7130 *(data2 + i) = *(data2 + i) + 1;
7131 data3 = (char *) malloc (pagesize);
7134 if (read (fd, data3, pagesize) != pagesize)
7136 for (i = 0; i < pagesize; ++i)
7137 if (*(data + i) != *(data3 + i))
7143 if ac_fn_c_try_run
"$LINENO"; then :
7144 ac_cv_func_mmap_fixed_mapped
=yes
7146 ac_cv_func_mmap_fixed_mapped
=no
7148 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7149 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7154 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7155 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7157 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7160 rm -f conftest.mmap conftest.txt
7165 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7166 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7167 aros_config_ldflags
=""
7169 aros_shared_default
=yes
7171 aros_shared_cflags
="-fPIC"
7172 aros_shared_aflags
=""
7173 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7174 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7176 aros_kernel_ar_flags
="cr"
7177 aros_target_ar_flags
="cr"
7178 aros_target_nm_flags
="-C -ul"
7179 aros_target_strip_flags
="--strip-unneeded -R.comment"
7184 aros_target_genmap
="-Wl,-Map -Xlinker"
7186 # Native flavour stuff
7187 aros_serial_debug
="0"
7189 # Palm native flavour stuff
7190 aros_palm_debug_hack
="0"
7192 # Unix flavour stuff
7193 aros_nesting_supervisor
="0"
7195 # Collect-aros stuff: "-ius" to ignore undefined symbols
7196 ignore_undefined_symbols
=""
7198 # Check for X11 by default
7201 #-----------------------------------------------------------------------------
7204 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7205 # it switched on by default, and we use the host compiler, so it compiles AROS
7206 # code with this enabled resulting in link failures as we don't have support
7209 # We use two methods to disable it. For the host compiler (used to compile
7210 # some hosted modules), we test to see if the compiler supports stack
7211 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7212 # work on all platforms.
7214 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7215 # (this is done unconditionally, as it should have no effect on compilers
7216 # without the stack protection feature). This may be specific to the way that
7217 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7218 # strong enough to disable it in a generic way though, so we'll live with it
7219 # until another vendor ships GCC with it enabled in a different way, and deal
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7224 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7225 save_cflags
="$CFLAGS"
7226 CFLAGS
="$CFLAGS -fno-stack-protector"
7227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7228 /* end confdefs.h. */
7238 if ac_fn_c_try_compile
"$LINENO"; then :
7239 use_no_stack_protector
="yes"
7241 use_no_stack_protector
="no"
7243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7245 $as_echo "$use_no_stack_protector" >&6; }
7246 if test "x-$use_no_stack_protector" = "x-yes" ; then
7247 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7249 CFLAGS
="$save_cflags"
7251 #-----------------------------------------------------------------------------
7253 # Disable pointer-signedness warnings if the compiler recognises the option
7254 # (this only works for the host compiler at the moment)
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7257 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7258 save_cflags
="$CFLAGS"
7259 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7271 if ac_fn_c_try_compile
"$LINENO"; then :
7272 use_no_sign_warning
="yes"
7274 use_no_sign_warning
="no"
7276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7278 $as_echo "$use_no_sign_warning" >&6; }
7279 if test "x-$use_no_sign_warning" = "x-yes" ; then
7280 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7282 CFLAGS
="$save_cflags"
7284 #-----------------------------------------------------------------------------
7286 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7289 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7290 save_cflags
="$CFLAGS"
7291 CFLAGS
="$CFLAGS -fgnu89-inline"
7292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7293 /* end confdefs.h. */
7303 if ac_fn_c_try_compile
"$LINENO"; then :
7304 use_gnu89_inline
="yes"
7306 use_gnu89_inline
="no"
7308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7310 $as_echo "$use_gnu89_inline" >&6; }
7311 if test "x-$use_gnu89_inline" = "x-yes" ; then
7312 gnu89_inline
="-fgnu89-inline"
7314 CFLAGS
="$save_cflags"
7316 #-----------------------------------------------------------------------------
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7319 $as_echo_n "checking for type of build... " >&6; }
7320 # Check whether --enable-build_type was given.
7321 if test "${enable_build_type+set}" = set; then :
7322 enableval
=$enable_build_type; build_type
=$enableval
7324 build_type
="personal"
7328 if test "$build_type" = "nightly"; then
7329 build_type_string
="NIGHTLY"
7330 elif test "$build_type" = "snapshot"; then
7331 build_type_string
="SNAPSHOT"
7332 elif test "$build_type" = "milestone"; then
7333 build_type_string
="MILESTONE"
7334 elif test "$build_type" = "release"; then
7335 build_type_string
="RELEASE"
7337 build_type_string
="PERSONAL"
7338 build_type
="personal"
7341 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7344 $as_echo "$build_type" >&6; }
7346 #-----------------------------------------------------------------------------
7347 all_debug_types
="messages stack modules mungwall symbols"
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7350 $as_echo_n "checking which debug types to enable... " >&6; }
7351 # Check whether --enable-debug was given.
7352 if test "${enable_debug+set}" = set; then :
7353 enableval
=$enable_debug; debug
="$enableval"
7359 if test "$debug" = "" -o "$debug" = "no"; then
7361 elif test "$debug" = "yes"; then
7365 if test "$debug" = "all" ; then
7366 debug
="messages stack modules symbols"
7367 for d
in $all_debug_types; do
7368 export aros_
${d}_debug
="1"
7371 for d
in $all_debug_types; do
7372 export aros_
${d}_debug
="0"
7376 if test "$debug" != "none"; then
7377 debug
=`echo $debug | sed s/,/\ /g`
7380 for d2
in $all_debug_types; do
7381 if test "$d2" = "$d"; then
7386 if test "$found" = "0"; then
7387 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7389 export aros_
${d}_debug
="1"
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7394 $as_echo "$debug" >&6; }
7396 if test "$aros_messages_debug" = "1"; then
7397 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7399 aros_messages_debug
=""
7401 if test "$aros_symbols_debug" = "1"; then
7402 aros_symbols_debug
="-g"
7404 aros_symbols_debug
=""
7407 # These are the flags to pass when compiling debugged programs
7408 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7409 aros_debug_aflags
=""
7410 aros_debug_ldflags
="$aros_symbols_debug"
7412 #-----------------------------------------------------------------------------
7413 # Checking for distcc and ccache.
7415 # Always apply the transforms in this particular order. Basically you should
7416 # always run 'ccache distcc compiler' in that order for the best performance.
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7419 $as_echo_n "checking whether to enable distcc... " >&6; }
7420 # Check whether --enable-distcc was given.
7421 if test "${enable_distcc+set}" = set; then :
7422 enableval
=$enable_distcc; distcc
="$enableval"
7427 if test "$distcc" != "" -a "$distcc" != "no"; then
7428 # AC_CHECK_PROG will print out the result in this case
7429 # Extract the first word of "distcc", so it can be a program name with args.
7430 set dummy distcc
; ac_word
=$2
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7432 $as_echo_n "checking for $ac_word... " >&6; }
7433 if ${ac_cv_path_DISTCC+:} false
; then :
7434 $as_echo_n "(cached) " >&6
7438 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7445 test -z "$as_dir" && as_dir
=.
7446 for ac_exec_ext
in '' $ac_executable_extensions; do
7447 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7448 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7456 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7460 DISTCC
=$ac_cv_path_DISTCC
7461 if test -n "$DISTCC"; then
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7463 $as_echo "$DISTCC" >&6; }
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7476 $as_echo_n "checking whether to enable ccache... " >&6; }
7477 # Check whether --enable-ccache was given.
7478 if test "${enable_ccache+set}" = set; then :
7479 enableval
=$enable_ccache; ccache
="$enableval"
7484 if test "$ccache" != "" -a "$ccache" != "no"; then
7485 # AC_CHECK_PROG will print out the result in this case
7486 # Extract the first word of "ccache", so it can be a program name with args.
7487 set dummy ccache
; ac_word
=$2
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7489 $as_echo_n "checking for $ac_word... " >&6; }
7490 if ${ac_cv_prog_CCACHE+:} false
; then :
7491 $as_echo_n "(cached) " >&6
7493 if test -n "$CCACHE"; then
7494 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7500 test -z "$as_dir" && as_dir
=.
7501 for ac_exec_ext
in '' $ac_executable_extensions; do
7502 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7503 ac_cv_prog_CCACHE
="ccache"
7504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7513 CCACHE
=$ac_cv_prog_CCACHE
7514 if test -n "$CCACHE"; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7516 $as_echo "$CCACHE" >&6; }
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 $as_echo "no" >&6; }
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525 $as_echo "no" >&6; }
7528 #-----------------------------------------------------------------------------
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7530 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7532 # Check whether --with-kernel-gcc-version was given.
7533 if test "${with_kernel_gcc_version+set}" = set; then :
7534 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7536 kernel_tool_version
=""
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7540 $as_echo "$kernel_tool_version" >&6; }
7542 #-----------------------------------------------------------------------------
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7544 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7546 # Check whether --with-gcc-version was given.
7547 if test "${with_gcc_version+set}" = set; then :
7548 withval
=$with_gcc_version; target_tool_version
="$withval"
7550 target_tool_version
=""
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7554 $as_echo "$target_tool_version" >&6; }
7556 #-----------------------------------------------------------------------------
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7558 $as_echo_n "checking what optimization flags to use... " >&6; }
7560 # Check whether --with-optimization was given.
7561 if test "${with_optimization+set}" = set; then :
7562 withval
=$with_optimization; optimization
="$withval"
7564 optimization
="unknown"
7567 if test "$optimization" = "unknown"; then
7568 if test "$debug" != "none"; then
7574 aros_config_cflags
="$aros_config_cflags $optimization"
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7576 $as_echo "$optimization" >&6; }
7578 #-----------------------------------------------------------------------------
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7580 $as_echo_n "checking what paranoia flags to use... " >&6; }
7582 # Check whether --with-paranoia was given.
7583 if test "${with_paranoia+set}" = set; then :
7584 withval
=$with_paranoia; paranoia_flags
="$withval"
7586 paranoia_flags
="default"
7589 if test "$paranoia_flags" = "default"; then
7591 else if test "$paranoia_flags" = "yes"; then
7592 paranoia_flags
="-Wall -Werror"
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7595 $as_echo "$paranoia_flags" >&6; }
7596 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7598 #-----------------------------------------------------------------------------
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7600 $as_echo_n "checking what target variant to enable... " >&6; }
7601 # Check whether --enable-target_variant was given.
7602 if test "${enable_target_variant+set}" = set; then :
7603 enableval
=$enable_target_variant; target_variant
=$enableval
7608 if test "$target_variant" = ""; then
7609 aros_target_variant
=""
7610 aros_target_suffix
=""
7613 aros_target_variant
="$target_variant"
7614 aros_target_suffix
="-$target_variant"
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7617 $as_echo "$enableval" >&6; }
7619 #-----------------------------------------------------------------------------
7620 # Target-specific defaults. You can override then on a per-target basis.
7622 # Bootloader name. Currently used by PC target.
7623 target_bootloader
="none"
7625 #-----------------------------------------------------------------------------
7626 # Additional options for some specific targets
7628 case "$aros_target_variant" in
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7631 $as_echo_n "checking XCode path... " >&6; }
7633 # Check whether --with-xcode was given.
7634 if test "${with_xcode+set}" = set; then :
7635 withval
=$with_xcode; aros_xcode_path
="$withval"
7637 aros_xcode_path
="/Developer"
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7641 $as_echo "$aros_xcode_path" >&6; }
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7644 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7646 # Check whether --with-sdk-version was given.
7647 if test "${with_sdk_version+set}" = set; then :
7648 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7650 aros_sdk_version
="4.1"
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7654 $as_echo "$aros_sdk_version" >&6; }
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7660 $as_echo_n "checking Android SDK path... " >&6; }
7662 # Check whether --with-sdk was given.
7663 if test "${with_sdk+set}" = set; then :
7664 withval
=$with_sdk; aros_android_sdk
="$withval"
7666 aros_android_sdk
=$default_android_sdk
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7670 $as_echo "$aros_android_sdk" >&6; }
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7673 $as_echo_n "checking Android NDK path... " >&6; }
7675 # Check whether --with-ndk was given.
7676 if test "${with_ndk+set}" = set; then :
7677 withval
=$with_ndk; aros_android_ndk
="$withval"
7679 aros_android_ndk
="none"
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7683 $as_echo "$aros_android_ndk" >&6; }
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7686 $as_echo_n "checking what Android SDK version to use... " >&6; }
7688 # Check whether --with-sdk-version was given.
7689 if test "${with_sdk_version+set}" = set; then :
7690 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7692 aros_sdk_version
="12"
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7696 $as_echo "$aros_sdk_version" >&6; }
7698 if test "$aros_android_ndk" != "none"; then
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7700 $as_echo_n "checking what Android NDK version to use... " >&6; }
7702 # Check whether --with-ndk-version was given.
7703 if test "${with_ndk_version+set}" = set; then :
7704 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7706 aros_ndk_version
="9"
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7710 $as_echo "$aros_ndk_version" >&6; }
7713 export PATH
="$aros_android_sdk/tools:$PATH"
7714 # Extract the first word of "$android_tool", so it can be a program name with args.
7715 set dummy
$android_tool; ac_word
=$2
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7717 $as_echo_n "checking for $ac_word... " >&6; }
7718 if ${ac_cv_path_android_tool+:} false
; then :
7719 $as_echo_n "(cached) " >&6
7721 case $android_tool in
7723 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7730 test -z "$as_dir" && as_dir
=.
7731 for ac_exec_ext
in '' $ac_executable_extensions; do
7732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7733 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7744 android_tool
=$ac_cv_path_android_tool
7745 if test -n "$android_tool"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7747 $as_echo "$android_tool" >&6; }
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7754 if test "$android_tool" = ""; then
7755 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7758 aros_android_level
=android-
$aros_sdk_version
7759 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7760 echo "Platform $aros_android_level is not installed in your SDK"
7761 echo "Use --with-sdk-version=<API level number> to select another platform version"
7762 echo "You can check what plaform versions are installed in your SDK"
7763 echo "by examining contents of $aros_android_sdk/platforms directory"
7764 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7767 # Extract the first word of "ant", so it can be a program name with args.
7768 set dummy ant
; ac_word
=$2
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7770 $as_echo_n "checking for $ac_word... " >&6; }
7771 if ${ac_cv_path_ant+:} false
; then :
7772 $as_echo_n "(cached) " >&6
7776 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7783 test -z "$as_dir" && as_dir
=.
7784 for ac_exec_ext
in '' $ac_executable_extensions; do
7785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7786 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7798 if test -n "$ant"; then
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7800 $as_echo "$ant" >&6; }
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7803 $as_echo "no" >&6; }
7807 if test "$ant" = ""; then
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7809 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
7813 $as_echo_n "checking Build debug or release apk... " >&6; }
7815 # Check whether --with-apk-version was given.
7816 if test "${with_apk_version+set}" = set; then :
7817 withval
=$with_apk_version; aros_android_antapk
=$withval
7819 aros_android_antapk
=release
7822 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
7823 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
7826 $as_echo "$aros_android_antapk" >&6; }
7828 if test "$host_os" = "mingw32"; then
7829 android_tool
="cmd //c $android_tool"
7835 #-----------------------------------------------------------------------------
7836 # External toolchains
7837 kernel_tool_prefix
="none"
7838 aros_tool_prefix
="none"
7839 elf_tool_prefix
="${target_cpu}-elf-"
7841 # This is the target configuration switch.
7842 case "$target_os" in
7844 aros_target_arch
="linux"
7845 aros_target_family
="unix"
7846 case "$target_cpu" in
7848 aros_target_cpu
="m68k"
7849 aros_object_format
="m68kelf"
7850 aros_flavour
="emulcompat"
7851 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7852 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7853 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7854 gcc_target_cpu
="mc68000"
7857 aros_target_cpu
="i386"
7858 aros_object_format
="elf_i386"
7859 aros_flavour
="emulation"
7860 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7861 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7862 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7863 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7864 aros_config_ldflags
="-m32 -march=i486"
7865 aros_kernel_ldflags
="-Wl,-melf_i386"
7866 aros_default_wbdepth
=8
7867 gcc_target_cpu
="i386"
7868 pci_hidd_target
="hidd-pci-linux"
7869 android_tool_dir_prefix
="x86"
7870 android_tool_prefix
="i686-android-linux"
7871 android_ndk_arch
="x86"
7874 aros_target_cpu
="x86_64"
7875 aros_object_format
="elf_x86_64"
7876 aros_flavour
="emulation"
7877 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7878 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7879 aros_default_wbdepth
=8
7880 pci_hidd_target
="hidd-pci-linux"
7883 aros_target_cpu
="ppc"
7884 aros_object_format
="elf32ppc"
7885 aros_flavour
="emulation"
7886 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7887 aros_default_wbdepth
=8
7888 gcc_target_cpu
="ppc"
7891 # Same as powerpc, but I need this for the nightly build to work again.
7892 # Actually, the nightly should be made working with powerpc target.
7893 # That just was too much work for the moment, another week or two.
7895 aros_target_cpu
="ppc"
7896 aros_object_format
="elf32ppc"
7897 aros_flavour
="emulation"
7898 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7899 aros_default_wbdepth
=8
7900 gcc_target_cpu
="ppc"
7903 aros_target_cpu
="arm"
7905 aros_object_format
="armelf_aros"
7906 aros_flavour
="emulation"
7907 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7908 gcc_target_cpu
="arm"
7909 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7910 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7911 aros_arch_libs
="-laeabi"
7912 gcc_default_float_abi
="hard"
7913 android_tool_dir_prefix
="arm-linux-androideabi"
7914 android_tool_prefix
="arm-linux-androideabi"
7915 android_ndk_arch
="arm"
7916 kernel_tool_prefix
="arm-linux-gnueabihf-"
7919 aros_target_cpu
="arm"
7920 aros_object_format
="armelf_aros"
7921 aros_flavour
="emulation"
7922 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7923 gcc_target_cpu
="arm"
7924 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7925 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7926 aros_arch_libs
="-laeabi"
7927 android_tool_dir_prefix
="arm-linux-androideabi"
7928 android_tool_prefix
="arm-linux-androideabi"
7929 android_ndk_arch
="arm"
7930 kernel_tool_prefix
="arm-linux-gnueabi-"
7933 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7936 case "$aros_target_variant" in
7939 if test "$android_ndk_arch" = ""; then
7940 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7943 aros_default_wbwidth
=320
7944 aros_default_wbheight
=480
7945 if test "$aros_android_ndk" = "none"; then
7946 aros_kernel_cflags
="-mandroid"
7947 aros_kernel_ldflags
="-mandroid"
7950 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
7951 kernel_tool_version
=""
7952 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7953 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7954 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7955 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7956 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7959 unixgfx_hidd_target
=kernel-hidd-androidgfx
7960 # Disable implicit PIC mode
7961 aros_target_cflags
="$aros_target_cflags -fno-pic"
7962 kernel_tool_prefix
="$android_tool_prefix-"
7968 aros_target_arch
="pc"
7969 aros_shared_default
="no"
7970 target_bootloader
="grub2"
7971 case "$target_cpu" in
7973 aros_target_cpu
="i386"
7976 if test "$aros_object_format" = "" ; then
7977 aros_object_format
="elf_i386"
7979 aros_flavour
="standalone"
7980 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7981 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7982 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7983 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7984 aros_config_ldflags
="-m32 -march=i486"
7985 aros_kernel_ldflags
="-Wl,-melf_i386"
7986 aros_default_wbwidth
=640
7987 aros_default_wbheight
=480
7988 gcc_target_cpu
="i386"
7991 aros_target_cpu
="x86_64"
7993 if test "$aros_object_format" = "" ; then
7994 aros_object_format
="elf_x86_64"
7996 aros_flavour
="standalone"
7997 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7998 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7999 aros_kernel_ldflags
=""
8000 aros_default_wbwidth
=640
8001 aros_default_wbheight
=480
8004 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8010 aros_target_arch
="prep"
8011 aros_shared_default
="no"
8012 aros_target_cpu
="ppc"
8013 aros_object_format
="elf32ppc"
8014 aros_flavour
="ppcnative"
8015 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8016 aros_kernel_ldflags
=""
8017 aros_default_wbwidth
=640
8018 aros_default_wbheight
=480
8019 gcc_target_cpu
="ppc"
8023 aros_target_arch
="freebsd"
8024 aros_target_family
="unix"
8025 aros_target_cpu
="i386"
8026 aros_flavour
="emulation"
8027 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8028 gcc_target_cpu
="i386"
8030 aros_target_strip_flags
="-x"
8034 aros_target_arch
="darwin"
8035 aros_target_family
="unix"
8036 aros_flavour
="emulation"
8037 case "$target_cpu" in
8039 aros_ios_platform
="iPhoneSimulator"
8040 aros_target_cpu
="i386"
8041 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8042 aros_kernel_ldflags
=""
8043 aros_macosx_version
="10.4"
8044 aros_default_wbdepth
=8
8045 gcc_target_cpu
="i386"
8046 aros_object_format
="elf_i386"
8047 aros_kernel_ar_flags
="-cr"
8048 aros_target_strip_flags
="-x"
8049 kernel_tool_flags
="-m32"
8052 aros_target_cpu
="x86_64"
8053 aros_object_format
="elf_x86_64"
8054 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8055 aros_macosx_version
="10.6"
8056 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8057 aros_kernel_cflags
="-m64"
8058 aros_kernel_ldflags
="-m64"
8059 aros_target_cflags
="-mcmodel=large"
8060 aros_default_wbdepth
=8
8062 aros_kernel_ar_flags
="-cr"
8065 aros_kernel_ranlib
="ranlib"
8067 aros_kernel_strip
="strip"
8068 kernel_tool_prefix
="i686-apple-darwin10-"
8071 aros_target_cpu
="ppc"
8072 aros_object_format
="elf32ppc"
8073 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8074 aros_kernel_ldflags
=""
8075 aros_macosx_version
="10.0"
8076 aros_default_wbdepth
=8
8077 gcc_target_cpu
="ppc"
8079 aros_kernel_ar_flags
="-cr"
8080 aros_kernel_ld
="ld -arch ppc"
8081 aros_kernel_as
="as -arch ppc"
8082 aros_kernel_ranlib
="ranlib -arch ppc"
8083 aros_kernel_nm
="nm -arch ppc"
8084 aros_kernel_strip
="strip -arch ppc"
8085 kernel_tool_prefix
="powerpc-apple-darwin10-"
8088 aros_ios_platform
="iPhoneOS"
8089 aros_target_cpu
="arm"
8090 aros_object_format
="armelf_aros"
8091 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8092 aros_arch_libs
="-laeabi"
8093 aros_default_wbdepth
=8
8094 gcc_target_cpu
="arm"
8096 aros_kernel_ar_flags
="-cr"
8097 aros_kernel_ld
="ld -arch arm"
8098 aros_kernel_ranlib
="ranlib -arch arm"
8099 kernel_tool_prefix
="arm-apple-darwin10-"
8100 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8103 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8106 case "$aros_target_variant" in
8108 aros_ios_version
="3.0"
8109 aros_default_wbwidth
=320
8110 aros_default_wbheight
=480
8111 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8112 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8113 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8115 # This is here because it may depend on iOS or SDK version
8116 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8117 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8118 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8121 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8122 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8128 aros_target_arch
="dragonfly"
8129 aros_target_family
="unix"
8130 aros_flavour
="emulation"
8131 case "$target_cpu" in
8133 aros_target_cpu
="i386"
8134 aros_object_format
="elf_i386"
8135 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8138 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8139 aros_target_cpu
="x86_64"
8140 aros_object_format
="elf_x86_64"
8141 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8144 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8150 aros_target_arch
="netbsd"
8151 aros_target_family
="unix"
8152 case "$target_cpu" in
8154 aros_target_cpu
="m68k"
8155 aros_object_format
="m68kelf"
8156 aros_flavour
="emulcompat"
8157 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8158 gcc_target_cpu
="mc68000"
8161 aros_target_cpu
="i386"
8162 aros_object_format
="elf_i386"
8163 aros_flavour
="emulation"
8164 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8165 aros_default_wbdepth
=8
8166 gcc_target_cpu
="i386"
8169 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8172 aros_target_genmap
="-Wl,-M -Xlinker >"
8173 aros_flavour
="emulation"
8174 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8178 aros_target_arch
="openbsd"
8179 aros_target_family
="unix"
8180 case "$target_cpu" in
8182 aros_target_cpu
="i386"
8183 aros_object_format
="elf_i386"
8184 aros_flavour
="emulation"
8185 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8186 gcc_target_cpu
="i386"
8189 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8192 aros_target_genmap
="-Wl,-M -Xlinker >"
8193 aros_target_nm_flags
="-u"
8194 aros_flavour
="emulation"
8198 aros_target_arch
="solaris"
8199 aros_target_family
="unix"
8200 case "$target_cpu" in
8202 aros_target_cpu
="i386"
8203 aros_object_format
="elf_i386"
8204 aros_flavour
="emulation"
8205 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8206 aros_default_wbdepth
=8
8207 gcc_target_cpu
="i386"
8210 aros_target_cpu
="sparc"
8211 aros_object_format
="elf_sparc"
8212 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8213 gcc_target_cpu
="sparc"
8216 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8219 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8220 aros_flavour
="emulation"
8224 aros_target_arch
="morphos"
8225 aros_shared_default
="no"
8226 aros_target_cpu
="ppc"
8227 aros_object_format
="elf_ppc"
8228 aros_flavour
="nativecompat"
8229 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8230 gcc_target_cpu
="ppc"
8234 aros_target_arch
="sam440"
8235 aros_shared_default
="no"
8236 aros_target_cpu
="ppc"
8237 aros_object_format
="elf32ppc"
8238 aros_flavour
="ppcnative"
8239 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8240 aros_kernel_ldflags
=""
8241 aros_default_wbwidth
=1024
8242 aros_default_wbheight
=768
8243 aros_default_wbdepth
=24
8244 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8245 gcc_target_cpu
="powerpc"
8249 aros_target_arch
="efika"
8250 aros_shared_default
="no"
8251 aros_target_cpu
="arm"
8252 aros_object_format
="armelf_aros"
8253 aros_flavour
="standalone"
8254 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8255 aros_kernel_ldflags
=""
8256 aros_default_wbwidth
=1024
8257 aros_default_wbheight
=600
8258 aros_arch_libs
="-laeabi"
8259 gcc_default_cpu
="armv7-a"
8260 gcc_default_fpu
="vfpv3"
8261 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables -Os"
8262 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables -Os"
8263 case "$target_cpu" in
8265 gcc_default_float_abi
="hard"
8270 gcc_default_float_abi
="softfp"
8273 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8279 aros_target_arch
="chrp"
8280 aros_shared_default
="no"
8281 aros_target_cpu
="ppc"
8282 aros_object_format
="elf32ppc"
8283 aros_flavour
="ppcnative"
8284 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8285 aros_kernel_ldflags
=""
8286 aros_default_wbwidth
=640
8287 aros_default_wbheight
=480
8288 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8289 gcc_target_cpu
="powerpc"
8290 case "$aros_target_variant" in
8292 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8298 aros_flavour
="standalone"
8299 aros_target_arch
="raspi"
8300 aros_target_cpu
="arm"
8301 aros_object_format
="armelf_aros"
8302 aros_shared_default
="no"
8303 aros_arch_libs
="-laeabi"
8305 gcc_default_cpu
="armv6"
8306 gcc_default_cpu_tune
="arm1176jzf-s"
8307 case "$target_cpu" in
8309 gcc_default_float_abi
="hard"
8312 gcc_default_float_abi
="softfp"
8315 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8319 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8320 aros_config_cflags
="$aros_config_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8321 aros_config_aflags
="$aros_config_aflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8322 aros_kernel_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8323 aros_target_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8327 aros_target_arch
="amiga"
8328 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8329 aros_shared_default
="no"
8331 case "$target_cpu" in
8333 # Check whether --enable-amigaos_compliance was given.
8334 if test "${enable_amigaos_compliance+set}" = set; then :
8335 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8339 aros_target_cpu
="m68k"
8340 aros_object_format
="m68kelf"
8341 aros_flavour
="standcompat"
8342 gcc_target_cpu
="m68000"
8343 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -Os -DNOLIBINLINE"
8344 aros_config_aflags
="$aros_config_aflags"
8345 aros_target_strip_flags
="-R.comment --strip-debug"
8346 aros_default_wbwidth
=640
8347 aros_default_wbheight
=256
8348 aros_default_wbdepth
=2
8352 aros_flavour
="native"
8353 gcc_target_cpu
="ppc"
8356 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8362 aros_target_arch
="mingw32"
8363 aros_shared_default
="no"
8364 aros_flavour
="emulation"
8365 aros_shared_cflags
=""
8366 need_crosstools
="yes"
8369 case "$target_cpu" in
8371 aros_target_cpu
="i386"
8372 aros_object_format
="elf_i386"
8373 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8374 aros_default_wbdepth
=8
8375 gcc_target_cpu
="i386"
8377 kernel_tool_prefix
="i386-mingw32-"
8380 aros_target_cpu
="x86_64"
8381 aros_object_format
="elf_x86_64"
8382 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8383 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8384 aros_default_wbdepth
=8
8385 kernel_tool_prefix
="x86_64-w64-mingw32-"
8388 aros_target_cpu
="arm"
8389 aros_object_format
="armelf_aros"
8390 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8391 aros_arch_libs
="-laeabi"
8392 aros_default_wbdepth
=8
8393 gcc_target_cpu
="arm"
8394 gcc_default_float_abi
="soft"
8395 kernel_tool_prefix
="arm-mingw32ce-"
8396 aros_default_wbwidth
=160
8397 aros_default_wbheight
=160
8400 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8403 if test $host_os = "cygwin"; then
8404 aros_kernel_cflags
="-mno-cygwin"
8408 aros_target_arch
="pp"
8409 aros_shared_default
="no"
8410 case "$target_cpu" in
8412 aros_target_cpu
="m68k"
8413 aros_object_format
="m68kelf"
8414 aros_flavour
="palmnative"
8415 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8416 aros_default_wbwidth
=160
8417 aros_default_wbheight
=160
8418 aros_default_wbdepth
=1
8419 aros_target_ar_flags
="cru"
8420 aros_compiler_libs
="-lgcc1"
8421 aros_shared_default
=no
8422 aros_shared_cflags
="-fpic"
8423 aros_shared_aflags
=""
8424 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8425 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8426 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8427 aros_debug_aflags
=""
8428 aros_debug_ldflags
="$aros_symbols_debug"
8429 aros_mungwall_debug
="0"
8430 aros_modules_debug
="0"
8431 gcc_target_cpu
="mc68000"
8432 ignore_undefined_symbols
="-ius"
8435 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8441 aros_target_arch
="mac"
8442 aros_shared_default
="no"
8443 case "$target_cpu" in
8445 aros_target_cpu
="m68k"
8446 aros_object_format
="m68kelf"
8447 aros_flavour
="mac68knative"
8448 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8449 aros_default_wbwidth
=512
8450 aros_default_wbheight
=384
8451 aros_default_wbdepth
=8
8452 aros_target_ar_flags
="cru"
8453 aros_compiler_libs
="-lgcc1"
8454 aros_shared_default
=no
8455 aros_shared_cflags
="-fpic"
8456 aros_shared_aflags
=""
8457 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8458 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8459 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8460 aros_debug_aflags
=""
8461 aros_debug_ldflags
="$aros_symbols_debug"
8462 aros_mungwall_debug
="0"
8463 aros_modules_debug
="0"
8464 gcc_target_cpu
="mc68000"
8465 ignore_undefined_symbols
="-ius"
8468 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8474 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8478 #-----------------------------------------------------------------------------
8479 crosstools_guess
=yes
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8482 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8484 # Check whether --with-kernel-toolchain-prefix was given.
8485 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8486 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8490 $as_echo "$kernel_tool_prefix" >&6; }
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8493 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8495 # Check whether --with-elf-toolchain-prefix was given.
8496 if test "${with_elf_toolchain_prefix+set}" = set; then :
8497 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8502 $as_echo "$elf_tool_prefix" >&6; }
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8505 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8507 # Check whether --with-aros-toolchain was given.
8508 if test "${with_aros_toolchain+set}" = set; then :
8509 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8513 if test "$aros_tool_prefix" = "yes" ; then
8514 aros_tool_prefix
=$aros_target_cpu-aros-
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8517 $as_echo "$aros_tool_prefix" >&6; }
8519 #-----------------------------------------------------------------------------
8520 # Checking if we should build crosstools..
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8522 $as_echo_n "checking whether to build crosstools... " >&6; }
8523 # Check whether --enable-crosstools was given.
8524 if test "${enable_crosstools+set}" = set; then :
8525 enableval
=$enable_crosstools; crosstools
="$enableval"
8527 crosstools
="$crosstools_guess"
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8531 $as_echo "$crosstools" >&6; }
8533 if test "${crosstools}" = "yes"; then
8534 if test "${crosstools_guess}" = "no"; then
8535 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8540 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8542 # Check whether --with-aros-toolchain-install was given.
8543 if test "${with_aros_toolchain_install+set}" = set; then :
8544 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8547 if test "x$aros_toolchain_install" = "x"; then
8548 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8550 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8551 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8554 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include Objective-C suppport" >&5
8557 $as_echo_n "checking whether to include Objective-C suppport... " >&6; }
8558 # Check whether --enable-objc was given.
8559 if test "${enable_objc+set}" = set; then :
8560 enableval
=$enable_objc; objc
="$enableval"
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
8566 $as_echo "$objc" >&6; }
8567 if test "x$objc" = "xyes"; then
8570 objc_target
="no-objc"
8573 # Now process extra architecture-specific options.
8574 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8575 # as well as floating-point ABI.
8576 case "$aros_target_cpu" in
8578 if test "$gcc_default_cpu" = ""; then
8579 gcc_default_cpu
="armv6"
8581 if test "$gcc_default_fpu" = ""; then
8582 gcc_default_fpu
="vfp"
8584 if test "$gcc_default_float_abi" = ""; then
8585 gcc_default_float_abi
="softfp"
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8589 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8591 # Check whether --with-cpu was given.
8592 if test "${with_cpu+set}" = set; then :
8593 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8595 aros_gcc_cpu
=$gcc_default_cpu
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8599 $as_echo "$aros_gcc_cpu" >&6; }
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8602 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8604 # Check whether --with-fpu was given.
8605 if test "${with_fpu+set}" = set; then :
8606 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8608 aros_gcc_fpu
=$gcc_default_fpu
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8612 $as_echo "$aros_gcc_fpu" >&6; }
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8615 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8617 # Check whether --with-float was given.
8618 if test "${with_float+set}" = set; then :
8619 withval
=$with_float; aros_gcc_float_abi
="$withval"
8621 aros_gcc_float_abi
=$gcc_default_float_abi
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8625 $as_echo "$aros_gcc_float_abi" >&6; }
8627 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"
8628 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"
8632 # Some formats need custom ELF specs.
8633 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8634 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8635 elf_specs_in
=config
/${aros_object_format}-specs.
in
8637 elf_specs_in
=config
/elf-specs.
in
8640 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8641 # Since we override specs, we may need to put these defines there
8642 if test "$gcc_target_cpu" != ""; then
8643 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8647 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8649 # Check whether --with-portssources was given.
8650 if test "${with_portssources+set}" = set; then :
8651 withval
=$with_portssources; with_portssrcdir
=$withval
8653 with_portssrcdir
="default"
8656 if test "$with_portssrcdir" = "default"; then
8657 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8659 AROS_PORTSSRCDIR
="$with_portssrcdir"
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8662 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8665 $as_echo_n "checking which bootloader to use... " >&6; }
8667 # Check whether --with-bootloader was given.
8668 if test "${with_bootloader+set}" = set; then :
8669 withval
=$with_bootloader; target_bootloader
=$withval
8671 target_bootloader
=$target_bootloader
8674 if test "$target_bootloader" = "none"; then
8675 aros_target_bootloader
=""
8677 aros_target_bootloader
="$target_bootloader"
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8680 $as_echo "$target_bootloader" >&6; }
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8683 $as_echo_n "checking which icon-set to use... " >&6; }
8685 # Check whether --with-iconset was given.
8686 if test "${with_iconset+set}" = set; then :
8687 withval
=$with_iconset; target_iconset
=$withval
8689 target_iconset
="default"
8692 if test "$target_iconset" = "default"; then
8693 aros_target_iconset
="Gorilla"
8694 target_iconset
="default (Gorilla)"
8696 aros_target_iconset
="$target_iconset"
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8699 $as_echo "$target_iconset" >&6; }
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8702 $as_echo_n "checking which GUI Theme to use... " >&6; }
8704 # Check whether --with-theme was given.
8705 if test "${with_theme+set}" = set; then :
8706 withval
=$with_theme; target_guitheme
=$withval
8708 target_guitheme
="default"
8711 if test "$target_guitheme" = "default"; then
8712 aros_target_guitheme
="Ice"
8714 aros_target_guitheme
="$target_guitheme"
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8717 $as_echo "$aros_target_guitheme" >&6; }
8719 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8723 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8727 if test "$aros_host_cpu" == "x86_64" ; then
8728 if test "$aros_target_cpu" == "i386" ; then
8733 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8734 if test "$aros_host_arch" != "$aros_target_arch" ; then
8738 if test "$host_cc_elf" = "no" ; then
8743 if test "$cross_compiling" = "no" ; then
8744 kernel_tool_prefix
=""
8745 if test "$host_cc_elf" = "yes" ; then
8750 if test "$kernel_tool_version" != ""; then
8751 kernel_tool_version
="-$kernel_tool_version"
8753 if test "$target_tool_version" != ""; then
8754 target_tool_version
="-$target_tool_version"
8757 #######################################################################
8758 ## Compute what toolchains to use, and their paths ##
8759 #######################################################################
8761 # This takes, as input:
8762 # crosstools {yes,no}
8763 # kernel_tool_version {"",[version]}
8764 # target_tool_version {"",[version]}
8765 # kernel_tool_prefix {none,[some-arch-os-]}
8766 # target_tool_prefix ${aros_target_cpu}-aros-
8767 # aros_tool_prefix ${aros_target_cpu}-aros-
8770 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8771 # Where the 'kernel' binaries are located
8772 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8773 # Where the 'target' binaries are located
8774 # (not the symlink farm - that is aros_target_*!)
8777 # if crosstools then
8778 # if kernel_tools_prefix = "no-kernel-prefix-"
8779 # aros_kernel_* = crosstools cc paths
8780 # aros_kernel_cc = elf cc wrapper around crosstools cc
8782 # VALIDATE(${kernel_tools_prefix}*)
8783 # aros_kernel_* = ${kernel_tools_prefix}*
8784 # if ${kernel_tools_prefix}cc is an AROS gcc
8785 # aros_kernel_cc = ${kernel_tools_prefix}cc
8787 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8791 # orig_target_* = aros built crosstools
8792 # orig_target_cc = elf cc wrapper around crosstools cc
8794 # VALIDATE(${kernel_tools_prefix}*)
8796 # orig_target_* = aros_kernel_*
8797 # if aros_kernel_cc is an AROS gcc
8798 # orig_target_cc = aros_kernel_cc
8800 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8804 target_tool_prefix
="${aros_target_cpu}-aros-"
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8807 $as_echo_n "checking which kernel tools... " >&6; }
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8809 $as_echo "$kernel_tool_prefix" >&6; };
8811 if test "$kernel_tool_prefix" = "none" ; then
8812 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8813 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8816 # Kernel tools required - find them
8817 # Note that 'normally', aros_kernel_* overrides will be
8818 # empty, unless specified in the per-arch sections above.
8819 if test "x$aros_kernel_cpp" = "x"; then
8820 aros_kernel_cpp
=${kernel_tool_prefix}cpp
8823 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
8824 if test "$cross_compiling" = "yes" ; then
8825 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8826 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8828 $as_echo_n "checking for $ac_word... " >&6; }
8829 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8830 $as_echo_n "(cached) " >&6
8832 case $aros_kernel_cpp in
8834 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8841 test -z "$as_dir" && as_dir
=.
8842 for ac_exec_ext
in '' $ac_executable_extensions; do
8843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8844 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8855 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8856 if test -n "$aros_kernel_cpp"; then
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8858 $as_echo "$aros_kernel_cpp" >&6; }
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8861 $as_echo "no" >&6; }
8866 if test "$GCC" = "yes"; then
8867 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8868 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8869 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8871 $as_echo_n "checking for $ac_word... " >&6; }
8872 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8873 $as_echo_n "(cached) " >&6
8875 case $aros_kernel_cpp in
8877 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8881 for as_dir
in `dirname $aros_gcc_cpp`
8884 test -z "$as_dir" && as_dir
=.
8885 for ac_exec_ext
in '' $ac_executable_extensions; do
8886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8887 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8898 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8899 if test -n "$aros_kernel_cpp"; then
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8901 $as_echo "$aros_kernel_cpp" >&6; }
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8904 $as_echo "no" >&6; }
8909 if test "$aros_kernel_cpp" = ""; then
8910 # Extract the first word of "cpp", so it can be a program name with args.
8911 set dummy cpp
; ac_word
=$2
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8913 $as_echo_n "checking for $ac_word... " >&6; }
8914 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8915 $as_echo_n "(cached) " >&6
8917 case $aros_kernel_cpp in
8919 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8926 test -z "$as_dir" && as_dir
=.
8927 for ac_exec_ext
in '' $ac_executable_extensions; do
8928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8929 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8940 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8941 if test -n "$aros_kernel_cpp"; then
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8943 $as_echo "$aros_kernel_cpp" >&6; }
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8946 $as_echo "no" >&6; }
8953 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
8954 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8956 $as_echo_n "checking for $ac_word... " >&6; }
8957 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8958 $as_echo_n "(cached) " >&6
8960 case $aros_kernel_cpp in
8962 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8969 test -z "$as_dir" && as_dir
=.
8970 for ac_exec_ext
in '' $ac_executable_extensions; do
8971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8972 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8983 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8984 if test -n "$aros_kernel_cpp"; then
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8986 $as_echo "$aros_kernel_cpp" >&6; }
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8989 $as_echo "no" >&6; }
8995 if test "$aros_kernel_cpp" = ""; then
8996 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8998 if test "x$aros_kernel_cc" = "x"; then
8999 aros_kernel_cc
=${kernel_tool_prefix}gcc
9002 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
9003 if test "$cross_compiling" = "yes" ; then
9004 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9005 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9007 $as_echo_n "checking for $ac_word... " >&6; }
9008 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9009 $as_echo_n "(cached) " >&6
9011 case $aros_kernel_cc in
9013 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9020 test -z "$as_dir" && as_dir
=.
9021 for ac_exec_ext
in '' $ac_executable_extensions; do
9022 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9023 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9034 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9035 if test -n "$aros_kernel_cc"; then
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9037 $as_echo "$aros_kernel_cc" >&6; }
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9040 $as_echo "no" >&6; }
9045 if test "$GCC" = "yes"; then
9046 aros_gcc_cc
=`$CC -print-prog-name=cc`
9047 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9048 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9050 $as_echo_n "checking for $ac_word... " >&6; }
9051 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9052 $as_echo_n "(cached) " >&6
9054 case $aros_kernel_cc in
9056 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9060 for as_dir
in `dirname $aros_gcc_cc`
9063 test -z "$as_dir" && as_dir
=.
9064 for ac_exec_ext
in '' $ac_executable_extensions; do
9065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9066 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9077 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9078 if test -n "$aros_kernel_cc"; then
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9080 $as_echo "$aros_kernel_cc" >&6; }
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9083 $as_echo "no" >&6; }
9088 if test "$aros_kernel_cc" = ""; then
9089 # Extract the first word of "cc", so it can be a program name with args.
9090 set dummy cc
; ac_word
=$2
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9092 $as_echo_n "checking for $ac_word... " >&6; }
9093 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9094 $as_echo_n "(cached) " >&6
9096 case $aros_kernel_cc in
9098 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9105 test -z "$as_dir" && as_dir
=.
9106 for ac_exec_ext
in '' $ac_executable_extensions; do
9107 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9108 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9119 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9120 if test -n "$aros_kernel_cc"; then
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9122 $as_echo "$aros_kernel_cc" >&6; }
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9125 $as_echo "no" >&6; }
9132 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9133 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9135 $as_echo_n "checking for $ac_word... " >&6; }
9136 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9137 $as_echo_n "(cached) " >&6
9139 case $aros_kernel_cc in
9141 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9148 test -z "$as_dir" && as_dir
=.
9149 for ac_exec_ext
in '' $ac_executable_extensions; do
9150 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9151 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9162 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9163 if test -n "$aros_kernel_cc"; then
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9165 $as_echo "$aros_kernel_cc" >&6; }
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9168 $as_echo "no" >&6; }
9174 if test "$aros_kernel_cc" = ""; then
9175 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9177 if test "x$aros_kernel_cxx" = "x"; then
9178 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9181 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9182 if test "$cross_compiling" = "yes" ; then
9183 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9184 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9186 $as_echo_n "checking for $ac_word... " >&6; }
9187 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9188 $as_echo_n "(cached) " >&6
9190 case $aros_kernel_cxx in
9192 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9199 test -z "$as_dir" && as_dir
=.
9200 for ac_exec_ext
in '' $ac_executable_extensions; do
9201 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9202 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9213 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9214 if test -n "$aros_kernel_cxx"; then
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9216 $as_echo "$aros_kernel_cxx" >&6; }
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9219 $as_echo "no" >&6; }
9224 if test "$GCC" = "yes"; then
9225 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9226 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9227 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9229 $as_echo_n "checking for $ac_word... " >&6; }
9230 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9231 $as_echo_n "(cached) " >&6
9233 case $aros_kernel_cxx in
9235 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9239 for as_dir
in `dirname $aros_gcc_cxx`
9242 test -z "$as_dir" && as_dir
=.
9243 for ac_exec_ext
in '' $ac_executable_extensions; do
9244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9245 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9256 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9257 if test -n "$aros_kernel_cxx"; then
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9259 $as_echo "$aros_kernel_cxx" >&6; }
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9262 $as_echo "no" >&6; }
9267 if test "$aros_kernel_cxx" = ""; then
9268 # Extract the first word of "cxx", so it can be a program name with args.
9269 set dummy cxx
; ac_word
=$2
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9271 $as_echo_n "checking for $ac_word... " >&6; }
9272 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9273 $as_echo_n "(cached) " >&6
9275 case $aros_kernel_cxx in
9277 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9284 test -z "$as_dir" && as_dir
=.
9285 for ac_exec_ext
in '' $ac_executable_extensions; do
9286 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9287 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9298 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9299 if test -n "$aros_kernel_cxx"; then
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9301 $as_echo "$aros_kernel_cxx" >&6; }
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9304 $as_echo "no" >&6; }
9311 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9312 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9314 $as_echo_n "checking for $ac_word... " >&6; }
9315 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9316 $as_echo_n "(cached) " >&6
9318 case $aros_kernel_cxx in
9320 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9327 test -z "$as_dir" && as_dir
=.
9328 for ac_exec_ext
in '' $ac_executable_extensions; do
9329 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9330 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9341 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9342 if test -n "$aros_kernel_cxx"; then
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9344 $as_echo "$aros_kernel_cxx" >&6; }
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9347 $as_echo "no" >&6; }
9353 # If it's set, make sure it's really there
9354 if test "x$aros_kernel_cxx" != "x" ; then
9355 if test "$aros_kernel_cxx" = ""; then
9356 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9360 if test "$aros_kernel_ld" = ""; then
9361 if test "$cross_compiling" = "yes" ; then
9362 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9363 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9365 $as_echo_n "checking for $ac_word... " >&6; }
9366 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9367 $as_echo_n "(cached) " >&6
9369 case $aros_kernel_ld in
9371 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9378 test -z "$as_dir" && as_dir
=.
9379 for ac_exec_ext
in '' $ac_executable_extensions; do
9380 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9381 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9392 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9393 if test -n "$aros_kernel_ld"; then
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9395 $as_echo "$aros_kernel_ld" >&6; }
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9398 $as_echo "no" >&6; }
9403 if test "$GCC" = "yes"; then
9404 aros_gcc_ld
=`$CC -print-prog-name=ld`
9405 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9406 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9408 $as_echo_n "checking for $ac_word... " >&6; }
9409 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9410 $as_echo_n "(cached) " >&6
9412 case $aros_kernel_ld in
9414 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9418 for as_dir
in `dirname $aros_gcc_ld`
9421 test -z "$as_dir" && as_dir
=.
9422 for ac_exec_ext
in '' $ac_executable_extensions; do
9423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9424 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9435 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9436 if test -n "$aros_kernel_ld"; then
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9438 $as_echo "$aros_kernel_ld" >&6; }
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9441 $as_echo "no" >&6; }
9446 if test "$aros_kernel_ld" = ""; then
9447 # Extract the first word of "ld", so it can be a program name with args.
9448 set dummy ld
; ac_word
=$2
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9450 $as_echo_n "checking for $ac_word... " >&6; }
9451 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9452 $as_echo_n "(cached) " >&6
9454 case $aros_kernel_ld in
9456 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9463 test -z "$as_dir" && as_dir
=.
9464 for ac_exec_ext
in '' $ac_executable_extensions; do
9465 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9466 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9477 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9478 if test -n "$aros_kernel_ld"; then
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9480 $as_echo "$aros_kernel_ld" >&6; }
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9483 $as_echo "no" >&6; }
9490 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9491 set dummy
$aros_kernel_ld; ac_word
=$2
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9493 $as_echo_n "checking for $ac_word... " >&6; }
9494 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9495 $as_echo_n "(cached) " >&6
9497 case $aros_kernel_ld in
9499 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9506 test -z "$as_dir" && as_dir
=.
9507 for ac_exec_ext
in '' $ac_executable_extensions; do
9508 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9509 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9520 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9521 if test -n "$aros_kernel_ld"; then
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9523 $as_echo "$aros_kernel_ld" >&6; }
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9526 $as_echo "no" >&6; }
9532 if test "$aros_kernel_ld" = ""; then
9533 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9536 if test "$aros_kernel_as" = ""; then
9537 if test "$cross_compiling" = "yes" ; then
9538 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9539 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9541 $as_echo_n "checking for $ac_word... " >&6; }
9542 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9543 $as_echo_n "(cached) " >&6
9545 case $aros_kernel_as in
9547 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9554 test -z "$as_dir" && as_dir
=.
9555 for ac_exec_ext
in '' $ac_executable_extensions; do
9556 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9557 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9568 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9569 if test -n "$aros_kernel_as"; then
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9571 $as_echo "$aros_kernel_as" >&6; }
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9574 $as_echo "no" >&6; }
9579 if test "$GCC" = "yes"; then
9580 aros_gcc_as
=`$CC -print-prog-name=as`
9581 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9582 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9584 $as_echo_n "checking for $ac_word... " >&6; }
9585 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9586 $as_echo_n "(cached) " >&6
9588 case $aros_kernel_as in
9590 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9594 for as_dir
in `dirname $aros_gcc_as`
9597 test -z "$as_dir" && as_dir
=.
9598 for ac_exec_ext
in '' $ac_executable_extensions; do
9599 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9600 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9611 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9612 if test -n "$aros_kernel_as"; then
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9614 $as_echo "$aros_kernel_as" >&6; }
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9617 $as_echo "no" >&6; }
9622 if test "$aros_kernel_as" = ""; then
9623 # Extract the first word of "as", so it can be a program name with args.
9624 set dummy as
; ac_word
=$2
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9626 $as_echo_n "checking for $ac_word... " >&6; }
9627 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9628 $as_echo_n "(cached) " >&6
9630 case $aros_kernel_as in
9632 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9639 test -z "$as_dir" && as_dir
=.
9640 for ac_exec_ext
in '' $ac_executable_extensions; do
9641 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9642 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9653 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9654 if test -n "$aros_kernel_as"; then
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9656 $as_echo "$aros_kernel_as" >&6; }
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9659 $as_echo "no" >&6; }
9666 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9667 set dummy
$aros_kernel_as; ac_word
=$2
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9669 $as_echo_n "checking for $ac_word... " >&6; }
9670 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9671 $as_echo_n "(cached) " >&6
9673 case $aros_kernel_as in
9675 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9682 test -z "$as_dir" && as_dir
=.
9683 for ac_exec_ext
in '' $ac_executable_extensions; do
9684 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9685 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9696 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9697 if test -n "$aros_kernel_as"; then
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9699 $as_echo "$aros_kernel_as" >&6; }
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9702 $as_echo "no" >&6; }
9708 if test "$aros_kernel_as" = ""; then
9709 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9712 if test "$aros_kernel_ar" = ""; then
9713 if test "$cross_compiling" = "yes" ; then
9714 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9715 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9717 $as_echo_n "checking for $ac_word... " >&6; }
9718 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9719 $as_echo_n "(cached) " >&6
9721 case $aros_kernel_ar in
9723 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9730 test -z "$as_dir" && as_dir
=.
9731 for ac_exec_ext
in '' $ac_executable_extensions; do
9732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9733 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9744 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9745 if test -n "$aros_kernel_ar"; then
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9747 $as_echo "$aros_kernel_ar" >&6; }
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9750 $as_echo "no" >&6; }
9755 if test "$GCC" = "yes"; then
9756 aros_gcc_ar
=`$CC -print-prog-name=ar`
9757 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9758 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9760 $as_echo_n "checking for $ac_word... " >&6; }
9761 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9762 $as_echo_n "(cached) " >&6
9764 case $aros_kernel_ar in
9766 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9770 for as_dir
in `dirname $aros_gcc_ar`
9773 test -z "$as_dir" && as_dir
=.
9774 for ac_exec_ext
in '' $ac_executable_extensions; do
9775 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9776 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9787 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9788 if test -n "$aros_kernel_ar"; then
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9790 $as_echo "$aros_kernel_ar" >&6; }
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9793 $as_echo "no" >&6; }
9798 if test "$aros_kernel_ar" = ""; then
9799 # Extract the first word of "ar", so it can be a program name with args.
9800 set dummy
ar; ac_word
=$2
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9802 $as_echo_n "checking for $ac_word... " >&6; }
9803 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9804 $as_echo_n "(cached) " >&6
9806 case $aros_kernel_ar in
9808 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9815 test -z "$as_dir" && as_dir
=.
9816 for ac_exec_ext
in '' $ac_executable_extensions; do
9817 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9818 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9829 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9830 if test -n "$aros_kernel_ar"; then
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9832 $as_echo "$aros_kernel_ar" >&6; }
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9835 $as_echo "no" >&6; }
9842 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9843 set dummy
$aros_kernel_ar; ac_word
=$2
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9845 $as_echo_n "checking for $ac_word... " >&6; }
9846 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9847 $as_echo_n "(cached) " >&6
9849 case $aros_kernel_ar in
9851 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9858 test -z "$as_dir" && as_dir
=.
9859 for ac_exec_ext
in '' $ac_executable_extensions; do
9860 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9861 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9872 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9873 if test -n "$aros_kernel_ar"; then
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9875 $as_echo "$aros_kernel_ar" >&6; }
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9878 $as_echo "no" >&6; }
9884 if test "$aros_kernel_ar" = ""; then
9885 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9888 if test "$aros_kernel_ranlib" = ""; then
9889 if test "$cross_compiling" = "yes" ; then
9890 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9891 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9893 $as_echo_n "checking for $ac_word... " >&6; }
9894 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9895 $as_echo_n "(cached) " >&6
9897 case $aros_kernel_ranlib in
9899 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9906 test -z "$as_dir" && as_dir
=.
9907 for ac_exec_ext
in '' $ac_executable_extensions; do
9908 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9909 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9920 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9921 if test -n "$aros_kernel_ranlib"; then
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9923 $as_echo "$aros_kernel_ranlib" >&6; }
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9926 $as_echo "no" >&6; }
9931 if test "$GCC" = "yes"; then
9932 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9933 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9934 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9936 $as_echo_n "checking for $ac_word... " >&6; }
9937 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9938 $as_echo_n "(cached) " >&6
9940 case $aros_kernel_ranlib in
9942 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9946 for as_dir
in `dirname $aros_gcc_ranlib`
9949 test -z "$as_dir" && as_dir
=.
9950 for ac_exec_ext
in '' $ac_executable_extensions; do
9951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9952 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9963 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9964 if test -n "$aros_kernel_ranlib"; then
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9966 $as_echo "$aros_kernel_ranlib" >&6; }
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9969 $as_echo "no" >&6; }
9974 if test "$aros_kernel_ranlib" = ""; then
9975 # Extract the first word of "ranlib", so it can be a program name with args.
9976 set dummy ranlib
; ac_word
=$2
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9978 $as_echo_n "checking for $ac_word... " >&6; }
9979 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9980 $as_echo_n "(cached) " >&6
9982 case $aros_kernel_ranlib in
9984 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9991 test -z "$as_dir" && as_dir
=.
9992 for ac_exec_ext
in '' $ac_executable_extensions; do
9993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9994 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10005 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10006 if test -n "$aros_kernel_ranlib"; then
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10008 $as_echo "$aros_kernel_ranlib" >&6; }
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10011 $as_echo "no" >&6; }
10018 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10019 set dummy
$aros_kernel_ranlib; ac_word
=$2
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10021 $as_echo_n "checking for $ac_word... " >&6; }
10022 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10023 $as_echo_n "(cached) " >&6
10025 case $aros_kernel_ranlib in
10027 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10031 for as_dir
in $PATH
10034 test -z "$as_dir" && as_dir
=.
10035 for ac_exec_ext
in '' $ac_executable_extensions; do
10036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10037 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10048 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10049 if test -n "$aros_kernel_ranlib"; then
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10051 $as_echo "$aros_kernel_ranlib" >&6; }
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10054 $as_echo "no" >&6; }
10060 if test "$aros_kernel_ranlib" = ""; then
10061 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10064 if test "$aros_kernel_nm" = ""; then
10065 if test "$cross_compiling" = "yes" ; then
10066 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10067 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10069 $as_echo_n "checking for $ac_word... " >&6; }
10070 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10071 $as_echo_n "(cached) " >&6
10073 case $aros_kernel_nm in
10075 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10079 for as_dir
in $PATH
10082 test -z "$as_dir" && as_dir
=.
10083 for ac_exec_ext
in '' $ac_executable_extensions; do
10084 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10085 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10096 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10097 if test -n "$aros_kernel_nm"; then
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10099 $as_echo "$aros_kernel_nm" >&6; }
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10102 $as_echo "no" >&6; }
10107 if test "$GCC" = "yes"; then
10108 aros_gcc_nm
=`$CC -print-prog-name=nm`
10109 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10110 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10112 $as_echo_n "checking for $ac_word... " >&6; }
10113 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10114 $as_echo_n "(cached) " >&6
10116 case $aros_kernel_nm in
10118 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10122 for as_dir
in `dirname $aros_gcc_nm`
10125 test -z "$as_dir" && as_dir
=.
10126 for ac_exec_ext
in '' $ac_executable_extensions; do
10127 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10128 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10139 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10140 if test -n "$aros_kernel_nm"; then
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10142 $as_echo "$aros_kernel_nm" >&6; }
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10145 $as_echo "no" >&6; }
10150 if test "$aros_kernel_nm" = ""; then
10151 # Extract the first word of "nm", so it can be a program name with args.
10152 set dummy nm
; ac_word
=$2
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10154 $as_echo_n "checking for $ac_word... " >&6; }
10155 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10156 $as_echo_n "(cached) " >&6
10158 case $aros_kernel_nm in
10160 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10164 for as_dir
in $PATH
10167 test -z "$as_dir" && as_dir
=.
10168 for ac_exec_ext
in '' $ac_executable_extensions; do
10169 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10170 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10181 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10182 if test -n "$aros_kernel_nm"; then
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10184 $as_echo "$aros_kernel_nm" >&6; }
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10187 $as_echo "no" >&6; }
10194 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10195 set dummy
$aros_kernel_nm; ac_word
=$2
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10197 $as_echo_n "checking for $ac_word... " >&6; }
10198 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10199 $as_echo_n "(cached) " >&6
10201 case $aros_kernel_nm in
10203 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10207 for as_dir
in $PATH
10210 test -z "$as_dir" && as_dir
=.
10211 for ac_exec_ext
in '' $ac_executable_extensions; do
10212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10213 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10224 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10225 if test -n "$aros_kernel_nm"; then
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10227 $as_echo "$aros_kernel_nm" >&6; }
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10230 $as_echo "no" >&6; }
10236 if test "$aros_kernel_nm" = ""; then
10237 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10240 if test "$aros_kernel_strip" = ""; then
10241 if test "$cross_compiling" = "yes" ; then
10242 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10243 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10245 $as_echo_n "checking for $ac_word... " >&6; }
10246 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10247 $as_echo_n "(cached) " >&6
10249 case $aros_kernel_strip in
10251 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10255 for as_dir
in $PATH
10258 test -z "$as_dir" && as_dir
=.
10259 for ac_exec_ext
in '' $ac_executable_extensions; do
10260 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10261 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10272 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10273 if test -n "$aros_kernel_strip"; then
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10275 $as_echo "$aros_kernel_strip" >&6; }
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10278 $as_echo "no" >&6; }
10283 if test "$GCC" = "yes"; then
10284 aros_gcc_strip
=`$CC -print-prog-name=strip`
10285 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10286 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10288 $as_echo_n "checking for $ac_word... " >&6; }
10289 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10290 $as_echo_n "(cached) " >&6
10292 case $aros_kernel_strip in
10294 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10298 for as_dir
in `dirname $aros_gcc_strip`
10301 test -z "$as_dir" && as_dir
=.
10302 for ac_exec_ext
in '' $ac_executable_extensions; do
10303 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10304 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10315 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10316 if test -n "$aros_kernel_strip"; then
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10318 $as_echo "$aros_kernel_strip" >&6; }
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10321 $as_echo "no" >&6; }
10326 if test "$aros_kernel_strip" = ""; then
10327 # Extract the first word of "strip", so it can be a program name with args.
10328 set dummy strip
; ac_word
=$2
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10330 $as_echo_n "checking for $ac_word... " >&6; }
10331 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10332 $as_echo_n "(cached) " >&6
10334 case $aros_kernel_strip in
10336 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10340 for as_dir
in $PATH
10343 test -z "$as_dir" && as_dir
=.
10344 for ac_exec_ext
in '' $ac_executable_extensions; do
10345 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10346 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10357 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10358 if test -n "$aros_kernel_strip"; then
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10360 $as_echo "$aros_kernel_strip" >&6; }
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10363 $as_echo "no" >&6; }
10370 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10371 set dummy
$aros_kernel_strip; ac_word
=$2
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10373 $as_echo_n "checking for $ac_word... " >&6; }
10374 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10375 $as_echo_n "(cached) " >&6
10377 case $aros_kernel_strip in
10379 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10383 for as_dir
in $PATH
10386 test -z "$as_dir" && as_dir
=.
10387 for ac_exec_ext
in '' $ac_executable_extensions; do
10388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10389 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10400 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10401 if test -n "$aros_kernel_strip"; then
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10403 $as_echo "$aros_kernel_strip" >&6; }
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10406 $as_echo "no" >&6; }
10412 if test "$aros_kernel_strip" = ""; then
10413 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10416 # Objcopy and objdump are not required for the kernel
10417 # toolchain on many architectures.
10418 # So we'll look for them, but not make them strictly required.
10420 if test "$aros_kernel_objcopy" = ""; then
10421 if test "$cross_compiling" = "yes" ; then
10422 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10423 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10425 $as_echo_n "checking for $ac_word... " >&6; }
10426 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10427 $as_echo_n "(cached) " >&6
10429 case $aros_kernel_objcopy in
10431 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10435 for as_dir
in $PATH
10438 test -z "$as_dir" && as_dir
=.
10439 for ac_exec_ext
in '' $ac_executable_extensions; do
10440 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10441 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10452 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10453 if test -n "$aros_kernel_objcopy"; then
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10455 $as_echo "$aros_kernel_objcopy" >&6; }
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10458 $as_echo "no" >&6; }
10463 if test "$GCC" = "yes"; then
10464 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10465 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10466 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10468 $as_echo_n "checking for $ac_word... " >&6; }
10469 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10470 $as_echo_n "(cached) " >&6
10472 case $aros_kernel_objcopy in
10474 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10478 for as_dir
in `dirname $aros_gcc_objcopy`
10481 test -z "$as_dir" && as_dir
=.
10482 for ac_exec_ext
in '' $ac_executable_extensions; do
10483 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10484 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10495 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10496 if test -n "$aros_kernel_objcopy"; then
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10498 $as_echo "$aros_kernel_objcopy" >&6; }
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10501 $as_echo "no" >&6; }
10506 if test "$aros_kernel_objcopy" = ""; then
10507 # Extract the first word of "objcopy", so it can be a program name with args.
10508 set dummy objcopy
; ac_word
=$2
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10510 $as_echo_n "checking for $ac_word... " >&6; }
10511 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10512 $as_echo_n "(cached) " >&6
10514 case $aros_kernel_objcopy in
10516 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10520 for as_dir
in $PATH
10523 test -z "$as_dir" && as_dir
=.
10524 for ac_exec_ext
in '' $ac_executable_extensions; do
10525 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10526 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10537 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10538 if test -n "$aros_kernel_objcopy"; then
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10540 $as_echo "$aros_kernel_objcopy" >&6; }
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10543 $as_echo "no" >&6; }
10550 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10551 set dummy
$aros_kernel_objcopy; ac_word
=$2
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10553 $as_echo_n "checking for $ac_word... " >&6; }
10554 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10555 $as_echo_n "(cached) " >&6
10557 case $aros_kernel_objcopy in
10559 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10563 for as_dir
in $PATH
10566 test -z "$as_dir" && as_dir
=.
10567 for ac_exec_ext
in '' $ac_executable_extensions; do
10568 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10569 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10580 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10581 if test -n "$aros_kernel_objcopy"; then
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10583 $as_echo "$aros_kernel_objcopy" >&6; }
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10586 $as_echo "no" >&6; }
10593 if test "$aros_kernel_objdump" = ""; then
10594 if test "$cross_compiling" = "yes" ; then
10595 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10596 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10598 $as_echo_n "checking for $ac_word... " >&6; }
10599 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10600 $as_echo_n "(cached) " >&6
10602 case $aros_kernel_objdump in
10604 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10608 for as_dir
in $PATH
10611 test -z "$as_dir" && as_dir
=.
10612 for ac_exec_ext
in '' $ac_executable_extensions; do
10613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10614 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10625 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10626 if test -n "$aros_kernel_objdump"; then
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10628 $as_echo "$aros_kernel_objdump" >&6; }
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10631 $as_echo "no" >&6; }
10636 if test "$GCC" = "yes"; then
10637 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10638 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10639 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10641 $as_echo_n "checking for $ac_word... " >&6; }
10642 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10643 $as_echo_n "(cached) " >&6
10645 case $aros_kernel_objdump in
10647 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10651 for as_dir
in `dirname $aros_gcc_objdump`
10654 test -z "$as_dir" && as_dir
=.
10655 for ac_exec_ext
in '' $ac_executable_extensions; do
10656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10657 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10668 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10669 if test -n "$aros_kernel_objdump"; then
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10671 $as_echo "$aros_kernel_objdump" >&6; }
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10674 $as_echo "no" >&6; }
10679 if test "$aros_kernel_objdump" = ""; then
10680 # Extract the first word of "objdump", so it can be a program name with args.
10681 set dummy objdump
; ac_word
=$2
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10683 $as_echo_n "checking for $ac_word... " >&6; }
10684 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10685 $as_echo_n "(cached) " >&6
10687 case $aros_kernel_objdump in
10689 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10693 for as_dir
in $PATH
10696 test -z "$as_dir" && as_dir
=.
10697 for ac_exec_ext
in '' $ac_executable_extensions; do
10698 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10699 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10710 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10711 if test -n "$aros_kernel_objdump"; then
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10713 $as_echo "$aros_kernel_objdump" >&6; }
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10716 $as_echo "no" >&6; }
10723 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10724 set dummy
$aros_kernel_objdump; ac_word
=$2
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10726 $as_echo_n "checking for $ac_word... " >&6; }
10727 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10728 $as_echo_n "(cached) " >&6
10730 case $aros_kernel_objdump in
10732 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10736 for as_dir
in $PATH
10739 test -z "$as_dir" && as_dir
=.
10740 for ac_exec_ext
in '' $ac_executable_extensions; do
10741 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10742 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10753 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10754 if test -n "$aros_kernel_objdump"; then
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10756 $as_echo "$aros_kernel_objdump" >&6; }
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10759 $as_echo "no" >&6; }
10765 if test "x${crosstools}" != "xyes" ; then
10766 if test "$aros_kernel_objcopy" = ""; then
10767 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10769 if test "$aros_kernel_objdump" = ""; then
10770 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10776 $as_echo_n "checking which target tools to use... " >&6; }
10777 if test "$crosstools" = "yes"; then
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10779 $as_echo "$target_tool_prefix" >&6; }
10780 # We are are building AROS crosstools
10781 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10782 orig_target_cc
="${tmp_tool_prefix}gcc${target_tool_version}"
10783 orig_target_cxx
="${tmp_tool_prefix}g++${target_tool_version}"
10784 orig_target_cpp
="${tmp_tool_prefix}cpp"
10785 orig_target_ld
="${tmp_tool_prefix}ld"
10786 orig_target_as
="${tmp_tool_prefix}as"
10787 orig_target_ar
="${tmp_tool_prefix}ar"
10788 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10789 orig_target_nm
="${tmp_tool_prefix}nm"
10790 orig_target_strip
="${tmp_tool_prefix}strip"
10791 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10792 orig_target_objdump
="${tmp_tool_prefix}objdump"
10794 # Determine whether AROS or ELF tools should be used
10795 if test "$aros_tool_prefix" = "none"; then
10796 aros_tool_prefix
="${elf_tool_prefix}"
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10800 $as_echo "$aros_tool_prefix" >&6; }
10801 # We are *not* building AROS crosstools - use the AROS or ELF tools
10803 if test "${aros_tool_prefix}cpp${target_tool_version}" = ""; then
10804 if test "$cross_compiling" = "yes" ; then
10805 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10806 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10808 $as_echo_n "checking for $ac_word... " >&6; }
10809 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10810 $as_echo_n "(cached) " >&6
10812 case $orig_target_cpp in
10814 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10818 for as_dir
in $PATH
10821 test -z "$as_dir" && as_dir
=.
10822 for ac_exec_ext
in '' $ac_executable_extensions; do
10823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10824 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10835 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10836 if test -n "$orig_target_cpp"; then
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10838 $as_echo "$orig_target_cpp" >&6; }
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10841 $as_echo "no" >&6; }
10846 if test "$GCC" = "yes"; then
10847 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10848 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10849 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10851 $as_echo_n "checking for $ac_word... " >&6; }
10852 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10853 $as_echo_n "(cached) " >&6
10855 case $orig_target_cpp in
10857 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10861 for as_dir
in `dirname $aros_gcc_cpp`
10864 test -z "$as_dir" && as_dir
=.
10865 for ac_exec_ext
in '' $ac_executable_extensions; do
10866 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10867 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10878 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10879 if test -n "$orig_target_cpp"; then
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10881 $as_echo "$orig_target_cpp" >&6; }
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10884 $as_echo "no" >&6; }
10889 if test "$orig_target_cpp" = ""; then
10890 # Extract the first word of "cpp", so it can be a program name with args.
10891 set dummy cpp
; ac_word
=$2
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10893 $as_echo_n "checking for $ac_word... " >&6; }
10894 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10895 $as_echo_n "(cached) " >&6
10897 case $orig_target_cpp in
10899 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10903 for as_dir
in $PATH
10906 test -z "$as_dir" && as_dir
=.
10907 for ac_exec_ext
in '' $ac_executable_extensions; do
10908 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10909 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10920 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10921 if test -n "$orig_target_cpp"; then
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10923 $as_echo "$orig_target_cpp" >&6; }
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10926 $as_echo "no" >&6; }
10933 # Extract the first word of "${aros_tool_prefix}cpp${target_tool_version}", so it can be a program name with args.
10934 set dummy
${aros_tool_prefix}cpp
${target_tool_version}; ac_word
=$2
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10936 $as_echo_n "checking for $ac_word... " >&6; }
10937 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10938 $as_echo_n "(cached) " >&6
10940 case $orig_target_cpp in
10942 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10946 for as_dir
in $PATH
10949 test -z "$as_dir" && as_dir
=.
10950 for ac_exec_ext
in '' $ac_executable_extensions; do
10951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10952 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10963 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10964 if test -n "$orig_target_cpp"; then
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10966 $as_echo "$orig_target_cpp" >&6; }
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10969 $as_echo "no" >&6; }
10975 if test "$orig_target_cpp" = ""; then
10976 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10979 if test "${aros_tool_prefix}gcc${target_tool_version}" = ""; then
10980 if test "$cross_compiling" = "yes" ; then
10981 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10982 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10984 $as_echo_n "checking for $ac_word... " >&6; }
10985 if ${ac_cv_path_orig_target_cc+:} false
; then :
10986 $as_echo_n "(cached) " >&6
10988 case $orig_target_cc in
10990 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10994 for as_dir
in $PATH
10997 test -z "$as_dir" && as_dir
=.
10998 for ac_exec_ext
in '' $ac_executable_extensions; do
10999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11000 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11011 orig_target_cc
=$ac_cv_path_orig_target_cc
11012 if test -n "$orig_target_cc"; then
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11014 $as_echo "$orig_target_cc" >&6; }
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11017 $as_echo "no" >&6; }
11022 if test "$GCC" = "yes"; then
11023 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11024 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11025 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11027 $as_echo_n "checking for $ac_word... " >&6; }
11028 if ${ac_cv_path_orig_target_cc+:} false
; then :
11029 $as_echo_n "(cached) " >&6
11031 case $orig_target_cc in
11033 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11037 for as_dir
in `dirname $aros_gcc_gcc`
11040 test -z "$as_dir" && as_dir
=.
11041 for ac_exec_ext
in '' $ac_executable_extensions; do
11042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11043 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11054 orig_target_cc
=$ac_cv_path_orig_target_cc
11055 if test -n "$orig_target_cc"; then
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11057 $as_echo "$orig_target_cc" >&6; }
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11060 $as_echo "no" >&6; }
11065 if test "$orig_target_cc" = ""; then
11066 # Extract the first word of "gcc", so it can be a program name with args.
11067 set dummy gcc
; ac_word
=$2
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11069 $as_echo_n "checking for $ac_word... " >&6; }
11070 if ${ac_cv_path_orig_target_cc+:} false
; then :
11071 $as_echo_n "(cached) " >&6
11073 case $orig_target_cc in
11075 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11079 for as_dir
in $PATH
11082 test -z "$as_dir" && as_dir
=.
11083 for ac_exec_ext
in '' $ac_executable_extensions; do
11084 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11085 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11096 orig_target_cc
=$ac_cv_path_orig_target_cc
11097 if test -n "$orig_target_cc"; then
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11099 $as_echo "$orig_target_cc" >&6; }
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11102 $as_echo "no" >&6; }
11109 # Extract the first word of "${aros_tool_prefix}gcc${target_tool_version}", so it can be a program name with args.
11110 set dummy
${aros_tool_prefix}gcc
${target_tool_version}; ac_word
=$2
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11112 $as_echo_n "checking for $ac_word... " >&6; }
11113 if ${ac_cv_path_orig_target_cc+:} false
; then :
11114 $as_echo_n "(cached) " >&6
11116 case $orig_target_cc in
11118 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11122 for as_dir
in $PATH
11125 test -z "$as_dir" && as_dir
=.
11126 for ac_exec_ext
in '' $ac_executable_extensions; do
11127 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11128 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11139 orig_target_cc
=$ac_cv_path_orig_target_cc
11140 if test -n "$orig_target_cc"; then
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11142 $as_echo "$orig_target_cc" >&6; }
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11145 $as_echo "no" >&6; }
11151 if test "$orig_target_cc" = ""; then
11152 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11155 if test "${aros_tool_prefix}g++${target_tool_version}" = ""; then
11156 if test "$cross_compiling" = "yes" ; then
11157 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11158 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11160 $as_echo_n "checking for $ac_word... " >&6; }
11161 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11162 $as_echo_n "(cached) " >&6
11164 case $orig_target_cxx in
11166 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11170 for as_dir
in $PATH
11173 test -z "$as_dir" && as_dir
=.
11174 for ac_exec_ext
in '' $ac_executable_extensions; do
11175 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11176 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11187 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11188 if test -n "$orig_target_cxx"; then
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11190 $as_echo "$orig_target_cxx" >&6; }
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11193 $as_echo "no" >&6; }
11198 if test "$GCC" = "yes"; then
11199 aros_gcc_g
++=`$CC -print-prog-name=g++`
11200 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11201 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11203 $as_echo_n "checking for $ac_word... " >&6; }
11204 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11205 $as_echo_n "(cached) " >&6
11207 case $orig_target_cxx in
11209 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11213 for as_dir
in `dirname $aros_gcc_g++`
11216 test -z "$as_dir" && as_dir
=.
11217 for ac_exec_ext
in '' $ac_executable_extensions; do
11218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11219 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11230 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11231 if test -n "$orig_target_cxx"; then
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11233 $as_echo "$orig_target_cxx" >&6; }
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11236 $as_echo "no" >&6; }
11241 if test "$orig_target_cxx" = ""; then
11242 # Extract the first word of "g++", so it can be a program name with args.
11243 set dummy g
++; ac_word
=$2
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11245 $as_echo_n "checking for $ac_word... " >&6; }
11246 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11247 $as_echo_n "(cached) " >&6
11249 case $orig_target_cxx in
11251 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11255 for as_dir
in $PATH
11258 test -z "$as_dir" && as_dir
=.
11259 for ac_exec_ext
in '' $ac_executable_extensions; do
11260 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11261 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11272 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11273 if test -n "$orig_target_cxx"; then
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11275 $as_echo "$orig_target_cxx" >&6; }
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11278 $as_echo "no" >&6; }
11285 # Extract the first word of "${aros_tool_prefix}g++${target_tool_version}", so it can be a program name with args.
11286 set dummy
${aros_tool_prefix}g
++${target_tool_version}; ac_word
=$2
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11288 $as_echo_n "checking for $ac_word... " >&6; }
11289 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11290 $as_echo_n "(cached) " >&6
11292 case $orig_target_cxx in
11294 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11298 for as_dir
in $PATH
11301 test -z "$as_dir" && as_dir
=.
11302 for ac_exec_ext
in '' $ac_executable_extensions; do
11303 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11304 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11315 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11316 if test -n "$orig_target_cxx"; then
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11318 $as_echo "$orig_target_cxx" >&6; }
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11321 $as_echo "no" >&6; }
11327 if test "$orig_target_cxx" = ""; then
11328 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11331 if test "${aros_tool_prefix}ld" = ""; then
11332 if test "$cross_compiling" = "yes" ; then
11333 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11334 set dummy
${target_tool_prefix}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 $PATH
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 "$GCC" = "yes"; then
11375 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11376 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11377 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11379 $as_echo_n "checking for $ac_word... " >&6; }
11380 if ${ac_cv_path_orig_target_ld+:} false
; then :
11381 $as_echo_n "(cached) " >&6
11383 case $orig_target_ld in
11385 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11389 for as_dir
in `dirname $aros_gcc_gcc`
11392 test -z "$as_dir" && as_dir
=.
11393 for ac_exec_ext
in '' $ac_executable_extensions; do
11394 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11395 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11406 orig_target_ld
=$ac_cv_path_orig_target_ld
11407 if test -n "$orig_target_ld"; then
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11409 $as_echo "$orig_target_ld" >&6; }
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11412 $as_echo "no" >&6; }
11417 if test "$orig_target_ld" = ""; then
11418 # Extract the first word of "gcc", so it can be a program name with args.
11419 set dummy gcc
; 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; }
11461 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11462 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11464 $as_echo_n "checking for $ac_word... " >&6; }
11465 if ${ac_cv_path_orig_target_ld+:} false
; then :
11466 $as_echo_n "(cached) " >&6
11468 case $orig_target_ld in
11470 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11474 for as_dir
in $PATH
11477 test -z "$as_dir" && as_dir
=.
11478 for ac_exec_ext
in '' $ac_executable_extensions; do
11479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11480 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11491 orig_target_ld
=$ac_cv_path_orig_target_ld
11492 if test -n "$orig_target_ld"; then
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11494 $as_echo "$orig_target_ld" >&6; }
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11497 $as_echo "no" >&6; }
11503 if test "$orig_target_ld" = ""; then
11504 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11507 if test "${aros_tool_prefix}as" = ""; then
11508 if test "$cross_compiling" = "yes" ; then
11509 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11510 set dummy
${target_tool_prefix}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 $PATH
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 "$GCC" = "yes"; then
11551 aros_gcc_as
=`$CC -print-prog-name=as`
11552 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11553 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11555 $as_echo_n "checking for $ac_word... " >&6; }
11556 if ${ac_cv_path_orig_target_as+:} false
; then :
11557 $as_echo_n "(cached) " >&6
11559 case $orig_target_as in
11561 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11565 for as_dir
in `dirname $aros_gcc_as`
11568 test -z "$as_dir" && as_dir
=.
11569 for ac_exec_ext
in '' $ac_executable_extensions; do
11570 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11571 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11582 orig_target_as
=$ac_cv_path_orig_target_as
11583 if test -n "$orig_target_as"; then
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11585 $as_echo "$orig_target_as" >&6; }
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11588 $as_echo "no" >&6; }
11593 if test "$orig_target_as" = ""; then
11594 # Extract the first word of "as", so it can be a program name with args.
11595 set dummy 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; }
11637 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11638 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11640 $as_echo_n "checking for $ac_word... " >&6; }
11641 if ${ac_cv_path_orig_target_as+:} false
; then :
11642 $as_echo_n "(cached) " >&6
11644 case $orig_target_as in
11646 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11650 for as_dir
in $PATH
11653 test -z "$as_dir" && as_dir
=.
11654 for ac_exec_ext
in '' $ac_executable_extensions; do
11655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11656 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11667 orig_target_as
=$ac_cv_path_orig_target_as
11668 if test -n "$orig_target_as"; then
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11670 $as_echo "$orig_target_as" >&6; }
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11673 $as_echo "no" >&6; }
11679 if test "$orig_target_as" = ""; then
11680 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11683 if test "${aros_tool_prefix}ar" = ""; then
11684 if test "$cross_compiling" = "yes" ; then
11685 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11686 set dummy
${target_tool_prefix}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 $PATH
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 "$GCC" = "yes"; then
11727 aros_gcc_ar
=`$CC -print-prog-name=ar`
11728 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11729 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11731 $as_echo_n "checking for $ac_word... " >&6; }
11732 if ${ac_cv_path_orig_target_ar+:} false
; then :
11733 $as_echo_n "(cached) " >&6
11735 case $orig_target_ar in
11737 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11741 for as_dir
in `dirname $aros_gcc_ar`
11744 test -z "$as_dir" && as_dir
=.
11745 for ac_exec_ext
in '' $ac_executable_extensions; do
11746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11747 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11758 orig_target_ar
=$ac_cv_path_orig_target_ar
11759 if test -n "$orig_target_ar"; then
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11761 $as_echo "$orig_target_ar" >&6; }
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11764 $as_echo "no" >&6; }
11769 if test "$orig_target_ar" = ""; then
11770 # Extract the first word of "ar", so it can be a program name with args.
11771 set dummy
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; }
11813 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11814 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11816 $as_echo_n "checking for $ac_word... " >&6; }
11817 if ${ac_cv_path_orig_target_ar+:} false
; then :
11818 $as_echo_n "(cached) " >&6
11820 case $orig_target_ar in
11822 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11826 for as_dir
in $PATH
11829 test -z "$as_dir" && as_dir
=.
11830 for ac_exec_ext
in '' $ac_executable_extensions; do
11831 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11832 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11843 orig_target_ar
=$ac_cv_path_orig_target_ar
11844 if test -n "$orig_target_ar"; then
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11846 $as_echo "$orig_target_ar" >&6; }
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11849 $as_echo "no" >&6; }
11855 if test "$orig_target_ar" = ""; then
11856 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11859 if test "${aros_tool_prefix}ranlib" = ""; then
11860 if test "$cross_compiling" = "yes" ; then
11861 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11862 set dummy
${target_tool_prefix}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 $PATH
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 "$GCC" = "yes"; then
11903 aros_gcc_ar
=`$CC -print-prog-name=ar`
11904 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11905 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11907 $as_echo_n "checking for $ac_word... " >&6; }
11908 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11909 $as_echo_n "(cached) " >&6
11911 case $orig_target_ranlib in
11913 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11917 for as_dir
in `dirname $aros_gcc_ar`
11920 test -z "$as_dir" && as_dir
=.
11921 for ac_exec_ext
in '' $ac_executable_extensions; do
11922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11923 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11934 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11935 if test -n "$orig_target_ranlib"; then
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11937 $as_echo "$orig_target_ranlib" >&6; }
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11940 $as_echo "no" >&6; }
11945 if test "$orig_target_ranlib" = ""; then
11946 # Extract the first word of "ar", so it can be a program name with args.
11947 set dummy
ar; 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; }
11989 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11990 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11992 $as_echo_n "checking for $ac_word... " >&6; }
11993 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11994 $as_echo_n "(cached) " >&6
11996 case $orig_target_ranlib in
11998 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12002 for as_dir
in $PATH
12005 test -z "$as_dir" && as_dir
=.
12006 for ac_exec_ext
in '' $ac_executable_extensions; do
12007 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12008 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12019 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12020 if test -n "$orig_target_ranlib"; then
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12022 $as_echo "$orig_target_ranlib" >&6; }
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12025 $as_echo "no" >&6; }
12031 if test "$orig_target_ranlib" = ""; then
12032 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12035 if test "${aros_tool_prefix}nm" = ""; then
12036 if test "$cross_compiling" = "yes" ; then
12037 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12038 set dummy
${target_tool_prefix}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 $PATH
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 "$GCC" = "yes"; then
12079 aros_gcc_nm
=`$CC -print-prog-name=nm`
12080 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12081 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12083 $as_echo_n "checking for $ac_word... " >&6; }
12084 if ${ac_cv_path_orig_target_nm+:} false
; then :
12085 $as_echo_n "(cached) " >&6
12087 case $orig_target_nm in
12089 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12093 for as_dir
in `dirname $aros_gcc_nm`
12096 test -z "$as_dir" && as_dir
=.
12097 for ac_exec_ext
in '' $ac_executable_extensions; do
12098 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12099 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12110 orig_target_nm
=$ac_cv_path_orig_target_nm
12111 if test -n "$orig_target_nm"; then
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12113 $as_echo "$orig_target_nm" >&6; }
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12116 $as_echo "no" >&6; }
12121 if test "$orig_target_nm" = ""; then
12122 # Extract the first word of "nm", so it can be a program name with args.
12123 set dummy 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; }
12165 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12166 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12168 $as_echo_n "checking for $ac_word... " >&6; }
12169 if ${ac_cv_path_orig_target_nm+:} false
; then :
12170 $as_echo_n "(cached) " >&6
12172 case $orig_target_nm in
12174 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12178 for as_dir
in $PATH
12181 test -z "$as_dir" && as_dir
=.
12182 for ac_exec_ext
in '' $ac_executable_extensions; do
12183 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12184 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12195 orig_target_nm
=$ac_cv_path_orig_target_nm
12196 if test -n "$orig_target_nm"; then
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12198 $as_echo "$orig_target_nm" >&6; }
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12201 $as_echo "no" >&6; }
12207 if test "$orig_target_nm" = ""; then
12208 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12211 if test "${aros_tool_prefix}strip" = ""; then
12212 if test "$cross_compiling" = "yes" ; then
12213 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12214 set dummy
${target_tool_prefix}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 $PATH
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 "$GCC" = "yes"; then
12255 aros_gcc_strip
=`$CC -print-prog-name=strip`
12256 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12257 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12259 $as_echo_n "checking for $ac_word... " >&6; }
12260 if ${ac_cv_path_orig_target_strip+:} false
; then :
12261 $as_echo_n "(cached) " >&6
12263 case $orig_target_strip in
12265 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12269 for as_dir
in `dirname $aros_gcc_strip`
12272 test -z "$as_dir" && as_dir
=.
12273 for ac_exec_ext
in '' $ac_executable_extensions; do
12274 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12275 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12286 orig_target_strip
=$ac_cv_path_orig_target_strip
12287 if test -n "$orig_target_strip"; then
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12289 $as_echo "$orig_target_strip" >&6; }
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12292 $as_echo "no" >&6; }
12297 if test "$orig_target_strip" = ""; then
12298 # Extract the first word of "strip", so it can be a program name with args.
12299 set dummy 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; }
12341 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12342 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12344 $as_echo_n "checking for $ac_word... " >&6; }
12345 if ${ac_cv_path_orig_target_strip+:} false
; then :
12346 $as_echo_n "(cached) " >&6
12348 case $orig_target_strip in
12350 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12354 for as_dir
in $PATH
12357 test -z "$as_dir" && as_dir
=.
12358 for ac_exec_ext
in '' $ac_executable_extensions; do
12359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12360 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12371 orig_target_strip
=$ac_cv_path_orig_target_strip
12372 if test -n "$orig_target_strip"; then
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12374 $as_echo "$orig_target_strip" >&6; }
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12377 $as_echo "no" >&6; }
12383 if test "$orig_target_strip" = ""; then
12384 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12387 if test "${aros_tool_prefix}objcopy" = ""; then
12388 if test "$cross_compiling" = "yes" ; then
12389 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12390 set dummy
${target_tool_prefix}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 $PATH
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 "$GCC" = "yes"; then
12431 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12432 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12433 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12435 $as_echo_n "checking for $ac_word... " >&6; }
12436 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12437 $as_echo_n "(cached) " >&6
12439 case $orig_target_objcopy in
12441 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12445 for as_dir
in `dirname $aros_gcc_objcopy`
12448 test -z "$as_dir" && as_dir
=.
12449 for ac_exec_ext
in '' $ac_executable_extensions; do
12450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12451 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12462 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12463 if test -n "$orig_target_objcopy"; then
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12465 $as_echo "$orig_target_objcopy" >&6; }
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12468 $as_echo "no" >&6; }
12473 if test "$orig_target_objcopy" = ""; then
12474 # Extract the first word of "objcopy", so it can be a program name with args.
12475 set dummy 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; }
12517 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12518 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12520 $as_echo_n "checking for $ac_word... " >&6; }
12521 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12522 $as_echo_n "(cached) " >&6
12524 case $orig_target_objcopy in
12526 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12530 for as_dir
in $PATH
12533 test -z "$as_dir" && as_dir
=.
12534 for ac_exec_ext
in '' $ac_executable_extensions; do
12535 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12536 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12547 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12548 if test -n "$orig_target_objcopy"; then
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12550 $as_echo "$orig_target_objcopy" >&6; }
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12553 $as_echo "no" >&6; }
12559 if test "$orig_target_objcopy" = ""; then
12560 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12563 if test "${aros_tool_prefix}objdump" = ""; then
12564 if test "$cross_compiling" = "yes" ; then
12565 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12566 set dummy
${target_tool_prefix}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 $PATH
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 "$GCC" = "yes"; then
12607 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12608 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12609 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12611 $as_echo_n "checking for $ac_word... " >&6; }
12612 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12613 $as_echo_n "(cached) " >&6
12615 case $orig_target_objdump in
12617 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12621 for as_dir
in `dirname $aros_gcc_objdump`
12624 test -z "$as_dir" && as_dir
=.
12625 for ac_exec_ext
in '' $ac_executable_extensions; do
12626 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12627 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12638 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12639 if test -n "$orig_target_objdump"; then
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12641 $as_echo "$orig_target_objdump" >&6; }
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12644 $as_echo "no" >&6; }
12649 if test "$orig_target_objdump" = ""; then
12650 # Extract the first word of "objdump", so it can be a program name with args.
12651 set dummy 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; }
12693 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12694 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12696 $as_echo_n "checking for $ac_word... " >&6; }
12697 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12698 $as_echo_n "(cached) " >&6
12700 case $orig_target_objdump in
12702 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12706 for as_dir
in $PATH
12709 test -z "$as_dir" && as_dir
=.
12710 for ac_exec_ext
in '' $ac_executable_extensions; do
12711 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12712 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12723 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12724 if test -n "$orig_target_objdump"; then
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12726 $as_echo "$orig_target_objdump" >&6; }
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12729 $as_echo "no" >&6; }
12735 if test "$orig_target_objdump" = ""; then
12736 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12740 if test "$kernel_tool_prefix" = "none" ; then
12741 # No kernel tools specified
12742 # Assume target tools == kernel tools with ELF wrapper
12743 aros_kernel_cc
=$orig_target_cc
12744 aros_kernel_cxx
=$orig_target_cxx
12745 aros_kernel_cpp
=$orig_target_cpp
12746 aros_kernel_ld
=$orig_target_ld
12747 aros_kernel_as
=$orig_target_as
12748 aros_kernel_ar
=$orig_target_ar
12749 aros_kernel_ranlib
=$orig_target_ranlib
12750 aros_kernel_nm
=$orig_target_nm
12751 aros_kernel_strip
=$orig_target_strip
12752 aros_kernel_objcopy
=$orig_target_objcopy
12753 aros_kernel_objdump
=$orig_target_objdump
12754 use_kernel_cc_wrapper
=yes
12757 # At this point, all aros_kernel_* and aros_target_*
12758 # tools should be set up correctly
12760 CC
="$aros_kernel_cc $kernel_tool_flags"
12761 CPP
="$aros_kernel_cpp"
12763 #-----------------------------------------------------------------------------
12765 # Disable pointer-signedness warnings if the compiler recognises the option
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12768 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12769 save_cflags
="$CFLAGS"
12770 if test "$crosstools" != "yes" ; then
12771 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12783 if ac_fn_c_try_compile
"$LINENO"; then :
12784 use_no_sign_warning
="yes"
12786 use_no_sign_warning
="no"
12788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12790 # we do know it is supported for the smallest version of gcc we are going to build
12791 # we assume it's also supported by later versions
12792 use_no_sign_warning
=yes
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12795 $as_echo "$use_no_sign_warning" >&6; }
12796 if test "x-$use_no_sign_warning" = "x-yes" ; then
12797 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12799 CFLAGS
="$save_cflags"
12801 #-----------------------------------------------------------------------------
12803 # Find all the tools we need to compile. This could be cross-compiling
12804 # though! If that is the case we use the GNU form of the target and
12805 # simply add this to the front of the binary name. This is rather simple,
12806 # but it should work under most circumstances.
12808 # The default tools are to use the same as the host, but only if the
12809 # host and target CPU are the same. With GCC this is normally enough.
12813 aros_shared_ld
="$aros_host_ld"
12815 aros_target_mkdep
="$aros_host_mkdep"
12817 # The default tools executables to be linked to.
12818 if test "$rescomp" != ""; then
12819 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12820 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12822 $as_echo_n "checking for $ac_word... " >&6; }
12823 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12824 $as_echo_n "(cached) " >&6
12826 case $aros_kernel_rescomp in
12828 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12832 for as_dir
in $PATH
12835 test -z "$as_dir" && as_dir
=.
12836 for ac_exec_ext
in '' $ac_executable_extensions; do
12837 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12838 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12849 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12850 if test -n "$aros_kernel_rescomp"; then
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12852 $as_echo "$aros_kernel_rescomp" >&6; }
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12855 $as_echo "no" >&6; }
12859 if test "$aros_kernel_rescomp" = ""; then
12860 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12864 # Set up the sources for the symlink farm
12865 if test "$crosstools" = "yes"; then
12866 crosstools_target
=tools-crosstools
12869 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12870 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12873 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12874 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12875 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12876 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12877 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12878 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12879 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12881 # aros_cc_pre is a variable that is added to the front of the compiler name
12882 # in the generated aros-gcc shell script. We need this to enable the cache
12883 # to work across cleaned builds. Also, support DISTCC using the correct
12884 # environment variable.
12887 if test "x${DISTCC}" != "x" ; then
12888 if test "x${CCACHE}" != "x" ; then
12889 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12891 aros_cc_pre
="${DISTCC} "
12894 if test "x${CCACHE}" != "x" ; then
12895 aros_cc_pre
="${CCACHE} "
12899 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12901 aros_target_nostdinc_cflags
=-nostdinc
12903 aros_target_nostartup_ldflags
=-nostartfiles
12905 aros_target_nix_ldflags
=-nix
12907 aros_target_detach_ldflags
=-detach
12909 aros_target_nostdlib_ldflags
=-nostdlib
12913 if test "$crosstools" != "yes"; then
12914 if test "$GCC" = "yes"; then
12915 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12918 # We do not know which gcc version we are going to build and what we need to know
12919 # here is different for different versions so this will be set later during the
12920 # build of crosstools.
12921 aros_target_cc_path
=@aros_target_cc_path@
12923 aros_target_cpp
="${prefix}cpp"
12924 aros_target_cc
="${prefix}gcc"
12925 aros_target_cxx
="${prefix}g++"
12926 aros_target_as
="${prefix}as"
12927 aros_target_ld
="${prefix}ld"
12928 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12929 aros_target_objcopy
="${prefix}objcopy"
12930 aros_target_objdump
="${prefix}objdump"
12931 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12932 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12933 aros_target_strip
="${prefix}strip"
12934 aros_plain_nm
="${prefix}nm"
12935 aros_plain_ar
="${prefix}ar"
12937 # Check whether --enable-includes was given.
12938 if test "${enable_includes+set}" = set; then :
12939 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12941 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
12945 if test "$aros_kernel_includes" = ""; then
12946 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12947 aros_kernel_includes
="-isystem $aros_target_incl"
12951 if test "$aros_kernel_includes" != "" ; then
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12953 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12954 if test "$aros_kernel_cc_includes" = "" ; then
12955 # Try to guess where the directory is.
12956 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12957 if test -d $aros_kernel_cc_includes; then
12958 # Check if there is also an include-fixed directory and add it
12959 # to kernel compiler's include path as it may contain some of
12960 # the headers we need.
12961 if test -d "$aros_kernel_cc_includes"-fixed; then
12962 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12964 # Check for specific includes directory. Neede for Ubuntu 11.10
12965 if test -d "/usr/include/i386-linux-gnu"; then
12966 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12969 # The directory doesn't exist, we need to do some more work.
12970 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12972 # These are the headers we're looking for.
12973 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12974 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12978 for h
in $headers; do
12979 # Which other headers are needed by each of the above?
12980 deps
=$
(echo "#include <$h>" | \
12981 $aros_kernel_cc -E -M - 2>/dev
/null | \
12982 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12984 # Copy all the needed headers to a directory beneath gendir.
12987 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12988 sed -n "s,^.*/include\(/.*\),\1,p")
12989 ! test -d $dir && mkdir
-p $dir
12990 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12996 $as_echo "$aros_kernel_cc_includes" >&6; }
12997 # Adding -nostdinc to kernel includes as they are always used together.
12998 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13001 if test "$crosstools" != "yes"; then
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13003 $as_echo_n "checking for the target compiler's include path... " >&6; }
13004 if test "$aros_target_cc_includes" = "" ; then
13005 #try to guess where the directory is
13006 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13007 if ! test -d $aros_target_cc_includes; then
13008 #the directory doesn't exist, we need to do some more work
13009 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13011 #these are the headers we're looking for
13012 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13013 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13017 for h
in $headers; do
13018 #which other headers each of the above headers needs?
13019 deps
=$
(echo "#include <$h>" | \
13020 $orig_target_cc -E -M - 2>/dev
/null | \
13021 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13023 #copy all the needed headers to a directory beneath gendir
13026 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13027 sed -n "s,^.*/include\(/.*\),\1,p")
13028 ! test -d $dir && mkdir
-p $dir
13029 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13035 $as_echo "$aros_target_cc_includes" >&6; }
13037 # We do not know which gcc version we are going to build and what we need to know
13038 # here is different for different versions so this will be set later during the
13039 # build of crosstools.
13040 aros_target_cc_includes
=@aros_target_cc_includes@
13044 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13045 # On GCC >= 4.0 -iquote should be used
13049 save_cflags
="$CFLAGS"
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13052 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13053 if test "x-$crosstools" != "x-yes"; then
13054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13055 /* end confdefs.h. */
13065 if ac_fn_c_try_compile
"$LINENO"; then :
13070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13072 # we do know it is supported for the smallest version of gcc we are going to build
13073 # we assume it's also supported by later versions
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13077 $as_echo "$has_iquote" >&6; }
13078 if test "x-$has_iquote" = "x-yes" ; then
13079 host_cflags_iquote
=-iquote
13080 host_cflags_iquote_end
=
13082 host_cflags_iquote
=-I
13083 host_cflags_iquote_end
=-I-
13085 kernel_cflags_iquote
=$host_cflags_iquote
13086 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13087 if test "x-$cross_compiling" = "x-yes"; then
13088 CC
="$aros_kernel_cc"
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13090 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13091 if test "x-$crosstools" != "x-yes"; then
13092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13093 /* end confdefs.h. */
13103 if ac_fn_c_try_compile
"$LINENO"; then :
13104 use_no_stack_protector
="yes"
13106 use_no_stack_protector
="no"
13108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13110 # we do know it is supported for the smallest version of gcc we are going to build
13111 # we assume it's also supported by later versions
13112 use_no_stack_protector
=yes
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13115 $as_echo "$use_no_stack_protector" >&6; }
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13117 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13118 if test "x-$crosstools" != "x-yes"; then
13119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13120 /* end confdefs.h. */
13130 if ac_fn_c_try_compile
"$LINENO"; then :
13135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13137 # we do know it is supported for the smallest version of gcc we are going to build
13138 # we assume it's also supported by later versions
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13142 $as_echo "$has_iquote" >&6; }
13143 if test "x-$has_iquote" = "x-yes" ; then
13144 kernel_cflags_iquote
=-iquote
13145 kernel_cflags_iquote_end
=
13147 kernel_cflags_iquote
=-I
13148 kernel_cflags_iquote_end
=-I-
13151 aros_cflags_iquote
=$kernel_cflags_iquote
13152 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13153 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13154 CC
="$orig_target_cc"
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13156 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13157 if test "x-$crosstools" != "x-yes"; then
13158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13159 /* end confdefs.h. */
13169 if ac_fn_c_try_compile
"$LINENO"; then :
13174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13176 # we do know it is supported for the smallest version of gcc we are going to build
13177 # we assume it's also supported by later versions
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13181 $as_echo "$has_iquote" >&6; }
13182 if test "x-$has_iquote" = "x-yes" ; then
13183 aros_cflags_iquote
=-iquote
13184 aros_cflags_iquote_end
=
13186 aros_cflags_iquote
=-I
13187 aros_cflags_iquote_end
=-I-
13190 if test "x-$use_no_stack_protector" = "x-yes" ; then
13191 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13195 #-----------------------------------------------------------------------------
13197 # Check if the target compiler supports some options used for delinting:
13198 # -Wunused-but-set-variable
13201 # -Wstrict-overflow
13202 # -Wformat-security
13204 if test "x-$crosstools" != "x-yes"; then
13205 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13206 CC
="$orig_target_cc"
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13209 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13210 CFLAGS
=-Wunused-but-set-variable
13211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13212 /* end confdefs.h. */
13222 if ac_fn_c_try_compile
"$LINENO"; then :
13223 aros_unused_but_set_variable
="yes"
13225 aros_unused_but_set_variable
="no"
13227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13229 $as_echo "$aros_unused_but_set_variable" >&6; }
13230 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13231 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13235 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13236 CFLAGS
=-Warray-bounds
13237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13238 /* end confdefs.h. */
13248 if ac_fn_c_try_compile
"$LINENO"; then :
13249 aros_array_bounds
="yes"
13251 aros_array_bounds
="no"
13253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13255 $as_echo "$aros_array_bounds" >&6; }
13256 if test "x-$aros_array_bounds" = "x-yes" ; then
13257 aros_cflags_array_bounds
=-Wno-array-bounds
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13261 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13262 CFLAGS
=-Wenum-compare
13263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13264 /* end confdefs.h. */
13274 if ac_fn_c_try_compile
"$LINENO"; then :
13275 aros_enum_compare
="yes"
13277 aros_enum_compare
="no"
13279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13281 $as_echo "$aros_enum_compare" >&6; }
13282 if test "x-$aros_enum_compare" = "x-yes" ; then
13283 aros_cflags_enum_compare
=-Wno-enum-compare
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13287 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13288 CFLAGS
=-Wstrict-overflow
13289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13290 /* end confdefs.h. */
13300 if ac_fn_c_try_compile
"$LINENO"; then :
13301 aros_strict_overflow
="yes"
13303 aros_strict_overflow
="no"
13305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13307 $as_echo "$aros_strict_overflow" >&6; }
13308 if test "x-$aros_strict_overflow" = "x-yes" ; then
13309 aros_cflags_strict_overflow
=-Wno-strict-overflow
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13313 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13314 CFLAGS
=-Wformat-security
13315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13316 /* end confdefs.h. */
13326 if ac_fn_c_try_compile
"$LINENO"; then :
13327 aros_format_security
="yes"
13329 aros_format_security
="no"
13331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13333 $as_echo "$aros_format_security" >&6; }
13334 if test "x-$aros_format_security" = "x-yes" ; then
13335 aros_cflags_format_security
=-Wno-format-security
13338 # We do not know which gcc version we are going to build and what we need to know
13339 # here is different for different versions so this will be set later during the
13340 # build of crosstools.
13341 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13342 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13343 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13344 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13345 aros_cflags_format_security
=@aros_cflags_format_security@
13348 #-----------------------------------------------------------------------------
13350 # Check if we can explicitly choose older version of symbol hashing
13352 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13353 CC
="$aros_kernel_cc"
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13355 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13357 /* end confdefs.h. */
13367 if ac_fn_c_try_link
"$LINENO"; then :
13368 use_hash_style
="yes"
13370 use_hash_style
="no"
13372 rm -f core conftest.err conftest.
$ac_objext \
13373 conftest
$ac_exeext conftest.
$ac_ext
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13375 $as_echo "$use_hash_style" >&6; }
13376 if test "x-$use_hash_style" = "x-yes" ; then
13377 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13380 CFLAGS
="$save_cflags"
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13391 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13393 # Check whether --with-resolution was given.
13394 if test "${with_resolution+set}" = set; then :
13395 withval
=$with_resolution; resolution
=$withval
13400 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13401 if test "$resolution" = "yes" ; then
13404 if test "$resolution" = "no" ; then
13407 if test "$resolution" != "none" ; then
13408 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13409 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13410 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13413 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13414 aros_cv_default_wbwidth
=$aros_default_wbwidth
13415 aros_cv_default_wbheight
=$aros_default_wbheight
13416 aros_cv_default_wbdepth
=$aros_default_wbdepth
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13419 $as_echo_n "checking if serial debug is enabled... " >&6; }
13421 # Check whether --with-serial-debug was given.
13422 if test "${with_serial_debug+set}" = set; then :
13423 withval
=$with_serial_debug; serial_debug
=$withval
13428 if test "$aros_serial_debug" = 0 ; then
13429 serial_debug_forced
=""
13430 if test "$serial_debug" = "yes" ; then
13433 if test "$serial_debug" = "no" ; then
13434 serial_debug
="none"
13437 serial_debug_forced
="(forced)"
13438 serial_debug
=$aros_serial_debug
13440 if test "$serial_debug" != "none" ; then
13441 aros_serial_debug
=$serial_debug
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13443 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13446 $as_echo "no" >&6; }
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13450 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13451 # Check whether --enable-palm_debug_hack was given.
13452 if test "${enable_palm_debug_hack+set}" = set; then :
13453 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13455 palm_debug_hack
="no"
13458 if test "$palm_debug_hack" = "yes" ; then
13459 aros_palm_debug_hack
="1"
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13462 $as_echo "$palm_debug_hack" >&6; }
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
13465 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
13466 # Check whether --enable-usb30_code was given.
13467 if test "${enable_usb30_code+set}" = set; then :
13468 enableval
=$enable_usb30_code; usb30_code
="yes"
13473 if test "$usb30_code" = "yes" ; then
13474 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
13475 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
13478 $as_echo "$usb30_code" >&6; }
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13481 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13482 # Check whether --enable-nesting_supervisor was given.
13483 if test "${enable_nesting_supervisor+set}" = set; then :
13484 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13486 nesting_supervisor
="no"
13489 if test "$nesting_supervisor" = "yes" ; then
13490 aros_nesting_supervisor
="1"
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13493 $as_echo "$nesting_supervisor" >&6; }
13495 if test "$aros_enable_mmu" = "" ; then
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13497 $as_echo_n "checking if MMU support is enabled... " >&6; }
13498 # Check whether --enable-mmu was given.
13499 if test "${enable_mmu+set}" = set; then :
13500 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13502 aros_enable_mmu
="yes"
13505 if test "$aros_enable_mmu" = "" ; then
13506 aros_enable_mmu
="yes"
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13509 $as_echo "$aros_enable_mmu" >&6; }
13511 if test "$aros_enable_mmu" = "no" ; then
13512 aros_enable_mmu
="0"
13514 aros_enable_mmu
="1"
13518 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13520 if test "x-$need_dlopen" != "x-no" ; then
13523 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13524 if test "x$ac_cv_func_dlopen" = xyes
; then :
13530 if test "x-$have_dl" = "x-no" ; then
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13532 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13533 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13534 $as_echo_n "(cached) " >&6
13536 ac_check_lib_save_LIBS
=$LIBS
13538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13539 /* end confdefs.h. */
13541 /* Override any GCC internal prototype to avoid an error.
13542 Use char because int might match the return type of a GCC
13543 builtin and then its argument prototype would still apply. */
13556 if ac_fn_c_try_link
"$LINENO"; then :
13557 ac_cv_lib_dl_dlopen
=yes
13559 ac_cv_lib_dl_dlopen
=no
13561 rm -f core conftest.err conftest.
$ac_objext \
13562 conftest
$ac_exeext conftest.
$ac_ext
13563 LIBS
=$ac_check_lib_save_LIBS
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13566 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13567 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13569 aros_host_ldflags
="$aros_host_ldflags -ldl"
13575 if test "x-$have_dl" = "x-no" ; then
13576 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13582 # Check whether --enable-x11_hidd was given.
13583 if test "${enable_x11_hidd+set}" = set; then :
13584 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13586 x11_hidd
="$need_x11"
13589 case "x-$x11_hidd" in
13590 x-yes|x-no|x-auto
) ;;
13591 *) x11_hidd
="$need_x11" ;;
13596 if test "x-$x11_hidd" != "x-no" ; then
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13599 $as_echo_n "checking for X... " >&6; }
13602 # Check whether --with-x was given.
13603 if test "${with_x+set}" = set; then :
13607 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13608 if test "x$with_x" = xno
; then
13609 # The user explicitly disabled X.
13612 case $x_includes,$x_libraries in #(
13613 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13614 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13615 $as_echo_n "(cached) " >&6
13617 # One or both of the vars are not set, and there is no cached value.
13618 ac_x_includes
=no ac_x_libraries
=no
13619 rm -f -r conftest.dir
13620 if mkdir conftest.dir
; then
13622 cat >Imakefile
<<'_ACEOF'
13624 @echo incroot='${INCROOT}'
13626 @echo usrlibdir='${USRLIBDIR}'
13628 @echo libdir='${LIBDIR}'
13630 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13631 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13632 for ac_var
in incroot usrlibdir libdir
; do
13633 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13635 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13636 for ac_extension
in a so sl dylib la dll
; do
13637 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13638 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13639 ac_im_usrlibdir
=$ac_im_libdir; break
13642 # Screen out bogus values from the imake configuration. They are
13643 # bogus both because they are the default anyway, and because
13644 # using them would break gcc on systems where it needs fixed includes.
13645 case $ac_im_incroot in
13646 /usr
/include
) ac_x_includes
= ;;
13647 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13649 case $ac_im_usrlibdir in
13650 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13651 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13655 rm -f -r conftest.dir
13658 # Standard set of common directories for X headers.
13659 # Check X11 before X11Rn because it is often a symlink to the current release.
13673 /usr/local/X11/include
13674 /usr/local/X11R7/include
13675 /usr/local/X11R6/include
13676 /usr/local/X11R5/include
13677 /usr/local/X11R4/include
13679 /usr/local/include/X11
13680 /usr/local/include/X11R7
13681 /usr/local/include/X11R6
13682 /usr/local/include/X11R5
13683 /usr/local/include/X11R4
13687 /usr/XFree86/include/X11
13691 /usr/unsupported/include
13692 /usr/athena/include
13693 /usr/local/x11r5/include
13694 /usr/lpp/Xamples/include
13696 /usr/openwin/include
13697 /usr/openwin/share/include'
13699 if test "$ac_x_includes" = no
; then
13700 # Guess where to find include files, by looking for Xlib.h.
13701 # First, try using that file with no special directory specified.
13702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13703 /* end confdefs.h. */
13704 #include <X11/Xlib.h>
13706 if ac_fn_c_try_cpp
"$LINENO"; then :
13707 # We can compile using X headers with no special include directory.
13710 for ac_dir
in $ac_x_header_dirs; do
13711 if test -r "$ac_dir/X11/Xlib.h"; then
13712 ac_x_includes
=$ac_dir
13717 rm -f conftest.err conftest.i conftest.
$ac_ext
13718 fi # $ac_x_includes = no
13720 if test "$ac_x_libraries" = no
; then
13721 # Check for the libraries.
13722 # See if we find them without any special options.
13723 # Don't add to $LIBS permanently.
13726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13727 /* end confdefs.h. */
13728 #include <X11/Xlib.h>
13737 if ac_fn_c_try_link
"$LINENO"; then :
13739 # We can link X programs with no special library path.
13743 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13745 # Don't even attempt the hair of trying to link an X program!
13746 for ac_extension
in a so sl dylib la dll
; do
13747 if test -r "$ac_dir/libX11.$ac_extension"; then
13748 ac_x_libraries
=$ac_dir
13754 rm -f core conftest.err conftest.
$ac_objext \
13755 conftest
$ac_exeext conftest.
$ac_ext
13756 fi # $ac_x_libraries = no
13758 case $ac_x_includes,$ac_x_libraries in #(
13759 no
,* |
*,no |
*\'*)
13760 # Didn't find X, or a directory has "'" in its name.
13761 ac_cv_have_x
="have_x=no";; #(
13763 # Record where we found X for the cache.
13764 ac_cv_have_x
="have_x=yes\
13765 ac_x_includes='$ac_x_includes'\
13766 ac_x_libraries='$ac_x_libraries'"
13772 eval "$ac_cv_have_x"
13775 if test "$have_x" != yes; then
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13777 $as_echo "$have_x" >&6; }
13780 # If each of the values was on the command line, it overrides each guess.
13781 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13782 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13783 # Update the cache value to reflect the command line values.
13784 ac_cv_have_x
="have_x=yes\
13785 ac_x_includes='$x_includes'\
13786 ac_x_libraries='$x_libraries'"
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13788 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13793 for path
in $x_libraries
13795 x_cflags
="$x_cflags -L$path"
13798 for path
in $x_includes
13800 x_cflags
="$x_cflags -I$path"
13803 if test "x-$no_x" = "x-yes" ; then
13805 if test "x-$x11_hidd" != "x-auto" ; then
13806 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13810 unixgfx_hidd_target
=kernel-x11gfx
13813 # Check whether --enable-x11_shm was given.
13814 if test "${enable_x11_shm+set}" = set; then :
13815 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13817 x11_hidd_shm
="auto"
13820 case "x-$x11_hidd_shm" in
13821 x-yes|x-no|x-auto
) ;;
13822 *) x11_hidd_shm
="auto" ;;
13827 if test "x-$x11_hidd_shm" != "x-no" ; then
13829 for ac_header
in sys
/ipc.h
13831 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13832 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13833 cat >>confdefs.h
<<_ACEOF
13834 #define HAVE_SYS_IPC_H 1
13841 for ac_header
in sys
/shm.h
13843 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13844 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13845 cat >>confdefs.h
<<_ACEOF
13846 #define HAVE_SYS_SHM_H 1
13854 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13856 save_cflags
="$CFLAGS"
13857 CFLAGS
="$CFLAGS $x_cflags"
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13859 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13860 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13861 $as_echo_n "(cached) " >&6
13863 ac_check_lib_save_LIBS
=$LIBS
13864 LIBS
="-lXext $LIBS"
13865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13866 /* end confdefs.h. */
13868 /* Override any GCC internal prototype to avoid an error.
13869 Use char because int might match the return type of a GCC
13870 builtin and then its argument prototype would still apply. */
13874 char XShmQueryExtension ();
13878 return XShmQueryExtension ();
13883 if ac_fn_c_try_link
"$LINENO"; then :
13884 ac_cv_lib_Xext_XShmQueryExtension
=yes
13886 ac_cv_lib_Xext_XShmQueryExtension
=no
13888 rm -f core conftest.err conftest.
$ac_objext \
13889 conftest
$ac_exeext conftest.
$ac_ext
13890 LIBS
=$ac_check_lib_save_LIBS
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13893 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13894 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13898 CFLAGS
="$save_cflags"
13902 if test "x-$have_xshm" = "x-yes" ; then
13903 DO_XSHM_SUPPORT
="1"
13904 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13905 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13907 DO_XSHM_SUPPORT
="0"
13911 # Check whether --enable-x11_vidmode was given.
13912 if test "${enable_x11_vidmode+set}" = set; then :
13913 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13915 x11_hidd_vidmode
="auto"
13918 case "x-$x11_hidd_vidmode" in
13919 x-yes|x-no|x-auto
) ;;
13920 *) x11_hidd_vidmode
="auto" ;;
13925 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13927 save_cflags
="$CFLAGS"
13928 CFLAGS
="$CFLAGS $x_cflags"
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13930 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13931 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13932 $as_echo_n "(cached) " >&6
13934 ac_check_lib_save_LIBS
=$LIBS
13935 LIBS
="-lXxf86vm $LIBS"
13936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13937 /* end confdefs.h. */
13939 /* Override any GCC internal prototype to avoid an error.
13940 Use char because int might match the return type of a GCC
13941 builtin and then its argument prototype would still apply. */
13945 char XF86VidModeQueryExtension ();
13949 return XF86VidModeQueryExtension ();
13954 if ac_fn_c_try_link
"$LINENO"; then :
13955 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13957 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13959 rm -f core conftest.err conftest.
$ac_objext \
13960 conftest
$ac_exeext conftest.
$ac_ext
13961 LIBS
=$ac_check_lib_save_LIBS
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13964 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13965 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13969 CFLAGS
="$save_cflags"
13972 if test "x-$have_vidmode" = "x-yes" ; then
13973 DO_VIDMODE_SUPPORT
="1"
13974 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13975 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13977 DO_VIDMODE_SUPPORT
="0"
13981 aros_host_x11_includes
=$x_includes
13982 aros_host_x11_libdirs
=$x_libraries
13986 # Check whether --enable-sdl_hidd was given.
13987 if test "${enable_sdl_hidd+set}" = set; then :
13988 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13993 case "x-$sdl_hidd" in
13994 x-yes|x-no|x-auto
) ;;
13995 *) sdl_hidd
="auto" ;;
13998 if test "x-$sdl_hidd" != "x-no" ; then
14001 # Check whether --with-sdl-prefix was given.
14002 if test "${with_sdl_prefix+set}" = set; then :
14003 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
14009 # Check whether --with-sdl-exec-prefix was given.
14010 if test "${with_sdl_exec_prefix+set}" = set; then :
14011 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
14016 # Check whether --enable-sdltest was given.
14017 if test "${enable_sdltest+set}" = set; then :
14018 enableval
=$enable_sdltest;
14024 if test x
$sdl_exec_prefix != x
; then
14025 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14026 if test x
${SDL_CONFIG+set} != xset
; then
14027 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14030 if test x
$sdl_prefix != x
; then
14031 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14032 if test x
${SDL_CONFIG+set} != xset
; then
14033 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14037 as_save_PATH
="$PATH"
14038 if test "x$prefix" != xNONE
; then
14039 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14041 # Extract the first word of "sdl-config", so it can be a program name with args.
14042 set dummy sdl-config
; ac_word
=$2
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14044 $as_echo_n "checking for $ac_word... " >&6; }
14045 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14046 $as_echo_n "(cached) " >&6
14048 case $SDL_CONFIG in
14050 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14054 for as_dir
in $PATH
14057 test -z "$as_dir" && as_dir
=.
14058 for ac_exec_ext
in '' $ac_executable_extensions; do
14059 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14060 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14068 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14072 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14073 if test -n "$SDL_CONFIG"; then
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14075 $as_echo "$SDL_CONFIG" >&6; }
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14078 $as_echo "no" >&6; }
14082 PATH
="$as_save_PATH"
14083 min_sdl_version
=1.2.10
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14085 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14087 if test "$SDL_CONFIG" = "no" ; then
14090 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14091 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14093 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14094 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14095 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14096 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14097 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14098 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14099 if test "x$enable_sdltest" = "xyes" ; then
14100 ac_save_CFLAGS
="$CFLAGS"
14101 ac_save_CXXFLAGS
="$CXXFLAGS"
14102 ac_save_LIBS
="$LIBS"
14103 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14104 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14105 LIBS
="$LIBS $SDL_LIBS"
14107 if test "$cross_compiling" = yes; then :
14108 echo $ac_n "cross compiling; assumed OK... $ac_c"
14110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14111 /* end confdefs.h. */
14114 #include <stdlib.h>
14115 #include <string.h>
14119 my_strdup (char *str)
14125 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14126 strcpy (new_str, str);
14134 int main (int argc, char *argv[])
14136 int major, minor, micro;
14139 /* This hangs on some systems (?)
14140 system ("touch conf.sdltest");
14142 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14144 /* HP/UX 9 (%@#!) writes to sscanf strings */
14145 tmp_version = my_strdup("$min_sdl_version");
14146 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14147 printf("%s, bad version string\n", "$min_sdl_version");
14151 if (($sdl_major_version > major) ||
14152 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14153 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14159 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14160 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14161 printf("*** best to upgrade to the required version.\n");
14162 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14163 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14164 printf("*** config.cache before re-running configure\n");
14171 if ac_fn_c_try_run
"$LINENO"; then :
14176 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14177 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14180 CFLAGS
="$ac_save_CFLAGS"
14181 CXXFLAGS
="$ac_save_CXXFLAGS"
14182 LIBS
="$ac_save_LIBS"
14185 if test "x$no_sdl" = x
; then
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14187 $as_echo "yes" >&6; }
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14191 $as_echo "no" >&6; }
14192 if test "$SDL_CONFIG" = "no" ; then
14193 echo "*** The sdl-config script installed by SDL could not be found"
14194 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14195 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14196 echo "*** full path to sdl-config."
14198 if test -f conf.sdltest
; then
14201 echo "*** Could not run SDL test program, checking why..."
14202 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14203 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14204 LIBS
="$LIBS $SDL_LIBS"
14205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14206 /* end confdefs.h. */
14211 int main(int argc, char *argv[])
14214 #define main K_and_R_C_main
14224 if ac_fn_c_try_link
"$LINENO"; then :
14225 echo "*** The test program compiled, but did not run. This usually means"
14226 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14227 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14228 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14229 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14230 echo "*** is required on your system"
14232 echo "*** If you have an old version installed, it is best to remove it, although"
14233 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14235 echo "*** The test program failed to compile or link. See the file config.log for the"
14236 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14237 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14238 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14240 rm -f core conftest.err conftest.
$ac_objext \
14241 conftest
$ac_exeext conftest.
$ac_ext
14242 CFLAGS
="$ac_save_CFLAGS"
14243 CXXFLAGS
="$ac_save_CXXFLAGS"
14244 LIBS
="$ac_save_LIBS"
14256 if test "x-$have_sdl" != "x-yes" ; then
14258 if test "x-$sdl_hidd" != "x-auto" ; then
14259 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14263 sdl_hidd_target
=kernel-hidd-sdl
14264 aros_host_sdl_cflags
=SDL_CFLAGS
14265 aros_host_sdl_libs
=SDL_LIBS
14269 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14270 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14275 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14276 oss_library_target
=workbench-libs-oss-unix
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14282 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14283 # Check whether --enable-dbus was given.
14284 if test "${enable_dbus+set}" = set; then :
14285 enableval
=$enable_dbus; dbus
="yes"
14290 if test "$dbus" = "yes" ; then
14292 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14293 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14294 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14295 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14300 $as_echo "$dbus" >&6; }
14302 if test "$use_kernel_cc_wrapper" = "yes" ; then
14303 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14306 if test "${crosstools}" != "yes" ; then
14307 aros_target_toolchain
=no
14309 aros_target_toolchain
=yes
14325 # Compatability with other Amiga-like operation systems
14420 # Delinting target compiler flags
14444 # Native version related
14447 # Palm native version related
14450 # Unix/Hosted version related
14456 # Apple iOS related
14461 # ARM default GCC target related
14488 # Collect-aros stuff: "-ius" to ignore undefined symbols
14491 # C compiler related
14494 #ObjC compiler related
14500 case "$aros_flavour" in
14501 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14502 aros_flavour
="emulation" ;;
14503 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14504 aros_flavour
="emulation" ;;
14505 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14506 aros_flavour
="standalone";;
14507 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14508 aros_flavour
="standalone";;
14509 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14510 aros_flavour
="native" ;;
14511 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14512 aros_flavour
="native" ;;
14513 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14514 aros_flavour
="linklib" ;;
14515 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14516 aros_flavour
="palmnative" ;;
14517 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14518 aros_flavour
="mac68knative" ;;
14519 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14520 aros_flavour
="ppcnative" ;;
14523 if test ! -d ${aros_inc_dir} ; then
14524 ${MKDIR} ${aros_inc_dir}
14526 if test ! -d ${aros_geninc_dir} ; then
14527 ${MKDIR} ${aros_geninc_dir}
14529 if test ! -d ${aros_hostcfg_dir} ; then
14530 ${MKDIR} ${aros_hostcfg_dir}
14532 if test ! -d ${aros_targetcfg_dir} ; then
14533 ${MKDIR} ${aros_targetcfg_dir}
14535 if test ! -d ${aros_tools_dir} ; then
14536 ${MKDIR} ${aros_tools_dir}
14538 if test ! -d ${aros_scripts_dir} ; then
14539 ${MKDIR} ${aros_scripts_dir}
14542 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14545 ac_config_commands
="$ac_config_commands compiler_executable"
14547 ac_config_commands
="$ac_config_commands genmf_executable"
14550 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"
14553 cat >confcache
<<\_ACEOF
14554 # This file is a shell script that caches the results of configure
14555 # tests run on this system so they can be shared between configure
14556 # scripts and configure runs, see configure's option --config-cache.
14557 # It is not useful on other systems. If it contains results you don't
14558 # want to keep, you may remove or edit it.
14560 # config.status only pays attention to the cache file if you give it
14561 # the --recheck option to rerun configure.
14563 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14564 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14565 # following values.
14569 # The following way of writing the cache mishandles newlines in values,
14570 # but we know of no workaround that is simple, portable, and efficient.
14571 # So, we kill variables containing newlines.
14572 # Ultrix sh set writes to stderr and can't be redirected directly,
14573 # and sets the high bit in the cache file unless we assign to the vars.
14575 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14576 eval ac_val
=\$
$ac_var
14580 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14581 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14584 _ | IFS | as_nl
) ;; #(
14585 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14586 *) { eval $ac_var=; unset $ac_var;} ;;
14592 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14593 *${as_nl}ac_space
=\
*)
14594 # `set' does not quote correctly, so add quotes: double-quote
14595 # substitution turns \\\\ into \\, and sed turns \\ into \.
14598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14601 # `set' quotes correctly as required by POSIX, so do not add quotes.
14602 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14611 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14613 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14615 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14616 if test -w "$cache_file"; then
14617 if test "x$cache_file" != "x/dev/null"; then
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14619 $as_echo "$as_me: updating cache $cache_file" >&6;}
14620 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14621 cat confcache
>"$cache_file"
14623 case $cache_file in #(
14625 mv -f confcache
"$cache_file"$$
&&
14626 mv -f "$cache_file"$$
"$cache_file" ;; #(
14628 mv -f confcache
"$cache_file" ;;
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14634 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14639 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14640 # Let make expand exec_prefix.
14641 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14643 DEFS
=-DHAVE_CONFIG_H
14648 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14649 # 1. Remove the extension, and $U if already installed.
14650 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14651 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14652 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14653 # will be set to the directory where LIBOBJS objects are built.
14654 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14655 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14657 LIBOBJS
=$ac_libobjs
14659 LTLIBOBJS
=$ac_ltlibobjs
14663 : "${CONFIG_STATUS=./config.status}"
14665 ac_clean_files_save
=$ac_clean_files
14666 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14668 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14670 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14672 # Generated by $as_me.
14673 # Run this file to recreate the current configuration.
14674 # Compiler output produced by configure, useful for debugging
14675 # configure, is in config.log if it exists.
14678 ac_cs_recheck=false
14681 SHELL=\${CONFIG_SHELL-$SHELL}
14684 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14685 ## -------------------- ##
14686 ## M4sh Initialization. ##
14687 ## -------------------- ##
14689 # Be more Bourne compatible
14690 DUALCASE
=1; export DUALCASE
# for MKS sh
14691 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14694 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14695 # is contrary to our usage. Disable this feature.
14696 alias -g '${1+"$@"}'='"$@"'
14697 setopt NO_GLOB_SUBST
14699 case `(set -o) 2>/dev/null` in #(
14711 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14712 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14713 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14714 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14715 # Prefer a ksh shell builtin over an external printf program on Solaris,
14716 # but without wasting forks for bash or zsh.
14717 if test -z "$BASH_VERSION$ZSH_VERSION" \
14718 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14719 as_echo='print
-r --'
14720 as_echo_n='print
-rn --'
14721 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14722 as_echo='printf %s
\n'
14723 as_echo_n='printf %s
'
14725 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14726 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14727 as_echo_n='/usr
/ucb
/echo -n'
14729 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14730 as_echo_n_body='eval
14734 expr "X$arg" : "X\\(.*\\)$as_nl";
14735 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14737 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14739 export as_echo_n_body
14740 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14742 export as_echo_body
14743 as_echo='sh
-c $as_echo_body as_echo
'
14746 # The user is always right.
14747 if test "${PATH_SEPARATOR+set}" != set; then
14749 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14750 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14757 # We need space, tab and new line, in precisely that order. Quoting is
14758 # there to prevent editors from complaining about space-tab.
14759 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14760 # splitting by setting IFS to empty value.)
14763 # Find who we are. Look in the path if we contain no directory separator.
14766 *[\\/]* ) as_myself=$0 ;;
14767 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14768 for as_dir in $PATH
14771 test -z "$as_dir" && as_dir=.
14772 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14778 # We did not find ourselves, most probably we were run as `sh COMMAND'
14779 # in which case we are not to be found in the path.
14780 if test "x$as_myself" = x
; then
14783 if test ! -f "$as_myself"; then
14784 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14788 # Unset variables that we do not need and which cause bugs (e.g. in
14789 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14790 # suppresses any "Segmentation fault" message there. '((' could
14791 # trigger a bug in pdksh 5.2.14.
14792 for as_var
in BASH_ENV ENV MAIL MAILPATH
14793 do eval test x\
${$as_var+set} = xset \
14794 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14807 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14810 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14811 # ----------------------------------------
14812 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14813 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14814 # script with STATUS, using 1 if that was 0.
14817 as_status
=$1; test $as_status -eq 0 && as_status
=1
14819 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14820 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14822 $as_echo "$as_me: error: $2" >&2
14823 as_fn_exit
$as_status
14827 # as_fn_set_status STATUS
14828 # -----------------------
14829 # Set $? to STATUS, without forking.
14830 as_fn_set_status
()
14833 } # as_fn_set_status
14835 # as_fn_exit STATUS
14836 # -----------------
14837 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14841 as_fn_set_status
$1
14847 # Portably unset VAR.
14850 { eval $1=; unset $1;}
14852 as_unset
=as_fn_unset
14853 # as_fn_append VAR VALUE
14854 # ----------------------
14855 # Append the text in VALUE to the end of the definition contained in VAR. Take
14856 # advantage of any shell optimizations that allow amortized linear growth over
14857 # repeated appends, instead of the typical quadratic growth present in naive
14859 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14860 eval 'as_fn_append ()
14871 # as_fn_arith ARG...
14872 # ------------------
14873 # Perform arithmetic evaluation on the ARGs, and store the result in the
14874 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14875 # must be portable across $(()) and expr.
14876 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14877 eval 'as_fn_arith ()
14884 as_val
=`expr "$@" || test $? -eq 1`
14889 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14890 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14896 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14897 as_basename
=basename
14902 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14908 as_me
=`$as_basename -- "$0" ||
14909 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14910 X"$0" : 'X\(//\)$' \| \
14911 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14913 sed '/^.*\/\([^/][^/]*\)\/*$/{
14927 # Avoid depending upon Character Ranges.
14928 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14929 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14930 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14931 as_cr_digits
='0123456789'
14932 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14934 ECHO_C
= ECHO_N
= ECHO_T
=
14935 case `echo -n x` in #(((((
14937 case `echo 'xy\c'` in
14938 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14940 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14947 rm -f conf$$ conf$$.exe conf$$.
file
14948 if test -d conf$$.dir
; then
14949 rm -f conf$$.dir
/conf$$.
file
14952 mkdir conf$$.dir
2>/dev
/null
14954 if (echo >conf$$.
file) 2>/dev
/null
; then
14955 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14957 # ... but there are two gotchas:
14958 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14959 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14960 # In both cases, we have to default to `cp -pR'.
14961 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14963 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14971 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14972 rmdir conf$$.dir
2>/dev
/null
14977 # Create "$as_dir" as a directory, including parents if necessary.
14982 -*) as_dir
=.
/$as_dir;;
14984 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14988 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14989 *) as_qdir
=$as_dir;;
14991 as_dirs
="'$as_qdir' $as_dirs"
14992 as_dir
=`$as_dirname -- "$as_dir" ||
14993 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14994 X"$as_dir" : 'X\(//\)[^/]' \| \
14995 X"$as_dir" : 'X\(//\)$' \| \
14996 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14997 $as_echo X"$as_dir" |
14998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15002 /^X\(\/\/\)[^/].*/{
15015 test -d "$as_dir" && break
15017 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15018 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15022 if mkdir
-p .
2>/dev
/null
; then
15023 as_mkdir_p
='mkdir -p "$as_dir"'
15025 test -d .
/-p && rmdir .
/-p
15030 # as_fn_executable_p FILE
15031 # -----------------------
15032 # Test if FILE is an executable regular file.
15033 as_fn_executable_p
()
15035 test -f "$1" && test -x "$1"
15036 } # as_fn_executable_p
15037 as_test_x
='test -x'
15038 as_executable_p
=as_fn_executable_p
15040 # Sed expression to map a string onto a valid CPP name.
15041 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15043 # Sed expression to map a string onto a valid variable name.
15044 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15048 ## ----------------------------------- ##
15049 ## Main body of $CONFIG_STATUS script. ##
15050 ## ----------------------------------- ##
15052 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15055 # Save the log message, to keep $0 and so on meaningful, and to
15056 # report actual input values of CONFIG_FILES etc. instead of their
15057 # values after options handling.
15059 This file was extended by $as_me, which was
15060 generated by GNU Autoconf 2.69. Invocation command line was
15062 CONFIG_FILES = $CONFIG_FILES
15063 CONFIG_HEADERS = $CONFIG_HEADERS
15064 CONFIG_LINKS = $CONFIG_LINKS
15065 CONFIG_COMMANDS = $CONFIG_COMMANDS
15068 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15073 case $ac_config_files in *"
15074 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15077 case $ac_config_headers in *"
15078 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15083 # Files that config.status was made for.
15084 config_files="$ac_config_files"
15085 config_headers="$ac_config_headers"
15086 config_commands="$ac_config_commands"
15090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15092 \`$as_me' instantiates files and other configuration actions
15093 from templates according to the current configuration. Unless the files
15094 and actions are specified as TAGs, all are instantiated by default.
15096 Usage: $0 [OPTION]... [TAG]...
15098 -h, --help print this help, then exit
15099 -V, --version print version number and configuration settings, then exit
15100 --config print configuration, then exit
15101 -q, --quiet, --silent
15102 do not print progress messages
15103 -d, --debug don't remove temporary files
15104 --recheck update $as_me by reconfiguring in the same conditions
15105 --file=FILE[:TEMPLATE]
15106 instantiate the configuration file FILE
15107 --header=FILE[:TEMPLATE]
15108 instantiate the configuration header FILE
15110 Configuration files:
15113 Configuration headers:
15116 Configuration commands:
15119 Report bugs to the package provider."
15122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15123 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15126 configured by $0, generated by GNU Autoconf 2.69,
15127 with options \\"\$ac_cs_config\\"
15129 Copyright (C) 2012 Free Software Foundation, Inc.
15130 This config.status script is free software; the Free Software Foundation
15131 gives unlimited permission to copy, distribute and modify it."
15135 test -n "\$AWK" || AWK=awk
15138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15139 # The default lists apply if the user does not specify any file.
15145 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15146 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15150 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15162 # Handling of the options.
15163 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15165 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15166 $as_echo "$ac_cs_version"; exit ;;
15167 --config |
--confi |
--conf |
--con |
--co |
--c )
15168 $as_echo "$ac_cs_config"; exit ;;
15169 --debug |
--debu |
--deb |
--de |
--d |
-d )
15171 --file |
--fil |
--fi |
--f )
15174 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15175 '') as_fn_error $?
"missing file argument" ;;
15177 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15178 ac_need_defaults
=false
;;
15179 --header |
--heade |
--head |
--hea )
15182 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15184 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15185 ac_need_defaults
=false
;;
15187 # Conflict between --help and --header
15188 as_fn_error $?
"ambiguous option: \`$1'
15189 Try \`$0 --help' for more information.";;
15190 --help |
--hel |
-h )
15191 $as_echo "$ac_cs_usage"; exit ;;
15192 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15193 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15196 # This is an error.
15197 -*) as_fn_error $?
"unrecognized option: \`$1'
15198 Try \`$0 --help' for more information." ;;
15200 *) as_fn_append ac_config_targets
" $1"
15201 ac_need_defaults
=false
;;
15207 ac_configure_extra_args
=
15209 if $ac_cs_silent; then
15211 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15216 if \$ac_cs_recheck; then
15217 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15219 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15220 CONFIG_SHELL='$SHELL'
15221 export CONFIG_SHELL
15226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15230 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15231 ## Running $as_me. ##
15237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15242 aros_host_exe_suffix=${aros_host_exe_suffix}
15243 aros_tools_dir=${aros_tools_dir}
15244 aros_target_cpu=${aros_target_cpu}
15245 aros_target_arch=${aros_target_arch}
15246 aros_target_suffix=${aros_target_suffix}
15247 orig_target_nm=${orig_target_nm}
15248 orig_target_as=${orig_target_as}
15249 orig_target_ar=${orig_target_ar}
15250 orig_target_ranlib=${orig_target_ranlib}
15251 orig_target_objdump=${orig_target_objdump}
15252 orig_target_objcopy=${orig_target_objcopy}
15253 orig_target_strip=${orig_target_strip}
15254 aros_kernel_ld=${aros_kernel_ld}
15257 aros_tools_dir=${aros_tools_dir}
15262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15264 # Handling of arguments.
15265 for ac_config_target
in $ac_config_targets
15267 case $ac_config_target in
15268 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15269 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15270 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15271 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15272 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15273 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15274 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15275 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15276 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15277 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15278 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15279 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15280 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15281 "${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" ;;
15282 "${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" ;;
15283 "${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" ;;
15284 "${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" ;;
15285 "${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" ;;
15286 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15287 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15288 "${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" ;;
15290 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15295 # If the user did not use the arguments to specify the items to instantiate,
15296 # then the envvar interface is used. Set only those that are not.
15297 # We use the long form for the default assignment because of an extremely
15298 # bizarre bug on SunOS 4.1.3.
15299 if $ac_need_defaults; then
15300 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15301 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15302 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15305 # Have a temporary directory for convenience. Make it in the build tree
15306 # simply because there is no reason against having it here, and in addition,
15307 # creating and moving files from /tmp can sometimes cause problems.
15308 # Hook for its removal unless debugging.
15309 # Note that there is a small window in which the directory will not be cleaned:
15310 # after its creation but before its name has been assigned to `$tmp'.
15314 trap 'exit_status=$?
15315 : "${ac_tmp:=$tmp}"
15316 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15318 trap 'as_fn_exit 1' 1 2 13 15
15320 # Create a (secure) tmp directory for tmp files.
15323 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15327 tmp
=.
/conf$$
-$RANDOM
15328 (umask 077 && mkdir
"$tmp")
15329 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15332 # Set up the scripts for CONFIG_FILES section.
15333 # No need to generate them if there are no CONFIG_FILES.
15334 # This happens for instance with `./config.status config.h'.
15335 if test -n "$CONFIG_FILES"; then
15338 ac_cr
=`echo X | tr X '\015'`
15339 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15340 # But we know of no other shell where ac_cr would be empty at this
15341 # point, so we can use a bashism as a fallback.
15342 if test "x$ac_cr" = x
; then
15343 eval ac_cr
=\$
\'\\r
\'
15345 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15346 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15349 ac_cs_awk_cr
=$ac_cr
15352 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15357 echo "cat >conf$$subs.awk <<_ACEOF" &&
15358 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15360 } >conf$$subs.sh ||
15361 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15362 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15364 for ac_last_try in false false false false false :; do
15365 . ./conf$$subs.sh ||
15366 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15368 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15369 if test $ac_delim_n = $ac_delim_num; then
15371 elif $ac_last_try; then
15372 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15374 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15377 rm -f conf$$subs.sh
15379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15380 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15384 s/^/S["/; s
/!.
*/"]=/
15394 s/\(.\{148\}\)..*/\1/
15396 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15401 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15408 s/\(.\{148\}\)..*/\1/
15410 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15414 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15419 ' <conf$$subs.awk | sed '
15424 ' >>$CONFIG_STATUS || ac_write_fail=1
15425 rm -f conf$$subs.awk
15426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15428 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15429 for (key in S) S_is_set[key] = 1
15435 nfields = split(line, field, "@
")
15437 len = length(field[1])
15438 for (i = 2; i < nfields; i++) {
15440 keylen = length(key)
15441 if (S_is_set[key]) {
15443 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15444 len += length(value) + length(field[++i])
15455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15456 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15457 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15460 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15461 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15464 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15465 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15466 # trailing colons and then remove the whole line if VPATH becomes empty
15467 # (actually we leave an empty line to preserve line numbers).
15468 if test "x
$srcdir" = x.; then
15469 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15488 fi # test -n "$CONFIG_FILES"
15490 # Set up the scripts for CONFIG_HEADERS section.
15491 # No need to generate them if there are no CONFIG_HEADERS.
15492 # This happens for instance with `./config.status Makefile'.
15493 if test -n "$CONFIG_HEADERS"; then
15494 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15498 # Transform confdefs.h into an awk script `defines.awk', embedded as
15499 # here-document in config.status, that substitutes the proper values into
15500 # config.h.in to produce config.h.
15502 # Create a delimiter string that does not exist in confdefs.h, to ease
15503 # handling of long lines.
15505 for ac_last_try in false false :; do
15506 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15507 if test -z "$ac_tt"; then
15509 elif $ac_last_try; then
15510 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15512 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15516 # For the awk script, D is an array of macro values keyed by name,
15517 # likewise P contains macro parameters if any. Preserve backslash
15518 # newline sequences.
15520 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15522 s/.\{148\}/&'"$ac_delim"'/g
15525 s/^[ ]*#[ ]*define[ ][ ]*/ /
15532 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15534 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15538 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15539 D["\
1"]=" \
3\\\\\\n
"\\/p
15541 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15546 s/.\{148\}/&'"$ac_delim"'/g
15551 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15554 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15556 ' <confdefs.h | sed '
15557 s/'"$ac_delim"'/"\\\
15558 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15561 for (key in D) D_is_set[key] = 1
15564 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15566 split(line, arg, " ")
15567 if (arg[1] == "#") {
15571 defundef
= substr
(arg
[1], 2)
15574 split(mac1
, mac2
, "(") #)
15576 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15577 if (D_is_set
[macro
]) {
15578 # Preserve the white space surrounding the "#".
15579 print prefix
"define", macro P
[macro
] D
[macro
]
15582 # Replace #undef with comments. This is necessary, for example,
15583 # in the case of _POSIX_SOURCE, which is predefined and required
15584 # on some systems where configure will not decide to define it.
15585 if (defundef
== "undef") {
15586 print
"/*", prefix defundef
, macro
, "*/"
15594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15595 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15596 fi # test -n "$CONFIG_HEADERS"
15599 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15604 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15606 case $ac_mode$ac_tag in
15608 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15609 :[FH
]-) ac_tag
=-:-;;
15610 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15627 -) ac_f
="$ac_tmp/stdin";;
15628 *) # Look for the file first in the build tree, then in the source tree
15629 # (if the path is not absolute). The absolute path cannot be DOS-style,
15630 # because $ac_f cannot contain `:'.
15634 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15636 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15638 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15639 as_fn_append ac_file_inputs
" '$ac_f'"
15642 # Let's still pretend it is `configure' which instantiates (i.e., don't
15643 # use $as_me), people would be surprised to read:
15644 # /* config.h. Generated by config.status. */
15645 configure_input
='Generated from '`
15646 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15648 if test x
"$ac_file" != x-
; then
15649 configure_input
="$ac_file. $configure_input"
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15651 $as_echo "$as_me: creating $ac_file" >&6;}
15653 # Neutralize special characters interpreted by sed in replacement strings.
15654 case $configure_input in #(
15655 *\
&* |
*\|
* |
*\\* )
15656 ac_sed_conf_input
=`$as_echo "$configure_input" |
15657 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15658 *) ac_sed_conf_input
=$configure_input;;
15662 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15663 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15668 ac_dir
=`$as_dirname -- "$ac_file" ||
15669 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15670 X"$ac_file" : 'X\(//\)[^/]' \| \
15671 X"$ac_file" : 'X\(//\)$' \| \
15672 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15673 $as_echo X"$ac_file" |
15674 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15678 /^X\(\/\/\)[^/].*/{
15691 as_dir
="$ac_dir"; as_fn_mkdir_p
15695 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15697 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15698 # A ".." for each directory in $ac_dir_suffix.
15699 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15700 case $ac_top_builddir_sub in
15701 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15702 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15705 ac_abs_top_builddir
=$ac_pwd
15706 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15707 # for backward compatibility:
15708 ac_top_builddir
=$ac_top_build_prefix
15711 .
) # We are building in place.
15713 ac_top_srcdir
=$ac_top_builddir_sub
15714 ac_abs_top_srcdir
=$ac_pwd ;;
15715 [\\/]* | ?
:[\\/]* ) # Absolute name.
15716 ac_srcdir
=$srcdir$ac_dir_suffix;
15717 ac_top_srcdir
=$srcdir
15718 ac_abs_top_srcdir
=$srcdir ;;
15719 *) # Relative name.
15720 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15721 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15722 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15724 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15736 # If the template does not know about datarootdir, expand it.
15737 # FIXME: This hack should be removed a few years after 2.60.
15738 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15749 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15750 *datarootdir
*) ac_datarootdir_seen
=yes;;
15751 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15753 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15756 ac_datarootdir_hack='
15757 s&@datadir@&$datadir&g
15758 s&@docdir@&$docdir&g
15759 s&@infodir@&$infodir&g
15760 s&@localedir@&$localedir&g
15761 s&@mandir@&$mandir&g
15762 s&\\\${datarootdir}&$datarootdir&g' ;;
15766 # Neutralize VPATH when `$srcdir' = `.'.
15767 # Shell code in configure.ac might set extrasub.
15768 # FIXME: do we really want to maintain this feature?
15769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15770 ac_sed_extra="$ac_vpsub
15773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15775 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15776 s|@configure_input@|
$ac_sed_conf_input|
;t t
15777 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15778 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15779 s
&@srcdir@
&$ac_srcdir&;t t
15780 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15781 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15782 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15783 s
&@builddir@
&$ac_builddir&;t t
15784 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15785 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15786 $ac_datarootdir_hack
15788 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15789 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15791 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15792 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15793 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15794 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15796 which seems to be undefined. Please make sure it is defined" >&5
15797 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15798 which seems to be undefined. Please make sure it is defined" >&2;}
15800 rm -f "$ac_tmp/stdin"
15802 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15803 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15805 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15811 if test x"$ac_file" != x-; then
15813 $as_echo "/* $configure_input */" \
15814 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15815 } >"$ac_tmp/config.h" \
15816 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15817 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15819 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15822 mv "$ac_tmp/config.h" "$ac_file" \
15823 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15826 $as_echo "/* $configure_input */" \
15827 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15828 || as_fn_error $? "could not create -" "$LINENO" 5
15832 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15833 $as_echo "$as_me: executing $ac_file commands" >&6;}
15838 case $ac_file$ac_mode in
15839 "compiler_executable":C)
15840 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15842 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15843 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15847 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15849 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15850 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15851 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15852 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15853 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15854 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15855 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15857 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15859 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15867 ac_clean_files=$ac_clean_files_save
15869 test $ac_write_fail = 0 ||
15870 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15873 # configure is writing to config.log, and then calls config.status.
15874 # config.status does its own redirection, appending to config.log.
15875 # Unfortunately, on DOS this fails, as config.log is still kept open
15876 # by configure, so config.status won't be able to
write to it
; its
15877 # output is simply discarded. So we exec the FD to /dev/null,
15878 # effectively closing config.log, so it can be properly (re)opened and
15879 # appended to by config.status. When coming back to configure, we
15880 # need to make the FD available again.
15881 if test "$no_create" != yes; then
15883 ac_config_status_args
=
15884 test "$silent" = yes &&
15885 ac_config_status_args
="$ac_config_status_args --quiet"
15887 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15889 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15890 # would make configure fail if this is the last instruction.
15891 $ac_cs_success || as_fn_exit
1
15893 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15895 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15900 #XXX compatability...
15901 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15903 if test -n "$aros_shared_cflags" ; then
15904 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15905 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg