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
698 aros_target_cc_includes
713 aros_target_bootloader
733 aros_amigaos_compliance
739 aros_target_toolchain
748 aros_cflags_iquote_end
750 kernel_cflags_iquote_end
752 host_cflags_iquote_end
754 aros_target_nostdlib_ldflags
755 aros_target_detach_ldflags
756 aros_target_nix_ldflags
757 aros_target_nostartup_ldflags
758 aros_target_nostdinc_cflags
876 program_transform_name
889 enable_option_checking
894 with_kernel_gcc_version
897 enable_target_variant
904 enable_amigaos_compliance
905 with_kernel_toolchain_prefix
906 with_elf_toolchain_prefix
909 with_aros_toolchain_install
922 enable_palm_debug_hack
924 enable_nesting_supervisor
936 ac_precious_vars
='build_alias
952 # Initialize some variables set by options.
954 ac_init_version
=false
955 ac_unrecognized_opts
=
957 # The variables have the same names as the options, with
958 # dashes changed to underlines.
966 program_transform_name
=s
,x
,x
,
974 # Installation directory options.
975 # These are left unexpanded so users can "make install exec_prefix=/foo"
976 # and all the variables that are supposed to be based on exec_prefix
977 # by default will actually change.
978 # Use braces instead of parens because sh, perl, etc. also accept them.
979 # (The list follows the same order as the GNU Coding Standards.)
980 bindir
='${exec_prefix}/bin'
981 sbindir
='${exec_prefix}/sbin'
982 libexecdir
='${exec_prefix}/libexec'
983 datarootdir
='${prefix}/share'
984 datadir
='${datarootdir}'
985 sysconfdir
='${prefix}/etc'
986 sharedstatedir
='${prefix}/com'
987 localstatedir
='${prefix}/var'
988 includedir
='${prefix}/include'
989 oldincludedir
='/usr/include'
990 docdir
='${datarootdir}/doc/${PACKAGE}'
991 infodir
='${datarootdir}/info'
996 libdir
='${exec_prefix}/lib'
997 localedir
='${datarootdir}/locale'
998 mandir
='${datarootdir}/man'
1004 # If the previous option needs an argument, assign it.
1005 if test -n "$ac_prev"; then
1006 eval $ac_prev=\
$ac_option
1012 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1017 # Accept the important Cygnus configure options, so we can diagnose typos.
1019 case $ac_dashdash$ac_option in
1023 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1025 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1026 bindir
=$ac_optarg ;;
1028 -build |
--build |
--buil |
--bui |
--bu)
1029 ac_prev
=build_alias
;;
1030 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1031 build_alias
=$ac_optarg ;;
1033 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1034 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1035 ac_prev
=cache_file
;;
1036 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1037 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1038 cache_file
=$ac_optarg ;;
1040 --config-cache |
-C)
1041 cache_file
=config.cache
;;
1043 -datadir |
--datadir |
--datadi |
--datad)
1045 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1046 datadir
=$ac_optarg ;;
1048 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1049 |
--dataroo |
--dataro |
--datar)
1050 ac_prev
=datarootdir
;;
1051 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1052 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1053 datarootdir
=$ac_optarg ;;
1055 -disable-* |
--disable-*)
1056 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1059 as_fn_error $?
"invalid feature name: $ac_useropt"
1060 ac_useropt_orig
=$ac_useropt
1061 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 case $ac_user_opts in
1064 "enable_
$ac_useropt"
1066 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1067 ac_unrecognized_sep
=', ';;
1069 eval enable_
$ac_useropt=no
;;
1071 -docdir |
--docdir |
--docdi |
--doc |
--do)
1073 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1074 docdir
=$ac_optarg ;;
1076 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1078 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1079 dvidir
=$ac_optarg ;;
1081 -enable-* |
--enable-*)
1082 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1083 # Reject names that are not valid shell variable names.
1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1085 as_fn_error $?
"invalid feature name: $ac_useropt"
1086 ac_useropt_orig
=$ac_useropt
1087 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1088 case $ac_user_opts in
1090 "enable_
$ac_useropt"
1092 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1093 ac_unrecognized_sep
=', ';;
1095 eval enable_
$ac_useropt=\
$ac_optarg ;;
1097 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1098 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1099 |
--exec |
--exe |
--ex)
1100 ac_prev
=exec_prefix
;;
1101 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1102 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1103 |
--exec=* |
--exe=* |
--ex=*)
1104 exec_prefix
=$ac_optarg ;;
1106 -gas |
--gas |
--ga |
--g)
1107 # Obsolete; use --with-gas.
1110 -help |
--help |
--hel |
--he |
-h)
1111 ac_init_help
=long
;;
1112 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1113 ac_init_help
=recursive
;;
1114 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1115 ac_init_help
=short
;;
1117 -host |
--host |
--hos |
--ho)
1118 ac_prev
=host_alias
;;
1119 -host=* |
--host=* |
--hos=* |
--ho=*)
1120 host_alias
=$ac_optarg ;;
1122 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1124 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1126 htmldir
=$ac_optarg ;;
1128 -includedir |
--includedir |
--includedi |
--included |
--include \
1129 |
--includ |
--inclu |
--incl |
--inc)
1130 ac_prev
=includedir
;;
1131 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1132 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1133 includedir
=$ac_optarg ;;
1135 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1137 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1138 infodir
=$ac_optarg ;;
1140 -libdir |
--libdir |
--libdi |
--libd)
1142 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1143 libdir
=$ac_optarg ;;
1145 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1146 |
--libexe |
--libex |
--libe)
1147 ac_prev
=libexecdir
;;
1148 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1149 |
--libexe=* |
--libex=* |
--libe=*)
1150 libexecdir
=$ac_optarg ;;
1152 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1153 ac_prev
=localedir
;;
1154 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1155 localedir
=$ac_optarg ;;
1157 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1158 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1159 ac_prev
=localstatedir
;;
1160 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1161 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1162 localstatedir
=$ac_optarg ;;
1164 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1166 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1167 mandir
=$ac_optarg ;;
1169 -nfp |
--nfp |
--nf)
1170 # Obsolete; use --without-fp.
1173 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1174 |
--no-cr |
--no-c |
-n)
1177 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1178 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1181 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1182 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1183 |
--oldin |
--oldi |
--old |
--ol |
--o)
1184 ac_prev
=oldincludedir
;;
1185 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1186 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1187 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1188 oldincludedir
=$ac_optarg ;;
1190 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1192 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1193 prefix
=$ac_optarg ;;
1195 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1196 |
--program-pre |
--program-pr |
--program-p)
1197 ac_prev
=program_prefix
;;
1198 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1199 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1200 program_prefix
=$ac_optarg ;;
1202 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1203 |
--program-suf |
--program-su |
--program-s)
1204 ac_prev
=program_suffix
;;
1205 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1206 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1207 program_suffix
=$ac_optarg ;;
1209 -program-transform-name |
--program-transform-name \
1210 |
--program-transform-nam |
--program-transform-na \
1211 |
--program-transform-n |
--program-transform- \
1212 |
--program-transform |
--program-transfor \
1213 |
--program-transfo |
--program-transf \
1214 |
--program-trans |
--program-tran \
1215 |
--progr-tra |
--program-tr |
--program-t)
1216 ac_prev
=program_transform_name
;;
1217 -program-transform-name=* |
--program-transform-name=* \
1218 |
--program-transform-nam=* |
--program-transform-na=* \
1219 |
--program-transform-n=* |
--program-transform-=* \
1220 |
--program-transform=* |
--program-transfor=* \
1221 |
--program-transfo=* |
--program-transf=* \
1222 |
--program-trans=* |
--program-tran=* \
1223 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1224 program_transform_name
=$ac_optarg ;;
1226 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1228 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1229 pdfdir
=$ac_optarg ;;
1231 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1233 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1236 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1237 |
-silent |
--silent |
--silen |
--sile |
--sil)
1240 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1242 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1244 sbindir
=$ac_optarg ;;
1246 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1247 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1248 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1250 ac_prev
=sharedstatedir
;;
1251 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1252 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1253 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1255 sharedstatedir
=$ac_optarg ;;
1257 -site |
--site |
--sit)
1259 -site=* |
--site=* |
--sit=*)
1262 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1264 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1265 srcdir
=$ac_optarg ;;
1267 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1268 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1269 ac_prev
=sysconfdir
;;
1270 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1271 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1272 sysconfdir
=$ac_optarg ;;
1274 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1275 ac_prev
=target_alias
;;
1276 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1277 target_alias
=$ac_optarg ;;
1279 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1282 -version |
--version |
--versio |
--versi |
--vers |
-V)
1283 ac_init_version
=: ;;
1286 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1287 # Reject names that are not valid shell variable names.
1288 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1289 as_fn_error $?
"invalid package name: $ac_useropt"
1290 ac_useropt_orig
=$ac_useropt
1291 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1292 case $ac_user_opts in
1296 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1297 ac_unrecognized_sep
=', ';;
1299 eval with_
$ac_useropt=\
$ac_optarg ;;
1301 -without-* |
--without-*)
1302 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1303 # Reject names that are not valid shell variable names.
1304 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1305 as_fn_error $?
"invalid package name: $ac_useropt"
1306 ac_useropt_orig
=$ac_useropt
1307 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1308 case $ac_user_opts in
1312 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1313 ac_unrecognized_sep
=', ';;
1315 eval with_
$ac_useropt=no
;;
1318 # Obsolete; use --with-x.
1321 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1322 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1323 ac_prev
=x_includes
;;
1324 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1325 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1326 x_includes
=$ac_optarg ;;
1328 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1329 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1330 ac_prev
=x_libraries
;;
1331 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1332 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1333 x_libraries
=$ac_optarg ;;
1335 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1336 Try \`$0 --help' for more information"
1340 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1341 # Reject names that are not valid shell variable names.
1342 case $ac_envvar in #(
1343 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1344 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1346 eval $ac_envvar=\
$ac_optarg
1347 export $ac_envvar ;;
1350 # FIXME: should be removed in autoconf 3.0.
1351 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1352 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1353 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1354 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1360 if test -n "$ac_prev"; then
1361 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1362 as_fn_error $?
"missing argument to $ac_option"
1365 if test -n "$ac_unrecognized_opts"; then
1366 case $enable_option_checking in
1368 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1369 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1373 # Check all directory arguments for consistency.
1374 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1375 datadir sysconfdir sharedstatedir localstatedir includedir \
1376 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1377 libdir localedir mandir
1379 eval ac_val
=\$
$ac_var
1380 # Remove trailing slashes.
1383 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1384 eval $ac_var=\
$ac_val;;
1386 # Be sure to have absolute directory names.
1388 [\\/$
]* | ?
:[\\/]* ) continue;;
1389 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1391 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1394 # There might be people who depend on the old broken behavior: `$host'
1395 # used to hold the argument of --host etc.
1396 # FIXME: To remove some day.
1399 target
=$target_alias
1401 # FIXME: To remove some day.
1402 if test "x$host_alias" != x
; then
1403 if test "x$build_alias" = x
; then
1404 cross_compiling
=maybe
1405 elif test "x$build_alias" != "x$host_alias"; then
1411 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1413 test "$silent" = yes && exec 6>/dev
/null
1416 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1417 ac_ls_di
=`ls -di .` &&
1418 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1419 as_fn_error $?
"working directory cannot be determined"
1420 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1421 as_fn_error $?
"pwd does not report name of working directory"
1424 # Find the source files, if location was not specified.
1425 if test -z "$srcdir"; then
1426 ac_srcdir_defaulted
=yes
1427 # Try the directory containing this script, then the parent directory.
1428 ac_confdir
=`$as_dirname -- "$as_myself" ||
1429 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1430 X"$as_myself" : 'X\(//\)[^/]' \| \
1431 X"$as_myself" : 'X\(//\)$' \| \
1432 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1433 $as_echo X"$as_myself" |
1434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1452 if test ! -r "$srcdir/$ac_unique_file"; then
1456 ac_srcdir_defaulted
=no
1458 if test ! -r "$srcdir/$ac_unique_file"; then
1459 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1460 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1462 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1464 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1466 # When building in place, set srcdir=.
1467 if test "$ac_abs_confdir" = "$ac_pwd"; then
1470 # Remove unnecessary trailing slashes from srcdir.
1471 # Double slashes in file names in object file debugging info
1472 # mess up M-x gdb in Emacs.
1474 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1476 for ac_var
in $ac_precious_vars; do
1477 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1478 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1479 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1480 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1484 # Report the --help message.
1486 if test "$ac_init_help" = "long"; then
1487 # Omit some internal or obsolete options to make the list less imposing.
1488 # This message is too long to be a string in the A/UX 3.1 sh.
1490 \`configure' configures this package to adapt to many kinds of systems.
1492 Usage: $0 [OPTION]... [VAR=VALUE]...
1494 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1495 VAR=VALUE. See below for descriptions of some of the useful variables.
1497 Defaults for the options are specified in brackets.
1500 -h, --help display this help and exit
1501 --help=short display options specific to this package
1502 --help=recursive display the short help of all the included packages
1503 -V, --version display version information and exit
1504 -q, --quiet, --silent do not print \`checking ...' messages
1505 --cache-file=FILE cache test results in FILE [disabled]
1506 -C, --config-cache alias for \`--cache-file=config.cache'
1507 -n, --no-create do not create output files
1508 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1510 Installation directories:
1511 --prefix=PREFIX install architecture-independent files in PREFIX
1512 [$ac_default_prefix]
1513 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1516 By default, \`make install' will install all the files in
1517 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1518 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1519 for instance \`--prefix=\$HOME'.
1521 For better control, use the options below.
1523 Fine tuning of the installation directories:
1524 --bindir=DIR user executables [EPREFIX/bin]
1525 --sbindir=DIR system admin executables [EPREFIX/sbin]
1526 --libexecdir=DIR program executables [EPREFIX/libexec]
1527 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1528 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1529 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1530 --libdir=DIR object code libraries [EPREFIX/lib]
1531 --includedir=DIR C header files [PREFIX/include]
1532 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1533 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1534 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1535 --infodir=DIR info documentation [DATAROOTDIR/info]
1536 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1537 --mandir=DIR man documentation [DATAROOTDIR/man]
1538 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1539 --htmldir=DIR html documentation [DOCDIR]
1540 --dvidir=DIR dvi documentation [DOCDIR]
1541 --pdfdir=DIR pdf documentation [DOCDIR]
1542 --psdir=DIR ps documentation [DOCDIR]
1548 --x-includes=DIR X include files are
in DIR
1549 --x-libraries=DIR X library files are
in DIR
1552 --build=BUILD configure
for building on BUILD
[guessed
]
1553 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1557 if test -n "$ac_init_help"; then
1562 --disable-option-checking ignore unrecognized
--enable/--with options
1563 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1564 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1565 --enable-build-type=TYPE
1566 Select the build
type. Available types are
:
1567 personal
, nightly
, snapshot
, milestone
, release. Do
1568 NOT use this option unless you know what you are
1569 doing
! (default
=personal
)
1570 --enable-debug=list Enable different types of debug. Commas or
1571 whitespaces can be used to separate the items
in the
1572 list. Available types of debug are
: all
, none
,
1573 messages
, stack
, mungwall
, modules
, symbols. If no
1574 list is provided
then "all" is assumed.
1576 --enable-distcc Use distcc as a front end to the compiler
1578 --enable-ccache Use ccache as a front end to the compiler
1580 --enable-target-variant=NAME
1581 Enable a specific target variant
(default
=none
)
1582 --enable-amigaos-compliance=VERSION
1583 Enforce userspace AmigaOS compliance to a specific
1584 KickStart version
(default
=none
).
1585 --disable-crosstools Do not build cross-compiler toolchain
1586 --disable-objc Build without Objectve-C support
1587 --enable-includes=dir Alternative system include directory
1588 --enable-palm-debug-hack
1589 Enable palm debug output hack
in palm native
1591 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1592 --enable-nesting-supervisor
1593 Enable nesting supervisor support
in unix
1595 --disable-mmu Disable MMU support
(default
=enabled
)
1596 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1597 --enable-x11-shm use X11 shared memory
(default
=auto
)
1598 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1599 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1600 --disable-sdltest Do not try to compile and run a
test SDL program
1601 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1604 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1605 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1606 --with-kernel-gcc-version=VERSION
1607 Use gcc-VERSION
for building bootstrap
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-gcc-version=VERSION
1637 Use gcc-VERSION
for building AROS
1638 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1639 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1640 --with-float=<spec
> Specify floating point ABI
1641 (default
=$gcc_default_float_abi).
1642 --with-portssources=DIR Where to download sourcecode
for external ports
1643 --with-bootloader=NAME Use a specific bootloader
1644 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1645 --with-theme=NAME Use a specific GUI Theme
1646 --with-resolution=XRESxYRESxDEPTH
1647 Default resolution of the initial WorkbenchScreen
1648 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1649 --with-x use the X Window System
1650 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1651 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1653 Some influential environment variables
:
1654 CXX C
++ compiler
command
1655 CXXFLAGS C
++ compiler flags
1656 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1657 nonstandard directory
<lib dir
>
1658 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1659 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1660 you have headers
in a nonstandard directory
<include dir
>
1661 CC C compiler
command
1662 CFLAGS C compiler flags
1664 PYTHON the Python interpreter
1665 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1667 Use these variables to override the choices made by
`configure' or to help
1668 it to find libraries and programs with nonstandard names/locations.
1670 Report bugs to the package provider.
1675 if test "$ac_init_help" = "recursive"; then
1676 # If there are subdirs, report their specific --help.
1677 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1678 test -d "$ac_dir" ||
1679 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1684 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1686 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1687 # A ".." for each directory in $ac_dir_suffix.
1688 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1689 case $ac_top_builddir_sub in
1690 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1691 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1694 ac_abs_top_builddir=$ac_pwd
1695 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1696 # for backward compatibility:
1697 ac_top_builddir=$ac_top_build_prefix
1700 .) # We are building in place.
1702 ac_top_srcdir=$ac_top_builddir_sub
1703 ac_abs_top_srcdir=$ac_pwd ;;
1704 [\\/]* | ?:[\\/]* ) # Absolute name.
1705 ac_srcdir=$srcdir$ac_dir_suffix;
1706 ac_top_srcdir=$srcdir
1707 ac_abs_top_srcdir=$srcdir ;;
1709 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1710 ac_top_srcdir=$ac_top_build_prefix$srcdir
1711 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1713 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1715 cd "$ac_dir" || { ac_status=$?; continue; }
1716 # Check for guested configure.
1717 if test -f "$ac_srcdir/configure.gnu"; then
1719 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1720 elif test -f "$ac_srcdir/configure"; then
1722 $SHELL "$ac_srcdir/configure" --help=recursive
1724 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1726 cd "$ac_pwd" || { ac_status=$?; break; }
1730 test -n "$ac_init_help" && exit $ac_status
1731 if $ac_init_version; then
1734 generated by GNU Autoconf 2.69
1736 Copyright (C) 2012 Free Software Foundation, Inc.
1737 This configure script is free software; the Free Software Foundation
1738 gives unlimited permission to copy, distribute and modify it.
1743 ## ------------------------ ##
1744 ## Autoconf initialization. ##
1745 ## ------------------------ ##
1747 # ac_fn_cxx_try_compile LINENO
1748 # ----------------------------
1749 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1750 ac_fn_cxx_try_compile ()
1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753 rm -f conftest.$ac_objext
1754 if { { ac_try="$ac_compile"
1756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1757 *) ac_try_echo
=$ac_try;;
1759 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 $as_echo "$ac_try_echo"; } >&5
1761 (eval "$ac_compile") 2>conftest.err
1763 if test -s conftest.err
; then
1764 grep -v '^ *+' conftest.err
>conftest.er1
1765 cat conftest.er1
>&5
1766 mv -f conftest.er1 conftest.err
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && {
1770 test -z "$ac_cxx_werror_flag" ||
1771 test ! -s conftest.err
1772 } && test -s conftest.
$ac_objext; then :
1775 $as_echo "$as_me: failed program was:" >&5
1776 sed 's/^/| /' conftest.
$ac_ext >&5
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 as_fn_set_status
$ac_retval
1783 } # ac_fn_cxx_try_compile
1785 # ac_fn_c_try_compile LINENO
1786 # --------------------------
1787 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1788 ac_fn_c_try_compile
()
1790 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1791 rm -f conftest.
$ac_objext
1792 if { { ac_try
="$ac_compile"
1794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1795 *) ac_try_echo=$ac_try;;
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_compile") 2>conftest.err
1801 if test -s conftest.err; then
1802 grep -v '^ *+' conftest.err >conftest.er1
1803 cat conftest.er1 >&5
1804 mv -f conftest.er1 conftest.err
1806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807 test $ac_status = 0; } && {
1808 test -z "$ac_c_werror_flag" ||
1809 test ! -s conftest.err
1810 } && test -s conftest.$ac_objext; then :
1813 $as_echo "$as_me: failed program was:" >&5
1814 sed 's/^/| /' conftest.$ac_ext >&5
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1819 as_fn_set_status $ac_retval
1821 } # ac_fn_c_try_compile
1823 # ac_fn_c_try_cpp LINENO
1824 # ----------------------
1825 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 if { { ac_try="$ac_cpp conftest.$ac_ext"
1831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1832 *) ac_try_echo
=$ac_try;;
1834 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1838 if test -s conftest.err
; then
1839 grep -v '^ *+' conftest.err
>conftest.er1
1840 cat conftest.er1
>&5
1841 mv -f conftest.er1 conftest.err
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; } > conftest.i
&& {
1845 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1846 test ! -s conftest.err
1850 $as_echo "$as_me: failed program was:" >&5
1851 sed 's/^/| /' conftest.
$ac_ext >&5
1855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1856 as_fn_set_status
$ac_retval
1860 # ac_fn_c_try_link LINENO
1861 # -----------------------
1862 # Try to link conftest.$ac_ext, and return whether this succeeded.
1865 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1866 rm -f conftest.
$ac_objext conftest
$ac_exeext
1867 if { { ac_try
="$ac_link"
1869 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1870 *) ac_try_echo=$ac_try;;
1872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1873 $as_echo "$ac_try_echo"; } >&5
1874 (eval "$ac_link") 2>conftest.err
1876 if test -s conftest.err; then
1877 grep -v '^ *+' conftest.err >conftest.er1
1878 cat conftest.er1 >&5
1879 mv -f conftest.er1 conftest.err
1881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882 test $ac_status = 0; } && {
1883 test -z "$ac_c_werror_flag" ||
1884 test ! -s conftest.err
1885 } && test -s conftest$ac_exeext && {
1886 test "$cross_compiling" = yes ||
1887 test -x conftest$ac_exeext
1891 $as_echo "$as_me: failed program was:" >&5
1892 sed 's/^/| /' conftest.$ac_ext >&5
1896 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1897 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1898 # interfere with the next link command; also delete a directory that is
1899 # left behind by Apple's compiler. We do this before executing the actions.
1900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1902 as_fn_set_status $ac_retval
1904 } # ac_fn_c_try_link
1906 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1907 # -------------------------------------------------------
1908 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1909 # the include files in INCLUDES and setting the cache variable VAR
1911 ac_fn_c_check_header_mongrel ()
1913 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1914 if eval \${$3+:} false; then :
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1916 $as_echo_n "checking for $2... " >&6; }
1917 if eval \${$3+:} false; then :
1918 $as_echo_n "(cached) " >&6
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1922 $as_echo "$ac_res" >&6; }
1924 # Is the header compilable?
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1926 $as_echo_n "checking $2 usability... " >&6; }
1927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1928 /* end confdefs.h. */
1932 if ac_fn_c_try_compile "$LINENO"; then :
1933 ac_header_compiler=yes
1935 ac_header_compiler=no
1937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1939 $as_echo "$ac_header_compiler" >&6; }
1941 # Is the header present?
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1943 $as_echo_n "checking $2 presence... " >&6; }
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1948 if ac_fn_c_try_cpp "$LINENO"; then :
1949 ac_header_preproc=yes
1951 ac_header_preproc=no
1953 rm -f conftest.err conftest.i conftest.$ac_ext
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1955 $as_echo "$ac_header_preproc" >&6; }
1957 # So? What about this header?
1958 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1961 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1963 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1967 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1969 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1971 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1973 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1975 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1979 $as_echo_n "checking for $2... " >&6; }
1980 if eval \${$3+:} false; then :
1981 $as_echo_n "(cached) " >&6
1983 eval "$3=\$ac_header_compiler"
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1987 $as_echo "$ac_res" >&6; }
1989 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1991 } # ac_fn_c_check_header_mongrel
1993 # ac_fn_c_try_run LINENO
1994 # ----------------------
1995 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1996 # that executables *can* be run.
1999 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2000 if { { ac_try="$ac_link"
2002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2003 *) ac_try_echo
=$ac_try;;
2005 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2006 $as_echo "$ac_try_echo"; } >&5
2007 (eval "$ac_link") 2>&5
2009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2010 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2011 { { case "(($ac_try" in
2012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2013 *) ac_try_echo=$ac_try;;
2015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2016 $as_echo "$ac_try_echo"; } >&5
2017 (eval "$ac_try") 2>&5
2019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2020 test $ac_status = 0; }; }; then :
2023 $as_echo "$as_me: program exited with status $ac_status" >&5
2024 $as_echo "$as_me: failed program was:" >&5
2025 sed 's/^/| /' conftest.$ac_ext >&5
2027 ac_retval=$ac_status
2029 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2031 as_fn_set_status $ac_retval
2035 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2036 # -------------------------------------------------------
2037 # Tests whether HEADER exists and can be compiled using the include files in
2038 # INCLUDES, setting the cache variable VAR accordingly.
2039 ac_fn_c_check_header_compile ()
2041 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2043 $as_echo_n "checking for $2... " >&6; }
2044 if eval \${$3+:} false; then :
2045 $as_echo_n "(cached) " >&6
2047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2052 if ac_fn_c_try_compile "$LINENO"; then :
2057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2061 $as_echo "$ac_res" >&6; }
2062 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2064 } # ac_fn_c_check_header_compile
2066 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2067 # ----------------------------------------------------
2068 # Tries to find if the field MEMBER exists in type AGGR, after including
2069 # INCLUDES, setting cache variable VAR accordingly.
2070 ac_fn_c_check_member ()
2072 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2074 $as_echo_n "checking for $2.$3... " >&6; }
2075 if eval \${$4+:} false; then :
2076 $as_echo_n "(cached) " >&6
2078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h. */
2091 if ac_fn_c_try_compile "$LINENO"; then :
2094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2101 if (sizeof ac_aggr.$3)
2107 if ac_fn_c_try_compile "$LINENO"; then :
2112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 $as_echo "$ac_res" >&6; }
2119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2121 } # ac_fn_c_check_member
2123 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2124 # ---------------------------------------------
2125 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2127 ac_fn_c_check_decl ()
2129 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2130 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2131 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2133 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2134 if eval \${$3+:} false; then :
2135 $as_echo_n "(cached) " >&6
2137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h. */
2143 #ifndef $as_decl_name
2145 (void) $as_decl_use;
2147 (void) $as_decl_name;
2155 if ac_fn_c_try_compile "$LINENO"; then :
2160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2167 } # ac_fn_c_check_decl
2169 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2170 # -------------------------------------------
2171 # Tests whether TYPE exists after having included INCLUDES, setting cache
2172 # variable VAR accordingly.
2173 ac_fn_c_check_type ()
2175 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2177 $as_echo_n "checking for $2... " >&6; }
2178 if eval \${$3+:} false; then :
2179 $as_echo_n "(cached) " >&6
2182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2194 if ac_fn_c_try_compile "$LINENO"; then :
2195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2196 /* end confdefs.h. */
2207 if ac_fn_c_try_compile "$LINENO"; then :
2212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2218 $as_echo "$ac_res" >&6; }
2219 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2221 } # ac_fn_c_check_type
2223 # ac_fn_c_check_func LINENO FUNC VAR
2224 # ----------------------------------
2225 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2226 ac_fn_c_check_func ()
2228 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2230 $as_echo_n "checking for $2... " >&6; }
2231 if eval \${$3+:} false; then :
2232 $as_echo_n "(cached) " >&6
2234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2235 /* end confdefs.h. */
2236 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2238 #define $2 innocuous_$2
2240 /* System header to define __stub macros and hopefully few prototypes,
2241 which can conflict with char $2 (); below.
2242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2243 <limits.h> exists even on freestanding compilers. */
2246 # include <limits.h>
2248 # include <assert.h>
2253 /* Override any GCC internal prototype to avoid an error.
2254 Use char because int might match the return type of a GCC
2255 builtin and then its argument prototype would still apply. */
2260 /* The GNU C library defines this for functions which it implements
2261 to always fail with ENOSYS. Some functions are actually named
2262 something starting with __ and the normal name is an alias. */
2263 #if defined __stub_$2 || defined __stub___$2
2275 if ac_fn_c_try_link "$LINENO"; then :
2280 rm -f core conftest.err conftest.$ac_objext \
2281 conftest$ac_exeext conftest.$ac_ext
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2285 $as_echo "$ac_res" >&6; }
2286 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2288 } # ac_fn_c_check_func
2289 cat >config.log <<_ACEOF
2290 This file contains any messages produced by compilers while
2291 running configure, to aid debugging if configure makes a mistake.
2293 It was created by $as_me, which was
2294 generated by GNU Autoconf 2.69. Invocation command line was
2306 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2307 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2308 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2309 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2310 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2312 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2313 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2315 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2316 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2317 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2318 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2319 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2320 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2321 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 test -z "$as_dir" && as_dir=.
2330 $as_echo "PATH: $as_dir"
2346 # Keep a trace of the command line.
2347 # Strip out --no-create and --no-recursion so they do not pile up.
2348 # Strip out --silent because we don't want to record it for future runs.
2349 # Also quote any args containing shell meta-characters.
2350 # Make two passes to allow for proper duplicate-argument suppression.
2354 ac_must_keep_next=false
2360 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2361 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2362 | -silent | --silent | --silen | --sile | --sil)
2365 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2368 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2370 as_fn_append ac_configure_args1 " '$ac_arg'"
2371 if test $ac_must_keep_next = true; then
2372 ac_must_keep_next=false # Got value, back to normal.
2375 *=* | --config-cache | -C | -disable-* | --disable-* \
2376 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2377 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2378 | -with-* | --with-* | -without-* | --without-* | --x)
2379 case "$ac_configure_args0 " in
2380 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2383 -* ) ac_must_keep_next=true ;;
2386 as_fn_append ac_configure_args " '$ac_arg'"
2391 { ac_configure_args0=; unset ac_configure_args0;}
2392 { ac_configure_args1=; unset ac_configure_args1;}
2394 # When interrupted or exit'd, cleanup temporary files, and complete
2395 # config.log. We remove comments because anyway the quotes in there
2396 # would cause problems or look ugly.
2397 # WARNING: Use '\'' to represent an apostrophe within the trap.
2398 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2399 trap 'exit_status=$?
2400 # Save into config.log some information that might help in debugging.
2404 $as_echo "## ---------------- ##
2405 ## Cache variables. ##
2406 ## ---------------- ##"
2408 # The following way of writing the cache mishandles newlines in values,
2410 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2411 eval ac_val=\$$ac_var
2415 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2416 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2419 _ | IFS | as_nl) ;; #(
2420 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2421 *) { eval $ac_var=; unset $ac_var;} ;;
2426 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2427 *${as_nl}ac_space=\ *)
2429 "s/'\''/'\''\\\\'\'''\''/g;
2430 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2433 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2440 $as_echo "## ----------------- ##
2441 ## Output variables. ##
2442 ## ----------------- ##"
2444 for ac_var in $ac_subst_vars
2446 eval ac_val=\$$ac_var
2448 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2450 $as_echo "$ac_var='\''$ac_val'\''"
2454 if test -n "$ac_subst_files"; then
2455 $as_echo "## ------------------- ##
2456 ## File substitutions. ##
2457 ## ------------------- ##"
2459 for ac_var in $ac_subst_files
2461 eval ac_val=\$$ac_var
2463 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2465 $as_echo "$ac_var='\''$ac_val'\''"
2470 if test -s confdefs.h; then
2471 $as_echo "## ----------- ##
2478 test "$ac_signal" != 0 &&
2479 $as_echo "$as_me: caught signal $ac_signal"
2480 $as_echo "$as_me: exit $exit_status"
2482 rm -f core *.core core.conftest.* &&
2483 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2486 for ac_signal in 1 2 13 15; do
2487 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2491 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2492 rm -f -r conftest* confdefs.h
2494 $as_echo "/* confdefs.h */" > confdefs.h
2496 # Predefined preprocessor variables.
2498 cat >>confdefs.h <<_ACEOF
2499 #define PACKAGE_NAME "$PACKAGE_NAME"
2502 cat >>confdefs.h <<_ACEOF
2503 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2506 cat >>confdefs.h <<_ACEOF
2507 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2510 cat >>confdefs.h <<_ACEOF
2511 #define PACKAGE_STRING "$PACKAGE_STRING"
2514 cat >>confdefs.h <<_ACEOF
2515 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2518 cat >>confdefs.h <<_ACEOF
2519 #define PACKAGE_URL "$PACKAGE_URL"
2523 # Let the site file select an alternate cache file if it wants to.
2524 # Prefer an explicitly selected file to automatically selected ones.
2527 if test -n "$CONFIG_SITE"; then
2528 # We do not want a PATH search for config.site.
2529 case $CONFIG_SITE in #((
2530 -*) ac_site_file1=./$CONFIG_SITE;;
2531 */*) ac_site_file1=$CONFIG_SITE;;
2532 *) ac_site_file1=./$CONFIG_SITE;;
2534 elif test "x$prefix" != xNONE; then
2535 ac_site_file1=$prefix/share/config.site
2536 ac_site_file2=$prefix/etc/config.site
2538 ac_site_file1=$ac_default_prefix/share/config.site
2539 ac_site_file2=$ac_default_prefix/etc/config.site
2541 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2543 test "x$ac_site_file" = xNONE && continue
2544 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2546 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2547 sed 's/^/| /' "$ac_site_file" >&5
2549 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2551 as_fn_error $? "failed to load site
script $ac_site_file
2552 See \
`config.log' for more details" "$LINENO" 5; }
2556 if test -r "$cache_file"; then
2557 # Some versions of bash will fail to source /dev/null (special files
2558 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2559 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2561 $as_echo "$as_me: loading cache $cache_file" >&6;}
2563 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2564 *) . "./$cache_file";;
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2569 $as_echo "$as_me: creating cache $cache_file" >&6;}
2573 as_fn_append ac_header_list " stdlib.h"
2574 as_fn_append ac_header_list " unistd.h"
2575 as_fn_append ac_header_list " sys/param.h"
2576 # Check that the precious variables saved in the cache have kept the same
2578 ac_cache_corrupted=false
2579 for ac_var in $ac_precious_vars; do
2580 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2581 eval ac_new_set=\$ac_env_${ac_var}_set
2582 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2583 eval ac_new_val=\$ac_env_${ac_var}_value
2584 case $ac_old_set,$ac_new_set in
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2587 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2588 ac_cache_corrupted=: ;;
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2591 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2592 ac_cache_corrupted=: ;;
2595 if test "x$ac_old_val" != "x$ac_new_val"; then
2596 # differences in whitespace do not lead to failure.
2597 ac_old_val_w=`echo x
$ac_old_val`
2598 ac_new_val_w=`echo x
$ac_new_val`
2599 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2601 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2602 ac_cache_corrupted=:
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2605 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2606 eval $ac_var=\$ac_old_val
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2609 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2611 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2614 # Pass precious variables to config.status.
2615 if test "$ac_new_set" = set; then
2617 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2618 *) ac_arg=$ac_var=$ac_new_val ;;
2620 case " $ac_configure_args " in
2621 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2622 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2626 if $ac_cache_corrupted; then
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2630 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2631 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2633 ## -------------------- ##
2634 ## Main body of script. ##
2635 ## -------------------- ##
2638 ac_cpp='$CPP $CPPFLAGS'
2639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2646 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2647 if test -f "$ac_dir/install-sh"; then
2649 ac_install_sh="$ac_aux_dir/install-sh -c"
2651 elif test -f "$ac_dir/install.sh"; then
2653 ac_install_sh="$ac_aux_dir/install.sh -c"
2655 elif test -f "$ac_dir/shtool"; then
2657 ac_install_sh="$ac_aux_dir/shtool install -c"
2661 if test -z "$ac_aux_dir"; then
2662 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2665 # These three variables are undocumented and unsupported,
2666 # and are intended to be withdrawn in a future Autoconf release.
2667 # They can cause serious problems if a builder's source tree is in a directory
2668 # whose full name contains unusual characters.
2669 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2670 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2671 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2675 # Check what host we are running on.
2676 # If a target is not suggested, we use this one.
2677 # Note that what we call a target, Autoconf calls a host.
2678 # Make sure we can run config.sub.
2679 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2680 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2683 $as_echo_n "checking build system type... " >&6; }
2684 if ${ac_cv_build+:} false; then :
2685 $as_echo_n "(cached) " >&6
2687 ac_build_alias=$build_alias
2688 test "x$ac_build_alias" = x &&
2689 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2690 test "x$ac_build_alias" = x &&
2691 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2692 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2693 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2697 $as_echo "$ac_cv_build" >&6; }
2698 case $ac_cv_build in
2700 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2703 ac_save_IFS=$IFS; IFS='-'
2709 # Remember, the first character of IFS is used to create $*,
2710 # except with old shells:
2713 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2717 $as_echo_n "checking host system type... " >&6; }
2718 if ${ac_cv_host+:} false; then :
2719 $as_echo_n "(cached) " >&6
2721 if test "x$host_alias" = x; then
2722 ac_cv_host=$ac_cv_build
2724 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2725 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2730 $as_echo "$ac_cv_host" >&6; }
2733 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2736 ac_save_IFS=$IFS; IFS='-'
2742 # Remember, the first character of IFS is used to create $*,
2743 # except with old shells:
2746 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2750 # The AROS target is slightly different to the normal GNU style
2751 # format. We don't have the middle part, and we reverse the order
2752 # of the $(CPU) and $(OS) bits.
2754 # Don't strip the version of the target yet, it might be
2755 # useful on some systems.
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2758 $as_echo_n "checking for AROS style target... " >&6; }
2760 if test "$target" = "NONE" ; then
2761 target=$host_os-$host_cpu
2763 if test "$target" = "" ; then
2764 target=$host_os-$host_cpu
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2768 $as_echo "$target" >&6; }
2770 if test "$host_os" = "mingw32" ; then
2774 # Don't know where else to put this...
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2776 $as_echo_n "checking building AROS in... " >&6; }
2777 AROS_BUILDDIR=`${PWDCMD-pwd}`
2778 AROS_BUILDDIR_UNIX=${PWD}
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2780 $as_echo "$AROS_BUILDDIR" >&6; }
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2783 $as_echo_n "checking AROS source in... " >&6; }
2784 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2787 $as_echo "$SRCDIR" >&6; }
2789 # Parse the target field into something useful.
2791 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2792 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2795 # Some debug output, to be removed again.
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2797 $as_echo_n "checking for target system (debug output)... " >&6; }
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2799 $as_echo "$target_os" >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2801 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2803 $as_echo "$target_cpu" >&6; }
2805 aros_default_wbwidth=800
2806 aros_default_wbheight=600
2807 aros_default_wbdepth=4
2810 # The first step is to find the host binaries.
2811 # Check for a compiler.
2812 # Due to a bug in autoconf check for c++ compiler first.
2813 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2815 ac_cpp='$CXXCPP $CPPFLAGS'
2816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2819 if test -z "$CXX"; then
2820 if test -n "$CCC"; then
2823 if test -n "$ac_tool_prefix"; then
2824 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2826 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2827 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2829 $as_echo_n "checking for $ac_word... " >&6; }
2830 if ${ac_cv_prog_CXX+:} false; then :
2831 $as_echo_n "(cached) " >&6
2833 if test -n "$CXX"; then
2834 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2840 test -z "$as_dir" && as_dir=.
2841 for ac_exec_ext in '' $ac_executable_extensions; do
2842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2843 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2854 if test -n "$CXX"; then
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2856 $as_echo "$CXX" >&6; }
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2859 $as_echo "no" >&6; }
2863 test -n "$CXX" && break
2866 if test -z "$CXX"; then
2868 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2870 # Extract the first word of "$ac_prog", so it can be a program name with args.
2871 set dummy $ac_prog; ac_word=$2
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2873 $as_echo_n "checking for $ac_word... " >&6; }
2874 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2875 $as_echo_n "(cached) " >&6
2877 if test -n "$ac_ct_CXX"; then
2878 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2884 test -z "$as_dir" && as_dir=.
2885 for ac_exec_ext in '' $ac_executable_extensions; do
2886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2887 ac_cv_prog_ac_ct_CXX="$ac_prog"
2888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2897 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2898 if test -n "$ac_ct_CXX"; then
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2900 $as_echo "$ac_ct_CXX" >&6; }
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2903 $as_echo "no" >&6; }
2907 test -n "$ac_ct_CXX" && break
2910 if test "x$ac_ct_CXX" = x; then
2913 case $cross_compiling:$ac_tool_warned in
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2917 ac_tool_warned=yes ;;
2925 # Provide some information about the compiler.
2926 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2929 for ac_option in --version -v -V -qversion; do
2930 { { ac_try="$ac_compiler $ac_option >&5"
2932 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2933 *) ac_try_echo
=$ac_try;;
2935 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2936 $as_echo "$ac_try_echo"; } >&5
2937 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2939 if test -s conftest.err
; then
2941 ... rest of stderr output deleted ...
2942 10q' conftest.err
>conftest.er1
2943 cat conftest.er1
>&5
2945 rm -f conftest.er1 conftest.err
2946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2947 test $ac_status = 0; }
2950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2951 /* end confdefs.h. */
2961 ac_clean_files_save
=$ac_clean_files
2962 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2963 # Try to create an executable without -o first, disregard a.out.
2964 # It will help us diagnose broken compilers, and finding out an intuition
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2967 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2968 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2970 # The possible output files:
2971 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2974 for ac_file
in $ac_files
2977 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2978 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2983 if { { ac_try
="$ac_link_default"
2985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2989 $as_echo "$ac_try_echo"; } >&5
2990 (eval "$ac_link_default") 2>&5
2992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2993 test $ac_status = 0; }; then :
2994 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2995 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2996 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2997 # so that the user can short-circuit this test for compilers unknown to
2999 for ac_file in $ac_files ''
3001 test -f "$ac_file" || continue
3003 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3006 # We found the default executable, but exeext='' is most
3010 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3012 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3014 # We set ac_cv_exeext here because the later test for it is not
3015 # safe: cross compilers may not add the suffix if given an `-o'
3016 # argument, so we may need to know it at that point already.
3017 # Even if this section looks crufty: it has the advantage of
3024 test "$ac_cv_exeext" = no && ac_cv_exeext=
3029 if test -z "$ac_file"; then :
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3031 $as_echo "no" >&6; }
3032 $as_echo "$as_me: failed program was:" >&5
3033 sed 's
/^
/|
/' conftest.$ac_ext >&5
3035 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3036 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3037 as_fn_error 77 "C++ compiler cannot create executables
3038 See \`config.log
' for more details" "$LINENO" 5; }
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3041 $as_echo "yes" >&6; }
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3044 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3046 $as_echo "$ac_file" >&6; }
3047 ac_exeext=$ac_cv_exeext
3049 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3050 ac_clean_files=$ac_clean_files_save
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3052 $as_echo_n "checking for suffix of executables... " >&6; }
3053 if { { ac_try="$ac_link"
3055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3056 *) ac_try_echo=$ac_try;;
3058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3059 $as_echo "$ac_try_echo"; } >&5
3060 (eval "$ac_link") 2>&5
3062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3063 test $ac_status = 0; }; then :
3064 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3065 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3066 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3068 for ac_file
in conftest.exe conftest conftest.
*; do
3069 test -f "$ac_file" ||
continue
3071 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3072 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3080 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3081 See \`config.log' for more details" "$LINENO" 5; }
3083 rm -f conftest conftest
$ac_cv_exeext
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3085 $as_echo "$ac_cv_exeext" >&6; }
3087 rm -f conftest.
$ac_ext
3088 EXEEXT
=$ac_cv_exeext
3090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3091 /* end confdefs.h. */
3096 FILE *f = fopen ("conftest.out", "w");
3097 return ferror (f) || fclose (f) != 0;
3103 ac_clean_files
="$ac_clean_files conftest.out"
3104 # Check that the compiler produces executables we can run. If not, either
3105 # the compiler is broken, or we cross compile.
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3107 $as_echo_n "checking whether we are cross compiling... " >&6; }
3108 if test "$cross_compiling" != yes; then
3109 { { ac_try
="$ac_link"
3111 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3112 *) ac_try_echo=$ac_try;;
3114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3115 $as_echo "$ac_try_echo"; } >&5
3116 (eval "$ac_link") 2>&5
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3119 test $ac_status = 0; }
3120 if { ac_try='./conftest$ac_cv_exeext'
3121 { { case "(($ac_try" in
3122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3123 *) ac_try_echo
=$ac_try;;
3125 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3126 $as_echo "$ac_try_echo"; } >&5
3127 (eval "$ac_try") 2>&5
3129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3130 test $ac_status = 0; }; }; then
3133 if test "$cross_compiling" = maybe
; then
3136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3138 as_fn_error $?
"cannot run C++ compiled programs.
3139 If you meant to cross compile, use \`--host'.
3140 See \`config.log' for more details" "$LINENO" 5; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3145 $as_echo "$cross_compiling" >&6; }
3147 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3148 ac_clean_files
=$ac_clean_files_save
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3150 $as_echo_n "checking for suffix of object files... " >&6; }
3151 if ${ac_cv_objext+:} false
; then :
3152 $as_echo_n "(cached) " >&6
3154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3155 /* end confdefs.h. */
3165 rm -f conftest.o conftest.obj
3166 if { { ac_try
="$ac_compile"
3168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3169 *) ac_try_echo=$ac_try;;
3171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3172 $as_echo "$ac_try_echo"; } >&5
3173 (eval "$ac_compile") 2>&5
3175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3176 test $ac_status = 0; }; then :
3177 for ac_file in conftest.o conftest.obj conftest.*; do
3178 test -f "$ac_file" || continue;
3180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3181 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3186 $as_echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.$ac_ext >&5
3189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3191 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3192 See \
`config.log' for more details" "$LINENO" 5; }
3194 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3197 $as_echo "$ac_cv_objext" >&6; }
3198 OBJEXT=$ac_cv_objext
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3201 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3202 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3203 $as_echo_n "(cached) " >&6
3205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3206 /* end confdefs.h. */
3219 if ac_fn_cxx_try_compile "$LINENO"; then :
3224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3225 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3229 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3230 if test $ac_compiler_gnu = yes; then
3235 ac_test_CXXFLAGS=${CXXFLAGS+set}
3236 ac_save_CXXFLAGS=$CXXFLAGS
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3238 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3239 if ${ac_cv_prog_cxx_g+:} false; then :
3240 $as_echo_n "(cached) " >&6
3242 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3243 ac_cxx_werror_flag=yes
3246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3247 /* end confdefs.h. */
3257 if ac_fn_cxx_try_compile "$LINENO"; then :
3258 ac_cv_prog_cxx_g=yes
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3272 if ac_fn_cxx_try_compile "$LINENO"; then :
3275 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3288 if ac_fn_cxx_try_compile "$LINENO"; then :
3289 ac_cv_prog_cxx_g=yes
3291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3299 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3300 if test "$ac_test_CXXFLAGS" = set; then
3301 CXXFLAGS=$ac_save_CXXFLAGS
3302 elif test $ac_cv_prog_cxx_g = yes; then
3303 if test "$GXX" = yes; then
3309 if test "$GXX" = yes; then
3316 ac_cpp='$CPP $CPPFLAGS'
3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 ac_cpp='$CPP $CPPFLAGS'
3323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3326 if test -n "$ac_tool_prefix"; then
3327 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3328 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3330 $as_echo_n "checking for $ac_word... " >&6; }
3331 if ${ac_cv_prog_CC+:} false; then :
3332 $as_echo_n "(cached) " >&6
3334 if test -n "$CC"; then
3335 ac_cv_prog_CC="$CC" # Let the user override the test.
3337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3341 test -z "$as_dir" && as_dir=.
3342 for ac_exec_ext in '' $ac_executable_extensions; do
3343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3344 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3355 if test -n "$CC"; then
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3357 $as_echo "$CC" >&6; }
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3360 $as_echo "no" >&6; }
3365 if test -z "$ac_cv_prog_CC"; then
3367 # Extract the first word of "gcc", so it can be a program name with args.
3368 set dummy gcc; ac_word=$2
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3370 $as_echo_n "checking for $ac_word... " >&6; }
3371 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3372 $as_echo_n "(cached) " >&6
3374 if test -n "$ac_ct_CC"; then
3375 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3381 test -z "$as_dir" && as_dir=.
3382 for ac_exec_ext in '' $ac_executable_extensions; do
3383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3384 ac_cv_prog_ac_ct_CC="gcc"
3385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3394 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3395 if test -n "$ac_ct_CC"; then
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3397 $as_echo "$ac_ct_CC" >&6; }
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3400 $as_echo "no" >&6; }
3403 if test "x$ac_ct_CC" = x; then
3406 case $cross_compiling:$ac_tool_warned in
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3410 ac_tool_warned=yes ;;
3418 if test -z "$CC"; then
3419 if test -n "$ac_tool_prefix"; then
3420 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3421 set dummy ${ac_tool_prefix}cc; ac_word=$2
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3423 $as_echo_n "checking for $ac_word... " >&6; }
3424 if ${ac_cv_prog_CC+:} false; then :
3425 $as_echo_n "(cached) " >&6
3427 if test -n "$CC"; then
3428 ac_cv_prog_CC="$CC" # Let the user override the test.
3430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3434 test -z "$as_dir" && as_dir=.
3435 for ac_exec_ext in '' $ac_executable_extensions; do
3436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3437 ac_cv_prog_CC="${ac_tool_prefix}cc"
3438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3448 if test -n "$CC"; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3450 $as_echo "$CC" >&6; }
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 $as_echo "no" >&6; }
3459 if test -z "$CC"; then
3460 # Extract the first word of "cc", so it can be a program name with args.
3461 set dummy cc; ac_word=$2
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3463 $as_echo_n "checking for $ac_word... " >&6; }
3464 if ${ac_cv_prog_CC+:} false; then :
3465 $as_echo_n "(cached) " >&6
3467 if test -n "$CC"; then
3468 ac_cv_prog_CC="$CC" # Let the user override the test.
3471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475 test -z "$as_dir" && as_dir=.
3476 for ac_exec_ext in '' $ac_executable_extensions; do
3477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3478 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3479 ac_prog_rejected=yes
3483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3490 if test $ac_prog_rejected = yes; then
3491 # We found a bogon in the path, so make sure we never use it.
3492 set dummy $ac_cv_prog_CC
3494 if test $# != 0; then
3495 # We chose a different compiler from the bogus one.
3496 # However, it has the same basename, so the bogon will be chosen
3497 # first if we set CC to just the basename; use the full file name.
3499 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3505 if test -n "$CC"; then
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3507 $as_echo "$CC" >&6; }
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3510 $as_echo "no" >&6; }
3515 if test -z "$CC"; then
3516 if test -n "$ac_tool_prefix"; then
3517 for ac_prog in cl.exe
3519 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3520 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3522 $as_echo_n "checking for $ac_word... " >&6; }
3523 if ${ac_cv_prog_CC+:} false; then :
3524 $as_echo_n "(cached) " >&6
3526 if test -n "$CC"; then
3527 ac_cv_prog_CC="$CC" # Let the user override the test.
3529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533 test -z "$as_dir" && as_dir=.
3534 for ac_exec_ext in '' $ac_executable_extensions; do
3535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3536 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3547 if test -n "$CC"; then
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3549 $as_echo "$CC" >&6; }
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3556 test -n "$CC" && break
3559 if test -z "$CC"; then
3561 for ac_prog in cl.exe
3563 # Extract the first word of "$ac_prog", so it can be a program name with args.
3564 set dummy $ac_prog; ac_word=$2
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3566 $as_echo_n "checking for $ac_word... " >&6; }
3567 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3568 $as_echo_n "(cached) " >&6
3570 if test -n "$ac_ct_CC"; then
3571 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3577 test -z "$as_dir" && as_dir=.
3578 for ac_exec_ext in '' $ac_executable_extensions; do
3579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3580 ac_cv_prog_ac_ct_CC="$ac_prog"
3581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3590 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3591 if test -n "$ac_ct_CC"; then
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3593 $as_echo "$ac_ct_CC" >&6; }
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3596 $as_echo "no" >&6; }
3600 test -n "$ac_ct_CC" && break
3603 if test "x$ac_ct_CC" = x; then
3606 case $cross_compiling:$ac_tool_warned in
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3610 ac_tool_warned=yes ;;
3619 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3621 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3622 See \
`config.log' for more details" "$LINENO" 5; }
3624 # Provide some information about the compiler.
3625 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3628 for ac_option in --version -v -V -qversion; do
3629 { { ac_try="$ac_compiler $ac_option >&5"
3631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3632 *) ac_try_echo
=$ac_try;;
3634 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3635 $as_echo "$ac_try_echo"; } >&5
3636 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3638 if test -s conftest.err
; then
3640 ... rest of stderr output deleted ...
3641 10q' conftest.err
>conftest.er1
3642 cat conftest.er1
>&5
3644 rm -f conftest.er1 conftest.err
3645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3646 test $ac_status = 0; }
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3650 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3651 if ${ac_cv_c_compiler_gnu+:} false
; then :
3652 $as_echo_n "(cached) " >&6
3654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3668 if ac_fn_c_try_compile
"$LINENO"; then :
3673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3674 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3678 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3679 if test $ac_compiler_gnu = yes; then
3684 ac_test_CFLAGS
=${CFLAGS+set}
3685 ac_save_CFLAGS
=$CFLAGS
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3687 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3688 if ${ac_cv_prog_cc_g+:} false
; then :
3689 $as_echo_n "(cached) " >&6
3691 ac_save_c_werror_flag
=$ac_c_werror_flag
3692 ac_c_werror_flag
=yes
3695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3706 if ac_fn_c_try_compile
"$LINENO"; then :
3710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3711 /* end confdefs.h. */
3721 if ac_fn_c_try_compile
"$LINENO"; then :
3724 ac_c_werror_flag
=$ac_save_c_werror_flag
3726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3727 /* end confdefs.h. */
3737 if ac_fn_c_try_compile
"$LINENO"; then :
3740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3745 ac_c_werror_flag
=$ac_save_c_werror_flag
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3748 $as_echo "$ac_cv_prog_cc_g" >&6; }
3749 if test "$ac_test_CFLAGS" = set; then
3750 CFLAGS
=$ac_save_CFLAGS
3751 elif test $ac_cv_prog_cc_g = yes; then
3752 if test "$GCC" = yes; then
3758 if test "$GCC" = yes; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3765 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3766 if ${ac_cv_prog_cc_c89+:} false
; then :
3767 $as_echo_n "(cached) " >&6
3769 ac_cv_prog_cc_c89
=no
3771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3772 /* end confdefs.h. */
3776 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3777 struct buf { int x; };
3778 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3779 static char *e (p, i)
3785 static char *f (char * (*g) (char **, int), char **p, ...)
3790 s = g (p, va_arg (v,int));
3795 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3796 function prototypes and stuff, but not '\xHH' hex character constants.
3797 These don't provoke an error unfortunately, instead are silently treated
3798 as 'x'. The following induces an error, until -std is added to get
3799 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3800 array size at least. It's necessary to write '\x00'==0 to get something
3801 that's true only with -std. */
3802 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3804 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3805 inside strings and character constants. */
3807 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3809 int test (int i, double x);
3810 struct s1 {int (*f) (int a);};
3811 struct s2 {int (*f) (double a);};
3812 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3818 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3823 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3824 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3826 CC
="$ac_save_CC $ac_arg"
3827 if ac_fn_c_try_compile
"$LINENO"; then :
3828 ac_cv_prog_cc_c89
=$ac_arg
3830 rm -f core conftest.err conftest.
$ac_objext
3831 test "x$ac_cv_prog_cc_c89" != "xno" && break
3833 rm -f conftest.
$ac_ext
3838 case "x$ac_cv_prog_cc_c89" in
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3841 $as_echo "none needed" >&6; } ;;
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3844 $as_echo "unsupported" >&6; } ;;
3846 CC
="$CC $ac_cv_prog_cc_c89"
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3848 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3850 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3855 ac_cpp
='$CPP $CPPFLAGS'
3856 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3857 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3858 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3860 case $ac_cv_prog_cc_stdc in #(
3862 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3865 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3866 if ${ac_cv_prog_cc_c99+:} false
; then :
3867 $as_echo_n "(cached) " >&6
3869 ac_cv_prog_cc_c99
=no
3871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3872 /* end confdefs.h. */
3874 #include <stdbool.h>
3879 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3880 #define debug(...) fprintf (stderr, __VA_ARGS__)
3881 #define showlist(...) puts (#__VA_ARGS__)
3882 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3884 test_varargs_macros (void)
3889 debug ("X = %d\n", x);
3890 showlist (The first, second, and third items.);
3891 report (x>y, "x is %d but y is %d", x, y);
3894 // Check long long types.
3895 #define BIG64 18446744073709551615ull
3896 #define BIG32 4294967295ul
3897 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3899 your preprocessor is broken;
3903 your preprocessor is broken;
3905 static long long int bignum = -9223372036854775807LL;
3906 static unsigned long long int ubignum = BIG64;
3908 struct incomplete_array
3916 const wchar_t *name;
3920 typedef const char *ccp;
3923 test_restrict (ccp restrict text)
3925 // See if C++-style comments work.
3926 // Iterate through items via the restricted pointer.
3927 // Also check for declarations in for loops.
3928 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3933 // Check varargs and va_copy.
3935 test_varargs (const char *format, ...)
3938 va_start (args, format);
3940 va_copy (args_copy, args);
3951 str = va_arg (args_copy, const char *);
3954 number = va_arg (args_copy, int);
3957 fnumber = va_arg (args_copy, double);
3972 _Bool success = false;
3975 if (test_restrict ("String literal") == 0)
3977 char *restrict newvar = "Another string";
3980 test_varargs ("s, d' f .", "string", 65, 34.234);
3981 test_varargs_macros ();
3983 // Check flexible array members.
3984 struct incomplete_array *ia =
3985 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3987 for (int i = 0; i < ia->datasize; ++i)
3988 ia->data[i] = i * 1.234;
3990 // Check named initializers.
3991 struct named_init ni = {
3993 .name = L"Test wide string",
3994 .average = 543.34343,
3999 int dynamic_array[ni.number];
4000 dynamic_array[ni.number - 1] = 543;
4002 // work around unused variable warnings
4003 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4004 || dynamic_array[ni.number - 1] != 543);
4010 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4012 CC
="$ac_save_CC $ac_arg"
4013 if ac_fn_c_try_compile
"$LINENO"; then :
4014 ac_cv_prog_cc_c99
=$ac_arg
4016 rm -f core conftest.err conftest.
$ac_objext
4017 test "x$ac_cv_prog_cc_c99" != "xno" && break
4019 rm -f conftest.
$ac_ext
4024 case "x$ac_cv_prog_cc_c99" in
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4027 $as_echo "none needed" >&6; } ;;
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4030 $as_echo "unsupported" >&6; } ;;
4032 CC
="$CC $ac_cv_prog_cc_c99"
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4034 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4036 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4037 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4040 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4041 if ${ac_cv_prog_cc_c89+:} false
; then :
4042 $as_echo_n "(cached) " >&6
4044 ac_cv_prog_cc_c89
=no
4046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4047 /* end confdefs.h. */
4051 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4052 struct buf { int x; };
4053 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4054 static char *e (p, i)
4060 static char *f (char * (*g) (char **, int), char **p, ...)
4065 s = g (p, va_arg (v,int));
4070 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4071 function prototypes and stuff, but not '\xHH' hex character constants.
4072 These don't provoke an error unfortunately, instead are silently treated
4073 as 'x'. The following induces an error, until -std is added to get
4074 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4075 array size at least. It's necessary to write '\x00'==0 to get something
4076 that's true only with -std. */
4077 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4079 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4080 inside strings and character constants. */
4082 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4084 int test (int i, double x);
4085 struct s1 {int (*f) (int a);};
4086 struct s2 {int (*f) (double a);};
4087 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4093 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4098 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4099 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4101 CC
="$ac_save_CC $ac_arg"
4102 if ac_fn_c_try_compile
"$LINENO"; then :
4103 ac_cv_prog_cc_c89
=$ac_arg
4105 rm -f core conftest.err conftest.
$ac_objext
4106 test "x$ac_cv_prog_cc_c89" != "xno" && break
4108 rm -f conftest.
$ac_ext
4113 case "x$ac_cv_prog_cc_c89" in
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4116 $as_echo "none needed" >&6; } ;;
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4119 $as_echo "unsupported" >&6; } ;;
4121 CC
="$CC $ac_cv_prog_cc_c89"
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4123 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4125 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4126 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4128 ac_cv_prog_cc_stdc
=no
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4135 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4136 if ${ac_cv_prog_cc_stdc+:} false
; then :
4137 $as_echo_n "(cached) " >&6
4140 case $ac_cv_prog_cc_stdc in #(
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4143 $as_echo "unsupported" >&6; } ;; #(
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4146 $as_echo "none needed" >&6; } ;; #(
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4149 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4153 ac_cpp
='$CPP $CPPFLAGS'
4154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4158 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4159 # On Suns, sometimes $CPP names a directory.
4160 if test -n "$CPP" && test -d "$CPP"; then
4163 if test -z "$CPP"; then
4164 if ${ac_cv_prog_CPP+:} false
; then :
4165 $as_echo_n "(cached) " >&6
4167 # Double quotes because CPP needs to be expanded
4168 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4171 for ac_c_preproc_warn_flag
in '' yes
4173 # Use a header file that comes with gcc, so configuring glibc
4174 # with a fresh cross-compiler works.
4175 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4176 # <limits.h> exists even on freestanding compilers.
4177 # On the NeXT, cc -E runs the code through the compiler's parser,
4178 # not just through cpp. "Syntax error" is here to catch this case.
4179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4182 # include <limits.h>
4184 # include <assert.h>
4188 if ac_fn_c_try_cpp
"$LINENO"; then :
4191 # Broken: fails on valid input.
4194 rm -f conftest.err conftest.i conftest.
$ac_ext
4196 # OK, works on sane cases. Now check whether nonexistent headers
4197 # can be detected and how.
4198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4200 #include <ac_nonexistent.h>
4202 if ac_fn_c_try_cpp
"$LINENO"; then :
4203 # Broken: success on invalid input.
4206 # Passes both tests.
4210 rm -f conftest.err conftest.i conftest.
$ac_ext
4213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4214 rm -f conftest.i conftest.err conftest.
$ac_ext
4215 if $ac_preproc_ok; then :
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4228 $as_echo "$CPP" >&6; }
4230 for ac_c_preproc_warn_flag
in '' yes
4232 # Use a header file that comes with gcc, so configuring glibc
4233 # with a fresh cross-compiler works.
4234 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4235 # <limits.h> exists even on freestanding compilers.
4236 # On the NeXT, cc -E runs the code through the compiler's parser,
4237 # not just through cpp. "Syntax error" is here to catch this case.
4238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4241 # include <limits.h>
4243 # include <assert.h>
4247 if ac_fn_c_try_cpp
"$LINENO"; then :
4250 # Broken: fails on valid input.
4253 rm -f conftest.err conftest.i conftest.
$ac_ext
4255 # OK, works on sane cases. Now check whether nonexistent headers
4256 # can be detected and how.
4257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4259 #include <ac_nonexistent.h>
4261 if ac_fn_c_try_cpp
"$LINENO"; then :
4262 # Broken: success on invalid input.
4265 # Passes both tests.
4269 rm -f conftest.err conftest.i conftest.
$ac_ext
4272 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4273 rm -f conftest.i conftest.err conftest.
$ac_ext
4274 if $ac_preproc_ok; then :
4277 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4279 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4280 See \`config.log' for more details" "$LINENO" 5; }
4284 ac_cpp
='$CPP $CPPFLAGS'
4285 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4286 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4287 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4290 # Check for a compatible awk
4291 for ac_prog
in gawk nawk
4293 # Extract the first word of "$ac_prog", so it can be a program name with args.
4294 set dummy
$ac_prog; ac_word
=$2
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4296 $as_echo_n "checking for $ac_word... " >&6; }
4297 if ${ac_cv_prog_AWK+:} false
; then :
4298 $as_echo_n "(cached) " >&6
4300 if test -n "$AWK"; then
4301 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4307 test -z "$as_dir" && as_dir
=.
4308 for ac_exec_ext
in '' $ac_executable_extensions; do
4309 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4310 ac_cv_prog_AWK
="$ac_prog"
4311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 if test -n "$AWK"; then
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4323 $as_echo "$AWK" >&6; }
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4326 $as_echo "no" >&6; }
4330 test -n "$AWK" && break
4333 if test "$AWK" = ""; then
4334 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4336 # Extract the first word of "mmake", so it can be a program name with args.
4337 set dummy mmake
; ac_word
=$2
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4339 $as_echo_n "checking for $ac_word... " >&6; }
4340 if ${ac_cv_prog_MMAKE+:} false
; then :
4341 $as_echo_n "(cached) " >&6
4343 if test -n "$MMAKE"; then
4344 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4350 test -z "$as_dir" && as_dir
=.
4351 for ac_exec_ext
in '' $ac_executable_extensions; do
4352 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4353 ac_cv_prog_MMAKE
="mmake "
4354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4363 MMAKE
=$ac_cv_prog_MMAKE
4364 if test -n "$MMAKE"; then
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4366 $as_echo "$MMAKE" >&6; }
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4369 $as_echo "no" >&6; }
4374 # Perform some default variable assignments. Note all of these will be
4375 # Regenerated from the script, so there is no need to cache them.
4377 aros_host_cpp
="$CPP"
4379 aros_host_cxx
="$CXX"
4380 if test "$GCC" = "yes"; then
4381 aros_gcc_ld
=`$CC -print-prog-name=ld`
4382 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4383 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4385 $as_echo_n "checking for $ac_word... " >&6; }
4386 if ${ac_cv_path_aros_host_ld+:} false
; then :
4387 $as_echo_n "(cached) " >&6
4389 case $aros_host_ld in
4391 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4395 for as_dir
in `dirname $aros_gcc_ld`
4398 test -z "$as_dir" && as_dir
=.
4399 for ac_exec_ext
in '' $ac_executable_extensions; do
4400 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4401 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 aros_host_ld
=$ac_cv_path_aros_host_ld
4413 if test -n "$aros_host_ld"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4415 $as_echo "$aros_host_ld" >&6; }
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4423 if test "$aros_host_ld" = ""; then
4424 # Extract the first word of "ld", so it can be a program name with args.
4425 set dummy ld
; ac_word
=$2
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4427 $as_echo_n "checking for $ac_word... " >&6; }
4428 if ${ac_cv_path_aros_host_ld+:} false
; then :
4429 $as_echo_n "(cached) " >&6
4431 case $aros_host_ld in
4433 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4440 test -z "$as_dir" && as_dir
=.
4441 for ac_exec_ext
in '' $ac_executable_extensions; do
4442 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4443 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 aros_host_ld
=$ac_cv_path_aros_host_ld
4455 if test -n "$aros_host_ld"; then
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4457 $as_echo "$aros_host_ld" >&6; }
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4460 $as_echo "no" >&6; }
4465 if test "$aros_host_ld" = ""; then
4466 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4468 aros_host_make
="make"
4469 aros_host_cflags
="$CFLAGS"
4470 aros_host_cxxflags
="$CXXFLAGS"
4471 aros_host_ldflags
="$LDFLAGS"
4472 aros_host_debug
="-g -O0"
4473 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4474 aros_host_mkargs
="--no-print-directory"
4475 aros_host_exe_suffix
="$EXEEXT"
4476 aros_host_lib_suffix
=""
4478 # Ignore all compliance, AROS ROMs = 0
4479 # KickStart v1.0 = 30
4480 # KickStart v1.3 = 34
4481 # KickStart v2.0 = 37
4482 # KickStart v3.0 = 39
4483 # KickStart v3.1 = 40
4485 aros_amigaos_compliance
=0
4487 for ac_prog
in aclocal aclocal19 aclocal-1.9
4489 # Extract the first word of "$ac_prog", so it can be a program name with args.
4490 set dummy
$ac_prog; ac_word
=$2
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4492 $as_echo_n "checking for $ac_word... " >&6; }
4493 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4494 $as_echo_n "(cached) " >&6
4496 if test -n "$aros_host_aclocal"; then
4497 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4503 test -z "$as_dir" && as_dir
=.
4504 for ac_exec_ext
in '' $ac_executable_extensions; do
4505 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4506 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4516 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4517 if test -n "$aros_host_aclocal"; then
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4519 $as_echo "$aros_host_aclocal" >&6; }
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 $as_echo "no" >&6; }
4526 test -n "$aros_host_aclocal" && break
4529 for ac_prog
in autoconf autoconf259 autoconf253
4531 # Extract the first word of "$ac_prog", so it can be a program name with args.
4532 set dummy
$ac_prog; ac_word
=$2
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4534 $as_echo_n "checking for $ac_word... " >&6; }
4535 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4536 $as_echo_n "(cached) " >&6
4538 if test -n "$aros_host_autoconf"; then
4539 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4545 test -z "$as_dir" && as_dir
=.
4546 for ac_exec_ext
in '' $ac_executable_extensions; do
4547 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4548 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4558 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4559 if test -n "$aros_host_autoconf"; then
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4561 $as_echo "$aros_host_autoconf" >&6; }
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4564 $as_echo "no" >&6; }
4568 test -n "$aros_host_autoconf" && break
4571 for ac_prog
in autoheader autoheader259 autoheader253
4573 # Extract the first word of "$ac_prog", so it can be a program name with args.
4574 set dummy
$ac_prog; ac_word
=$2
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4576 $as_echo_n "checking for $ac_word... " >&6; }
4577 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4578 $as_echo_n "(cached) " >&6
4580 if test -n "$aros_host_autoheader"; then
4581 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4587 test -z "$as_dir" && as_dir
=.
4588 for ac_exec_ext
in '' $ac_executable_extensions; do
4589 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4590 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4600 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4601 if test -n "$aros_host_autoheader"; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4603 $as_echo "$aros_host_autoheader" >&6; }
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606 $as_echo "no" >&6; }
4610 test -n "$aros_host_autoheader" && break
4613 for ac_prog
in automake automake19 automake-1.9
4615 # Extract the first word of "$ac_prog", so it can be a program name with args.
4616 set dummy
$ac_prog; ac_word
=$2
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4618 $as_echo_n "checking for $ac_word... " >&6; }
4619 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4620 $as_echo_n "(cached) " >&6
4622 if test -n "$aros_host_automake"; then
4623 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4629 test -z "$as_dir" && as_dir
=.
4630 for ac_exec_ext
in '' $ac_executable_extensions; do
4631 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4632 ac_cv_prog_aros_host_automake
="$ac_prog"
4633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4642 aros_host_automake
=$ac_cv_prog_aros_host_automake
4643 if test -n "$aros_host_automake"; then
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4645 $as_echo "$aros_host_automake" >&6; }
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4648 $as_echo "no" >&6; }
4652 test -n "$aros_host_automake" && break
4656 if test "$aros_host_aclocal" = ""; then
4657 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4659 if test "$aros_host_automake" = ""; then
4660 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4663 case "$aros_host_cc" in
4665 aros_host_cc_pipe
="-pipe"
4668 aros_host_cc_pipe
=""
4671 aros_host_cc_pipe
=""
4675 aros_kernel_cc_includes
=""
4676 aros_target_cc_includes
=""
4679 # ----------------------------------------------------------------------------------------
4680 # Host-specific defaults
4682 # This is the main host configuration section. It is where the host
4683 # can change the values of any variables it needs to change. We do
4684 # not look at anything that compiles to the target yet, we'll get
4689 aros_host_arch
="aros"
4690 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4693 aros_host_cpu
="i386"
4696 aros_host_cpu
="x86_64"
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4703 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4704 aros_host_cpu
="$host_cpu"
4710 aros_host_arch
="linux"
4711 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4712 android_build_os
="linux-x86"
4713 android_tool
="android"
4714 default_android_sdk
="/opt/android-sdk-linux_x86"
4717 aros_host_cpu
="i386"
4720 aros_host_cpu
="x86_64"
4723 aros_host_cpu
="m68k"
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4733 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4734 aros_host_cpu
="$host_cpu"
4740 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4741 aros_host_make
="gmake"
4742 aros_host_arch
="freebsd"
4743 aros_host_cpu
="i386"
4745 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4749 aros_object_format
="elf_i386"
4753 aros_object_format
="elf_i386_fbsd"
4760 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4761 aros_host_arch
="darwin"
4763 android_build_os
="darwin-x86"
4764 android_tool
="android"
4765 default_android_sdk
="/android-sdk-mac_x86"
4768 aros_host_cpu
="i386"
4771 aros_host_cpu
="x86_64"
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4778 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4779 aros_host_cpu
="$host_cpu"
4783 aros_host_ldflags
="$aros_host_ldflags -liconv"
4788 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4789 aros_host_make
="gmake"
4790 aros_host_arch
="dragonfly"
4793 aros_host_cpu
="i386"
4796 aros_host_cpu
="x86_64"
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4800 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4801 aros_host_cpu
="$host_cpu"
4807 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4808 aros_host_make
="gmake"
4809 aros_host_arch
="netbsd"
4812 aros_host_cpu
="i386"
4815 aros_host_cpu
="m68k"
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4819 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4820 aros_host_cpu
="$host_cpu"
4823 aros_host_lib_suffix
=".0.0"
4827 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4828 aros_host_make
="gmake"
4829 aros_host_arch
="openbsd"
4832 aros_host_cpu
="i386"
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4836 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4837 aros_host_cpu
="$host_cpu"
4843 aros_host_arch
="solaris"
4844 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4847 aros_host_cpu
="i386"
4850 aros_host_cpu
="sparc"
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4854 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4855 aros_host_cpu
="$host_cpu"
4861 aros_host_arch
="morphos"
4867 aros_host_arch
="amiga"
4873 TOUCH
="/gg/bin/touch"
4876 aros_host_cpu
="m68k"
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4883 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4884 aros_host_cpu
="$host_cpu"
4890 aros_host_arch
="cygwin"
4891 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4893 android_build_os
="windows"
4894 android_tool
="android.bat"
4895 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4899 aros_host_cpu
="i386"
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4903 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4904 aros_host_cpu
="$host_cpu"
4910 aros_host_arch
="mingw32"
4911 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4913 android_build_os
="windows"
4914 android_tool
="android.bat"
4915 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4921 $as_echo_n "checking for Windows native gcc target... " >&6; }
4922 host_cpu
=`gcc -dumpmachine`
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4924 $as_echo "$host_cpu" >&6; }
4931 aros_host_cpu
="i386"
4935 aros_host_cpu
="i386"
4939 aros_host_cpu
="x86_64"
4940 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4945 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4946 aros_host_cpu
="$host_cpu"
4951 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4955 # Extract the first word of "ar", so it can be a program name with args.
4956 set dummy
ar; ac_word
=$2
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4958 $as_echo_n "checking for $ac_word... " >&6; }
4959 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4960 $as_echo_n "(cached) " >&6
4962 if test -n "$aros_host_ar"; then
4963 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4969 test -z "$as_dir" && as_dir
=.
4970 for ac_exec_ext
in '' $ac_executable_extensions; do
4971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4972 ac_cv_prog_aros_host_ar
="ar cr"
4973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4982 aros_host_ar
=$ac_cv_prog_aros_host_ar
4983 if test -n "$aros_host_ar"; then
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4985 $as_echo "$aros_host_ar" >&6; }
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4988 $as_echo "no" >&6; }
4992 if test "$aros_host_ar" = ""; then
4993 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4995 # Extract the first word of "ranlib", so it can be a program name with args.
4996 set dummy ranlib
; ac_word
=$2
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998 $as_echo_n "checking for $ac_word... " >&6; }
4999 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
5000 $as_echo_n "(cached) " >&6
5002 if test -n "$aros_host_ranlib"; then
5003 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
5005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5009 test -z "$as_dir" && as_dir
=.
5010 for ac_exec_ext
in '' $ac_executable_extensions; do
5011 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5012 ac_cv_prog_aros_host_ranlib
="ranlib "
5013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5022 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
5023 if test -n "$aros_host_ranlib"; then
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
5025 $as_echo "$aros_host_ranlib" >&6; }
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5032 if test "$aros_host_ranlib" = ""; then
5033 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5035 # Extract the first word of "strip", so it can be a program name with args.
5036 set dummy strip
; ac_word
=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5040 $as_echo_n "(cached) " >&6
5042 if test -n "$aros_host_strip"; then
5043 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5049 test -z "$as_dir" && as_dir
=.
5050 for ac_exec_ext
in '' $ac_executable_extensions; do
5051 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5052 ac_cv_prog_aros_host_strip
="strip "
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5062 aros_host_strip
=$ac_cv_prog_aros_host_strip
5063 if test -n "$aros_host_strip"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5065 $as_echo "$aros_host_strip" >&6; }
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5072 if test "$aros_host_strip" = ""; then
5073 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5076 # Extract the first word of "rm", so it can be a program name with args.
5077 set dummy
rm; ac_word
=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if ${ac_cv_prog_RM+:} false
; then :
5081 $as_echo_n "(cached) " >&6
5083 if test -n "$RM"; then
5084 ac_cv_prog_RM
="$RM" # Let the user override the test.
5086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5090 test -z "$as_dir" && as_dir
=.
5091 for ac_exec_ext
in '' $ac_executable_extensions; do
5092 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5093 ac_cv_prog_RM
="rm -rf"
5094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5104 if test -n "$RM"; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5106 $as_echo "$RM" >&6; }
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5113 if test "$RM" = ""; then
5114 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5116 # Extract the first word of "cp", so it can be a program name with args.
5117 set dummy
cp; ac_word
=$2
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 $as_echo_n "checking for $ac_word... " >&6; }
5120 if ${ac_cv_prog_CP+:} false
; then :
5121 $as_echo_n "(cached) " >&6
5123 if test -n "$CP"; then
5124 ac_cv_prog_CP
="$CP" # Let the user override the test.
5126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5130 test -z "$as_dir" && as_dir
=.
5131 for ac_exec_ext
in '' $ac_executable_extensions; do
5132 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5144 if test -n "$CP"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5146 $as_echo "$CP" >&6; }
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5153 if test "$CP" = ""; then
5154 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5156 # Extract the first word of "mv", so it can be a program name with args.
5157 set dummy
mv; ac_word
=$2
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5160 if ${ac_cv_prog_MV+:} false
; then :
5161 $as_echo_n "(cached) " >&6
5163 if test -n "$MV"; then
5164 ac_cv_prog_MV
="$MV" # Let the user override the test.
5166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5170 test -z "$as_dir" && as_dir
=.
5171 for ac_exec_ext
in '' $ac_executable_extensions; do
5172 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 if test -n "$MV"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5186 $as_echo "$MV" >&6; }
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5193 if test "$MV" = ""; then
5194 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5196 # Extract the first word of "echo", so it can be a program name with args.
5197 set dummy
echo; ac_word
=$2
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5199 $as_echo_n "checking for $ac_word... " >&6; }
5200 if ${ac_cv_prog_ECHO+:} false
; then :
5201 $as_echo_n "(cached) " >&6
5203 if test -n "$ECHO"; then
5204 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5210 test -z "$as_dir" && as_dir
=.
5211 for ac_exec_ext
in '' $ac_executable_extensions; do
5212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5213 ac_cv_prog_ECHO
="echo "
5214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 ECHO
=$ac_cv_prog_ECHO
5224 if test -n "$ECHO"; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5226 $as_echo "$ECHO" >&6; }
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5229 $as_echo "no" >&6; }
5233 if test "$ECHO" = ""; then
5234 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5236 # Extract the first word of "mkdir", so it can be a program name with args.
5237 set dummy mkdir
; ac_word
=$2
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5239 $as_echo_n "checking for $ac_word... " >&6; }
5240 if ${ac_cv_prog_MKDIR+:} false
; then :
5241 $as_echo_n "(cached) " >&6
5243 if test -n "$MKDIR"; then
5244 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5250 test -z "$as_dir" && as_dir
=.
5251 for ac_exec_ext
in '' $ac_executable_extensions; do
5252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5253 ac_cv_prog_MKDIR
="mkdir -p"
5254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5263 MKDIR
=$ac_cv_prog_MKDIR
5264 if test -n "$MKDIR"; then
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5266 $as_echo "$MKDIR" >&6; }
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 $as_echo "no" >&6; }
5273 if test "$MKDIR" = ""; then
5274 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5276 # Extract the first word of "touch", so it can be a program name with args.
5277 set dummy
touch; ac_word
=$2
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5279 $as_echo_n "checking for $ac_word... " >&6; }
5280 if ${ac_cv_prog_TOUCH+:} false
; then :
5281 $as_echo_n "(cached) " >&6
5283 if test -n "$TOUCH"; then
5284 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5290 test -z "$as_dir" && as_dir
=.
5291 for ac_exec_ext
in '' $ac_executable_extensions; do
5292 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5293 ac_cv_prog_TOUCH
="touch "
5294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5303 TOUCH
=$ac_cv_prog_TOUCH
5304 if test -n "$TOUCH"; then
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5306 $as_echo "$TOUCH" >&6; }
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5309 $as_echo "no" >&6; }
5313 if test "$TOUCH" = ""; then
5314 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5316 # Extract the first word of "sort", so it can be a program name with args.
5317 set dummy
sort; ac_word
=$2
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5319 $as_echo_n "checking for $ac_word... " >&6; }
5320 if ${ac_cv_prog_SORT+:} false
; then :
5321 $as_echo_n "(cached) " >&6
5323 if test -n "$SORT"; then
5324 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5330 test -z "$as_dir" && as_dir
=.
5331 for ac_exec_ext
in '' $ac_executable_extensions; do
5332 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5333 ac_cv_prog_SORT
="sort "
5334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5343 SORT
=$ac_cv_prog_SORT
5344 if test -n "$SORT"; then
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5346 $as_echo "$SORT" >&6; }
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5349 $as_echo "no" >&6; }
5353 if test "$SORT" = ""; then
5354 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5356 # Extract the first word of "uniq", so it can be a program name with args.
5357 set dummy
uniq; ac_word
=$2
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5359 $as_echo_n "checking for $ac_word... " >&6; }
5360 if ${ac_cv_prog_UNIQ+:} false
; then :
5361 $as_echo_n "(cached) " >&6
5363 if test -n "$UNIQ"; then
5364 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5370 test -z "$as_dir" && as_dir
=.
5371 for ac_exec_ext
in '' $ac_executable_extensions; do
5372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5373 ac_cv_prog_UNIQ
="uniq "
5374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 UNIQ
=$ac_cv_prog_UNIQ
5384 if test -n "$UNIQ"; then
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5386 $as_echo "$UNIQ" >&6; }
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5389 $as_echo "no" >&6; }
5393 if test "$UNIQ" = ""; then
5394 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5396 # Extract the first word of "true", so it can be a program name with args.
5397 set dummy true
; ac_word
=$2
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5399 $as_echo_n "checking for $ac_word... " >&6; }
5400 if ${ac_cv_prog_NOP+:} false
; then :
5401 $as_echo_n "(cached) " >&6
5403 if test -n "$NOP"; then
5404 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5410 test -z "$as_dir" && as_dir
=.
5411 for ac_exec_ext
in '' $ac_executable_extensions; do
5412 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5413 ac_cv_prog_NOP
="true "
5414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 if test -n "$NOP"; then
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5426 $as_echo "$NOP" >&6; }
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5429 $as_echo "no" >&6; }
5433 if test "$NOP" = ""; then
5434 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5436 # Extract the first word of "cat", so it can be a program name with args.
5437 set dummy
cat; ac_word
=$2
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5439 $as_echo_n "checking for $ac_word... " >&6; }
5440 if ${ac_cv_prog_CAT+:} false
; then :
5441 $as_echo_n "(cached) " >&6
5443 if test -n "$CAT"; then
5444 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5450 test -z "$as_dir" && as_dir
=.
5451 for ac_exec_ext
in '' $ac_executable_extensions; do
5452 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5453 ac_cv_prog_CAT
="cat "
5454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5464 if test -n "$CAT"; then
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5466 $as_echo "$CAT" >&6; }
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5469 $as_echo "no" >&6; }
5473 if test "$CAT" = ""; then
5474 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5476 # Extract the first word of "bison", so it can be a program name with args.
5477 set dummy bison
; ac_word
=$2
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5479 $as_echo_n "checking for $ac_word... " >&6; }
5480 if ${ac_cv_prog_BISON+:} false
; then :
5481 $as_echo_n "(cached) " >&6
5483 if test -n "$BISON"; then
5484 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5490 test -z "$as_dir" && as_dir
=.
5491 for ac_exec_ext
in '' $ac_executable_extensions; do
5492 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5493 ac_cv_prog_BISON
="bison "
5494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5503 BISON
=$ac_cv_prog_BISON
5504 if test -n "$BISON"; then
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5506 $as_echo "$BISON" >&6; }
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5509 $as_echo "no" >&6; }
5513 if test "$BISON" = ""; then
5514 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5516 # Extract the first word of "flex", so it can be a program name with args.
5517 set dummy flex
; ac_word
=$2
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5519 $as_echo_n "checking for $ac_word... " >&6; }
5520 if ${ac_cv_prog_FLEX+:} false
; then :
5521 $as_echo_n "(cached) " >&6
5523 if test -n "$FLEX"; then
5524 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5530 test -z "$as_dir" && as_dir
=.
5531 for ac_exec_ext
in '' $ac_executable_extensions; do
5532 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5533 ac_cv_prog_FLEX
="flex "
5534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5543 FLEX
=$ac_cv_prog_FLEX
5544 if test -n "$FLEX"; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5546 $as_echo "$FLEX" >&6; }
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }
5553 if test "$FLEX" = ""; then
5554 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5556 # Extract the first word of "pngtopnm", so it can be a program name with args.
5557 set dummy pngtopnm
; ac_word
=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559 $as_echo_n "checking for $ac_word... " >&6; }
5560 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5561 $as_echo_n "(cached) " >&6
5563 if test -n "$PNGTOPNM"; then
5564 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5570 test -z "$as_dir" && as_dir
=.
5571 for ac_exec_ext
in '' $ac_executable_extensions; do
5572 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5573 ac_cv_prog_PNGTOPNM
="pngtopnm "
5574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5584 if test -n "$PNGTOPNM"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5586 $as_echo "$PNGTOPNM" >&6; }
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5589 $as_echo "no" >&6; }
5593 if test "$PNGTOPNM" = ""; then
5594 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5596 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5597 set dummy ppmtoilbm
; ac_word
=$2
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599 $as_echo_n "checking for $ac_word... " >&6; }
5600 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5601 $as_echo_n "(cached) " >&6
5603 if test -n "$PPMTOILBM"; then
5604 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5610 test -z "$as_dir" && as_dir
=.
5611 for ac_exec_ext
in '' $ac_executable_extensions; do
5612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5613 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5624 if test -n "$PPMTOILBM"; then
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5626 $as_echo "$PPMTOILBM" >&6; }
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629 $as_echo "no" >&6; }
5633 if test "$PPMTOILBM" = ""; then
5634 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5636 # Extract the first word of "sed", so it can be a program name with args.
5637 set dummy
sed; ac_word
=$2
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639 $as_echo_n "checking for $ac_word... " >&6; }
5640 if ${ac_cv_prog_SED+:} false
; then :
5641 $as_echo_n "(cached) " >&6
5643 if test -n "$SED"; then
5644 ac_cv_prog_SED
="$SED" # Let the user override the test.
5646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5650 test -z "$as_dir" && as_dir
=.
5651 for ac_exec_ext
in '' $ac_executable_extensions; do
5652 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5653 ac_cv_prog_SED
="sed "
5654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5664 if test -n "$SED"; then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5666 $as_echo "$SED" >&6; }
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 $as_echo "no" >&6; }
5673 if test "$SED" = ""; then
5674 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5676 # Extract the first word of "chmod", so it can be a program name with args.
5677 set dummy
chmod; ac_word
=$2
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5679 $as_echo_n "checking for $ac_word... " >&6; }
5680 if ${ac_cv_prog_CHMOD+:} false
; then :
5681 $as_echo_n "(cached) " >&6
5683 if test -n "$CHMOD"; then
5684 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir
=.
5691 for ac_exec_ext
in '' $ac_executable_extensions; do
5692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5693 ac_cv_prog_CHMOD
="chmod "
5694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5703 CHMOD
=$ac_cv_prog_CHMOD
5704 if test -n "$CHMOD"; then
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5706 $as_echo "$CHMOD" >&6; }
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5709 $as_echo "no" >&6; }
5713 if test "$CHMOD" = ""; then
5714 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5716 # Extract the first word of "patch", so it can be a program name with args.
5717 set dummy
patch; ac_word
=$2
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5719 $as_echo_n "checking for $ac_word... " >&6; }
5720 if ${ac_cv_prog_PATCH+:} false
; then :
5721 $as_echo_n "(cached) " >&6
5723 if test -n "$PATCH"; then
5724 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5730 test -z "$as_dir" && as_dir
=.
5731 for ac_exec_ext
in '' $ac_executable_extensions; do
5732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5733 ac_cv_prog_PATCH
="patch "
5734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 PATCH
=$ac_cv_prog_PATCH
5744 if test -n "$PATCH"; then
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5746 $as_echo "$PATCH" >&6; }
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 $as_echo "no" >&6; }
5753 if test "$PATCH" = ""; then
5754 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5763 if test -n "$PYTHON"; then
5764 # If the user set $PYTHON, use it and don't search something else.
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
5766 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
5768 # split strings by '.' and convert to numeric. Append some zeros
5769 # because we need at least 4 digits for the hex conversion.
5770 # map returns an iterator in Python 3.0 and a list in 2.x
5771 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5773 # xrange is not present in Python 3.0 and range returns an iterator
5774 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5775 sys.exit(sys.hexversion < minverhex)"
5776 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5777 ($PYTHON -c "$prog") >&5 2>&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); }; then :
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5782 $as_echo "yes" >&6; }
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5786 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
5788 am_display_PYTHON
=$PYTHON
5790 # Otherwise, try each interpreter until we find one that satisfies
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5793 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5794 if ${am_cv_pathless_PYTHON+:} false
; then :
5795 $as_echo_n "(cached) " >&6
5798 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
5799 test "$am_cv_pathless_PYTHON" = none
&& break
5801 # split strings by '.' and convert to numeric. Append some zeros
5802 # because we need at least 4 digits for the hex conversion.
5803 # map returns an iterator in Python 3.0 and a list in 2.x
5804 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5806 # xrange is not present in Python 3.0 and range returns an iterator
5807 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5808 sys.exit(sys.hexversion < minverhex)"
5809 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5810 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813 (exit $ac_status); }; then :
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5819 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5820 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5821 if test "$am_cv_pathless_PYTHON" = none
; then
5824 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5825 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5827 $as_echo_n "checking for $ac_word... " >&6; }
5828 if ${ac_cv_path_PYTHON+:} false
; then :
5829 $as_echo_n "(cached) " >&6
5833 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5840 test -z "$as_dir" && as_dir
=.
5841 for ac_exec_ext
in '' $ac_executable_extensions; do
5842 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5843 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5854 PYTHON
=$ac_cv_path_PYTHON
5855 if test -n "$PYTHON"; then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5857 $as_echo "$PYTHON" >&6; }
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860 $as_echo "no" >&6; }
5865 am_display_PYTHON
=$am_cv_pathless_PYTHON
5869 if test "$PYTHON" = :; then
5870 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5875 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5876 if ${am_cv_python_version+:} false
; then :
5877 $as_echo_n "(cached) " >&6
5879 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5882 $as_echo "$am_cv_python_version" >&6; }
5883 PYTHON_VERSION
=$am_cv_python_version
5887 PYTHON_PREFIX
='${prefix}'
5889 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5894 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5895 if ${am_cv_python_platform+:} false
; then :
5896 $as_echo_n "(cached) " >&6
5898 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5901 $as_echo "$am_cv_python_platform" >&6; }
5902 PYTHON_PLATFORM
=$am_cv_python_platform
5905 # Just factor out some code duplication.
5906 am_python_setup_sysconfig
="\
5908 # Prefer sysconfig over distutils.sysconfig, for better compatibility
5909 # with python 3.x. See automake bug#10227.
5913 can_use_sysconfig = 0
5915 can_use_sysconfig = 1
5916 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
5917 # <https://github.com/pypa/virtualenv/issues/118>
5919 from platform import python_implementation
5920 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
5921 can_use_sysconfig = 0
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5927 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5928 if ${am_cv_python_pythondir+:} false
; then :
5929 $as_echo_n "(cached) " >&6
5931 if test "x$prefix" = xNONE
5933 am_py_prefix
=$ac_default_prefix
5935 am_py_prefix
=$prefix
5937 am_cv_python_pythondir
=`$PYTHON -c "
5938 $am_python_setup_sysconfig
5939 if can_use_sysconfig:
5940 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
5942 from distutils import sysconfig
5943 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
5944 sys.stdout.write(sitedir)"`
5945 case $am_cv_python_pythondir in
5947 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5948 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5951 case $am_py_prefix in
5954 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5962 $as_echo "$am_cv_python_pythondir" >&6; }
5963 pythondir
=$am_cv_python_pythondir
5967 pkgpythondir
=\
${pythondir}/$PACKAGE
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5971 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5972 if ${am_cv_python_pyexecdir+:} false
; then :
5973 $as_echo_n "(cached) " >&6
5975 if test "x$exec_prefix" = xNONE
5977 am_py_exec_prefix
=$am_py_prefix
5979 am_py_exec_prefix
=$exec_prefix
5981 am_cv_python_pyexecdir
=`$PYTHON -c "
5982 $am_python_setup_sysconfig
5983 if can_use_sysconfig:
5984 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
5986 from distutils import sysconfig
5987 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
5988 sys.stdout.write(sitedir)"`
5989 case $am_cv_python_pyexecdir in
5990 $am_py_exec_prefix*)
5991 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5992 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5995 case $am_py_exec_prefix in
5998 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6006 $as_echo "$am_cv_python_pyexecdir" >&6; }
6007 pyexecdir
=$am_cv_python_pyexecdir
6011 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6021 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6022 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6023 $as_echo_n "(cached) " >&6
6025 ac_check_lib_save_LIBS
=$LIBS
6027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6028 /* end confdefs.h. */
6030 /* Override any GCC internal prototype to avoid an error.
6031 Use char because int might match the return type of a GCC
6032 builtin and then its argument prototype would still apply. */
6036 char png_read_png ();
6040 return png_read_png ();
6045 if ac_fn_c_try_link
"$LINENO"; then :
6046 ac_cv_lib_png_png_read_png
=yes
6048 ac_cv_lib_png_png_read_png
=no
6050 rm -f core conftest.err conftest.
$ac_objext \
6051 conftest
$ac_exeext conftest.
$ac_ext
6052 LIBS
=$ac_check_lib_save_LIBS
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6055 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6056 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6057 cat >>confdefs.h
<<_ACEOF
6058 #define HAVE_LIBPNG 1
6065 if test "$ac_cv_lib_png_png_read_png" = ""; then
6066 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6079 # Check for some includes for the X11 HIDD and the kernel
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6082 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6083 if ${ac_cv_path_GREP+:} false
; then :
6084 $as_echo_n "(cached) " >&6
6086 if test -z "$GREP"; then
6087 ac_path_GREP_found
=false
6088 # Loop through the user's path and test for each of PROGNAME-LIST
6089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6090 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6093 test -z "$as_dir" && as_dir
=.
6094 for ac_prog
in grep ggrep
; do
6095 for ac_exec_ext
in '' $ac_executable_extensions; do
6096 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6097 as_fn_executable_p
"$ac_path_GREP" ||
continue
6098 # Check for GNU ac_path_GREP and select it if it is found.
6099 # Check for GNU $ac_path_GREP
6100 case `"$ac_path_GREP" --version 2>&1` in
6102 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6105 $as_echo_n 0123456789 >"conftest.in"
6108 cat "conftest.in" "conftest.in" >"conftest.tmp"
6109 mv "conftest.tmp" "conftest.in"
6110 cp "conftest.in" "conftest.nl"
6111 $as_echo 'GREP' >> "conftest.nl"
6112 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6113 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6114 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6115 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6116 # Best one so far, save it but keep looking for a better one
6117 ac_cv_path_GREP
="$ac_path_GREP"
6118 ac_path_GREP_max
=$ac_count
6120 # 10*(2^10) chars as input seems more than enough
6121 test $ac_count -gt 10 && break
6123 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6126 $ac_path_GREP_found && break 3
6131 if test -z "$ac_cv_path_GREP"; then
6132 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6135 ac_cv_path_GREP
=$GREP
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6140 $as_echo "$ac_cv_path_GREP" >&6; }
6141 GREP
="$ac_cv_path_GREP"
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6145 $as_echo_n "checking for egrep... " >&6; }
6146 if ${ac_cv_path_EGREP+:} false
; then :
6147 $as_echo_n "(cached) " >&6
6149 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6150 then ac_cv_path_EGREP
="$GREP -E"
6152 if test -z "$EGREP"; then
6153 ac_path_EGREP_found
=false
6154 # Loop through the user's path and test for each of PROGNAME-LIST
6155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6156 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6159 test -z "$as_dir" && as_dir
=.
6160 for ac_prog
in egrep; do
6161 for ac_exec_ext
in '' $ac_executable_extensions; do
6162 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6163 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6164 # Check for GNU ac_path_EGREP and select it if it is found.
6165 # Check for GNU $ac_path_EGREP
6166 case `"$ac_path_EGREP" --version 2>&1` in
6168 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6171 $as_echo_n 0123456789 >"conftest.in"
6174 cat "conftest.in" "conftest.in" >"conftest.tmp"
6175 mv "conftest.tmp" "conftest.in"
6176 cp "conftest.in" "conftest.nl"
6177 $as_echo 'EGREP' >> "conftest.nl"
6178 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6179 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6180 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6181 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6182 # Best one so far, save it but keep looking for a better one
6183 ac_cv_path_EGREP
="$ac_path_EGREP"
6184 ac_path_EGREP_max
=$ac_count
6186 # 10*(2^10) chars as input seems more than enough
6187 test $ac_count -gt 10 && break
6189 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6192 $ac_path_EGREP_found && break 3
6197 if test -z "$ac_cv_path_EGREP"; then
6198 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6201 ac_cv_path_EGREP
=$EGREP
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6207 $as_echo "$ac_cv_path_EGREP" >&6; }
6208 EGREP
="$ac_cv_path_EGREP"
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6212 $as_echo_n "checking for ANSI C header files... " >&6; }
6213 if ${ac_cv_header_stdc+:} false
; then :
6214 $as_echo_n "(cached) " >&6
6216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6217 /* end confdefs.h. */
6231 if ac_fn_c_try_compile
"$LINENO"; then :
6232 ac_cv_header_stdc
=yes
6234 ac_cv_header_stdc
=no
6236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6238 if test $ac_cv_header_stdc = yes; then
6239 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6241 /* end confdefs.h. */
6245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6246 $EGREP "memchr" >/dev
/null
2>&1; then :
6249 ac_cv_header_stdc
=no
6255 if test $ac_cv_header_stdc = yes; then
6256 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6258 /* end confdefs.h. */
6262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6263 $EGREP "free" >/dev
/null
2>&1; then :
6266 ac_cv_header_stdc
=no
6272 if test $ac_cv_header_stdc = yes; then
6273 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6274 if test "$cross_compiling" = yes; then :
6277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6278 /* end confdefs.h. */
6281 #if ((' ' & 0x0FF) == 0x020)
6282 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6283 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6285 # define ISLOWER(c) \
6286 (('a' <= (c) && (c) <= 'i') \
6287 || ('j' <= (c) && (c) <= 'r') \
6288 || ('s' <= (c) && (c) <= 'z'))
6289 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6292 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6297 for (i = 0; i < 256; i++)
6298 if (XOR (islower (i), ISLOWER (i))
6299 || toupper (i) != TOUPPER (i))
6304 if ac_fn_c_try_run
"$LINENO"; then :
6307 ac_cv_header_stdc
=no
6309 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6310 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6316 $as_echo "$ac_cv_header_stdc" >&6; }
6317 if test $ac_cv_header_stdc = yes; then
6319 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6323 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6324 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6325 inttypes.h stdint.h unistd.h
6327 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6328 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6330 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6331 cat >>confdefs.h
<<_ACEOF
6332 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6340 for ac_header
in sys
/ipc.h sys
/shm.h \
6341 sys
/mmap.h sys
/mman.h sysexits.h \
6342 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6345 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6346 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6347 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6348 cat >>confdefs.h
<<_ACEOF
6349 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6357 for ac_header
in sys
/mount.h
6359 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6361 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6362 cat >>confdefs.h
<<_ACEOF
6363 #define HAVE_SYS_MOUNT_H 1
6372 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6373 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6375 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6376 if eval \
${$as_ac_Header+:} false
; then :
6377 $as_echo_n "(cached) " >&6
6379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6381 #include <sys/types.h>
6393 if ac_fn_c_try_compile
"$LINENO"; then :
6394 eval "$as_ac_Header=yes"
6396 eval "$as_ac_Header=no"
6398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6400 eval ac_res
=\$
$as_ac_Header
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6402 $as_echo "$ac_res" >&6; }
6403 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6404 cat >>confdefs.h
<<_ACEOF
6405 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6408 ac_header_dirent
=$ac_hdr; break
6412 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6413 if test $ac_header_dirent = dirent.h
; then
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6415 $as_echo_n "checking for library containing opendir... " >&6; }
6416 if ${ac_cv_search_opendir+:} false
; then :
6417 $as_echo_n "(cached) " >&6
6419 ac_func_search_save_LIBS
=$LIBS
6420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6421 /* end confdefs.h. */
6423 /* Override any GCC internal prototype to avoid an error.
6424 Use char because int might match the return type of a GCC
6425 builtin and then its argument prototype would still apply. */
6438 for ac_lib
in '' dir
; do
6439 if test -z "$ac_lib"; then
6440 ac_res
="none required"
6443 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6445 if ac_fn_c_try_link
"$LINENO"; then :
6446 ac_cv_search_opendir
=$ac_res
6448 rm -f core conftest.err conftest.
$ac_objext \
6450 if ${ac_cv_search_opendir+:} false
; then :
6454 if ${ac_cv_search_opendir+:} false
; then :
6457 ac_cv_search_opendir
=no
6460 LIBS
=$ac_func_search_save_LIBS
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6463 $as_echo "$ac_cv_search_opendir" >&6; }
6464 ac_res
=$ac_cv_search_opendir
6465 if test "$ac_res" != no
; then :
6466 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6472 $as_echo_n "checking for library containing opendir... " >&6; }
6473 if ${ac_cv_search_opendir+:} false
; then :
6474 $as_echo_n "(cached) " >&6
6476 ac_func_search_save_LIBS
=$LIBS
6477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6478 /* end confdefs.h. */
6480 /* Override any GCC internal prototype to avoid an error.
6481 Use char because int might match the return type of a GCC
6482 builtin and then its argument prototype would still apply. */
6495 for ac_lib
in '' x
; do
6496 if test -z "$ac_lib"; then
6497 ac_res
="none required"
6500 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6502 if ac_fn_c_try_link
"$LINENO"; then :
6503 ac_cv_search_opendir
=$ac_res
6505 rm -f core conftest.err conftest.
$ac_objext \
6507 if ${ac_cv_search_opendir+:} false
; then :
6511 if ${ac_cv_search_opendir+:} false
; then :
6514 ac_cv_search_opendir
=no
6517 LIBS
=$ac_func_search_save_LIBS
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6520 $as_echo "$ac_cv_search_opendir" >&6; }
6521 ac_res
=$ac_cv_search_opendir
6522 if test "$ac_res" != no
; then :
6523 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6530 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6531 if ${ac_cv_header_stat_broken+:} false
; then :
6532 $as_echo_n "(cached) " >&6
6534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6535 /* end confdefs.h. */
6536 #include <sys/types.h>
6537 #include <sys/stat.h>
6539 #if defined S_ISBLK && defined S_IFDIR
6540 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6543 #if defined S_ISBLK && defined S_IFCHR
6544 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6547 #if defined S_ISLNK && defined S_IFREG
6548 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6551 #if defined S_ISSOCK && defined S_IFREG
6552 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6556 if ac_fn_c_try_compile
"$LINENO"; then :
6557 ac_cv_header_stat_broken
=no
6559 ac_cv_header_stat_broken
=yes
6561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6564 $as_echo "$ac_cv_header_stat_broken" >&6; }
6565 if test $ac_cv_header_stat_broken = yes; then
6567 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6572 $as_echo_n "checking for ANSI C header files... " >&6; }
6573 if ${ac_cv_header_stdc+:} false
; then :
6574 $as_echo_n "(cached) " >&6
6576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6577 /* end confdefs.h. */
6591 if ac_fn_c_try_compile
"$LINENO"; then :
6592 ac_cv_header_stdc
=yes
6594 ac_cv_header_stdc
=no
6596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6598 if test $ac_cv_header_stdc = yes; then
6599 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6601 /* end confdefs.h. */
6605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6606 $EGREP "memchr" >/dev
/null
2>&1; then :
6609 ac_cv_header_stdc
=no
6615 if test $ac_cv_header_stdc = yes; then
6616 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6618 /* end confdefs.h. */
6622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6623 $EGREP "free" >/dev
/null
2>&1; then :
6626 ac_cv_header_stdc
=no
6632 if test $ac_cv_header_stdc = yes; then
6633 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6634 if test "$cross_compiling" = yes; then :
6637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6638 /* end confdefs.h. */
6641 #if ((' ' & 0x0FF) == 0x020)
6642 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6643 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6645 # define ISLOWER(c) \
6646 (('a' <= (c) && (c) <= 'i') \
6647 || ('j' <= (c) && (c) <= 'r') \
6648 || ('s' <= (c) && (c) <= 'z'))
6649 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6652 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6657 for (i = 0; i < 256; i++)
6658 if (XOR (islower (i), ISLOWER (i))
6659 || toupper (i) != TOUPPER (i))
6664 if ac_fn_c_try_run
"$LINENO"; then :
6667 ac_cv_header_stdc
=no
6669 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6670 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6676 $as_echo "$ac_cv_header_stdc" >&6; }
6677 if test $ac_cv_header_stdc = yes; then
6679 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6684 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6685 if ${ac_cv_header_sys_wait_h+:} false
; then :
6686 $as_echo_n "(cached) " >&6
6688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6689 /* end confdefs.h. */
6690 #include <sys/types.h>
6691 #include <sys/wait.h>
6693 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6696 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6704 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6709 if ac_fn_c_try_compile
"$LINENO"; then :
6710 ac_cv_header_sys_wait_h
=yes
6712 ac_cv_header_sys_wait_h
=no
6714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6717 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6718 if test $ac_cv_header_sys_wait_h = yes; then
6720 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6725 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6726 if ${ac_cv_header_time+:} false
; then :
6727 $as_echo_n "(cached) " >&6
6729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6730 /* end confdefs.h. */
6731 #include <sys/types.h>
6732 #include <sys/time.h>
6738 if ((struct tm *) 0)
6744 if ac_fn_c_try_compile
"$LINENO"; then :
6745 ac_cv_header_time
=yes
6747 ac_cv_header_time
=no
6749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6752 $as_echo "$ac_cv_header_time" >&6; }
6753 if test $ac_cv_header_time = yes; then
6755 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6759 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6760 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6762 cat >>confdefs.h
<<_ACEOF
6763 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6767 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6772 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6773 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6775 cat >>confdefs.h
<<_ACEOF
6776 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6780 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6783 case " $LIBOBJS " in
6784 *" fileblocks.$ac_objext "* ) ;;
6785 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6792 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6793 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6795 cat >>confdefs.h
<<_ACEOF
6796 #define HAVE_STRUCT_STAT_ST_RDEV 1
6800 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6806 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6807 if ${ac_cv_struct_tm+:} false
; then :
6808 $as_echo_n "(cached) " >&6
6810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6811 /* end confdefs.h. */
6812 #include <sys/types.h>
6819 int *p = &tm.tm_sec;
6825 if ac_fn_c_try_compile
"$LINENO"; then :
6826 ac_cv_struct_tm
=time.h
6828 ac_cv_struct_tm
=sys
/time.h
6830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6833 $as_echo "$ac_cv_struct_tm" >&6; }
6834 if test $ac_cv_struct_tm = sys
/time.h
; then
6836 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6840 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6841 #include <$ac_cv_struct_tm>
6844 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6846 cat >>confdefs.h
<<_ACEOF
6847 #define HAVE_STRUCT_TM_TM_ZONE 1
6853 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6855 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6858 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6860 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6866 cat >>confdefs.h
<<_ACEOF
6867 #define HAVE_DECL_TZNAME $ac_have_decl
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6871 $as_echo_n "checking for tzname... " >&6; }
6872 if ${ac_cv_var_tzname+:} false
; then :
6873 $as_echo_n "(cached) " >&6
6875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6876 /* end confdefs.h. */
6878 #if !HAVE_DECL_TZNAME
6879 extern char *tzname[];
6885 return tzname[0][0];
6890 if ac_fn_c_try_link
"$LINENO"; then :
6891 ac_cv_var_tzname
=yes
6895 rm -f core conftest.err conftest.
$ac_objext \
6896 conftest
$ac_exeext conftest.
$ac_ext
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6899 $as_echo "$ac_cv_var_tzname" >&6; }
6900 if test $ac_cv_var_tzname = yes; then
6902 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6907 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6908 if test "x$ac_cv_type_off_t" = xyes
; then :
6912 cat >>confdefs.h
<<_ACEOF
6913 #define off_t long int
6918 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6919 if test "x$ac_cv_type_pid_t" = xyes
; then :
6923 cat >>confdefs.h
<<_ACEOF
6929 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6930 if test "x$ac_cv_type_size_t" = xyes
; then :
6934 cat >>confdefs.h
<<_ACEOF
6935 #define size_t unsigned int
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6941 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6942 if ${ac_cv_type_uid_t+:} false
; then :
6943 $as_echo_n "(cached) " >&6
6945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6946 /* end confdefs.h. */
6947 #include <sys/types.h>
6950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6951 $EGREP "uid_t" >/dev
/null
2>&1; then :
6952 ac_cv_type_uid_t
=yes
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6960 $as_echo "$ac_cv_type_uid_t" >&6; }
6961 if test $ac_cv_type_uid_t = no
; then
6963 $as_echo "#define uid_t int" >>confdefs.h
6966 $as_echo "#define gid_t int" >>confdefs.h
6971 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6972 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6974 cat >>confdefs.h
<<_ACEOF
6975 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6982 # Look for some functions
6983 for ac_func
in getpagesize kqueue statfs statvfs \
6984 clone kse_create rfork_thread thr_create sa_register \
6985 getcontext makecontext setcontext sigaltstack swapcontext
6987 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6988 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6989 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6990 cat >>confdefs.h
<<_ACEOF
6991 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7001 for ac_header
in $ac_header_list
7003 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7004 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7006 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7007 cat >>confdefs.h
<<_ACEOF
7008 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7022 for ac_func
in getpagesize
7024 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7025 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7026 cat >>confdefs.h
<<_ACEOF
7027 #define HAVE_GETPAGESIZE 1
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7034 $as_echo_n "checking for working mmap... " >&6; }
7035 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7036 $as_echo_n "(cached) " >&6
7038 if test "$cross_compiling" = yes; then :
7039 ac_cv_func_mmap_fixed_mapped
=no
7041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7042 /* end confdefs.h. */
7043 $ac_includes_default
7044 /* malloc might have been renamed as rpl_malloc. */
7047 /* Thanks to Mike Haertel and Jim Avera for this test.
7048 Here is a matrix of mmap possibilities:
7049 mmap private not fixed
7050 mmap private fixed at somewhere currently unmapped
7051 mmap private fixed at somewhere already mapped
7052 mmap shared not fixed
7053 mmap shared fixed at somewhere currently unmapped
7054 mmap shared fixed at somewhere already mapped
7055 For private mappings, we should verify that changes cannot be read()
7056 back from the file, nor mmap's back from the file at a different
7057 address. (There have been systems where private was not correctly
7058 implemented like the infamous i386 svr4.0, and systems where the
7059 VM page cache was not coherent with the file system buffer cache
7060 like early versions of FreeBSD and possibly contemporary NetBSD.)
7061 For shared mappings, we should conversely verify that changes get
7062 propagated back to all the places they're supposed to be.
7064 Grep wants private fixed already mapped.
7065 The main things grep needs to know about mmap are:
7066 * does it exist and is it safe to write into the mmap'd area
7067 * how to use it (BSD variants) */
7070 #include <sys/mman.h>
7072 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7076 /* This mess was copied from the GNU getpagesize.h. */
7077 #ifndef HAVE_GETPAGESIZE
7078 # ifdef _SC_PAGESIZE
7079 # define getpagesize() sysconf(_SC_PAGESIZE)
7080 # else /* no _SC_PAGESIZE */
7081 # ifdef HAVE_SYS_PARAM_H
7082 # include <sys/param.h>
7083 # ifdef EXEC_PAGESIZE
7084 # define getpagesize() EXEC_PAGESIZE
7085 # else /* no EXEC_PAGESIZE */
7087 # define getpagesize() NBPG * CLSIZE
7090 # endif /* no CLSIZE */
7091 # else /* no NBPG */
7093 # define getpagesize() NBPC
7094 # else /* no NBPC */
7096 # define getpagesize() PAGESIZE
7097 # endif /* PAGESIZE */
7098 # endif /* no NBPC */
7099 # endif /* no NBPG */
7100 # endif /* no EXEC_PAGESIZE */
7101 # else /* no HAVE_SYS_PARAM_H */
7102 # define getpagesize() 8192 /* punt totally */
7103 # endif /* no HAVE_SYS_PARAM_H */
7104 # endif /* no _SC_PAGESIZE */
7106 #endif /* no HAVE_GETPAGESIZE */
7111 char *data, *data2, *data3;
7116 pagesize = getpagesize ();
7118 /* First, make a file with some known garbage in it. */
7119 data = (char *) malloc (pagesize);
7122 for (i = 0; i < pagesize; ++i)
7123 *(data + i) = rand ();
7125 fd = creat ("conftest.mmap", 0600);
7128 if (write (fd, data, pagesize) != pagesize)
7132 /* Next, check that the tail of a page is zero-filled. File must have
7133 non-zero length, otherwise we risk SIGBUS for entire page. */
7134 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7138 if (write (fd2, cdata2, 1) != 1)
7140 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7141 if (data2 == MAP_FAILED)
7143 for (i = 0; i < pagesize; ++i)
7147 if (munmap (data2, pagesize))
7150 /* Next, try to mmap the file at a fixed address which already has
7151 something else allocated at it. If we can, also make sure that
7152 we see the same garbage. */
7153 fd = open ("conftest.mmap", O_RDWR);
7156 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7157 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7159 for (i = 0; i < pagesize; ++i)
7160 if (*(data + i) != *(data2 + i))
7163 /* Finally, make sure that changes to the mapped area do not
7164 percolate back to the file as seen by read(). (This is a bug on
7165 some variants of i386 svr4.0.) */
7166 for (i = 0; i < pagesize; ++i)
7167 *(data2 + i) = *(data2 + i) + 1;
7168 data3 = (char *) malloc (pagesize);
7171 if (read (fd, data3, pagesize) != pagesize)
7173 for (i = 0; i < pagesize; ++i)
7174 if (*(data + i) != *(data3 + i))
7180 if ac_fn_c_try_run
"$LINENO"; then :
7181 ac_cv_func_mmap_fixed_mapped
=yes
7183 ac_cv_func_mmap_fixed_mapped
=no
7185 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7186 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7191 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7192 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7194 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7197 rm -f conftest.mmap conftest.txt
7202 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7203 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7204 aros_config_ldflags
=""
7206 aros_shared_default
=yes
7208 aros_shared_cflags
="-fPIC"
7209 aros_shared_aflags
=""
7210 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7211 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7213 aros_kernel_ar_flags
="cr"
7214 aros_target_ar_flags
="cr"
7215 aros_target_nm_flags
="-C -ul"
7216 aros_target_strip_flags
="--strip-unneeded -R.comment"
7221 aros_target_genmap
="-Wl,-Map -Xlinker"
7223 # Native flavour stuff
7224 aros_serial_debug
="0"
7226 # Palm native flavour stuff
7227 aros_palm_debug_hack
="0"
7229 # Unix flavour stuff
7230 aros_nesting_supervisor
="0"
7232 # Collect-aros stuff: "-ius" to ignore undefined symbols
7233 ignore_undefined_symbols
=""
7235 # Check for X11 by default
7238 #-----------------------------------------------------------------------------
7241 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7242 # it switched on by default, and we use the host compiler, so it compiles AROS
7243 # code with this enabled resulting in link failures as we don't have support
7246 # We use two methods to disable it. For the host compiler (used to compile
7247 # some hosted modules), we test to see if the compiler supports stack
7248 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7249 # work on all platforms.
7251 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7252 # (this is done unconditionally, as it should have no effect on compilers
7253 # without the stack protection feature). This may be specific to the way that
7254 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7255 # strong enough to disable it in a generic way though, so we'll live with it
7256 # until another vendor ships GCC with it enabled in a different way, and deal
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7261 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7262 save_cflags
="$CFLAGS"
7263 CFLAGS
="$CFLAGS -fno-stack-protector"
7264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7275 if ac_fn_c_try_compile
"$LINENO"; then :
7276 use_no_stack_protector
="yes"
7278 use_no_stack_protector
="no"
7280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7282 $as_echo "$use_no_stack_protector" >&6; }
7283 if test "x-$use_no_stack_protector" = "x-yes" ; then
7284 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7286 CFLAGS
="$save_cflags"
7288 #-----------------------------------------------------------------------------
7290 # Disable pointer-signedness warnings if the compiler recognises the option
7291 # (this only works for the host compiler at the moment)
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7294 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7295 save_cflags
="$CFLAGS"
7296 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7298 /* end confdefs.h. */
7308 if ac_fn_c_try_compile
"$LINENO"; then :
7309 use_no_sign_warning
="yes"
7311 use_no_sign_warning
="no"
7313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7315 $as_echo "$use_no_sign_warning" >&6; }
7316 if test "x-$use_no_sign_warning" = "x-yes" ; then
7317 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7319 CFLAGS
="$save_cflags"
7321 #-----------------------------------------------------------------------------
7323 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7326 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7327 save_cflags
="$CFLAGS"
7328 CFLAGS
="$CFLAGS -fgnu89-inline"
7329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7330 /* end confdefs.h. */
7340 if ac_fn_c_try_compile
"$LINENO"; then :
7341 use_gnu89_inline
="yes"
7343 use_gnu89_inline
="no"
7345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7347 $as_echo "$use_gnu89_inline" >&6; }
7348 if test "x-$use_gnu89_inline" = "x-yes" ; then
7349 gnu89_inline
="-fgnu89-inline"
7351 CFLAGS
="$save_cflags"
7353 #-----------------------------------------------------------------------------
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7356 $as_echo_n "checking for type of build... " >&6; }
7357 # Check whether --enable-build_type was given.
7358 if test "${enable_build_type+set}" = set; then :
7359 enableval
=$enable_build_type; build_type
=$enableval
7361 build_type
="personal"
7365 if test "$build_type" = "nightly"; then
7366 build_type_string
="NIGHTLY"
7367 elif test "$build_type" = "snapshot"; then
7368 build_type_string
="SNAPSHOT"
7369 elif test "$build_type" = "milestone"; then
7370 build_type_string
="MILESTONE"
7371 elif test "$build_type" = "release"; then
7372 build_type_string
="RELEASE"
7374 build_type_string
="PERSONAL"
7375 build_type
="personal"
7378 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7381 $as_echo "$build_type" >&6; }
7383 #-----------------------------------------------------------------------------
7384 all_debug_types
="messages stack modules mungwall symbols"
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7387 $as_echo_n "checking which debug types to enable... " >&6; }
7388 # Check whether --enable-debug was given.
7389 if test "${enable_debug+set}" = set; then :
7390 enableval
=$enable_debug; debug
="$enableval"
7396 if test "$debug" = "" -o "$debug" = "no"; then
7398 elif test "$debug" = "yes"; then
7402 if test "$debug" = "all" ; then
7403 debug
="messages stack modules symbols"
7404 for d
in $all_debug_types; do
7405 export aros_
${d}_debug
="1"
7408 for d
in $all_debug_types; do
7409 export aros_
${d}_debug
="0"
7413 if test "$debug" != "none"; then
7414 debug
=`echo $debug | sed s/,/\ /g`
7417 for d2
in $all_debug_types; do
7418 if test "$d2" = "$d"; then
7423 if test "$found" = "0"; then
7424 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7426 export aros_
${d}_debug
="1"
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7431 $as_echo "$debug" >&6; }
7433 if test "$aros_messages_debug" = "1"; then
7434 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7436 aros_messages_debug
=""
7438 if test "$aros_symbols_debug" = "1"; then
7439 aros_symbols_debug
="-g"
7441 aros_symbols_debug
=""
7444 # These are the flags to pass when compiling debugged programs
7445 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7446 aros_debug_aflags
=""
7447 aros_debug_ldflags
="$aros_symbols_debug"
7449 #-----------------------------------------------------------------------------
7450 # Checking for distcc and ccache.
7452 # Always apply the transforms in this particular order. Basically you should
7453 # always run 'ccache distcc compiler' in that order for the best performance.
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7456 $as_echo_n "checking whether to enable distcc... " >&6; }
7457 # Check whether --enable-distcc was given.
7458 if test "${enable_distcc+set}" = set; then :
7459 enableval
=$enable_distcc; distcc
="$enableval"
7464 if test "$distcc" != "" -a "$distcc" != "no"; then
7465 # AC_CHECK_PROG will print out the result in this case
7466 # Extract the first word of "distcc", so it can be a program name with args.
7467 set dummy distcc
; ac_word
=$2
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7469 $as_echo_n "checking for $ac_word... " >&6; }
7470 if ${ac_cv_path_DISTCC+:} false
; then :
7471 $as_echo_n "(cached) " >&6
7475 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7482 test -z "$as_dir" && as_dir
=.
7483 for ac_exec_ext
in '' $ac_executable_extensions; do
7484 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7485 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7493 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7497 DISTCC
=$ac_cv_path_DISTCC
7498 if test -n "$DISTCC"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7500 $as_echo "$DISTCC" >&6; }
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7509 $as_echo "no" >&6; }
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7513 $as_echo_n "checking whether to enable ccache... " >&6; }
7514 # Check whether --enable-ccache was given.
7515 if test "${enable_ccache+set}" = set; then :
7516 enableval
=$enable_ccache; ccache
="$enableval"
7521 if test "$ccache" != "" -a "$ccache" != "no"; then
7522 # AC_CHECK_PROG will print out the result in this case
7523 # Extract the first word of "ccache", so it can be a program name with args.
7524 set dummy ccache
; ac_word
=$2
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7526 $as_echo_n "checking for $ac_word... " >&6; }
7527 if ${ac_cv_prog_CCACHE+:} false
; then :
7528 $as_echo_n "(cached) " >&6
7530 if test -n "$CCACHE"; then
7531 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7537 test -z "$as_dir" && as_dir
=.
7538 for ac_exec_ext
in '' $ac_executable_extensions; do
7539 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7540 ac_cv_prog_CCACHE
="ccache"
7541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550 CCACHE
=$ac_cv_prog_CCACHE
7551 if test -n "$CCACHE"; then
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7553 $as_echo "$CCACHE" >&6; }
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7556 $as_echo "no" >&6; }
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562 $as_echo "no" >&6; }
7565 #-----------------------------------------------------------------------------
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7567 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7569 # Check whether --with-kernel-gcc-version was given.
7570 if test "${with_kernel_gcc_version+set}" = set; then :
7571 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7573 kernel_tool_version
=""
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7577 $as_echo "$kernel_tool_version" >&6; }
7579 #-----------------------------------------------------------------------------
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7581 $as_echo_n "checking what optimization flags to use... " >&6; }
7583 # Check whether --with-optimization was given.
7584 if test "${with_optimization+set}" = set; then :
7585 withval
=$with_optimization; optimization
="$withval"
7587 optimization
="unknown"
7590 if test "$optimization" = "unknown"; then
7591 if test "$debug" != "none"; then
7597 aros_config_cflags
="$aros_config_cflags $optimization"
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7599 $as_echo "$optimization" >&6; }
7601 #-----------------------------------------------------------------------------
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7603 $as_echo_n "checking what paranoia flags to use... " >&6; }
7605 # Check whether --with-paranoia was given.
7606 if test "${with_paranoia+set}" = set; then :
7607 withval
=$with_paranoia; paranoia_flags
="$withval"
7609 paranoia_flags
="default"
7612 if test "$paranoia_flags" = "default"; then
7614 else if test "$paranoia_flags" = "yes"; then
7615 paranoia_flags
="-Wall -Werror"
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7618 $as_echo "$paranoia_flags" >&6; }
7619 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7621 #-----------------------------------------------------------------------------
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7623 $as_echo_n "checking what target variant to enable... " >&6; }
7624 # Check whether --enable-target_variant was given.
7625 if test "${enable_target_variant+set}" = set; then :
7626 enableval
=$enable_target_variant; target_variant
=$enableval
7631 if test "$target_variant" = ""; then
7632 aros_target_variant
=""
7633 aros_target_suffix
=""
7636 aros_target_variant
="$target_variant"
7637 aros_target_suffix
="-$target_variant"
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7640 $as_echo "$enableval" >&6; }
7642 #-----------------------------------------------------------------------------
7643 # Target-specific defaults. You can override then on a per-target basis.
7645 # Bootloader name. Currently used by PC target.
7646 target_bootloader
="none"
7648 #-----------------------------------------------------------------------------
7649 # Additional options for some specific targets
7651 case "$aros_target_variant" in
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7654 $as_echo_n "checking XCode path... " >&6; }
7656 # Check whether --with-xcode was given.
7657 if test "${with_xcode+set}" = set; then :
7658 withval
=$with_xcode; aros_xcode_path
="$withval"
7660 aros_xcode_path
="/Developer"
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7664 $as_echo "$aros_xcode_path" >&6; }
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7667 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7669 # Check whether --with-sdk-version was given.
7670 if test "${with_sdk_version+set}" = set; then :
7671 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7673 aros_sdk_version
="4.1"
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7677 $as_echo "$aros_sdk_version" >&6; }
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7683 $as_echo_n "checking Android SDK path... " >&6; }
7685 # Check whether --with-sdk was given.
7686 if test "${with_sdk+set}" = set; then :
7687 withval
=$with_sdk; aros_android_sdk
="$withval"
7689 aros_android_sdk
=$default_android_sdk
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7693 $as_echo "$aros_android_sdk" >&6; }
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7696 $as_echo_n "checking Android NDK path... " >&6; }
7698 # Check whether --with-ndk was given.
7699 if test "${with_ndk+set}" = set; then :
7700 withval
=$with_ndk; aros_android_ndk
="$withval"
7702 aros_android_ndk
="none"
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7706 $as_echo "$aros_android_ndk" >&6; }
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7709 $as_echo_n "checking what Android SDK version to use... " >&6; }
7711 # Check whether --with-sdk-version was given.
7712 if test "${with_sdk_version+set}" = set; then :
7713 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7715 aros_sdk_version
="12"
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7719 $as_echo "$aros_sdk_version" >&6; }
7721 if test "$aros_android_ndk" != "none"; then
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7723 $as_echo_n "checking what Android NDK version to use... " >&6; }
7725 # Check whether --with-ndk-version was given.
7726 if test "${with_ndk_version+set}" = set; then :
7727 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7729 aros_ndk_version
="9"
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7733 $as_echo "$aros_ndk_version" >&6; }
7736 export PATH
="$aros_android_sdk/tools:$PATH"
7737 # Extract the first word of "$android_tool", so it can be a program name with args.
7738 set dummy
$android_tool; ac_word
=$2
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7740 $as_echo_n "checking for $ac_word... " >&6; }
7741 if ${ac_cv_path_android_tool+:} false
; then :
7742 $as_echo_n "(cached) " >&6
7744 case $android_tool in
7746 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7753 test -z "$as_dir" && as_dir
=.
7754 for ac_exec_ext
in '' $ac_executable_extensions; do
7755 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7756 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7767 android_tool
=$ac_cv_path_android_tool
7768 if test -n "$android_tool"; then
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7770 $as_echo "$android_tool" >&6; }
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7773 $as_echo "no" >&6; }
7777 if test "$android_tool" = ""; then
7778 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7781 aros_android_level
=android-
$aros_sdk_version
7782 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7783 echo "Platform $aros_android_level is not installed in your SDK"
7784 echo "Use --with-sdk-version=<API level number> to select another platform version"
7785 echo "You can check what plaform versions are installed in your SDK"
7786 echo "by examining contents of $aros_android_sdk/platforms directory"
7787 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7790 # Extract the first word of "ant", so it can be a program name with args.
7791 set dummy ant
; ac_word
=$2
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7793 $as_echo_n "checking for $ac_word... " >&6; }
7794 if ${ac_cv_path_ant+:} false
; then :
7795 $as_echo_n "(cached) " >&6
7799 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7806 test -z "$as_dir" && as_dir
=.
7807 for ac_exec_ext
in '' $ac_executable_extensions; do
7808 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7809 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7821 if test -n "$ant"; then
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7823 $as_echo "$ant" >&6; }
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7826 $as_echo "no" >&6; }
7830 if test "$ant" = ""; then
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7832 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
7836 $as_echo_n "checking Build debug or release apk... " >&6; }
7838 # Check whether --with-apk-version was given.
7839 if test "${with_apk_version+set}" = set; then :
7840 withval
=$with_apk_version; aros_android_antapk
=$withval
7842 aros_android_antapk
=release
7845 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
7846 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
7849 $as_echo "$aros_android_antapk" >&6; }
7851 if test "$host_os" = "mingw32"; then
7852 android_tool
="cmd //c $android_tool"
7858 #-----------------------------------------------------------------------------
7859 # External toolchains
7860 kernel_tool_prefix
="none"
7861 aros_tool_prefix
="none"
7862 elf_tool_prefix
="${target_cpu}-elf-"
7864 # This is the target configuration switch.
7865 case "$target_os" in
7867 aros_target_arch
="linux"
7868 aros_target_family
="unix"
7869 case "$target_cpu" in
7871 aros_target_cpu
="m68k"
7872 aros_object_format
="m68kelf"
7873 aros_flavour
="emulcompat"
7874 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7875 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7876 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7877 gcc_target_cpu
="mc68000"
7880 aros_target_cpu
="i386"
7881 aros_object_format
="elf_i386"
7882 aros_flavour
="emulation"
7883 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7884 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7885 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7886 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7887 aros_config_ldflags
="-m32 -march=i486"
7888 aros_kernel_ldflags
="-Wl,-melf_i386"
7889 aros_default_wbdepth
=8
7890 gcc_target_cpu
="i386"
7891 pci_hidd_target
="hidd-pci-linux"
7892 android_tool_dir_prefix
="x86"
7893 android_tool_prefix
="i686-android-linux"
7894 android_ndk_arch
="x86"
7897 aros_target_cpu
="x86_64"
7898 aros_object_format
="elf_x86_64"
7899 aros_flavour
="emulation"
7900 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7901 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7902 aros_default_wbdepth
=8
7903 pci_hidd_target
="hidd-pci-linux"
7906 aros_target_cpu
="ppc"
7907 aros_object_format
="elf32ppc"
7908 aros_flavour
="emulation"
7909 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7910 aros_default_wbdepth
=8
7911 gcc_target_cpu
="ppc"
7914 # Same as powerpc, but I need this for the nightly build to work again.
7915 # Actually, the nightly should be made working with powerpc target.
7916 # That just was too much work for the moment, another week or two.
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 aros_target_cpu
="arm"
7928 aros_object_format
="armelf_aros"
7929 aros_flavour
="emulation"
7930 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7931 gcc_target_cpu
="arm"
7932 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7933 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7934 aros_arch_libs
="-laeabi"
7935 gcc_default_float_abi
="hard"
7936 android_tool_dir_prefix
="arm-linux-androideabi"
7937 android_tool_prefix
="arm-linux-androideabi"
7938 android_ndk_arch
="arm"
7939 kernel_tool_prefix
="arm-linux-gnueabihf-"
7942 aros_target_cpu
="arm"
7943 aros_object_format
="armelf_aros"
7944 aros_flavour
="emulation"
7945 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7946 gcc_target_cpu
="arm"
7947 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7948 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7949 aros_arch_libs
="-laeabi"
7950 android_tool_dir_prefix
="arm-linux-androideabi"
7951 android_tool_prefix
="arm-linux-androideabi"
7952 android_ndk_arch
="arm"
7953 kernel_tool_prefix
="arm-linux-gnueabi-"
7956 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7959 case "$aros_target_variant" in
7962 if test "$android_ndk_arch" = ""; then
7963 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7966 aros_default_wbwidth
=320
7967 aros_default_wbheight
=480
7968 if test "$aros_android_ndk" = "none"; then
7969 aros_kernel_cflags
="-mandroid"
7970 aros_kernel_ldflags
="-mandroid"
7973 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
7974 kernel_tool_version
=""
7975 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7976 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7977 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7978 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7979 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7982 unixgfx_hidd_target
=kernel-hidd-androidgfx
7983 # Disable implicit PIC mode
7984 aros_target_cflags
="$aros_target_cflags -fno-pic"
7985 kernel_tool_prefix
="$android_tool_prefix-"
7991 aros_target_arch
="pc"
7992 aros_shared_default
="no"
7993 target_bootloader
="grub2"
7994 case "$target_cpu" in
7996 aros_target_cpu
="i386"
7999 if test "$aros_object_format" = "" ; then
8000 aros_object_format
="elf_i386"
8002 aros_flavour
="standalone"
8003 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8004 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
8005 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
8006 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
8007 aros_config_ldflags
="-m32 -march=i486"
8008 aros_kernel_ldflags
="-Wl,-melf_i386"
8009 aros_default_wbwidth
=640
8010 aros_default_wbheight
=480
8011 gcc_target_cpu
="i386"
8014 aros_target_cpu
="x86_64"
8016 if test "$aros_object_format" = "" ; then
8017 aros_object_format
="elf_x86_64"
8019 aros_flavour
="standalone"
8020 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8021 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
8022 aros_kernel_ldflags
=""
8023 aros_default_wbwidth
=640
8024 aros_default_wbheight
=480
8027 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8033 aros_target_arch
="prep"
8034 aros_shared_default
="no"
8035 aros_target_cpu
="ppc"
8036 aros_object_format
="elf32ppc"
8037 aros_flavour
="ppcnative"
8038 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8039 aros_kernel_ldflags
=""
8040 aros_default_wbwidth
=640
8041 aros_default_wbheight
=480
8042 gcc_target_cpu
="ppc"
8046 aros_target_arch
="freebsd"
8047 aros_target_family
="unix"
8048 aros_target_cpu
="i386"
8049 aros_flavour
="emulation"
8050 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8051 gcc_target_cpu
="i386"
8053 aros_target_strip_flags
="-x"
8057 aros_target_arch
="darwin"
8058 aros_target_family
="unix"
8059 aros_flavour
="emulation"
8060 case "$target_cpu" in
8062 aros_ios_platform
="iPhoneSimulator"
8063 aros_target_cpu
="i386"
8064 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8065 aros_kernel_ldflags
=""
8066 aros_macosx_version
="10.4"
8067 aros_default_wbdepth
=8
8068 gcc_target_cpu
="i386"
8069 aros_object_format
="elf_i386"
8070 aros_kernel_ar_flags
="-cr"
8071 aros_target_strip_flags
="-x"
8072 kernel_tool_flags
="-m32"
8075 aros_target_cpu
="x86_64"
8076 aros_object_format
="elf_x86_64"
8077 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8078 aros_macosx_version
="10.6"
8079 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8080 aros_kernel_cflags
="-m64"
8081 aros_kernel_ldflags
="-m64"
8082 aros_target_cflags
="-mcmodel=large"
8083 aros_default_wbdepth
=8
8085 aros_kernel_ar_flags
="-cr"
8088 aros_kernel_ranlib
="ranlib"
8090 aros_kernel_strip
="strip"
8091 kernel_tool_prefix
="i686-apple-darwin10-"
8094 aros_target_cpu
="ppc"
8095 aros_object_format
="elf32ppc"
8096 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8097 aros_kernel_ldflags
=""
8098 aros_macosx_version
="10.0"
8099 aros_default_wbdepth
=8
8100 gcc_target_cpu
="ppc"
8102 aros_kernel_ar_flags
="-cr"
8103 aros_kernel_ld
="ld -arch ppc"
8104 aros_kernel_as
="as -arch ppc"
8105 aros_kernel_ranlib
="ranlib -arch ppc"
8106 aros_kernel_nm
="nm -arch ppc"
8107 aros_kernel_strip
="strip -arch ppc"
8108 kernel_tool_prefix
="powerpc-apple-darwin10-"
8111 aros_ios_platform
="iPhoneOS"
8112 aros_target_cpu
="arm"
8113 aros_object_format
="armelf_aros"
8114 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8115 aros_arch_libs
="-laeabi"
8116 aros_default_wbdepth
=8
8117 gcc_target_cpu
="arm"
8119 aros_kernel_ar_flags
="-cr"
8120 aros_kernel_ld
="ld -arch arm"
8121 aros_kernel_ranlib
="ranlib -arch arm"
8122 kernel_tool_prefix
="arm-apple-darwin10-"
8123 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8126 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8129 case "$aros_target_variant" in
8131 aros_ios_version
="3.0"
8132 aros_default_wbwidth
=320
8133 aros_default_wbheight
=480
8134 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8135 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8136 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8138 # This is here because it may depend on iOS or SDK version
8139 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8140 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8141 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8144 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8145 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8151 aros_target_arch
="dragonfly"
8152 aros_target_family
="unix"
8153 aros_flavour
="emulation"
8154 case "$target_cpu" in
8156 aros_target_cpu
="i386"
8157 aros_object_format
="elf_i386"
8158 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8161 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8162 aros_target_cpu
="x86_64"
8163 aros_object_format
="elf_x86_64"
8164 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8167 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8173 aros_target_arch
="netbsd"
8174 aros_target_family
="unix"
8175 case "$target_cpu" in
8177 aros_target_cpu
="m68k"
8178 aros_object_format
="m68kelf"
8179 aros_flavour
="emulcompat"
8180 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8181 gcc_target_cpu
="mc68000"
8184 aros_target_cpu
="i386"
8185 aros_object_format
="elf_i386"
8186 aros_flavour
="emulation"
8187 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8188 aros_default_wbdepth
=8
8189 gcc_target_cpu
="i386"
8192 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8195 aros_target_genmap
="-Wl,-M -Xlinker >"
8196 aros_flavour
="emulation"
8197 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8201 aros_target_arch
="openbsd"
8202 aros_target_family
="unix"
8203 case "$target_cpu" in
8205 aros_target_cpu
="i386"
8206 aros_object_format
="elf_i386"
8207 aros_flavour
="emulation"
8208 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8209 gcc_target_cpu
="i386"
8212 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8215 aros_target_genmap
="-Wl,-M -Xlinker >"
8216 aros_target_nm_flags
="-u"
8217 aros_flavour
="emulation"
8221 aros_target_arch
="solaris"
8222 aros_target_family
="unix"
8223 case "$target_cpu" in
8225 aros_target_cpu
="i386"
8226 aros_object_format
="elf_i386"
8227 aros_flavour
="emulation"
8228 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8229 aros_default_wbdepth
=8
8230 gcc_target_cpu
="i386"
8233 aros_target_cpu
="sparc"
8234 aros_object_format
="elf_sparc"
8235 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8236 gcc_target_cpu
="sparc"
8239 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8242 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8243 aros_flavour
="emulation"
8247 aros_target_arch
="morphos"
8248 aros_shared_default
="no"
8249 aros_target_cpu
="ppc"
8250 aros_object_format
="elf_ppc"
8251 aros_flavour
="nativecompat"
8252 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8253 gcc_target_cpu
="ppc"
8257 aros_target_arch
="sam440"
8258 aros_shared_default
="no"
8259 aros_target_cpu
="ppc"
8260 aros_object_format
="elf32ppc"
8261 aros_flavour
="ppcnative"
8262 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8263 aros_kernel_ldflags
=""
8264 aros_default_wbwidth
=1024
8265 aros_default_wbheight
=768
8266 aros_default_wbdepth
=24
8267 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8268 gcc_target_cpu
="powerpc"
8272 aros_target_arch
="efika"
8273 aros_shared_default
="no"
8274 aros_target_cpu
="arm"
8275 aros_object_format
="armelf_aros"
8276 aros_flavour
="standalone"
8277 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8278 aros_kernel_ldflags
=""
8279 aros_default_wbwidth
=1024
8280 aros_default_wbheight
=600
8281 aros_arch_libs
="-laeabi"
8282 gcc_default_cpu
="armv7-a"
8283 gcc_default_fpu
="vfpv3"
8284 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables -Os"
8285 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables -Os"
8286 case "$target_cpu" in
8288 gcc_default_float_abi
="hard"
8293 gcc_default_float_abi
="softfp"
8296 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8302 aros_target_arch
="chrp"
8303 aros_shared_default
="no"
8304 aros_target_cpu
="ppc"
8305 aros_object_format
="elf32ppc"
8306 aros_flavour
="ppcnative"
8307 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8308 aros_kernel_ldflags
=""
8309 aros_default_wbwidth
=640
8310 aros_default_wbheight
=480
8311 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8312 gcc_target_cpu
="powerpc"
8313 case "$aros_target_variant" in
8315 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8321 aros_flavour
="standalone"
8322 aros_target_arch
="raspi"
8323 aros_target_cpu
="arm"
8324 aros_object_format
="armelf_aros"
8325 aros_shared_default
="no"
8326 aros_arch_libs
="-laeabi"
8328 gcc_default_cpu
="armv6"
8329 gcc_default_cpu_tune
="arm1176jzf-s"
8330 case "$target_cpu" in
8332 gcc_default_float_abi
="hard"
8335 gcc_default_float_abi
="softfp"
8338 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8342 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8343 aros_config_cflags
="$aros_config_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8344 aros_config_aflags
="$aros_config_aflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8345 aros_kernel_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8346 aros_target_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8350 aros_target_arch
="amiga"
8351 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8352 aros_shared_default
="no"
8354 case "$target_cpu" in
8356 # Check whether --enable-amigaos_compliance was given.
8357 if test "${enable_amigaos_compliance+set}" = set; then :
8358 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8362 aros_target_cpu
="m68k"
8363 aros_object_format
="m68kelf"
8364 aros_flavour
="standcompat"
8365 gcc_target_cpu
="m68000"
8366 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -Os -DNOLIBINLINE"
8367 aros_config_aflags
="$aros_config_aflags"
8368 aros_target_strip_flags
="-R.comment --strip-debug"
8369 aros_default_wbwidth
=640
8370 aros_default_wbheight
=256
8371 aros_default_wbdepth
=2
8375 aros_flavour
="native"
8376 gcc_target_cpu
="ppc"
8379 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8385 aros_target_arch
="mingw32"
8386 aros_shared_default
="no"
8387 aros_flavour
="emulation"
8388 aros_shared_cflags
=""
8389 need_crosstools
="yes"
8392 case "$target_cpu" in
8394 aros_target_cpu
="i386"
8395 aros_object_format
="elf_i386"
8396 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8397 aros_default_wbdepth
=8
8398 gcc_target_cpu
="i386"
8400 kernel_tool_prefix
="i386-mingw32-"
8403 aros_target_cpu
="x86_64"
8404 aros_object_format
="elf_x86_64"
8405 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8406 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8407 aros_default_wbdepth
=8
8408 kernel_tool_prefix
="x86_64-w64-mingw32-"
8411 aros_target_cpu
="arm"
8412 aros_object_format
="armelf_aros"
8413 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8414 aros_arch_libs
="-laeabi"
8415 aros_default_wbdepth
=8
8416 gcc_target_cpu
="arm"
8417 gcc_default_float_abi
="soft"
8418 kernel_tool_prefix
="arm-mingw32ce-"
8419 aros_default_wbwidth
=160
8420 aros_default_wbheight
=160
8423 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8426 if test $host_os = "cygwin"; then
8427 aros_kernel_cflags
="-mno-cygwin"
8431 aros_target_arch
="pp"
8432 aros_shared_default
="no"
8433 case "$target_cpu" in
8435 aros_target_cpu
="m68k"
8436 aros_object_format
="m68kelf"
8437 aros_flavour
="palmnative"
8438 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8439 aros_default_wbwidth
=160
8440 aros_default_wbheight
=160
8441 aros_default_wbdepth
=1
8442 aros_target_ar_flags
="cru"
8443 aros_compiler_libs
="-lgcc1"
8444 aros_shared_default
=no
8445 aros_shared_cflags
="-fpic"
8446 aros_shared_aflags
=""
8447 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8448 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8449 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8450 aros_debug_aflags
=""
8451 aros_debug_ldflags
="$aros_symbols_debug"
8452 aros_mungwall_debug
="0"
8453 aros_modules_debug
="0"
8454 gcc_target_cpu
="mc68000"
8455 ignore_undefined_symbols
="-ius"
8458 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8464 aros_target_arch
="mac"
8465 aros_shared_default
="no"
8466 case "$target_cpu" in
8468 aros_target_cpu
="m68k"
8469 aros_object_format
="m68kelf"
8470 aros_flavour
="mac68knative"
8471 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8472 aros_default_wbwidth
=512
8473 aros_default_wbheight
=384
8474 aros_default_wbdepth
=8
8475 aros_target_ar_flags
="cru"
8476 aros_compiler_libs
="-lgcc1"
8477 aros_shared_default
=no
8478 aros_shared_cflags
="-fpic"
8479 aros_shared_aflags
=""
8480 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8481 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8482 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8483 aros_debug_aflags
=""
8484 aros_debug_ldflags
="$aros_symbols_debug"
8485 aros_mungwall_debug
="0"
8486 aros_modules_debug
="0"
8487 gcc_target_cpu
="mc68000"
8488 ignore_undefined_symbols
="-ius"
8491 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8497 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8501 #-----------------------------------------------------------------------------
8502 crosstools_guess
=yes
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8505 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8507 # Check whether --with-kernel-toolchain-prefix was given.
8508 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8509 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8513 $as_echo "$kernel_tool_prefix" >&6; }
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8516 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8518 # Check whether --with-elf-toolchain-prefix was given.
8519 if test "${with_elf_toolchain_prefix+set}" = set; then :
8520 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8525 $as_echo "$elf_tool_prefix" >&6; }
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8528 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8530 # Check whether --with-aros-toolchain was given.
8531 if test "${with_aros_toolchain+set}" = set; then :
8532 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8536 if test "$aros_tool_prefix" = "yes" ; then
8537 aros_tool_prefix
=$aros_target_cpu-aros-
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8540 $as_echo "$aros_tool_prefix" >&6; }
8542 #-----------------------------------------------------------------------------
8543 # Checking if we should build crosstools..
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8545 $as_echo_n "checking whether to build crosstools... " >&6; }
8546 # Check whether --enable-crosstools was given.
8547 if test "${enable_crosstools+set}" = set; then :
8548 enableval
=$enable_crosstools; crosstools
="$enableval"
8550 crosstools
="$crosstools_guess"
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8554 $as_echo "$crosstools" >&6; }
8556 if test "${crosstools}" = "yes"; then
8557 if test "${crosstools_guess}" = "no"; then
8558 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8563 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8565 # Check whether --with-aros-toolchain-install was given.
8566 if test "${with_aros_toolchain_install+set}" = set; then :
8567 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8570 if test "x$aros_toolchain_install" = "x"; then
8571 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8573 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8574 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8577 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8579 # Helper to identify gcc version
8582 #-----------------------------------------------------------------------------
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
8584 $as_echo_n "checking what specific target gcc version to use... " >&6; }
8586 # Check whether --with-use_gcc_version was given.
8587 if test "${with_use_gcc_version+set}" = set; then :
8588 withval
=$with_use_gcc_version; use_gcc_version
="$withval"
8593 if test "$use_gcc_version" = ""; then
8594 if test "${crosstools}" = "no"; then
8595 if test "x$aros_toolchain_install" != "x"; then
8597 target_gcc_version
=""
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
8599 $as_echo_n "checking gcc version... " >&6; }
8600 if ${ax_cv_gcc_version+:} false
; then :
8601 $as_echo_n "(cached) " >&6
8604 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}cpp -dumpversion`"
8605 if test "x$ax_cv_gcc_version" = "x"; then :
8607 ax_cv_gcc_version
=""
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
8613 $as_echo "$ax_cv_gcc_version" >&6; }
8614 target_gcc_version
=$ax_cv_gcc_version
8619 if test "$use_gcc_version" = ""; then
8620 target_gcc_version
="4.6.4"
8623 target_gcc_version
="$use_gcc_version"
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
8626 $as_echo "$target_gcc_version" >&6; }
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include Objective-C suppport" >&5
8629 $as_echo_n "checking whether to include Objective-C suppport... " >&6; }
8630 # Check whether --enable-objc was given.
8631 if test "${enable_objc+set}" = set; then :
8632 enableval
=$enable_objc; objc
="$enableval"
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
8638 $as_echo "$objc" >&6; }
8639 if test "x$objc" = "xyes"; then
8642 objc_target
="no-objc"
8645 spec_obj_format
="-m $aros_object_format"
8646 # Now process extra architecture-specific options.
8647 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8648 # as well as floating-point ABI.
8649 case "$aros_target_cpu" in
8651 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
8654 if test "$gcc_default_cpu" = ""; then
8655 gcc_default_cpu
="armv6"
8657 if test "$gcc_default_fpu" = ""; then
8658 gcc_default_fpu
="vfp"
8660 if test "$gcc_default_float_abi" = ""; then
8661 gcc_default_float_abi
="softfp"
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8665 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8667 # Check whether --with-cpu was given.
8668 if test "${with_cpu+set}" = set; then :
8669 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8671 aros_gcc_cpu
=$gcc_default_cpu
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8675 $as_echo "$aros_gcc_cpu" >&6; }
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8678 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8680 # Check whether --with-fpu was given.
8681 if test "${with_fpu+set}" = set; then :
8682 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8684 aros_gcc_fpu
=$gcc_default_fpu
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8688 $as_echo "$aros_gcc_fpu" >&6; }
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8691 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8693 # Check whether --with-float was given.
8694 if test "${with_float+set}" = set; then :
8695 withval
=$with_float; aros_gcc_float_abi
="$withval"
8697 aros_gcc_float_abi
=$gcc_default_float_abi
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8701 $as_echo "$aros_gcc_float_abi" >&6; }
8703 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"
8704 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"
8708 # Some architectures may need custom ELF specs.
8709 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8710 elf_specs_in
=config
/${aros_object_format}-specs.
in
8712 elf_specs_in
=config
/elf-specs.
in
8715 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8716 # Since we override specs, we may need to put these defines there
8717 if test "$gcc_target_cpu" != ""; then
8718 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8722 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8724 # Check whether --with-portssources was given.
8725 if test "${with_portssources+set}" = set; then :
8726 withval
=$with_portssources; with_portssrcdir
=$withval
8728 with_portssrcdir
="default"
8731 if test "$with_portssrcdir" = "default"; then
8732 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8734 AROS_PORTSSRCDIR
="$with_portssrcdir"
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8737 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8740 $as_echo_n "checking which bootloader to use... " >&6; }
8742 # Check whether --with-bootloader was given.
8743 if test "${with_bootloader+set}" = set; then :
8744 withval
=$with_bootloader; target_bootloader
=$withval
8746 target_bootloader
=$target_bootloader
8749 if test "$target_bootloader" = "none"; then
8750 aros_target_bootloader
=""
8752 aros_target_bootloader
="$target_bootloader"
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8755 $as_echo "$target_bootloader" >&6; }
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8758 $as_echo_n "checking which icon-set to use... " >&6; }
8760 # Check whether --with-iconset was given.
8761 if test "${with_iconset+set}" = set; then :
8762 withval
=$with_iconset; target_iconset
=$withval
8764 target_iconset
="default"
8767 if test "$target_iconset" = "default"; then
8768 aros_target_iconset
="Gorilla"
8769 target_iconset
="default (Gorilla)"
8771 aros_target_iconset
="$target_iconset"
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8774 $as_echo "$target_iconset" >&6; }
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8777 $as_echo_n "checking which GUI Theme to use... " >&6; }
8779 # Check whether --with-theme was given.
8780 if test "${with_theme+set}" = set; then :
8781 withval
=$with_theme; target_guitheme
=$withval
8783 target_guitheme
="default"
8786 if test "$target_guitheme" = "default"; then
8787 aros_target_guitheme
="Ice"
8789 aros_target_guitheme
="$target_guitheme"
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8792 $as_echo "$aros_target_guitheme" >&6; }
8794 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8798 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8802 if test "$aros_host_cpu" == "x86_64" ; then
8803 if test "$aros_target_cpu" == "i386" ; then
8808 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8809 if test "$aros_host_arch" != "$aros_target_arch" ; then
8813 if test "$host_cc_elf" = "no" ; then
8818 if test "$cross_compiling" = "no" ; then
8819 kernel_tool_prefix
=""
8820 if test "$host_cc_elf" = "yes" ; then
8825 if test "$kernel_tool_version" != ""; then
8826 kernel_tool_version
="-$kernel_tool_version"
8828 if test "$use_gcc_version" != ""; then
8829 target_tool_version
="-$target_gcc_version"
8832 #######################################################################
8833 ## Compute what toolchains to use, and their paths ##
8834 #######################################################################
8836 # This takes, as input:
8837 # crosstools {yes,no}
8838 # kernel_tool_version {"",[version]}
8839 # target_tool_version {"",[version]}
8840 # kernel_tool_prefix {none,[some-arch-os-]}
8841 # target_tool_prefix ${aros_target_cpu}-aros-
8842 # aros_tool_prefix ${aros_target_cpu}-aros-
8845 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8846 # Where the 'kernel' binaries are located
8847 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8848 # Where the 'target' binaries are located
8849 # (not the symlink farm - that is aros_target_*!)
8852 # if crosstools then
8853 # if kernel_tools_prefix = "no-kernel-prefix-"
8854 # aros_kernel_* = crosstools cc paths
8855 # aros_kernel_cc = elf cc wrapper around crosstools cc
8857 # VALIDATE(${kernel_tools_prefix}*)
8858 # aros_kernel_* = ${kernel_tools_prefix}*
8859 # if ${kernel_tools_prefix}cc is an AROS gcc
8860 # aros_kernel_cc = ${kernel_tools_prefix}cc
8862 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8866 # orig_target_* = aros built crosstools
8867 # orig_target_cc = elf cc wrapper around crosstools cc
8869 # VALIDATE(${kernel_tools_prefix}*)
8871 # orig_target_* = aros_kernel_*
8872 # if aros_kernel_cc is an AROS gcc
8873 # orig_target_cc = aros_kernel_cc
8875 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8879 target_tool_prefix
="${aros_target_cpu}-aros-"
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8882 $as_echo_n "checking which kernel tools... " >&6; }
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8884 $as_echo "$kernel_tool_prefix" >&6; };
8886 if test "$kernel_tool_prefix" = "none" ; then
8887 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8888 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8891 # Kernel tools required - find them
8892 # Note that 'normally', aros_kernel_* overrides will be
8893 # empty, unless specified in the per-arch sections above.
8894 if test "x$aros_kernel_cpp" = "x"; then
8895 aros_kernel_cpp
=${kernel_tool_prefix}cpp
8898 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
8899 if test "$cross_compiling" = "yes" ; then
8900 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8901 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8903 $as_echo_n "checking for $ac_word... " >&6; }
8904 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8905 $as_echo_n "(cached) " >&6
8907 case $aros_kernel_cpp in
8909 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8916 test -z "$as_dir" && as_dir
=.
8917 for ac_exec_ext
in '' $ac_executable_extensions; do
8918 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8919 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8930 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8931 if test -n "$aros_kernel_cpp"; then
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8933 $as_echo "$aros_kernel_cpp" >&6; }
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8936 $as_echo "no" >&6; }
8941 if test "$GCC" = "yes"; then
8942 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8943 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8944 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8946 $as_echo_n "checking for $ac_word... " >&6; }
8947 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8948 $as_echo_n "(cached) " >&6
8950 case $aros_kernel_cpp in
8952 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8956 for as_dir
in `dirname $aros_gcc_cpp`
8959 test -z "$as_dir" && as_dir
=.
8960 for ac_exec_ext
in '' $ac_executable_extensions; do
8961 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8962 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8973 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8974 if test -n "$aros_kernel_cpp"; then
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8976 $as_echo "$aros_kernel_cpp" >&6; }
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8979 $as_echo "no" >&6; }
8984 if test "$aros_kernel_cpp" = ""; then
8985 # Extract the first word of "cpp", so it can be a program name with args.
8986 set dummy cpp
; ac_word
=$2
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8988 $as_echo_n "checking for $ac_word... " >&6; }
8989 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8990 $as_echo_n "(cached) " >&6
8992 case $aros_kernel_cpp in
8994 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9001 test -z "$as_dir" && as_dir
=.
9002 for ac_exec_ext
in '' $ac_executable_extensions; do
9003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9004 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9015 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9016 if test -n "$aros_kernel_cpp"; then
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9018 $as_echo "$aros_kernel_cpp" >&6; }
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9021 $as_echo "no" >&6; }
9028 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
9029 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9031 $as_echo_n "checking for $ac_word... " >&6; }
9032 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9033 $as_echo_n "(cached) " >&6
9035 case $aros_kernel_cpp in
9037 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9044 test -z "$as_dir" && as_dir
=.
9045 for ac_exec_ext
in '' $ac_executable_extensions; do
9046 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9047 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9058 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9059 if test -n "$aros_kernel_cpp"; then
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9061 $as_echo "$aros_kernel_cpp" >&6; }
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9064 $as_echo "no" >&6; }
9070 if test "$aros_kernel_cpp" = ""; then
9071 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
9073 if test "x$aros_kernel_cc" = "x"; then
9074 aros_kernel_cc
=${kernel_tool_prefix}gcc
9077 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
9078 if test "$cross_compiling" = "yes" ; then
9079 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9080 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9082 $as_echo_n "checking for $ac_word... " >&6; }
9083 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9084 $as_echo_n "(cached) " >&6
9086 case $aros_kernel_cc in
9088 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9095 test -z "$as_dir" && as_dir
=.
9096 for ac_exec_ext
in '' $ac_executable_extensions; do
9097 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9098 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9109 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9110 if test -n "$aros_kernel_cc"; then
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9112 $as_echo "$aros_kernel_cc" >&6; }
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9115 $as_echo "no" >&6; }
9120 if test "$GCC" = "yes"; then
9121 aros_gcc_cc
=`$CC -print-prog-name=cc`
9122 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9123 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9125 $as_echo_n "checking for $ac_word... " >&6; }
9126 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9127 $as_echo_n "(cached) " >&6
9129 case $aros_kernel_cc in
9131 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9135 for as_dir
in `dirname $aros_gcc_cc`
9138 test -z "$as_dir" && as_dir
=.
9139 for ac_exec_ext
in '' $ac_executable_extensions; do
9140 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9141 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9152 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9153 if test -n "$aros_kernel_cc"; then
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9155 $as_echo "$aros_kernel_cc" >&6; }
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9158 $as_echo "no" >&6; }
9163 if test "$aros_kernel_cc" = ""; then
9164 # Extract the first word of "cc", so it can be a program name with args.
9165 set dummy cc
; ac_word
=$2
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9167 $as_echo_n "checking for $ac_word... " >&6; }
9168 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9169 $as_echo_n "(cached) " >&6
9171 case $aros_kernel_cc in
9173 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9180 test -z "$as_dir" && as_dir
=.
9181 for ac_exec_ext
in '' $ac_executable_extensions; do
9182 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9183 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9194 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9195 if test -n "$aros_kernel_cc"; then
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9197 $as_echo "$aros_kernel_cc" >&6; }
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9200 $as_echo "no" >&6; }
9207 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9208 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9210 $as_echo_n "checking for $ac_word... " >&6; }
9211 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9212 $as_echo_n "(cached) " >&6
9214 case $aros_kernel_cc in
9216 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9223 test -z "$as_dir" && as_dir
=.
9224 for ac_exec_ext
in '' $ac_executable_extensions; do
9225 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9226 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9237 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9238 if test -n "$aros_kernel_cc"; then
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9240 $as_echo "$aros_kernel_cc" >&6; }
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9243 $as_echo "no" >&6; }
9249 if test "$aros_kernel_cc" = ""; then
9250 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9252 if test "x$aros_kernel_cxx" = "x"; then
9253 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9256 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9257 if test "$cross_compiling" = "yes" ; then
9258 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9259 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9261 $as_echo_n "checking for $ac_word... " >&6; }
9262 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9263 $as_echo_n "(cached) " >&6
9265 case $aros_kernel_cxx in
9267 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9274 test -z "$as_dir" && as_dir
=.
9275 for ac_exec_ext
in '' $ac_executable_extensions; do
9276 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9277 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9288 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9289 if test -n "$aros_kernel_cxx"; then
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9291 $as_echo "$aros_kernel_cxx" >&6; }
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9294 $as_echo "no" >&6; }
9299 if test "$GCC" = "yes"; then
9300 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9301 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9302 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9304 $as_echo_n "checking for $ac_word... " >&6; }
9305 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9306 $as_echo_n "(cached) " >&6
9308 case $aros_kernel_cxx in
9310 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9314 for as_dir
in `dirname $aros_gcc_cxx`
9317 test -z "$as_dir" && as_dir
=.
9318 for ac_exec_ext
in '' $ac_executable_extensions; do
9319 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9320 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9331 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9332 if test -n "$aros_kernel_cxx"; then
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9334 $as_echo "$aros_kernel_cxx" >&6; }
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9337 $as_echo "no" >&6; }
9342 if test "$aros_kernel_cxx" = ""; then
9343 # Extract the first word of "cxx", so it can be a program name with args.
9344 set dummy cxx
; ac_word
=$2
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9346 $as_echo_n "checking for $ac_word... " >&6; }
9347 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9348 $as_echo_n "(cached) " >&6
9350 case $aros_kernel_cxx in
9352 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9359 test -z "$as_dir" && as_dir
=.
9360 for ac_exec_ext
in '' $ac_executable_extensions; do
9361 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9362 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9373 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9374 if test -n "$aros_kernel_cxx"; then
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9376 $as_echo "$aros_kernel_cxx" >&6; }
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9379 $as_echo "no" >&6; }
9386 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9387 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9389 $as_echo_n "checking for $ac_word... " >&6; }
9390 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9391 $as_echo_n "(cached) " >&6
9393 case $aros_kernel_cxx in
9395 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9402 test -z "$as_dir" && as_dir
=.
9403 for ac_exec_ext
in '' $ac_executable_extensions; do
9404 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9405 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9416 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9417 if test -n "$aros_kernel_cxx"; then
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9419 $as_echo "$aros_kernel_cxx" >&6; }
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9422 $as_echo "no" >&6; }
9428 # If it's set, make sure it's really there
9429 if test "x$aros_kernel_cxx" != "x" ; then
9430 if test "$aros_kernel_cxx" = ""; then
9431 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9435 if test "$aros_kernel_ld" = ""; then
9436 if test "$cross_compiling" = "yes" ; then
9437 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9438 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9440 $as_echo_n "checking for $ac_word... " >&6; }
9441 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9442 $as_echo_n "(cached) " >&6
9444 case $aros_kernel_ld in
9446 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9453 test -z "$as_dir" && as_dir
=.
9454 for ac_exec_ext
in '' $ac_executable_extensions; do
9455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9456 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9467 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9468 if test -n "$aros_kernel_ld"; then
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9470 $as_echo "$aros_kernel_ld" >&6; }
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9473 $as_echo "no" >&6; }
9478 if test "$GCC" = "yes"; then
9479 aros_gcc_ld
=`$CC -print-prog-name=ld`
9480 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9481 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9483 $as_echo_n "checking for $ac_word... " >&6; }
9484 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9485 $as_echo_n "(cached) " >&6
9487 case $aros_kernel_ld in
9489 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9493 for as_dir
in `dirname $aros_gcc_ld`
9496 test -z "$as_dir" && as_dir
=.
9497 for ac_exec_ext
in '' $ac_executable_extensions; do
9498 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9499 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9510 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9511 if test -n "$aros_kernel_ld"; then
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9513 $as_echo "$aros_kernel_ld" >&6; }
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9516 $as_echo "no" >&6; }
9521 if test "$aros_kernel_ld" = ""; then
9522 # Extract the first word of "ld", so it can be a program name with args.
9523 set dummy ld
; ac_word
=$2
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9525 $as_echo_n "checking for $ac_word... " >&6; }
9526 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9527 $as_echo_n "(cached) " >&6
9529 case $aros_kernel_ld in
9531 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9538 test -z "$as_dir" && as_dir
=.
9539 for ac_exec_ext
in '' $ac_executable_extensions; do
9540 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9541 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9552 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9553 if test -n "$aros_kernel_ld"; then
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9555 $as_echo "$aros_kernel_ld" >&6; }
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9558 $as_echo "no" >&6; }
9565 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9566 set dummy
$aros_kernel_ld; ac_word
=$2
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9568 $as_echo_n "checking for $ac_word... " >&6; }
9569 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9570 $as_echo_n "(cached) " >&6
9572 case $aros_kernel_ld in
9574 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9581 test -z "$as_dir" && as_dir
=.
9582 for ac_exec_ext
in '' $ac_executable_extensions; do
9583 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9584 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9595 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9596 if test -n "$aros_kernel_ld"; then
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9598 $as_echo "$aros_kernel_ld" >&6; }
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9601 $as_echo "no" >&6; }
9607 if test "$aros_kernel_ld" = ""; then
9608 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9611 if test "$aros_kernel_as" = ""; then
9612 if test "$cross_compiling" = "yes" ; then
9613 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9614 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9616 $as_echo_n "checking for $ac_word... " >&6; }
9617 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9618 $as_echo_n "(cached) " >&6
9620 case $aros_kernel_as in
9622 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9629 test -z "$as_dir" && as_dir
=.
9630 for ac_exec_ext
in '' $ac_executable_extensions; do
9631 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9632 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9643 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9644 if test -n "$aros_kernel_as"; then
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9646 $as_echo "$aros_kernel_as" >&6; }
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9649 $as_echo "no" >&6; }
9654 if test "$GCC" = "yes"; then
9655 aros_gcc_as
=`$CC -print-prog-name=as`
9656 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9657 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9659 $as_echo_n "checking for $ac_word... " >&6; }
9660 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9661 $as_echo_n "(cached) " >&6
9663 case $aros_kernel_as in
9665 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9669 for as_dir
in `dirname $aros_gcc_as`
9672 test -z "$as_dir" && as_dir
=.
9673 for ac_exec_ext
in '' $ac_executable_extensions; do
9674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9675 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9686 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9687 if test -n "$aros_kernel_as"; then
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9689 $as_echo "$aros_kernel_as" >&6; }
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9692 $as_echo "no" >&6; }
9697 if test "$aros_kernel_as" = ""; then
9698 # Extract the first word of "as", so it can be a program name with args.
9699 set dummy as
; ac_word
=$2
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9701 $as_echo_n "checking for $ac_word... " >&6; }
9702 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9703 $as_echo_n "(cached) " >&6
9705 case $aros_kernel_as in
9707 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9714 test -z "$as_dir" && as_dir
=.
9715 for ac_exec_ext
in '' $ac_executable_extensions; do
9716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9717 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9728 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9729 if test -n "$aros_kernel_as"; then
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9731 $as_echo "$aros_kernel_as" >&6; }
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9734 $as_echo "no" >&6; }
9741 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9742 set dummy
$aros_kernel_as; ac_word
=$2
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9744 $as_echo_n "checking for $ac_word... " >&6; }
9745 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9746 $as_echo_n "(cached) " >&6
9748 case $aros_kernel_as in
9750 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9757 test -z "$as_dir" && as_dir
=.
9758 for ac_exec_ext
in '' $ac_executable_extensions; do
9759 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9760 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9771 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9772 if test -n "$aros_kernel_as"; then
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9774 $as_echo "$aros_kernel_as" >&6; }
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9777 $as_echo "no" >&6; }
9783 if test "$aros_kernel_as" = ""; then
9784 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9787 if test "$aros_kernel_ar" = ""; then
9788 if test "$cross_compiling" = "yes" ; then
9789 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9790 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9792 $as_echo_n "checking for $ac_word... " >&6; }
9793 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9794 $as_echo_n "(cached) " >&6
9796 case $aros_kernel_ar in
9798 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9805 test -z "$as_dir" && as_dir
=.
9806 for ac_exec_ext
in '' $ac_executable_extensions; do
9807 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9808 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9819 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9820 if test -n "$aros_kernel_ar"; then
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9822 $as_echo "$aros_kernel_ar" >&6; }
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9825 $as_echo "no" >&6; }
9830 if test "$GCC" = "yes"; then
9831 aros_gcc_ar
=`$CC -print-prog-name=ar`
9832 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9833 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9835 $as_echo_n "checking for $ac_word... " >&6; }
9836 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9837 $as_echo_n "(cached) " >&6
9839 case $aros_kernel_ar in
9841 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9845 for as_dir
in `dirname $aros_gcc_ar`
9848 test -z "$as_dir" && as_dir
=.
9849 for ac_exec_ext
in '' $ac_executable_extensions; do
9850 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9851 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9862 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9863 if test -n "$aros_kernel_ar"; then
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9865 $as_echo "$aros_kernel_ar" >&6; }
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9868 $as_echo "no" >&6; }
9873 if test "$aros_kernel_ar" = ""; then
9874 # Extract the first word of "ar", so it can be a program name with args.
9875 set dummy
ar; ac_word
=$2
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9877 $as_echo_n "checking for $ac_word... " >&6; }
9878 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9879 $as_echo_n "(cached) " >&6
9881 case $aros_kernel_ar in
9883 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9890 test -z "$as_dir" && as_dir
=.
9891 for ac_exec_ext
in '' $ac_executable_extensions; do
9892 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9893 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9904 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9905 if test -n "$aros_kernel_ar"; then
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9907 $as_echo "$aros_kernel_ar" >&6; }
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9910 $as_echo "no" >&6; }
9917 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9918 set dummy
$aros_kernel_ar; ac_word
=$2
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9920 $as_echo_n "checking for $ac_word... " >&6; }
9921 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9922 $as_echo_n "(cached) " >&6
9924 case $aros_kernel_ar in
9926 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9933 test -z "$as_dir" && as_dir
=.
9934 for ac_exec_ext
in '' $ac_executable_extensions; do
9935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9936 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9947 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9948 if test -n "$aros_kernel_ar"; then
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9950 $as_echo "$aros_kernel_ar" >&6; }
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9953 $as_echo "no" >&6; }
9959 if test "$aros_kernel_ar" = ""; then
9960 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9963 if test "$aros_kernel_ranlib" = ""; then
9964 if test "$cross_compiling" = "yes" ; then
9965 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9966 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9968 $as_echo_n "checking for $ac_word... " >&6; }
9969 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9970 $as_echo_n "(cached) " >&6
9972 case $aros_kernel_ranlib in
9974 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9981 test -z "$as_dir" && as_dir
=.
9982 for ac_exec_ext
in '' $ac_executable_extensions; do
9983 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9984 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9995 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9996 if test -n "$aros_kernel_ranlib"; then
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9998 $as_echo "$aros_kernel_ranlib" >&6; }
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10001 $as_echo "no" >&6; }
10006 if test "$GCC" = "yes"; then
10007 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10008 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10009 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10011 $as_echo_n "checking for $ac_word... " >&6; }
10012 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10013 $as_echo_n "(cached) " >&6
10015 case $aros_kernel_ranlib in
10017 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10021 for as_dir
in `dirname $aros_gcc_ranlib`
10024 test -z "$as_dir" && as_dir
=.
10025 for ac_exec_ext
in '' $ac_executable_extensions; do
10026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10027 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10038 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10039 if test -n "$aros_kernel_ranlib"; then
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10041 $as_echo "$aros_kernel_ranlib" >&6; }
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10044 $as_echo "no" >&6; }
10049 if test "$aros_kernel_ranlib" = ""; then
10050 # Extract the first word of "ranlib", so it can be a program name with args.
10051 set dummy ranlib
; ac_word
=$2
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10053 $as_echo_n "checking for $ac_word... " >&6; }
10054 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10055 $as_echo_n "(cached) " >&6
10057 case $aros_kernel_ranlib in
10059 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10063 for as_dir
in $PATH
10066 test -z "$as_dir" && as_dir
=.
10067 for ac_exec_ext
in '' $ac_executable_extensions; do
10068 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10069 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10080 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10081 if test -n "$aros_kernel_ranlib"; then
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10083 $as_echo "$aros_kernel_ranlib" >&6; }
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10086 $as_echo "no" >&6; }
10093 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10094 set dummy
$aros_kernel_ranlib; ac_word
=$2
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10096 $as_echo_n "checking for $ac_word... " >&6; }
10097 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10098 $as_echo_n "(cached) " >&6
10100 case $aros_kernel_ranlib in
10102 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10106 for as_dir
in $PATH
10109 test -z "$as_dir" && as_dir
=.
10110 for ac_exec_ext
in '' $ac_executable_extensions; do
10111 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10112 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10123 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10124 if test -n "$aros_kernel_ranlib"; then
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10126 $as_echo "$aros_kernel_ranlib" >&6; }
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10129 $as_echo "no" >&6; }
10135 if test "$aros_kernel_ranlib" = ""; then
10136 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10139 if test "$aros_kernel_nm" = ""; then
10140 if test "$cross_compiling" = "yes" ; then
10141 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10142 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10144 $as_echo_n "checking for $ac_word... " >&6; }
10145 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10146 $as_echo_n "(cached) " >&6
10148 case $aros_kernel_nm in
10150 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10154 for as_dir
in $PATH
10157 test -z "$as_dir" && as_dir
=.
10158 for ac_exec_ext
in '' $ac_executable_extensions; do
10159 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10160 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10171 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10172 if test -n "$aros_kernel_nm"; then
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10174 $as_echo "$aros_kernel_nm" >&6; }
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10177 $as_echo "no" >&6; }
10182 if test "$GCC" = "yes"; then
10183 aros_gcc_nm
=`$CC -print-prog-name=nm`
10184 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10185 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10187 $as_echo_n "checking for $ac_word... " >&6; }
10188 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10189 $as_echo_n "(cached) " >&6
10191 case $aros_kernel_nm in
10193 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10197 for as_dir
in `dirname $aros_gcc_nm`
10200 test -z "$as_dir" && as_dir
=.
10201 for ac_exec_ext
in '' $ac_executable_extensions; do
10202 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10203 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10214 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10215 if test -n "$aros_kernel_nm"; then
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10217 $as_echo "$aros_kernel_nm" >&6; }
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10220 $as_echo "no" >&6; }
10225 if test "$aros_kernel_nm" = ""; then
10226 # Extract the first word of "nm", so it can be a program name with args.
10227 set dummy nm
; ac_word
=$2
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10229 $as_echo_n "checking for $ac_word... " >&6; }
10230 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10231 $as_echo_n "(cached) " >&6
10233 case $aros_kernel_nm in
10235 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10239 for as_dir
in $PATH
10242 test -z "$as_dir" && as_dir
=.
10243 for ac_exec_ext
in '' $ac_executable_extensions; do
10244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10245 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10256 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10257 if test -n "$aros_kernel_nm"; then
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10259 $as_echo "$aros_kernel_nm" >&6; }
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10262 $as_echo "no" >&6; }
10269 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10270 set dummy
$aros_kernel_nm; ac_word
=$2
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10272 $as_echo_n "checking for $ac_word... " >&6; }
10273 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10274 $as_echo_n "(cached) " >&6
10276 case $aros_kernel_nm in
10278 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10282 for as_dir
in $PATH
10285 test -z "$as_dir" && as_dir
=.
10286 for ac_exec_ext
in '' $ac_executable_extensions; do
10287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10288 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10299 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10300 if test -n "$aros_kernel_nm"; then
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10302 $as_echo "$aros_kernel_nm" >&6; }
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10305 $as_echo "no" >&6; }
10311 if test "$aros_kernel_nm" = ""; then
10312 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10315 if test "$aros_kernel_strip" = ""; then
10316 if test "$cross_compiling" = "yes" ; then
10317 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10318 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10320 $as_echo_n "checking for $ac_word... " >&6; }
10321 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10322 $as_echo_n "(cached) " >&6
10324 case $aros_kernel_strip in
10326 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10330 for as_dir
in $PATH
10333 test -z "$as_dir" && as_dir
=.
10334 for ac_exec_ext
in '' $ac_executable_extensions; do
10335 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10336 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10347 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10348 if test -n "$aros_kernel_strip"; then
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10350 $as_echo "$aros_kernel_strip" >&6; }
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10353 $as_echo "no" >&6; }
10358 if test "$GCC" = "yes"; then
10359 aros_gcc_strip
=`$CC -print-prog-name=strip`
10360 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10361 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10363 $as_echo_n "checking for $ac_word... " >&6; }
10364 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10365 $as_echo_n "(cached) " >&6
10367 case $aros_kernel_strip in
10369 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10373 for as_dir
in `dirname $aros_gcc_strip`
10376 test -z "$as_dir" && as_dir
=.
10377 for ac_exec_ext
in '' $ac_executable_extensions; do
10378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10379 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10390 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10391 if test -n "$aros_kernel_strip"; then
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10393 $as_echo "$aros_kernel_strip" >&6; }
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10396 $as_echo "no" >&6; }
10401 if test "$aros_kernel_strip" = ""; then
10402 # Extract the first word of "strip", so it can be a program name with args.
10403 set dummy strip
; ac_word
=$2
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10405 $as_echo_n "checking for $ac_word... " >&6; }
10406 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10407 $as_echo_n "(cached) " >&6
10409 case $aros_kernel_strip in
10411 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10415 for as_dir
in $PATH
10418 test -z "$as_dir" && as_dir
=.
10419 for ac_exec_ext
in '' $ac_executable_extensions; do
10420 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10421 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10432 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10433 if test -n "$aros_kernel_strip"; then
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10435 $as_echo "$aros_kernel_strip" >&6; }
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10438 $as_echo "no" >&6; }
10445 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10446 set dummy
$aros_kernel_strip; ac_word
=$2
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10448 $as_echo_n "checking for $ac_word... " >&6; }
10449 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10450 $as_echo_n "(cached) " >&6
10452 case $aros_kernel_strip in
10454 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10458 for as_dir
in $PATH
10461 test -z "$as_dir" && as_dir
=.
10462 for ac_exec_ext
in '' $ac_executable_extensions; do
10463 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10464 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10475 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10476 if test -n "$aros_kernel_strip"; then
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10478 $as_echo "$aros_kernel_strip" >&6; }
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10481 $as_echo "no" >&6; }
10487 if test "$aros_kernel_strip" = ""; then
10488 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10491 # Objcopy and objdump are not required for the kernel
10492 # toolchain on many architectures.
10493 # So we'll look for them, but not make them strictly required.
10495 if test "$aros_kernel_objcopy" = ""; then
10496 if test "$cross_compiling" = "yes" ; then
10497 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10498 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10500 $as_echo_n "checking for $ac_word... " >&6; }
10501 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10502 $as_echo_n "(cached) " >&6
10504 case $aros_kernel_objcopy in
10506 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10510 for as_dir
in $PATH
10513 test -z "$as_dir" && as_dir
=.
10514 for ac_exec_ext
in '' $ac_executable_extensions; do
10515 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10516 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10527 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10528 if test -n "$aros_kernel_objcopy"; then
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10530 $as_echo "$aros_kernel_objcopy" >&6; }
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10533 $as_echo "no" >&6; }
10538 if test "$GCC" = "yes"; then
10539 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10540 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10541 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10543 $as_echo_n "checking for $ac_word... " >&6; }
10544 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10545 $as_echo_n "(cached) " >&6
10547 case $aros_kernel_objcopy in
10549 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10553 for as_dir
in `dirname $aros_gcc_objcopy`
10556 test -z "$as_dir" && as_dir
=.
10557 for ac_exec_ext
in '' $ac_executable_extensions; do
10558 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10559 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10570 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10571 if test -n "$aros_kernel_objcopy"; then
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10573 $as_echo "$aros_kernel_objcopy" >&6; }
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10576 $as_echo "no" >&6; }
10581 if test "$aros_kernel_objcopy" = ""; then
10582 # Extract the first word of "objcopy", so it can be a program name with args.
10583 set dummy objcopy
; ac_word
=$2
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10585 $as_echo_n "checking for $ac_word... " >&6; }
10586 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10587 $as_echo_n "(cached) " >&6
10589 case $aros_kernel_objcopy in
10591 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10595 for as_dir
in $PATH
10598 test -z "$as_dir" && as_dir
=.
10599 for ac_exec_ext
in '' $ac_executable_extensions; do
10600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10601 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10612 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10613 if test -n "$aros_kernel_objcopy"; then
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10615 $as_echo "$aros_kernel_objcopy" >&6; }
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10618 $as_echo "no" >&6; }
10625 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10626 set dummy
$aros_kernel_objcopy; ac_word
=$2
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10628 $as_echo_n "checking for $ac_word... " >&6; }
10629 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10630 $as_echo_n "(cached) " >&6
10632 case $aros_kernel_objcopy in
10634 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10638 for as_dir
in $PATH
10641 test -z "$as_dir" && as_dir
=.
10642 for ac_exec_ext
in '' $ac_executable_extensions; do
10643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10644 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10655 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10656 if test -n "$aros_kernel_objcopy"; then
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10658 $as_echo "$aros_kernel_objcopy" >&6; }
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10661 $as_echo "no" >&6; }
10668 if test "$aros_kernel_objdump" = ""; then
10669 if test "$cross_compiling" = "yes" ; then
10670 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10671 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10673 $as_echo_n "checking for $ac_word... " >&6; }
10674 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10675 $as_echo_n "(cached) " >&6
10677 case $aros_kernel_objdump in
10679 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10683 for as_dir
in $PATH
10686 test -z "$as_dir" && as_dir
=.
10687 for ac_exec_ext
in '' $ac_executable_extensions; do
10688 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10689 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10700 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10701 if test -n "$aros_kernel_objdump"; then
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10703 $as_echo "$aros_kernel_objdump" >&6; }
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10706 $as_echo "no" >&6; }
10711 if test "$GCC" = "yes"; then
10712 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10713 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10714 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10716 $as_echo_n "checking for $ac_word... " >&6; }
10717 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10718 $as_echo_n "(cached) " >&6
10720 case $aros_kernel_objdump in
10722 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10726 for as_dir
in `dirname $aros_gcc_objdump`
10729 test -z "$as_dir" && as_dir
=.
10730 for ac_exec_ext
in '' $ac_executable_extensions; do
10731 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10732 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10743 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10744 if test -n "$aros_kernel_objdump"; then
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10746 $as_echo "$aros_kernel_objdump" >&6; }
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10749 $as_echo "no" >&6; }
10754 if test "$aros_kernel_objdump" = ""; then
10755 # Extract the first word of "objdump", so it can be a program name with args.
10756 set dummy objdump
; ac_word
=$2
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10758 $as_echo_n "checking for $ac_word... " >&6; }
10759 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10760 $as_echo_n "(cached) " >&6
10762 case $aros_kernel_objdump in
10764 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10768 for as_dir
in $PATH
10771 test -z "$as_dir" && as_dir
=.
10772 for ac_exec_ext
in '' $ac_executable_extensions; do
10773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10774 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10785 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10786 if test -n "$aros_kernel_objdump"; then
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10788 $as_echo "$aros_kernel_objdump" >&6; }
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10791 $as_echo "no" >&6; }
10798 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10799 set dummy
$aros_kernel_objdump; ac_word
=$2
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10801 $as_echo_n "checking for $ac_word... " >&6; }
10802 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10803 $as_echo_n "(cached) " >&6
10805 case $aros_kernel_objdump in
10807 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10811 for as_dir
in $PATH
10814 test -z "$as_dir" && as_dir
=.
10815 for ac_exec_ext
in '' $ac_executable_extensions; do
10816 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10817 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10828 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10829 if test -n "$aros_kernel_objdump"; then
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10831 $as_echo "$aros_kernel_objdump" >&6; }
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10834 $as_echo "no" >&6; }
10840 if test "x${crosstools}" != "xyes" ; then
10841 if test "$aros_kernel_objcopy" = ""; then
10842 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10844 if test "$aros_kernel_objdump" = ""; then
10845 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10851 $as_echo_n "checking which target tools to use... " >&6; }
10852 if test "$crosstools" = "yes"; then
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10854 $as_echo "$target_tool_prefix" >&6; }
10855 # We are building AROS crosstools
10856 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10857 orig_target_cc
="${tmp_tool_prefix}gcc${target_tool_version}"
10858 orig_target_cxx
="${tmp_tool_prefix}g++${target_tool_version}"
10859 orig_target_cpp
="${tmp_tool_prefix}cpp"
10860 orig_target_ld
="${tmp_tool_prefix}ld"
10861 orig_target_as
="${tmp_tool_prefix}as"
10862 orig_target_ar
="${tmp_tool_prefix}ar"
10863 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10864 orig_target_nm
="${tmp_tool_prefix}nm"
10865 orig_target_strip
="${tmp_tool_prefix}strip"
10866 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10867 orig_target_objdump
="${tmp_tool_prefix}objdump"
10869 # Determine whether AROS or ELF tools should be used
10870 if test "$aros_tool_prefix" = "none"; then
10871 aros_tool_prefix
="${elf_tool_prefix}"
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10875 $as_echo "$aros_tool_prefix" >&6; }
10876 # We are *not* building AROS crosstools - use the AROS or ELF tools
10878 if test "${aros_tool_prefix}cpp${target_tool_version}" = ""; then
10879 if test "$cross_compiling" = "yes" ; then
10880 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10881 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10883 $as_echo_n "checking for $ac_word... " >&6; }
10884 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10885 $as_echo_n "(cached) " >&6
10887 case $orig_target_cpp in
10889 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10893 for as_dir
in $PATH
10896 test -z "$as_dir" && as_dir
=.
10897 for ac_exec_ext
in '' $ac_executable_extensions; do
10898 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10899 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10910 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10911 if test -n "$orig_target_cpp"; then
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10913 $as_echo "$orig_target_cpp" >&6; }
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10916 $as_echo "no" >&6; }
10921 if test "$GCC" = "yes"; then
10922 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10923 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10924 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10926 $as_echo_n "checking for $ac_word... " >&6; }
10927 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10928 $as_echo_n "(cached) " >&6
10930 case $orig_target_cpp in
10932 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10936 for as_dir
in `dirname $aros_gcc_cpp`
10939 test -z "$as_dir" && as_dir
=.
10940 for ac_exec_ext
in '' $ac_executable_extensions; do
10941 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10942 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10953 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10954 if test -n "$orig_target_cpp"; then
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10956 $as_echo "$orig_target_cpp" >&6; }
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10959 $as_echo "no" >&6; }
10964 if test "$orig_target_cpp" = ""; then
10965 # Extract the first word of "cpp", so it can be a program name with args.
10966 set dummy cpp
; ac_word
=$2
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10968 $as_echo_n "checking for $ac_word... " >&6; }
10969 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10970 $as_echo_n "(cached) " >&6
10972 case $orig_target_cpp in
10974 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10978 for as_dir
in $PATH
10981 test -z "$as_dir" && as_dir
=.
10982 for ac_exec_ext
in '' $ac_executable_extensions; do
10983 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10984 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10995 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10996 if test -n "$orig_target_cpp"; then
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10998 $as_echo "$orig_target_cpp" >&6; }
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11001 $as_echo "no" >&6; }
11008 # Extract the first word of "${aros_tool_prefix}cpp${target_tool_version}", so it can be a program name with args.
11009 set dummy
${aros_tool_prefix}cpp
${target_tool_version}; ac_word
=$2
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11011 $as_echo_n "checking for $ac_word... " >&6; }
11012 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11013 $as_echo_n "(cached) " >&6
11015 case $orig_target_cpp in
11017 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11021 for as_dir
in $PATH
11024 test -z "$as_dir" && as_dir
=.
11025 for ac_exec_ext
in '' $ac_executable_extensions; do
11026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11027 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11038 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11039 if test -n "$orig_target_cpp"; then
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11041 $as_echo "$orig_target_cpp" >&6; }
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11044 $as_echo "no" >&6; }
11050 if test "$orig_target_cpp" = ""; then
11051 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11054 if test "${aros_tool_prefix}gcc${target_tool_version}" = ""; then
11055 if test "$cross_compiling" = "yes" ; then
11056 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11057 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11059 $as_echo_n "checking for $ac_word... " >&6; }
11060 if ${ac_cv_path_orig_target_cc+:} false
; then :
11061 $as_echo_n "(cached) " >&6
11063 case $orig_target_cc in
11065 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11069 for as_dir
in $PATH
11072 test -z "$as_dir" && as_dir
=.
11073 for ac_exec_ext
in '' $ac_executable_extensions; do
11074 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11075 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11086 orig_target_cc
=$ac_cv_path_orig_target_cc
11087 if test -n "$orig_target_cc"; then
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11089 $as_echo "$orig_target_cc" >&6; }
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11092 $as_echo "no" >&6; }
11097 if test "$GCC" = "yes"; then
11098 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11099 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11100 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11102 $as_echo_n "checking for $ac_word... " >&6; }
11103 if ${ac_cv_path_orig_target_cc+:} false
; then :
11104 $as_echo_n "(cached) " >&6
11106 case $orig_target_cc in
11108 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11112 for as_dir
in `dirname $aros_gcc_gcc`
11115 test -z "$as_dir" && as_dir
=.
11116 for ac_exec_ext
in '' $ac_executable_extensions; do
11117 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11118 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11129 orig_target_cc
=$ac_cv_path_orig_target_cc
11130 if test -n "$orig_target_cc"; then
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11132 $as_echo "$orig_target_cc" >&6; }
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11135 $as_echo "no" >&6; }
11140 if test "$orig_target_cc" = ""; then
11141 # Extract the first word of "gcc", so it can be a program name with args.
11142 set dummy gcc
; ac_word
=$2
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11144 $as_echo_n "checking for $ac_word... " >&6; }
11145 if ${ac_cv_path_orig_target_cc+:} false
; then :
11146 $as_echo_n "(cached) " >&6
11148 case $orig_target_cc in
11150 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11154 for as_dir
in $PATH
11157 test -z "$as_dir" && as_dir
=.
11158 for ac_exec_ext
in '' $ac_executable_extensions; do
11159 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11160 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11171 orig_target_cc
=$ac_cv_path_orig_target_cc
11172 if test -n "$orig_target_cc"; then
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11174 $as_echo "$orig_target_cc" >&6; }
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11177 $as_echo "no" >&6; }
11184 # Extract the first word of "${aros_tool_prefix}gcc${target_tool_version}", so it can be a program name with args.
11185 set dummy
${aros_tool_prefix}gcc
${target_tool_version}; ac_word
=$2
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11187 $as_echo_n "checking for $ac_word... " >&6; }
11188 if ${ac_cv_path_orig_target_cc+:} false
; then :
11189 $as_echo_n "(cached) " >&6
11191 case $orig_target_cc in
11193 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11197 for as_dir
in $PATH
11200 test -z "$as_dir" && as_dir
=.
11201 for ac_exec_ext
in '' $ac_executable_extensions; do
11202 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11203 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11214 orig_target_cc
=$ac_cv_path_orig_target_cc
11215 if test -n "$orig_target_cc"; then
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11217 $as_echo "$orig_target_cc" >&6; }
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11220 $as_echo "no" >&6; }
11226 if test "$orig_target_cc" = ""; then
11227 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11230 if test "${aros_tool_prefix}g++${target_tool_version}" = ""; then
11231 if test "$cross_compiling" = "yes" ; then
11232 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11233 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11235 $as_echo_n "checking for $ac_word... " >&6; }
11236 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11237 $as_echo_n "(cached) " >&6
11239 case $orig_target_cxx in
11241 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11245 for as_dir
in $PATH
11248 test -z "$as_dir" && as_dir
=.
11249 for ac_exec_ext
in '' $ac_executable_extensions; do
11250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11251 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11262 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11263 if test -n "$orig_target_cxx"; then
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11265 $as_echo "$orig_target_cxx" >&6; }
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11268 $as_echo "no" >&6; }
11273 if test "$GCC" = "yes"; then
11274 aros_gcc_g
++=`$CC -print-prog-name=g++`
11275 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11276 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11278 $as_echo_n "checking for $ac_word... " >&6; }
11279 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11280 $as_echo_n "(cached) " >&6
11282 case $orig_target_cxx in
11284 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11288 for as_dir
in `dirname $aros_gcc_g++`
11291 test -z "$as_dir" && as_dir
=.
11292 for ac_exec_ext
in '' $ac_executable_extensions; do
11293 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11294 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11305 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11306 if test -n "$orig_target_cxx"; then
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11308 $as_echo "$orig_target_cxx" >&6; }
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11311 $as_echo "no" >&6; }
11316 if test "$orig_target_cxx" = ""; then
11317 # Extract the first word of "g++", so it can be a program name with args.
11318 set dummy g
++; ac_word
=$2
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11320 $as_echo_n "checking for $ac_word... " >&6; }
11321 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11322 $as_echo_n "(cached) " >&6
11324 case $orig_target_cxx in
11326 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11330 for as_dir
in $PATH
11333 test -z "$as_dir" && as_dir
=.
11334 for ac_exec_ext
in '' $ac_executable_extensions; do
11335 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11336 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11347 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11348 if test -n "$orig_target_cxx"; then
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11350 $as_echo "$orig_target_cxx" >&6; }
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11353 $as_echo "no" >&6; }
11360 # Extract the first word of "${aros_tool_prefix}g++${target_tool_version}", so it can be a program name with args.
11361 set dummy
${aros_tool_prefix}g
++${target_tool_version}; ac_word
=$2
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11363 $as_echo_n "checking for $ac_word... " >&6; }
11364 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11365 $as_echo_n "(cached) " >&6
11367 case $orig_target_cxx in
11369 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11373 for as_dir
in $PATH
11376 test -z "$as_dir" && as_dir
=.
11377 for ac_exec_ext
in '' $ac_executable_extensions; do
11378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11379 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11390 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11391 if test -n "$orig_target_cxx"; then
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11393 $as_echo "$orig_target_cxx" >&6; }
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11396 $as_echo "no" >&6; }
11402 if test "$orig_target_cxx" = ""; then
11403 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11406 if test "${aros_tool_prefix}ld" = ""; then
11407 if test "$cross_compiling" = "yes" ; then
11408 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11409 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11411 $as_echo_n "checking for $ac_word... " >&6; }
11412 if ${ac_cv_path_orig_target_ld+:} false
; then :
11413 $as_echo_n "(cached) " >&6
11415 case $orig_target_ld in
11417 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11421 for as_dir
in $PATH
11424 test -z "$as_dir" && as_dir
=.
11425 for ac_exec_ext
in '' $ac_executable_extensions; do
11426 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11427 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11438 orig_target_ld
=$ac_cv_path_orig_target_ld
11439 if test -n "$orig_target_ld"; then
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11441 $as_echo "$orig_target_ld" >&6; }
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11444 $as_echo "no" >&6; }
11449 if test "$GCC" = "yes"; then
11450 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11451 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11452 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11454 $as_echo_n "checking for $ac_word... " >&6; }
11455 if ${ac_cv_path_orig_target_ld+:} false
; then :
11456 $as_echo_n "(cached) " >&6
11458 case $orig_target_ld in
11460 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11464 for as_dir
in `dirname $aros_gcc_gcc`
11467 test -z "$as_dir" && as_dir
=.
11468 for ac_exec_ext
in '' $ac_executable_extensions; do
11469 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11470 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11481 orig_target_ld
=$ac_cv_path_orig_target_ld
11482 if test -n "$orig_target_ld"; then
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11484 $as_echo "$orig_target_ld" >&6; }
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11487 $as_echo "no" >&6; }
11492 if test "$orig_target_ld" = ""; then
11493 # Extract the first word of "gcc", so it can be a program name with args.
11494 set dummy gcc
; ac_word
=$2
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11496 $as_echo_n "checking for $ac_word... " >&6; }
11497 if ${ac_cv_path_orig_target_ld+:} false
; then :
11498 $as_echo_n "(cached) " >&6
11500 case $orig_target_ld in
11502 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11506 for as_dir
in $PATH
11509 test -z "$as_dir" && as_dir
=.
11510 for ac_exec_ext
in '' $ac_executable_extensions; do
11511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11512 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11523 orig_target_ld
=$ac_cv_path_orig_target_ld
11524 if test -n "$orig_target_ld"; then
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11526 $as_echo "$orig_target_ld" >&6; }
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11529 $as_echo "no" >&6; }
11536 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11537 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11539 $as_echo_n "checking for $ac_word... " >&6; }
11540 if ${ac_cv_path_orig_target_ld+:} false
; then :
11541 $as_echo_n "(cached) " >&6
11543 case $orig_target_ld in
11545 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11549 for as_dir
in $PATH
11552 test -z "$as_dir" && as_dir
=.
11553 for ac_exec_ext
in '' $ac_executable_extensions; do
11554 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11555 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11566 orig_target_ld
=$ac_cv_path_orig_target_ld
11567 if test -n "$orig_target_ld"; then
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11569 $as_echo "$orig_target_ld" >&6; }
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11572 $as_echo "no" >&6; }
11578 if test "$orig_target_ld" = ""; then
11579 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11582 if test "${aros_tool_prefix}as" = ""; then
11583 if test "$cross_compiling" = "yes" ; then
11584 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11585 set dummy
${target_tool_prefix}as
; ac_word
=$2
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11587 $as_echo_n "checking for $ac_word... " >&6; }
11588 if ${ac_cv_path_orig_target_as+:} false
; then :
11589 $as_echo_n "(cached) " >&6
11591 case $orig_target_as in
11593 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11597 for as_dir
in $PATH
11600 test -z "$as_dir" && as_dir
=.
11601 for ac_exec_ext
in '' $ac_executable_extensions; do
11602 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11603 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11614 orig_target_as
=$ac_cv_path_orig_target_as
11615 if test -n "$orig_target_as"; then
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11617 $as_echo "$orig_target_as" >&6; }
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11620 $as_echo "no" >&6; }
11625 if test "$GCC" = "yes"; then
11626 aros_gcc_as
=`$CC -print-prog-name=as`
11627 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11628 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11630 $as_echo_n "checking for $ac_word... " >&6; }
11631 if ${ac_cv_path_orig_target_as+:} false
; then :
11632 $as_echo_n "(cached) " >&6
11634 case $orig_target_as in
11636 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11640 for as_dir
in `dirname $aros_gcc_as`
11643 test -z "$as_dir" && as_dir
=.
11644 for ac_exec_ext
in '' $ac_executable_extensions; do
11645 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11646 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11657 orig_target_as
=$ac_cv_path_orig_target_as
11658 if test -n "$orig_target_as"; then
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11660 $as_echo "$orig_target_as" >&6; }
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11663 $as_echo "no" >&6; }
11668 if test "$orig_target_as" = ""; then
11669 # Extract the first word of "as", so it can be a program name with args.
11670 set dummy as
; ac_word
=$2
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11672 $as_echo_n "checking for $ac_word... " >&6; }
11673 if ${ac_cv_path_orig_target_as+:} false
; then :
11674 $as_echo_n "(cached) " >&6
11676 case $orig_target_as in
11678 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11682 for as_dir
in $PATH
11685 test -z "$as_dir" && as_dir
=.
11686 for ac_exec_ext
in '' $ac_executable_extensions; do
11687 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11688 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11699 orig_target_as
=$ac_cv_path_orig_target_as
11700 if test -n "$orig_target_as"; then
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11702 $as_echo "$orig_target_as" >&6; }
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11705 $as_echo "no" >&6; }
11712 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11713 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11715 $as_echo_n "checking for $ac_word... " >&6; }
11716 if ${ac_cv_path_orig_target_as+:} false
; then :
11717 $as_echo_n "(cached) " >&6
11719 case $orig_target_as in
11721 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11725 for as_dir
in $PATH
11728 test -z "$as_dir" && as_dir
=.
11729 for ac_exec_ext
in '' $ac_executable_extensions; do
11730 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11731 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11742 orig_target_as
=$ac_cv_path_orig_target_as
11743 if test -n "$orig_target_as"; then
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11745 $as_echo "$orig_target_as" >&6; }
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11748 $as_echo "no" >&6; }
11754 if test "$orig_target_as" = ""; then
11755 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11758 if test "${aros_tool_prefix}ar" = ""; then
11759 if test "$cross_compiling" = "yes" ; then
11760 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11761 set dummy
${target_tool_prefix}ar; ac_word
=$2
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11763 $as_echo_n "checking for $ac_word... " >&6; }
11764 if ${ac_cv_path_orig_target_ar+:} false
; then :
11765 $as_echo_n "(cached) " >&6
11767 case $orig_target_ar in
11769 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11773 for as_dir
in $PATH
11776 test -z "$as_dir" && as_dir
=.
11777 for ac_exec_ext
in '' $ac_executable_extensions; do
11778 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11779 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11790 orig_target_ar
=$ac_cv_path_orig_target_ar
11791 if test -n "$orig_target_ar"; then
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11793 $as_echo "$orig_target_ar" >&6; }
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11796 $as_echo "no" >&6; }
11801 if test "$GCC" = "yes"; then
11802 aros_gcc_ar
=`$CC -print-prog-name=ar`
11803 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11804 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11806 $as_echo_n "checking for $ac_word... " >&6; }
11807 if ${ac_cv_path_orig_target_ar+:} false
; then :
11808 $as_echo_n "(cached) " >&6
11810 case $orig_target_ar in
11812 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11816 for as_dir
in `dirname $aros_gcc_ar`
11819 test -z "$as_dir" && as_dir
=.
11820 for ac_exec_ext
in '' $ac_executable_extensions; do
11821 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11822 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11833 orig_target_ar
=$ac_cv_path_orig_target_ar
11834 if test -n "$orig_target_ar"; then
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11836 $as_echo "$orig_target_ar" >&6; }
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11839 $as_echo "no" >&6; }
11844 if test "$orig_target_ar" = ""; then
11845 # Extract the first word of "ar", so it can be a program name with args.
11846 set dummy
ar; ac_word
=$2
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11848 $as_echo_n "checking for $ac_word... " >&6; }
11849 if ${ac_cv_path_orig_target_ar+:} false
; then :
11850 $as_echo_n "(cached) " >&6
11852 case $orig_target_ar in
11854 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11858 for as_dir
in $PATH
11861 test -z "$as_dir" && as_dir
=.
11862 for ac_exec_ext
in '' $ac_executable_extensions; do
11863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11864 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11875 orig_target_ar
=$ac_cv_path_orig_target_ar
11876 if test -n "$orig_target_ar"; then
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11878 $as_echo "$orig_target_ar" >&6; }
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11881 $as_echo "no" >&6; }
11888 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11889 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11891 $as_echo_n "checking for $ac_word... " >&6; }
11892 if ${ac_cv_path_orig_target_ar+:} false
; then :
11893 $as_echo_n "(cached) " >&6
11895 case $orig_target_ar in
11897 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11901 for as_dir
in $PATH
11904 test -z "$as_dir" && as_dir
=.
11905 for ac_exec_ext
in '' $ac_executable_extensions; do
11906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11907 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11918 orig_target_ar
=$ac_cv_path_orig_target_ar
11919 if test -n "$orig_target_ar"; then
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11921 $as_echo "$orig_target_ar" >&6; }
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11924 $as_echo "no" >&6; }
11930 if test "$orig_target_ar" = ""; then
11931 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11934 if test "${aros_tool_prefix}ranlib" = ""; then
11935 if test "$cross_compiling" = "yes" ; then
11936 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11937 set dummy
${target_tool_prefix}ar; ac_word
=$2
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11939 $as_echo_n "checking for $ac_word... " >&6; }
11940 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11941 $as_echo_n "(cached) " >&6
11943 case $orig_target_ranlib in
11945 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11949 for as_dir
in $PATH
11952 test -z "$as_dir" && as_dir
=.
11953 for ac_exec_ext
in '' $ac_executable_extensions; do
11954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11955 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11966 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11967 if test -n "$orig_target_ranlib"; then
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11969 $as_echo "$orig_target_ranlib" >&6; }
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11972 $as_echo "no" >&6; }
11977 if test "$GCC" = "yes"; then
11978 aros_gcc_ar
=`$CC -print-prog-name=ar`
11979 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11980 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11982 $as_echo_n "checking for $ac_word... " >&6; }
11983 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11984 $as_echo_n "(cached) " >&6
11986 case $orig_target_ranlib in
11988 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11992 for as_dir
in `dirname $aros_gcc_ar`
11995 test -z "$as_dir" && as_dir
=.
11996 for ac_exec_ext
in '' $ac_executable_extensions; do
11997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11998 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12009 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12010 if test -n "$orig_target_ranlib"; then
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12012 $as_echo "$orig_target_ranlib" >&6; }
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12015 $as_echo "no" >&6; }
12020 if test "$orig_target_ranlib" = ""; then
12021 # Extract the first word of "ar", so it can be a program name with args.
12022 set dummy
ar; ac_word
=$2
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12024 $as_echo_n "checking for $ac_word... " >&6; }
12025 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12026 $as_echo_n "(cached) " >&6
12028 case $orig_target_ranlib in
12030 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12034 for as_dir
in $PATH
12037 test -z "$as_dir" && as_dir
=.
12038 for ac_exec_ext
in '' $ac_executable_extensions; do
12039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12040 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12051 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12052 if test -n "$orig_target_ranlib"; then
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12054 $as_echo "$orig_target_ranlib" >&6; }
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12057 $as_echo "no" >&6; }
12064 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
12065 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12067 $as_echo_n "checking for $ac_word... " >&6; }
12068 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12069 $as_echo_n "(cached) " >&6
12071 case $orig_target_ranlib in
12073 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12077 for as_dir
in $PATH
12080 test -z "$as_dir" && as_dir
=.
12081 for ac_exec_ext
in '' $ac_executable_extensions; do
12082 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12083 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12094 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12095 if test -n "$orig_target_ranlib"; then
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12097 $as_echo "$orig_target_ranlib" >&6; }
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12100 $as_echo "no" >&6; }
12106 if test "$orig_target_ranlib" = ""; then
12107 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12110 if test "${aros_tool_prefix}nm" = ""; then
12111 if test "$cross_compiling" = "yes" ; then
12112 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12113 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12115 $as_echo_n "checking for $ac_word... " >&6; }
12116 if ${ac_cv_path_orig_target_nm+:} false
; then :
12117 $as_echo_n "(cached) " >&6
12119 case $orig_target_nm in
12121 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12125 for as_dir
in $PATH
12128 test -z "$as_dir" && as_dir
=.
12129 for ac_exec_ext
in '' $ac_executable_extensions; do
12130 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12131 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12142 orig_target_nm
=$ac_cv_path_orig_target_nm
12143 if test -n "$orig_target_nm"; then
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12145 $as_echo "$orig_target_nm" >&6; }
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12148 $as_echo "no" >&6; }
12153 if test "$GCC" = "yes"; then
12154 aros_gcc_nm
=`$CC -print-prog-name=nm`
12155 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12156 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12158 $as_echo_n "checking for $ac_word... " >&6; }
12159 if ${ac_cv_path_orig_target_nm+:} false
; then :
12160 $as_echo_n "(cached) " >&6
12162 case $orig_target_nm in
12164 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12168 for as_dir
in `dirname $aros_gcc_nm`
12171 test -z "$as_dir" && as_dir
=.
12172 for ac_exec_ext
in '' $ac_executable_extensions; do
12173 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12174 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12185 orig_target_nm
=$ac_cv_path_orig_target_nm
12186 if test -n "$orig_target_nm"; then
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12188 $as_echo "$orig_target_nm" >&6; }
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12191 $as_echo "no" >&6; }
12196 if test "$orig_target_nm" = ""; then
12197 # Extract the first word of "nm", so it can be a program name with args.
12198 set dummy nm
; ac_word
=$2
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12200 $as_echo_n "checking for $ac_word... " >&6; }
12201 if ${ac_cv_path_orig_target_nm+:} false
; then :
12202 $as_echo_n "(cached) " >&6
12204 case $orig_target_nm in
12206 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12210 for as_dir
in $PATH
12213 test -z "$as_dir" && as_dir
=.
12214 for ac_exec_ext
in '' $ac_executable_extensions; do
12215 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12216 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12227 orig_target_nm
=$ac_cv_path_orig_target_nm
12228 if test -n "$orig_target_nm"; then
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12230 $as_echo "$orig_target_nm" >&6; }
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12233 $as_echo "no" >&6; }
12240 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12241 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12243 $as_echo_n "checking for $ac_word... " >&6; }
12244 if ${ac_cv_path_orig_target_nm+:} false
; then :
12245 $as_echo_n "(cached) " >&6
12247 case $orig_target_nm in
12249 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12253 for as_dir
in $PATH
12256 test -z "$as_dir" && as_dir
=.
12257 for ac_exec_ext
in '' $ac_executable_extensions; do
12258 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12259 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12270 orig_target_nm
=$ac_cv_path_orig_target_nm
12271 if test -n "$orig_target_nm"; then
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12273 $as_echo "$orig_target_nm" >&6; }
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12276 $as_echo "no" >&6; }
12282 if test "$orig_target_nm" = ""; then
12283 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12286 if test "${aros_tool_prefix}strip" = ""; then
12287 if test "$cross_compiling" = "yes" ; then
12288 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12289 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12291 $as_echo_n "checking for $ac_word... " >&6; }
12292 if ${ac_cv_path_orig_target_strip+:} false
; then :
12293 $as_echo_n "(cached) " >&6
12295 case $orig_target_strip in
12297 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12301 for as_dir
in $PATH
12304 test -z "$as_dir" && as_dir
=.
12305 for ac_exec_ext
in '' $ac_executable_extensions; do
12306 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12307 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12318 orig_target_strip
=$ac_cv_path_orig_target_strip
12319 if test -n "$orig_target_strip"; then
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12321 $as_echo "$orig_target_strip" >&6; }
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12324 $as_echo "no" >&6; }
12329 if test "$GCC" = "yes"; then
12330 aros_gcc_strip
=`$CC -print-prog-name=strip`
12331 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12332 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12334 $as_echo_n "checking for $ac_word... " >&6; }
12335 if ${ac_cv_path_orig_target_strip+:} false
; then :
12336 $as_echo_n "(cached) " >&6
12338 case $orig_target_strip in
12340 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12344 for as_dir
in `dirname $aros_gcc_strip`
12347 test -z "$as_dir" && as_dir
=.
12348 for ac_exec_ext
in '' $ac_executable_extensions; do
12349 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12350 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12361 orig_target_strip
=$ac_cv_path_orig_target_strip
12362 if test -n "$orig_target_strip"; then
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12364 $as_echo "$orig_target_strip" >&6; }
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12367 $as_echo "no" >&6; }
12372 if test "$orig_target_strip" = ""; then
12373 # Extract the first word of "strip", so it can be a program name with args.
12374 set dummy strip
; ac_word
=$2
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12376 $as_echo_n "checking for $ac_word... " >&6; }
12377 if ${ac_cv_path_orig_target_strip+:} false
; then :
12378 $as_echo_n "(cached) " >&6
12380 case $orig_target_strip in
12382 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12386 for as_dir
in $PATH
12389 test -z "$as_dir" && as_dir
=.
12390 for ac_exec_ext
in '' $ac_executable_extensions; do
12391 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12392 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12403 orig_target_strip
=$ac_cv_path_orig_target_strip
12404 if test -n "$orig_target_strip"; then
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12406 $as_echo "$orig_target_strip" >&6; }
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12409 $as_echo "no" >&6; }
12416 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12417 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12419 $as_echo_n "checking for $ac_word... " >&6; }
12420 if ${ac_cv_path_orig_target_strip+:} false
; then :
12421 $as_echo_n "(cached) " >&6
12423 case $orig_target_strip in
12425 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12429 for as_dir
in $PATH
12432 test -z "$as_dir" && as_dir
=.
12433 for ac_exec_ext
in '' $ac_executable_extensions; do
12434 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12435 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12446 orig_target_strip
=$ac_cv_path_orig_target_strip
12447 if test -n "$orig_target_strip"; then
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12449 $as_echo "$orig_target_strip" >&6; }
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12452 $as_echo "no" >&6; }
12458 if test "$orig_target_strip" = ""; then
12459 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12462 if test "${aros_tool_prefix}objcopy" = ""; then
12463 if test "$cross_compiling" = "yes" ; then
12464 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12465 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12467 $as_echo_n "checking for $ac_word... " >&6; }
12468 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12469 $as_echo_n "(cached) " >&6
12471 case $orig_target_objcopy in
12473 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12477 for as_dir
in $PATH
12480 test -z "$as_dir" && as_dir
=.
12481 for ac_exec_ext
in '' $ac_executable_extensions; do
12482 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12483 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12494 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12495 if test -n "$orig_target_objcopy"; then
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12497 $as_echo "$orig_target_objcopy" >&6; }
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12500 $as_echo "no" >&6; }
12505 if test "$GCC" = "yes"; then
12506 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12507 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12508 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12510 $as_echo_n "checking for $ac_word... " >&6; }
12511 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12512 $as_echo_n "(cached) " >&6
12514 case $orig_target_objcopy in
12516 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12520 for as_dir
in `dirname $aros_gcc_objcopy`
12523 test -z "$as_dir" && as_dir
=.
12524 for ac_exec_ext
in '' $ac_executable_extensions; do
12525 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12526 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12537 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12538 if test -n "$orig_target_objcopy"; then
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12540 $as_echo "$orig_target_objcopy" >&6; }
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12543 $as_echo "no" >&6; }
12548 if test "$orig_target_objcopy" = ""; then
12549 # Extract the first word of "objcopy", so it can be a program name with args.
12550 set dummy objcopy
; ac_word
=$2
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12552 $as_echo_n "checking for $ac_word... " >&6; }
12553 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12554 $as_echo_n "(cached) " >&6
12556 case $orig_target_objcopy in
12558 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12562 for as_dir
in $PATH
12565 test -z "$as_dir" && as_dir
=.
12566 for ac_exec_ext
in '' $ac_executable_extensions; do
12567 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12568 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12579 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12580 if test -n "$orig_target_objcopy"; then
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12582 $as_echo "$orig_target_objcopy" >&6; }
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12585 $as_echo "no" >&6; }
12592 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12593 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12595 $as_echo_n "checking for $ac_word... " >&6; }
12596 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12597 $as_echo_n "(cached) " >&6
12599 case $orig_target_objcopy in
12601 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12605 for as_dir
in $PATH
12608 test -z "$as_dir" && as_dir
=.
12609 for ac_exec_ext
in '' $ac_executable_extensions; do
12610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12611 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12622 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12623 if test -n "$orig_target_objcopy"; then
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12625 $as_echo "$orig_target_objcopy" >&6; }
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12628 $as_echo "no" >&6; }
12634 if test "$orig_target_objcopy" = ""; then
12635 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12638 if test "${aros_tool_prefix}objdump" = ""; then
12639 if test "$cross_compiling" = "yes" ; then
12640 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12641 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12643 $as_echo_n "checking for $ac_word... " >&6; }
12644 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12645 $as_echo_n "(cached) " >&6
12647 case $orig_target_objdump in
12649 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12653 for as_dir
in $PATH
12656 test -z "$as_dir" && as_dir
=.
12657 for ac_exec_ext
in '' $ac_executable_extensions; do
12658 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12659 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12670 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12671 if test -n "$orig_target_objdump"; then
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12673 $as_echo "$orig_target_objdump" >&6; }
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12676 $as_echo "no" >&6; }
12681 if test "$GCC" = "yes"; then
12682 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12683 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12684 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12686 $as_echo_n "checking for $ac_word... " >&6; }
12687 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12688 $as_echo_n "(cached) " >&6
12690 case $orig_target_objdump in
12692 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12696 for as_dir
in `dirname $aros_gcc_objdump`
12699 test -z "$as_dir" && as_dir
=.
12700 for ac_exec_ext
in '' $ac_executable_extensions; do
12701 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12702 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12713 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12714 if test -n "$orig_target_objdump"; then
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12716 $as_echo "$orig_target_objdump" >&6; }
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12719 $as_echo "no" >&6; }
12724 if test "$orig_target_objdump" = ""; then
12725 # Extract the first word of "objdump", so it can be a program name with args.
12726 set dummy objdump
; ac_word
=$2
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12728 $as_echo_n "checking for $ac_word... " >&6; }
12729 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12730 $as_echo_n "(cached) " >&6
12732 case $orig_target_objdump in
12734 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12738 for as_dir
in $PATH
12741 test -z "$as_dir" && as_dir
=.
12742 for ac_exec_ext
in '' $ac_executable_extensions; do
12743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12744 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12755 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12756 if test -n "$orig_target_objdump"; then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12758 $as_echo "$orig_target_objdump" >&6; }
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12761 $as_echo "no" >&6; }
12768 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12769 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12771 $as_echo_n "checking for $ac_word... " >&6; }
12772 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12773 $as_echo_n "(cached) " >&6
12775 case $orig_target_objdump in
12777 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12781 for as_dir
in $PATH
12784 test -z "$as_dir" && as_dir
=.
12785 for ac_exec_ext
in '' $ac_executable_extensions; do
12786 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12787 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12798 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12799 if test -n "$orig_target_objdump"; then
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12801 $as_echo "$orig_target_objdump" >&6; }
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12804 $as_echo "no" >&6; }
12810 if test "$orig_target_objdump" = ""; then
12811 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12815 if test "$kernel_tool_prefix" = "none" ; then
12816 # No kernel tools specified
12817 # Assume target tools == kernel tools with ELF wrapper
12818 aros_kernel_cc
=$orig_target_cc
12819 aros_kernel_cxx
=$orig_target_cxx
12820 aros_kernel_cpp
=$orig_target_cpp
12821 aros_kernel_ld
=$orig_target_ld
12822 aros_kernel_as
=$orig_target_as
12823 aros_kernel_ar
=$orig_target_ar
12824 aros_kernel_ranlib
=$orig_target_ranlib
12825 aros_kernel_nm
=$orig_target_nm
12826 aros_kernel_strip
=$orig_target_strip
12827 aros_kernel_objcopy
=$orig_target_objcopy
12828 aros_kernel_objdump
=$orig_target_objdump
12829 use_kernel_cc_wrapper
=yes
12832 # At this point, all aros_kernel_* and aros_target_*
12833 # tools should be set up correctly
12835 CC
="$aros_kernel_cc $kernel_tool_flags"
12836 CPP
="$aros_kernel_cpp"
12838 #-----------------------------------------------------------------------------
12840 # Disable pointer-signedness warnings if the compiler recognises the option
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12843 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12844 save_cflags
="$CFLAGS"
12845 if test "$crosstools" != "yes" ; then
12846 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12848 /* end confdefs.h. */
12858 if ac_fn_c_try_compile
"$LINENO"; then :
12859 use_no_sign_warning
="yes"
12861 use_no_sign_warning
="no"
12863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12865 # we do know it is supported for the smallest version of gcc we are going to build
12866 # we assume it's also supported by later versions
12867 use_no_sign_warning
=yes
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12870 $as_echo "$use_no_sign_warning" >&6; }
12871 if test "x-$use_no_sign_warning" = "x-yes" ; then
12872 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12874 CFLAGS
="$save_cflags"
12876 #-----------------------------------------------------------------------------
12878 # Find all the tools we need to compile. This could be cross-compiling
12879 # though! If that is the case we use the GNU form of the target and
12880 # simply add this to the front of the binary name. This is rather simple,
12881 # but it should work under most circumstances.
12883 # The default tools are to use the same as the host, but only if the
12884 # host and target CPU are the same. With GCC this is normally enough.
12888 aros_shared_ld
="$aros_host_ld"
12890 aros_target_mkdep
="$aros_host_mkdep"
12892 # The default tools executables to be linked to.
12893 if test "$rescomp" != ""; then
12894 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12895 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12897 $as_echo_n "checking for $ac_word... " >&6; }
12898 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12899 $as_echo_n "(cached) " >&6
12901 case $aros_kernel_rescomp in
12903 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12907 for as_dir
in $PATH
12910 test -z "$as_dir" && as_dir
=.
12911 for ac_exec_ext
in '' $ac_executable_extensions; do
12912 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12913 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12924 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12925 if test -n "$aros_kernel_rescomp"; then
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12927 $as_echo "$aros_kernel_rescomp" >&6; }
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12930 $as_echo "no" >&6; }
12934 if test "$aros_kernel_rescomp" = ""; then
12935 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12939 # Set up the sources for the symlink farm
12940 if test "$crosstools" = "yes"; then
12941 crosstools_target
=tools-crosstools
12944 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12945 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12948 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12949 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12950 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12951 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12952 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12953 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12954 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12956 # aros_cc_pre is a variable that is added to the front of the compiler name
12957 # in the generated aros-gcc shell script. We need this to enable the cache
12958 # to work across cleaned builds. Also, support DISTCC using the correct
12959 # environment variable.
12962 if test "x${DISTCC}" != "x" ; then
12963 if test "x${CCACHE}" != "x" ; then
12964 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12966 aros_cc_pre
="${DISTCC} "
12969 if test "x${CCACHE}" != "x" ; then
12970 aros_cc_pre
="${CCACHE} "
12974 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12976 aros_target_nostdinc_cflags
=-nostdinc
12978 aros_target_nostartup_ldflags
=-nostartfiles
12980 aros_target_nix_ldflags
=-nix
12982 aros_target_detach_ldflags
=-detach
12984 aros_target_nostdlib_ldflags
=-nostdlib
12988 if test "$crosstools" != "yes"; then
12989 if test "$GCC" = "yes"; then
12990 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12993 # We do not know which gcc version we are going to build and what we need to know
12994 # here is different for different versions so this will be set later during the
12995 # build of crosstools.
12996 aros_target_cc_path
=@aros_target_cc_path@
12998 aros_target_cpp
="${prefix}cpp"
12999 aros_target_cc
="${prefix}gcc"
13000 aros_target_cxx
="${prefix}g++"
13001 aros_target_as
="${prefix}as"
13002 aros_target_ld
="${prefix}ld"
13003 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
13004 aros_target_objcopy
="${prefix}objcopy"
13005 aros_target_objdump
="${prefix}objdump"
13006 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
13007 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
13008 aros_target_strip
="${prefix}strip"
13009 aros_plain_nm
="${prefix}nm"
13010 aros_plain_ar
="${prefix}ar"
13012 # Check whether --enable-includes was given.
13013 if test "${enable_includes+set}" = set; then :
13014 enableval
=$enable_includes; aros_target_incl
=$enable_includes
13016 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
13020 if test "$aros_kernel_includes" = ""; then
13021 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13022 aros_kernel_includes
="-isystem $aros_target_incl"
13026 if test "$aros_kernel_includes" != "" ; then
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
13028 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
13029 if test "$aros_kernel_cc_includes" = "" ; then
13030 # Try to guess where the directory is.
13031 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
13032 if test -d $aros_kernel_cc_includes; then
13033 # Check if there is also an include-fixed directory and add it
13034 # to kernel compiler's include path as it may contain some of
13035 # the headers we need.
13036 if test -d "$aros_kernel_cc_includes"-fixed; then
13037 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
13039 # Check for specific includes directory. Neede for Ubuntu 11.10
13040 if test -d "/usr/include/i386-linux-gnu"; then
13041 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
13044 # The directory doesn't exist, we need to do some more work.
13045 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
13047 # These are the headers we're looking for.
13048 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13049 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13053 for h
in $headers; do
13054 # Which other headers are needed by each of the above?
13055 deps
=$
(echo "#include <$h>" | \
13056 $aros_kernel_cc -E -M - 2>/dev
/null | \
13057 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13059 # Copy all the needed headers to a directory beneath gendir.
13062 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13063 sed -n "s,^.*/include\(/.*\),\1,p")
13064 ! test -d $dir && mkdir
-p $dir
13065 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13071 $as_echo "$aros_kernel_cc_includes" >&6; }
13072 # Adding -nostdinc to kernel includes as they are always used together.
13073 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13076 if test "$crosstools" != "yes"; then
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13078 $as_echo_n "checking for the target compiler's include path... " >&6; }
13079 if test "$aros_target_cc_includes" = "" ; then
13080 #try to guess where the directory is
13081 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13082 if ! test -d $aros_target_cc_includes; then
13083 #the directory doesn't exist, we need to do some more work
13084 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13086 #these are the headers we're looking for
13087 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13088 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13092 for h
in $headers; do
13093 #which other headers each of the above headers needs?
13094 deps
=$
(echo "#include <$h>" | \
13095 $orig_target_cc -E -M - 2>/dev
/null | \
13096 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13098 #copy all the needed headers to a directory beneath gendir
13101 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13102 sed -n "s,^.*/include\(/.*\),\1,p")
13103 ! test -d $dir && mkdir
-p $dir
13104 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13110 $as_echo "$aros_target_cc_includes" >&6; }
13112 # We do not know which gcc version we are going to build and what we need to know
13113 # here is different for different versions so this will be set later during the
13114 # build of crosstools.
13115 aros_target_cc_includes
=@aros_target_cc_includes@
13119 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13120 # On GCC >= 4.0 -iquote should be used
13124 save_cflags
="$CFLAGS"
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13127 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13128 if test "x-$crosstools" != "x-yes"; then
13129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13130 /* end confdefs.h. */
13140 if ac_fn_c_try_compile
"$LINENO"; then :
13145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13147 # we do know it is supported for the smallest version of gcc we are going to build
13148 # we assume it's also supported by later versions
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13152 $as_echo "$has_iquote" >&6; }
13153 if test "x-$has_iquote" = "x-yes" ; then
13154 host_cflags_iquote
=-iquote
13155 host_cflags_iquote_end
=
13157 host_cflags_iquote
=-I
13158 host_cflags_iquote_end
=-I-
13160 kernel_cflags_iquote
=$host_cflags_iquote
13161 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13162 if test "x-$cross_compiling" = "x-yes"; then
13163 CC
="$aros_kernel_cc"
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13165 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13166 if test "x-$crosstools" != "x-yes"; then
13167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13168 /* end confdefs.h. */
13178 if ac_fn_c_try_compile
"$LINENO"; then :
13179 use_no_stack_protector
="yes"
13181 use_no_stack_protector
="no"
13183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13185 # we do know it is supported for the smallest version of gcc we are going to build
13186 # we assume it's also supported by later versions
13187 use_no_stack_protector
=yes
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13190 $as_echo "$use_no_stack_protector" >&6; }
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13192 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13193 if test "x-$crosstools" != "x-yes"; then
13194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13195 /* end confdefs.h. */
13205 if ac_fn_c_try_compile
"$LINENO"; then :
13210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13212 # we do know it is supported for the smallest version of gcc we are going to build
13213 # we assume it's also supported by later versions
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13217 $as_echo "$has_iquote" >&6; }
13218 if test "x-$has_iquote" = "x-yes" ; then
13219 kernel_cflags_iquote
=-iquote
13220 kernel_cflags_iquote_end
=
13222 kernel_cflags_iquote
=-I
13223 kernel_cflags_iquote_end
=-I-
13226 aros_cflags_iquote
=$kernel_cflags_iquote
13227 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13228 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13229 CC
="$orig_target_cc"
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13231 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13232 if test "x-$crosstools" != "x-yes"; then
13233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13234 /* end confdefs.h. */
13244 if ac_fn_c_try_compile
"$LINENO"; then :
13249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13251 # we do know it is supported for the smallest version of gcc we are going to build
13252 # we assume it's also supported by later versions
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13256 $as_echo "$has_iquote" >&6; }
13257 if test "x-$has_iquote" = "x-yes" ; then
13258 aros_cflags_iquote
=-iquote
13259 aros_cflags_iquote_end
=
13261 aros_cflags_iquote
=-I
13262 aros_cflags_iquote_end
=-I-
13265 if test "x-$use_no_stack_protector" = "x-yes" ; then
13266 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13270 #-----------------------------------------------------------------------------
13272 # Check if the target compiler supports some options used for delinting:
13273 # -Wunused-but-set-variable
13276 # -Wstrict-overflow
13277 # -Wformat-security
13279 if test "x-$crosstools" != "x-yes"; then
13280 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13281 CC
="$orig_target_cc"
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13284 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13285 CFLAGS
=-Wunused-but-set-variable
13286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13287 /* end confdefs.h. */
13297 if ac_fn_c_try_compile
"$LINENO"; then :
13298 aros_unused_but_set_variable
="yes"
13300 aros_unused_but_set_variable
="no"
13302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13304 $as_echo "$aros_unused_but_set_variable" >&6; }
13305 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13306 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13310 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13311 CFLAGS
=-Warray-bounds
13312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13313 /* end confdefs.h. */
13323 if ac_fn_c_try_compile
"$LINENO"; then :
13324 aros_array_bounds
="yes"
13326 aros_array_bounds
="no"
13328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13330 $as_echo "$aros_array_bounds" >&6; }
13331 if test "x-$aros_array_bounds" = "x-yes" ; then
13332 aros_cflags_array_bounds
=-Wno-array-bounds
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13336 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13337 CFLAGS
=-Wenum-compare
13338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13349 if ac_fn_c_try_compile
"$LINENO"; then :
13350 aros_enum_compare
="yes"
13352 aros_enum_compare
="no"
13354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13356 $as_echo "$aros_enum_compare" >&6; }
13357 if test "x-$aros_enum_compare" = "x-yes" ; then
13358 aros_cflags_enum_compare
=-Wno-enum-compare
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13362 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13363 CFLAGS
=-Wstrict-overflow
13364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13365 /* end confdefs.h. */
13375 if ac_fn_c_try_compile
"$LINENO"; then :
13376 aros_strict_overflow
="yes"
13378 aros_strict_overflow
="no"
13380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13382 $as_echo "$aros_strict_overflow" >&6; }
13383 if test "x-$aros_strict_overflow" = "x-yes" ; then
13384 aros_cflags_strict_overflow
=-Wno-strict-overflow
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13388 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13389 CFLAGS
=-Wformat-security
13390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13391 /* end confdefs.h. */
13401 if ac_fn_c_try_compile
"$LINENO"; then :
13402 aros_format_security
="yes"
13404 aros_format_security
="no"
13406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13408 $as_echo "$aros_format_security" >&6; }
13409 if test "x-$aros_format_security" = "x-yes" ; then
13410 aros_cflags_format_security
=-Wno-format-security
13413 # We do not know which gcc version we are going to build and what we need to know
13414 # here is different for different versions so this will be set later during the
13415 # build of crosstools.
13416 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13417 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13418 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13419 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13420 aros_cflags_format_security
=@aros_cflags_format_security@
13423 #-----------------------------------------------------------------------------
13425 # Check if we can explicitly choose older version of symbol hashing
13427 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13428 CC
="$aros_kernel_cc"
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13430 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13432 /* end confdefs.h. */
13442 if ac_fn_c_try_link
"$LINENO"; then :
13443 use_hash_style
="yes"
13445 use_hash_style
="no"
13447 rm -f core conftest.err conftest.
$ac_objext \
13448 conftest
$ac_exeext conftest.
$ac_ext
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13450 $as_echo "$use_hash_style" >&6; }
13451 if test "x-$use_hash_style" = "x-yes" ; then
13452 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13455 CFLAGS
="$save_cflags"
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13466 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13468 # Check whether --with-resolution was given.
13469 if test "${with_resolution+set}" = set; then :
13470 withval
=$with_resolution; resolution
=$withval
13475 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13476 if test "$resolution" = "yes" ; then
13479 if test "$resolution" = "no" ; then
13482 if test "$resolution" != "none" ; then
13483 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13484 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13485 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13488 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13489 aros_cv_default_wbwidth
=$aros_default_wbwidth
13490 aros_cv_default_wbheight
=$aros_default_wbheight
13491 aros_cv_default_wbdepth
=$aros_default_wbdepth
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13494 $as_echo_n "checking if serial debug is enabled... " >&6; }
13496 # Check whether --with-serial-debug was given.
13497 if test "${with_serial_debug+set}" = set; then :
13498 withval
=$with_serial_debug; serial_debug
=$withval
13503 if test "$aros_serial_debug" = 0 ; then
13504 serial_debug_forced
=""
13505 if test "$serial_debug" = "yes" ; then
13508 if test "$serial_debug" = "no" ; then
13509 serial_debug
="none"
13512 serial_debug_forced
="(forced)"
13513 serial_debug
=$aros_serial_debug
13515 if test "$serial_debug" != "none" ; then
13516 aros_serial_debug
=$serial_debug
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13518 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13521 $as_echo "no" >&6; }
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13525 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13526 # Check whether --enable-palm_debug_hack was given.
13527 if test "${enable_palm_debug_hack+set}" = set; then :
13528 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13530 palm_debug_hack
="no"
13533 if test "$palm_debug_hack" = "yes" ; then
13534 aros_palm_debug_hack
="1"
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13537 $as_echo "$palm_debug_hack" >&6; }
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
13540 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
13541 # Check whether --enable-usb30_code was given.
13542 if test "${enable_usb30_code+set}" = set; then :
13543 enableval
=$enable_usb30_code; usb30_code
="yes"
13548 if test "$usb30_code" = "yes" ; then
13549 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
13550 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
13553 $as_echo "$usb30_code" >&6; }
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13556 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13557 # Check whether --enable-nesting_supervisor was given.
13558 if test "${enable_nesting_supervisor+set}" = set; then :
13559 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13561 nesting_supervisor
="no"
13564 if test "$nesting_supervisor" = "yes" ; then
13565 aros_nesting_supervisor
="1"
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13568 $as_echo "$nesting_supervisor" >&6; }
13570 if test "$aros_enable_mmu" = "" ; then
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13572 $as_echo_n "checking if MMU support is enabled... " >&6; }
13573 # Check whether --enable-mmu was given.
13574 if test "${enable_mmu+set}" = set; then :
13575 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13577 aros_enable_mmu
="yes"
13580 if test "$aros_enable_mmu" = "" ; then
13581 aros_enable_mmu
="yes"
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13584 $as_echo "$aros_enable_mmu" >&6; }
13586 if test "$aros_enable_mmu" = "no" ; then
13587 aros_enable_mmu
="0"
13589 aros_enable_mmu
="1"
13593 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13595 if test "x-$need_dlopen" != "x-no" ; then
13598 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13599 if test "x$ac_cv_func_dlopen" = xyes
; then :
13605 if test "x-$have_dl" = "x-no" ; then
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13607 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13608 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13609 $as_echo_n "(cached) " >&6
13611 ac_check_lib_save_LIBS
=$LIBS
13613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13614 /* end confdefs.h. */
13616 /* Override any GCC internal prototype to avoid an error.
13617 Use char because int might match the return type of a GCC
13618 builtin and then its argument prototype would still apply. */
13631 if ac_fn_c_try_link
"$LINENO"; then :
13632 ac_cv_lib_dl_dlopen
=yes
13634 ac_cv_lib_dl_dlopen
=no
13636 rm -f core conftest.err conftest.
$ac_objext \
13637 conftest
$ac_exeext conftest.
$ac_ext
13638 LIBS
=$ac_check_lib_save_LIBS
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13641 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13642 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13644 aros_host_ldflags
="$aros_host_ldflags -ldl"
13650 if test "x-$have_dl" = "x-no" ; then
13651 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13657 # Check whether --enable-x11_hidd was given.
13658 if test "${enable_x11_hidd+set}" = set; then :
13659 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13661 x11_hidd
="$need_x11"
13664 case "x-$x11_hidd" in
13665 x-yes|x-no|x-auto
) ;;
13666 *) x11_hidd
="$need_x11" ;;
13671 if test "x-$x11_hidd" != "x-no" ; then
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13674 $as_echo_n "checking for X... " >&6; }
13677 # Check whether --with-x was given.
13678 if test "${with_x+set}" = set; then :
13682 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13683 if test "x$with_x" = xno
; then
13684 # The user explicitly disabled X.
13687 case $x_includes,$x_libraries in #(
13688 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13689 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13690 $as_echo_n "(cached) " >&6
13692 # One or both of the vars are not set, and there is no cached value.
13693 ac_x_includes
=no ac_x_libraries
=no
13694 rm -f -r conftest.dir
13695 if mkdir conftest.dir
; then
13697 cat >Imakefile
<<'_ACEOF'
13699 @echo incroot='${INCROOT}'
13701 @echo usrlibdir='${USRLIBDIR}'
13703 @echo libdir='${LIBDIR}'
13705 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13706 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13707 for ac_var
in incroot usrlibdir libdir
; do
13708 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13710 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13711 for ac_extension
in a so sl dylib la dll
; do
13712 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13713 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13714 ac_im_usrlibdir
=$ac_im_libdir; break
13717 # Screen out bogus values from the imake configuration. They are
13718 # bogus both because they are the default anyway, and because
13719 # using them would break gcc on systems where it needs fixed includes.
13720 case $ac_im_incroot in
13721 /usr
/include
) ac_x_includes
= ;;
13722 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13724 case $ac_im_usrlibdir in
13725 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13726 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13730 rm -f -r conftest.dir
13733 # Standard set of common directories for X headers.
13734 # Check X11 before X11Rn because it is often a symlink to the current release.
13748 /usr/local/X11/include
13749 /usr/local/X11R7/include
13750 /usr/local/X11R6/include
13751 /usr/local/X11R5/include
13752 /usr/local/X11R4/include
13754 /usr/local/include/X11
13755 /usr/local/include/X11R7
13756 /usr/local/include/X11R6
13757 /usr/local/include/X11R5
13758 /usr/local/include/X11R4
13762 /usr/XFree86/include/X11
13766 /usr/unsupported/include
13767 /usr/athena/include
13768 /usr/local/x11r5/include
13769 /usr/lpp/Xamples/include
13771 /usr/openwin/include
13772 /usr/openwin/share/include'
13774 if test "$ac_x_includes" = no
; then
13775 # Guess where to find include files, by looking for Xlib.h.
13776 # First, try using that file with no special directory specified.
13777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13779 #include <X11/Xlib.h>
13781 if ac_fn_c_try_cpp
"$LINENO"; then :
13782 # We can compile using X headers with no special include directory.
13785 for ac_dir
in $ac_x_header_dirs; do
13786 if test -r "$ac_dir/X11/Xlib.h"; then
13787 ac_x_includes
=$ac_dir
13792 rm -f conftest.err conftest.i conftest.
$ac_ext
13793 fi # $ac_x_includes = no
13795 if test "$ac_x_libraries" = no
; then
13796 # Check for the libraries.
13797 # See if we find them without any special options.
13798 # Don't add to $LIBS permanently.
13801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13802 /* end confdefs.h. */
13803 #include <X11/Xlib.h>
13812 if ac_fn_c_try_link
"$LINENO"; then :
13814 # We can link X programs with no special library path.
13818 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13820 # Don't even attempt the hair of trying to link an X program!
13821 for ac_extension
in a so sl dylib la dll
; do
13822 if test -r "$ac_dir/libX11.$ac_extension"; then
13823 ac_x_libraries
=$ac_dir
13829 rm -f core conftest.err conftest.
$ac_objext \
13830 conftest
$ac_exeext conftest.
$ac_ext
13831 fi # $ac_x_libraries = no
13833 case $ac_x_includes,$ac_x_libraries in #(
13834 no
,* |
*,no |
*\'*)
13835 # Didn't find X, or a directory has "'" in its name.
13836 ac_cv_have_x
="have_x=no";; #(
13838 # Record where we found X for the cache.
13839 ac_cv_have_x
="have_x=yes\
13840 ac_x_includes='$ac_x_includes'\
13841 ac_x_libraries='$ac_x_libraries'"
13847 eval "$ac_cv_have_x"
13850 if test "$have_x" != yes; then
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13852 $as_echo "$have_x" >&6; }
13855 # If each of the values was on the command line, it overrides each guess.
13856 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13857 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13858 # Update the cache value to reflect the command line values.
13859 ac_cv_have_x
="have_x=yes\
13860 ac_x_includes='$x_includes'\
13861 ac_x_libraries='$x_libraries'"
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13863 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13868 for path
in $x_libraries
13870 x_cflags
="$x_cflags -L$path"
13873 for path
in $x_includes
13875 x_cflags
="$x_cflags -I$path"
13878 if test "x-$no_x" = "x-yes" ; then
13880 if test "x-$x11_hidd" != "x-auto" ; then
13881 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13885 unixgfx_hidd_target
=kernel-x11gfx
13888 # Check whether --enable-x11_shm was given.
13889 if test "${enable_x11_shm+set}" = set; then :
13890 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13892 x11_hidd_shm
="auto"
13895 case "x-$x11_hidd_shm" in
13896 x-yes|x-no|x-auto
) ;;
13897 *) x11_hidd_shm
="auto" ;;
13902 if test "x-$x11_hidd_shm" != "x-no" ; then
13904 for ac_header
in sys
/ipc.h
13906 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13907 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13908 cat >>confdefs.h
<<_ACEOF
13909 #define HAVE_SYS_IPC_H 1
13916 for ac_header
in sys
/shm.h
13918 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13919 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13920 cat >>confdefs.h
<<_ACEOF
13921 #define HAVE_SYS_SHM_H 1
13929 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13931 save_cflags
="$CFLAGS"
13932 CFLAGS
="$CFLAGS $x_cflags"
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13934 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13935 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13936 $as_echo_n "(cached) " >&6
13938 ac_check_lib_save_LIBS
=$LIBS
13939 LIBS
="-lXext $LIBS"
13940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13941 /* end confdefs.h. */
13943 /* Override any GCC internal prototype to avoid an error.
13944 Use char because int might match the return type of a GCC
13945 builtin and then its argument prototype would still apply. */
13949 char XShmQueryExtension ();
13953 return XShmQueryExtension ();
13958 if ac_fn_c_try_link
"$LINENO"; then :
13959 ac_cv_lib_Xext_XShmQueryExtension
=yes
13961 ac_cv_lib_Xext_XShmQueryExtension
=no
13963 rm -f core conftest.err conftest.
$ac_objext \
13964 conftest
$ac_exeext conftest.
$ac_ext
13965 LIBS
=$ac_check_lib_save_LIBS
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13968 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13969 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13973 CFLAGS
="$save_cflags"
13977 if test "x-$have_xshm" = "x-yes" ; then
13978 DO_XSHM_SUPPORT
="1"
13979 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13980 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13982 DO_XSHM_SUPPORT
="0"
13986 # Check whether --enable-x11_vidmode was given.
13987 if test "${enable_x11_vidmode+set}" = set; then :
13988 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13990 x11_hidd_vidmode
="auto"
13993 case "x-$x11_hidd_vidmode" in
13994 x-yes|x-no|x-auto
) ;;
13995 *) x11_hidd_vidmode
="auto" ;;
14000 if test "x-$x11_hidd_vidmode" != "x-no" ; then
14002 save_cflags
="$CFLAGS"
14003 CFLAGS
="$CFLAGS $x_cflags"
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
14005 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
14006 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
14007 $as_echo_n "(cached) " >&6
14009 ac_check_lib_save_LIBS
=$LIBS
14010 LIBS
="-lXxf86vm $LIBS"
14011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14014 /* Override any GCC internal prototype to avoid an error.
14015 Use char because int might match the return type of a GCC
14016 builtin and then its argument prototype would still apply. */
14020 char XF86VidModeQueryExtension ();
14024 return XF86VidModeQueryExtension ();
14029 if ac_fn_c_try_link
"$LINENO"; then :
14030 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
14032 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
14034 rm -f core conftest.err conftest.
$ac_objext \
14035 conftest
$ac_exeext conftest.
$ac_ext
14036 LIBS
=$ac_check_lib_save_LIBS
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
14039 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
14040 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
14044 CFLAGS
="$save_cflags"
14047 if test "x-$have_vidmode" = "x-yes" ; then
14048 DO_VIDMODE_SUPPORT
="1"
14049 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
14050 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
14052 DO_VIDMODE_SUPPORT
="0"
14056 aros_host_x11_includes
=$x_includes
14057 aros_host_x11_libdirs
=$x_libraries
14061 # Check whether --enable-sdl_hidd was given.
14062 if test "${enable_sdl_hidd+set}" = set; then :
14063 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
14068 case "x-$sdl_hidd" in
14069 x-yes|x-no|x-auto
) ;;
14070 *) sdl_hidd
="auto" ;;
14073 if test "x-$sdl_hidd" != "x-no" ; then
14076 # Check whether --with-sdl-prefix was given.
14077 if test "${with_sdl_prefix+set}" = set; then :
14078 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
14084 # Check whether --with-sdl-exec-prefix was given.
14085 if test "${with_sdl_exec_prefix+set}" = set; then :
14086 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
14091 # Check whether --enable-sdltest was given.
14092 if test "${enable_sdltest+set}" = set; then :
14093 enableval
=$enable_sdltest;
14099 if test x
$sdl_exec_prefix != x
; then
14100 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14101 if test x
${SDL_CONFIG+set} != xset
; then
14102 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14105 if test x
$sdl_prefix != x
; then
14106 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14107 if test x
${SDL_CONFIG+set} != xset
; then
14108 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14112 as_save_PATH
="$PATH"
14113 if test "x$prefix" != xNONE
; then
14114 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14116 # Extract the first word of "sdl-config", so it can be a program name with args.
14117 set dummy sdl-config
; ac_word
=$2
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14119 $as_echo_n "checking for $ac_word... " >&6; }
14120 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14121 $as_echo_n "(cached) " >&6
14123 case $SDL_CONFIG in
14125 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14129 for as_dir
in $PATH
14132 test -z "$as_dir" && as_dir
=.
14133 for ac_exec_ext
in '' $ac_executable_extensions; do
14134 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14135 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14143 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14147 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14148 if test -n "$SDL_CONFIG"; then
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14150 $as_echo "$SDL_CONFIG" >&6; }
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14153 $as_echo "no" >&6; }
14157 PATH
="$as_save_PATH"
14158 min_sdl_version
=1.2.10
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14160 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14162 if test "$SDL_CONFIG" = "no" ; then
14165 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14166 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14168 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14169 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14170 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14171 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14172 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14173 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14174 if test "x$enable_sdltest" = "xyes" ; then
14175 ac_save_CFLAGS
="$CFLAGS"
14176 ac_save_CXXFLAGS
="$CXXFLAGS"
14177 ac_save_LIBS
="$LIBS"
14178 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14179 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14180 LIBS
="$LIBS $SDL_LIBS"
14182 if test "$cross_compiling" = yes; then :
14183 echo $ac_n "cross compiling; assumed OK... $ac_c"
14185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14186 /* end confdefs.h. */
14189 #include <stdlib.h>
14190 #include <string.h>
14194 my_strdup (char *str)
14200 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14201 strcpy (new_str, str);
14209 int main (int argc, char *argv[])
14211 int major, minor, micro;
14214 /* This hangs on some systems (?)
14215 system ("touch conf.sdltest");
14217 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14219 /* HP/UX 9 (%@#!) writes to sscanf strings */
14220 tmp_version = my_strdup("$min_sdl_version");
14221 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14222 printf("%s, bad version string\n", "$min_sdl_version");
14226 if (($sdl_major_version > major) ||
14227 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14228 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14234 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14235 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14236 printf("*** best to upgrade to the required version.\n");
14237 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14238 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14239 printf("*** config.cache before re-running configure\n");
14246 if ac_fn_c_try_run
"$LINENO"; then :
14251 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14252 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14255 CFLAGS
="$ac_save_CFLAGS"
14256 CXXFLAGS
="$ac_save_CXXFLAGS"
14257 LIBS
="$ac_save_LIBS"
14260 if test "x$no_sdl" = x
; then
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14262 $as_echo "yes" >&6; }
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14266 $as_echo "no" >&6; }
14267 if test "$SDL_CONFIG" = "no" ; then
14268 echo "*** The sdl-config script installed by SDL could not be found"
14269 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14270 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14271 echo "*** full path to sdl-config."
14273 if test -f conf.sdltest
; then
14276 echo "*** Could not run SDL test program, checking why..."
14277 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14278 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14279 LIBS
="$LIBS $SDL_LIBS"
14280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14286 int main(int argc, char *argv[])
14289 #define main K_and_R_C_main
14299 if ac_fn_c_try_link
"$LINENO"; then :
14300 echo "*** The test program compiled, but did not run. This usually means"
14301 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14302 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14303 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14304 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14305 echo "*** is required on your system"
14307 echo "*** If you have an old version installed, it is best to remove it, although"
14308 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14310 echo "*** The test program failed to compile or link. See the file config.log for the"
14311 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14312 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14313 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14315 rm -f core conftest.err conftest.
$ac_objext \
14316 conftest
$ac_exeext conftest.
$ac_ext
14317 CFLAGS
="$ac_save_CFLAGS"
14318 CXXFLAGS
="$ac_save_CXXFLAGS"
14319 LIBS
="$ac_save_LIBS"
14331 if test "x-$have_sdl" != "x-yes" ; then
14333 if test "x-$sdl_hidd" != "x-auto" ; then
14334 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14338 sdl_hidd_target
=kernel-hidd-sdl
14339 aros_host_sdl_cflags
=SDL_CFLAGS
14340 aros_host_sdl_libs
=SDL_LIBS
14344 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14345 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14350 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14351 oss_library_target
=workbench-libs-oss-unix
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14357 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14358 # Check whether --enable-dbus was given.
14359 if test "${enable_dbus+set}" = set; then :
14360 enableval
=$enable_dbus; dbus
="yes"
14365 if test "$dbus" = "yes" ; then
14367 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14368 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14369 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14370 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14375 $as_echo "$dbus" >&6; }
14377 if test "$use_kernel_cc_wrapper" = "yes" ; then
14378 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14381 if test "${crosstools}" != "yes" ; then
14382 aros_target_toolchain
=no
14384 aros_target_toolchain
=yes
14400 # Compatability with other Amiga-like operation systems
14496 # Delinting target compiler flags
14520 # Native version related
14523 # Palm native version related
14526 # Unix/Hosted version related
14532 # Apple iOS related
14537 # ARM default GCC target related
14564 # Collect-aros stuff: "-ius" to ignore undefined symbols
14567 # C compiler related
14571 #ObjC compiler related
14577 case "$aros_flavour" in
14578 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14579 aros_flavour
="emulation" ;;
14580 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14581 aros_flavour
="emulation" ;;
14582 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14583 aros_flavour
="standalone";;
14584 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14585 aros_flavour
="standalone";;
14586 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14587 aros_flavour
="native" ;;
14588 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14589 aros_flavour
="native" ;;
14590 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14591 aros_flavour
="linklib" ;;
14592 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14593 aros_flavour
="palmnative" ;;
14594 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14595 aros_flavour
="mac68knative" ;;
14596 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14597 aros_flavour
="ppcnative" ;;
14600 if test ! -d ${aros_inc_dir} ; then
14601 ${MKDIR} ${aros_inc_dir}
14603 if test ! -d ${aros_geninc_dir} ; then
14604 ${MKDIR} ${aros_geninc_dir}
14606 if test ! -d ${aros_hostcfg_dir} ; then
14607 ${MKDIR} ${aros_hostcfg_dir}
14609 if test ! -d ${aros_targetcfg_dir} ; then
14610 ${MKDIR} ${aros_targetcfg_dir}
14612 if test ! -d ${aros_tools_dir} ; then
14613 ${MKDIR} ${aros_tools_dir}
14615 if test ! -d ${aros_scripts_dir} ; then
14616 ${MKDIR} ${aros_scripts_dir}
14619 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14622 ac_config_commands
="$ac_config_commands compiler_executable"
14624 ac_config_commands
="$ac_config_commands genmf_executable"
14627 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"
14630 cat >confcache
<<\_ACEOF
14631 # This file is a shell script that caches the results of configure
14632 # tests run on this system so they can be shared between configure
14633 # scripts and configure runs, see configure's option --config-cache.
14634 # It is not useful on other systems. If it contains results you don't
14635 # want to keep, you may remove or edit it.
14637 # config.status only pays attention to the cache file if you give it
14638 # the --recheck option to rerun configure.
14640 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14641 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14642 # following values.
14646 # The following way of writing the cache mishandles newlines in values,
14647 # but we know of no workaround that is simple, portable, and efficient.
14648 # So, we kill variables containing newlines.
14649 # Ultrix sh set writes to stderr and can't be redirected directly,
14650 # and sets the high bit in the cache file unless we assign to the vars.
14652 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14653 eval ac_val
=\$
$ac_var
14657 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14658 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14661 _ | IFS | as_nl
) ;; #(
14662 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14663 *) { eval $ac_var=; unset $ac_var;} ;;
14669 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14670 *${as_nl}ac_space
=\
*)
14671 # `set' does not quote correctly, so add quotes: double-quote
14672 # substitution turns \\\\ into \\, and sed turns \\ into \.
14675 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14678 # `set' quotes correctly as required by POSIX, so do not add quotes.
14679 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14688 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14690 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14692 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14693 if test -w "$cache_file"; then
14694 if test "x$cache_file" != "x/dev/null"; then
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14696 $as_echo "$as_me: updating cache $cache_file" >&6;}
14697 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14698 cat confcache
>"$cache_file"
14700 case $cache_file in #(
14702 mv -f confcache
"$cache_file"$$
&&
14703 mv -f "$cache_file"$$
"$cache_file" ;; #(
14705 mv -f confcache
"$cache_file" ;;
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14711 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14716 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14717 # Let make expand exec_prefix.
14718 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14720 DEFS
=-DHAVE_CONFIG_H
14725 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14726 # 1. Remove the extension, and $U if already installed.
14727 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14728 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14729 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14730 # will be set to the directory where LIBOBJS objects are built.
14731 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14732 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14734 LIBOBJS
=$ac_libobjs
14736 LTLIBOBJS
=$ac_ltlibobjs
14740 : "${CONFIG_STATUS=./config.status}"
14742 ac_clean_files_save
=$ac_clean_files
14743 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14745 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14747 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14749 # Generated by $as_me.
14750 # Run this file to recreate the current configuration.
14751 # Compiler output produced by configure, useful for debugging
14752 # configure, is in config.log if it exists.
14755 ac_cs_recheck=false
14758 SHELL=\${CONFIG_SHELL-$SHELL}
14761 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14762 ## -------------------- ##
14763 ## M4sh Initialization. ##
14764 ## -------------------- ##
14766 # Be more Bourne compatible
14767 DUALCASE
=1; export DUALCASE
# for MKS sh
14768 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14771 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14772 # is contrary to our usage. Disable this feature.
14773 alias -g '${1+"$@"}'='"$@"'
14774 setopt NO_GLOB_SUBST
14776 case `(set -o) 2>/dev/null` in #(
14788 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14789 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14790 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14791 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14792 # Prefer a ksh shell builtin over an external printf program on Solaris,
14793 # but without wasting forks for bash or zsh.
14794 if test -z "$BASH_VERSION$ZSH_VERSION" \
14795 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14796 as_echo='print
-r --'
14797 as_echo_n='print
-rn --'
14798 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14799 as_echo='printf %s
\n'
14800 as_echo_n='printf %s
'
14802 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14803 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14804 as_echo_n='/usr
/ucb
/echo -n'
14806 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14807 as_echo_n_body='eval
14811 expr "X$arg" : "X\\(.*\\)$as_nl";
14812 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14814 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14816 export as_echo_n_body
14817 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14819 export as_echo_body
14820 as_echo='sh
-c $as_echo_body as_echo
'
14823 # The user is always right.
14824 if test "${PATH_SEPARATOR+set}" != set; then
14826 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14827 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14834 # We need space, tab and new line, in precisely that order. Quoting is
14835 # there to prevent editors from complaining about space-tab.
14836 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14837 # splitting by setting IFS to empty value.)
14840 # Find who we are. Look in the path if we contain no directory separator.
14843 *[\\/]* ) as_myself=$0 ;;
14844 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14845 for as_dir in $PATH
14848 test -z "$as_dir" && as_dir=.
14849 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14855 # We did not find ourselves, most probably we were run as `sh COMMAND'
14856 # in which case we are not to be found in the path.
14857 if test "x$as_myself" = x
; then
14860 if test ! -f "$as_myself"; then
14861 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14865 # Unset variables that we do not need and which cause bugs (e.g. in
14866 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14867 # suppresses any "Segmentation fault" message there. '((' could
14868 # trigger a bug in pdksh 5.2.14.
14869 for as_var
in BASH_ENV ENV MAIL MAILPATH
14870 do eval test x\
${$as_var+set} = xset \
14871 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14884 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14887 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14888 # ----------------------------------------
14889 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14890 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14891 # script with STATUS, using 1 if that was 0.
14894 as_status
=$1; test $as_status -eq 0 && as_status
=1
14896 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14897 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14899 $as_echo "$as_me: error: $2" >&2
14900 as_fn_exit
$as_status
14904 # as_fn_set_status STATUS
14905 # -----------------------
14906 # Set $? to STATUS, without forking.
14907 as_fn_set_status
()
14910 } # as_fn_set_status
14912 # as_fn_exit STATUS
14913 # -----------------
14914 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14918 as_fn_set_status
$1
14924 # Portably unset VAR.
14927 { eval $1=; unset $1;}
14929 as_unset
=as_fn_unset
14930 # as_fn_append VAR VALUE
14931 # ----------------------
14932 # Append the text in VALUE to the end of the definition contained in VAR. Take
14933 # advantage of any shell optimizations that allow amortized linear growth over
14934 # repeated appends, instead of the typical quadratic growth present in naive
14936 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14937 eval 'as_fn_append ()
14948 # as_fn_arith ARG...
14949 # ------------------
14950 # Perform arithmetic evaluation on the ARGs, and store the result in the
14951 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14952 # must be portable across $(()) and expr.
14953 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14954 eval 'as_fn_arith ()
14961 as_val
=`expr "$@" || test $? -eq 1`
14966 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14967 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14973 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14974 as_basename
=basename
14979 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14985 as_me
=`$as_basename -- "$0" ||
14986 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14987 X"$0" : 'X\(//\)$' \| \
14988 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14990 sed '/^.*\/\([^/][^/]*\)\/*$/{
15004 # Avoid depending upon Character Ranges.
15005 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15006 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15007 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15008 as_cr_digits
='0123456789'
15009 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15011 ECHO_C
= ECHO_N
= ECHO_T
=
15012 case `echo -n x` in #(((((
15014 case `echo 'xy\c'` in
15015 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15017 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15024 rm -f conf$$ conf$$.exe conf$$.
file
15025 if test -d conf$$.dir
; then
15026 rm -f conf$$.dir
/conf$$.
file
15029 mkdir conf$$.dir
2>/dev
/null
15031 if (echo >conf$$.
file) 2>/dev
/null
; then
15032 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15034 # ... but there are two gotchas:
15035 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15036 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15037 # In both cases, we have to default to `cp -pR'.
15038 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15040 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15048 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15049 rmdir conf$$.dir
2>/dev
/null
15054 # Create "$as_dir" as a directory, including parents if necessary.
15059 -*) as_dir
=.
/$as_dir;;
15061 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15065 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15066 *) as_qdir
=$as_dir;;
15068 as_dirs
="'$as_qdir' $as_dirs"
15069 as_dir
=`$as_dirname -- "$as_dir" ||
15070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15071 X"$as_dir" : 'X\(//\)[^/]' \| \
15072 X"$as_dir" : 'X\(//\)$' \| \
15073 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15074 $as_echo X"$as_dir" |
15075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15079 /^X\(\/\/\)[^/].*/{
15092 test -d "$as_dir" && break
15094 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15095 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15099 if mkdir
-p .
2>/dev
/null
; then
15100 as_mkdir_p
='mkdir -p "$as_dir"'
15102 test -d .
/-p && rmdir .
/-p
15107 # as_fn_executable_p FILE
15108 # -----------------------
15109 # Test if FILE is an executable regular file.
15110 as_fn_executable_p
()
15112 test -f "$1" && test -x "$1"
15113 } # as_fn_executable_p
15114 as_test_x
='test -x'
15115 as_executable_p
=as_fn_executable_p
15117 # Sed expression to map a string onto a valid CPP name.
15118 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15120 # Sed expression to map a string onto a valid variable name.
15121 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15125 ## ----------------------------------- ##
15126 ## Main body of $CONFIG_STATUS script. ##
15127 ## ----------------------------------- ##
15129 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15132 # Save the log message, to keep $0 and so on meaningful, and to
15133 # report actual input values of CONFIG_FILES etc. instead of their
15134 # values after options handling.
15136 This file was extended by $as_me, which was
15137 generated by GNU Autoconf 2.69. Invocation command line was
15139 CONFIG_FILES = $CONFIG_FILES
15140 CONFIG_HEADERS = $CONFIG_HEADERS
15141 CONFIG_LINKS = $CONFIG_LINKS
15142 CONFIG_COMMANDS = $CONFIG_COMMANDS
15145 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15150 case $ac_config_files in *"
15151 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15154 case $ac_config_headers in *"
15155 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15160 # Files that config.status was made for.
15161 config_files="$ac_config_files"
15162 config_headers="$ac_config_headers"
15163 config_commands="$ac_config_commands"
15167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15169 \`$as_me' instantiates files and other configuration actions
15170 from templates according to the current configuration. Unless the files
15171 and actions are specified as TAGs, all are instantiated by default.
15173 Usage: $0 [OPTION]... [TAG]...
15175 -h, --help print this help, then exit
15176 -V, --version print version number and configuration settings, then exit
15177 --config print configuration, then exit
15178 -q, --quiet, --silent
15179 do not print progress messages
15180 -d, --debug don't remove temporary files
15181 --recheck update $as_me by reconfiguring in the same conditions
15182 --file=FILE[:TEMPLATE]
15183 instantiate the configuration file FILE
15184 --header=FILE[:TEMPLATE]
15185 instantiate the configuration header FILE
15187 Configuration files:
15190 Configuration headers:
15193 Configuration commands:
15196 Report bugs to the package provider."
15199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15200 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15203 configured by $0, generated by GNU Autoconf 2.69,
15204 with options \\"\$ac_cs_config\\"
15206 Copyright (C) 2012 Free Software Foundation, Inc.
15207 This config.status script is free software; the Free Software Foundation
15208 gives unlimited permission to copy, distribute and modify it."
15212 test -n "\$AWK" || AWK=awk
15215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15216 # The default lists apply if the user does not specify any file.
15222 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15223 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15227 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15239 # Handling of the options.
15240 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15242 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15243 $as_echo "$ac_cs_version"; exit ;;
15244 --config |
--confi |
--conf |
--con |
--co |
--c )
15245 $as_echo "$ac_cs_config"; exit ;;
15246 --debug |
--debu |
--deb |
--de |
--d |
-d )
15248 --file |
--fil |
--fi |
--f )
15251 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15252 '') as_fn_error $?
"missing file argument" ;;
15254 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15255 ac_need_defaults
=false
;;
15256 --header |
--heade |
--head |
--hea )
15259 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15261 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15262 ac_need_defaults
=false
;;
15264 # Conflict between --help and --header
15265 as_fn_error $?
"ambiguous option: \`$1'
15266 Try \`$0 --help' for more information.";;
15267 --help |
--hel |
-h )
15268 $as_echo "$ac_cs_usage"; exit ;;
15269 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15270 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15273 # This is an error.
15274 -*) as_fn_error $?
"unrecognized option: \`$1'
15275 Try \`$0 --help' for more information." ;;
15277 *) as_fn_append ac_config_targets
" $1"
15278 ac_need_defaults
=false
;;
15284 ac_configure_extra_args
=
15286 if $ac_cs_silent; then
15288 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15293 if \$ac_cs_recheck; then
15294 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15296 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15297 CONFIG_SHELL='$SHELL'
15298 export CONFIG_SHELL
15303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15307 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15308 ## Running $as_me. ##
15314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15319 aros_host_exe_suffix=${aros_host_exe_suffix}
15320 aros_tools_dir=${aros_tools_dir}
15321 aros_target_cpu=${aros_target_cpu}
15322 aros_target_arch=${aros_target_arch}
15323 aros_target_suffix=${aros_target_suffix}
15324 orig_target_nm=${orig_target_nm}
15325 orig_target_as=${orig_target_as}
15326 orig_target_ar=${orig_target_ar}
15327 orig_target_ranlib=${orig_target_ranlib}
15328 orig_target_objdump=${orig_target_objdump}
15329 orig_target_objcopy=${orig_target_objcopy}
15330 orig_target_strip=${orig_target_strip}
15331 aros_kernel_ld=${aros_kernel_ld}
15334 aros_tools_dir=${aros_tools_dir}
15339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15341 # Handling of arguments.
15342 for ac_config_target
in $ac_config_targets
15344 case $ac_config_target in
15345 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15346 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15347 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15348 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15349 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15350 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15351 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15352 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15353 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15354 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15355 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15356 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15357 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15358 "${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" ;;
15359 "${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" ;;
15360 "${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" ;;
15361 "${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" ;;
15362 "${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" ;;
15363 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15364 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15365 "${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" ;;
15367 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15372 # If the user did not use the arguments to specify the items to instantiate,
15373 # then the envvar interface is used. Set only those that are not.
15374 # We use the long form for the default assignment because of an extremely
15375 # bizarre bug on SunOS 4.1.3.
15376 if $ac_need_defaults; then
15377 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15378 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15379 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15382 # Have a temporary directory for convenience. Make it in the build tree
15383 # simply because there is no reason against having it here, and in addition,
15384 # creating and moving files from /tmp can sometimes cause problems.
15385 # Hook for its removal unless debugging.
15386 # Note that there is a small window in which the directory will not be cleaned:
15387 # after its creation but before its name has been assigned to `$tmp'.
15391 trap 'exit_status=$?
15392 : "${ac_tmp:=$tmp}"
15393 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15395 trap 'as_fn_exit 1' 1 2 13 15
15397 # Create a (secure) tmp directory for tmp files.
15400 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15404 tmp
=.
/conf$$
-$RANDOM
15405 (umask 077 && mkdir
"$tmp")
15406 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15409 # Set up the scripts for CONFIG_FILES section.
15410 # No need to generate them if there are no CONFIG_FILES.
15411 # This happens for instance with `./config.status config.h'.
15412 if test -n "$CONFIG_FILES"; then
15415 ac_cr
=`echo X | tr X '\015'`
15416 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15417 # But we know of no other shell where ac_cr would be empty at this
15418 # point, so we can use a bashism as a fallback.
15419 if test "x$ac_cr" = x
; then
15420 eval ac_cr
=\$
\'\\r
\'
15422 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15423 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15426 ac_cs_awk_cr
=$ac_cr
15429 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15434 echo "cat >conf$$subs.awk <<_ACEOF" &&
15435 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15437 } >conf$$subs.sh ||
15438 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15439 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15441 for ac_last_try in false false false false false :; do
15442 . ./conf$$subs.sh ||
15443 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15445 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15446 if test $ac_delim_n = $ac_delim_num; then
15448 elif $ac_last_try; then
15449 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15451 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15454 rm -f conf$$subs.sh
15456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15457 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15461 s/^/S["/; s
/!.
*/"]=/
15471 s/\(.\{148\}\)..*/\1/
15473 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15478 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15485 s/\(.\{148\}\)..*/\1/
15487 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15491 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15496 ' <conf$$subs.awk | sed '
15501 ' >>$CONFIG_STATUS || ac_write_fail=1
15502 rm -f conf$$subs.awk
15503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15505 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15506 for (key in S) S_is_set[key] = 1
15512 nfields = split(line, field, "@
")
15514 len = length(field[1])
15515 for (i = 2; i < nfields; i++) {
15517 keylen = length(key)
15518 if (S_is_set[key]) {
15520 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15521 len += length(value) + length(field[++i])
15532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15533 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15534 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15537 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15538 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15541 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15542 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15543 # trailing colons and then remove the whole line if VPATH becomes empty
15544 # (actually we leave an empty line to preserve line numbers).
15545 if test "x
$srcdir" = x.; then
15546 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15565 fi # test -n "$CONFIG_FILES"
15567 # Set up the scripts for CONFIG_HEADERS section.
15568 # No need to generate them if there are no CONFIG_HEADERS.
15569 # This happens for instance with `./config.status Makefile'.
15570 if test -n "$CONFIG_HEADERS"; then
15571 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15575 # Transform confdefs.h into an awk script `defines.awk', embedded as
15576 # here-document in config.status, that substitutes the proper values into
15577 # config.h.in to produce config.h.
15579 # Create a delimiter string that does not exist in confdefs.h, to ease
15580 # handling of long lines.
15582 for ac_last_try in false false :; do
15583 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15584 if test -z "$ac_tt"; then
15586 elif $ac_last_try; then
15587 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15589 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15593 # For the awk script, D is an array of macro values keyed by name,
15594 # likewise P contains macro parameters if any. Preserve backslash
15595 # newline sequences.
15597 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15599 s/.\{148\}/&'"$ac_delim"'/g
15602 s/^[ ]*#[ ]*define[ ][ ]*/ /
15609 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15611 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15615 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15616 D["\
1"]=" \
3\\\\\\n
"\\/p
15618 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15623 s/.\{148\}/&'"$ac_delim"'/g
15628 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15631 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15633 ' <confdefs.h | sed '
15634 s/'"$ac_delim"'/"\\\
15635 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15638 for (key in D) D_is_set[key] = 1
15641 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15643 split(line, arg, " ")
15644 if (arg[1] == "#") {
15648 defundef
= substr
(arg
[1], 2)
15651 split(mac1
, mac2
, "(") #)
15653 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15654 if (D_is_set
[macro
]) {
15655 # Preserve the white space surrounding the "#".
15656 print prefix
"define", macro P
[macro
] D
[macro
]
15659 # Replace #undef with comments. This is necessary, for example,
15660 # in the case of _POSIX_SOURCE, which is predefined and required
15661 # on some systems where configure will not decide to define it.
15662 if (defundef
== "undef") {
15663 print
"/*", prefix defundef
, macro
, "*/"
15671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15672 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15673 fi # test -n "$CONFIG_HEADERS"
15676 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15681 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15683 case $ac_mode$ac_tag in
15685 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15686 :[FH
]-) ac_tag
=-:-;;
15687 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15704 -) ac_f
="$ac_tmp/stdin";;
15705 *) # Look for the file first in the build tree, then in the source tree
15706 # (if the path is not absolute). The absolute path cannot be DOS-style,
15707 # because $ac_f cannot contain `:'.
15711 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15713 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15715 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15716 as_fn_append ac_file_inputs
" '$ac_f'"
15719 # Let's still pretend it is `configure' which instantiates (i.e., don't
15720 # use $as_me), people would be surprised to read:
15721 # /* config.h. Generated by config.status. */
15722 configure_input
='Generated from '`
15723 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15725 if test x
"$ac_file" != x-
; then
15726 configure_input
="$ac_file. $configure_input"
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15728 $as_echo "$as_me: creating $ac_file" >&6;}
15730 # Neutralize special characters interpreted by sed in replacement strings.
15731 case $configure_input in #(
15732 *\
&* |
*\|
* |
*\\* )
15733 ac_sed_conf_input
=`$as_echo "$configure_input" |
15734 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15735 *) ac_sed_conf_input
=$configure_input;;
15739 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15740 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15745 ac_dir
=`$as_dirname -- "$ac_file" ||
15746 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15747 X"$ac_file" : 'X\(//\)[^/]' \| \
15748 X"$ac_file" : 'X\(//\)$' \| \
15749 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15750 $as_echo X"$ac_file" |
15751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15755 /^X\(\/\/\)[^/].*/{
15768 as_dir
="$ac_dir"; as_fn_mkdir_p
15772 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15774 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15775 # A ".." for each directory in $ac_dir_suffix.
15776 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15777 case $ac_top_builddir_sub in
15778 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15779 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15782 ac_abs_top_builddir
=$ac_pwd
15783 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15784 # for backward compatibility:
15785 ac_top_builddir
=$ac_top_build_prefix
15788 .
) # We are building in place.
15790 ac_top_srcdir
=$ac_top_builddir_sub
15791 ac_abs_top_srcdir
=$ac_pwd ;;
15792 [\\/]* | ?
:[\\/]* ) # Absolute name.
15793 ac_srcdir
=$srcdir$ac_dir_suffix;
15794 ac_top_srcdir
=$srcdir
15795 ac_abs_top_srcdir
=$srcdir ;;
15796 *) # Relative name.
15797 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15798 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15799 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15801 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15813 # If the template does not know about datarootdir, expand it.
15814 # FIXME: This hack should be removed a few years after 2.60.
15815 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15826 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15827 *datarootdir
*) ac_datarootdir_seen
=yes;;
15828 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15830 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15833 ac_datarootdir_hack='
15834 s&@datadir@&$datadir&g
15835 s&@docdir@&$docdir&g
15836 s&@infodir@&$infodir&g
15837 s&@localedir@&$localedir&g
15838 s&@mandir@&$mandir&g
15839 s&\\\${datarootdir}&$datarootdir&g' ;;
15843 # Neutralize VPATH when `$srcdir' = `.'.
15844 # Shell code in configure.ac might set extrasub.
15845 # FIXME: do we really want to maintain this feature?
15846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15847 ac_sed_extra="$ac_vpsub
15850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15852 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15853 s|@configure_input@|
$ac_sed_conf_input|
;t t
15854 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15855 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15856 s
&@srcdir@
&$ac_srcdir&;t t
15857 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15858 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15859 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15860 s
&@builddir@
&$ac_builddir&;t t
15861 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15862 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15863 $ac_datarootdir_hack
15865 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15866 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15868 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15869 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15870 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15871 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15873 which seems to be undefined. Please make sure it is defined" >&5
15874 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15875 which seems to be undefined. Please make sure it is defined" >&2;}
15877 rm -f "$ac_tmp/stdin"
15879 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15880 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15882 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15888 if test x"$ac_file" != x-; then
15890 $as_echo "/* $configure_input */" \
15891 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15892 } >"$ac_tmp/config.h" \
15893 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15894 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15896 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15899 mv "$ac_tmp/config.h" "$ac_file" \
15900 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15903 $as_echo "/* $configure_input */" \
15904 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15905 || as_fn_error $? "could not create -" "$LINENO" 5
15909 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15910 $as_echo "$as_me: executing $ac_file commands" >&6;}
15915 case $ac_file$ac_mode in
15916 "compiler_executable":C)
15917 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15919 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15920 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15924 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15926 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15927 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15928 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15929 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15930 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15931 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15932 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15934 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15936 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15944 ac_clean_files=$ac_clean_files_save
15946 test $ac_write_fail = 0 ||
15947 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15950 # configure is writing to config.log, and then calls config.status.
15951 # config.status does its own redirection, appending to config.log.
15952 # Unfortunately, on DOS this fails, as config.log is still kept open
15953 # by configure, so config.status won't be able to
write to it
; its
15954 # output is simply discarded. So we exec the FD to /dev/null,
15955 # effectively closing config.log, so it can be properly (re)opened and
15956 # appended to by config.status. When coming back to configure, we
15957 # need to make the FD available again.
15958 if test "$no_create" != yes; then
15960 ac_config_status_args
=
15961 test "$silent" = yes &&
15962 ac_config_status_args
="$ac_config_status_args --quiet"
15964 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15966 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15967 # would make configure fail if this is the last instruction.
15968 $ac_cs_success || as_fn_exit
1
15970 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15972 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15977 #XXX compatability...
15978 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15980 if test -n "$aros_shared_cflags" ; then
15981 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15982 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg