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 is >= 2.5" >&5
5764 $as_echo_n "checking whether $PYTHON version is >= 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_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5783 $as_echo "no" >&6; }
5784 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
5786 am_display_PYTHON
=$PYTHON
5788 # Otherwise, try each interpreter until we find one that satisfies
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5791 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5792 if ${am_cv_pathless_PYTHON+:} false
; then :
5793 $as_echo_n "(cached) " >&6
5796 for am_cv_pathless_PYTHON
in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none
; do
5797 test "$am_cv_pathless_PYTHON" = none
&& break
5799 # split strings by '.' and convert to numeric. Append some zeros
5800 # because we need at least 4 digits for the hex conversion.
5801 # map returns an iterator in Python 3.0 and a list in 2.x
5802 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5804 # xrange is not present in Python 3.0 and range returns an iterator
5805 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5806 sys.exit(sys.hexversion < minverhex)"
5807 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5808 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811 (exit $ac_status); }; then :
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5817 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5818 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5819 if test "$am_cv_pathless_PYTHON" = none
; then
5822 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5823 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5825 $as_echo_n "checking for $ac_word... " >&6; }
5826 if ${ac_cv_path_PYTHON+:} false
; then :
5827 $as_echo_n "(cached) " >&6
5831 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5838 test -z "$as_dir" && as_dir
=.
5839 for ac_exec_ext
in '' $ac_executable_extensions; do
5840 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5841 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5852 PYTHON
=$ac_cv_path_PYTHON
5853 if test -n "$PYTHON"; then
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5855 $as_echo "$PYTHON" >&6; }
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858 $as_echo "no" >&6; }
5863 am_display_PYTHON
=$am_cv_pathless_PYTHON
5867 if test "$PYTHON" = :; then
5868 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5873 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5874 if ${am_cv_python_version+:} false
; then :
5875 $as_echo_n "(cached) " >&6
5877 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5880 $as_echo "$am_cv_python_version" >&6; }
5881 PYTHON_VERSION
=$am_cv_python_version
5885 PYTHON_PREFIX
='${prefix}'
5887 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5892 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5893 if ${am_cv_python_platform+:} false
; then :
5894 $as_echo_n "(cached) " >&6
5896 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5899 $as_echo "$am_cv_python_platform" >&6; }
5900 PYTHON_PLATFORM
=$am_cv_python_platform
5903 # Just factor out some code duplication.
5904 am_python_setup_sysconfig
="\
5906 # Prefer sysconfig over distutils.sysconfig, for better compatibility
5907 # with python 3.x. See automake bug#10227.
5911 can_use_sysconfig = 0
5913 can_use_sysconfig = 1
5914 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
5915 # <https://github.com/pypa/virtualenv/issues/118>
5917 from platform import python_implementation
5918 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
5919 can_use_sysconfig = 0
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5925 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5926 if ${am_cv_python_pythondir+:} false
; then :
5927 $as_echo_n "(cached) " >&6
5929 if test "x$prefix" = xNONE
5931 am_py_prefix
=$ac_default_prefix
5933 am_py_prefix
=$prefix
5935 am_cv_python_pythondir
=`$PYTHON -c "
5936 $am_python_setup_sysconfig
5937 if can_use_sysconfig:
5938 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
5940 from distutils import sysconfig
5941 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
5942 sys.stdout.write(sitedir)"`
5943 case $am_cv_python_pythondir in
5945 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5946 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5949 case $am_py_prefix in
5952 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5960 $as_echo "$am_cv_python_pythondir" >&6; }
5961 pythondir
=$am_cv_python_pythondir
5965 pkgpythondir
=\
${pythondir}/$PACKAGE
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5969 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5970 if ${am_cv_python_pyexecdir+:} false
; then :
5971 $as_echo_n "(cached) " >&6
5973 if test "x$exec_prefix" = xNONE
5975 am_py_exec_prefix
=$am_py_prefix
5977 am_py_exec_prefix
=$exec_prefix
5979 am_cv_python_pyexecdir
=`$PYTHON -c "
5980 $am_python_setup_sysconfig
5981 if can_use_sysconfig:
5982 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
5984 from distutils import sysconfig
5985 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
5986 sys.stdout.write(sitedir)"`
5987 case $am_cv_python_pyexecdir in
5988 $am_py_exec_prefix*)
5989 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5990 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5993 case $am_py_exec_prefix in
5996 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6004 $as_echo "$am_cv_python_pyexecdir" >&6; }
6005 pyexecdir
=$am_cv_python_pyexecdir
6009 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6019 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6020 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6021 $as_echo_n "(cached) " >&6
6023 ac_check_lib_save_LIBS
=$LIBS
6025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6026 /* end confdefs.h. */
6028 /* Override any GCC internal prototype to avoid an error.
6029 Use char because int might match the return type of a GCC
6030 builtin and then its argument prototype would still apply. */
6034 char png_read_png ();
6038 return png_read_png ();
6043 if ac_fn_c_try_link
"$LINENO"; then :
6044 ac_cv_lib_png_png_read_png
=yes
6046 ac_cv_lib_png_png_read_png
=no
6048 rm -f core conftest.err conftest.
$ac_objext \
6049 conftest
$ac_exeext conftest.
$ac_ext
6050 LIBS
=$ac_check_lib_save_LIBS
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6053 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6054 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6055 cat >>confdefs.h
<<_ACEOF
6056 #define HAVE_LIBPNG 1
6063 if test "$ac_cv_lib_png_png_read_png" = ""; then
6064 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6077 # Check for some includes for the X11 HIDD and the kernel
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6080 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6081 if ${ac_cv_path_GREP+:} false
; then :
6082 $as_echo_n "(cached) " >&6
6084 if test -z "$GREP"; then
6085 ac_path_GREP_found
=false
6086 # Loop through the user's path and test for each of PROGNAME-LIST
6087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6088 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6091 test -z "$as_dir" && as_dir
=.
6092 for ac_prog
in grep ggrep
; do
6093 for ac_exec_ext
in '' $ac_executable_extensions; do
6094 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6095 as_fn_executable_p
"$ac_path_GREP" ||
continue
6096 # Check for GNU ac_path_GREP and select it if it is found.
6097 # Check for GNU $ac_path_GREP
6098 case `"$ac_path_GREP" --version 2>&1` in
6100 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6103 $as_echo_n 0123456789 >"conftest.in"
6106 cat "conftest.in" "conftest.in" >"conftest.tmp"
6107 mv "conftest.tmp" "conftest.in"
6108 cp "conftest.in" "conftest.nl"
6109 $as_echo 'GREP' >> "conftest.nl"
6110 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6111 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6112 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6113 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6114 # Best one so far, save it but keep looking for a better one
6115 ac_cv_path_GREP
="$ac_path_GREP"
6116 ac_path_GREP_max
=$ac_count
6118 # 10*(2^10) chars as input seems more than enough
6119 test $ac_count -gt 10 && break
6121 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6124 $ac_path_GREP_found && break 3
6129 if test -z "$ac_cv_path_GREP"; then
6130 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6133 ac_cv_path_GREP
=$GREP
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6138 $as_echo "$ac_cv_path_GREP" >&6; }
6139 GREP
="$ac_cv_path_GREP"
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6143 $as_echo_n "checking for egrep... " >&6; }
6144 if ${ac_cv_path_EGREP+:} false
; then :
6145 $as_echo_n "(cached) " >&6
6147 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6148 then ac_cv_path_EGREP
="$GREP -E"
6150 if test -z "$EGREP"; then
6151 ac_path_EGREP_found
=false
6152 # Loop through the user's path and test for each of PROGNAME-LIST
6153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6154 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6157 test -z "$as_dir" && as_dir
=.
6158 for ac_prog
in egrep; do
6159 for ac_exec_ext
in '' $ac_executable_extensions; do
6160 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6161 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6162 # Check for GNU ac_path_EGREP and select it if it is found.
6163 # Check for GNU $ac_path_EGREP
6164 case `"$ac_path_EGREP" --version 2>&1` in
6166 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6169 $as_echo_n 0123456789 >"conftest.in"
6172 cat "conftest.in" "conftest.in" >"conftest.tmp"
6173 mv "conftest.tmp" "conftest.in"
6174 cp "conftest.in" "conftest.nl"
6175 $as_echo 'EGREP' >> "conftest.nl"
6176 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6177 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6178 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6179 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6180 # Best one so far, save it but keep looking for a better one
6181 ac_cv_path_EGREP
="$ac_path_EGREP"
6182 ac_path_EGREP_max
=$ac_count
6184 # 10*(2^10) chars as input seems more than enough
6185 test $ac_count -gt 10 && break
6187 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6190 $ac_path_EGREP_found && break 3
6195 if test -z "$ac_cv_path_EGREP"; then
6196 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6199 ac_cv_path_EGREP
=$EGREP
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6205 $as_echo "$ac_cv_path_EGREP" >&6; }
6206 EGREP
="$ac_cv_path_EGREP"
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6210 $as_echo_n "checking for ANSI C header files... " >&6; }
6211 if ${ac_cv_header_stdc+:} false
; then :
6212 $as_echo_n "(cached) " >&6
6214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6215 /* end confdefs.h. */
6229 if ac_fn_c_try_compile
"$LINENO"; then :
6230 ac_cv_header_stdc
=yes
6232 ac_cv_header_stdc
=no
6234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6236 if test $ac_cv_header_stdc = yes; then
6237 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6239 /* end confdefs.h. */
6243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6244 $EGREP "memchr" >/dev
/null
2>&1; then :
6247 ac_cv_header_stdc
=no
6253 if test $ac_cv_header_stdc = yes; then
6254 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6256 /* end confdefs.h. */
6260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6261 $EGREP "free" >/dev
/null
2>&1; then :
6264 ac_cv_header_stdc
=no
6270 if test $ac_cv_header_stdc = yes; then
6271 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6272 if test "$cross_compiling" = yes; then :
6275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6276 /* end confdefs.h. */
6279 #if ((' ' & 0x0FF) == 0x020)
6280 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6281 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6283 # define ISLOWER(c) \
6284 (('a' <= (c) && (c) <= 'i') \
6285 || ('j' <= (c) && (c) <= 'r') \
6286 || ('s' <= (c) && (c) <= 'z'))
6287 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6290 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6295 for (i = 0; i < 256; i++)
6296 if (XOR (islower (i), ISLOWER (i))
6297 || toupper (i) != TOUPPER (i))
6302 if ac_fn_c_try_run
"$LINENO"; then :
6305 ac_cv_header_stdc
=no
6307 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6308 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6314 $as_echo "$ac_cv_header_stdc" >&6; }
6315 if test $ac_cv_header_stdc = yes; then
6317 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6321 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6322 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6323 inttypes.h stdint.h unistd.h
6325 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6326 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6328 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6329 cat >>confdefs.h
<<_ACEOF
6330 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6338 for ac_header
in sys
/ipc.h sys
/shm.h \
6339 sys
/mmap.h sys
/mman.h sysexits.h \
6340 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6343 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6344 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6345 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6346 cat >>confdefs.h
<<_ACEOF
6347 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6355 for ac_header
in sys
/mount.h
6357 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6359 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6360 cat >>confdefs.h
<<_ACEOF
6361 #define HAVE_SYS_MOUNT_H 1
6370 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6371 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6373 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6374 if eval \
${$as_ac_Header+:} false
; then :
6375 $as_echo_n "(cached) " >&6
6377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6378 /* end confdefs.h. */
6379 #include <sys/types.h>
6391 if ac_fn_c_try_compile
"$LINENO"; then :
6392 eval "$as_ac_Header=yes"
6394 eval "$as_ac_Header=no"
6396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6398 eval ac_res
=\$
$as_ac_Header
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6400 $as_echo "$ac_res" >&6; }
6401 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6402 cat >>confdefs.h
<<_ACEOF
6403 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6406 ac_header_dirent
=$ac_hdr; break
6410 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6411 if test $ac_header_dirent = dirent.h
; then
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6413 $as_echo_n "checking for library containing opendir... " >&6; }
6414 if ${ac_cv_search_opendir+:} false
; then :
6415 $as_echo_n "(cached) " >&6
6417 ac_func_search_save_LIBS
=$LIBS
6418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6419 /* end confdefs.h. */
6421 /* Override any GCC internal prototype to avoid an error.
6422 Use char because int might match the return type of a GCC
6423 builtin and then its argument prototype would still apply. */
6436 for ac_lib
in '' dir
; do
6437 if test -z "$ac_lib"; then
6438 ac_res
="none required"
6441 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6443 if ac_fn_c_try_link
"$LINENO"; then :
6444 ac_cv_search_opendir
=$ac_res
6446 rm -f core conftest.err conftest.
$ac_objext \
6448 if ${ac_cv_search_opendir+:} false
; then :
6452 if ${ac_cv_search_opendir+:} false
; then :
6455 ac_cv_search_opendir
=no
6458 LIBS
=$ac_func_search_save_LIBS
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6461 $as_echo "$ac_cv_search_opendir" >&6; }
6462 ac_res
=$ac_cv_search_opendir
6463 if test "$ac_res" != no
; then :
6464 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6470 $as_echo_n "checking for library containing opendir... " >&6; }
6471 if ${ac_cv_search_opendir+:} false
; then :
6472 $as_echo_n "(cached) " >&6
6474 ac_func_search_save_LIBS
=$LIBS
6475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6476 /* end confdefs.h. */
6478 /* Override any GCC internal prototype to avoid an error.
6479 Use char because int might match the return type of a GCC
6480 builtin and then its argument prototype would still apply. */
6493 for ac_lib
in '' x
; do
6494 if test -z "$ac_lib"; then
6495 ac_res
="none required"
6498 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6500 if ac_fn_c_try_link
"$LINENO"; then :
6501 ac_cv_search_opendir
=$ac_res
6503 rm -f core conftest.err conftest.
$ac_objext \
6505 if ${ac_cv_search_opendir+:} false
; then :
6509 if ${ac_cv_search_opendir+:} false
; then :
6512 ac_cv_search_opendir
=no
6515 LIBS
=$ac_func_search_save_LIBS
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6518 $as_echo "$ac_cv_search_opendir" >&6; }
6519 ac_res
=$ac_cv_search_opendir
6520 if test "$ac_res" != no
; then :
6521 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6528 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6529 if ${ac_cv_header_stat_broken+:} false
; then :
6530 $as_echo_n "(cached) " >&6
6532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6533 /* end confdefs.h. */
6534 #include <sys/types.h>
6535 #include <sys/stat.h>
6537 #if defined S_ISBLK && defined S_IFDIR
6538 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6541 #if defined S_ISBLK && defined S_IFCHR
6542 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6545 #if defined S_ISLNK && defined S_IFREG
6546 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6549 #if defined S_ISSOCK && defined S_IFREG
6550 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6554 if ac_fn_c_try_compile
"$LINENO"; then :
6555 ac_cv_header_stat_broken
=no
6557 ac_cv_header_stat_broken
=yes
6559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6562 $as_echo "$ac_cv_header_stat_broken" >&6; }
6563 if test $ac_cv_header_stat_broken = yes; then
6565 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6570 $as_echo_n "checking for ANSI C header files... " >&6; }
6571 if ${ac_cv_header_stdc+:} false
; then :
6572 $as_echo_n "(cached) " >&6
6574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6575 /* end confdefs.h. */
6589 if ac_fn_c_try_compile
"$LINENO"; then :
6590 ac_cv_header_stdc
=yes
6592 ac_cv_header_stdc
=no
6594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6596 if test $ac_cv_header_stdc = yes; then
6597 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6599 /* end confdefs.h. */
6603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6604 $EGREP "memchr" >/dev
/null
2>&1; then :
6607 ac_cv_header_stdc
=no
6613 if test $ac_cv_header_stdc = yes; then
6614 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6616 /* end confdefs.h. */
6620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6621 $EGREP "free" >/dev
/null
2>&1; then :
6624 ac_cv_header_stdc
=no
6630 if test $ac_cv_header_stdc = yes; then
6631 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6632 if test "$cross_compiling" = yes; then :
6635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6636 /* end confdefs.h. */
6639 #if ((' ' & 0x0FF) == 0x020)
6640 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6641 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6643 # define ISLOWER(c) \
6644 (('a' <= (c) && (c) <= 'i') \
6645 || ('j' <= (c) && (c) <= 'r') \
6646 || ('s' <= (c) && (c) <= 'z'))
6647 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6650 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6655 for (i = 0; i < 256; i++)
6656 if (XOR (islower (i), ISLOWER (i))
6657 || toupper (i) != TOUPPER (i))
6662 if ac_fn_c_try_run
"$LINENO"; then :
6665 ac_cv_header_stdc
=no
6667 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6668 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6674 $as_echo "$ac_cv_header_stdc" >&6; }
6675 if test $ac_cv_header_stdc = yes; then
6677 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6682 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6683 if ${ac_cv_header_sys_wait_h+:} false
; then :
6684 $as_echo_n "(cached) " >&6
6686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6687 /* end confdefs.h. */
6688 #include <sys/types.h>
6689 #include <sys/wait.h>
6691 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6694 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6702 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6707 if ac_fn_c_try_compile
"$LINENO"; then :
6708 ac_cv_header_sys_wait_h
=yes
6710 ac_cv_header_sys_wait_h
=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_sys_wait_h" >&5
6715 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6716 if test $ac_cv_header_sys_wait_h = yes; then
6718 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6723 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6724 if ${ac_cv_header_time+:} false
; then :
6725 $as_echo_n "(cached) " >&6
6727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6728 /* end confdefs.h. */
6729 #include <sys/types.h>
6730 #include <sys/time.h>
6736 if ((struct tm *) 0)
6742 if ac_fn_c_try_compile
"$LINENO"; then :
6743 ac_cv_header_time
=yes
6745 ac_cv_header_time
=no
6747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6750 $as_echo "$ac_cv_header_time" >&6; }
6751 if test $ac_cv_header_time = yes; then
6753 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6757 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6758 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6760 cat >>confdefs.h
<<_ACEOF
6761 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6765 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6770 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6771 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6773 cat >>confdefs.h
<<_ACEOF
6774 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6778 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6781 case " $LIBOBJS " in
6782 *" fileblocks.$ac_objext "* ) ;;
6783 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6790 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6791 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6793 cat >>confdefs.h
<<_ACEOF
6794 #define HAVE_STRUCT_STAT_ST_RDEV 1
6798 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6804 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6805 if ${ac_cv_struct_tm+:} false
; then :
6806 $as_echo_n "(cached) " >&6
6808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6809 /* end confdefs.h. */
6810 #include <sys/types.h>
6817 int *p = &tm.tm_sec;
6823 if ac_fn_c_try_compile
"$LINENO"; then :
6824 ac_cv_struct_tm
=time.h
6826 ac_cv_struct_tm
=sys
/time.h
6828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6831 $as_echo "$ac_cv_struct_tm" >&6; }
6832 if test $ac_cv_struct_tm = sys
/time.h
; then
6834 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6838 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6839 #include <$ac_cv_struct_tm>
6842 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6844 cat >>confdefs.h
<<_ACEOF
6845 #define HAVE_STRUCT_TM_TM_ZONE 1
6851 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6853 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6856 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6858 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6864 cat >>confdefs.h
<<_ACEOF
6865 #define HAVE_DECL_TZNAME $ac_have_decl
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6869 $as_echo_n "checking for tzname... " >&6; }
6870 if ${ac_cv_var_tzname+:} false
; then :
6871 $as_echo_n "(cached) " >&6
6873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6874 /* end confdefs.h. */
6876 #if !HAVE_DECL_TZNAME
6877 extern char *tzname[];
6883 return tzname[0][0];
6888 if ac_fn_c_try_link
"$LINENO"; then :
6889 ac_cv_var_tzname
=yes
6893 rm -f core conftest.err conftest.
$ac_objext \
6894 conftest
$ac_exeext conftest.
$ac_ext
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6897 $as_echo "$ac_cv_var_tzname" >&6; }
6898 if test $ac_cv_var_tzname = yes; then
6900 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6905 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6906 if test "x$ac_cv_type_off_t" = xyes
; then :
6910 cat >>confdefs.h
<<_ACEOF
6911 #define off_t long int
6916 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6917 if test "x$ac_cv_type_pid_t" = xyes
; then :
6921 cat >>confdefs.h
<<_ACEOF
6927 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6928 if test "x$ac_cv_type_size_t" = xyes
; then :
6932 cat >>confdefs.h
<<_ACEOF
6933 #define size_t unsigned int
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6939 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6940 if ${ac_cv_type_uid_t+:} false
; then :
6941 $as_echo_n "(cached) " >&6
6943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6944 /* end confdefs.h. */
6945 #include <sys/types.h>
6948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6949 $EGREP "uid_t" >/dev
/null
2>&1; then :
6950 ac_cv_type_uid_t
=yes
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6958 $as_echo "$ac_cv_type_uid_t" >&6; }
6959 if test $ac_cv_type_uid_t = no
; then
6961 $as_echo "#define uid_t int" >>confdefs.h
6964 $as_echo "#define gid_t int" >>confdefs.h
6969 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6970 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6972 cat >>confdefs.h
<<_ACEOF
6973 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6980 # Look for some functions
6981 for ac_func
in getpagesize kqueue statfs statvfs \
6982 clone kse_create rfork_thread thr_create sa_register \
6983 getcontext makecontext setcontext sigaltstack swapcontext
6985 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6986 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6987 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6988 cat >>confdefs.h
<<_ACEOF
6989 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6999 for ac_header
in $ac_header_list
7001 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7002 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7004 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7005 cat >>confdefs.h
<<_ACEOF
7006 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7020 for ac_func
in getpagesize
7022 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7023 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7024 cat >>confdefs.h
<<_ACEOF
7025 #define HAVE_GETPAGESIZE 1
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7032 $as_echo_n "checking for working mmap... " >&6; }
7033 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7034 $as_echo_n "(cached) " >&6
7036 if test "$cross_compiling" = yes; then :
7037 ac_cv_func_mmap_fixed_mapped
=no
7039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7040 /* end confdefs.h. */
7041 $ac_includes_default
7042 /* malloc might have been renamed as rpl_malloc. */
7045 /* Thanks to Mike Haertel and Jim Avera for this test.
7046 Here is a matrix of mmap possibilities:
7047 mmap private not fixed
7048 mmap private fixed at somewhere currently unmapped
7049 mmap private fixed at somewhere already mapped
7050 mmap shared not fixed
7051 mmap shared fixed at somewhere currently unmapped
7052 mmap shared fixed at somewhere already mapped
7053 For private mappings, we should verify that changes cannot be read()
7054 back from the file, nor mmap's back from the file at a different
7055 address. (There have been systems where private was not correctly
7056 implemented like the infamous i386 svr4.0, and systems where the
7057 VM page cache was not coherent with the file system buffer cache
7058 like early versions of FreeBSD and possibly contemporary NetBSD.)
7059 For shared mappings, we should conversely verify that changes get
7060 propagated back to all the places they're supposed to be.
7062 Grep wants private fixed already mapped.
7063 The main things grep needs to know about mmap are:
7064 * does it exist and is it safe to write into the mmap'd area
7065 * how to use it (BSD variants) */
7068 #include <sys/mman.h>
7070 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7074 /* This mess was copied from the GNU getpagesize.h. */
7075 #ifndef HAVE_GETPAGESIZE
7076 # ifdef _SC_PAGESIZE
7077 # define getpagesize() sysconf(_SC_PAGESIZE)
7078 # else /* no _SC_PAGESIZE */
7079 # ifdef HAVE_SYS_PARAM_H
7080 # include <sys/param.h>
7081 # ifdef EXEC_PAGESIZE
7082 # define getpagesize() EXEC_PAGESIZE
7083 # else /* no EXEC_PAGESIZE */
7085 # define getpagesize() NBPG * CLSIZE
7088 # endif /* no CLSIZE */
7089 # else /* no NBPG */
7091 # define getpagesize() NBPC
7092 # else /* no NBPC */
7094 # define getpagesize() PAGESIZE
7095 # endif /* PAGESIZE */
7096 # endif /* no NBPC */
7097 # endif /* no NBPG */
7098 # endif /* no EXEC_PAGESIZE */
7099 # else /* no HAVE_SYS_PARAM_H */
7100 # define getpagesize() 8192 /* punt totally */
7101 # endif /* no HAVE_SYS_PARAM_H */
7102 # endif /* no _SC_PAGESIZE */
7104 #endif /* no HAVE_GETPAGESIZE */
7109 char *data, *data2, *data3;
7114 pagesize = getpagesize ();
7116 /* First, make a file with some known garbage in it. */
7117 data = (char *) malloc (pagesize);
7120 for (i = 0; i < pagesize; ++i)
7121 *(data + i) = rand ();
7123 fd = creat ("conftest.mmap", 0600);
7126 if (write (fd, data, pagesize) != pagesize)
7130 /* Next, check that the tail of a page is zero-filled. File must have
7131 non-zero length, otherwise we risk SIGBUS for entire page. */
7132 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7136 if (write (fd2, cdata2, 1) != 1)
7138 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7139 if (data2 == MAP_FAILED)
7141 for (i = 0; i < pagesize; ++i)
7145 if (munmap (data2, pagesize))
7148 /* Next, try to mmap the file at a fixed address which already has
7149 something else allocated at it. If we can, also make sure that
7150 we see the same garbage. */
7151 fd = open ("conftest.mmap", O_RDWR);
7154 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7155 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7157 for (i = 0; i < pagesize; ++i)
7158 if (*(data + i) != *(data2 + i))
7161 /* Finally, make sure that changes to the mapped area do not
7162 percolate back to the file as seen by read(). (This is a bug on
7163 some variants of i386 svr4.0.) */
7164 for (i = 0; i < pagesize; ++i)
7165 *(data2 + i) = *(data2 + i) + 1;
7166 data3 = (char *) malloc (pagesize);
7169 if (read (fd, data3, pagesize) != pagesize)
7171 for (i = 0; i < pagesize; ++i)
7172 if (*(data + i) != *(data3 + i))
7178 if ac_fn_c_try_run
"$LINENO"; then :
7179 ac_cv_func_mmap_fixed_mapped
=yes
7181 ac_cv_func_mmap_fixed_mapped
=no
7183 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7184 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7189 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7190 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7192 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7195 rm -f conftest.mmap conftest.txt
7200 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7201 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7202 aros_config_ldflags
=""
7204 aros_shared_default
=yes
7206 aros_shared_cflags
="-fPIC"
7207 aros_shared_aflags
=""
7208 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7209 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7211 aros_kernel_ar_flags
="cr"
7212 aros_target_ar_flags
="cr"
7213 aros_target_nm_flags
="-C -ul"
7214 aros_target_strip_flags
="--strip-unneeded -R.comment"
7219 aros_target_genmap
="-Wl,-Map -Xlinker"
7221 # Native flavour stuff
7222 aros_serial_debug
="0"
7224 # Palm native flavour stuff
7225 aros_palm_debug_hack
="0"
7227 # Unix flavour stuff
7228 aros_nesting_supervisor
="0"
7230 # Collect-aros stuff: "-ius" to ignore undefined symbols
7231 ignore_undefined_symbols
=""
7233 # Check for X11 by default
7236 #-----------------------------------------------------------------------------
7239 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7240 # it switched on by default, and we use the host compiler, so it compiles AROS
7241 # code with this enabled resulting in link failures as we don't have support
7244 # We use two methods to disable it. For the host compiler (used to compile
7245 # some hosted modules), we test to see if the compiler supports stack
7246 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7247 # work on all platforms.
7249 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7250 # (this is done unconditionally, as it should have no effect on compilers
7251 # without the stack protection feature). This may be specific to the way that
7252 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7253 # strong enough to disable it in a generic way though, so we'll live with it
7254 # until another vendor ships GCC with it enabled in a different way, and deal
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7259 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7260 save_cflags
="$CFLAGS"
7261 CFLAGS
="$CFLAGS -fno-stack-protector"
7262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7263 /* end confdefs.h. */
7273 if ac_fn_c_try_compile
"$LINENO"; then :
7274 use_no_stack_protector
="yes"
7276 use_no_stack_protector
="no"
7278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7280 $as_echo "$use_no_stack_protector" >&6; }
7281 if test "x-$use_no_stack_protector" = "x-yes" ; then
7282 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7284 CFLAGS
="$save_cflags"
7286 #-----------------------------------------------------------------------------
7288 # Disable pointer-signedness warnings if the compiler recognises the option
7289 # (this only works for the host compiler at the moment)
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7292 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7293 save_cflags
="$CFLAGS"
7294 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7296 /* end confdefs.h. */
7306 if ac_fn_c_try_compile
"$LINENO"; then :
7307 use_no_sign_warning
="yes"
7309 use_no_sign_warning
="no"
7311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7313 $as_echo "$use_no_sign_warning" >&6; }
7314 if test "x-$use_no_sign_warning" = "x-yes" ; then
7315 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7317 CFLAGS
="$save_cflags"
7319 #-----------------------------------------------------------------------------
7321 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7324 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7325 save_cflags
="$CFLAGS"
7326 CFLAGS
="$CFLAGS -fgnu89-inline"
7327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7328 /* end confdefs.h. */
7338 if ac_fn_c_try_compile
"$LINENO"; then :
7339 use_gnu89_inline
="yes"
7341 use_gnu89_inline
="no"
7343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7345 $as_echo "$use_gnu89_inline" >&6; }
7346 if test "x-$use_gnu89_inline" = "x-yes" ; then
7347 gnu89_inline
="-fgnu89-inline"
7349 CFLAGS
="$save_cflags"
7351 #-----------------------------------------------------------------------------
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7354 $as_echo_n "checking for type of build... " >&6; }
7355 # Check whether --enable-build_type was given.
7356 if test "${enable_build_type+set}" = set; then :
7357 enableval
=$enable_build_type; build_type
=$enableval
7359 build_type
="personal"
7363 if test "$build_type" = "nightly"; then
7364 build_type_string
="NIGHTLY"
7365 elif test "$build_type" = "snapshot"; then
7366 build_type_string
="SNAPSHOT"
7367 elif test "$build_type" = "milestone"; then
7368 build_type_string
="MILESTONE"
7369 elif test "$build_type" = "release"; then
7370 build_type_string
="RELEASE"
7372 build_type_string
="PERSONAL"
7373 build_type
="personal"
7376 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7379 $as_echo "$build_type" >&6; }
7381 #-----------------------------------------------------------------------------
7382 all_debug_types
="messages stack modules mungwall symbols"
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7385 $as_echo_n "checking which debug types to enable... " >&6; }
7386 # Check whether --enable-debug was given.
7387 if test "${enable_debug+set}" = set; then :
7388 enableval
=$enable_debug; debug
="$enableval"
7394 if test "$debug" = "" -o "$debug" = "no"; then
7396 elif test "$debug" = "yes"; then
7400 if test "$debug" = "all" ; then
7401 debug
="messages stack modules symbols"
7402 for d
in $all_debug_types; do
7403 export aros_
${d}_debug
="1"
7406 for d
in $all_debug_types; do
7407 export aros_
${d}_debug
="0"
7411 if test "$debug" != "none"; then
7412 debug
=`echo $debug | sed s/,/\ /g`
7415 for d2
in $all_debug_types; do
7416 if test "$d2" = "$d"; then
7421 if test "$found" = "0"; then
7422 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7424 export aros_
${d}_debug
="1"
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7429 $as_echo "$debug" >&6; }
7431 if test "$aros_messages_debug" = "1"; then
7432 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7434 aros_messages_debug
=""
7436 if test "$aros_symbols_debug" = "1"; then
7437 aros_symbols_debug
="-g"
7439 aros_symbols_debug
=""
7442 # These are the flags to pass when compiling debugged programs
7443 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7444 aros_debug_aflags
=""
7445 aros_debug_ldflags
="$aros_symbols_debug"
7447 #-----------------------------------------------------------------------------
7448 # Checking for distcc and ccache.
7450 # Always apply the transforms in this particular order. Basically you should
7451 # always run 'ccache distcc compiler' in that order for the best performance.
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7454 $as_echo_n "checking whether to enable distcc... " >&6; }
7455 # Check whether --enable-distcc was given.
7456 if test "${enable_distcc+set}" = set; then :
7457 enableval
=$enable_distcc; distcc
="$enableval"
7462 if test "$distcc" != "" -a "$distcc" != "no"; then
7463 # AC_CHECK_PROG will print out the result in this case
7464 # Extract the first word of "distcc", so it can be a program name with args.
7465 set dummy distcc
; ac_word
=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if ${ac_cv_path_DISTCC+:} false
; then :
7469 $as_echo_n "(cached) " >&6
7473 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7480 test -z "$as_dir" && as_dir
=.
7481 for ac_exec_ext
in '' $ac_executable_extensions; do
7482 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7483 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7491 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7495 DISTCC
=$ac_cv_path_DISTCC
7496 if test -n "$DISTCC"; then
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7498 $as_echo "$DISTCC" >&6; }
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501 $as_echo "no" >&6; }
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507 $as_echo "no" >&6; }
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7511 $as_echo_n "checking whether to enable ccache... " >&6; }
7512 # Check whether --enable-ccache was given.
7513 if test "${enable_ccache+set}" = set; then :
7514 enableval
=$enable_ccache; ccache
="$enableval"
7519 if test "$ccache" != "" -a "$ccache" != "no"; then
7520 # AC_CHECK_PROG will print out the result in this case
7521 # Extract the first word of "ccache", so it can be a program name with args.
7522 set dummy ccache
; ac_word
=$2
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7524 $as_echo_n "checking for $ac_word... " >&6; }
7525 if ${ac_cv_prog_CCACHE+:} false
; then :
7526 $as_echo_n "(cached) " >&6
7528 if test -n "$CCACHE"; then
7529 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7535 test -z "$as_dir" && as_dir
=.
7536 for ac_exec_ext
in '' $ac_executable_extensions; do
7537 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7538 ac_cv_prog_CCACHE
="ccache"
7539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7548 CCACHE
=$ac_cv_prog_CCACHE
7549 if test -n "$CCACHE"; then
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7551 $as_echo "$CCACHE" >&6; }
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7554 $as_echo "no" >&6; }
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7560 $as_echo "no" >&6; }
7563 #-----------------------------------------------------------------------------
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7565 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7567 # Check whether --with-kernel-gcc-version was given.
7568 if test "${with_kernel_gcc_version+set}" = set; then :
7569 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7571 kernel_tool_version
=""
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7575 $as_echo "$kernel_tool_version" >&6; }
7577 #-----------------------------------------------------------------------------
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7579 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7581 # Check whether --with-gcc-version was given.
7582 if test "${with_gcc_version+set}" = set; then :
7583 withval
=$with_gcc_version; target_tool_version
="$withval"
7585 target_tool_version
=""
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7589 $as_echo "$target_tool_version" >&6; }
7591 #-----------------------------------------------------------------------------
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7593 $as_echo_n "checking what optimization flags to use... " >&6; }
7595 # Check whether --with-optimization was given.
7596 if test "${with_optimization+set}" = set; then :
7597 withval
=$with_optimization; optimization
="$withval"
7599 optimization
="unknown"
7602 if test "$optimization" = "unknown"; then
7603 if test "$debug" != "none"; then
7609 aros_config_cflags
="$aros_config_cflags $optimization"
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7611 $as_echo "$optimization" >&6; }
7613 #-----------------------------------------------------------------------------
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7615 $as_echo_n "checking what paranoia flags to use... " >&6; }
7617 # Check whether --with-paranoia was given.
7618 if test "${with_paranoia+set}" = set; then :
7619 withval
=$with_paranoia; paranoia_flags
="$withval"
7621 paranoia_flags
="default"
7624 if test "$paranoia_flags" = "default"; then
7626 else if test "$paranoia_flags" = "yes"; then
7627 paranoia_flags
="-Wall -Werror"
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7630 $as_echo "$paranoia_flags" >&6; }
7631 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7633 #-----------------------------------------------------------------------------
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7635 $as_echo_n "checking what target variant to enable... " >&6; }
7636 # Check whether --enable-target_variant was given.
7637 if test "${enable_target_variant+set}" = set; then :
7638 enableval
=$enable_target_variant; target_variant
=$enableval
7643 if test "$target_variant" = ""; then
7644 aros_target_variant
=""
7645 aros_target_suffix
=""
7648 aros_target_variant
="$target_variant"
7649 aros_target_suffix
="-$target_variant"
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7652 $as_echo "$enableval" >&6; }
7654 #-----------------------------------------------------------------------------
7655 # Target-specific defaults. You can override then on a per-target basis.
7657 # Bootloader name. Currently used by PC target.
7658 target_bootloader
="none"
7660 #-----------------------------------------------------------------------------
7661 # Additional options for some specific targets
7663 case "$aros_target_variant" in
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7666 $as_echo_n "checking XCode path... " >&6; }
7668 # Check whether --with-xcode was given.
7669 if test "${with_xcode+set}" = set; then :
7670 withval
=$with_xcode; aros_xcode_path
="$withval"
7672 aros_xcode_path
="/Developer"
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7676 $as_echo "$aros_xcode_path" >&6; }
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7679 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7681 # Check whether --with-sdk-version was given.
7682 if test "${with_sdk_version+set}" = set; then :
7683 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7685 aros_sdk_version
="4.1"
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7689 $as_echo "$aros_sdk_version" >&6; }
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7695 $as_echo_n "checking Android SDK path... " >&6; }
7697 # Check whether --with-sdk was given.
7698 if test "${with_sdk+set}" = set; then :
7699 withval
=$with_sdk; aros_android_sdk
="$withval"
7701 aros_android_sdk
=$default_android_sdk
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7705 $as_echo "$aros_android_sdk" >&6; }
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7708 $as_echo_n "checking Android NDK path... " >&6; }
7710 # Check whether --with-ndk was given.
7711 if test "${with_ndk+set}" = set; then :
7712 withval
=$with_ndk; aros_android_ndk
="$withval"
7714 aros_android_ndk
="none"
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7718 $as_echo "$aros_android_ndk" >&6; }
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7721 $as_echo_n "checking what Android SDK version to use... " >&6; }
7723 # Check whether --with-sdk-version was given.
7724 if test "${with_sdk_version+set}" = set; then :
7725 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7727 aros_sdk_version
="12"
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7731 $as_echo "$aros_sdk_version" >&6; }
7733 if test "$aros_android_ndk" != "none"; then
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7735 $as_echo_n "checking what Android NDK version to use... " >&6; }
7737 # Check whether --with-ndk-version was given.
7738 if test "${with_ndk_version+set}" = set; then :
7739 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7741 aros_ndk_version
="9"
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7745 $as_echo "$aros_ndk_version" >&6; }
7748 export PATH
="$aros_android_sdk/tools:$PATH"
7749 # Extract the first word of "$android_tool", so it can be a program name with args.
7750 set dummy
$android_tool; ac_word
=$2
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7752 $as_echo_n "checking for $ac_word... " >&6; }
7753 if ${ac_cv_path_android_tool+:} false
; then :
7754 $as_echo_n "(cached) " >&6
7756 case $android_tool in
7758 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7765 test -z "$as_dir" && as_dir
=.
7766 for ac_exec_ext
in '' $ac_executable_extensions; do
7767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7768 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7779 android_tool
=$ac_cv_path_android_tool
7780 if test -n "$android_tool"; then
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7782 $as_echo "$android_tool" >&6; }
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7785 $as_echo "no" >&6; }
7789 if test "$android_tool" = ""; then
7790 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7793 aros_android_level
=android-
$aros_sdk_version
7794 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7795 echo "Platform $aros_android_level is not installed in your SDK"
7796 echo "Use --with-sdk-version=<API level number> to select another platform version"
7797 echo "You can check what plaform versions are installed in your SDK"
7798 echo "by examining contents of $aros_android_sdk/platforms directory"
7799 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7802 # Extract the first word of "ant", so it can be a program name with args.
7803 set dummy ant
; ac_word
=$2
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7805 $as_echo_n "checking for $ac_word... " >&6; }
7806 if ${ac_cv_path_ant+:} false
; then :
7807 $as_echo_n "(cached) " >&6
7811 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7818 test -z "$as_dir" && as_dir
=.
7819 for ac_exec_ext
in '' $ac_executable_extensions; do
7820 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7821 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7833 if test -n "$ant"; then
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7835 $as_echo "$ant" >&6; }
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7838 $as_echo "no" >&6; }
7842 if test "$ant" = ""; then
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7844 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
7848 $as_echo_n "checking Build debug or release apk... " >&6; }
7850 # Check whether --with-apk-version was given.
7851 if test "${with_apk_version+set}" = set; then :
7852 withval
=$with_apk_version; aros_android_antapk
=$withval
7854 aros_android_antapk
=release
7857 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
7858 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
7861 $as_echo "$aros_android_antapk" >&6; }
7863 if test "$host_os" = "mingw32"; then
7864 android_tool
="cmd //c $android_tool"
7870 #-----------------------------------------------------------------------------
7871 # External toolchains
7872 kernel_tool_prefix
="none"
7873 aros_tool_prefix
="none"
7874 elf_tool_prefix
="${target_cpu}-elf-"
7876 # This is the target configuration switch.
7877 case "$target_os" in
7879 aros_target_arch
="linux"
7880 aros_target_family
="unix"
7881 case "$target_cpu" in
7883 aros_target_cpu
="m68k"
7884 aros_object_format
="m68kelf"
7885 aros_flavour
="emulcompat"
7886 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7887 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7888 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7889 gcc_target_cpu
="mc68000"
7892 aros_target_cpu
="i386"
7893 aros_object_format
="elf_i386"
7894 aros_flavour
="emulation"
7895 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7896 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7897 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7898 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7899 aros_config_ldflags
="-m32 -march=i486"
7900 aros_kernel_ldflags
="-Wl,-melf_i386"
7901 aros_default_wbdepth
=8
7902 gcc_target_cpu
="i386"
7903 pci_hidd_target
="hidd-pci-linux"
7904 android_tool_dir_prefix
="x86"
7905 android_tool_prefix
="i686-android-linux"
7906 android_ndk_arch
="x86"
7909 aros_target_cpu
="x86_64"
7910 aros_object_format
="elf_x86_64"
7911 aros_flavour
="emulation"
7912 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7913 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7914 aros_default_wbdepth
=8
7915 pci_hidd_target
="hidd-pci-linux"
7918 aros_target_cpu
="ppc"
7919 aros_object_format
="elf32ppc"
7920 aros_flavour
="emulation"
7921 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7922 aros_default_wbdepth
=8
7923 gcc_target_cpu
="ppc"
7926 # Same as powerpc, but I need this for the nightly build to work again.
7927 # Actually, the nightly should be made working with powerpc target.
7928 # That just was too much work for the moment, another week or two.
7930 aros_target_cpu
="ppc"
7931 aros_object_format
="elf32ppc"
7932 aros_flavour
="emulation"
7933 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7934 aros_default_wbdepth
=8
7935 gcc_target_cpu
="ppc"
7938 aros_target_cpu
="arm"
7940 aros_object_format
="armelf_aros"
7941 aros_flavour
="emulation"
7942 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7943 gcc_target_cpu
="arm"
7944 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7945 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7946 aros_arch_libs
="-laeabi"
7947 gcc_default_float_abi
="hard"
7948 android_tool_dir_prefix
="arm-linux-androideabi"
7949 android_tool_prefix
="arm-linux-androideabi"
7950 android_ndk_arch
="arm"
7951 kernel_tool_prefix
="arm-linux-gnueabihf-"
7954 aros_target_cpu
="arm"
7955 aros_object_format
="armelf_aros"
7956 aros_flavour
="emulation"
7957 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7958 gcc_target_cpu
="arm"
7959 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7960 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7961 aros_arch_libs
="-laeabi"
7962 android_tool_dir_prefix
="arm-linux-androideabi"
7963 android_tool_prefix
="arm-linux-androideabi"
7964 android_ndk_arch
="arm"
7965 kernel_tool_prefix
="arm-linux-gnueabi-"
7968 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7971 case "$aros_target_variant" in
7974 if test "$android_ndk_arch" = ""; then
7975 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7978 aros_default_wbwidth
=320
7979 aros_default_wbheight
=480
7980 if test "$aros_android_ndk" = "none"; then
7981 aros_kernel_cflags
="-mandroid"
7982 aros_kernel_ldflags
="-mandroid"
7985 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
7986 kernel_tool_version
=""
7987 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7988 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7989 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7990 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7991 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7994 unixgfx_hidd_target
=kernel-hidd-androidgfx
7995 # Disable implicit PIC mode
7996 aros_target_cflags
="$aros_target_cflags -fno-pic"
7997 kernel_tool_prefix
="$android_tool_prefix-"
8003 aros_target_arch
="pc"
8004 aros_shared_default
="no"
8005 target_bootloader
="grub2"
8006 case "$target_cpu" in
8008 aros_target_cpu
="i386"
8011 if test "$aros_object_format" = "" ; then
8012 aros_object_format
="elf_i386"
8014 aros_flavour
="standalone"
8015 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8016 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
8017 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
8018 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
8019 aros_config_ldflags
="-m32 -march=i486"
8020 aros_kernel_ldflags
="-Wl,-melf_i386"
8021 aros_default_wbwidth
=640
8022 aros_default_wbheight
=480
8023 gcc_target_cpu
="i386"
8026 aros_target_cpu
="x86_64"
8028 if test "$aros_object_format" = "" ; then
8029 aros_object_format
="elf_x86_64"
8031 aros_flavour
="standalone"
8032 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8033 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
8034 aros_kernel_ldflags
=""
8035 aros_default_wbwidth
=640
8036 aros_default_wbheight
=480
8039 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8045 aros_target_arch
="prep"
8046 aros_shared_default
="no"
8047 aros_target_cpu
="ppc"
8048 aros_object_format
="elf32ppc"
8049 aros_flavour
="ppcnative"
8050 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8051 aros_kernel_ldflags
=""
8052 aros_default_wbwidth
=640
8053 aros_default_wbheight
=480
8054 gcc_target_cpu
="ppc"
8058 aros_target_arch
="freebsd"
8059 aros_target_family
="unix"
8060 aros_target_cpu
="i386"
8061 aros_flavour
="emulation"
8062 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8063 gcc_target_cpu
="i386"
8065 aros_target_strip_flags
="-x"
8069 aros_target_arch
="darwin"
8070 aros_target_family
="unix"
8071 aros_flavour
="emulation"
8072 case "$target_cpu" in
8074 aros_ios_platform
="iPhoneSimulator"
8075 aros_target_cpu
="i386"
8076 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8077 aros_kernel_ldflags
=""
8078 aros_macosx_version
="10.4"
8079 aros_default_wbdepth
=8
8080 gcc_target_cpu
="i386"
8081 aros_object_format
="elf_i386"
8082 aros_kernel_ar_flags
="-cr"
8083 aros_target_strip_flags
="-x"
8084 kernel_tool_flags
="-m32"
8087 aros_target_cpu
="x86_64"
8088 aros_object_format
="elf_x86_64"
8089 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8090 aros_macosx_version
="10.6"
8091 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8092 aros_kernel_cflags
="-m64"
8093 aros_kernel_ldflags
="-m64"
8094 aros_target_cflags
="-mcmodel=large"
8095 aros_default_wbdepth
=8
8097 aros_kernel_ar_flags
="-cr"
8100 aros_kernel_ranlib
="ranlib"
8102 aros_kernel_strip
="strip"
8103 kernel_tool_prefix
="i686-apple-darwin10-"
8106 aros_target_cpu
="ppc"
8107 aros_object_format
="elf32ppc"
8108 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8109 aros_kernel_ldflags
=""
8110 aros_macosx_version
="10.0"
8111 aros_default_wbdepth
=8
8112 gcc_target_cpu
="ppc"
8114 aros_kernel_ar_flags
="-cr"
8115 aros_kernel_ld
="ld -arch ppc"
8116 aros_kernel_as
="as -arch ppc"
8117 aros_kernel_ranlib
="ranlib -arch ppc"
8118 aros_kernel_nm
="nm -arch ppc"
8119 aros_kernel_strip
="strip -arch ppc"
8120 kernel_tool_prefix
="powerpc-apple-darwin10-"
8123 aros_ios_platform
="iPhoneOS"
8124 aros_target_cpu
="arm"
8125 aros_object_format
="armelf_aros"
8126 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8127 aros_arch_libs
="-laeabi"
8128 aros_default_wbdepth
=8
8129 gcc_target_cpu
="arm"
8131 aros_kernel_ar_flags
="-cr"
8132 aros_kernel_ld
="ld -arch arm"
8133 aros_kernel_ranlib
="ranlib -arch arm"
8134 kernel_tool_prefix
="arm-apple-darwin10-"
8135 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8138 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8141 case "$aros_target_variant" in
8143 aros_ios_version
="3.0"
8144 aros_default_wbwidth
=320
8145 aros_default_wbheight
=480
8146 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8147 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8148 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8150 # This is here because it may depend on iOS or SDK version
8151 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8152 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8153 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8156 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8157 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8163 aros_target_arch
="dragonfly"
8164 aros_target_family
="unix"
8165 aros_flavour
="emulation"
8166 case "$target_cpu" in
8168 aros_target_cpu
="i386"
8169 aros_object_format
="elf_i386"
8170 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8173 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8174 aros_target_cpu
="x86_64"
8175 aros_object_format
="elf_x86_64"
8176 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8179 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8185 aros_target_arch
="netbsd"
8186 aros_target_family
="unix"
8187 case "$target_cpu" in
8189 aros_target_cpu
="m68k"
8190 aros_object_format
="m68kelf"
8191 aros_flavour
="emulcompat"
8192 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8193 gcc_target_cpu
="mc68000"
8196 aros_target_cpu
="i386"
8197 aros_object_format
="elf_i386"
8198 aros_flavour
="emulation"
8199 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8200 aros_default_wbdepth
=8
8201 gcc_target_cpu
="i386"
8204 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8207 aros_target_genmap
="-Wl,-M -Xlinker >"
8208 aros_flavour
="emulation"
8209 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8213 aros_target_arch
="openbsd"
8214 aros_target_family
="unix"
8215 case "$target_cpu" in
8217 aros_target_cpu
="i386"
8218 aros_object_format
="elf_i386"
8219 aros_flavour
="emulation"
8220 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8221 gcc_target_cpu
="i386"
8224 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8227 aros_target_genmap
="-Wl,-M -Xlinker >"
8228 aros_target_nm_flags
="-u"
8229 aros_flavour
="emulation"
8233 aros_target_arch
="solaris"
8234 aros_target_family
="unix"
8235 case "$target_cpu" in
8237 aros_target_cpu
="i386"
8238 aros_object_format
="elf_i386"
8239 aros_flavour
="emulation"
8240 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8241 aros_default_wbdepth
=8
8242 gcc_target_cpu
="i386"
8245 aros_target_cpu
="sparc"
8246 aros_object_format
="elf_sparc"
8247 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8248 gcc_target_cpu
="sparc"
8251 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8254 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8255 aros_flavour
="emulation"
8259 aros_target_arch
="morphos"
8260 aros_shared_default
="no"
8261 aros_target_cpu
="ppc"
8262 aros_object_format
="elf_ppc"
8263 aros_flavour
="nativecompat"
8264 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8265 gcc_target_cpu
="ppc"
8269 aros_target_arch
="sam440"
8270 aros_shared_default
="no"
8271 aros_target_cpu
="ppc"
8272 aros_object_format
="elf32ppc"
8273 aros_flavour
="ppcnative"
8274 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8275 aros_kernel_ldflags
=""
8276 aros_default_wbwidth
=1024
8277 aros_default_wbheight
=768
8278 aros_default_wbdepth
=24
8279 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8280 gcc_target_cpu
="powerpc"
8284 aros_target_arch
="efika"
8285 aros_shared_default
="no"
8286 aros_target_cpu
="arm"
8287 aros_object_format
="armelf_aros"
8288 aros_flavour
="standalone"
8289 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8290 aros_kernel_ldflags
=""
8291 aros_default_wbwidth
=1024
8292 aros_default_wbheight
=600
8293 aros_arch_libs
="-laeabi"
8294 gcc_default_cpu
="armv7-a"
8295 gcc_default_fpu
="vfpv3"
8296 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables -Os"
8297 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables -Os"
8298 case "$target_cpu" in
8300 gcc_default_float_abi
="hard"
8305 gcc_default_float_abi
="softfp"
8308 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8314 aros_target_arch
="chrp"
8315 aros_shared_default
="no"
8316 aros_target_cpu
="ppc"
8317 aros_object_format
="elf32ppc"
8318 aros_flavour
="ppcnative"
8319 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8320 aros_kernel_ldflags
=""
8321 aros_default_wbwidth
=640
8322 aros_default_wbheight
=480
8323 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8324 gcc_target_cpu
="powerpc"
8325 case "$aros_target_variant" in
8327 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8333 aros_flavour
="standalone"
8334 aros_target_arch
="raspi"
8335 aros_target_cpu
="arm"
8336 aros_object_format
="armelf_aros"
8337 aros_shared_default
="no"
8338 aros_arch_libs
="-laeabi"
8340 gcc_default_cpu
="armv6"
8341 gcc_default_cpu_tune
="arm1176jzf-s"
8342 case "$target_cpu" in
8344 gcc_default_float_abi
="hard"
8347 gcc_default_float_abi
="softfp"
8350 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8354 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8355 aros_config_cflags
="$aros_config_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8356 aros_config_aflags
="$aros_config_aflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8357 aros_kernel_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8358 aros_target_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8362 aros_target_arch
="amiga"
8363 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8364 aros_shared_default
="no"
8366 case "$target_cpu" in
8368 # Check whether --enable-amigaos_compliance was given.
8369 if test "${enable_amigaos_compliance+set}" = set; then :
8370 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8374 aros_target_cpu
="m68k"
8375 aros_object_format
="m68kelf"
8376 aros_flavour
="standcompat"
8377 gcc_target_cpu
="m68000"
8378 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -Os -DNOLIBINLINE"
8379 aros_config_aflags
="$aros_config_aflags"
8380 aros_target_strip_flags
="-R.comment --strip-debug"
8381 aros_default_wbwidth
=640
8382 aros_default_wbheight
=256
8383 aros_default_wbdepth
=2
8387 aros_flavour
="native"
8388 gcc_target_cpu
="ppc"
8391 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8397 aros_target_arch
="mingw32"
8398 aros_shared_default
="no"
8399 aros_flavour
="emulation"
8400 aros_shared_cflags
=""
8401 need_crosstools
="yes"
8404 case "$target_cpu" in
8406 aros_target_cpu
="i386"
8407 aros_object_format
="elf_i386"
8408 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8409 aros_default_wbdepth
=8
8410 gcc_target_cpu
="i386"
8412 kernel_tool_prefix
="i386-mingw32-"
8415 aros_target_cpu
="x86_64"
8416 aros_object_format
="elf_x86_64"
8417 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8418 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8419 aros_default_wbdepth
=8
8420 kernel_tool_prefix
="x86_64-w64-mingw32-"
8423 aros_target_cpu
="arm"
8424 aros_object_format
="armelf_aros"
8425 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8426 aros_arch_libs
="-laeabi"
8427 aros_default_wbdepth
=8
8428 gcc_target_cpu
="arm"
8429 gcc_default_float_abi
="soft"
8430 kernel_tool_prefix
="arm-mingw32ce-"
8431 aros_default_wbwidth
=160
8432 aros_default_wbheight
=160
8435 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8438 if test $host_os = "cygwin"; then
8439 aros_kernel_cflags
="-mno-cygwin"
8443 aros_target_arch
="pp"
8444 aros_shared_default
="no"
8445 case "$target_cpu" in
8447 aros_target_cpu
="m68k"
8448 aros_object_format
="m68kelf"
8449 aros_flavour
="palmnative"
8450 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8451 aros_default_wbwidth
=160
8452 aros_default_wbheight
=160
8453 aros_default_wbdepth
=1
8454 aros_target_ar_flags
="cru"
8455 aros_compiler_libs
="-lgcc1"
8456 aros_shared_default
=no
8457 aros_shared_cflags
="-fpic"
8458 aros_shared_aflags
=""
8459 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8460 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8461 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8462 aros_debug_aflags
=""
8463 aros_debug_ldflags
="$aros_symbols_debug"
8464 aros_mungwall_debug
="0"
8465 aros_modules_debug
="0"
8466 gcc_target_cpu
="mc68000"
8467 ignore_undefined_symbols
="-ius"
8470 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8476 aros_target_arch
="mac"
8477 aros_shared_default
="no"
8478 case "$target_cpu" in
8480 aros_target_cpu
="m68k"
8481 aros_object_format
="m68kelf"
8482 aros_flavour
="mac68knative"
8483 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8484 aros_default_wbwidth
=512
8485 aros_default_wbheight
=384
8486 aros_default_wbdepth
=8
8487 aros_target_ar_flags
="cru"
8488 aros_compiler_libs
="-lgcc1"
8489 aros_shared_default
=no
8490 aros_shared_cflags
="-fpic"
8491 aros_shared_aflags
=""
8492 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8493 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8494 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8495 aros_debug_aflags
=""
8496 aros_debug_ldflags
="$aros_symbols_debug"
8497 aros_mungwall_debug
="0"
8498 aros_modules_debug
="0"
8499 gcc_target_cpu
="mc68000"
8500 ignore_undefined_symbols
="-ius"
8503 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8509 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8513 #-----------------------------------------------------------------------------
8514 crosstools_guess
=yes
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8517 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8519 # Check whether --with-kernel-toolchain-prefix was given.
8520 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8521 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8525 $as_echo "$kernel_tool_prefix" >&6; }
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8528 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8530 # Check whether --with-elf-toolchain-prefix was given.
8531 if test "${with_elf_toolchain_prefix+set}" = set; then :
8532 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8537 $as_echo "$elf_tool_prefix" >&6; }
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8540 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8542 # Check whether --with-aros-toolchain was given.
8543 if test "${with_aros_toolchain+set}" = set; then :
8544 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8548 if test "$aros_tool_prefix" = "yes" ; then
8549 aros_tool_prefix
=$aros_target_cpu-aros-
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8552 $as_echo "$aros_tool_prefix" >&6; }
8554 #-----------------------------------------------------------------------------
8555 # Checking if we should build crosstools..
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8557 $as_echo_n "checking whether to build crosstools... " >&6; }
8558 # Check whether --enable-crosstools was given.
8559 if test "${enable_crosstools+set}" = set; then :
8560 enableval
=$enable_crosstools; crosstools
="$enableval"
8562 crosstools
="$crosstools_guess"
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8566 $as_echo "$crosstools" >&6; }
8568 if test "${crosstools}" = "yes"; then
8569 if test "${crosstools_guess}" = "no"; then
8570 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8575 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8577 # Check whether --with-aros-toolchain-install was given.
8578 if test "${with_aros_toolchain_install+set}" = set; then :
8579 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8582 if test "x$aros_toolchain_install" = "x"; then
8583 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8585 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8586 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8589 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include Objective-C suppport" >&5
8592 $as_echo_n "checking whether to include Objective-C suppport... " >&6; }
8593 # Check whether --enable-objc was given.
8594 if test "${enable_objc+set}" = set; then :
8595 enableval
=$enable_objc; objc
="$enableval"
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
8601 $as_echo "$objc" >&6; }
8602 if test "x$objc" = "xyes"; then
8605 objc_target
="no-objc"
8608 # Now process extra architecture-specific options.
8609 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8610 # as well as floating-point ABI.
8611 case "$aros_target_cpu" in
8613 if test "$gcc_default_cpu" = ""; then
8614 gcc_default_cpu
="armv6"
8616 if test "$gcc_default_fpu" = ""; then
8617 gcc_default_fpu
="vfp"
8619 if test "$gcc_default_float_abi" = ""; then
8620 gcc_default_float_abi
="softfp"
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8624 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8626 # Check whether --with-cpu was given.
8627 if test "${with_cpu+set}" = set; then :
8628 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8630 aros_gcc_cpu
=$gcc_default_cpu
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8634 $as_echo "$aros_gcc_cpu" >&6; }
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8637 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8639 # Check whether --with-fpu was given.
8640 if test "${with_fpu+set}" = set; then :
8641 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8643 aros_gcc_fpu
=$gcc_default_fpu
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8647 $as_echo "$aros_gcc_fpu" >&6; }
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8650 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8652 # Check whether --with-float was given.
8653 if test "${with_float+set}" = set; then :
8654 withval
=$with_float; aros_gcc_float_abi
="$withval"
8656 aros_gcc_float_abi
=$gcc_default_float_abi
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8660 $as_echo "$aros_gcc_float_abi" >&6; }
8662 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"
8663 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"
8667 # Some formats need custom ELF specs.
8668 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8669 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8670 elf_specs_in
=config
/${aros_object_format}-specs.
in
8672 elf_specs_in
=config
/elf-specs.
in
8675 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8676 # Since we override specs, we may need to put these defines there
8677 if test "$gcc_target_cpu" != ""; then
8678 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8682 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8684 # Check whether --with-portssources was given.
8685 if test "${with_portssources+set}" = set; then :
8686 withval
=$with_portssources; with_portssrcdir
=$withval
8688 with_portssrcdir
="default"
8691 if test "$with_portssrcdir" = "default"; then
8692 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8694 AROS_PORTSSRCDIR
="$with_portssrcdir"
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8697 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8700 $as_echo_n "checking which bootloader to use... " >&6; }
8702 # Check whether --with-bootloader was given.
8703 if test "${with_bootloader+set}" = set; then :
8704 withval
=$with_bootloader; target_bootloader
=$withval
8706 target_bootloader
=$target_bootloader
8709 if test "$target_bootloader" = "none"; then
8710 aros_target_bootloader
=""
8712 aros_target_bootloader
="$target_bootloader"
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8715 $as_echo "$target_bootloader" >&6; }
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8718 $as_echo_n "checking which icon-set to use... " >&6; }
8720 # Check whether --with-iconset was given.
8721 if test "${with_iconset+set}" = set; then :
8722 withval
=$with_iconset; target_iconset
=$withval
8724 target_iconset
="default"
8727 if test "$target_iconset" = "default"; then
8728 aros_target_iconset
="Gorilla"
8729 target_iconset
="default (Gorilla)"
8731 aros_target_iconset
="$target_iconset"
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8734 $as_echo "$target_iconset" >&6; }
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8737 $as_echo_n "checking which GUI Theme to use... " >&6; }
8739 # Check whether --with-theme was given.
8740 if test "${with_theme+set}" = set; then :
8741 withval
=$with_theme; target_guitheme
=$withval
8743 target_guitheme
="default"
8746 if test "$target_guitheme" = "default"; then
8747 aros_target_guitheme
="Ice"
8749 aros_target_guitheme
="$target_guitheme"
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8752 $as_echo "$aros_target_guitheme" >&6; }
8754 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8758 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8762 if test "$aros_host_cpu" == "x86_64" ; then
8763 if test "$aros_target_cpu" == "i386" ; then
8768 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8769 if test "$aros_host_arch" != "$aros_target_arch" ; then
8773 if test "$host_cc_elf" = "no" ; then
8778 if test "$cross_compiling" = "no" ; then
8779 kernel_tool_prefix
=""
8780 if test "$host_cc_elf" = "yes" ; then
8785 if test "$kernel_tool_version" != ""; then
8786 kernel_tool_version
="-$kernel_tool_version"
8788 if test "$target_tool_version" != ""; then
8789 target_tool_version
="-$target_tool_version"
8792 #######################################################################
8793 ## Compute what toolchains to use, and their paths ##
8794 #######################################################################
8796 # This takes, as input:
8797 # crosstools {yes,no}
8798 # kernel_tool_version {"",[version]}
8799 # target_tool_version {"",[version]}
8800 # kernel_tool_prefix {none,[some-arch-os-]}
8801 # target_tool_prefix ${aros_target_cpu}-aros-
8802 # aros_tool_prefix ${aros_target_cpu}-aros-
8805 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8806 # Where the 'kernel' binaries are located
8807 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8808 # Where the 'target' binaries are located
8809 # (not the symlink farm - that is aros_target_*!)
8812 # if crosstools then
8813 # if kernel_tools_prefix = "no-kernel-prefix-"
8814 # aros_kernel_* = crosstools cc paths
8815 # aros_kernel_cc = elf cc wrapper around crosstools cc
8817 # VALIDATE(${kernel_tools_prefix}*)
8818 # aros_kernel_* = ${kernel_tools_prefix}*
8819 # if ${kernel_tools_prefix}cc is an AROS gcc
8820 # aros_kernel_cc = ${kernel_tools_prefix}cc
8822 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8826 # orig_target_* = aros built crosstools
8827 # orig_target_cc = elf cc wrapper around crosstools cc
8829 # VALIDATE(${kernel_tools_prefix}*)
8831 # orig_target_* = aros_kernel_*
8832 # if aros_kernel_cc is an AROS gcc
8833 # orig_target_cc = aros_kernel_cc
8835 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8839 target_tool_prefix
="${aros_target_cpu}-aros-"
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8842 $as_echo_n "checking which kernel tools... " >&6; }
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8844 $as_echo "$kernel_tool_prefix" >&6; };
8846 if test "$kernel_tool_prefix" = "none" ; then
8847 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8848 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8851 # Kernel tools required - find them
8852 # Note that 'normally', aros_kernel_* overrides will be
8853 # empty, unless specified in the per-arch sections above.
8854 if test "x$aros_kernel_cpp" = "x"; then
8855 aros_kernel_cpp
=${kernel_tool_prefix}cpp
8858 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
8859 if test "$cross_compiling" = "yes" ; then
8860 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8861 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8863 $as_echo_n "checking for $ac_word... " >&6; }
8864 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8865 $as_echo_n "(cached) " >&6
8867 case $aros_kernel_cpp in
8869 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8876 test -z "$as_dir" && as_dir
=.
8877 for ac_exec_ext
in '' $ac_executable_extensions; do
8878 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8879 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8890 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8891 if test -n "$aros_kernel_cpp"; then
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8893 $as_echo "$aros_kernel_cpp" >&6; }
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8896 $as_echo "no" >&6; }
8901 if test "$GCC" = "yes"; then
8902 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8903 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8904 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8906 $as_echo_n "checking for $ac_word... " >&6; }
8907 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8908 $as_echo_n "(cached) " >&6
8910 case $aros_kernel_cpp in
8912 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8916 for as_dir
in `dirname $aros_gcc_cpp`
8919 test -z "$as_dir" && as_dir
=.
8920 for ac_exec_ext
in '' $ac_executable_extensions; do
8921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8922 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8933 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8934 if test -n "$aros_kernel_cpp"; then
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8936 $as_echo "$aros_kernel_cpp" >&6; }
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8939 $as_echo "no" >&6; }
8944 if test "$aros_kernel_cpp" = ""; then
8945 # Extract the first word of "cpp", so it can be a program name with args.
8946 set dummy cpp
; ac_word
=$2
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8948 $as_echo_n "checking for $ac_word... " >&6; }
8949 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8950 $as_echo_n "(cached) " >&6
8952 case $aros_kernel_cpp in
8954 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8961 test -z "$as_dir" && as_dir
=.
8962 for ac_exec_ext
in '' $ac_executable_extensions; do
8963 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8964 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8975 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8976 if test -n "$aros_kernel_cpp"; then
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8978 $as_echo "$aros_kernel_cpp" >&6; }
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8981 $as_echo "no" >&6; }
8988 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
8989 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8991 $as_echo_n "checking for $ac_word... " >&6; }
8992 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8993 $as_echo_n "(cached) " >&6
8995 case $aros_kernel_cpp in
8997 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9004 test -z "$as_dir" && as_dir
=.
9005 for ac_exec_ext
in '' $ac_executable_extensions; do
9006 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9007 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9018 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9019 if test -n "$aros_kernel_cpp"; then
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9021 $as_echo "$aros_kernel_cpp" >&6; }
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9024 $as_echo "no" >&6; }
9030 if test "$aros_kernel_cpp" = ""; then
9031 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
9033 if test "x$aros_kernel_cc" = "x"; then
9034 aros_kernel_cc
=${kernel_tool_prefix}gcc
9037 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
9038 if test "$cross_compiling" = "yes" ; then
9039 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9040 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9042 $as_echo_n "checking for $ac_word... " >&6; }
9043 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9044 $as_echo_n "(cached) " >&6
9046 case $aros_kernel_cc in
9048 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9055 test -z "$as_dir" && as_dir
=.
9056 for ac_exec_ext
in '' $ac_executable_extensions; do
9057 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9058 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9069 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9070 if test -n "$aros_kernel_cc"; then
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9072 $as_echo "$aros_kernel_cc" >&6; }
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9075 $as_echo "no" >&6; }
9080 if test "$GCC" = "yes"; then
9081 aros_gcc_cc
=`$CC -print-prog-name=cc`
9082 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9083 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9085 $as_echo_n "checking for $ac_word... " >&6; }
9086 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9087 $as_echo_n "(cached) " >&6
9089 case $aros_kernel_cc in
9091 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9095 for as_dir
in `dirname $aros_gcc_cc`
9098 test -z "$as_dir" && as_dir
=.
9099 for ac_exec_ext
in '' $ac_executable_extensions; do
9100 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9101 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9112 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9113 if test -n "$aros_kernel_cc"; then
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9115 $as_echo "$aros_kernel_cc" >&6; }
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9118 $as_echo "no" >&6; }
9123 if test "$aros_kernel_cc" = ""; then
9124 # Extract the first word of "cc", so it can be a program name with args.
9125 set dummy cc
; ac_word
=$2
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9127 $as_echo_n "checking for $ac_word... " >&6; }
9128 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9129 $as_echo_n "(cached) " >&6
9131 case $aros_kernel_cc in
9133 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9140 test -z "$as_dir" && as_dir
=.
9141 for ac_exec_ext
in '' $ac_executable_extensions; do
9142 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9143 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9154 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9155 if test -n "$aros_kernel_cc"; then
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9157 $as_echo "$aros_kernel_cc" >&6; }
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9160 $as_echo "no" >&6; }
9167 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9168 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9170 $as_echo_n "checking for $ac_word... " >&6; }
9171 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9172 $as_echo_n "(cached) " >&6
9174 case $aros_kernel_cc in
9176 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9183 test -z "$as_dir" && as_dir
=.
9184 for ac_exec_ext
in '' $ac_executable_extensions; do
9185 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9186 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9197 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9198 if test -n "$aros_kernel_cc"; then
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9200 $as_echo "$aros_kernel_cc" >&6; }
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9203 $as_echo "no" >&6; }
9209 if test "$aros_kernel_cc" = ""; then
9210 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9212 if test "x$aros_kernel_cxx" = "x"; then
9213 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9216 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9217 if test "$cross_compiling" = "yes" ; then
9218 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9219 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9221 $as_echo_n "checking for $ac_word... " >&6; }
9222 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9223 $as_echo_n "(cached) " >&6
9225 case $aros_kernel_cxx in
9227 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9234 test -z "$as_dir" && as_dir
=.
9235 for ac_exec_ext
in '' $ac_executable_extensions; do
9236 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9237 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9248 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9249 if test -n "$aros_kernel_cxx"; then
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9251 $as_echo "$aros_kernel_cxx" >&6; }
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9254 $as_echo "no" >&6; }
9259 if test "$GCC" = "yes"; then
9260 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9261 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9262 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9264 $as_echo_n "checking for $ac_word... " >&6; }
9265 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9266 $as_echo_n "(cached) " >&6
9268 case $aros_kernel_cxx in
9270 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9274 for as_dir
in `dirname $aros_gcc_cxx`
9277 test -z "$as_dir" && as_dir
=.
9278 for ac_exec_ext
in '' $ac_executable_extensions; do
9279 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9280 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9291 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9292 if test -n "$aros_kernel_cxx"; then
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9294 $as_echo "$aros_kernel_cxx" >&6; }
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9297 $as_echo "no" >&6; }
9302 if test "$aros_kernel_cxx" = ""; then
9303 # Extract the first word of "cxx", so it can be a program name with args.
9304 set dummy cxx
; ac_word
=$2
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9306 $as_echo_n "checking for $ac_word... " >&6; }
9307 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9308 $as_echo_n "(cached) " >&6
9310 case $aros_kernel_cxx in
9312 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9319 test -z "$as_dir" && as_dir
=.
9320 for ac_exec_ext
in '' $ac_executable_extensions; do
9321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9322 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9333 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9334 if test -n "$aros_kernel_cxx"; then
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9336 $as_echo "$aros_kernel_cxx" >&6; }
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9339 $as_echo "no" >&6; }
9346 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9347 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9349 $as_echo_n "checking for $ac_word... " >&6; }
9350 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9351 $as_echo_n "(cached) " >&6
9353 case $aros_kernel_cxx in
9355 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9362 test -z "$as_dir" && as_dir
=.
9363 for ac_exec_ext
in '' $ac_executable_extensions; do
9364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9365 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9376 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9377 if test -n "$aros_kernel_cxx"; then
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9379 $as_echo "$aros_kernel_cxx" >&6; }
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9382 $as_echo "no" >&6; }
9388 # If it's set, make sure it's really there
9389 if test "x$aros_kernel_cxx" != "x" ; then
9390 if test "$aros_kernel_cxx" = ""; then
9391 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9395 if test "$aros_kernel_ld" = ""; then
9396 if test "$cross_compiling" = "yes" ; then
9397 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9398 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9400 $as_echo_n "checking for $ac_word... " >&6; }
9401 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9402 $as_echo_n "(cached) " >&6
9404 case $aros_kernel_ld in
9406 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9413 test -z "$as_dir" && as_dir
=.
9414 for ac_exec_ext
in '' $ac_executable_extensions; do
9415 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9416 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9427 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9428 if test -n "$aros_kernel_ld"; then
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9430 $as_echo "$aros_kernel_ld" >&6; }
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9433 $as_echo "no" >&6; }
9438 if test "$GCC" = "yes"; then
9439 aros_gcc_ld
=`$CC -print-prog-name=ld`
9440 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9441 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9443 $as_echo_n "checking for $ac_word... " >&6; }
9444 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9445 $as_echo_n "(cached) " >&6
9447 case $aros_kernel_ld in
9449 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9453 for as_dir
in `dirname $aros_gcc_ld`
9456 test -z "$as_dir" && as_dir
=.
9457 for ac_exec_ext
in '' $ac_executable_extensions; do
9458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9459 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9470 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9471 if test -n "$aros_kernel_ld"; then
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9473 $as_echo "$aros_kernel_ld" >&6; }
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9476 $as_echo "no" >&6; }
9481 if test "$aros_kernel_ld" = ""; then
9482 # Extract the first word of "ld", so it can be a program name with args.
9483 set dummy ld
; ac_word
=$2
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9485 $as_echo_n "checking for $ac_word... " >&6; }
9486 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9487 $as_echo_n "(cached) " >&6
9489 case $aros_kernel_ld in
9491 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9498 test -z "$as_dir" && as_dir
=.
9499 for ac_exec_ext
in '' $ac_executable_extensions; do
9500 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9501 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9512 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9513 if test -n "$aros_kernel_ld"; then
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9515 $as_echo "$aros_kernel_ld" >&6; }
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9518 $as_echo "no" >&6; }
9525 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9526 set dummy
$aros_kernel_ld; ac_word
=$2
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9528 $as_echo_n "checking for $ac_word... " >&6; }
9529 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9530 $as_echo_n "(cached) " >&6
9532 case $aros_kernel_ld in
9534 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9541 test -z "$as_dir" && as_dir
=.
9542 for ac_exec_ext
in '' $ac_executable_extensions; do
9543 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9544 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9555 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9556 if test -n "$aros_kernel_ld"; then
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9558 $as_echo "$aros_kernel_ld" >&6; }
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9561 $as_echo "no" >&6; }
9567 if test "$aros_kernel_ld" = ""; then
9568 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9571 if test "$aros_kernel_as" = ""; then
9572 if test "$cross_compiling" = "yes" ; then
9573 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9574 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9576 $as_echo_n "checking for $ac_word... " >&6; }
9577 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9578 $as_echo_n "(cached) " >&6
9580 case $aros_kernel_as in
9582 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9589 test -z "$as_dir" && as_dir
=.
9590 for ac_exec_ext
in '' $ac_executable_extensions; do
9591 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9592 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9603 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9604 if test -n "$aros_kernel_as"; then
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9606 $as_echo "$aros_kernel_as" >&6; }
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9609 $as_echo "no" >&6; }
9614 if test "$GCC" = "yes"; then
9615 aros_gcc_as
=`$CC -print-prog-name=as`
9616 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9617 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9619 $as_echo_n "checking for $ac_word... " >&6; }
9620 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9621 $as_echo_n "(cached) " >&6
9623 case $aros_kernel_as in
9625 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9629 for as_dir
in `dirname $aros_gcc_as`
9632 test -z "$as_dir" && as_dir
=.
9633 for ac_exec_ext
in '' $ac_executable_extensions; do
9634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9635 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9646 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9647 if test -n "$aros_kernel_as"; then
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9649 $as_echo "$aros_kernel_as" >&6; }
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9652 $as_echo "no" >&6; }
9657 if test "$aros_kernel_as" = ""; then
9658 # Extract the first word of "as", so it can be a program name with args.
9659 set dummy as
; ac_word
=$2
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9661 $as_echo_n "checking for $ac_word... " >&6; }
9662 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9663 $as_echo_n "(cached) " >&6
9665 case $aros_kernel_as in
9667 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9674 test -z "$as_dir" && as_dir
=.
9675 for ac_exec_ext
in '' $ac_executable_extensions; do
9676 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9677 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9688 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9689 if test -n "$aros_kernel_as"; then
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9691 $as_echo "$aros_kernel_as" >&6; }
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9694 $as_echo "no" >&6; }
9701 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9702 set dummy
$aros_kernel_as; ac_word
=$2
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9704 $as_echo_n "checking for $ac_word... " >&6; }
9705 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9706 $as_echo_n "(cached) " >&6
9708 case $aros_kernel_as in
9710 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9717 test -z "$as_dir" && as_dir
=.
9718 for ac_exec_ext
in '' $ac_executable_extensions; do
9719 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9720 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9731 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9732 if test -n "$aros_kernel_as"; then
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9734 $as_echo "$aros_kernel_as" >&6; }
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9737 $as_echo "no" >&6; }
9743 if test "$aros_kernel_as" = ""; then
9744 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9747 if test "$aros_kernel_ar" = ""; then
9748 if test "$cross_compiling" = "yes" ; then
9749 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9750 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9752 $as_echo_n "checking for $ac_word... " >&6; }
9753 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9754 $as_echo_n "(cached) " >&6
9756 case $aros_kernel_ar in
9758 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9765 test -z "$as_dir" && as_dir
=.
9766 for ac_exec_ext
in '' $ac_executable_extensions; do
9767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9768 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9779 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9780 if test -n "$aros_kernel_ar"; then
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9782 $as_echo "$aros_kernel_ar" >&6; }
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9785 $as_echo "no" >&6; }
9790 if test "$GCC" = "yes"; then
9791 aros_gcc_ar
=`$CC -print-prog-name=ar`
9792 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9793 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9795 $as_echo_n "checking for $ac_word... " >&6; }
9796 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9797 $as_echo_n "(cached) " >&6
9799 case $aros_kernel_ar in
9801 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9805 for as_dir
in `dirname $aros_gcc_ar`
9808 test -z "$as_dir" && as_dir
=.
9809 for ac_exec_ext
in '' $ac_executable_extensions; do
9810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9811 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9822 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9823 if test -n "$aros_kernel_ar"; then
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9825 $as_echo "$aros_kernel_ar" >&6; }
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9828 $as_echo "no" >&6; }
9833 if test "$aros_kernel_ar" = ""; then
9834 # Extract the first word of "ar", so it can be a program name with args.
9835 set dummy
ar; ac_word
=$2
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9837 $as_echo_n "checking for $ac_word... " >&6; }
9838 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9839 $as_echo_n "(cached) " >&6
9841 case $aros_kernel_ar in
9843 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9850 test -z "$as_dir" && as_dir
=.
9851 for ac_exec_ext
in '' $ac_executable_extensions; do
9852 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9853 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9864 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9865 if test -n "$aros_kernel_ar"; then
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9867 $as_echo "$aros_kernel_ar" >&6; }
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9870 $as_echo "no" >&6; }
9877 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9878 set dummy
$aros_kernel_ar; ac_word
=$2
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9880 $as_echo_n "checking for $ac_word... " >&6; }
9881 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9882 $as_echo_n "(cached) " >&6
9884 case $aros_kernel_ar in
9886 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9893 test -z "$as_dir" && as_dir
=.
9894 for ac_exec_ext
in '' $ac_executable_extensions; do
9895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9896 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9907 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9908 if test -n "$aros_kernel_ar"; then
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9910 $as_echo "$aros_kernel_ar" >&6; }
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9913 $as_echo "no" >&6; }
9919 if test "$aros_kernel_ar" = ""; then
9920 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9923 if test "$aros_kernel_ranlib" = ""; then
9924 if test "$cross_compiling" = "yes" ; then
9925 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9926 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9928 $as_echo_n "checking for $ac_word... " >&6; }
9929 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9930 $as_echo_n "(cached) " >&6
9932 case $aros_kernel_ranlib in
9934 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9941 test -z "$as_dir" && as_dir
=.
9942 for ac_exec_ext
in '' $ac_executable_extensions; do
9943 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9944 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9955 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9956 if test -n "$aros_kernel_ranlib"; then
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9958 $as_echo "$aros_kernel_ranlib" >&6; }
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9961 $as_echo "no" >&6; }
9966 if test "$GCC" = "yes"; then
9967 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9968 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9969 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9971 $as_echo_n "checking for $ac_word... " >&6; }
9972 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9973 $as_echo_n "(cached) " >&6
9975 case $aros_kernel_ranlib in
9977 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9981 for as_dir
in `dirname $aros_gcc_ranlib`
9984 test -z "$as_dir" && as_dir
=.
9985 for ac_exec_ext
in '' $ac_executable_extensions; do
9986 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9987 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9998 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9999 if test -n "$aros_kernel_ranlib"; then
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10001 $as_echo "$aros_kernel_ranlib" >&6; }
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10004 $as_echo "no" >&6; }
10009 if test "$aros_kernel_ranlib" = ""; then
10010 # Extract the first word of "ranlib", so it can be a program name with args.
10011 set dummy ranlib
; ac_word
=$2
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10013 $as_echo_n "checking for $ac_word... " >&6; }
10014 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10015 $as_echo_n "(cached) " >&6
10017 case $aros_kernel_ranlib in
10019 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10023 for as_dir
in $PATH
10026 test -z "$as_dir" && as_dir
=.
10027 for ac_exec_ext
in '' $ac_executable_extensions; do
10028 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10029 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10040 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10041 if test -n "$aros_kernel_ranlib"; then
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10043 $as_echo "$aros_kernel_ranlib" >&6; }
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10046 $as_echo "no" >&6; }
10053 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10054 set dummy
$aros_kernel_ranlib; ac_word
=$2
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10056 $as_echo_n "checking for $ac_word... " >&6; }
10057 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10058 $as_echo_n "(cached) " >&6
10060 case $aros_kernel_ranlib in
10062 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10066 for as_dir
in $PATH
10069 test -z "$as_dir" && as_dir
=.
10070 for ac_exec_ext
in '' $ac_executable_extensions; do
10071 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10072 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10083 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10084 if test -n "$aros_kernel_ranlib"; then
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10086 $as_echo "$aros_kernel_ranlib" >&6; }
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10089 $as_echo "no" >&6; }
10095 if test "$aros_kernel_ranlib" = ""; then
10096 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10099 if test "$aros_kernel_nm" = ""; then
10100 if test "$cross_compiling" = "yes" ; then
10101 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10102 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10104 $as_echo_n "checking for $ac_word... " >&6; }
10105 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10106 $as_echo_n "(cached) " >&6
10108 case $aros_kernel_nm in
10110 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10114 for as_dir
in $PATH
10117 test -z "$as_dir" && as_dir
=.
10118 for ac_exec_ext
in '' $ac_executable_extensions; do
10119 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10120 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10131 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10132 if test -n "$aros_kernel_nm"; then
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10134 $as_echo "$aros_kernel_nm" >&6; }
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10137 $as_echo "no" >&6; }
10142 if test "$GCC" = "yes"; then
10143 aros_gcc_nm
=`$CC -print-prog-name=nm`
10144 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10145 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10147 $as_echo_n "checking for $ac_word... " >&6; }
10148 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10149 $as_echo_n "(cached) " >&6
10151 case $aros_kernel_nm in
10153 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10157 for as_dir
in `dirname $aros_gcc_nm`
10160 test -z "$as_dir" && as_dir
=.
10161 for ac_exec_ext
in '' $ac_executable_extensions; do
10162 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10163 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10174 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10175 if test -n "$aros_kernel_nm"; then
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10177 $as_echo "$aros_kernel_nm" >&6; }
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10180 $as_echo "no" >&6; }
10185 if test "$aros_kernel_nm" = ""; then
10186 # Extract the first word of "nm", so it can be a program name with args.
10187 set dummy nm
; ac_word
=$2
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10189 $as_echo_n "checking for $ac_word... " >&6; }
10190 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10191 $as_echo_n "(cached) " >&6
10193 case $aros_kernel_nm in
10195 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10199 for as_dir
in $PATH
10202 test -z "$as_dir" && as_dir
=.
10203 for ac_exec_ext
in '' $ac_executable_extensions; do
10204 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10205 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10216 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10217 if test -n "$aros_kernel_nm"; then
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10219 $as_echo "$aros_kernel_nm" >&6; }
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10222 $as_echo "no" >&6; }
10229 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10230 set dummy
$aros_kernel_nm; ac_word
=$2
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10232 $as_echo_n "checking for $ac_word... " >&6; }
10233 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10234 $as_echo_n "(cached) " >&6
10236 case $aros_kernel_nm in
10238 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10242 for as_dir
in $PATH
10245 test -z "$as_dir" && as_dir
=.
10246 for ac_exec_ext
in '' $ac_executable_extensions; do
10247 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10248 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10259 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10260 if test -n "$aros_kernel_nm"; then
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10262 $as_echo "$aros_kernel_nm" >&6; }
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10265 $as_echo "no" >&6; }
10271 if test "$aros_kernel_nm" = ""; then
10272 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10275 if test "$aros_kernel_strip" = ""; then
10276 if test "$cross_compiling" = "yes" ; then
10277 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10278 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10280 $as_echo_n "checking for $ac_word... " >&6; }
10281 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10282 $as_echo_n "(cached) " >&6
10284 case $aros_kernel_strip in
10286 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10290 for as_dir
in $PATH
10293 test -z "$as_dir" && as_dir
=.
10294 for ac_exec_ext
in '' $ac_executable_extensions; do
10295 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10296 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10307 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10308 if test -n "$aros_kernel_strip"; then
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10310 $as_echo "$aros_kernel_strip" >&6; }
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10313 $as_echo "no" >&6; }
10318 if test "$GCC" = "yes"; then
10319 aros_gcc_strip
=`$CC -print-prog-name=strip`
10320 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10321 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10323 $as_echo_n "checking for $ac_word... " >&6; }
10324 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10325 $as_echo_n "(cached) " >&6
10327 case $aros_kernel_strip in
10329 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10333 for as_dir
in `dirname $aros_gcc_strip`
10336 test -z "$as_dir" && as_dir
=.
10337 for ac_exec_ext
in '' $ac_executable_extensions; do
10338 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10339 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10350 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10351 if test -n "$aros_kernel_strip"; then
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10353 $as_echo "$aros_kernel_strip" >&6; }
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10356 $as_echo "no" >&6; }
10361 if test "$aros_kernel_strip" = ""; then
10362 # Extract the first word of "strip", so it can be a program name with args.
10363 set dummy strip
; ac_word
=$2
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10365 $as_echo_n "checking for $ac_word... " >&6; }
10366 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10367 $as_echo_n "(cached) " >&6
10369 case $aros_kernel_strip in
10371 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10375 for as_dir
in $PATH
10378 test -z "$as_dir" && as_dir
=.
10379 for ac_exec_ext
in '' $ac_executable_extensions; do
10380 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10381 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10392 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10393 if test -n "$aros_kernel_strip"; then
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10395 $as_echo "$aros_kernel_strip" >&6; }
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10398 $as_echo "no" >&6; }
10405 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10406 set dummy
$aros_kernel_strip; ac_word
=$2
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10408 $as_echo_n "checking for $ac_word... " >&6; }
10409 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10410 $as_echo_n "(cached) " >&6
10412 case $aros_kernel_strip in
10414 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10418 for as_dir
in $PATH
10421 test -z "$as_dir" && as_dir
=.
10422 for ac_exec_ext
in '' $ac_executable_extensions; do
10423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10424 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10435 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10436 if test -n "$aros_kernel_strip"; then
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10438 $as_echo "$aros_kernel_strip" >&6; }
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10441 $as_echo "no" >&6; }
10447 if test "$aros_kernel_strip" = ""; then
10448 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10451 # Objcopy and objdump are not required for the kernel
10452 # toolchain on many architectures.
10453 # So we'll look for them, but not make them strictly required.
10455 if test "$aros_kernel_objcopy" = ""; then
10456 if test "$cross_compiling" = "yes" ; then
10457 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10458 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10460 $as_echo_n "checking for $ac_word... " >&6; }
10461 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10462 $as_echo_n "(cached) " >&6
10464 case $aros_kernel_objcopy in
10466 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10470 for as_dir
in $PATH
10473 test -z "$as_dir" && as_dir
=.
10474 for ac_exec_ext
in '' $ac_executable_extensions; do
10475 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10476 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10487 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10488 if test -n "$aros_kernel_objcopy"; then
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10490 $as_echo "$aros_kernel_objcopy" >&6; }
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10493 $as_echo "no" >&6; }
10498 if test "$GCC" = "yes"; then
10499 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10500 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10501 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10503 $as_echo_n "checking for $ac_word... " >&6; }
10504 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10505 $as_echo_n "(cached) " >&6
10507 case $aros_kernel_objcopy in
10509 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10513 for as_dir
in `dirname $aros_gcc_objcopy`
10516 test -z "$as_dir" && as_dir
=.
10517 for ac_exec_ext
in '' $ac_executable_extensions; do
10518 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10519 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10530 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10531 if test -n "$aros_kernel_objcopy"; then
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10533 $as_echo "$aros_kernel_objcopy" >&6; }
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10536 $as_echo "no" >&6; }
10541 if test "$aros_kernel_objcopy" = ""; then
10542 # Extract the first word of "objcopy", so it can be a program name with args.
10543 set dummy objcopy
; ac_word
=$2
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10545 $as_echo_n "checking for $ac_word... " >&6; }
10546 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10547 $as_echo_n "(cached) " >&6
10549 case $aros_kernel_objcopy in
10551 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10555 for as_dir
in $PATH
10558 test -z "$as_dir" && as_dir
=.
10559 for ac_exec_ext
in '' $ac_executable_extensions; do
10560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10561 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10572 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10573 if test -n "$aros_kernel_objcopy"; then
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10575 $as_echo "$aros_kernel_objcopy" >&6; }
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10578 $as_echo "no" >&6; }
10585 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10586 set dummy
$aros_kernel_objcopy; ac_word
=$2
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10588 $as_echo_n "checking for $ac_word... " >&6; }
10589 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10590 $as_echo_n "(cached) " >&6
10592 case $aros_kernel_objcopy in
10594 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10598 for as_dir
in $PATH
10601 test -z "$as_dir" && as_dir
=.
10602 for ac_exec_ext
in '' $ac_executable_extensions; do
10603 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10604 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10615 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10616 if test -n "$aros_kernel_objcopy"; then
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10618 $as_echo "$aros_kernel_objcopy" >&6; }
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10621 $as_echo "no" >&6; }
10628 if test "$aros_kernel_objdump" = ""; then
10629 if test "$cross_compiling" = "yes" ; then
10630 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10631 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10633 $as_echo_n "checking for $ac_word... " >&6; }
10634 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10635 $as_echo_n "(cached) " >&6
10637 case $aros_kernel_objdump in
10639 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10643 for as_dir
in $PATH
10646 test -z "$as_dir" && as_dir
=.
10647 for ac_exec_ext
in '' $ac_executable_extensions; do
10648 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10649 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10660 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10661 if test -n "$aros_kernel_objdump"; then
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10663 $as_echo "$aros_kernel_objdump" >&6; }
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10666 $as_echo "no" >&6; }
10671 if test "$GCC" = "yes"; then
10672 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10673 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10674 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10676 $as_echo_n "checking for $ac_word... " >&6; }
10677 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10678 $as_echo_n "(cached) " >&6
10680 case $aros_kernel_objdump in
10682 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10686 for as_dir
in `dirname $aros_gcc_objdump`
10689 test -z "$as_dir" && as_dir
=.
10690 for ac_exec_ext
in '' $ac_executable_extensions; do
10691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10692 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10703 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10704 if test -n "$aros_kernel_objdump"; then
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10706 $as_echo "$aros_kernel_objdump" >&6; }
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10709 $as_echo "no" >&6; }
10714 if test "$aros_kernel_objdump" = ""; then
10715 # Extract the first word of "objdump", so it can be a program name with args.
10716 set dummy objdump
; ac_word
=$2
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10718 $as_echo_n "checking for $ac_word... " >&6; }
10719 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10720 $as_echo_n "(cached) " >&6
10722 case $aros_kernel_objdump in
10724 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10728 for as_dir
in $PATH
10731 test -z "$as_dir" && as_dir
=.
10732 for ac_exec_ext
in '' $ac_executable_extensions; do
10733 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10734 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10745 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10746 if test -n "$aros_kernel_objdump"; then
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10748 $as_echo "$aros_kernel_objdump" >&6; }
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10751 $as_echo "no" >&6; }
10758 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10759 set dummy
$aros_kernel_objdump; ac_word
=$2
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10761 $as_echo_n "checking for $ac_word... " >&6; }
10762 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10763 $as_echo_n "(cached) " >&6
10765 case $aros_kernel_objdump in
10767 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10771 for as_dir
in $PATH
10774 test -z "$as_dir" && as_dir
=.
10775 for ac_exec_ext
in '' $ac_executable_extensions; do
10776 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10777 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10788 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10789 if test -n "$aros_kernel_objdump"; then
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10791 $as_echo "$aros_kernel_objdump" >&6; }
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10794 $as_echo "no" >&6; }
10800 if test "x${crosstools}" != "xyes" ; then
10801 if test "$aros_kernel_objcopy" = ""; then
10802 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10804 if test "$aros_kernel_objdump" = ""; then
10805 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10811 $as_echo_n "checking which target tools to use... " >&6; }
10812 if test "$crosstools" = "yes"; then
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10814 $as_echo "$target_tool_prefix" >&6; }
10815 # We are are building AROS crosstools
10816 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10817 orig_target_cc
="${tmp_tool_prefix}gcc${target_tool_version}"
10818 orig_target_cxx
="${tmp_tool_prefix}g++${target_tool_version}"
10819 orig_target_cpp
="${tmp_tool_prefix}cpp"
10820 orig_target_ld
="${tmp_tool_prefix}ld"
10821 orig_target_as
="${tmp_tool_prefix}as"
10822 orig_target_ar
="${tmp_tool_prefix}ar"
10823 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10824 orig_target_nm
="${tmp_tool_prefix}nm"
10825 orig_target_strip
="${tmp_tool_prefix}strip"
10826 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10827 orig_target_objdump
="${tmp_tool_prefix}objdump"
10829 # Determine whether AROS or ELF tools should be used
10830 if test "$aros_tool_prefix" = "none"; then
10831 aros_tool_prefix
="${elf_tool_prefix}"
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10835 $as_echo "$aros_tool_prefix" >&6; }
10836 # We are *not* building AROS crosstools - use the AROS or ELF tools
10838 if test "${aros_tool_prefix}cpp${target_tool_version}" = ""; then
10839 if test "$cross_compiling" = "yes" ; then
10840 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10841 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10843 $as_echo_n "checking for $ac_word... " >&6; }
10844 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10845 $as_echo_n "(cached) " >&6
10847 case $orig_target_cpp in
10849 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10853 for as_dir
in $PATH
10856 test -z "$as_dir" && as_dir
=.
10857 for ac_exec_ext
in '' $ac_executable_extensions; do
10858 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10859 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10870 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10871 if test -n "$orig_target_cpp"; then
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10873 $as_echo "$orig_target_cpp" >&6; }
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10876 $as_echo "no" >&6; }
10881 if test "$GCC" = "yes"; then
10882 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10883 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10884 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10886 $as_echo_n "checking for $ac_word... " >&6; }
10887 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10888 $as_echo_n "(cached) " >&6
10890 case $orig_target_cpp in
10892 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10896 for as_dir
in `dirname $aros_gcc_cpp`
10899 test -z "$as_dir" && as_dir
=.
10900 for ac_exec_ext
in '' $ac_executable_extensions; do
10901 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10902 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10913 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10914 if test -n "$orig_target_cpp"; then
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10916 $as_echo "$orig_target_cpp" >&6; }
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10919 $as_echo "no" >&6; }
10924 if test "$orig_target_cpp" = ""; then
10925 # Extract the first word of "cpp", so it can be a program name with args.
10926 set dummy cpp
; ac_word
=$2
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10928 $as_echo_n "checking for $ac_word... " >&6; }
10929 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10930 $as_echo_n "(cached) " >&6
10932 case $orig_target_cpp in
10934 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10938 for as_dir
in $PATH
10941 test -z "$as_dir" && as_dir
=.
10942 for ac_exec_ext
in '' $ac_executable_extensions; do
10943 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10944 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10955 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10956 if test -n "$orig_target_cpp"; then
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10958 $as_echo "$orig_target_cpp" >&6; }
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10961 $as_echo "no" >&6; }
10968 # Extract the first word of "${aros_tool_prefix}cpp${target_tool_version}", so it can be a program name with args.
10969 set dummy
${aros_tool_prefix}cpp
${target_tool_version}; ac_word
=$2
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10971 $as_echo_n "checking for $ac_word... " >&6; }
10972 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10973 $as_echo_n "(cached) " >&6
10975 case $orig_target_cpp in
10977 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10981 for as_dir
in $PATH
10984 test -z "$as_dir" && as_dir
=.
10985 for ac_exec_ext
in '' $ac_executable_extensions; do
10986 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10987 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10998 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10999 if test -n "$orig_target_cpp"; then
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11001 $as_echo "$orig_target_cpp" >&6; }
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11004 $as_echo "no" >&6; }
11010 if test "$orig_target_cpp" = ""; then
11011 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11014 if test "${aros_tool_prefix}gcc${target_tool_version}" = ""; then
11015 if test "$cross_compiling" = "yes" ; then
11016 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11017 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11019 $as_echo_n "checking for $ac_word... " >&6; }
11020 if ${ac_cv_path_orig_target_cc+:} false
; then :
11021 $as_echo_n "(cached) " >&6
11023 case $orig_target_cc in
11025 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11029 for as_dir
in $PATH
11032 test -z "$as_dir" && as_dir
=.
11033 for ac_exec_ext
in '' $ac_executable_extensions; do
11034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11035 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11046 orig_target_cc
=$ac_cv_path_orig_target_cc
11047 if test -n "$orig_target_cc"; then
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11049 $as_echo "$orig_target_cc" >&6; }
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11052 $as_echo "no" >&6; }
11057 if test "$GCC" = "yes"; then
11058 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11059 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11060 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11062 $as_echo_n "checking for $ac_word... " >&6; }
11063 if ${ac_cv_path_orig_target_cc+:} false
; then :
11064 $as_echo_n "(cached) " >&6
11066 case $orig_target_cc in
11068 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11072 for as_dir
in `dirname $aros_gcc_gcc`
11075 test -z "$as_dir" && as_dir
=.
11076 for ac_exec_ext
in '' $ac_executable_extensions; do
11077 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11078 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11089 orig_target_cc
=$ac_cv_path_orig_target_cc
11090 if test -n "$orig_target_cc"; then
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11092 $as_echo "$orig_target_cc" >&6; }
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11095 $as_echo "no" >&6; }
11100 if test "$orig_target_cc" = ""; then
11101 # Extract the first word of "gcc", so it can be a program name with args.
11102 set dummy gcc
; ac_word
=$2
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11104 $as_echo_n "checking for $ac_word... " >&6; }
11105 if ${ac_cv_path_orig_target_cc+:} false
; then :
11106 $as_echo_n "(cached) " >&6
11108 case $orig_target_cc in
11110 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11114 for as_dir
in $PATH
11117 test -z "$as_dir" && as_dir
=.
11118 for ac_exec_ext
in '' $ac_executable_extensions; do
11119 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11120 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11131 orig_target_cc
=$ac_cv_path_orig_target_cc
11132 if test -n "$orig_target_cc"; then
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11134 $as_echo "$orig_target_cc" >&6; }
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11137 $as_echo "no" >&6; }
11144 # Extract the first word of "${aros_tool_prefix}gcc${target_tool_version}", so it can be a program name with args.
11145 set dummy
${aros_tool_prefix}gcc
${target_tool_version}; ac_word
=$2
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11147 $as_echo_n "checking for $ac_word... " >&6; }
11148 if ${ac_cv_path_orig_target_cc+:} false
; then :
11149 $as_echo_n "(cached) " >&6
11151 case $orig_target_cc in
11153 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11157 for as_dir
in $PATH
11160 test -z "$as_dir" && as_dir
=.
11161 for ac_exec_ext
in '' $ac_executable_extensions; do
11162 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11163 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11174 orig_target_cc
=$ac_cv_path_orig_target_cc
11175 if test -n "$orig_target_cc"; then
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11177 $as_echo "$orig_target_cc" >&6; }
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11180 $as_echo "no" >&6; }
11186 if test "$orig_target_cc" = ""; then
11187 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11190 if test "${aros_tool_prefix}g++${target_tool_version}" = ""; then
11191 if test "$cross_compiling" = "yes" ; then
11192 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11193 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11195 $as_echo_n "checking for $ac_word... " >&6; }
11196 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11197 $as_echo_n "(cached) " >&6
11199 case $orig_target_cxx in
11201 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11205 for as_dir
in $PATH
11208 test -z "$as_dir" && as_dir
=.
11209 for ac_exec_ext
in '' $ac_executable_extensions; do
11210 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11211 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11222 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11223 if test -n "$orig_target_cxx"; then
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11225 $as_echo "$orig_target_cxx" >&6; }
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11228 $as_echo "no" >&6; }
11233 if test "$GCC" = "yes"; then
11234 aros_gcc_g
++=`$CC -print-prog-name=g++`
11235 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11236 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11238 $as_echo_n "checking for $ac_word... " >&6; }
11239 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11240 $as_echo_n "(cached) " >&6
11242 case $orig_target_cxx in
11244 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11248 for as_dir
in `dirname $aros_gcc_g++`
11251 test -z "$as_dir" && as_dir
=.
11252 for ac_exec_ext
in '' $ac_executable_extensions; do
11253 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11254 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11265 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11266 if test -n "$orig_target_cxx"; then
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11268 $as_echo "$orig_target_cxx" >&6; }
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11271 $as_echo "no" >&6; }
11276 if test "$orig_target_cxx" = ""; then
11277 # Extract the first word of "g++", so it can be a program name with args.
11278 set dummy g
++; ac_word
=$2
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11280 $as_echo_n "checking for $ac_word... " >&6; }
11281 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11282 $as_echo_n "(cached) " >&6
11284 case $orig_target_cxx in
11286 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11290 for as_dir
in $PATH
11293 test -z "$as_dir" && as_dir
=.
11294 for ac_exec_ext
in '' $ac_executable_extensions; do
11295 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11296 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11307 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11308 if test -n "$orig_target_cxx"; then
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11310 $as_echo "$orig_target_cxx" >&6; }
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11313 $as_echo "no" >&6; }
11320 # Extract the first word of "${aros_tool_prefix}g++${target_tool_version}", so it can be a program name with args.
11321 set dummy
${aros_tool_prefix}g
++${target_tool_version}; ac_word
=$2
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11323 $as_echo_n "checking for $ac_word... " >&6; }
11324 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11325 $as_echo_n "(cached) " >&6
11327 case $orig_target_cxx in
11329 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11333 for as_dir
in $PATH
11336 test -z "$as_dir" && as_dir
=.
11337 for ac_exec_ext
in '' $ac_executable_extensions; do
11338 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11339 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11350 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11351 if test -n "$orig_target_cxx"; then
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11353 $as_echo "$orig_target_cxx" >&6; }
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11356 $as_echo "no" >&6; }
11362 if test "$orig_target_cxx" = ""; then
11363 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11366 if test "${aros_tool_prefix}ld" = ""; then
11367 if test "$cross_compiling" = "yes" ; then
11368 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11369 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11371 $as_echo_n "checking for $ac_word... " >&6; }
11372 if ${ac_cv_path_orig_target_ld+:} false
; then :
11373 $as_echo_n "(cached) " >&6
11375 case $orig_target_ld in
11377 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11381 for as_dir
in $PATH
11384 test -z "$as_dir" && as_dir
=.
11385 for ac_exec_ext
in '' $ac_executable_extensions; do
11386 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11387 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11398 orig_target_ld
=$ac_cv_path_orig_target_ld
11399 if test -n "$orig_target_ld"; then
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11401 $as_echo "$orig_target_ld" >&6; }
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11404 $as_echo "no" >&6; }
11409 if test "$GCC" = "yes"; then
11410 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11411 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11412 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11414 $as_echo_n "checking for $ac_word... " >&6; }
11415 if ${ac_cv_path_orig_target_ld+:} false
; then :
11416 $as_echo_n "(cached) " >&6
11418 case $orig_target_ld in
11420 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11424 for as_dir
in `dirname $aros_gcc_gcc`
11427 test -z "$as_dir" && as_dir
=.
11428 for ac_exec_ext
in '' $ac_executable_extensions; do
11429 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11430 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11441 orig_target_ld
=$ac_cv_path_orig_target_ld
11442 if test -n "$orig_target_ld"; then
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11444 $as_echo "$orig_target_ld" >&6; }
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11447 $as_echo "no" >&6; }
11452 if test "$orig_target_ld" = ""; then
11453 # Extract the first word of "gcc", so it can be a program name with args.
11454 set dummy gcc
; ac_word
=$2
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11456 $as_echo_n "checking for $ac_word... " >&6; }
11457 if ${ac_cv_path_orig_target_ld+:} false
; then :
11458 $as_echo_n "(cached) " >&6
11460 case $orig_target_ld in
11462 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11466 for as_dir
in $PATH
11469 test -z "$as_dir" && as_dir
=.
11470 for ac_exec_ext
in '' $ac_executable_extensions; do
11471 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11472 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11483 orig_target_ld
=$ac_cv_path_orig_target_ld
11484 if test -n "$orig_target_ld"; then
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11486 $as_echo "$orig_target_ld" >&6; }
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11489 $as_echo "no" >&6; }
11496 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11497 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11499 $as_echo_n "checking for $ac_word... " >&6; }
11500 if ${ac_cv_path_orig_target_ld+:} false
; then :
11501 $as_echo_n "(cached) " >&6
11503 case $orig_target_ld in
11505 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11509 for as_dir
in $PATH
11512 test -z "$as_dir" && as_dir
=.
11513 for ac_exec_ext
in '' $ac_executable_extensions; do
11514 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11515 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11526 orig_target_ld
=$ac_cv_path_orig_target_ld
11527 if test -n "$orig_target_ld"; then
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11529 $as_echo "$orig_target_ld" >&6; }
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11532 $as_echo "no" >&6; }
11538 if test "$orig_target_ld" = ""; then
11539 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11542 if test "${aros_tool_prefix}as" = ""; then
11543 if test "$cross_compiling" = "yes" ; then
11544 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11545 set dummy
${target_tool_prefix}as
; ac_word
=$2
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11547 $as_echo_n "checking for $ac_word... " >&6; }
11548 if ${ac_cv_path_orig_target_as+:} false
; then :
11549 $as_echo_n "(cached) " >&6
11551 case $orig_target_as in
11553 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11557 for as_dir
in $PATH
11560 test -z "$as_dir" && as_dir
=.
11561 for ac_exec_ext
in '' $ac_executable_extensions; do
11562 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11563 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11574 orig_target_as
=$ac_cv_path_orig_target_as
11575 if test -n "$orig_target_as"; then
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11577 $as_echo "$orig_target_as" >&6; }
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11580 $as_echo "no" >&6; }
11585 if test "$GCC" = "yes"; then
11586 aros_gcc_as
=`$CC -print-prog-name=as`
11587 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11588 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11590 $as_echo_n "checking for $ac_word... " >&6; }
11591 if ${ac_cv_path_orig_target_as+:} false
; then :
11592 $as_echo_n "(cached) " >&6
11594 case $orig_target_as in
11596 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11600 for as_dir
in `dirname $aros_gcc_as`
11603 test -z "$as_dir" && as_dir
=.
11604 for ac_exec_ext
in '' $ac_executable_extensions; do
11605 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11606 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11617 orig_target_as
=$ac_cv_path_orig_target_as
11618 if test -n "$orig_target_as"; then
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11620 $as_echo "$orig_target_as" >&6; }
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11623 $as_echo "no" >&6; }
11628 if test "$orig_target_as" = ""; then
11629 # Extract the first word of "as", so it can be a program name with args.
11630 set dummy as
; ac_word
=$2
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11632 $as_echo_n "checking for $ac_word... " >&6; }
11633 if ${ac_cv_path_orig_target_as+:} false
; then :
11634 $as_echo_n "(cached) " >&6
11636 case $orig_target_as in
11638 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11642 for as_dir
in $PATH
11645 test -z "$as_dir" && as_dir
=.
11646 for ac_exec_ext
in '' $ac_executable_extensions; do
11647 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11648 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11659 orig_target_as
=$ac_cv_path_orig_target_as
11660 if test -n "$orig_target_as"; then
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11662 $as_echo "$orig_target_as" >&6; }
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11665 $as_echo "no" >&6; }
11672 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11673 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11675 $as_echo_n "checking for $ac_word... " >&6; }
11676 if ${ac_cv_path_orig_target_as+:} false
; then :
11677 $as_echo_n "(cached) " >&6
11679 case $orig_target_as in
11681 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11685 for as_dir
in $PATH
11688 test -z "$as_dir" && as_dir
=.
11689 for ac_exec_ext
in '' $ac_executable_extensions; do
11690 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11691 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11702 orig_target_as
=$ac_cv_path_orig_target_as
11703 if test -n "$orig_target_as"; then
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11705 $as_echo "$orig_target_as" >&6; }
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11708 $as_echo "no" >&6; }
11714 if test "$orig_target_as" = ""; then
11715 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11718 if test "${aros_tool_prefix}ar" = ""; then
11719 if test "$cross_compiling" = "yes" ; then
11720 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11721 set dummy
${target_tool_prefix}ar; ac_word
=$2
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11723 $as_echo_n "checking for $ac_word... " >&6; }
11724 if ${ac_cv_path_orig_target_ar+:} false
; then :
11725 $as_echo_n "(cached) " >&6
11727 case $orig_target_ar in
11729 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11733 for as_dir
in $PATH
11736 test -z "$as_dir" && as_dir
=.
11737 for ac_exec_ext
in '' $ac_executable_extensions; do
11738 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11739 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11750 orig_target_ar
=$ac_cv_path_orig_target_ar
11751 if test -n "$orig_target_ar"; then
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11753 $as_echo "$orig_target_ar" >&6; }
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11756 $as_echo "no" >&6; }
11761 if test "$GCC" = "yes"; then
11762 aros_gcc_ar
=`$CC -print-prog-name=ar`
11763 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11764 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11766 $as_echo_n "checking for $ac_word... " >&6; }
11767 if ${ac_cv_path_orig_target_ar+:} false
; then :
11768 $as_echo_n "(cached) " >&6
11770 case $orig_target_ar in
11772 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11776 for as_dir
in `dirname $aros_gcc_ar`
11779 test -z "$as_dir" && as_dir
=.
11780 for ac_exec_ext
in '' $ac_executable_extensions; do
11781 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11782 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11793 orig_target_ar
=$ac_cv_path_orig_target_ar
11794 if test -n "$orig_target_ar"; then
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11796 $as_echo "$orig_target_ar" >&6; }
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11799 $as_echo "no" >&6; }
11804 if test "$orig_target_ar" = ""; then
11805 # Extract the first word of "ar", so it can be a program name with args.
11806 set dummy
ar; ac_word
=$2
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11808 $as_echo_n "checking for $ac_word... " >&6; }
11809 if ${ac_cv_path_orig_target_ar+:} false
; then :
11810 $as_echo_n "(cached) " >&6
11812 case $orig_target_ar in
11814 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11818 for as_dir
in $PATH
11821 test -z "$as_dir" && as_dir
=.
11822 for ac_exec_ext
in '' $ac_executable_extensions; do
11823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11824 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11835 orig_target_ar
=$ac_cv_path_orig_target_ar
11836 if test -n "$orig_target_ar"; then
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11838 $as_echo "$orig_target_ar" >&6; }
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11841 $as_echo "no" >&6; }
11848 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11849 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11851 $as_echo_n "checking for $ac_word... " >&6; }
11852 if ${ac_cv_path_orig_target_ar+:} false
; then :
11853 $as_echo_n "(cached) " >&6
11855 case $orig_target_ar in
11857 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11861 for as_dir
in $PATH
11864 test -z "$as_dir" && as_dir
=.
11865 for ac_exec_ext
in '' $ac_executable_extensions; do
11866 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11867 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11878 orig_target_ar
=$ac_cv_path_orig_target_ar
11879 if test -n "$orig_target_ar"; then
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11881 $as_echo "$orig_target_ar" >&6; }
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11884 $as_echo "no" >&6; }
11890 if test "$orig_target_ar" = ""; then
11891 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11894 if test "${aros_tool_prefix}ranlib" = ""; then
11895 if test "$cross_compiling" = "yes" ; then
11896 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11897 set dummy
${target_tool_prefix}ar; ac_word
=$2
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11899 $as_echo_n "checking for $ac_word... " >&6; }
11900 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11901 $as_echo_n "(cached) " >&6
11903 case $orig_target_ranlib in
11905 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11909 for as_dir
in $PATH
11912 test -z "$as_dir" && as_dir
=.
11913 for ac_exec_ext
in '' $ac_executable_extensions; do
11914 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11915 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11926 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11927 if test -n "$orig_target_ranlib"; then
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11929 $as_echo "$orig_target_ranlib" >&6; }
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11932 $as_echo "no" >&6; }
11937 if test "$GCC" = "yes"; then
11938 aros_gcc_ar
=`$CC -print-prog-name=ar`
11939 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11940 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11942 $as_echo_n "checking for $ac_word... " >&6; }
11943 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11944 $as_echo_n "(cached) " >&6
11946 case $orig_target_ranlib in
11948 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11952 for as_dir
in `dirname $aros_gcc_ar`
11955 test -z "$as_dir" && as_dir
=.
11956 for ac_exec_ext
in '' $ac_executable_extensions; do
11957 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11958 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11969 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11970 if test -n "$orig_target_ranlib"; then
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11972 $as_echo "$orig_target_ranlib" >&6; }
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11975 $as_echo "no" >&6; }
11980 if test "$orig_target_ranlib" = ""; then
11981 # Extract the first word of "ar", so it can be a program name with args.
11982 set dummy
ar; ac_word
=$2
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11984 $as_echo_n "checking for $ac_word... " >&6; }
11985 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11986 $as_echo_n "(cached) " >&6
11988 case $orig_target_ranlib in
11990 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11994 for as_dir
in $PATH
11997 test -z "$as_dir" && as_dir
=.
11998 for ac_exec_ext
in '' $ac_executable_extensions; do
11999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12000 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12011 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12012 if test -n "$orig_target_ranlib"; then
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12014 $as_echo "$orig_target_ranlib" >&6; }
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12017 $as_echo "no" >&6; }
12024 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
12025 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12027 $as_echo_n "checking for $ac_word... " >&6; }
12028 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12029 $as_echo_n "(cached) " >&6
12031 case $orig_target_ranlib in
12033 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12037 for as_dir
in $PATH
12040 test -z "$as_dir" && as_dir
=.
12041 for ac_exec_ext
in '' $ac_executable_extensions; do
12042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12043 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12054 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12055 if test -n "$orig_target_ranlib"; then
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12057 $as_echo "$orig_target_ranlib" >&6; }
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12060 $as_echo "no" >&6; }
12066 if test "$orig_target_ranlib" = ""; then
12067 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12070 if test "${aros_tool_prefix}nm" = ""; then
12071 if test "$cross_compiling" = "yes" ; then
12072 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12073 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12075 $as_echo_n "checking for $ac_word... " >&6; }
12076 if ${ac_cv_path_orig_target_nm+:} false
; then :
12077 $as_echo_n "(cached) " >&6
12079 case $orig_target_nm in
12081 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12085 for as_dir
in $PATH
12088 test -z "$as_dir" && as_dir
=.
12089 for ac_exec_ext
in '' $ac_executable_extensions; do
12090 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12091 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12102 orig_target_nm
=$ac_cv_path_orig_target_nm
12103 if test -n "$orig_target_nm"; then
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12105 $as_echo "$orig_target_nm" >&6; }
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12108 $as_echo "no" >&6; }
12113 if test "$GCC" = "yes"; then
12114 aros_gcc_nm
=`$CC -print-prog-name=nm`
12115 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12116 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12118 $as_echo_n "checking for $ac_word... " >&6; }
12119 if ${ac_cv_path_orig_target_nm+:} false
; then :
12120 $as_echo_n "(cached) " >&6
12122 case $orig_target_nm in
12124 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12128 for as_dir
in `dirname $aros_gcc_nm`
12131 test -z "$as_dir" && as_dir
=.
12132 for ac_exec_ext
in '' $ac_executable_extensions; do
12133 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12134 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12145 orig_target_nm
=$ac_cv_path_orig_target_nm
12146 if test -n "$orig_target_nm"; then
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12148 $as_echo "$orig_target_nm" >&6; }
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12151 $as_echo "no" >&6; }
12156 if test "$orig_target_nm" = ""; then
12157 # Extract the first word of "nm", so it can be a program name with args.
12158 set dummy nm
; ac_word
=$2
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12160 $as_echo_n "checking for $ac_word... " >&6; }
12161 if ${ac_cv_path_orig_target_nm+:} false
; then :
12162 $as_echo_n "(cached) " >&6
12164 case $orig_target_nm in
12166 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12170 for as_dir
in $PATH
12173 test -z "$as_dir" && as_dir
=.
12174 for ac_exec_ext
in '' $ac_executable_extensions; do
12175 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12176 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12187 orig_target_nm
=$ac_cv_path_orig_target_nm
12188 if test -n "$orig_target_nm"; then
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12190 $as_echo "$orig_target_nm" >&6; }
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12193 $as_echo "no" >&6; }
12200 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12201 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12203 $as_echo_n "checking for $ac_word... " >&6; }
12204 if ${ac_cv_path_orig_target_nm+:} false
; then :
12205 $as_echo_n "(cached) " >&6
12207 case $orig_target_nm in
12209 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12213 for as_dir
in $PATH
12216 test -z "$as_dir" && as_dir
=.
12217 for ac_exec_ext
in '' $ac_executable_extensions; do
12218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12219 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12230 orig_target_nm
=$ac_cv_path_orig_target_nm
12231 if test -n "$orig_target_nm"; then
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12233 $as_echo "$orig_target_nm" >&6; }
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12236 $as_echo "no" >&6; }
12242 if test "$orig_target_nm" = ""; then
12243 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12246 if test "${aros_tool_prefix}strip" = ""; then
12247 if test "$cross_compiling" = "yes" ; then
12248 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12249 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12251 $as_echo_n "checking for $ac_word... " >&6; }
12252 if ${ac_cv_path_orig_target_strip+:} false
; then :
12253 $as_echo_n "(cached) " >&6
12255 case $orig_target_strip in
12257 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12261 for as_dir
in $PATH
12264 test -z "$as_dir" && as_dir
=.
12265 for ac_exec_ext
in '' $ac_executable_extensions; do
12266 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12267 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12278 orig_target_strip
=$ac_cv_path_orig_target_strip
12279 if test -n "$orig_target_strip"; then
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12281 $as_echo "$orig_target_strip" >&6; }
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12284 $as_echo "no" >&6; }
12289 if test "$GCC" = "yes"; then
12290 aros_gcc_strip
=`$CC -print-prog-name=strip`
12291 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12292 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12294 $as_echo_n "checking for $ac_word... " >&6; }
12295 if ${ac_cv_path_orig_target_strip+:} false
; then :
12296 $as_echo_n "(cached) " >&6
12298 case $orig_target_strip in
12300 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12304 for as_dir
in `dirname $aros_gcc_strip`
12307 test -z "$as_dir" && as_dir
=.
12308 for ac_exec_ext
in '' $ac_executable_extensions; do
12309 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12310 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12321 orig_target_strip
=$ac_cv_path_orig_target_strip
12322 if test -n "$orig_target_strip"; then
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12324 $as_echo "$orig_target_strip" >&6; }
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12327 $as_echo "no" >&6; }
12332 if test "$orig_target_strip" = ""; then
12333 # Extract the first word of "strip", so it can be a program name with args.
12334 set dummy strip
; ac_word
=$2
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12336 $as_echo_n "checking for $ac_word... " >&6; }
12337 if ${ac_cv_path_orig_target_strip+:} false
; then :
12338 $as_echo_n "(cached) " >&6
12340 case $orig_target_strip in
12342 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12346 for as_dir
in $PATH
12349 test -z "$as_dir" && as_dir
=.
12350 for ac_exec_ext
in '' $ac_executable_extensions; do
12351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12352 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12363 orig_target_strip
=$ac_cv_path_orig_target_strip
12364 if test -n "$orig_target_strip"; then
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12366 $as_echo "$orig_target_strip" >&6; }
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12369 $as_echo "no" >&6; }
12376 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12377 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12379 $as_echo_n "checking for $ac_word... " >&6; }
12380 if ${ac_cv_path_orig_target_strip+:} false
; then :
12381 $as_echo_n "(cached) " >&6
12383 case $orig_target_strip in
12385 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12389 for as_dir
in $PATH
12392 test -z "$as_dir" && as_dir
=.
12393 for ac_exec_ext
in '' $ac_executable_extensions; do
12394 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12395 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12406 orig_target_strip
=$ac_cv_path_orig_target_strip
12407 if test -n "$orig_target_strip"; then
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12409 $as_echo "$orig_target_strip" >&6; }
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12412 $as_echo "no" >&6; }
12418 if test "$orig_target_strip" = ""; then
12419 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12422 if test "${aros_tool_prefix}objcopy" = ""; then
12423 if test "$cross_compiling" = "yes" ; then
12424 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12425 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12427 $as_echo_n "checking for $ac_word... " >&6; }
12428 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12429 $as_echo_n "(cached) " >&6
12431 case $orig_target_objcopy in
12433 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12437 for as_dir
in $PATH
12440 test -z "$as_dir" && as_dir
=.
12441 for ac_exec_ext
in '' $ac_executable_extensions; do
12442 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12443 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12454 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12455 if test -n "$orig_target_objcopy"; then
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12457 $as_echo "$orig_target_objcopy" >&6; }
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12460 $as_echo "no" >&6; }
12465 if test "$GCC" = "yes"; then
12466 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12467 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12468 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12470 $as_echo_n "checking for $ac_word... " >&6; }
12471 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12472 $as_echo_n "(cached) " >&6
12474 case $orig_target_objcopy in
12476 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12480 for as_dir
in `dirname $aros_gcc_objcopy`
12483 test -z "$as_dir" && as_dir
=.
12484 for ac_exec_ext
in '' $ac_executable_extensions; do
12485 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12486 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12497 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12498 if test -n "$orig_target_objcopy"; then
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12500 $as_echo "$orig_target_objcopy" >&6; }
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12503 $as_echo "no" >&6; }
12508 if test "$orig_target_objcopy" = ""; then
12509 # Extract the first word of "objcopy", so it can be a program name with args.
12510 set dummy objcopy
; ac_word
=$2
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12512 $as_echo_n "checking for $ac_word... " >&6; }
12513 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12514 $as_echo_n "(cached) " >&6
12516 case $orig_target_objcopy in
12518 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12522 for as_dir
in $PATH
12525 test -z "$as_dir" && as_dir
=.
12526 for ac_exec_ext
in '' $ac_executable_extensions; do
12527 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12528 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12539 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12540 if test -n "$orig_target_objcopy"; then
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12542 $as_echo "$orig_target_objcopy" >&6; }
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12545 $as_echo "no" >&6; }
12552 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12553 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12555 $as_echo_n "checking for $ac_word... " >&6; }
12556 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12557 $as_echo_n "(cached) " >&6
12559 case $orig_target_objcopy in
12561 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12565 for as_dir
in $PATH
12568 test -z "$as_dir" && as_dir
=.
12569 for ac_exec_ext
in '' $ac_executable_extensions; do
12570 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12571 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12582 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12583 if test -n "$orig_target_objcopy"; then
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12585 $as_echo "$orig_target_objcopy" >&6; }
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12588 $as_echo "no" >&6; }
12594 if test "$orig_target_objcopy" = ""; then
12595 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12598 if test "${aros_tool_prefix}objdump" = ""; then
12599 if test "$cross_compiling" = "yes" ; then
12600 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12601 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12603 $as_echo_n "checking for $ac_word... " >&6; }
12604 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12605 $as_echo_n "(cached) " >&6
12607 case $orig_target_objdump in
12609 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12613 for as_dir
in $PATH
12616 test -z "$as_dir" && as_dir
=.
12617 for ac_exec_ext
in '' $ac_executable_extensions; do
12618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12619 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12630 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12631 if test -n "$orig_target_objdump"; then
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12633 $as_echo "$orig_target_objdump" >&6; }
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12636 $as_echo "no" >&6; }
12641 if test "$GCC" = "yes"; then
12642 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12643 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12644 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12646 $as_echo_n "checking for $ac_word... " >&6; }
12647 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12648 $as_echo_n "(cached) " >&6
12650 case $orig_target_objdump in
12652 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12656 for as_dir
in `dirname $aros_gcc_objdump`
12659 test -z "$as_dir" && as_dir
=.
12660 for ac_exec_ext
in '' $ac_executable_extensions; do
12661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12662 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12673 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12674 if test -n "$orig_target_objdump"; then
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12676 $as_echo "$orig_target_objdump" >&6; }
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12679 $as_echo "no" >&6; }
12684 if test "$orig_target_objdump" = ""; then
12685 # Extract the first word of "objdump", so it can be a program name with args.
12686 set dummy objdump
; ac_word
=$2
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12688 $as_echo_n "checking for $ac_word... " >&6; }
12689 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12690 $as_echo_n "(cached) " >&6
12692 case $orig_target_objdump in
12694 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12698 for as_dir
in $PATH
12701 test -z "$as_dir" && as_dir
=.
12702 for ac_exec_ext
in '' $ac_executable_extensions; do
12703 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12704 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12715 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12716 if test -n "$orig_target_objdump"; then
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12718 $as_echo "$orig_target_objdump" >&6; }
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12721 $as_echo "no" >&6; }
12728 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12729 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12731 $as_echo_n "checking for $ac_word... " >&6; }
12732 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12733 $as_echo_n "(cached) " >&6
12735 case $orig_target_objdump in
12737 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12741 for as_dir
in $PATH
12744 test -z "$as_dir" && as_dir
=.
12745 for ac_exec_ext
in '' $ac_executable_extensions; do
12746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12747 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12758 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12759 if test -n "$orig_target_objdump"; then
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12761 $as_echo "$orig_target_objdump" >&6; }
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12764 $as_echo "no" >&6; }
12770 if test "$orig_target_objdump" = ""; then
12771 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12775 if test "$kernel_tool_prefix" = "none" ; then
12776 # No kernel tools specified
12777 # Assume target tools == kernel tools with ELF wrapper
12778 aros_kernel_cc
=$orig_target_cc
12779 aros_kernel_cxx
=$orig_target_cxx
12780 aros_kernel_cpp
=$orig_target_cpp
12781 aros_kernel_ld
=$orig_target_ld
12782 aros_kernel_as
=$orig_target_as
12783 aros_kernel_ar
=$orig_target_ar
12784 aros_kernel_ranlib
=$orig_target_ranlib
12785 aros_kernel_nm
=$orig_target_nm
12786 aros_kernel_strip
=$orig_target_strip
12787 aros_kernel_objcopy
=$orig_target_objcopy
12788 aros_kernel_objdump
=$orig_target_objdump
12789 use_kernel_cc_wrapper
=yes
12792 # At this point, all aros_kernel_* and aros_target_*
12793 # tools should be set up correctly
12795 CC
="$aros_kernel_cc $kernel_tool_flags"
12796 CPP
="$aros_kernel_cpp"
12798 #-----------------------------------------------------------------------------
12800 # Disable pointer-signedness warnings if the compiler recognises the option
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12803 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12804 save_cflags
="$CFLAGS"
12805 if test "$crosstools" != "yes" ; then
12806 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12818 if ac_fn_c_try_compile
"$LINENO"; then :
12819 use_no_sign_warning
="yes"
12821 use_no_sign_warning
="no"
12823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12825 # we do know it is supported for the smallest version of gcc we are going to build
12826 # we assume it's also supported by later versions
12827 use_no_sign_warning
=yes
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12830 $as_echo "$use_no_sign_warning" >&6; }
12831 if test "x-$use_no_sign_warning" = "x-yes" ; then
12832 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12834 CFLAGS
="$save_cflags"
12836 #-----------------------------------------------------------------------------
12838 # Find all the tools we need to compile. This could be cross-compiling
12839 # though! If that is the case we use the GNU form of the target and
12840 # simply add this to the front of the binary name. This is rather simple,
12841 # but it should work under most circumstances.
12843 # The default tools are to use the same as the host, but only if the
12844 # host and target CPU are the same. With GCC this is normally enough.
12848 aros_shared_ld
="$aros_host_ld"
12850 aros_target_mkdep
="$aros_host_mkdep"
12852 # The default tools executables to be linked to.
12853 if test "$rescomp" != ""; then
12854 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12855 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12857 $as_echo_n "checking for $ac_word... " >&6; }
12858 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12859 $as_echo_n "(cached) " >&6
12861 case $aros_kernel_rescomp in
12863 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12867 for as_dir
in $PATH
12870 test -z "$as_dir" && as_dir
=.
12871 for ac_exec_ext
in '' $ac_executable_extensions; do
12872 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12873 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12884 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12885 if test -n "$aros_kernel_rescomp"; then
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12887 $as_echo "$aros_kernel_rescomp" >&6; }
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12890 $as_echo "no" >&6; }
12894 if test "$aros_kernel_rescomp" = ""; then
12895 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12899 # Set up the sources for the symlink farm
12900 if test "$crosstools" = "yes"; then
12901 crosstools_target
=tools-crosstools
12904 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12905 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12908 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12909 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12910 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12911 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12912 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12913 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12914 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12916 # aros_cc_pre is a variable that is added to the front of the compiler name
12917 # in the generated aros-gcc shell script. We need this to enable the cache
12918 # to work across cleaned builds. Also, support DISTCC using the correct
12919 # environment variable.
12922 if test "x${DISTCC}" != "x" ; then
12923 if test "x${CCACHE}" != "x" ; then
12924 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12926 aros_cc_pre
="${DISTCC} "
12929 if test "x${CCACHE}" != "x" ; then
12930 aros_cc_pre
="${CCACHE} "
12934 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12936 aros_target_nostdinc_cflags
=-nostdinc
12938 aros_target_nostartup_ldflags
=-nostartfiles
12940 aros_target_nix_ldflags
=-nix
12942 aros_target_detach_ldflags
=-detach
12944 aros_target_nostdlib_ldflags
=-nostdlib
12948 if test "$crosstools" != "yes"; then
12949 if test "$GCC" = "yes"; then
12950 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12953 # We do not know which gcc version we are going to build and what we need to know
12954 # here is different for different versions so this will be set later during the
12955 # build of crosstools.
12956 aros_target_cc_path
=@aros_target_cc_path@
12958 aros_target_cpp
="${prefix}cpp"
12959 aros_target_cc
="${prefix}gcc"
12960 aros_target_cxx
="${prefix}g++"
12961 aros_target_as
="${prefix}as"
12962 aros_target_ld
="${prefix}ld"
12963 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12964 aros_target_objcopy
="${prefix}objcopy"
12965 aros_target_objdump
="${prefix}objdump"
12966 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12967 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12968 aros_target_strip
="${prefix}strip"
12969 aros_plain_nm
="${prefix}nm"
12970 aros_plain_ar
="${prefix}ar"
12972 # Check whether --enable-includes was given.
12973 if test "${enable_includes+set}" = set; then :
12974 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12976 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
12980 if test "$aros_kernel_includes" = ""; then
12981 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12982 aros_kernel_includes
="-isystem $aros_target_incl"
12986 if test "$aros_kernel_includes" != "" ; then
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12988 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12989 if test "$aros_kernel_cc_includes" = "" ; then
12990 # Try to guess where the directory is.
12991 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12992 if test -d $aros_kernel_cc_includes; then
12993 # Check if there is also an include-fixed directory and add it
12994 # to kernel compiler's include path as it may contain some of
12995 # the headers we need.
12996 if test -d "$aros_kernel_cc_includes"-fixed; then
12997 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12999 # Check for specific includes directory. Neede for Ubuntu 11.10
13000 if test -d "/usr/include/i386-linux-gnu"; then
13001 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
13004 # The directory doesn't exist, we need to do some more work.
13005 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
13007 # These are the headers we're looking for.
13008 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13009 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13013 for h
in $headers; do
13014 # Which other headers are needed by each of the above?
13015 deps
=$
(echo "#include <$h>" | \
13016 $aros_kernel_cc -E -M - 2>/dev
/null | \
13017 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13019 # Copy all the needed headers to a directory beneath gendir.
13022 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13023 sed -n "s,^.*/include\(/.*\),\1,p")
13024 ! test -d $dir && mkdir
-p $dir
13025 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13031 $as_echo "$aros_kernel_cc_includes" >&6; }
13032 # Adding -nostdinc to kernel includes as they are always used together.
13033 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13036 if test "$crosstools" != "yes"; then
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13038 $as_echo_n "checking for the target compiler's include path... " >&6; }
13039 if test "$aros_target_cc_includes" = "" ; then
13040 #try to guess where the directory is
13041 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13042 if ! test -d $aros_target_cc_includes; then
13043 #the directory doesn't exist, we need to do some more work
13044 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13046 #these are the headers we're looking for
13047 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13048 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13052 for h
in $headers; do
13053 #which other headers each of the above headers needs?
13054 deps
=$
(echo "#include <$h>" | \
13055 $orig_target_cc -E -M - 2>/dev
/null | \
13056 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13058 #copy all the needed headers to a directory beneath gendir
13061 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13062 sed -n "s,^.*/include\(/.*\),\1,p")
13063 ! test -d $dir && mkdir
-p $dir
13064 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13070 $as_echo "$aros_target_cc_includes" >&6; }
13072 # We do not know which gcc version we are going to build and what we need to know
13073 # here is different for different versions so this will be set later during the
13074 # build of crosstools.
13075 aros_target_cc_includes
=@aros_target_cc_includes@
13079 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13080 # On GCC >= 4.0 -iquote should be used
13084 save_cflags
="$CFLAGS"
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13087 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13088 if test "x-$crosstools" != "x-yes"; then
13089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13100 if ac_fn_c_try_compile
"$LINENO"; then :
13105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13107 # we do know it is supported for the smallest version of gcc we are going to build
13108 # we assume it's also supported by later versions
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13112 $as_echo "$has_iquote" >&6; }
13113 if test "x-$has_iquote" = "x-yes" ; then
13114 host_cflags_iquote
=-iquote
13115 host_cflags_iquote_end
=
13117 host_cflags_iquote
=-I
13118 host_cflags_iquote_end
=-I-
13120 kernel_cflags_iquote
=$host_cflags_iquote
13121 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13122 if test "x-$cross_compiling" = "x-yes"; then
13123 CC
="$aros_kernel_cc"
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13125 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13126 if test "x-$crosstools" != "x-yes"; then
13127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13128 /* end confdefs.h. */
13138 if ac_fn_c_try_compile
"$LINENO"; then :
13139 use_no_stack_protector
="yes"
13141 use_no_stack_protector
="no"
13143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13145 # we do know it is supported for the smallest version of gcc we are going to build
13146 # we assume it's also supported by later versions
13147 use_no_stack_protector
=yes
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13150 $as_echo "$use_no_stack_protector" >&6; }
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13152 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13153 if test "x-$crosstools" != "x-yes"; then
13154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13155 /* end confdefs.h. */
13165 if ac_fn_c_try_compile
"$LINENO"; then :
13170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13172 # we do know it is supported for the smallest version of gcc we are going to build
13173 # we assume it's also supported by later versions
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13177 $as_echo "$has_iquote" >&6; }
13178 if test "x-$has_iquote" = "x-yes" ; then
13179 kernel_cflags_iquote
=-iquote
13180 kernel_cflags_iquote_end
=
13182 kernel_cflags_iquote
=-I
13183 kernel_cflags_iquote_end
=-I-
13186 aros_cflags_iquote
=$kernel_cflags_iquote
13187 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13188 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13189 CC
="$orig_target_cc"
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13191 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13192 if test "x-$crosstools" != "x-yes"; then
13193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13194 /* end confdefs.h. */
13204 if ac_fn_c_try_compile
"$LINENO"; then :
13209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13211 # we do know it is supported for the smallest version of gcc we are going to build
13212 # we assume it's also supported by later versions
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13216 $as_echo "$has_iquote" >&6; }
13217 if test "x-$has_iquote" = "x-yes" ; then
13218 aros_cflags_iquote
=-iquote
13219 aros_cflags_iquote_end
=
13221 aros_cflags_iquote
=-I
13222 aros_cflags_iquote_end
=-I-
13225 if test "x-$use_no_stack_protector" = "x-yes" ; then
13226 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13230 #-----------------------------------------------------------------------------
13232 # Check if the target compiler supports some options used for delinting:
13233 # -Wunused-but-set-variable
13236 # -Wstrict-overflow
13237 # -Wformat-security
13239 if test "x-$crosstools" != "x-yes"; then
13240 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13241 CC
="$orig_target_cc"
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13244 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13245 CFLAGS
=-Wunused-but-set-variable
13246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13247 /* end confdefs.h. */
13257 if ac_fn_c_try_compile
"$LINENO"; then :
13258 aros_unused_but_set_variable
="yes"
13260 aros_unused_but_set_variable
="no"
13262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13264 $as_echo "$aros_unused_but_set_variable" >&6; }
13265 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13266 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13270 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13271 CFLAGS
=-Warray-bounds
13272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13273 /* end confdefs.h. */
13283 if ac_fn_c_try_compile
"$LINENO"; then :
13284 aros_array_bounds
="yes"
13286 aros_array_bounds
="no"
13288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13290 $as_echo "$aros_array_bounds" >&6; }
13291 if test "x-$aros_array_bounds" = "x-yes" ; then
13292 aros_cflags_array_bounds
=-Wno-array-bounds
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13296 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13297 CFLAGS
=-Wenum-compare
13298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13309 if ac_fn_c_try_compile
"$LINENO"; then :
13310 aros_enum_compare
="yes"
13312 aros_enum_compare
="no"
13314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13316 $as_echo "$aros_enum_compare" >&6; }
13317 if test "x-$aros_enum_compare" = "x-yes" ; then
13318 aros_cflags_enum_compare
=-Wno-enum-compare
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13322 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13323 CFLAGS
=-Wstrict-overflow
13324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13325 /* end confdefs.h. */
13335 if ac_fn_c_try_compile
"$LINENO"; then :
13336 aros_strict_overflow
="yes"
13338 aros_strict_overflow
="no"
13340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13342 $as_echo "$aros_strict_overflow" >&6; }
13343 if test "x-$aros_strict_overflow" = "x-yes" ; then
13344 aros_cflags_strict_overflow
=-Wno-strict-overflow
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13348 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13349 CFLAGS
=-Wformat-security
13350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13351 /* end confdefs.h. */
13361 if ac_fn_c_try_compile
"$LINENO"; then :
13362 aros_format_security
="yes"
13364 aros_format_security
="no"
13366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13368 $as_echo "$aros_format_security" >&6; }
13369 if test "x-$aros_format_security" = "x-yes" ; then
13370 aros_cflags_format_security
=-Wno-format-security
13373 # We do not know which gcc version we are going to build and what we need to know
13374 # here is different for different versions so this will be set later during the
13375 # build of crosstools.
13376 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13377 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13378 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13379 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13380 aros_cflags_format_security
=@aros_cflags_format_security@
13383 #-----------------------------------------------------------------------------
13385 # Check if we can explicitly choose older version of symbol hashing
13387 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13388 CC
="$aros_kernel_cc"
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13390 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13392 /* end confdefs.h. */
13402 if ac_fn_c_try_link
"$LINENO"; then :
13403 use_hash_style
="yes"
13405 use_hash_style
="no"
13407 rm -f core conftest.err conftest.
$ac_objext \
13408 conftest
$ac_exeext conftest.
$ac_ext
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13410 $as_echo "$use_hash_style" >&6; }
13411 if test "x-$use_hash_style" = "x-yes" ; then
13412 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13415 CFLAGS
="$save_cflags"
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13426 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13428 # Check whether --with-resolution was given.
13429 if test "${with_resolution+set}" = set; then :
13430 withval
=$with_resolution; resolution
=$withval
13435 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13436 if test "$resolution" = "yes" ; then
13439 if test "$resolution" = "no" ; then
13442 if test "$resolution" != "none" ; then
13443 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13444 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13445 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13448 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13449 aros_cv_default_wbwidth
=$aros_default_wbwidth
13450 aros_cv_default_wbheight
=$aros_default_wbheight
13451 aros_cv_default_wbdepth
=$aros_default_wbdepth
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13454 $as_echo_n "checking if serial debug is enabled... " >&6; }
13456 # Check whether --with-serial-debug was given.
13457 if test "${with_serial_debug+set}" = set; then :
13458 withval
=$with_serial_debug; serial_debug
=$withval
13463 if test "$aros_serial_debug" = 0 ; then
13464 serial_debug_forced
=""
13465 if test "$serial_debug" = "yes" ; then
13468 if test "$serial_debug" = "no" ; then
13469 serial_debug
="none"
13472 serial_debug_forced
="(forced)"
13473 serial_debug
=$aros_serial_debug
13475 if test "$serial_debug" != "none" ; then
13476 aros_serial_debug
=$serial_debug
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13478 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13481 $as_echo "no" >&6; }
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13485 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13486 # Check whether --enable-palm_debug_hack was given.
13487 if test "${enable_palm_debug_hack+set}" = set; then :
13488 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13490 palm_debug_hack
="no"
13493 if test "$palm_debug_hack" = "yes" ; then
13494 aros_palm_debug_hack
="1"
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13497 $as_echo "$palm_debug_hack" >&6; }
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
13500 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
13501 # Check whether --enable-usb30_code was given.
13502 if test "${enable_usb30_code+set}" = set; then :
13503 enableval
=$enable_usb30_code; usb30_code
="yes"
13508 if test "$usb30_code" = "yes" ; then
13509 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
13510 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
13513 $as_echo "$usb30_code" >&6; }
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13516 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13517 # Check whether --enable-nesting_supervisor was given.
13518 if test "${enable_nesting_supervisor+set}" = set; then :
13519 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13521 nesting_supervisor
="no"
13524 if test "$nesting_supervisor" = "yes" ; then
13525 aros_nesting_supervisor
="1"
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13528 $as_echo "$nesting_supervisor" >&6; }
13530 if test "$aros_enable_mmu" = "" ; then
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13532 $as_echo_n "checking if MMU support is enabled... " >&6; }
13533 # Check whether --enable-mmu was given.
13534 if test "${enable_mmu+set}" = set; then :
13535 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13537 aros_enable_mmu
="yes"
13540 if test "$aros_enable_mmu" = "" ; then
13541 aros_enable_mmu
="yes"
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13544 $as_echo "$aros_enable_mmu" >&6; }
13546 if test "$aros_enable_mmu" = "no" ; then
13547 aros_enable_mmu
="0"
13549 aros_enable_mmu
="1"
13553 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13555 if test "x-$need_dlopen" != "x-no" ; then
13558 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13559 if test "x$ac_cv_func_dlopen" = xyes
; then :
13565 if test "x-$have_dl" = "x-no" ; then
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13567 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13568 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13569 $as_echo_n "(cached) " >&6
13571 ac_check_lib_save_LIBS
=$LIBS
13573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13574 /* end confdefs.h. */
13576 /* Override any GCC internal prototype to avoid an error.
13577 Use char because int might match the return type of a GCC
13578 builtin and then its argument prototype would still apply. */
13591 if ac_fn_c_try_link
"$LINENO"; then :
13592 ac_cv_lib_dl_dlopen
=yes
13594 ac_cv_lib_dl_dlopen
=no
13596 rm -f core conftest.err conftest.
$ac_objext \
13597 conftest
$ac_exeext conftest.
$ac_ext
13598 LIBS
=$ac_check_lib_save_LIBS
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13601 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13602 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13604 aros_host_ldflags
="$aros_host_ldflags -ldl"
13610 if test "x-$have_dl" = "x-no" ; then
13611 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13617 # Check whether --enable-x11_hidd was given.
13618 if test "${enable_x11_hidd+set}" = set; then :
13619 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13621 x11_hidd
="$need_x11"
13624 case "x-$x11_hidd" in
13625 x-yes|x-no|x-auto
) ;;
13626 *) x11_hidd
="$need_x11" ;;
13631 if test "x-$x11_hidd" != "x-no" ; then
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13634 $as_echo_n "checking for X... " >&6; }
13637 # Check whether --with-x was given.
13638 if test "${with_x+set}" = set; then :
13642 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13643 if test "x$with_x" = xno
; then
13644 # The user explicitly disabled X.
13647 case $x_includes,$x_libraries in #(
13648 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13649 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13650 $as_echo_n "(cached) " >&6
13652 # One or both of the vars are not set, and there is no cached value.
13653 ac_x_includes
=no ac_x_libraries
=no
13654 rm -f -r conftest.dir
13655 if mkdir conftest.dir
; then
13657 cat >Imakefile
<<'_ACEOF'
13659 @echo incroot='${INCROOT}'
13661 @echo usrlibdir='${USRLIBDIR}'
13663 @echo libdir='${LIBDIR}'
13665 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13666 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13667 for ac_var
in incroot usrlibdir libdir
; do
13668 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13670 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13671 for ac_extension
in a so sl dylib la dll
; do
13672 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13673 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13674 ac_im_usrlibdir
=$ac_im_libdir; break
13677 # Screen out bogus values from the imake configuration. They are
13678 # bogus both because they are the default anyway, and because
13679 # using them would break gcc on systems where it needs fixed includes.
13680 case $ac_im_incroot in
13681 /usr
/include
) ac_x_includes
= ;;
13682 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13684 case $ac_im_usrlibdir in
13685 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13686 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13690 rm -f -r conftest.dir
13693 # Standard set of common directories for X headers.
13694 # Check X11 before X11Rn because it is often a symlink to the current release.
13708 /usr/local/X11/include
13709 /usr/local/X11R7/include
13710 /usr/local/X11R6/include
13711 /usr/local/X11R5/include
13712 /usr/local/X11R4/include
13714 /usr/local/include/X11
13715 /usr/local/include/X11R7
13716 /usr/local/include/X11R6
13717 /usr/local/include/X11R5
13718 /usr/local/include/X11R4
13722 /usr/XFree86/include/X11
13726 /usr/unsupported/include
13727 /usr/athena/include
13728 /usr/local/x11r5/include
13729 /usr/lpp/Xamples/include
13731 /usr/openwin/include
13732 /usr/openwin/share/include'
13734 if test "$ac_x_includes" = no
; then
13735 # Guess where to find include files, by looking for Xlib.h.
13736 # First, try using that file with no special directory specified.
13737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13738 /* end confdefs.h. */
13739 #include <X11/Xlib.h>
13741 if ac_fn_c_try_cpp
"$LINENO"; then :
13742 # We can compile using X headers with no special include directory.
13745 for ac_dir
in $ac_x_header_dirs; do
13746 if test -r "$ac_dir/X11/Xlib.h"; then
13747 ac_x_includes
=$ac_dir
13752 rm -f conftest.err conftest.i conftest.
$ac_ext
13753 fi # $ac_x_includes = no
13755 if test "$ac_x_libraries" = no
; then
13756 # Check for the libraries.
13757 # See if we find them without any special options.
13758 # Don't add to $LIBS permanently.
13761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13763 #include <X11/Xlib.h>
13772 if ac_fn_c_try_link
"$LINENO"; then :
13774 # We can link X programs with no special library path.
13778 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13780 # Don't even attempt the hair of trying to link an X program!
13781 for ac_extension
in a so sl dylib la dll
; do
13782 if test -r "$ac_dir/libX11.$ac_extension"; then
13783 ac_x_libraries
=$ac_dir
13789 rm -f core conftest.err conftest.
$ac_objext \
13790 conftest
$ac_exeext conftest.
$ac_ext
13791 fi # $ac_x_libraries = no
13793 case $ac_x_includes,$ac_x_libraries in #(
13794 no
,* |
*,no |
*\'*)
13795 # Didn't find X, or a directory has "'" in its name.
13796 ac_cv_have_x
="have_x=no";; #(
13798 # Record where we found X for the cache.
13799 ac_cv_have_x
="have_x=yes\
13800 ac_x_includes='$ac_x_includes'\
13801 ac_x_libraries='$ac_x_libraries'"
13807 eval "$ac_cv_have_x"
13810 if test "$have_x" != yes; then
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13812 $as_echo "$have_x" >&6; }
13815 # If each of the values was on the command line, it overrides each guess.
13816 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13817 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13818 # Update the cache value to reflect the command line values.
13819 ac_cv_have_x
="have_x=yes\
13820 ac_x_includes='$x_includes'\
13821 ac_x_libraries='$x_libraries'"
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13823 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13828 for path
in $x_libraries
13830 x_cflags
="$x_cflags -L$path"
13833 for path
in $x_includes
13835 x_cflags
="$x_cflags -I$path"
13838 if test "x-$no_x" = "x-yes" ; then
13840 if test "x-$x11_hidd" != "x-auto" ; then
13841 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13845 unixgfx_hidd_target
=kernel-x11gfx
13848 # Check whether --enable-x11_shm was given.
13849 if test "${enable_x11_shm+set}" = set; then :
13850 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13852 x11_hidd_shm
="auto"
13855 case "x-$x11_hidd_shm" in
13856 x-yes|x-no|x-auto
) ;;
13857 *) x11_hidd_shm
="auto" ;;
13862 if test "x-$x11_hidd_shm" != "x-no" ; then
13864 for ac_header
in sys
/ipc.h
13866 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13867 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13868 cat >>confdefs.h
<<_ACEOF
13869 #define HAVE_SYS_IPC_H 1
13876 for ac_header
in sys
/shm.h
13878 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13879 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13880 cat >>confdefs.h
<<_ACEOF
13881 #define HAVE_SYS_SHM_H 1
13889 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13891 save_cflags
="$CFLAGS"
13892 CFLAGS
="$CFLAGS $x_cflags"
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13894 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13895 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13896 $as_echo_n "(cached) " >&6
13898 ac_check_lib_save_LIBS
=$LIBS
13899 LIBS
="-lXext $LIBS"
13900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13903 /* Override any GCC internal prototype to avoid an error.
13904 Use char because int might match the return type of a GCC
13905 builtin and then its argument prototype would still apply. */
13909 char XShmQueryExtension ();
13913 return XShmQueryExtension ();
13918 if ac_fn_c_try_link
"$LINENO"; then :
13919 ac_cv_lib_Xext_XShmQueryExtension
=yes
13921 ac_cv_lib_Xext_XShmQueryExtension
=no
13923 rm -f core conftest.err conftest.
$ac_objext \
13924 conftest
$ac_exeext conftest.
$ac_ext
13925 LIBS
=$ac_check_lib_save_LIBS
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13928 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13929 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13933 CFLAGS
="$save_cflags"
13937 if test "x-$have_xshm" = "x-yes" ; then
13938 DO_XSHM_SUPPORT
="1"
13939 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13940 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13942 DO_XSHM_SUPPORT
="0"
13946 # Check whether --enable-x11_vidmode was given.
13947 if test "${enable_x11_vidmode+set}" = set; then :
13948 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13950 x11_hidd_vidmode
="auto"
13953 case "x-$x11_hidd_vidmode" in
13954 x-yes|x-no|x-auto
) ;;
13955 *) x11_hidd_vidmode
="auto" ;;
13960 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13962 save_cflags
="$CFLAGS"
13963 CFLAGS
="$CFLAGS $x_cflags"
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13965 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13966 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13967 $as_echo_n "(cached) " >&6
13969 ac_check_lib_save_LIBS
=$LIBS
13970 LIBS
="-lXxf86vm $LIBS"
13971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13972 /* end confdefs.h. */
13974 /* Override any GCC internal prototype to avoid an error.
13975 Use char because int might match the return type of a GCC
13976 builtin and then its argument prototype would still apply. */
13980 char XF86VidModeQueryExtension ();
13984 return XF86VidModeQueryExtension ();
13989 if ac_fn_c_try_link
"$LINENO"; then :
13990 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13992 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13994 rm -f core conftest.err conftest.
$ac_objext \
13995 conftest
$ac_exeext conftest.
$ac_ext
13996 LIBS
=$ac_check_lib_save_LIBS
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13999 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
14000 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
14004 CFLAGS
="$save_cflags"
14007 if test "x-$have_vidmode" = "x-yes" ; then
14008 DO_VIDMODE_SUPPORT
="1"
14009 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
14010 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
14012 DO_VIDMODE_SUPPORT
="0"
14016 aros_host_x11_includes
=$x_includes
14017 aros_host_x11_libdirs
=$x_libraries
14021 # Check whether --enable-sdl_hidd was given.
14022 if test "${enable_sdl_hidd+set}" = set; then :
14023 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
14028 case "x-$sdl_hidd" in
14029 x-yes|x-no|x-auto
) ;;
14030 *) sdl_hidd
="auto" ;;
14033 if test "x-$sdl_hidd" != "x-no" ; then
14036 # Check whether --with-sdl-prefix was given.
14037 if test "${with_sdl_prefix+set}" = set; then :
14038 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
14044 # Check whether --with-sdl-exec-prefix was given.
14045 if test "${with_sdl_exec_prefix+set}" = set; then :
14046 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
14051 # Check whether --enable-sdltest was given.
14052 if test "${enable_sdltest+set}" = set; then :
14053 enableval
=$enable_sdltest;
14059 if test x
$sdl_exec_prefix != x
; then
14060 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14061 if test x
${SDL_CONFIG+set} != xset
; then
14062 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14065 if test x
$sdl_prefix != x
; then
14066 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14067 if test x
${SDL_CONFIG+set} != xset
; then
14068 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14072 as_save_PATH
="$PATH"
14073 if test "x$prefix" != xNONE
; then
14074 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14076 # Extract the first word of "sdl-config", so it can be a program name with args.
14077 set dummy sdl-config
; ac_word
=$2
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14079 $as_echo_n "checking for $ac_word... " >&6; }
14080 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14081 $as_echo_n "(cached) " >&6
14083 case $SDL_CONFIG in
14085 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14089 for as_dir
in $PATH
14092 test -z "$as_dir" && as_dir
=.
14093 for ac_exec_ext
in '' $ac_executable_extensions; do
14094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14095 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14103 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14107 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14108 if test -n "$SDL_CONFIG"; then
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14110 $as_echo "$SDL_CONFIG" >&6; }
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14113 $as_echo "no" >&6; }
14117 PATH
="$as_save_PATH"
14118 min_sdl_version
=1.2.10
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14120 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14122 if test "$SDL_CONFIG" = "no" ; then
14125 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14126 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14128 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14130 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14132 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14133 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14134 if test "x$enable_sdltest" = "xyes" ; then
14135 ac_save_CFLAGS
="$CFLAGS"
14136 ac_save_CXXFLAGS
="$CXXFLAGS"
14137 ac_save_LIBS
="$LIBS"
14138 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14139 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14140 LIBS
="$LIBS $SDL_LIBS"
14142 if test "$cross_compiling" = yes; then :
14143 echo $ac_n "cross compiling; assumed OK... $ac_c"
14145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14149 #include <stdlib.h>
14150 #include <string.h>
14154 my_strdup (char *str)
14160 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14161 strcpy (new_str, str);
14169 int main (int argc, char *argv[])
14171 int major, minor, micro;
14174 /* This hangs on some systems (?)
14175 system ("touch conf.sdltest");
14177 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14179 /* HP/UX 9 (%@#!) writes to sscanf strings */
14180 tmp_version = my_strdup("$min_sdl_version");
14181 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14182 printf("%s, bad version string\n", "$min_sdl_version");
14186 if (($sdl_major_version > major) ||
14187 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14188 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14194 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14195 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14196 printf("*** best to upgrade to the required version.\n");
14197 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14198 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14199 printf("*** config.cache before re-running configure\n");
14206 if ac_fn_c_try_run
"$LINENO"; then :
14211 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14212 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14215 CFLAGS
="$ac_save_CFLAGS"
14216 CXXFLAGS
="$ac_save_CXXFLAGS"
14217 LIBS
="$ac_save_LIBS"
14220 if test "x$no_sdl" = x
; then
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14222 $as_echo "yes" >&6; }
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14226 $as_echo "no" >&6; }
14227 if test "$SDL_CONFIG" = "no" ; then
14228 echo "*** The sdl-config script installed by SDL could not be found"
14229 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14230 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14231 echo "*** full path to sdl-config."
14233 if test -f conf.sdltest
; then
14236 echo "*** Could not run SDL test program, checking why..."
14237 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14238 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14239 LIBS
="$LIBS $SDL_LIBS"
14240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14246 int main(int argc, char *argv[])
14249 #define main K_and_R_C_main
14259 if ac_fn_c_try_link
"$LINENO"; then :
14260 echo "*** The test program compiled, but did not run. This usually means"
14261 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14262 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14263 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14264 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14265 echo "*** is required on your system"
14267 echo "*** If you have an old version installed, it is best to remove it, although"
14268 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14270 echo "*** The test program failed to compile or link. See the file config.log for the"
14271 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14272 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14273 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14275 rm -f core conftest.err conftest.
$ac_objext \
14276 conftest
$ac_exeext conftest.
$ac_ext
14277 CFLAGS
="$ac_save_CFLAGS"
14278 CXXFLAGS
="$ac_save_CXXFLAGS"
14279 LIBS
="$ac_save_LIBS"
14291 if test "x-$have_sdl" != "x-yes" ; then
14293 if test "x-$sdl_hidd" != "x-auto" ; then
14294 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14298 sdl_hidd_target
=kernel-hidd-sdl
14299 aros_host_sdl_cflags
=SDL_CFLAGS
14300 aros_host_sdl_libs
=SDL_LIBS
14304 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14305 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14310 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14311 oss_library_target
=workbench-libs-oss-unix
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14317 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14318 # Check whether --enable-dbus was given.
14319 if test "${enable_dbus+set}" = set; then :
14320 enableval
=$enable_dbus; dbus
="yes"
14325 if test "$dbus" = "yes" ; then
14327 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14328 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14329 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14330 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14335 $as_echo "$dbus" >&6; }
14337 if test "$use_kernel_cc_wrapper" = "yes" ; then
14338 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14341 if test "${crosstools}" != "yes" ; then
14342 aros_target_toolchain
=no
14344 aros_target_toolchain
=yes
14360 # Compatability with other Amiga-like operation systems
14455 # Delinting target compiler flags
14479 # Native version related
14482 # Palm native version related
14485 # Unix/Hosted version related
14491 # Apple iOS related
14496 # ARM default GCC target related
14523 # Collect-aros stuff: "-ius" to ignore undefined symbols
14526 # C compiler related
14529 #ObjC compiler related
14535 case "$aros_flavour" in
14536 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14537 aros_flavour
="emulation" ;;
14538 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14539 aros_flavour
="emulation" ;;
14540 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14541 aros_flavour
="standalone";;
14542 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14543 aros_flavour
="standalone";;
14544 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14545 aros_flavour
="native" ;;
14546 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14547 aros_flavour
="native" ;;
14548 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14549 aros_flavour
="linklib" ;;
14550 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14551 aros_flavour
="palmnative" ;;
14552 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14553 aros_flavour
="mac68knative" ;;
14554 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14555 aros_flavour
="ppcnative" ;;
14558 if test ! -d ${aros_inc_dir} ; then
14559 ${MKDIR} ${aros_inc_dir}
14561 if test ! -d ${aros_geninc_dir} ; then
14562 ${MKDIR} ${aros_geninc_dir}
14564 if test ! -d ${aros_hostcfg_dir} ; then
14565 ${MKDIR} ${aros_hostcfg_dir}
14567 if test ! -d ${aros_targetcfg_dir} ; then
14568 ${MKDIR} ${aros_targetcfg_dir}
14570 if test ! -d ${aros_tools_dir} ; then
14571 ${MKDIR} ${aros_tools_dir}
14573 if test ! -d ${aros_scripts_dir} ; then
14574 ${MKDIR} ${aros_scripts_dir}
14577 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14580 ac_config_commands
="$ac_config_commands compiler_executable"
14582 ac_config_commands
="$ac_config_commands genmf_executable"
14585 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"
14588 cat >confcache
<<\_ACEOF
14589 # This file is a shell script that caches the results of configure
14590 # tests run on this system so they can be shared between configure
14591 # scripts and configure runs, see configure's option --config-cache.
14592 # It is not useful on other systems. If it contains results you don't
14593 # want to keep, you may remove or edit it.
14595 # config.status only pays attention to the cache file if you give it
14596 # the --recheck option to rerun configure.
14598 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14599 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14600 # following values.
14604 # The following way of writing the cache mishandles newlines in values,
14605 # but we know of no workaround that is simple, portable, and efficient.
14606 # So, we kill variables containing newlines.
14607 # Ultrix sh set writes to stderr and can't be redirected directly,
14608 # and sets the high bit in the cache file unless we assign to the vars.
14610 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14611 eval ac_val
=\$
$ac_var
14615 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14616 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14619 _ | IFS | as_nl
) ;; #(
14620 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14621 *) { eval $ac_var=; unset $ac_var;} ;;
14627 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14628 *${as_nl}ac_space
=\
*)
14629 # `set' does not quote correctly, so add quotes: double-quote
14630 # substitution turns \\\\ into \\, and sed turns \\ into \.
14633 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14636 # `set' quotes correctly as required by POSIX, so do not add quotes.
14637 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14646 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14648 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14650 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14651 if test -w "$cache_file"; then
14652 if test "x$cache_file" != "x/dev/null"; then
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14654 $as_echo "$as_me: updating cache $cache_file" >&6;}
14655 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14656 cat confcache
>"$cache_file"
14658 case $cache_file in #(
14660 mv -f confcache
"$cache_file"$$
&&
14661 mv -f "$cache_file"$$
"$cache_file" ;; #(
14663 mv -f confcache
"$cache_file" ;;
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14669 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14674 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14675 # Let make expand exec_prefix.
14676 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14678 DEFS
=-DHAVE_CONFIG_H
14683 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14684 # 1. Remove the extension, and $U if already installed.
14685 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14686 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14687 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14688 # will be set to the directory where LIBOBJS objects are built.
14689 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14690 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14692 LIBOBJS
=$ac_libobjs
14694 LTLIBOBJS
=$ac_ltlibobjs
14698 : "${CONFIG_STATUS=./config.status}"
14700 ac_clean_files_save
=$ac_clean_files
14701 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14703 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14705 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14707 # Generated by $as_me.
14708 # Run this file to recreate the current configuration.
14709 # Compiler output produced by configure, useful for debugging
14710 # configure, is in config.log if it exists.
14713 ac_cs_recheck=false
14716 SHELL=\${CONFIG_SHELL-$SHELL}
14719 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14720 ## -------------------- ##
14721 ## M4sh Initialization. ##
14722 ## -------------------- ##
14724 # Be more Bourne compatible
14725 DUALCASE
=1; export DUALCASE
# for MKS sh
14726 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14729 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14730 # is contrary to our usage. Disable this feature.
14731 alias -g '${1+"$@"}'='"$@"'
14732 setopt NO_GLOB_SUBST
14734 case `(set -o) 2>/dev/null` in #(
14746 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14747 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14748 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14749 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14750 # Prefer a ksh shell builtin over an external printf program on Solaris,
14751 # but without wasting forks for bash or zsh.
14752 if test -z "$BASH_VERSION$ZSH_VERSION" \
14753 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14754 as_echo='print
-r --'
14755 as_echo_n='print
-rn --'
14756 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14757 as_echo='printf %s
\n'
14758 as_echo_n='printf %s
'
14760 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14761 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14762 as_echo_n='/usr
/ucb
/echo -n'
14764 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14765 as_echo_n_body='eval
14769 expr "X$arg" : "X\\(.*\\)$as_nl";
14770 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14772 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14774 export as_echo_n_body
14775 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14777 export as_echo_body
14778 as_echo='sh
-c $as_echo_body as_echo
'
14781 # The user is always right.
14782 if test "${PATH_SEPARATOR+set}" != set; then
14784 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14785 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14792 # We need space, tab and new line, in precisely that order. Quoting is
14793 # there to prevent editors from complaining about space-tab.
14794 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14795 # splitting by setting IFS to empty value.)
14798 # Find who we are. Look in the path if we contain no directory separator.
14801 *[\\/]* ) as_myself=$0 ;;
14802 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14803 for as_dir in $PATH
14806 test -z "$as_dir" && as_dir=.
14807 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14813 # We did not find ourselves, most probably we were run as `sh COMMAND'
14814 # in which case we are not to be found in the path.
14815 if test "x$as_myself" = x
; then
14818 if test ! -f "$as_myself"; then
14819 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14823 # Unset variables that we do not need and which cause bugs (e.g. in
14824 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14825 # suppresses any "Segmentation fault" message there. '((' could
14826 # trigger a bug in pdksh 5.2.14.
14827 for as_var
in BASH_ENV ENV MAIL MAILPATH
14828 do eval test x\
${$as_var+set} = xset \
14829 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14842 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14845 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14846 # ----------------------------------------
14847 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14848 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14849 # script with STATUS, using 1 if that was 0.
14852 as_status
=$1; test $as_status -eq 0 && as_status
=1
14854 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14855 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14857 $as_echo "$as_me: error: $2" >&2
14858 as_fn_exit
$as_status
14862 # as_fn_set_status STATUS
14863 # -----------------------
14864 # Set $? to STATUS, without forking.
14865 as_fn_set_status
()
14868 } # as_fn_set_status
14870 # as_fn_exit STATUS
14871 # -----------------
14872 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14876 as_fn_set_status
$1
14882 # Portably unset VAR.
14885 { eval $1=; unset $1;}
14887 as_unset
=as_fn_unset
14888 # as_fn_append VAR VALUE
14889 # ----------------------
14890 # Append the text in VALUE to the end of the definition contained in VAR. Take
14891 # advantage of any shell optimizations that allow amortized linear growth over
14892 # repeated appends, instead of the typical quadratic growth present in naive
14894 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14895 eval 'as_fn_append ()
14906 # as_fn_arith ARG...
14907 # ------------------
14908 # Perform arithmetic evaluation on the ARGs, and store the result in the
14909 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14910 # must be portable across $(()) and expr.
14911 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14912 eval 'as_fn_arith ()
14919 as_val
=`expr "$@" || test $? -eq 1`
14924 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14925 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14931 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14932 as_basename
=basename
14937 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14943 as_me
=`$as_basename -- "$0" ||
14944 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14945 X"$0" : 'X\(//\)$' \| \
14946 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14948 sed '/^.*\/\([^/][^/]*\)\/*$/{
14962 # Avoid depending upon Character Ranges.
14963 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14964 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14965 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14966 as_cr_digits
='0123456789'
14967 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14969 ECHO_C
= ECHO_N
= ECHO_T
=
14970 case `echo -n x` in #(((((
14972 case `echo 'xy\c'` in
14973 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14975 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14982 rm -f conf$$ conf$$.exe conf$$.
file
14983 if test -d conf$$.dir
; then
14984 rm -f conf$$.dir
/conf$$.
file
14987 mkdir conf$$.dir
2>/dev
/null
14989 if (echo >conf$$.
file) 2>/dev
/null
; then
14990 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14992 # ... but there are two gotchas:
14993 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14994 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14995 # In both cases, we have to default to `cp -pR'.
14996 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14998 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15006 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15007 rmdir conf$$.dir
2>/dev
/null
15012 # Create "$as_dir" as a directory, including parents if necessary.
15017 -*) as_dir
=.
/$as_dir;;
15019 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15023 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15024 *) as_qdir
=$as_dir;;
15026 as_dirs
="'$as_qdir' $as_dirs"
15027 as_dir
=`$as_dirname -- "$as_dir" ||
15028 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15029 X"$as_dir" : 'X\(//\)[^/]' \| \
15030 X"$as_dir" : 'X\(//\)$' \| \
15031 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15032 $as_echo X"$as_dir" |
15033 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15037 /^X\(\/\/\)[^/].*/{
15050 test -d "$as_dir" && break
15052 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15053 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15057 if mkdir
-p .
2>/dev
/null
; then
15058 as_mkdir_p
='mkdir -p "$as_dir"'
15060 test -d .
/-p && rmdir .
/-p
15065 # as_fn_executable_p FILE
15066 # -----------------------
15067 # Test if FILE is an executable regular file.
15068 as_fn_executable_p
()
15070 test -f "$1" && test -x "$1"
15071 } # as_fn_executable_p
15072 as_test_x
='test -x'
15073 as_executable_p
=as_fn_executable_p
15075 # Sed expression to map a string onto a valid CPP name.
15076 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15078 # Sed expression to map a string onto a valid variable name.
15079 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15083 ## ----------------------------------- ##
15084 ## Main body of $CONFIG_STATUS script. ##
15085 ## ----------------------------------- ##
15087 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15090 # Save the log message, to keep $0 and so on meaningful, and to
15091 # report actual input values of CONFIG_FILES etc. instead of their
15092 # values after options handling.
15094 This file was extended by $as_me, which was
15095 generated by GNU Autoconf 2.69. Invocation command line was
15097 CONFIG_FILES = $CONFIG_FILES
15098 CONFIG_HEADERS = $CONFIG_HEADERS
15099 CONFIG_LINKS = $CONFIG_LINKS
15100 CONFIG_COMMANDS = $CONFIG_COMMANDS
15103 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15108 case $ac_config_files in *"
15109 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15112 case $ac_config_headers in *"
15113 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15118 # Files that config.status was made for.
15119 config_files="$ac_config_files"
15120 config_headers="$ac_config_headers"
15121 config_commands="$ac_config_commands"
15125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15127 \`$as_me' instantiates files and other configuration actions
15128 from templates according to the current configuration. Unless the files
15129 and actions are specified as TAGs, all are instantiated by default.
15131 Usage: $0 [OPTION]... [TAG]...
15133 -h, --help print this help, then exit
15134 -V, --version print version number and configuration settings, then exit
15135 --config print configuration, then exit
15136 -q, --quiet, --silent
15137 do not print progress messages
15138 -d, --debug don't remove temporary files
15139 --recheck update $as_me by reconfiguring in the same conditions
15140 --file=FILE[:TEMPLATE]
15141 instantiate the configuration file FILE
15142 --header=FILE[:TEMPLATE]
15143 instantiate the configuration header FILE
15145 Configuration files:
15148 Configuration headers:
15151 Configuration commands:
15154 Report bugs to the package provider."
15157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15158 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15161 configured by $0, generated by GNU Autoconf 2.69,
15162 with options \\"\$ac_cs_config\\"
15164 Copyright (C) 2012 Free Software Foundation, Inc.
15165 This config.status script is free software; the Free Software Foundation
15166 gives unlimited permission to copy, distribute and modify it."
15170 test -n "\$AWK" || AWK=awk
15173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15174 # The default lists apply if the user does not specify any file.
15180 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15181 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15185 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15197 # Handling of the options.
15198 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15200 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15201 $as_echo "$ac_cs_version"; exit ;;
15202 --config |
--confi |
--conf |
--con |
--co |
--c )
15203 $as_echo "$ac_cs_config"; exit ;;
15204 --debug |
--debu |
--deb |
--de |
--d |
-d )
15206 --file |
--fil |
--fi |
--f )
15209 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15210 '') as_fn_error $?
"missing file argument" ;;
15212 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15213 ac_need_defaults
=false
;;
15214 --header |
--heade |
--head |
--hea )
15217 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15219 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15220 ac_need_defaults
=false
;;
15222 # Conflict between --help and --header
15223 as_fn_error $?
"ambiguous option: \`$1'
15224 Try \`$0 --help' for more information.";;
15225 --help |
--hel |
-h )
15226 $as_echo "$ac_cs_usage"; exit ;;
15227 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15228 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15231 # This is an error.
15232 -*) as_fn_error $?
"unrecognized option: \`$1'
15233 Try \`$0 --help' for more information." ;;
15235 *) as_fn_append ac_config_targets
" $1"
15236 ac_need_defaults
=false
;;
15242 ac_configure_extra_args
=
15244 if $ac_cs_silent; then
15246 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15251 if \$ac_cs_recheck; then
15252 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15254 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15255 CONFIG_SHELL='$SHELL'
15256 export CONFIG_SHELL
15261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15265 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15266 ## Running $as_me. ##
15272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15277 aros_host_exe_suffix=${aros_host_exe_suffix}
15278 aros_tools_dir=${aros_tools_dir}
15279 aros_target_cpu=${aros_target_cpu}
15280 aros_target_arch=${aros_target_arch}
15281 aros_target_suffix=${aros_target_suffix}
15282 orig_target_nm=${orig_target_nm}
15283 orig_target_as=${orig_target_as}
15284 orig_target_ar=${orig_target_ar}
15285 orig_target_ranlib=${orig_target_ranlib}
15286 orig_target_objdump=${orig_target_objdump}
15287 orig_target_objcopy=${orig_target_objcopy}
15288 orig_target_strip=${orig_target_strip}
15289 aros_kernel_ld=${aros_kernel_ld}
15292 aros_tools_dir=${aros_tools_dir}
15297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15299 # Handling of arguments.
15300 for ac_config_target
in $ac_config_targets
15302 case $ac_config_target in
15303 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15304 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15305 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15306 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15307 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15308 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15309 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15310 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15311 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15312 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15313 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15314 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15315 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15316 "${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" ;;
15317 "${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" ;;
15318 "${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" ;;
15319 "${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" ;;
15320 "${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" ;;
15321 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15322 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15323 "${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" ;;
15325 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15330 # If the user did not use the arguments to specify the items to instantiate,
15331 # then the envvar interface is used. Set only those that are not.
15332 # We use the long form for the default assignment because of an extremely
15333 # bizarre bug on SunOS 4.1.3.
15334 if $ac_need_defaults; then
15335 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15336 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15337 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15340 # Have a temporary directory for convenience. Make it in the build tree
15341 # simply because there is no reason against having it here, and in addition,
15342 # creating and moving files from /tmp can sometimes cause problems.
15343 # Hook for its removal unless debugging.
15344 # Note that there is a small window in which the directory will not be cleaned:
15345 # after its creation but before its name has been assigned to `$tmp'.
15349 trap 'exit_status=$?
15350 : "${ac_tmp:=$tmp}"
15351 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15353 trap 'as_fn_exit 1' 1 2 13 15
15355 # Create a (secure) tmp directory for tmp files.
15358 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15362 tmp
=.
/conf$$
-$RANDOM
15363 (umask 077 && mkdir
"$tmp")
15364 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15367 # Set up the scripts for CONFIG_FILES section.
15368 # No need to generate them if there are no CONFIG_FILES.
15369 # This happens for instance with `./config.status config.h'.
15370 if test -n "$CONFIG_FILES"; then
15373 ac_cr
=`echo X | tr X '\015'`
15374 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15375 # But we know of no other shell where ac_cr would be empty at this
15376 # point, so we can use a bashism as a fallback.
15377 if test "x$ac_cr" = x
; then
15378 eval ac_cr
=\$
\'\\r
\'
15380 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15381 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15384 ac_cs_awk_cr
=$ac_cr
15387 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15392 echo "cat >conf$$subs.awk <<_ACEOF" &&
15393 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15395 } >conf$$subs.sh ||
15396 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15397 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15399 for ac_last_try in false false false false false :; do
15400 . ./conf$$subs.sh ||
15401 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15403 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15404 if test $ac_delim_n = $ac_delim_num; then
15406 elif $ac_last_try; then
15407 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15409 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15412 rm -f conf$$subs.sh
15414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15415 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15419 s/^/S["/; s
/!.
*/"]=/
15429 s/\(.\{148\}\)..*/\1/
15431 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15436 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15443 s/\(.\{148\}\)..*/\1/
15445 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15449 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15454 ' <conf$$subs.awk | sed '
15459 ' >>$CONFIG_STATUS || ac_write_fail=1
15460 rm -f conf$$subs.awk
15461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15463 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15464 for (key in S) S_is_set[key] = 1
15470 nfields = split(line, field, "@
")
15472 len = length(field[1])
15473 for (i = 2; i < nfields; i++) {
15475 keylen = length(key)
15476 if (S_is_set[key]) {
15478 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15479 len += length(value) + length(field[++i])
15490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15491 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15492 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15495 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15496 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15499 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15500 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15501 # trailing colons and then remove the whole line if VPATH becomes empty
15502 # (actually we leave an empty line to preserve line numbers).
15503 if test "x
$srcdir" = x.; then
15504 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15523 fi # test -n "$CONFIG_FILES"
15525 # Set up the scripts for CONFIG_HEADERS section.
15526 # No need to generate them if there are no CONFIG_HEADERS.
15527 # This happens for instance with `./config.status Makefile'.
15528 if test -n "$CONFIG_HEADERS"; then
15529 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15533 # Transform confdefs.h into an awk script `defines.awk', embedded as
15534 # here-document in config.status, that substitutes the proper values into
15535 # config.h.in to produce config.h.
15537 # Create a delimiter string that does not exist in confdefs.h, to ease
15538 # handling of long lines.
15540 for ac_last_try in false false :; do
15541 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15542 if test -z "$ac_tt"; then
15544 elif $ac_last_try; then
15545 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15547 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15551 # For the awk script, D is an array of macro values keyed by name,
15552 # likewise P contains macro parameters if any. Preserve backslash
15553 # newline sequences.
15555 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15557 s/.\{148\}/&'"$ac_delim"'/g
15560 s/^[ ]*#[ ]*define[ ][ ]*/ /
15567 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15569 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15573 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15574 D["\
1"]=" \
3\\\\\\n
"\\/p
15576 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15581 s/.\{148\}/&'"$ac_delim"'/g
15586 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15589 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15591 ' <confdefs.h | sed '
15592 s/'"$ac_delim"'/"\\\
15593 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15596 for (key in D) D_is_set[key] = 1
15599 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15601 split(line, arg, " ")
15602 if (arg[1] == "#") {
15606 defundef
= substr
(arg
[1], 2)
15609 split(mac1
, mac2
, "(") #)
15611 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15612 if (D_is_set
[macro
]) {
15613 # Preserve the white space surrounding the "#".
15614 print prefix
"define", macro P
[macro
] D
[macro
]
15617 # Replace #undef with comments. This is necessary, for example,
15618 # in the case of _POSIX_SOURCE, which is predefined and required
15619 # on some systems where configure will not decide to define it.
15620 if (defundef
== "undef") {
15621 print
"/*", prefix defundef
, macro
, "*/"
15629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15630 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15631 fi # test -n "$CONFIG_HEADERS"
15634 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15639 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15641 case $ac_mode$ac_tag in
15643 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15644 :[FH
]-) ac_tag
=-:-;;
15645 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15662 -) ac_f
="$ac_tmp/stdin";;
15663 *) # Look for the file first in the build tree, then in the source tree
15664 # (if the path is not absolute). The absolute path cannot be DOS-style,
15665 # because $ac_f cannot contain `:'.
15669 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15671 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15673 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15674 as_fn_append ac_file_inputs
" '$ac_f'"
15677 # Let's still pretend it is `configure' which instantiates (i.e., don't
15678 # use $as_me), people would be surprised to read:
15679 # /* config.h. Generated by config.status. */
15680 configure_input
='Generated from '`
15681 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15683 if test x
"$ac_file" != x-
; then
15684 configure_input
="$ac_file. $configure_input"
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15686 $as_echo "$as_me: creating $ac_file" >&6;}
15688 # Neutralize special characters interpreted by sed in replacement strings.
15689 case $configure_input in #(
15690 *\
&* |
*\|
* |
*\\* )
15691 ac_sed_conf_input
=`$as_echo "$configure_input" |
15692 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15693 *) ac_sed_conf_input
=$configure_input;;
15697 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15698 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15703 ac_dir
=`$as_dirname -- "$ac_file" ||
15704 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15705 X"$ac_file" : 'X\(//\)[^/]' \| \
15706 X"$ac_file" : 'X\(//\)$' \| \
15707 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15708 $as_echo X"$ac_file" |
15709 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15713 /^X\(\/\/\)[^/].*/{
15726 as_dir
="$ac_dir"; as_fn_mkdir_p
15730 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15732 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15733 # A ".." for each directory in $ac_dir_suffix.
15734 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15735 case $ac_top_builddir_sub in
15736 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15737 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15740 ac_abs_top_builddir
=$ac_pwd
15741 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15742 # for backward compatibility:
15743 ac_top_builddir
=$ac_top_build_prefix
15746 .
) # We are building in place.
15748 ac_top_srcdir
=$ac_top_builddir_sub
15749 ac_abs_top_srcdir
=$ac_pwd ;;
15750 [\\/]* | ?
:[\\/]* ) # Absolute name.
15751 ac_srcdir
=$srcdir$ac_dir_suffix;
15752 ac_top_srcdir
=$srcdir
15753 ac_abs_top_srcdir
=$srcdir ;;
15754 *) # Relative name.
15755 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15756 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15757 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15759 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15771 # If the template does not know about datarootdir, expand it.
15772 # FIXME: This hack should be removed a few years after 2.60.
15773 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15784 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15785 *datarootdir
*) ac_datarootdir_seen
=yes;;
15786 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15788 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15791 ac_datarootdir_hack='
15792 s&@datadir@&$datadir&g
15793 s&@docdir@&$docdir&g
15794 s&@infodir@&$infodir&g
15795 s&@localedir@&$localedir&g
15796 s&@mandir@&$mandir&g
15797 s&\\\${datarootdir}&$datarootdir&g' ;;
15801 # Neutralize VPATH when `$srcdir' = `.'.
15802 # Shell code in configure.ac might set extrasub.
15803 # FIXME: do we really want to maintain this feature?
15804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15805 ac_sed_extra="$ac_vpsub
15808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15810 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15811 s|@configure_input@|
$ac_sed_conf_input|
;t t
15812 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15813 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15814 s
&@srcdir@
&$ac_srcdir&;t t
15815 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15816 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15817 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15818 s
&@builddir@
&$ac_builddir&;t t
15819 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15820 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15821 $ac_datarootdir_hack
15823 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15824 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15826 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15827 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15828 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15829 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15831 which seems to be undefined. Please make sure it is defined" >&5
15832 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15833 which seems to be undefined. Please make sure it is defined" >&2;}
15835 rm -f "$ac_tmp/stdin"
15837 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15838 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15840 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15846 if test x"$ac_file" != x-; then
15848 $as_echo "/* $configure_input */" \
15849 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15850 } >"$ac_tmp/config.h" \
15851 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15852 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15854 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15857 mv "$ac_tmp/config.h" "$ac_file" \
15858 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15861 $as_echo "/* $configure_input */" \
15862 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15863 || as_fn_error $? "could not create -" "$LINENO" 5
15867 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15868 $as_echo "$as_me: executing $ac_file commands" >&6;}
15873 case $ac_file$ac_mode in
15874 "compiler_executable":C)
15875 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15877 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15878 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15882 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15884 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15885 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15886 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15887 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15888 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15889 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15890 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15892 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15894 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15902 ac_clean_files=$ac_clean_files_save
15904 test $ac_write_fail = 0 ||
15905 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15908 # configure is writing to config.log, and then calls config.status.
15909 # config.status does its own redirection, appending to config.log.
15910 # Unfortunately, on DOS this fails, as config.log is still kept open
15911 # by configure, so config.status won't be able to
write to it
; its
15912 # output is simply discarded. So we exec the FD to /dev/null,
15913 # effectively closing config.log, so it can be properly (re)opened and
15914 # appended to by config.status. When coming back to configure, we
15915 # need to make the FD available again.
15916 if test "$no_create" != yes; then
15918 ac_config_status_args
=
15919 test "$silent" = yes &&
15920 ac_config_status_args
="$ac_config_status_args --quiet"
15922 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15924 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15925 # would make configure fail if this is the last instruction.
15926 $ac_cs_success || as_fn_exit
1
15928 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15930 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15935 #XXX compatability...
15936 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15938 if test -n "$aros_shared_cflags" ; then
15939 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15940 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg