2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="mmakefile"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
623 ac_subst_vars
='LTLIBOBJS
627 target_binutils_version
629 ignore_undefined_symbols
642 gcc_default_float_abi
650 aros_nesting_supervisor
655 aros_host_x11_libdirs
656 aros_host_x11_includes
660 aros_default_wbheight
666 aros_cflags_format_security
667 aros_cflags_strict_overflow
668 aros_cflags_enum_compare
669 aros_cflags_array_bounds
670 aros_cflags_unused_but_set_variable
671 crosstools_cxx_target
674 aros_optimization_cflags
675 aros_target_strip_flags
682 aros_kernel_objcflags
703 aros_target_cc_includes
718 aros_target_bootloader
738 aros_amigaos_compliance
744 aros_target_toolchain
753 aros_cflags_iquote_end
755 kernel_cflags_iquote_end
757 host_cflags_iquote_end
759 aros_target_nostdlib_ldflags
760 aros_target_detach_ldflags
761 aros_target_nix_ldflags
762 aros_target_nostartup_ldflags
763 aros_target_nostdinc_cflags
881 program_transform_name
894 enable_option_checking
899 with_kernel_gcc_version
902 enable_target_variant
909 enable_amigaos_compliance
910 with_kernel_toolchain_prefix
911 with_elf_toolchain_prefix
914 with_aros_toolchain_install
928 enable_palm_debug_hack
930 enable_nesting_supervisor
942 ac_precious_vars
='build_alias
958 # Initialize some variables set by options.
960 ac_init_version
=false
961 ac_unrecognized_opts
=
963 # The variables have the same names as the options, with
964 # dashes changed to underlines.
972 program_transform_name
=s
,x
,x
,
980 # Installation directory options.
981 # These are left unexpanded so users can "make install exec_prefix=/foo"
982 # and all the variables that are supposed to be based on exec_prefix
983 # by default will actually change.
984 # Use braces instead of parens because sh, perl, etc. also accept them.
985 # (The list follows the same order as the GNU Coding Standards.)
986 bindir
='${exec_prefix}/bin'
987 sbindir
='${exec_prefix}/sbin'
988 libexecdir
='${exec_prefix}/libexec'
989 datarootdir
='${prefix}/share'
990 datadir
='${datarootdir}'
991 sysconfdir
='${prefix}/etc'
992 sharedstatedir
='${prefix}/com'
993 localstatedir
='${prefix}/var'
994 includedir
='${prefix}/include'
995 oldincludedir
='/usr/include'
996 docdir
='${datarootdir}/doc/${PACKAGE}'
997 infodir
='${datarootdir}/info'
1002 libdir
='${exec_prefix}/lib'
1003 localedir
='${datarootdir}/locale'
1004 mandir
='${datarootdir}/man'
1010 # If the previous option needs an argument, assign it.
1011 if test -n "$ac_prev"; then
1012 eval $ac_prev=\
$ac_option
1018 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1023 # Accept the important Cygnus configure options, so we can diagnose typos.
1025 case $ac_dashdash$ac_option in
1029 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1031 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1032 bindir
=$ac_optarg ;;
1034 -build |
--build |
--buil |
--bui |
--bu)
1035 ac_prev
=build_alias
;;
1036 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1037 build_alias
=$ac_optarg ;;
1039 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1040 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1041 ac_prev
=cache_file
;;
1042 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1043 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1044 cache_file
=$ac_optarg ;;
1046 --config-cache |
-C)
1047 cache_file
=config.cache
;;
1049 -datadir |
--datadir |
--datadi |
--datad)
1051 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1052 datadir
=$ac_optarg ;;
1054 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1055 |
--dataroo |
--dataro |
--datar)
1056 ac_prev
=datarootdir
;;
1057 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1058 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1059 datarootdir
=$ac_optarg ;;
1061 -disable-* |
--disable-*)
1062 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1065 as_fn_error $?
"invalid feature name: $ac_useropt"
1066 ac_useropt_orig
=$ac_useropt
1067 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068 case $ac_user_opts in
1070 "enable_
$ac_useropt"
1072 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1073 ac_unrecognized_sep
=', ';;
1075 eval enable_
$ac_useropt=no
;;
1077 -docdir |
--docdir |
--docdi |
--doc |
--do)
1079 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1080 docdir
=$ac_optarg ;;
1082 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1084 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1085 dvidir
=$ac_optarg ;;
1087 -enable-* |
--enable-*)
1088 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1089 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1091 as_fn_error $?
"invalid feature name: $ac_useropt"
1092 ac_useropt_orig
=$ac_useropt
1093 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1096 "enable_
$ac_useropt"
1098 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1099 ac_unrecognized_sep
=', ';;
1101 eval enable_
$ac_useropt=\
$ac_optarg ;;
1103 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1104 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1105 |
--exec |
--exe |
--ex)
1106 ac_prev
=exec_prefix
;;
1107 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1108 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1109 |
--exec=* |
--exe=* |
--ex=*)
1110 exec_prefix
=$ac_optarg ;;
1112 -gas |
--gas |
--ga |
--g)
1113 # Obsolete; use --with-gas.
1116 -help |
--help |
--hel |
--he |
-h)
1117 ac_init_help
=long
;;
1118 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1119 ac_init_help
=recursive
;;
1120 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1121 ac_init_help
=short
;;
1123 -host |
--host |
--hos |
--ho)
1124 ac_prev
=host_alias
;;
1125 -host=* |
--host=* |
--hos=* |
--ho=*)
1126 host_alias
=$ac_optarg ;;
1128 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1130 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1132 htmldir
=$ac_optarg ;;
1134 -includedir |
--includedir |
--includedi |
--included |
--include \
1135 |
--includ |
--inclu |
--incl |
--inc)
1136 ac_prev
=includedir
;;
1137 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1138 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1139 includedir
=$ac_optarg ;;
1141 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1143 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1144 infodir
=$ac_optarg ;;
1146 -libdir |
--libdir |
--libdi |
--libd)
1148 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1149 libdir
=$ac_optarg ;;
1151 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1152 |
--libexe |
--libex |
--libe)
1153 ac_prev
=libexecdir
;;
1154 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1155 |
--libexe=* |
--libex=* |
--libe=*)
1156 libexecdir
=$ac_optarg ;;
1158 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1159 ac_prev
=localedir
;;
1160 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1161 localedir
=$ac_optarg ;;
1163 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1164 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1165 ac_prev
=localstatedir
;;
1166 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1167 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1168 localstatedir
=$ac_optarg ;;
1170 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1172 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1173 mandir
=$ac_optarg ;;
1175 -nfp |
--nfp |
--nf)
1176 # Obsolete; use --without-fp.
1179 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1180 |
--no-cr |
--no-c |
-n)
1183 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1184 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1187 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1188 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1189 |
--oldin |
--oldi |
--old |
--ol |
--o)
1190 ac_prev
=oldincludedir
;;
1191 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1192 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1193 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1194 oldincludedir
=$ac_optarg ;;
1196 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1198 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1199 prefix
=$ac_optarg ;;
1201 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1202 |
--program-pre |
--program-pr |
--program-p)
1203 ac_prev
=program_prefix
;;
1204 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1205 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1206 program_prefix
=$ac_optarg ;;
1208 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1209 |
--program-suf |
--program-su |
--program-s)
1210 ac_prev
=program_suffix
;;
1211 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1212 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1213 program_suffix
=$ac_optarg ;;
1215 -program-transform-name |
--program-transform-name \
1216 |
--program-transform-nam |
--program-transform-na \
1217 |
--program-transform-n |
--program-transform- \
1218 |
--program-transform |
--program-transfor \
1219 |
--program-transfo |
--program-transf \
1220 |
--program-trans |
--program-tran \
1221 |
--progr-tra |
--program-tr |
--program-t)
1222 ac_prev
=program_transform_name
;;
1223 -program-transform-name=* |
--program-transform-name=* \
1224 |
--program-transform-nam=* |
--program-transform-na=* \
1225 |
--program-transform-n=* |
--program-transform-=* \
1226 |
--program-transform=* |
--program-transfor=* \
1227 |
--program-transfo=* |
--program-transf=* \
1228 |
--program-trans=* |
--program-tran=* \
1229 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1230 program_transform_name
=$ac_optarg ;;
1232 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1234 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1235 pdfdir
=$ac_optarg ;;
1237 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1239 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1242 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1243 |
-silent |
--silent |
--silen |
--sile |
--sil)
1246 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1248 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1250 sbindir
=$ac_optarg ;;
1252 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1253 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1254 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1256 ac_prev
=sharedstatedir
;;
1257 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1258 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1259 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1261 sharedstatedir
=$ac_optarg ;;
1263 -site |
--site |
--sit)
1265 -site=* |
--site=* |
--sit=*)
1268 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1270 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1271 srcdir
=$ac_optarg ;;
1273 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1274 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1275 ac_prev
=sysconfdir
;;
1276 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1277 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1278 sysconfdir
=$ac_optarg ;;
1280 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1281 ac_prev
=target_alias
;;
1282 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1283 target_alias
=$ac_optarg ;;
1285 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1288 -version |
--version |
--versio |
--versi |
--vers |
-V)
1289 ac_init_version
=: ;;
1292 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1293 # Reject names that are not valid shell variable names.
1294 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1295 as_fn_error $?
"invalid package name: $ac_useropt"
1296 ac_useropt_orig
=$ac_useropt
1297 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1298 case $ac_user_opts in
1302 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1303 ac_unrecognized_sep
=', ';;
1305 eval with_
$ac_useropt=\
$ac_optarg ;;
1307 -without-* |
--without-*)
1308 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1309 # Reject names that are not valid shell variable names.
1310 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1311 as_fn_error $?
"invalid package name: $ac_useropt"
1312 ac_useropt_orig
=$ac_useropt
1313 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1314 case $ac_user_opts in
1318 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1319 ac_unrecognized_sep
=', ';;
1321 eval with_
$ac_useropt=no
;;
1324 # Obsolete; use --with-x.
1327 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1328 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1329 ac_prev
=x_includes
;;
1330 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1331 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1332 x_includes
=$ac_optarg ;;
1334 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1335 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1336 ac_prev
=x_libraries
;;
1337 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1338 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1339 x_libraries
=$ac_optarg ;;
1341 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1342 Try \`$0 --help' for more information"
1346 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1347 # Reject names that are not valid shell variable names.
1348 case $ac_envvar in #(
1349 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1350 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1352 eval $ac_envvar=\
$ac_optarg
1353 export $ac_envvar ;;
1356 # FIXME: should be removed in autoconf 3.0.
1357 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1358 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1359 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1360 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1366 if test -n "$ac_prev"; then
1367 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1368 as_fn_error $?
"missing argument to $ac_option"
1371 if test -n "$ac_unrecognized_opts"; then
1372 case $enable_option_checking in
1374 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1375 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1379 # Check all directory arguments for consistency.
1380 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1381 datadir sysconfdir sharedstatedir localstatedir includedir \
1382 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1383 libdir localedir mandir
1385 eval ac_val
=\$
$ac_var
1386 # Remove trailing slashes.
1389 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1390 eval $ac_var=\
$ac_val;;
1392 # Be sure to have absolute directory names.
1394 [\\/$
]* | ?
:[\\/]* ) continue;;
1395 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1397 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1400 # There might be people who depend on the old broken behavior: `$host'
1401 # used to hold the argument of --host etc.
1402 # FIXME: To remove some day.
1405 target
=$target_alias
1407 # FIXME: To remove some day.
1408 if test "x$host_alias" != x
; then
1409 if test "x$build_alias" = x
; then
1410 cross_compiling
=maybe
1411 elif test "x$build_alias" != "x$host_alias"; then
1417 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1419 test "$silent" = yes && exec 6>/dev
/null
1422 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1423 ac_ls_di
=`ls -di .` &&
1424 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1425 as_fn_error $?
"working directory cannot be determined"
1426 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1427 as_fn_error $?
"pwd does not report name of working directory"
1430 # Find the source files, if location was not specified.
1431 if test -z "$srcdir"; then
1432 ac_srcdir_defaulted
=yes
1433 # Try the directory containing this script, then the parent directory.
1434 ac_confdir
=`$as_dirname -- "$as_myself" ||
1435 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1436 X"$as_myself" : 'X\(//\)[^/]' \| \
1437 X"$as_myself" : 'X\(//\)$' \| \
1438 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1439 $as_echo X"$as_myself" |
1440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1458 if test ! -r "$srcdir/$ac_unique_file"; then
1462 ac_srcdir_defaulted
=no
1464 if test ! -r "$srcdir/$ac_unique_file"; then
1465 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1466 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1468 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1470 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1472 # When building in place, set srcdir=.
1473 if test "$ac_abs_confdir" = "$ac_pwd"; then
1476 # Remove unnecessary trailing slashes from srcdir.
1477 # Double slashes in file names in object file debugging info
1478 # mess up M-x gdb in Emacs.
1480 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1482 for ac_var
in $ac_precious_vars; do
1483 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1484 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1485 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1486 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1490 # Report the --help message.
1492 if test "$ac_init_help" = "long"; then
1493 # Omit some internal or obsolete options to make the list less imposing.
1494 # This message is too long to be a string in the A/UX 3.1 sh.
1496 \`configure' configures this package to adapt to many kinds of systems.
1498 Usage: $0 [OPTION]... [VAR=VALUE]...
1500 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1501 VAR=VALUE. See below for descriptions of some of the useful variables.
1503 Defaults for the options are specified in brackets.
1506 -h, --help display this help and exit
1507 --help=short display options specific to this package
1508 --help=recursive display the short help of all the included packages
1509 -V, --version display version information and exit
1510 -q, --quiet, --silent do not print \`checking ...' messages
1511 --cache-file=FILE cache test results in FILE [disabled]
1512 -C, --config-cache alias for \`--cache-file=config.cache'
1513 -n, --no-create do not create output files
1514 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1516 Installation directories:
1517 --prefix=PREFIX install architecture-independent files in PREFIX
1518 [$ac_default_prefix]
1519 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1522 By default, \`make install' will install all the files in
1523 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1524 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1525 for instance \`--prefix=\$HOME'.
1527 For better control, use the options below.
1529 Fine tuning of the installation directories:
1530 --bindir=DIR user executables [EPREFIX/bin]
1531 --sbindir=DIR system admin executables [EPREFIX/sbin]
1532 --libexecdir=DIR program executables [EPREFIX/libexec]
1533 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1534 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1535 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1536 --libdir=DIR object code libraries [EPREFIX/lib]
1537 --includedir=DIR C header files [PREFIX/include]
1538 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1539 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1540 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1541 --infodir=DIR info documentation [DATAROOTDIR/info]
1542 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1543 --mandir=DIR man documentation [DATAROOTDIR/man]
1544 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1545 --htmldir=DIR html documentation [DOCDIR]
1546 --dvidir=DIR dvi documentation [DOCDIR]
1547 --pdfdir=DIR pdf documentation [DOCDIR]
1548 --psdir=DIR ps documentation [DOCDIR]
1554 --x-includes=DIR X include files are
in DIR
1555 --x-libraries=DIR X library files are
in DIR
1558 --build=BUILD configure
for building on BUILD
[guessed
]
1559 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1563 if test -n "$ac_init_help"; then
1568 --disable-option-checking ignore unrecognized
--enable/--with options
1569 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1570 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1571 --enable-build-type=TYPE
1572 Select the build
type. Available types are
:
1573 personal
, nightly
, snapshot
, milestone
, release. Do
1574 NOT use this option unless you know what you are
1575 doing
! (default
=personal
)
1576 --enable-debug=list Enable different types of debug. Commas or
1577 whitespaces can be used to separate the items
in the
1578 list. Available types of debug are
: all
, none
,
1579 messages
, stack
, mungwall
, modules
, symbols. If no
1580 list is provided
then "all" is assumed.
1582 --enable-distcc Use distcc as a front end to the compiler
1584 --enable-ccache Use ccache as a front end to the compiler
1586 --enable-target-variant=NAME
1587 Enable a specific target variant
(default
=none
)
1588 --enable-amigaos-compliance=VERSION
1589 Enforce userspace AmigaOS compliance to a specific
1590 KickStart version
(default
=none
).
1591 --disable-crosstools Do not build cross-compiler toolchain
1592 --enable-objc Enable Objectve-C support
(default
=yes)
1593 --enable-java Enable Java support
(default
=no
)
1594 --enable-includes=dir Alternative system include directory
1595 --enable-palm-debug-hack
1596 Enable palm debug output hack
in palm native
1598 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1599 --enable-nesting-supervisor
1600 Enable nesting supervisor support
in unix
1602 --disable-mmu Disable MMU support
(default
=enabled
)
1603 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1604 --enable-x11-shm use X11 shared memory
(default
=auto
)
1605 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1606 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1607 --disable-sdltest Do not try to compile and run a
test SDL program
1608 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1611 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1612 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1613 --with-kernel-gcc-version=VERSION
1614 Use gcc-VERSION
for building bootstrap
1615 --with-optimization=FLAGS
1616 Use optimization flags FLAGS
(default
=-O2).
1617 --with-paranoia=FLAGS CC flags to
enable paranoia
1618 --with-xcode=PATH Specify XCode path
for iOS targets
1619 (default
=/Developer
).
1620 --with-sdk-version=VERSION
1621 Use iOS SDK version VERSION
(default
=4.1).
1622 --with-sdk=PATH Specify Android SDK path
1623 (default
=$default_android_sdk).
1624 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1625 --with-sdk-version=LEVEL
1626 Use Android SDK
for API LEVEL
(default
=12).
1627 --with-ndk-version=LEVEL
1628 Use Android NDK
for API LEVEL
(default
=9).
1629 --with-apk-version=(release|debug
)
1630 Which version of AROSBootstrap.apk to compile.
1631 Release version needs key
for signing
, debug version
1632 will only run
in emulator.
(default
=release
)
1633 --with-kernel-toolchain-prefix=...
1634 Specify crosscompile toolchain prefix
for kernel
1636 --with-elf-toolchain-prefix=...
1637 Specify crosscompile toolchain prefix to wrap
for
1639 --with-aros-toolchain=PREFIX
1640 Specify prebuilt AROS toolchain. Use
yes for default
1642 --with-aros-toolchain-install=DIR
1643 Where to
install or search
for cross tools binaries
1644 --with-binutils-version=VERSION
1645 Use gcc-VERSION
for building AROS
1646 --with-gcc-version=VERSION
1647 Use gcc-VERSION
for building AROS
1648 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1649 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1650 --with-float=<spec
> Specify floating point ABI
1651 (default
=$gcc_default_float_abi).
1652 --with-portssources=DIR Where to download sourcecode
for external ports
1653 --with-bootloader=NAME Use a specific bootloader
1654 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1655 --with-theme=NAME Use a specific GUI Theme
1656 --with-resolution=XRESxYRESxDEPTH
1657 Default resolution of the initial WorkbenchScreen
1658 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1659 --with-x use the X Window System
1660 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1661 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1663 Some influential environment variables
:
1664 CXX C
++ compiler
command
1665 CXXFLAGS C
++ compiler flags
1666 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1667 nonstandard directory
<lib dir
>
1668 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1669 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1670 you have headers
in a nonstandard directory
<include dir
>
1671 CC C compiler
command
1672 CFLAGS C compiler flags
1674 PYTHON the Python interpreter
1675 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1677 Use these variables to override the choices made by
`configure' or to help
1678 it to find libraries and programs with nonstandard names/locations.
1680 Report bugs to the package provider.
1685 if test "$ac_init_help" = "recursive"; then
1686 # If there are subdirs, report their specific --help.
1687 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1688 test -d "$ac_dir" ||
1689 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1694 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1696 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1697 # A ".." for each directory in $ac_dir_suffix.
1698 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1699 case $ac_top_builddir_sub in
1700 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1701 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1704 ac_abs_top_builddir=$ac_pwd
1705 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1706 # for backward compatibility:
1707 ac_top_builddir=$ac_top_build_prefix
1710 .) # We are building in place.
1712 ac_top_srcdir=$ac_top_builddir_sub
1713 ac_abs_top_srcdir=$ac_pwd ;;
1714 [\\/]* | ?:[\\/]* ) # Absolute name.
1715 ac_srcdir=$srcdir$ac_dir_suffix;
1716 ac_top_srcdir=$srcdir
1717 ac_abs_top_srcdir=$srcdir ;;
1719 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1720 ac_top_srcdir=$ac_top_build_prefix$srcdir
1721 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1723 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1725 cd "$ac_dir" || { ac_status=$?; continue; }
1726 # Check for guested configure.
1727 if test -f "$ac_srcdir/configure.gnu"; then
1729 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1730 elif test -f "$ac_srcdir/configure"; then
1732 $SHELL "$ac_srcdir/configure" --help=recursive
1734 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1736 cd "$ac_pwd" || { ac_status=$?; break; }
1740 test -n "$ac_init_help" && exit $ac_status
1741 if $ac_init_version; then
1744 generated by GNU Autoconf 2.69
1746 Copyright (C) 2012 Free Software Foundation, Inc.
1747 This configure script is free software; the Free Software Foundation
1748 gives unlimited permission to copy, distribute and modify it.
1753 ## ------------------------ ##
1754 ## Autoconf initialization. ##
1755 ## ------------------------ ##
1757 # ac_fn_cxx_try_compile LINENO
1758 # ----------------------------
1759 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1760 ac_fn_cxx_try_compile ()
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 rm -f conftest.$ac_objext
1764 if { { ac_try="$ac_compile"
1766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1767 *) ac_try_echo
=$ac_try;;
1769 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_compile") 2>conftest.err
1773 if test -s conftest.err
; then
1774 grep -v '^ *+' conftest.err
>conftest.er1
1775 cat conftest.er1
>&5
1776 mv -f conftest.er1 conftest.err
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; } && {
1780 test -z "$ac_cxx_werror_flag" ||
1781 test ! -s conftest.err
1782 } && test -s conftest.
$ac_objext; then :
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.
$ac_ext >&5
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 as_fn_set_status
$ac_retval
1793 } # ac_fn_cxx_try_compile
1795 # ac_fn_c_try_compile LINENO
1796 # --------------------------
1797 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1798 ac_fn_c_try_compile
()
1800 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1801 rm -f conftest.
$ac_objext
1802 if { { ac_try
="$ac_compile"
1804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1805 *) ac_try_echo=$ac_try;;
1807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_compile") 2>conftest.err
1811 if test -s conftest.err; then
1812 grep -v '^ *+' conftest.err >conftest.er1
1813 cat conftest.er1 >&5
1814 mv -f conftest.er1 conftest.err
1816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 test $ac_status = 0; } && {
1818 test -z "$ac_c_werror_flag" ||
1819 test ! -s conftest.err
1820 } && test -s conftest.$ac_objext; then :
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.$ac_ext >&5
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 as_fn_set_status $ac_retval
1831 } # ac_fn_c_try_compile
1833 # ac_fn_c_try_cpp LINENO
1834 # ----------------------
1835 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839 if { { ac_try="$ac_cpp conftest.$ac_ext"
1841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1842 *) ac_try_echo
=$ac_try;;
1844 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1848 if test -s conftest.err
; then
1849 grep -v '^ *+' conftest.err
>conftest.er1
1850 cat conftest.er1
>&5
1851 mv -f conftest.er1 conftest.err
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } > conftest.i
&& {
1855 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1856 test ! -s conftest.err
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.
$ac_ext >&5
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866 as_fn_set_status
$ac_retval
1870 # ac_fn_c_try_link LINENO
1871 # -----------------------
1872 # Try to link conftest.$ac_ext, and return whether this succeeded.
1875 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1876 rm -f conftest.
$ac_objext conftest
$ac_exeext
1877 if { { ac_try
="$ac_link"
1879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1880 *) ac_try_echo=$ac_try;;
1882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883 $as_echo "$ac_try_echo"; } >&5
1884 (eval "$ac_link") 2>conftest.err
1886 if test -s conftest.err; then
1887 grep -v '^ *+' conftest.err >conftest.er1
1888 cat conftest.er1 >&5
1889 mv -f conftest.er1 conftest.err
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; } && {
1893 test -z "$ac_c_werror_flag" ||
1894 test ! -s conftest.err
1895 } && test -s conftest$ac_exeext && {
1896 test "$cross_compiling" = yes ||
1897 test -x conftest$ac_exeext
1901 $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.$ac_ext >&5
1906 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1907 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1908 # interfere with the next link command; also delete a directory that is
1909 # left behind by Apple's compiler. We do this before executing the actions.
1910 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1912 as_fn_set_status $ac_retval
1914 } # ac_fn_c_try_link
1916 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1917 # -------------------------------------------------------
1918 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1919 # the include files in INCLUDES and setting the cache variable VAR
1921 ac_fn_c_check_header_mongrel ()
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 if eval \${$3+:} false; then :
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1926 $as_echo_n "checking for $2... " >&6; }
1927 if eval \${$3+:} false; then :
1928 $as_echo_n "(cached) " >&6
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932 $as_echo "$ac_res" >&6; }
1934 # Is the header compilable?
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1936 $as_echo_n "checking $2 usability... " >&6; }
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1942 if ac_fn_c_try_compile "$LINENO"; then :
1943 ac_header_compiler=yes
1945 ac_header_compiler=no
1947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1949 $as_echo "$ac_header_compiler" >&6; }
1951 # Is the header present?
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1953 $as_echo_n "checking $2 presence... " >&6; }
1954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h. */
1958 if ac_fn_c_try_cpp "$LINENO"; then :
1959 ac_header_preproc=yes
1961 ac_header_preproc=no
1963 rm -f conftest.err conftest.i conftest.$ac_ext
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1965 $as_echo "$ac_header_preproc" >&6; }
1967 # So? What about this header?
1968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1971 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1973 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1977 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1979 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1981 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1983 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1985 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1989 $as_echo_n "checking for $2... " >&6; }
1990 if eval \${$3+:} false; then :
1991 $as_echo_n "(cached) " >&6
1993 eval "$3=\$ac_header_compiler"
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1997 $as_echo "$ac_res" >&6; }
1999 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2001 } # ac_fn_c_check_header_mongrel
2003 # ac_fn_c_try_run LINENO
2004 # ----------------------
2005 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2006 # that executables *can* be run.
2009 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2010 if { { ac_try="$ac_link"
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_link") 2>&5
2019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2020 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2021 { { case "(($ac_try" in
2022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2023 *) ac_try_echo=$ac_try;;
2025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2026 $as_echo "$ac_try_echo"; } >&5
2027 (eval "$ac_try") 2>&5
2029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2030 test $ac_status = 0; }; }; then :
2033 $as_echo "$as_me: program exited with status $ac_status" >&5
2034 $as_echo "$as_me: failed program was:" >&5
2035 sed 's/^/| /' conftest.$ac_ext >&5
2037 ac_retval=$ac_status
2039 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2040 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2041 as_fn_set_status $ac_retval
2045 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2046 # -------------------------------------------------------
2047 # Tests whether HEADER exists and can be compiled using the include files in
2048 # INCLUDES, setting the cache variable VAR accordingly.
2049 ac_fn_c_check_header_compile ()
2051 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2053 $as_echo_n "checking for $2... " >&6; }
2054 if eval \${$3+:} false; then :
2055 $as_echo_n "(cached) " >&6
2057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2058 /* end confdefs.h. */
2062 if ac_fn_c_try_compile "$LINENO"; then :
2067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071 $as_echo "$ac_res" >&6; }
2072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2074 } # ac_fn_c_check_header_compile
2076 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2077 # ----------------------------------------------------
2078 # Tries to find if the field MEMBER exists in type AGGR, after including
2079 # INCLUDES, setting cache variable VAR accordingly.
2080 ac_fn_c_check_member ()
2082 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2084 $as_echo_n "checking for $2.$3... " >&6; }
2085 if eval \${$4+:} false; then :
2086 $as_echo_n "(cached) " >&6
2088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2089 /* end confdefs.h. */
2101 if ac_fn_c_try_compile "$LINENO"; then :
2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2111 if (sizeof ac_aggr.$3)
2117 if ac_fn_c_try_compile "$LINENO"; then :
2122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2128 $as_echo "$ac_res" >&6; }
2129 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2131 } # ac_fn_c_check_member
2133 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2134 # ---------------------------------------------
2135 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2137 ac_fn_c_check_decl ()
2139 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2140 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2141 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2143 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2144 if eval \${$3+:} false; then :
2145 $as_echo_n "(cached) " >&6
2147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h. */
2153 #ifndef $as_decl_name
2155 (void) $as_decl_use;
2157 (void) $as_decl_name;
2165 if ac_fn_c_try_compile "$LINENO"; then :
2170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2174 $as_echo "$ac_res" >&6; }
2175 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2177 } # ac_fn_c_check_decl
2179 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2180 # -------------------------------------------
2181 # Tests whether TYPE exists after having included INCLUDES, setting cache
2182 # variable VAR accordingly.
2183 ac_fn_c_check_type ()
2185 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2187 $as_echo_n "checking for $2... " >&6; }
2188 if eval \${$3+:} false; then :
2189 $as_echo_n "(cached) " >&6
2192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2193 /* end confdefs.h. */
2204 if ac_fn_c_try_compile "$LINENO"; then :
2205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2206 /* end confdefs.h. */
2217 if ac_fn_c_try_compile "$LINENO"; then :
2222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2228 $as_echo "$ac_res" >&6; }
2229 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2231 } # ac_fn_c_check_type
2233 # ac_fn_c_check_func LINENO FUNC VAR
2234 # ----------------------------------
2235 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2236 ac_fn_c_check_func ()
2238 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2240 $as_echo_n "checking for $2... " >&6; }
2241 if eval \${$3+:} false; then :
2242 $as_echo_n "(cached) " >&6
2244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2245 /* end confdefs.h. */
2246 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2248 #define $2 innocuous_$2
2250 /* System header to define __stub macros and hopefully few prototypes,
2251 which can conflict with char $2 (); below.
2252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2253 <limits.h> exists even on freestanding compilers. */
2256 # include <limits.h>
2258 # include <assert.h>
2263 /* Override any GCC internal prototype to avoid an error.
2264 Use char because int might match the return type of a GCC
2265 builtin and then its argument prototype would still apply. */
2270 /* The GNU C library defines this for functions which it implements
2271 to always fail with ENOSYS. Some functions are actually named
2272 something starting with __ and the normal name is an alias. */
2273 #if defined __stub_$2 || defined __stub___$2
2285 if ac_fn_c_try_link "$LINENO"; then :
2290 rm -f core conftest.err conftest.$ac_objext \
2291 conftest$ac_exeext conftest.$ac_ext
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2295 $as_echo "$ac_res" >&6; }
2296 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2298 } # ac_fn_c_check_func
2299 cat >config.log <<_ACEOF
2300 This file contains any messages produced by compilers while
2301 running configure, to aid debugging if configure makes a mistake.
2303 It was created by $as_me, which was
2304 generated by GNU Autoconf 2.69. Invocation command line was
2316 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2317 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2318 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2319 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2320 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2322 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2323 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2325 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2326 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2327 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2328 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2329 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2330 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2331 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2339 test -z "$as_dir" && as_dir=.
2340 $as_echo "PATH: $as_dir"
2356 # Keep a trace of the command line.
2357 # Strip out --no-create and --no-recursion so they do not pile up.
2358 # Strip out --silent because we don't want to record it for future runs.
2359 # Also quote any args containing shell meta-characters.
2360 # Make two passes to allow for proper duplicate-argument suppression.
2364 ac_must_keep_next=false
2370 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2371 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2372 | -silent | --silent | --silen | --sile | --sil)
2375 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2378 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2380 as_fn_append ac_configure_args1 " '$ac_arg'"
2381 if test $ac_must_keep_next = true; then
2382 ac_must_keep_next=false # Got value, back to normal.
2385 *=* | --config-cache | -C | -disable-* | --disable-* \
2386 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2387 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2388 | -with-* | --with-* | -without-* | --without-* | --x)
2389 case "$ac_configure_args0 " in
2390 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2393 -* ) ac_must_keep_next=true ;;
2396 as_fn_append ac_configure_args " '$ac_arg'"
2401 { ac_configure_args0=; unset ac_configure_args0;}
2402 { ac_configure_args1=; unset ac_configure_args1;}
2404 # When interrupted or exit'd, cleanup temporary files, and complete
2405 # config.log. We remove comments because anyway the quotes in there
2406 # would cause problems or look ugly.
2407 # WARNING: Use '\'' to represent an apostrophe within the trap.
2408 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2409 trap 'exit_status=$?
2410 # Save into config.log some information that might help in debugging.
2414 $as_echo "## ---------------- ##
2415 ## Cache variables. ##
2416 ## ---------------- ##"
2418 # The following way of writing the cache mishandles newlines in values,
2420 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2421 eval ac_val=\$$ac_var
2425 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2426 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2429 _ | IFS | as_nl) ;; #(
2430 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2431 *) { eval $ac_var=; unset $ac_var;} ;;
2436 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2437 *${as_nl}ac_space=\ *)
2439 "s/'\''/'\''\\\\'\'''\''/g;
2440 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2443 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2450 $as_echo "## ----------------- ##
2451 ## Output variables. ##
2452 ## ----------------- ##"
2454 for ac_var in $ac_subst_vars
2456 eval ac_val=\$$ac_var
2458 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2460 $as_echo "$ac_var='\''$ac_val'\''"
2464 if test -n "$ac_subst_files"; then
2465 $as_echo "## ------------------- ##
2466 ## File substitutions. ##
2467 ## ------------------- ##"
2469 for ac_var in $ac_subst_files
2471 eval ac_val=\$$ac_var
2473 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2475 $as_echo "$ac_var='\''$ac_val'\''"
2480 if test -s confdefs.h; then
2481 $as_echo "## ----------- ##
2488 test "$ac_signal" != 0 &&
2489 $as_echo "$as_me: caught signal $ac_signal"
2490 $as_echo "$as_me: exit $exit_status"
2492 rm -f core *.core core.conftest.* &&
2493 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2496 for ac_signal in 1 2 13 15; do
2497 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2501 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2502 rm -f -r conftest* confdefs.h
2504 $as_echo "/* confdefs.h */" > confdefs.h
2506 # Predefined preprocessor variables.
2508 cat >>confdefs.h <<_ACEOF
2509 #define PACKAGE_NAME "$PACKAGE_NAME"
2512 cat >>confdefs.h <<_ACEOF
2513 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2516 cat >>confdefs.h <<_ACEOF
2517 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2520 cat >>confdefs.h <<_ACEOF
2521 #define PACKAGE_STRING "$PACKAGE_STRING"
2524 cat >>confdefs.h <<_ACEOF
2525 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2528 cat >>confdefs.h <<_ACEOF
2529 #define PACKAGE_URL "$PACKAGE_URL"
2533 # Let the site file select an alternate cache file if it wants to.
2534 # Prefer an explicitly selected file to automatically selected ones.
2537 if test -n "$CONFIG_SITE"; then
2538 # We do not want a PATH search for config.site.
2539 case $CONFIG_SITE in #((
2540 -*) ac_site_file1=./$CONFIG_SITE;;
2541 */*) ac_site_file1=$CONFIG_SITE;;
2542 *) ac_site_file1=./$CONFIG_SITE;;
2544 elif test "x$prefix" != xNONE; then
2545 ac_site_file1=$prefix/share/config.site
2546 ac_site_file2=$prefix/etc/config.site
2548 ac_site_file1=$ac_default_prefix/share/config.site
2549 ac_site_file2=$ac_default_prefix/etc/config.site
2551 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2553 test "x$ac_site_file" = xNONE && continue
2554 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2556 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2557 sed 's/^/| /' "$ac_site_file" >&5
2559 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2561 as_fn_error $? "failed to load site
script $ac_site_file
2562 See \
`config.log' for more details" "$LINENO" 5; }
2566 if test -r "$cache_file"; then
2567 # Some versions of bash will fail to source /dev/null (special files
2568 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2569 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2571 $as_echo "$as_me: loading cache $cache_file" >&6;}
2573 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2574 *) . "./$cache_file";;
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2579 $as_echo "$as_me: creating cache $cache_file" >&6;}
2583 as_fn_append ac_header_list " stdlib.h"
2584 as_fn_append ac_header_list " unistd.h"
2585 as_fn_append ac_header_list " sys/param.h"
2586 # Check that the precious variables saved in the cache have kept the same
2588 ac_cache_corrupted=false
2589 for ac_var in $ac_precious_vars; do
2590 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2591 eval ac_new_set=\$ac_env_${ac_var}_set
2592 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2593 eval ac_new_val=\$ac_env_${ac_var}_value
2594 case $ac_old_set,$ac_new_set in
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2597 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2598 ac_cache_corrupted=: ;;
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2601 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2602 ac_cache_corrupted=: ;;
2605 if test "x$ac_old_val" != "x$ac_new_val"; then
2606 # differences in whitespace do not lead to failure.
2607 ac_old_val_w=`echo x
$ac_old_val`
2608 ac_new_val_w=`echo x
$ac_new_val`
2609 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2611 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2612 ac_cache_corrupted=:
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2615 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2616 eval $ac_var=\$ac_old_val
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2619 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2621 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2624 # Pass precious variables to config.status.
2625 if test "$ac_new_set" = set; then
2627 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2628 *) ac_arg=$ac_var=$ac_new_val ;;
2630 case " $ac_configure_args " in
2631 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2632 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2636 if $ac_cache_corrupted; then
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2640 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2641 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2643 ## -------------------- ##
2644 ## Main body of script. ##
2645 ## -------------------- ##
2648 ac_cpp='$CPP $CPPFLAGS'
2649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2656 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2657 if test -f "$ac_dir/install-sh"; then
2659 ac_install_sh="$ac_aux_dir/install-sh -c"
2661 elif test -f "$ac_dir/install.sh"; then
2663 ac_install_sh="$ac_aux_dir/install.sh -c"
2665 elif test -f "$ac_dir/shtool"; then
2667 ac_install_sh="$ac_aux_dir/shtool install -c"
2671 if test -z "$ac_aux_dir"; then
2672 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2675 # These three variables are undocumented and unsupported,
2676 # and are intended to be withdrawn in a future Autoconf release.
2677 # They can cause serious problems if a builder's source tree is in a directory
2678 # whose full name contains unusual characters.
2679 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2680 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2681 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2685 # Check what host we are running on.
2686 # If a target is not suggested, we use this one.
2687 # Note that what we call a target, Autoconf calls a host.
2688 # Make sure we can run config.sub.
2689 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2690 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2693 $as_echo_n "checking build system type... " >&6; }
2694 if ${ac_cv_build+:} false; then :
2695 $as_echo_n "(cached) " >&6
2697 ac_build_alias=$build_alias
2698 test "x$ac_build_alias" = x &&
2699 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2700 test "x$ac_build_alias" = x &&
2701 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2702 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2703 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2707 $as_echo "$ac_cv_build" >&6; }
2708 case $ac_cv_build in
2710 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2713 ac_save_IFS=$IFS; IFS='-'
2719 # Remember, the first character of IFS is used to create $*,
2720 # except with old shells:
2723 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2727 $as_echo_n "checking host system type... " >&6; }
2728 if ${ac_cv_host+:} false; then :
2729 $as_echo_n "(cached) " >&6
2731 if test "x$host_alias" = x; then
2732 ac_cv_host=$ac_cv_build
2734 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2735 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2740 $as_echo "$ac_cv_host" >&6; }
2743 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2746 ac_save_IFS=$IFS; IFS='-'
2752 # Remember, the first character of IFS is used to create $*,
2753 # except with old shells:
2756 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2760 # Default version of gnu tools to use
2761 default_gcc_version="4.6.4"
2762 default_binutils_version="2.23.2"
2764 # The AROS target is slightly different to the normal GNU style
2765 # format. We don't have the middle part, and we reverse the order
2766 # of the $(CPU) and $(OS) bits.
2768 # Don't strip the version of the target yet, it might be
2769 # useful on some systems.
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2772 $as_echo_n "checking for AROS style target... " >&6; }
2774 if test "$target" = "NONE" ; then
2775 target=$host_os-$host_cpu
2777 if test "$target" = "" ; then
2778 target=$host_os-$host_cpu
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2782 $as_echo "$target" >&6; }
2784 if test "$host_os" = "mingw32" ; then
2788 # Don't know where else to put this...
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2790 $as_echo_n "checking building AROS in... " >&6; }
2791 AROS_BUILDDIR=`${PWDCMD-pwd}`
2792 AROS_BUILDDIR_UNIX=${PWD}
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2794 $as_echo "$AROS_BUILDDIR" >&6; }
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2797 $as_echo_n "checking AROS source in... " >&6; }
2798 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2801 $as_echo "$SRCDIR" >&6; }
2803 # Parse the target field into something useful.
2805 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2806 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2809 # Some debug output, to be removed again.
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2811 $as_echo_n "checking for target system (debug output)... " >&6; }
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2813 $as_echo "$target_os" >&6; }
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2815 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2817 $as_echo "$target_cpu" >&6; }
2819 aros_default_wbwidth=800
2820 aros_default_wbheight=600
2821 aros_default_wbdepth=4
2824 # The first step is to find the host binaries.
2825 # Check for a compiler.
2826 # Due to a bug in autoconf check for c++ compiler first.
2827 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2829 ac_cpp='$CXXCPP $CPPFLAGS'
2830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2833 if test -z "$CXX"; then
2834 if test -n "$CCC"; then
2837 if test -n "$ac_tool_prefix"; then
2838 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2840 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2841 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2843 $as_echo_n "checking for $ac_word... " >&6; }
2844 if ${ac_cv_prog_CXX+:} false; then :
2845 $as_echo_n "(cached) " >&6
2847 if test -n "$CXX"; then
2848 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854 test -z "$as_dir" && as_dir=.
2855 for ac_exec_ext in '' $ac_executable_extensions; do
2856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2857 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2868 if test -n "$CXX"; then
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2870 $as_echo "$CXX" >&6; }
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2873 $as_echo "no" >&6; }
2877 test -n "$CXX" && break
2880 if test -z "$CXX"; then
2882 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2884 # Extract the first word of "$ac_prog", so it can be a program name with args.
2885 set dummy $ac_prog; ac_word=$2
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887 $as_echo_n "checking for $ac_word... " >&6; }
2888 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2889 $as_echo_n "(cached) " >&6
2891 if test -n "$ac_ct_CXX"; then
2892 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2898 test -z "$as_dir" && as_dir=.
2899 for ac_exec_ext in '' $ac_executable_extensions; do
2900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2901 ac_cv_prog_ac_ct_CXX="$ac_prog"
2902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2911 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2912 if test -n "$ac_ct_CXX"; then
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2914 $as_echo "$ac_ct_CXX" >&6; }
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917 $as_echo "no" >&6; }
2921 test -n "$ac_ct_CXX" && break
2924 if test "x$ac_ct_CXX" = x; then
2927 case $cross_compiling:$ac_tool_warned in
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2931 ac_tool_warned=yes ;;
2939 # Provide some information about the compiler.
2940 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2943 for ac_option in --version -v -V -qversion; do
2944 { { ac_try="$ac_compiler $ac_option >&5"
2946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2947 *) ac_try_echo
=$ac_try;;
2949 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2950 $as_echo "$ac_try_echo"; } >&5
2951 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2953 if test -s conftest.err
; then
2955 ... rest of stderr output deleted ...
2956 10q' conftest.err
>conftest.er1
2957 cat conftest.er1
>&5
2959 rm -f conftest.er1 conftest.err
2960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2961 test $ac_status = 0; }
2964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2965 /* end confdefs.h. */
2975 ac_clean_files_save
=$ac_clean_files
2976 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2977 # Try to create an executable without -o first, disregard a.out.
2978 # It will help us diagnose broken compilers, and finding out an intuition
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2981 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2982 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2984 # The possible output files:
2985 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2988 for ac_file
in $ac_files
2991 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2992 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2997 if { { ac_try
="$ac_link_default"
2999 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3000 *) ac_try_echo=$ac_try;;
3002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3003 $as_echo "$ac_try_echo"; } >&5
3004 (eval "$ac_link_default") 2>&5
3006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3007 test $ac_status = 0; }; then :
3008 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3009 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3010 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3011 # so that the user can short-circuit this test for compilers unknown to
3013 for ac_file in $ac_files ''
3015 test -f "$ac_file" || continue
3017 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3020 # We found the default executable, but exeext='' is most
3024 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3026 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3028 # We set ac_cv_exeext here because the later test for it is not
3029 # safe: cross compilers may not add the suffix if given an `-o'
3030 # argument, so we may need to know it at that point already.
3031 # Even if this section looks crufty: it has the advantage of
3038 test "$ac_cv_exeext" = no && ac_cv_exeext=
3043 if test -z "$ac_file"; then :
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3045 $as_echo "no" >&6; }
3046 $as_echo "$as_me: failed program was:" >&5
3047 sed 's
/^
/|
/' conftest.$ac_ext >&5
3049 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3050 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3051 as_fn_error 77 "C++ compiler cannot create executables
3052 See \`config.log
' for more details" "$LINENO" 5; }
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3055 $as_echo "yes" >&6; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3058 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3060 $as_echo "$ac_file" >&6; }
3061 ac_exeext=$ac_cv_exeext
3063 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3064 ac_clean_files=$ac_clean_files_save
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3066 $as_echo_n "checking for suffix of executables... " >&6; }
3067 if { { ac_try="$ac_link"
3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3073 $as_echo "$ac_try_echo"; } >&5
3074 (eval "$ac_link") 2>&5
3076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3077 test $ac_status = 0; }; then :
3078 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3079 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3080 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3082 for ac_file
in conftest.exe conftest conftest.
*; do
3083 test -f "$ac_file" ||
continue
3085 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3086 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3092 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3094 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3095 See \`config.log' for more details" "$LINENO" 5; }
3097 rm -f conftest conftest
$ac_cv_exeext
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3099 $as_echo "$ac_cv_exeext" >&6; }
3101 rm -f conftest.
$ac_ext
3102 EXEEXT
=$ac_cv_exeext
3104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3110 FILE *f = fopen ("conftest.out", "w");
3111 return ferror (f) || fclose (f) != 0;
3117 ac_clean_files
="$ac_clean_files conftest.out"
3118 # Check that the compiler produces executables we can run. If not, either
3119 # the compiler is broken, or we cross compile.
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3121 $as_echo_n "checking whether we are cross compiling... " >&6; }
3122 if test "$cross_compiling" != yes; then
3123 { { ac_try
="$ac_link"
3125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3126 *) ac_try_echo=$ac_try;;
3128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3129 $as_echo "$ac_try_echo"; } >&5
3130 (eval "$ac_link") 2>&5
3132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3133 test $ac_status = 0; }
3134 if { ac_try='./conftest$ac_cv_exeext'
3135 { { case "(($ac_try" in
3136 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3137 *) ac_try_echo
=$ac_try;;
3139 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3140 $as_echo "$ac_try_echo"; } >&5
3141 (eval "$ac_try") 2>&5
3143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3144 test $ac_status = 0; }; }; then
3147 if test "$cross_compiling" = maybe
; then
3150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3152 as_fn_error $?
"cannot run C++ compiled programs.
3153 If you meant to cross compile, use \`--host'.
3154 See \`config.log' for more details" "$LINENO" 5; }
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3159 $as_echo "$cross_compiling" >&6; }
3161 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3162 ac_clean_files
=$ac_clean_files_save
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3164 $as_echo_n "checking for suffix of object files... " >&6; }
3165 if ${ac_cv_objext+:} false
; then :
3166 $as_echo_n "(cached) " >&6
3168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3169 /* end confdefs.h. */
3179 rm -f conftest.o conftest.obj
3180 if { { ac_try
="$ac_compile"
3182 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3183 *) ac_try_echo=$ac_try;;
3185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3186 $as_echo "$ac_try_echo"; } >&5
3187 (eval "$ac_compile") 2>&5
3189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3190 test $ac_status = 0; }; then :
3191 for ac_file in conftest.o conftest.obj conftest.*; do
3192 test -f "$ac_file" || continue;
3194 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3195 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3200 $as_echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3203 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3205 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3206 See \
`config.log' for more details" "$LINENO" 5; }
3208 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3211 $as_echo "$ac_cv_objext" >&6; }
3212 OBJEXT=$ac_cv_objext
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3215 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3216 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3217 $as_echo_n "(cached) " >&6
3219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3220 /* end confdefs.h. */
3233 if ac_fn_cxx_try_compile "$LINENO"; then :
3238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3239 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3243 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3244 if test $ac_compiler_gnu = yes; then
3249 ac_test_CXXFLAGS=${CXXFLAGS+set}
3250 ac_save_CXXFLAGS=$CXXFLAGS
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3252 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3253 if ${ac_cv_prog_cxx_g+:} false; then :
3254 $as_echo_n "(cached) " >&6
3256 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3257 ac_cxx_werror_flag=yes
3260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3261 /* end confdefs.h. */
3271 if ac_fn_cxx_try_compile "$LINENO"; then :
3272 ac_cv_prog_cxx_g=yes
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3286 if ac_fn_cxx_try_compile "$LINENO"; then :
3289 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3302 if ac_fn_cxx_try_compile "$LINENO"; then :
3303 ac_cv_prog_cxx_g=yes
3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3313 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3314 if test "$ac_test_CXXFLAGS" = set; then
3315 CXXFLAGS=$ac_save_CXXFLAGS
3316 elif test $ac_cv_prog_cxx_g = yes; then
3317 if test "$GXX" = yes; then
3323 if test "$GXX" = yes; then
3330 ac_cpp='$CPP $CPPFLAGS'
3331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3336 ac_cpp='$CPP $CPPFLAGS'
3337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3340 if test -n "$ac_tool_prefix"; then
3341 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3342 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 $as_echo_n "checking for $ac_word... " >&6; }
3345 if ${ac_cv_prog_CC+:} false; then :
3346 $as_echo_n "(cached) " >&6
3348 if test -n "$CC"; then
3349 ac_cv_prog_CC="$CC" # Let the user override the test.
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 test -z "$as_dir" && as_dir=.
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3358 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3369 if test -n "$CC"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3371 $as_echo "$CC" >&6; }
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3374 $as_echo "no" >&6; }
3379 if test -z "$ac_cv_prog_CC"; then
3381 # Extract the first word of "gcc", so it can be a program name with args.
3382 set dummy gcc; ac_word=$2
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3384 $as_echo_n "checking for $ac_word... " >&6; }
3385 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3386 $as_echo_n "(cached) " >&6
3388 if test -n "$ac_ct_CC"; then
3389 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395 test -z "$as_dir" && as_dir=.
3396 for ac_exec_ext in '' $ac_executable_extensions; do
3397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3398 ac_cv_prog_ac_ct_CC="gcc"
3399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3408 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3409 if test -n "$ac_ct_CC"; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3411 $as_echo "$ac_ct_CC" >&6; }
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3414 $as_echo "no" >&6; }
3417 if test "x$ac_ct_CC" = x; then
3420 case $cross_compiling:$ac_tool_warned in
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3424 ac_tool_warned=yes ;;
3432 if test -z "$CC"; then
3433 if test -n "$ac_tool_prefix"; then
3434 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3435 set dummy ${ac_tool_prefix}cc; ac_word=$2
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3437 $as_echo_n "checking for $ac_word... " >&6; }
3438 if ${ac_cv_prog_CC+:} false; then :
3439 $as_echo_n "(cached) " >&6
3441 if test -n "$CC"; then
3442 ac_cv_prog_CC="$CC" # Let the user override the test.
3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3448 test -z "$as_dir" && as_dir=.
3449 for ac_exec_ext in '' $ac_executable_extensions; do
3450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3451 ac_cv_prog_CC="${ac_tool_prefix}cc"
3452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3462 if test -n "$CC"; then
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3464 $as_echo "$CC" >&6; }
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3467 $as_echo "no" >&6; }
3473 if test -z "$CC"; then
3474 # Extract the first word of "cc", so it can be a program name with args.
3475 set dummy cc; ac_word=$2
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3477 $as_echo_n "checking for $ac_word... " >&6; }
3478 if ${ac_cv_prog_CC+:} false; then :
3479 $as_echo_n "(cached) " >&6
3481 if test -n "$CC"; then
3482 ac_cv_prog_CC="$CC" # Let the user override the test.
3485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3489 test -z "$as_dir" && as_dir=.
3490 for ac_exec_ext in '' $ac_executable_extensions; do
3491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3492 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3493 ac_prog_rejected=yes
3497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3504 if test $ac_prog_rejected = yes; then
3505 # We found a bogon in the path, so make sure we never use it.
3506 set dummy $ac_cv_prog_CC
3508 if test $# != 0; then
3509 # We chose a different compiler from the bogus one.
3510 # However, it has the same basename, so the bogon will be chosen
3511 # first if we set CC to just the basename; use the full file name.
3513 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3519 if test -n "$CC"; then
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3521 $as_echo "$CC" >&6; }
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3524 $as_echo "no" >&6; }
3529 if test -z "$CC"; then
3530 if test -n "$ac_tool_prefix"; then
3531 for ac_prog in cl.exe
3533 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3534 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3536 $as_echo_n "checking for $ac_word... " >&6; }
3537 if ${ac_cv_prog_CC+:} false; then :
3538 $as_echo_n "(cached) " >&6
3540 if test -n "$CC"; then
3541 ac_cv_prog_CC="$CC" # Let the user override the test.
3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3547 test -z "$as_dir" && as_dir=.
3548 for ac_exec_ext in '' $ac_executable_extensions; do
3549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3550 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 if test -n "$CC"; then
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3563 $as_echo "$CC" >&6; }
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566 $as_echo "no" >&6; }
3570 test -n "$CC" && break
3573 if test -z "$CC"; then
3575 for ac_prog in cl.exe
3577 # Extract the first word of "$ac_prog", so it can be a program name with args.
3578 set dummy $ac_prog; ac_word=$2
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580 $as_echo_n "checking for $ac_word... " >&6; }
3581 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3582 $as_echo_n "(cached) " >&6
3584 if test -n "$ac_ct_CC"; then
3585 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 test -z "$as_dir" && as_dir=.
3592 for ac_exec_ext in '' $ac_executable_extensions; do
3593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3594 ac_cv_prog_ac_ct_CC="$ac_prog"
3595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3604 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3605 if test -n "$ac_ct_CC"; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3607 $as_echo "$ac_ct_CC" >&6; }
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3614 test -n "$ac_ct_CC" && break
3617 if test "x$ac_ct_CC" = x; then
3620 case $cross_compiling:$ac_tool_warned in
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3624 ac_tool_warned=yes ;;
3633 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3635 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3636 See \
`config.log' for more details" "$LINENO" 5; }
3638 # Provide some information about the compiler.
3639 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3642 for ac_option in --version -v -V -qversion; do
3643 { { ac_try="$ac_compiler $ac_option >&5"
3645 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3646 *) ac_try_echo
=$ac_try;;
3648 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3649 $as_echo "$ac_try_echo"; } >&5
3650 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3652 if test -s conftest.err
; then
3654 ... rest of stderr output deleted ...
3655 10q' conftest.err
>conftest.er1
3656 cat conftest.er1
>&5
3658 rm -f conftest.er1 conftest.err
3659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3660 test $ac_status = 0; }
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3664 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3665 if ${ac_cv_c_compiler_gnu+:} false
; then :
3666 $as_echo_n "(cached) " >&6
3668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3669 /* end confdefs.h. */
3682 if ac_fn_c_try_compile
"$LINENO"; then :
3687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3688 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3692 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3693 if test $ac_compiler_gnu = yes; then
3698 ac_test_CFLAGS
=${CFLAGS+set}
3699 ac_save_CFLAGS
=$CFLAGS
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3701 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3702 if ${ac_cv_prog_cc_g+:} false
; then :
3703 $as_echo_n "(cached) " >&6
3705 ac_save_c_werror_flag
=$ac_c_werror_flag
3706 ac_c_werror_flag
=yes
3709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3710 /* end confdefs.h. */
3720 if ac_fn_c_try_compile
"$LINENO"; then :
3724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3735 if ac_fn_c_try_compile
"$LINENO"; then :
3738 ac_c_werror_flag
=$ac_save_c_werror_flag
3740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3741 /* end confdefs.h. */
3751 if ac_fn_c_try_compile
"$LINENO"; then :
3754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3759 ac_c_werror_flag
=$ac_save_c_werror_flag
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3762 $as_echo "$ac_cv_prog_cc_g" >&6; }
3763 if test "$ac_test_CFLAGS" = set; then
3764 CFLAGS
=$ac_save_CFLAGS
3765 elif test $ac_cv_prog_cc_g = yes; then
3766 if test "$GCC" = yes; then
3772 if test "$GCC" = yes; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3779 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3780 if ${ac_cv_prog_cc_c89+:} false
; then :
3781 $as_echo_n "(cached) " >&6
3783 ac_cv_prog_cc_c89
=no
3785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3790 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3791 struct buf { int x; };
3792 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3793 static char *e (p, i)
3799 static char *f (char * (*g) (char **, int), char **p, ...)
3804 s = g (p, va_arg (v,int));
3809 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3810 function prototypes and stuff, but not '\xHH' hex character constants.
3811 These don't provoke an error unfortunately, instead are silently treated
3812 as 'x'. The following induces an error, until -std is added to get
3813 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3814 array size at least. It's necessary to write '\x00'==0 to get something
3815 that's true only with -std. */
3816 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3818 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3819 inside strings and character constants. */
3821 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3823 int test (int i, double x);
3824 struct s1 {int (*f) (int a);};
3825 struct s2 {int (*f) (double a);};
3826 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3832 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3837 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3838 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3840 CC
="$ac_save_CC $ac_arg"
3841 if ac_fn_c_try_compile
"$LINENO"; then :
3842 ac_cv_prog_cc_c89
=$ac_arg
3844 rm -f core conftest.err conftest.
$ac_objext
3845 test "x$ac_cv_prog_cc_c89" != "xno" && break
3847 rm -f conftest.
$ac_ext
3852 case "x$ac_cv_prog_cc_c89" in
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3855 $as_echo "none needed" >&6; } ;;
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3858 $as_echo "unsupported" >&6; } ;;
3860 CC
="$CC $ac_cv_prog_cc_c89"
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3862 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3864 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3869 ac_cpp
='$CPP $CPPFLAGS'
3870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3874 case $ac_cv_prog_cc_stdc in #(
3876 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3879 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3880 if ${ac_cv_prog_cc_c99+:} false
; then :
3881 $as_echo_n "(cached) " >&6
3883 ac_cv_prog_cc_c99
=no
3885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3886 /* end confdefs.h. */
3888 #include <stdbool.h>
3893 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3894 #define debug(...) fprintf (stderr, __VA_ARGS__)
3895 #define showlist(...) puts (#__VA_ARGS__)
3896 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3898 test_varargs_macros (void)
3903 debug ("X = %d\n", x);
3904 showlist (The first, second, and third items.);
3905 report (x>y, "x is %d but y is %d", x, y);
3908 // Check long long types.
3909 #define BIG64 18446744073709551615ull
3910 #define BIG32 4294967295ul
3911 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3913 your preprocessor is broken;
3917 your preprocessor is broken;
3919 static long long int bignum = -9223372036854775807LL;
3920 static unsigned long long int ubignum = BIG64;
3922 struct incomplete_array
3930 const wchar_t *name;
3934 typedef const char *ccp;
3937 test_restrict (ccp restrict text)
3939 // See if C++-style comments work.
3940 // Iterate through items via the restricted pointer.
3941 // Also check for declarations in for loops.
3942 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3947 // Check varargs and va_copy.
3949 test_varargs (const char *format, ...)
3952 va_start (args, format);
3954 va_copy (args_copy, args);
3965 str = va_arg (args_copy, const char *);
3968 number = va_arg (args_copy, int);
3971 fnumber = va_arg (args_copy, double);
3986 _Bool success = false;
3989 if (test_restrict ("String literal") == 0)
3991 char *restrict newvar = "Another string";
3994 test_varargs ("s, d' f .", "string", 65, 34.234);
3995 test_varargs_macros ();
3997 // Check flexible array members.
3998 struct incomplete_array *ia =
3999 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4001 for (int i = 0; i < ia->datasize; ++i)
4002 ia->data[i] = i * 1.234;
4004 // Check named initializers.
4005 struct named_init ni = {
4007 .name = L"Test wide string",
4008 .average = 543.34343,
4013 int dynamic_array[ni.number];
4014 dynamic_array[ni.number - 1] = 543;
4016 // work around unused variable warnings
4017 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4018 || dynamic_array[ni.number - 1] != 543);
4024 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4026 CC
="$ac_save_CC $ac_arg"
4027 if ac_fn_c_try_compile
"$LINENO"; then :
4028 ac_cv_prog_cc_c99
=$ac_arg
4030 rm -f core conftest.err conftest.
$ac_objext
4031 test "x$ac_cv_prog_cc_c99" != "xno" && break
4033 rm -f conftest.
$ac_ext
4038 case "x$ac_cv_prog_cc_c99" in
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4041 $as_echo "none needed" >&6; } ;;
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4044 $as_echo "unsupported" >&6; } ;;
4046 CC
="$CC $ac_cv_prog_cc_c99"
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4048 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4050 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4051 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4054 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4055 if ${ac_cv_prog_cc_c89+:} false
; then :
4056 $as_echo_n "(cached) " >&6
4058 ac_cv_prog_cc_c89
=no
4060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4061 /* end confdefs.h. */
4065 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4066 struct buf { int x; };
4067 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4068 static char *e (p, i)
4074 static char *f (char * (*g) (char **, int), char **p, ...)
4079 s = g (p, va_arg (v,int));
4084 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4085 function prototypes and stuff, but not '\xHH' hex character constants.
4086 These don't provoke an error unfortunately, instead are silently treated
4087 as 'x'. The following induces an error, until -std is added to get
4088 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4089 array size at least. It's necessary to write '\x00'==0 to get something
4090 that's true only with -std. */
4091 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4093 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4094 inside strings and character constants. */
4096 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4098 int test (int i, double x);
4099 struct s1 {int (*f) (int a);};
4100 struct s2 {int (*f) (double a);};
4101 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4107 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4112 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4113 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4115 CC
="$ac_save_CC $ac_arg"
4116 if ac_fn_c_try_compile
"$LINENO"; then :
4117 ac_cv_prog_cc_c89
=$ac_arg
4119 rm -f core conftest.err conftest.
$ac_objext
4120 test "x$ac_cv_prog_cc_c89" != "xno" && break
4122 rm -f conftest.
$ac_ext
4127 case "x$ac_cv_prog_cc_c89" in
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4130 $as_echo "none needed" >&6; } ;;
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4133 $as_echo "unsupported" >&6; } ;;
4135 CC
="$CC $ac_cv_prog_cc_c89"
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4137 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4139 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4140 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4142 ac_cv_prog_cc_stdc
=no
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4149 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4150 if ${ac_cv_prog_cc_stdc+:} false
; then :
4151 $as_echo_n "(cached) " >&6
4154 case $ac_cv_prog_cc_stdc in #(
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4157 $as_echo "unsupported" >&6; } ;; #(
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4160 $as_echo "none needed" >&6; } ;; #(
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4163 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4167 ac_cpp
='$CPP $CPPFLAGS'
4168 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4169 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4170 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4172 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4173 # On Suns, sometimes $CPP names a directory.
4174 if test -n "$CPP" && test -d "$CPP"; then
4177 if test -z "$CPP"; then
4178 if ${ac_cv_prog_CPP+:} false
; then :
4179 $as_echo_n "(cached) " >&6
4181 # Double quotes because CPP needs to be expanded
4182 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4185 for ac_c_preproc_warn_flag
in '' yes
4187 # Use a header file that comes with gcc, so configuring glibc
4188 # with a fresh cross-compiler works.
4189 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4190 # <limits.h> exists even on freestanding compilers.
4191 # On the NeXT, cc -E runs the code through the compiler's parser,
4192 # not just through cpp. "Syntax error" is here to catch this case.
4193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4196 # include <limits.h>
4198 # include <assert.h>
4202 if ac_fn_c_try_cpp
"$LINENO"; then :
4205 # Broken: fails on valid input.
4208 rm -f conftest.err conftest.i conftest.
$ac_ext
4210 # OK, works on sane cases. Now check whether nonexistent headers
4211 # can be detected and how.
4212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4214 #include <ac_nonexistent.h>
4216 if ac_fn_c_try_cpp
"$LINENO"; then :
4217 # Broken: success on invalid input.
4220 # Passes both tests.
4224 rm -f conftest.err conftest.i conftest.
$ac_ext
4227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4228 rm -f conftest.i conftest.err conftest.
$ac_ext
4229 if $ac_preproc_ok; then :
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4242 $as_echo "$CPP" >&6; }
4244 for ac_c_preproc_warn_flag
in '' yes
4246 # Use a header file that comes with gcc, so configuring glibc
4247 # with a fresh cross-compiler works.
4248 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4249 # <limits.h> exists even on freestanding compilers.
4250 # On the NeXT, cc -E runs the code through the compiler's parser,
4251 # not just through cpp. "Syntax error" is here to catch this case.
4252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4255 # include <limits.h>
4257 # include <assert.h>
4261 if ac_fn_c_try_cpp
"$LINENO"; then :
4264 # Broken: fails on valid input.
4267 rm -f conftest.err conftest.i conftest.
$ac_ext
4269 # OK, works on sane cases. Now check whether nonexistent headers
4270 # can be detected and how.
4271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4273 #include <ac_nonexistent.h>
4275 if ac_fn_c_try_cpp
"$LINENO"; then :
4276 # Broken: success on invalid input.
4279 # Passes both tests.
4283 rm -f conftest.err conftest.i conftest.
$ac_ext
4286 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4287 rm -f conftest.i conftest.err conftest.
$ac_ext
4288 if $ac_preproc_ok; then :
4291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4293 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4294 See \`config.log' for more details" "$LINENO" 5; }
4298 ac_cpp
='$CPP $CPPFLAGS'
4299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4304 # Check for a compatible awk
4305 for ac_prog
in gawk nawk
4307 # Extract the first word of "$ac_prog", so it can be a program name with args.
4308 set dummy
$ac_prog; ac_word
=$2
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4310 $as_echo_n "checking for $ac_word... " >&6; }
4311 if ${ac_cv_prog_AWK+:} false
; then :
4312 $as_echo_n "(cached) " >&6
4314 if test -n "$AWK"; then
4315 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4321 test -z "$as_dir" && as_dir
=.
4322 for ac_exec_ext
in '' $ac_executable_extensions; do
4323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4324 ac_cv_prog_AWK
="$ac_prog"
4325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4335 if test -n "$AWK"; then
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4337 $as_echo "$AWK" >&6; }
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4344 test -n "$AWK" && break
4347 if test "$AWK" = ""; then
4348 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4350 # Extract the first word of "mmake", so it can be a program name with args.
4351 set dummy mmake
; ac_word
=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if ${ac_cv_prog_MMAKE+:} false
; then :
4355 $as_echo_n "(cached) " >&6
4357 if test -n "$MMAKE"; then
4358 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4364 test -z "$as_dir" && as_dir
=.
4365 for ac_exec_ext
in '' $ac_executable_extensions; do
4366 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4367 ac_cv_prog_MMAKE
="mmake "
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 MMAKE
=$ac_cv_prog_MMAKE
4378 if test -n "$MMAKE"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4380 $as_echo "$MMAKE" >&6; }
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4388 # Perform some default variable assignments. Note all of these will be
4389 # Regenerated from the script, so there is no need to cache them.
4391 aros_host_cpp
="$CPP"
4393 aros_host_cxx
="$CXX"
4394 if test "$GCC" = "yes"; then
4395 aros_gcc_ld
=`$CC -print-prog-name=ld`
4396 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4397 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399 $as_echo_n "checking for $ac_word... " >&6; }
4400 if ${ac_cv_path_aros_host_ld+:} false
; then :
4401 $as_echo_n "(cached) " >&6
4403 case $aros_host_ld in
4405 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4409 for as_dir
in `dirname $aros_gcc_ld`
4412 test -z "$as_dir" && as_dir
=.
4413 for ac_exec_ext
in '' $ac_executable_extensions; do
4414 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4415 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4426 aros_host_ld
=$ac_cv_path_aros_host_ld
4427 if test -n "$aros_host_ld"; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4429 $as_echo "$aros_host_ld" >&6; }
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4437 if test "$aros_host_ld" = ""; then
4438 # Extract the first word of "ld", so it can be a program name with args.
4439 set dummy ld
; ac_word
=$2
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441 $as_echo_n "checking for $ac_word... " >&6; }
4442 if ${ac_cv_path_aros_host_ld+:} false
; then :
4443 $as_echo_n "(cached) " >&6
4445 case $aros_host_ld in
4447 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4454 test -z "$as_dir" && as_dir
=.
4455 for ac_exec_ext
in '' $ac_executable_extensions; do
4456 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4457 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4468 aros_host_ld
=$ac_cv_path_aros_host_ld
4469 if test -n "$aros_host_ld"; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4471 $as_echo "$aros_host_ld" >&6; }
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474 $as_echo "no" >&6; }
4479 if test "$aros_host_ld" = ""; then
4480 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4482 aros_host_make
="make"
4483 aros_host_cflags
="$CFLAGS"
4484 aros_host_cxxflags
="$CXXFLAGS"
4485 aros_host_ldflags
="$LDFLAGS"
4486 aros_host_debug
="-g -O0"
4487 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4488 aros_host_mkargs
="--no-print-directory"
4489 aros_host_exe_suffix
="$EXEEXT"
4490 aros_host_lib_suffix
=""
4492 # Ignore all compliance, AROS ROMs = 0
4493 # KickStart v1.0 = 30
4494 # KickStart v1.3 = 34
4495 # KickStart v2.0 = 37
4496 # KickStart v3.0 = 39
4497 # KickStart v3.1 = 40
4499 aros_amigaos_compliance
=0
4501 for ac_prog
in aclocal aclocal19 aclocal-1.9
4503 # Extract the first word of "$ac_prog", so it can be a program name with args.
4504 set dummy
$ac_prog; ac_word
=$2
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4506 $as_echo_n "checking for $ac_word... " >&6; }
4507 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4508 $as_echo_n "(cached) " >&6
4510 if test -n "$aros_host_aclocal"; then
4511 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4517 test -z "$as_dir" && as_dir
=.
4518 for ac_exec_ext
in '' $ac_executable_extensions; do
4519 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4520 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4530 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4531 if test -n "$aros_host_aclocal"; then
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4533 $as_echo "$aros_host_aclocal" >&6; }
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4536 $as_echo "no" >&6; }
4540 test -n "$aros_host_aclocal" && break
4543 for ac_prog
in autoconf autoconf259 autoconf253
4545 # Extract the first word of "$ac_prog", so it can be a program name with args.
4546 set dummy
$ac_prog; ac_word
=$2
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4548 $as_echo_n "checking for $ac_word... " >&6; }
4549 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4550 $as_echo_n "(cached) " >&6
4552 if test -n "$aros_host_autoconf"; then
4553 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4559 test -z "$as_dir" && as_dir
=.
4560 for ac_exec_ext
in '' $ac_executable_extensions; do
4561 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4562 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4572 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4573 if test -n "$aros_host_autoconf"; then
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4575 $as_echo "$aros_host_autoconf" >&6; }
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4578 $as_echo "no" >&6; }
4582 test -n "$aros_host_autoconf" && break
4585 for ac_prog
in autoheader autoheader259 autoheader253
4587 # Extract the first word of "$ac_prog", so it can be a program name with args.
4588 set dummy
$ac_prog; ac_word
=$2
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4590 $as_echo_n "checking for $ac_word... " >&6; }
4591 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4592 $as_echo_n "(cached) " >&6
4594 if test -n "$aros_host_autoheader"; then
4595 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4601 test -z "$as_dir" && as_dir
=.
4602 for ac_exec_ext
in '' $ac_executable_extensions; do
4603 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4604 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4614 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4615 if test -n "$aros_host_autoheader"; then
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4617 $as_echo "$aros_host_autoheader" >&6; }
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4620 $as_echo "no" >&6; }
4624 test -n "$aros_host_autoheader" && break
4627 for ac_prog
in automake automake19 automake-1.9
4629 # Extract the first word of "$ac_prog", so it can be a program name with args.
4630 set dummy
$ac_prog; ac_word
=$2
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4632 $as_echo_n "checking for $ac_word... " >&6; }
4633 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4634 $as_echo_n "(cached) " >&6
4636 if test -n "$aros_host_automake"; then
4637 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4643 test -z "$as_dir" && as_dir
=.
4644 for ac_exec_ext
in '' $ac_executable_extensions; do
4645 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4646 ac_cv_prog_aros_host_automake
="$ac_prog"
4647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4656 aros_host_automake
=$ac_cv_prog_aros_host_automake
4657 if test -n "$aros_host_automake"; then
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4659 $as_echo "$aros_host_automake" >&6; }
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4662 $as_echo "no" >&6; }
4666 test -n "$aros_host_automake" && break
4670 if test "$aros_host_aclocal" = ""; then
4671 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4673 if test "$aros_host_automake" = ""; then
4674 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4677 case "$aros_host_cc" in
4679 aros_host_cc_pipe
=""
4682 aros_host_cc_pipe
="-pipe"
4685 aros_host_cc_pipe
=""
4688 aros_host_cc_pipe
=""
4692 aros_kernel_cc_includes
=""
4693 aros_target_cc_includes
=""
4696 # ----------------------------------------------------------------------------------------
4697 # Host-specific defaults
4699 # This is the main host configuration section. It is where the host
4700 # can change the values of any variables it needs to change. We do
4701 # not look at anything that compiles to the target yet, we'll get
4706 aros_host_arch
="aros"
4707 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4710 aros_host_cpu
="i386"
4713 aros_host_cpu
="x86_64"
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4720 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4721 aros_host_cpu
="$host_cpu"
4727 aros_host_arch
="linux"
4728 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4729 android_build_os
="linux-x86"
4730 android_tool
="android"
4731 default_android_sdk
="/opt/android-sdk-linux_x86"
4734 aros_host_cpu
="i386"
4737 aros_host_cpu
="x86_64"
4740 aros_host_cpu
="m68k"
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4750 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4751 aros_host_cpu
="$host_cpu"
4757 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4758 aros_host_make
="gmake"
4759 aros_host_arch
="freebsd"
4760 aros_host_cpu
="i386"
4762 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4766 aros_object_format
="elf_i386"
4770 aros_object_format
="elf_i386_fbsd"
4777 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4778 aros_host_arch
="darwin"
4781 android_build_os
="darwin-x86"
4782 android_tool
="android"
4783 default_android_sdk
="/android-sdk-mac_x86"
4786 aros_host_cpu
="i386"
4789 aros_host_cpu
="x86_64"
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4796 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4797 aros_host_cpu
="$host_cpu"
4801 aros_host_ldflags
="$aros_host_ldflags -liconv"
4806 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4807 aros_host_make
="gmake"
4808 aros_host_arch
="dragonfly"
4811 aros_host_cpu
="i386"
4814 aros_host_cpu
="x86_64"
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4818 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4819 aros_host_cpu
="$host_cpu"
4825 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4826 aros_host_make
="gmake"
4827 aros_host_arch
="netbsd"
4830 aros_host_cpu
="i386"
4833 aros_host_cpu
="m68k"
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4837 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4838 aros_host_cpu
="$host_cpu"
4841 aros_host_lib_suffix
=".0.0"
4845 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4846 aros_host_make
="gmake"
4847 aros_host_arch
="openbsd"
4850 aros_host_cpu
="i386"
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
="solaris"
4862 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4865 aros_host_cpu
="i386"
4868 aros_host_cpu
="sparc"
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4872 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4873 aros_host_cpu
="$host_cpu"
4879 aros_host_arch
="morphos"
4885 aros_host_arch
="amiga"
4891 TOUCH
="/gg/bin/touch"
4894 aros_host_cpu
="m68k"
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4901 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4902 aros_host_cpu
="$host_cpu"
4908 aros_host_arch
="cygwin"
4909 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4911 android_build_os
="windows"
4912 android_tool
="android.bat"
4913 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4917 aros_host_cpu
="i386"
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4921 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4922 aros_host_cpu
="$host_cpu"
4928 aros_host_arch
="mingw32"
4929 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4931 android_build_os
="windows"
4932 android_tool
="android.bat"
4933 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4939 $as_echo_n "checking for Windows native gcc target... " >&6; }
4940 host_cpu
=`gcc -dumpmachine`
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4942 $as_echo "$host_cpu" >&6; }
4949 aros_host_cpu
="i386"
4953 aros_host_cpu
="i386"
4957 aros_host_cpu
="x86_64"
4958 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4963 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4964 aros_host_cpu
="$host_cpu"
4969 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4973 # Extract the first word of "ar", so it can be a program name with args.
4974 set dummy
ar; ac_word
=$2
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 $as_echo_n "checking for $ac_word... " >&6; }
4977 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4978 $as_echo_n "(cached) " >&6
4980 if test -n "$aros_host_ar"; then
4981 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4987 test -z "$as_dir" && as_dir
=.
4988 for ac_exec_ext
in '' $ac_executable_extensions; do
4989 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4990 ac_cv_prog_aros_host_ar
="ar cr"
4991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5000 aros_host_ar
=$ac_cv_prog_aros_host_ar
5001 if test -n "$aros_host_ar"; then
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
5003 $as_echo "$aros_host_ar" >&6; }
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 $as_echo "no" >&6; }
5010 if test "$aros_host_ar" = ""; then
5011 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
5013 # Extract the first word of "ranlib", so it can be a program name with args.
5014 set dummy ranlib
; ac_word
=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
5018 $as_echo_n "(cached) " >&6
5020 if test -n "$aros_host_ranlib"; then
5021 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
5023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5027 test -z "$as_dir" && as_dir
=.
5028 for ac_exec_ext
in '' $ac_executable_extensions; do
5029 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5030 ac_cv_prog_aros_host_ranlib
="ranlib "
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5040 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
5041 if test -n "$aros_host_ranlib"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
5043 $as_echo "$aros_host_ranlib" >&6; }
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5050 if test "$aros_host_ranlib" = ""; then
5051 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5053 # Extract the first word of "strip", so it can be a program name with args.
5054 set dummy strip
; ac_word
=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5058 $as_echo_n "(cached) " >&6
5060 if test -n "$aros_host_strip"; then
5061 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5067 test -z "$as_dir" && as_dir
=.
5068 for ac_exec_ext
in '' $ac_executable_extensions; do
5069 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5070 ac_cv_prog_aros_host_strip
="strip "
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080 aros_host_strip
=$ac_cv_prog_aros_host_strip
5081 if test -n "$aros_host_strip"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5083 $as_echo "$aros_host_strip" >&6; }
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5090 if test "$aros_host_strip" = ""; then
5091 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5094 # Extract the first word of "rm", so it can be a program name with args.
5095 set dummy
rm; ac_word
=$2
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5097 $as_echo_n "checking for $ac_word... " >&6; }
5098 if ${ac_cv_prog_RM+:} false
; then :
5099 $as_echo_n "(cached) " >&6
5101 if test -n "$RM"; then
5102 ac_cv_prog_RM
="$RM" # Let the user override the test.
5104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5108 test -z "$as_dir" && as_dir
=.
5109 for ac_exec_ext
in '' $ac_executable_extensions; do
5110 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5111 ac_cv_prog_RM
="rm -rf"
5112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 if test -n "$RM"; then
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5124 $as_echo "$RM" >&6; }
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5131 if test "$RM" = ""; then
5132 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5134 # Extract the first word of "cp", so it can be a program name with args.
5135 set dummy
cp; ac_word
=$2
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5137 $as_echo_n "checking for $ac_word... " >&6; }
5138 if ${ac_cv_prog_CP+:} false
; then :
5139 $as_echo_n "(cached) " >&6
5141 if test -n "$CP"; then
5142 ac_cv_prog_CP
="$CP" # Let the user override the test.
5144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5148 test -z "$as_dir" && as_dir
=.
5149 for ac_exec_ext
in '' $ac_executable_extensions; do
5150 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 if test -n "$CP"; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5164 $as_echo "$CP" >&6; }
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5167 $as_echo "no" >&6; }
5171 if test "$CP" = ""; then
5172 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5174 # Extract the first word of "mv", so it can be a program name with args.
5175 set dummy
mv; ac_word
=$2
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 $as_echo_n "checking for $ac_word... " >&6; }
5178 if ${ac_cv_prog_MV+:} false
; then :
5179 $as_echo_n "(cached) " >&6
5181 if test -n "$MV"; then
5182 ac_cv_prog_MV
="$MV" # Let the user override the test.
5184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5188 test -z "$as_dir" && as_dir
=.
5189 for ac_exec_ext
in '' $ac_executable_extensions; do
5190 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 if test -n "$MV"; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5204 $as_echo "$MV" >&6; }
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5211 if test "$MV" = ""; then
5212 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5214 # Extract the first word of "echo", so it can be a program name with args.
5215 set dummy
echo; ac_word
=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; }
5218 if ${ac_cv_prog_ECHO+:} false
; then :
5219 $as_echo_n "(cached) " >&6
5221 if test -n "$ECHO"; then
5222 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5228 test -z "$as_dir" && as_dir
=.
5229 for ac_exec_ext
in '' $ac_executable_extensions; do
5230 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5231 ac_cv_prog_ECHO
="echo "
5232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5241 ECHO
=$ac_cv_prog_ECHO
5242 if test -n "$ECHO"; then
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5244 $as_echo "$ECHO" >&6; }
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5247 $as_echo "no" >&6; }
5251 if test "$ECHO" = ""; then
5252 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5254 # Extract the first word of "mkdir", so it can be a program name with args.
5255 set dummy mkdir
; ac_word
=$2
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5257 $as_echo_n "checking for $ac_word... " >&6; }
5258 if ${ac_cv_prog_MKDIR+:} false
; then :
5259 $as_echo_n "(cached) " >&6
5261 if test -n "$MKDIR"; then
5262 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5268 test -z "$as_dir" && as_dir
=.
5269 for ac_exec_ext
in '' $ac_executable_extensions; do
5270 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5271 ac_cv_prog_MKDIR
="mkdir -p"
5272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 MKDIR
=$ac_cv_prog_MKDIR
5282 if test -n "$MKDIR"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5284 $as_echo "$MKDIR" >&6; }
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5291 if test "$MKDIR" = ""; then
5292 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5294 # Extract the first word of "touch", so it can be a program name with args.
5295 set dummy
touch; ac_word
=$2
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5297 $as_echo_n "checking for $ac_word... " >&6; }
5298 if ${ac_cv_prog_TOUCH+:} false
; then :
5299 $as_echo_n "(cached) " >&6
5301 if test -n "$TOUCH"; then
5302 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5308 test -z "$as_dir" && as_dir
=.
5309 for ac_exec_ext
in '' $ac_executable_extensions; do
5310 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5311 ac_cv_prog_TOUCH
="touch "
5312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5321 TOUCH
=$ac_cv_prog_TOUCH
5322 if test -n "$TOUCH"; then
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5324 $as_echo "$TOUCH" >&6; }
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5327 $as_echo "no" >&6; }
5331 if test "$TOUCH" = ""; then
5332 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5334 # Extract the first word of "sort", so it can be a program name with args.
5335 set dummy
sort; ac_word
=$2
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5337 $as_echo_n "checking for $ac_word... " >&6; }
5338 if ${ac_cv_prog_SORT+:} false
; then :
5339 $as_echo_n "(cached) " >&6
5341 if test -n "$SORT"; then
5342 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5348 test -z "$as_dir" && as_dir
=.
5349 for ac_exec_ext
in '' $ac_executable_extensions; do
5350 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5351 ac_cv_prog_SORT
="sort "
5352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5361 SORT
=$ac_cv_prog_SORT
5362 if test -n "$SORT"; then
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5364 $as_echo "$SORT" >&6; }
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5367 $as_echo "no" >&6; }
5371 if test "$SORT" = ""; then
5372 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5374 # Extract the first word of "uniq", so it can be a program name with args.
5375 set dummy
uniq; ac_word
=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if ${ac_cv_prog_UNIQ+:} false
; then :
5379 $as_echo_n "(cached) " >&6
5381 if test -n "$UNIQ"; then
5382 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5388 test -z "$as_dir" && as_dir
=.
5389 for ac_exec_ext
in '' $ac_executable_extensions; do
5390 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5391 ac_cv_prog_UNIQ
="uniq "
5392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5401 UNIQ
=$ac_cv_prog_UNIQ
5402 if test -n "$UNIQ"; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5404 $as_echo "$UNIQ" >&6; }
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5411 if test "$UNIQ" = ""; then
5412 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5414 # Extract the first word of "true", so it can be a program name with args.
5415 set dummy true
; ac_word
=$2
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5417 $as_echo_n "checking for $ac_word... " >&6; }
5418 if ${ac_cv_prog_NOP+:} false
; then :
5419 $as_echo_n "(cached) " >&6
5421 if test -n "$NOP"; then
5422 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5428 test -z "$as_dir" && as_dir
=.
5429 for ac_exec_ext
in '' $ac_executable_extensions; do
5430 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5431 ac_cv_prog_NOP
="true "
5432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5442 if test -n "$NOP"; then
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5444 $as_echo "$NOP" >&6; }
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5447 $as_echo "no" >&6; }
5451 if test "$NOP" = ""; then
5452 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5454 # Extract the first word of "cat", so it can be a program name with args.
5455 set dummy
cat; ac_word
=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if ${ac_cv_prog_CAT+:} false
; then :
5459 $as_echo_n "(cached) " >&6
5461 if test -n "$CAT"; then
5462 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5468 test -z "$as_dir" && as_dir
=.
5469 for ac_exec_ext
in '' $ac_executable_extensions; do
5470 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_CAT
="cat "
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482 if test -n "$CAT"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5484 $as_echo "$CAT" >&6; }
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5491 if test "$CAT" = ""; then
5492 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5494 # Extract the first word of "bison", so it can be a program name with args.
5495 set dummy bison
; ac_word
=$2
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497 $as_echo_n "checking for $ac_word... " >&6; }
5498 if ${ac_cv_prog_BISON+:} false
; then :
5499 $as_echo_n "(cached) " >&6
5501 if test -n "$BISON"; then
5502 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5508 test -z "$as_dir" && as_dir
=.
5509 for ac_exec_ext
in '' $ac_executable_extensions; do
5510 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5511 ac_cv_prog_BISON
="bison "
5512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 BISON
=$ac_cv_prog_BISON
5522 if test -n "$BISON"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5524 $as_echo "$BISON" >&6; }
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527 $as_echo "no" >&6; }
5531 if test "$BISON" = ""; then
5532 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5534 # Extract the first word of "flex", so it can be a program name with args.
5535 set dummy flex
; ac_word
=$2
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5537 $as_echo_n "checking for $ac_word... " >&6; }
5538 if ${ac_cv_prog_FLEX+:} false
; then :
5539 $as_echo_n "(cached) " >&6
5541 if test -n "$FLEX"; then
5542 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5548 test -z "$as_dir" && as_dir
=.
5549 for ac_exec_ext
in '' $ac_executable_extensions; do
5550 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5551 ac_cv_prog_FLEX
="flex "
5552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 FLEX
=$ac_cv_prog_FLEX
5562 if test -n "$FLEX"; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5564 $as_echo "$FLEX" >&6; }
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5567 $as_echo "no" >&6; }
5571 if test "$FLEX" = ""; then
5572 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5574 # Extract the first word of "pngtopnm", so it can be a program name with args.
5575 set dummy pngtopnm
; ac_word
=$2
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5577 $as_echo_n "checking for $ac_word... " >&6; }
5578 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5579 $as_echo_n "(cached) " >&6
5581 if test -n "$PNGTOPNM"; then
5582 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5588 test -z "$as_dir" && as_dir
=.
5589 for ac_exec_ext
in '' $ac_executable_extensions; do
5590 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5591 ac_cv_prog_PNGTOPNM
="pngtopnm "
5592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5602 if test -n "$PNGTOPNM"; then
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5604 $as_echo "$PNGTOPNM" >&6; }
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5607 $as_echo "no" >&6; }
5611 if test "$PNGTOPNM" = ""; then
5612 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5614 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5615 set dummy ppmtoilbm
; ac_word
=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5619 $as_echo_n "(cached) " >&6
5621 if test -n "$PPMTOILBM"; then
5622 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5628 test -z "$as_dir" && as_dir
=.
5629 for ac_exec_ext
in '' $ac_executable_extensions; do
5630 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5631 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5642 if test -n "$PPMTOILBM"; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5644 $as_echo "$PPMTOILBM" >&6; }
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5651 if test "$PPMTOILBM" = ""; then
5652 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5654 # Extract the first word of "sed", so it can be a program name with args.
5655 set dummy
sed; ac_word
=$2
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5657 $as_echo_n "checking for $ac_word... " >&6; }
5658 if ${ac_cv_prog_SED+:} false
; then :
5659 $as_echo_n "(cached) " >&6
5661 if test -n "$SED"; then
5662 ac_cv_prog_SED
="$SED" # Let the user override the test.
5664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5668 test -z "$as_dir" && as_dir
=.
5669 for ac_exec_ext
in '' $ac_executable_extensions; do
5670 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5671 ac_cv_prog_SED
="sed "
5672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5682 if test -n "$SED"; then
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5684 $as_echo "$SED" >&6; }
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5687 $as_echo "no" >&6; }
5691 if test "$SED" = ""; then
5692 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5694 # Extract the first word of "chmod", so it can be a program name with args.
5695 set dummy
chmod; ac_word
=$2
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5697 $as_echo_n "checking for $ac_word... " >&6; }
5698 if ${ac_cv_prog_CHMOD+:} false
; then :
5699 $as_echo_n "(cached) " >&6
5701 if test -n "$CHMOD"; then
5702 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5708 test -z "$as_dir" && as_dir
=.
5709 for ac_exec_ext
in '' $ac_executable_extensions; do
5710 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5711 ac_cv_prog_CHMOD
="chmod "
5712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5721 CHMOD
=$ac_cv_prog_CHMOD
5722 if test -n "$CHMOD"; then
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5724 $as_echo "$CHMOD" >&6; }
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5727 $as_echo "no" >&6; }
5731 if test "$CHMOD" = ""; then
5732 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5734 # Extract the first word of "patch", so it can be a program name with args.
5735 set dummy
patch; ac_word
=$2
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737 $as_echo_n "checking for $ac_word... " >&6; }
5738 if ${ac_cv_prog_PATCH+:} false
; then :
5739 $as_echo_n "(cached) " >&6
5741 if test -n "$PATCH"; then
5742 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5748 test -z "$as_dir" && as_dir
=.
5749 for ac_exec_ext
in '' $ac_executable_extensions; do
5750 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5751 ac_cv_prog_PATCH
="patch "
5752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5761 PATCH
=$ac_cv_prog_PATCH
5762 if test -n "$PATCH"; then
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5764 $as_echo "$PATCH" >&6; }
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767 $as_echo "no" >&6; }
5771 if test "$PATCH" = ""; then
5772 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5781 if test -n "$PYTHON"; then
5782 # If the user set $PYTHON, use it and don't search something else.
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
5784 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
5786 # split strings by '.' and convert to numeric. Append some zeros
5787 # because we need at least 4 digits for the hex conversion.
5788 # map returns an iterator in Python 3.0 and a list in 2.x
5789 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5791 # xrange is not present in Python 3.0 and range returns an iterator
5792 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5793 sys.exit(sys.hexversion < minverhex)"
5794 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5795 ($PYTHON -c "$prog") >&5 2>&5
5797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); }; then :
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5800 $as_echo "yes" >&6; }
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5803 $as_echo "no" >&6; }
5804 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
5806 am_display_PYTHON
=$PYTHON
5808 # Otherwise, try each interpreter until we find one that satisfies
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5811 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5812 if ${am_cv_pathless_PYTHON+:} false
; then :
5813 $as_echo_n "(cached) " >&6
5816 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
5817 test "$am_cv_pathless_PYTHON" = none
&& break
5819 # split strings by '.' and convert to numeric. Append some zeros
5820 # because we need at least 4 digits for the hex conversion.
5821 # map returns an iterator in Python 3.0 and a list in 2.x
5822 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5824 # xrange is not present in Python 3.0 and range returns an iterator
5825 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5826 sys.exit(sys.hexversion < minverhex)"
5827 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5828 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); }; then :
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5837 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5838 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5839 if test "$am_cv_pathless_PYTHON" = none
; then
5842 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5843 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5845 $as_echo_n "checking for $ac_word... " >&6; }
5846 if ${ac_cv_path_PYTHON+:} false
; then :
5847 $as_echo_n "(cached) " >&6
5851 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5858 test -z "$as_dir" && as_dir
=.
5859 for ac_exec_ext
in '' $ac_executable_extensions; do
5860 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5861 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5872 PYTHON
=$ac_cv_path_PYTHON
5873 if test -n "$PYTHON"; then
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5875 $as_echo "$PYTHON" >&6; }
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5878 $as_echo "no" >&6; }
5883 am_display_PYTHON
=$am_cv_pathless_PYTHON
5887 if test "$PYTHON" = :; then
5888 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5893 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5894 if ${am_cv_python_version+:} false
; then :
5895 $as_echo_n "(cached) " >&6
5897 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5900 $as_echo "$am_cv_python_version" >&6; }
5901 PYTHON_VERSION
=$am_cv_python_version
5905 PYTHON_PREFIX
='${prefix}'
5907 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5912 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5913 if ${am_cv_python_platform+:} false
; then :
5914 $as_echo_n "(cached) " >&6
5916 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5919 $as_echo "$am_cv_python_platform" >&6; }
5920 PYTHON_PLATFORM
=$am_cv_python_platform
5923 # Just factor out some code duplication.
5924 am_python_setup_sysconfig
="\
5926 # Prefer sysconfig over distutils.sysconfig, for better compatibility
5927 # with python 3.x. See automake bug#10227.
5931 can_use_sysconfig = 0
5933 can_use_sysconfig = 1
5934 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
5935 # <https://github.com/pypa/virtualenv/issues/118>
5937 from platform import python_implementation
5938 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
5939 can_use_sysconfig = 0
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5945 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5946 if ${am_cv_python_pythondir+:} false
; then :
5947 $as_echo_n "(cached) " >&6
5949 if test "x$prefix" = xNONE
5951 am_py_prefix
=$ac_default_prefix
5953 am_py_prefix
=$prefix
5955 am_cv_python_pythondir
=`$PYTHON -c "
5956 $am_python_setup_sysconfig
5957 if can_use_sysconfig:
5958 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
5960 from distutils import sysconfig
5961 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
5962 sys.stdout.write(sitedir)"`
5963 case $am_cv_python_pythondir in
5965 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5966 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5969 case $am_py_prefix in
5972 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5980 $as_echo "$am_cv_python_pythondir" >&6; }
5981 pythondir
=$am_cv_python_pythondir
5985 pkgpythondir
=\
${pythondir}/$PACKAGE
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5989 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5990 if ${am_cv_python_pyexecdir+:} false
; then :
5991 $as_echo_n "(cached) " >&6
5993 if test "x$exec_prefix" = xNONE
5995 am_py_exec_prefix
=$am_py_prefix
5997 am_py_exec_prefix
=$exec_prefix
5999 am_cv_python_pyexecdir
=`$PYTHON -c "
6000 $am_python_setup_sysconfig
6001 if can_use_sysconfig:
6002 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
6004 from distutils import sysconfig
6005 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
6006 sys.stdout.write(sitedir)"`
6007 case $am_cv_python_pyexecdir in
6008 $am_py_exec_prefix*)
6009 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
6010 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
6013 case $am_py_exec_prefix in
6016 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6024 $as_echo "$am_cv_python_pyexecdir" >&6; }
6025 pyexecdir
=$am_cv_python_pyexecdir
6029 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6039 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6040 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6041 $as_echo_n "(cached) " >&6
6043 ac_check_lib_save_LIBS
=$LIBS
6045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6046 /* end confdefs.h. */
6048 /* Override any GCC internal prototype to avoid an error.
6049 Use char because int might match the return type of a GCC
6050 builtin and then its argument prototype would still apply. */
6054 char png_read_png ();
6058 return png_read_png ();
6063 if ac_fn_c_try_link
"$LINENO"; then :
6064 ac_cv_lib_png_png_read_png
=yes
6066 ac_cv_lib_png_png_read_png
=no
6068 rm -f core conftest.err conftest.
$ac_objext \
6069 conftest
$ac_exeext conftest.
$ac_ext
6070 LIBS
=$ac_check_lib_save_LIBS
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6073 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6074 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6075 cat >>confdefs.h
<<_ACEOF
6076 #define HAVE_LIBPNG 1
6083 if test "$ac_cv_lib_png_png_read_png" = ""; then
6084 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6097 # Check for some includes for the X11 HIDD and the kernel
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6100 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6101 if ${ac_cv_path_GREP+:} false
; then :
6102 $as_echo_n "(cached) " >&6
6104 if test -z "$GREP"; then
6105 ac_path_GREP_found
=false
6106 # Loop through the user's path and test for each of PROGNAME-LIST
6107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6108 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6111 test -z "$as_dir" && as_dir
=.
6112 for ac_prog
in grep ggrep
; do
6113 for ac_exec_ext
in '' $ac_executable_extensions; do
6114 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6115 as_fn_executable_p
"$ac_path_GREP" ||
continue
6116 # Check for GNU ac_path_GREP and select it if it is found.
6117 # Check for GNU $ac_path_GREP
6118 case `"$ac_path_GREP" --version 2>&1` in
6120 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6123 $as_echo_n 0123456789 >"conftest.in"
6126 cat "conftest.in" "conftest.in" >"conftest.tmp"
6127 mv "conftest.tmp" "conftest.in"
6128 cp "conftest.in" "conftest.nl"
6129 $as_echo 'GREP' >> "conftest.nl"
6130 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6131 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6132 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6133 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6134 # Best one so far, save it but keep looking for a better one
6135 ac_cv_path_GREP
="$ac_path_GREP"
6136 ac_path_GREP_max
=$ac_count
6138 # 10*(2^10) chars as input seems more than enough
6139 test $ac_count -gt 10 && break
6141 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6144 $ac_path_GREP_found && break 3
6149 if test -z "$ac_cv_path_GREP"; then
6150 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6153 ac_cv_path_GREP
=$GREP
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6158 $as_echo "$ac_cv_path_GREP" >&6; }
6159 GREP
="$ac_cv_path_GREP"
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6163 $as_echo_n "checking for egrep... " >&6; }
6164 if ${ac_cv_path_EGREP+:} false
; then :
6165 $as_echo_n "(cached) " >&6
6167 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6168 then ac_cv_path_EGREP
="$GREP -E"
6170 if test -z "$EGREP"; then
6171 ac_path_EGREP_found
=false
6172 # Loop through the user's path and test for each of PROGNAME-LIST
6173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6174 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6177 test -z "$as_dir" && as_dir
=.
6178 for ac_prog
in egrep; do
6179 for ac_exec_ext
in '' $ac_executable_extensions; do
6180 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6181 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6182 # Check for GNU ac_path_EGREP and select it if it is found.
6183 # Check for GNU $ac_path_EGREP
6184 case `"$ac_path_EGREP" --version 2>&1` in
6186 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6189 $as_echo_n 0123456789 >"conftest.in"
6192 cat "conftest.in" "conftest.in" >"conftest.tmp"
6193 mv "conftest.tmp" "conftest.in"
6194 cp "conftest.in" "conftest.nl"
6195 $as_echo 'EGREP' >> "conftest.nl"
6196 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6197 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6198 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6199 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6200 # Best one so far, save it but keep looking for a better one
6201 ac_cv_path_EGREP
="$ac_path_EGREP"
6202 ac_path_EGREP_max
=$ac_count
6204 # 10*(2^10) chars as input seems more than enough
6205 test $ac_count -gt 10 && break
6207 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6210 $ac_path_EGREP_found && break 3
6215 if test -z "$ac_cv_path_EGREP"; then
6216 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6219 ac_cv_path_EGREP
=$EGREP
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6225 $as_echo "$ac_cv_path_EGREP" >&6; }
6226 EGREP
="$ac_cv_path_EGREP"
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6230 $as_echo_n "checking for ANSI C header files... " >&6; }
6231 if ${ac_cv_header_stdc+:} false
; then :
6232 $as_echo_n "(cached) " >&6
6234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6235 /* end confdefs.h. */
6249 if ac_fn_c_try_compile
"$LINENO"; then :
6250 ac_cv_header_stdc
=yes
6252 ac_cv_header_stdc
=no
6254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6256 if test $ac_cv_header_stdc = yes; then
6257 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h. */
6263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6264 $EGREP "memchr" >/dev
/null
2>&1; then :
6267 ac_cv_header_stdc
=no
6273 if test $ac_cv_header_stdc = yes; then
6274 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6276 /* end confdefs.h. */
6280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6281 $EGREP "free" >/dev
/null
2>&1; then :
6284 ac_cv_header_stdc
=no
6290 if test $ac_cv_header_stdc = yes; then
6291 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6292 if test "$cross_compiling" = yes; then :
6295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6296 /* end confdefs.h. */
6299 #if ((' ' & 0x0FF) == 0x020)
6300 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6301 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6303 # define ISLOWER(c) \
6304 (('a' <= (c) && (c) <= 'i') \
6305 || ('j' <= (c) && (c) <= 'r') \
6306 || ('s' <= (c) && (c) <= 'z'))
6307 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6310 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6315 for (i = 0; i < 256; i++)
6316 if (XOR (islower (i), ISLOWER (i))
6317 || toupper (i) != TOUPPER (i))
6322 if ac_fn_c_try_run
"$LINENO"; then :
6325 ac_cv_header_stdc
=no
6327 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6328 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6334 $as_echo "$ac_cv_header_stdc" >&6; }
6335 if test $ac_cv_header_stdc = yes; then
6337 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6341 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6342 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6343 inttypes.h stdint.h unistd.h
6345 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6346 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6348 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6349 cat >>confdefs.h
<<_ACEOF
6350 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6358 for ac_header
in sys
/ipc.h sys
/shm.h \
6359 sys
/mmap.h sys
/mman.h sysexits.h \
6360 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6363 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6364 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6365 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6366 cat >>confdefs.h
<<_ACEOF
6367 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6375 for ac_header
in sys
/mount.h
6377 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6379 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6380 cat >>confdefs.h
<<_ACEOF
6381 #define HAVE_SYS_MOUNT_H 1
6390 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6391 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6393 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6394 if eval \
${$as_ac_Header+:} false
; then :
6395 $as_echo_n "(cached) " >&6
6397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6398 /* end confdefs.h. */
6399 #include <sys/types.h>
6411 if ac_fn_c_try_compile
"$LINENO"; then :
6412 eval "$as_ac_Header=yes"
6414 eval "$as_ac_Header=no"
6416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6418 eval ac_res
=\$
$as_ac_Header
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6420 $as_echo "$ac_res" >&6; }
6421 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6422 cat >>confdefs.h
<<_ACEOF
6423 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6426 ac_header_dirent
=$ac_hdr; break
6430 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6431 if test $ac_header_dirent = dirent.h
; then
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6433 $as_echo_n "checking for library containing opendir... " >&6; }
6434 if ${ac_cv_search_opendir+:} false
; then :
6435 $as_echo_n "(cached) " >&6
6437 ac_func_search_save_LIBS
=$LIBS
6438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6439 /* end confdefs.h. */
6441 /* Override any GCC internal prototype to avoid an error.
6442 Use char because int might match the return type of a GCC
6443 builtin and then its argument prototype would still apply. */
6456 for ac_lib
in '' dir
; do
6457 if test -z "$ac_lib"; then
6458 ac_res
="none required"
6461 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6463 if ac_fn_c_try_link
"$LINENO"; then :
6464 ac_cv_search_opendir
=$ac_res
6466 rm -f core conftest.err conftest.
$ac_objext \
6468 if ${ac_cv_search_opendir+:} false
; then :
6472 if ${ac_cv_search_opendir+:} false
; then :
6475 ac_cv_search_opendir
=no
6478 LIBS
=$ac_func_search_save_LIBS
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6481 $as_echo "$ac_cv_search_opendir" >&6; }
6482 ac_res
=$ac_cv_search_opendir
6483 if test "$ac_res" != no
; then :
6484 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6490 $as_echo_n "checking for library containing opendir... " >&6; }
6491 if ${ac_cv_search_opendir+:} false
; then :
6492 $as_echo_n "(cached) " >&6
6494 ac_func_search_save_LIBS
=$LIBS
6495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6496 /* end confdefs.h. */
6498 /* Override any GCC internal prototype to avoid an error.
6499 Use char because int might match the return type of a GCC
6500 builtin and then its argument prototype would still apply. */
6513 for ac_lib
in '' x
; do
6514 if test -z "$ac_lib"; then
6515 ac_res
="none required"
6518 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6520 if ac_fn_c_try_link
"$LINENO"; then :
6521 ac_cv_search_opendir
=$ac_res
6523 rm -f core conftest.err conftest.
$ac_objext \
6525 if ${ac_cv_search_opendir+:} false
; then :
6529 if ${ac_cv_search_opendir+:} false
; then :
6532 ac_cv_search_opendir
=no
6535 LIBS
=$ac_func_search_save_LIBS
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6538 $as_echo "$ac_cv_search_opendir" >&6; }
6539 ac_res
=$ac_cv_search_opendir
6540 if test "$ac_res" != no
; then :
6541 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6548 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6549 if ${ac_cv_header_stat_broken+:} false
; then :
6550 $as_echo_n "(cached) " >&6
6552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6553 /* end confdefs.h. */
6554 #include <sys/types.h>
6555 #include <sys/stat.h>
6557 #if defined S_ISBLK && defined S_IFDIR
6558 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6561 #if defined S_ISBLK && defined S_IFCHR
6562 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6565 #if defined S_ISLNK && defined S_IFREG
6566 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6569 #if defined S_ISSOCK && defined S_IFREG
6570 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6574 if ac_fn_c_try_compile
"$LINENO"; then :
6575 ac_cv_header_stat_broken
=no
6577 ac_cv_header_stat_broken
=yes
6579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6582 $as_echo "$ac_cv_header_stat_broken" >&6; }
6583 if test $ac_cv_header_stat_broken = yes; then
6585 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6590 $as_echo_n "checking for ANSI C header files... " >&6; }
6591 if ${ac_cv_header_stdc+:} false
; then :
6592 $as_echo_n "(cached) " >&6
6594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6595 /* end confdefs.h. */
6609 if ac_fn_c_try_compile
"$LINENO"; then :
6610 ac_cv_header_stdc
=yes
6612 ac_cv_header_stdc
=no
6614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6616 if test $ac_cv_header_stdc = yes; then
6617 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6619 /* end confdefs.h. */
6623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6624 $EGREP "memchr" >/dev
/null
2>&1; then :
6627 ac_cv_header_stdc
=no
6633 if test $ac_cv_header_stdc = yes; then
6634 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6636 /* end confdefs.h. */
6640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6641 $EGREP "free" >/dev
/null
2>&1; then :
6644 ac_cv_header_stdc
=no
6650 if test $ac_cv_header_stdc = yes; then
6651 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6652 if test "$cross_compiling" = yes; then :
6655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6656 /* end confdefs.h. */
6659 #if ((' ' & 0x0FF) == 0x020)
6660 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6661 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6663 # define ISLOWER(c) \
6664 (('a' <= (c) && (c) <= 'i') \
6665 || ('j' <= (c) && (c) <= 'r') \
6666 || ('s' <= (c) && (c) <= 'z'))
6667 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6670 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6675 for (i = 0; i < 256; i++)
6676 if (XOR (islower (i), ISLOWER (i))
6677 || toupper (i) != TOUPPER (i))
6682 if ac_fn_c_try_run
"$LINENO"; then :
6685 ac_cv_header_stdc
=no
6687 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6688 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6694 $as_echo "$ac_cv_header_stdc" >&6; }
6695 if test $ac_cv_header_stdc = yes; then
6697 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6702 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6703 if ${ac_cv_header_sys_wait_h+:} false
; then :
6704 $as_echo_n "(cached) " >&6
6706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6707 /* end confdefs.h. */
6708 #include <sys/types.h>
6709 #include <sys/wait.h>
6711 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6714 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6722 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6727 if ac_fn_c_try_compile
"$LINENO"; then :
6728 ac_cv_header_sys_wait_h
=yes
6730 ac_cv_header_sys_wait_h
=no
6732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6735 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6736 if test $ac_cv_header_sys_wait_h = yes; then
6738 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6743 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6744 if ${ac_cv_header_time+:} false
; then :
6745 $as_echo_n "(cached) " >&6
6747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6748 /* end confdefs.h. */
6749 #include <sys/types.h>
6750 #include <sys/time.h>
6756 if ((struct tm *) 0)
6762 if ac_fn_c_try_compile
"$LINENO"; then :
6763 ac_cv_header_time
=yes
6765 ac_cv_header_time
=no
6767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6770 $as_echo "$ac_cv_header_time" >&6; }
6771 if test $ac_cv_header_time = yes; then
6773 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6777 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6778 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6780 cat >>confdefs.h
<<_ACEOF
6781 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6785 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6790 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6791 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6793 cat >>confdefs.h
<<_ACEOF
6794 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6798 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6801 case " $LIBOBJS " in
6802 *" fileblocks.$ac_objext "* ) ;;
6803 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6810 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6811 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6813 cat >>confdefs.h
<<_ACEOF
6814 #define HAVE_STRUCT_STAT_ST_RDEV 1
6818 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6824 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6825 if ${ac_cv_struct_tm+:} false
; then :
6826 $as_echo_n "(cached) " >&6
6828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6829 /* end confdefs.h. */
6830 #include <sys/types.h>
6837 int *p = &tm.tm_sec;
6843 if ac_fn_c_try_compile
"$LINENO"; then :
6844 ac_cv_struct_tm
=time.h
6846 ac_cv_struct_tm
=sys
/time.h
6848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6851 $as_echo "$ac_cv_struct_tm" >&6; }
6852 if test $ac_cv_struct_tm = sys
/time.h
; then
6854 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6858 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6859 #include <$ac_cv_struct_tm>
6862 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6864 cat >>confdefs.h
<<_ACEOF
6865 #define HAVE_STRUCT_TM_TM_ZONE 1
6871 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6873 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6876 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6878 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6884 cat >>confdefs.h
<<_ACEOF
6885 #define HAVE_DECL_TZNAME $ac_have_decl
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6889 $as_echo_n "checking for tzname... " >&6; }
6890 if ${ac_cv_var_tzname+:} false
; then :
6891 $as_echo_n "(cached) " >&6
6893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6894 /* end confdefs.h. */
6896 #if !HAVE_DECL_TZNAME
6897 extern char *tzname[];
6903 return tzname[0][0];
6908 if ac_fn_c_try_link
"$LINENO"; then :
6909 ac_cv_var_tzname
=yes
6913 rm -f core conftest.err conftest.
$ac_objext \
6914 conftest
$ac_exeext conftest.
$ac_ext
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6917 $as_echo "$ac_cv_var_tzname" >&6; }
6918 if test $ac_cv_var_tzname = yes; then
6920 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6925 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6926 if test "x$ac_cv_type_off_t" = xyes
; then :
6930 cat >>confdefs.h
<<_ACEOF
6931 #define off_t long int
6936 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6937 if test "x$ac_cv_type_pid_t" = xyes
; then :
6941 cat >>confdefs.h
<<_ACEOF
6947 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6948 if test "x$ac_cv_type_size_t" = xyes
; then :
6952 cat >>confdefs.h
<<_ACEOF
6953 #define size_t unsigned int
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6959 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6960 if ${ac_cv_type_uid_t+:} false
; then :
6961 $as_echo_n "(cached) " >&6
6963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6965 #include <sys/types.h>
6968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6969 $EGREP "uid_t" >/dev
/null
2>&1; then :
6970 ac_cv_type_uid_t
=yes
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6978 $as_echo "$ac_cv_type_uid_t" >&6; }
6979 if test $ac_cv_type_uid_t = no
; then
6981 $as_echo "#define uid_t int" >>confdefs.h
6984 $as_echo "#define gid_t int" >>confdefs.h
6989 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6990 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6992 cat >>confdefs.h
<<_ACEOF
6993 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7000 # Look for some functions
7001 for ac_func
in getpagesize kqueue statfs statvfs \
7002 clone kse_create rfork_thread thr_create sa_register \
7003 getcontext makecontext setcontext sigaltstack swapcontext
7005 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7006 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7007 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7008 cat >>confdefs.h
<<_ACEOF
7009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7019 for ac_header
in $ac_header_list
7021 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7022 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7024 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7025 cat >>confdefs.h
<<_ACEOF
7026 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7040 for ac_func
in getpagesize
7042 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7043 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7044 cat >>confdefs.h
<<_ACEOF
7045 #define HAVE_GETPAGESIZE 1
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7052 $as_echo_n "checking for working mmap... " >&6; }
7053 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7054 $as_echo_n "(cached) " >&6
7056 if test "$cross_compiling" = yes; then :
7057 ac_cv_func_mmap_fixed_mapped
=no
7059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7060 /* end confdefs.h. */
7061 $ac_includes_default
7062 /* malloc might have been renamed as rpl_malloc. */
7065 /* Thanks to Mike Haertel and Jim Avera for this test.
7066 Here is a matrix of mmap possibilities:
7067 mmap private not fixed
7068 mmap private fixed at somewhere currently unmapped
7069 mmap private fixed at somewhere already mapped
7070 mmap shared not fixed
7071 mmap shared fixed at somewhere currently unmapped
7072 mmap shared fixed at somewhere already mapped
7073 For private mappings, we should verify that changes cannot be read()
7074 back from the file, nor mmap's back from the file at a different
7075 address. (There have been systems where private was not correctly
7076 implemented like the infamous i386 svr4.0, and systems where the
7077 VM page cache was not coherent with the file system buffer cache
7078 like early versions of FreeBSD and possibly contemporary NetBSD.)
7079 For shared mappings, we should conversely verify that changes get
7080 propagated back to all the places they're supposed to be.
7082 Grep wants private fixed already mapped.
7083 The main things grep needs to know about mmap are:
7084 * does it exist and is it safe to write into the mmap'd area
7085 * how to use it (BSD variants) */
7088 #include <sys/mman.h>
7090 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7094 /* This mess was copied from the GNU getpagesize.h. */
7095 #ifndef HAVE_GETPAGESIZE
7096 # ifdef _SC_PAGESIZE
7097 # define getpagesize() sysconf(_SC_PAGESIZE)
7098 # else /* no _SC_PAGESIZE */
7099 # ifdef HAVE_SYS_PARAM_H
7100 # include <sys/param.h>
7101 # ifdef EXEC_PAGESIZE
7102 # define getpagesize() EXEC_PAGESIZE
7103 # else /* no EXEC_PAGESIZE */
7105 # define getpagesize() NBPG * CLSIZE
7108 # endif /* no CLSIZE */
7109 # else /* no NBPG */
7111 # define getpagesize() NBPC
7112 # else /* no NBPC */
7114 # define getpagesize() PAGESIZE
7115 # endif /* PAGESIZE */
7116 # endif /* no NBPC */
7117 # endif /* no NBPG */
7118 # endif /* no EXEC_PAGESIZE */
7119 # else /* no HAVE_SYS_PARAM_H */
7120 # define getpagesize() 8192 /* punt totally */
7121 # endif /* no HAVE_SYS_PARAM_H */
7122 # endif /* no _SC_PAGESIZE */
7124 #endif /* no HAVE_GETPAGESIZE */
7129 char *data, *data2, *data3;
7134 pagesize = getpagesize ();
7136 /* First, make a file with some known garbage in it. */
7137 data = (char *) malloc (pagesize);
7140 for (i = 0; i < pagesize; ++i)
7141 *(data + i) = rand ();
7143 fd = creat ("conftest.mmap", 0600);
7146 if (write (fd, data, pagesize) != pagesize)
7150 /* Next, check that the tail of a page is zero-filled. File must have
7151 non-zero length, otherwise we risk SIGBUS for entire page. */
7152 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7156 if (write (fd2, cdata2, 1) != 1)
7158 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7159 if (data2 == MAP_FAILED)
7161 for (i = 0; i < pagesize; ++i)
7165 if (munmap (data2, pagesize))
7168 /* Next, try to mmap the file at a fixed address which already has
7169 something else allocated at it. If we can, also make sure that
7170 we see the same garbage. */
7171 fd = open ("conftest.mmap", O_RDWR);
7174 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7175 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7177 for (i = 0; i < pagesize; ++i)
7178 if (*(data + i) != *(data2 + i))
7181 /* Finally, make sure that changes to the mapped area do not
7182 percolate back to the file as seen by read(). (This is a bug on
7183 some variants of i386 svr4.0.) */
7184 for (i = 0; i < pagesize; ++i)
7185 *(data2 + i) = *(data2 + i) + 1;
7186 data3 = (char *) malloc (pagesize);
7189 if (read (fd, data3, pagesize) != pagesize)
7191 for (i = 0; i < pagesize; ++i)
7192 if (*(data + i) != *(data3 + i))
7198 if ac_fn_c_try_run
"$LINENO"; then :
7199 ac_cv_func_mmap_fixed_mapped
=yes
7201 ac_cv_func_mmap_fixed_mapped
=no
7203 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7204 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7209 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7210 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7212 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7215 rm -f conftest.mmap conftest.txt
7220 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7221 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7222 aros_config_ldflags
=""
7224 aros_shared_default
=yes
7226 aros_shared_cflags
="-fPIC"
7227 aros_shared_aflags
=""
7228 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7229 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7231 aros_kernel_ar_flags
="cr"
7232 aros_target_ar_flags
="cr"
7233 aros_target_nm_flags
="-C -ul"
7234 aros_target_strip_flags
="--strip-unneeded -R.comment"
7239 aros_target_genmap
="-Wl,-Map -Xlinker"
7241 # Native flavour stuff
7242 aros_serial_debug
="0"
7244 # Palm native flavour stuff
7245 aros_palm_debug_hack
="0"
7247 # Unix flavour stuff
7248 aros_nesting_supervisor
="0"
7250 # Collect-aros stuff: "-ius" to ignore undefined symbols
7251 ignore_undefined_symbols
=""
7253 # Check for X11 by default
7256 #-----------------------------------------------------------------------------
7259 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7260 # it switched on by default, and we use the host compiler, so it compiles AROS
7261 # code with this enabled resulting in link failures as we don't have support
7264 # We use two methods to disable it. For the host compiler (used to compile
7265 # some hosted modules), we test to see if the compiler supports stack
7266 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7267 # work on all platforms.
7269 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7270 # (this is done unconditionally, as it should have no effect on compilers
7271 # without the stack protection feature). This may be specific to the way that
7272 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7273 # strong enough to disable it in a generic way though, so we'll live with it
7274 # until another vendor ships GCC with it enabled in a different way, and deal
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7279 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7280 save_cflags
="$CFLAGS"
7281 CFLAGS
="$CFLAGS -fno-stack-protector"
7282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7283 /* end confdefs.h. */
7293 if ac_fn_c_try_compile
"$LINENO"; then :
7294 use_no_stack_protector
="yes"
7296 use_no_stack_protector
="no"
7298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7300 $as_echo "$use_no_stack_protector" >&6; }
7301 if test "x-$use_no_stack_protector" = "x-yes" ; then
7302 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7304 CFLAGS
="$save_cflags"
7306 #-----------------------------------------------------------------------------
7308 # Disable pointer-signedness warnings if the compiler recognises the option
7309 # (this only works for the host compiler at the moment)
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7312 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7313 save_cflags
="$CFLAGS"
7314 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7316 /* end confdefs.h. */
7326 if ac_fn_c_try_compile
"$LINENO"; then :
7327 use_no_sign_warning
="yes"
7329 use_no_sign_warning
="no"
7331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7333 $as_echo "$use_no_sign_warning" >&6; }
7334 if test "x-$use_no_sign_warning" = "x-yes" ; then
7335 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7337 CFLAGS
="$save_cflags"
7339 #-----------------------------------------------------------------------------
7341 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7344 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7345 save_cflags
="$CFLAGS"
7346 CFLAGS
="$CFLAGS -fgnu89-inline"
7347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7348 /* end confdefs.h. */
7358 if ac_fn_c_try_compile
"$LINENO"; then :
7359 use_gnu89_inline
="yes"
7361 use_gnu89_inline
="no"
7363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7365 $as_echo "$use_gnu89_inline" >&6; }
7366 if test "x-$use_gnu89_inline" = "x-yes" ; then
7367 gnu89_inline
="-fgnu89-inline"
7369 CFLAGS
="$save_cflags"
7371 #-----------------------------------------------------------------------------
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7374 $as_echo_n "checking for type of build... " >&6; }
7375 # Check whether --enable-build_type was given.
7376 if test "${enable_build_type+set}" = set; then :
7377 enableval
=$enable_build_type; build_type
=$enableval
7379 build_type
="personal"
7383 if test "$build_type" = "nightly"; then
7384 build_type_string
="NIGHTLY"
7385 elif test "$build_type" = "snapshot"; then
7386 build_type_string
="SNAPSHOT"
7387 elif test "$build_type" = "milestone"; then
7388 build_type_string
="MILESTONE"
7389 elif test "$build_type" = "release"; then
7390 build_type_string
="RELEASE"
7392 build_type_string
="PERSONAL"
7393 build_type
="personal"
7396 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7399 $as_echo "$build_type" >&6; }
7401 #-----------------------------------------------------------------------------
7402 all_debug_types
="messages stack modules mungwall symbols"
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7405 $as_echo_n "checking which debug types to enable... " >&6; }
7406 # Check whether --enable-debug was given.
7407 if test "${enable_debug+set}" = set; then :
7408 enableval
=$enable_debug; debug
="$enableval"
7414 if test "$debug" = "" -o "$debug" = "no"; then
7416 elif test "$debug" = "yes"; then
7420 if test "$debug" = "all" ; then
7421 debug
="messages stack modules symbols"
7422 for d
in $all_debug_types; do
7423 export aros_
${d}_debug
="1"
7426 for d
in $all_debug_types; do
7427 export aros_
${d}_debug
="0"
7431 if test "$debug" != "none"; then
7432 debug
=`echo $debug | sed s/,/\ /g`
7435 for d2
in $all_debug_types; do
7436 if test "$d2" = "$d"; then
7441 if test "$found" = "0"; then
7442 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7444 export aros_
${d}_debug
="1"
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7449 $as_echo "$debug" >&6; }
7451 if test "$aros_messages_debug" = "1"; then
7452 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7454 aros_messages_debug
=""
7456 if test "$aros_symbols_debug" = "1"; then
7457 aros_symbols_debug
="-g"
7459 aros_symbols_debug
=""
7462 # These are the flags to pass when compiling debugged programs
7463 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7464 aros_debug_aflags
=""
7465 aros_debug_ldflags
="$aros_symbols_debug"
7467 #-----------------------------------------------------------------------------
7468 # Checking for distcc and ccache.
7470 # Always apply the transforms in this particular order. Basically you should
7471 # always run 'ccache distcc compiler' in that order for the best performance.
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7474 $as_echo_n "checking whether to enable distcc... " >&6; }
7475 # Check whether --enable-distcc was given.
7476 if test "${enable_distcc+set}" = set; then :
7477 enableval
=$enable_distcc; distcc
="$enableval"
7482 if test "$distcc" != "" -a "$distcc" != "no"; then
7483 # AC_CHECK_PROG will print out the result in this case
7484 # Extract the first word of "distcc", so it can be a program name with args.
7485 set dummy distcc
; ac_word
=$2
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7487 $as_echo_n "checking for $ac_word... " >&6; }
7488 if ${ac_cv_path_DISTCC+:} false
; then :
7489 $as_echo_n "(cached) " >&6
7493 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7500 test -z "$as_dir" && as_dir
=.
7501 for ac_exec_ext
in '' $ac_executable_extensions; do
7502 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7503 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7511 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7515 DISTCC
=$ac_cv_path_DISTCC
7516 if test -n "$DISTCC"; then
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7518 $as_echo "$DISTCC" >&6; }
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7521 $as_echo "no" >&6; }
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7527 $as_echo "no" >&6; }
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7531 $as_echo_n "checking whether to enable ccache... " >&6; }
7532 # Check whether --enable-ccache was given.
7533 if test "${enable_ccache+set}" = set; then :
7534 enableval
=$enable_ccache; ccache
="$enableval"
7539 if test "$ccache" != "" -a "$ccache" != "no"; then
7540 # AC_CHECK_PROG will print out the result in this case
7541 # Extract the first word of "ccache", so it can be a program name with args.
7542 set dummy ccache
; ac_word
=$2
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7544 $as_echo_n "checking for $ac_word... " >&6; }
7545 if ${ac_cv_prog_CCACHE+:} false
; then :
7546 $as_echo_n "(cached) " >&6
7548 if test -n "$CCACHE"; then
7549 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7555 test -z "$as_dir" && as_dir
=.
7556 for ac_exec_ext
in '' $ac_executable_extensions; do
7557 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7558 ac_cv_prog_CCACHE
="ccache"
7559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7568 CCACHE
=$ac_cv_prog_CCACHE
7569 if test -n "$CCACHE"; then
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7571 $as_echo "$CCACHE" >&6; }
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7574 $as_echo "no" >&6; }
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7583 #-----------------------------------------------------------------------------
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7585 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7587 # Check whether --with-kernel-gcc-version was given.
7588 if test "${with_kernel_gcc_version+set}" = set; then :
7589 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7591 kernel_tool_version
=""
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7595 $as_echo "$kernel_tool_version" >&6; }
7597 #-----------------------------------------------------------------------------
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7599 $as_echo_n "checking what optimization flags to use... " >&6; }
7601 # Check whether --with-optimization was given.
7602 if test "${with_optimization+set}" = set; then :
7603 withval
=$with_optimization; optimization
="$withval"
7605 optimization
="unknown"
7608 if test "$optimization" = "unknown"; then
7609 if test "$debug" != "none"; then
7615 aros_optimization_cflags
="$optimization"
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7617 $as_echo "$optimization" >&6; }
7619 #-----------------------------------------------------------------------------
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7621 $as_echo_n "checking what paranoia flags to use... " >&6; }
7623 # Check whether --with-paranoia was given.
7624 if test "${with_paranoia+set}" = set; then :
7625 withval
=$with_paranoia; paranoia_flags
="$withval"
7627 paranoia_flags
="default"
7630 if test "$paranoia_flags" = "default"; then
7632 else if test "$paranoia_flags" = "yes"; then
7633 paranoia_flags
="-Wall -Werror"
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7636 $as_echo "$paranoia_flags" >&6; }
7637 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7639 #-----------------------------------------------------------------------------
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7641 $as_echo_n "checking what target variant to enable... " >&6; }
7642 # Check whether --enable-target_variant was given.
7643 if test "${enable_target_variant+set}" = set; then :
7644 enableval
=$enable_target_variant; target_variant
=$enableval
7649 if test "$target_variant" = ""; then
7650 aros_target_variant
=""
7651 aros_target_suffix
=""
7654 aros_target_variant
="$target_variant"
7655 aros_target_suffix
="-$target_variant"
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7658 $as_echo "$enableval" >&6; }
7660 #-----------------------------------------------------------------------------
7661 # Target-specific defaults. You can override then on a per-target basis.
7663 # Bootloader name. Currently used by PC target.
7664 target_bootloader
="none"
7666 #-----------------------------------------------------------------------------
7667 # Additional options for some specific targets
7669 case "$aros_target_variant" in
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7672 $as_echo_n "checking XCode path... " >&6; }
7674 # Check whether --with-xcode was given.
7675 if test "${with_xcode+set}" = set; then :
7676 withval
=$with_xcode; aros_xcode_path
="$withval"
7678 aros_xcode_path
="/Developer"
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7682 $as_echo "$aros_xcode_path" >&6; }
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7685 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7687 # Check whether --with-sdk-version was given.
7688 if test "${with_sdk_version+set}" = set; then :
7689 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7691 aros_sdk_version
="4.1"
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7695 $as_echo "$aros_sdk_version" >&6; }
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7701 $as_echo_n "checking Android SDK path... " >&6; }
7703 # Check whether --with-sdk was given.
7704 if test "${with_sdk+set}" = set; then :
7705 withval
=$with_sdk; aros_android_sdk
="$withval"
7707 aros_android_sdk
=$default_android_sdk
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7711 $as_echo "$aros_android_sdk" >&6; }
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7714 $as_echo_n "checking Android NDK path... " >&6; }
7716 # Check whether --with-ndk was given.
7717 if test "${with_ndk+set}" = set; then :
7718 withval
=$with_ndk; aros_android_ndk
="$withval"
7720 aros_android_ndk
="none"
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7724 $as_echo "$aros_android_ndk" >&6; }
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7727 $as_echo_n "checking what Android SDK version to use... " >&6; }
7729 # Check whether --with-sdk-version was given.
7730 if test "${with_sdk_version+set}" = set; then :
7731 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7733 aros_sdk_version
="12"
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7737 $as_echo "$aros_sdk_version" >&6; }
7739 aros_android_level
=android-
$aros_sdk_version
7740 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7741 echo "Platform $aros_android_level is not installed in your SDK"
7742 echo "Use --with-sdk-version=<API level number> to select another platform version"
7743 echo "You can check what plaform versions are installed in your SDK"
7744 echo "by examining contents of $aros_android_sdk/platforms directory"
7745 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7748 export PATH
="$aros_android_sdk/tools:$PATH"
7749 # Extract the first word of "$android_tool", so it can be a program name with args.
7750 set dummy
$android_tool; ac_word
=$2
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7752 $as_echo_n "checking for $ac_word... " >&6; }
7753 if ${ac_cv_path_android_tool+:} false
; then :
7754 $as_echo_n "(cached) " >&6
7756 case $android_tool in
7758 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7765 test -z "$as_dir" && as_dir
=.
7766 for ac_exec_ext
in '' $ac_executable_extensions; do
7767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7768 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7779 android_tool
=$ac_cv_path_android_tool
7780 if test -n "$android_tool"; then
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7782 $as_echo "$android_tool" >&6; }
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7785 $as_echo "no" >&6; }
7789 if test "$android_tool" = ""; then
7790 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7793 if test "$aros_android_ndk" != "none"; then
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7795 $as_echo_n "checking what Android NDK version to use... " >&6; }
7797 # Check whether --with-ndk-version was given.
7798 if test "${with_ndk_version+set}" = set; then :
7799 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7801 aros_ndk_version
="9"
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7805 $as_echo "$aros_ndk_version" >&6; }
7808 # Extract the first word of "ant", so it can be a program name with args.
7809 set dummy ant
; ac_word
=$2
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7811 $as_echo_n "checking for $ac_word... " >&6; }
7812 if ${ac_cv_path_ant+:} false
; then :
7813 $as_echo_n "(cached) " >&6
7817 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7824 test -z "$as_dir" && as_dir
=.
7825 for ac_exec_ext
in '' $ac_executable_extensions; do
7826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7827 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7839 if test -n "$ant"; then
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7841 $as_echo "$ant" >&6; }
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7844 $as_echo "no" >&6; }
7848 if test "$ant" = ""; then
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7850 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
7854 $as_echo_n "checking Build debug or release apk... " >&6; }
7856 # Check whether --with-apk-version was given.
7857 if test "${with_apk_version+set}" = set; then :
7858 withval
=$with_apk_version; aros_android_antapk
=$withval
7860 aros_android_antapk
=release
7863 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
7864 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
7867 $as_echo "$aros_android_antapk" >&6; }
7869 if test "$host_os" = "mingw32"; then
7870 android_tool
="cmd //c $android_tool"
7878 #-----------------------------------------------------------------------------
7879 # External toolchains
7880 kernel_tool_prefix
="none"
7881 aros_tool_prefix
="none"
7882 elf_tool_prefix
="${target_cpu}-elf-"
7884 # This is the target configuration switch.
7885 case "$target_os" in
7887 aros_target_arch
="linux"
7888 aros_target_family
="unix"
7889 case "$target_cpu" in
7891 aros_target_cpu
="m68k"
7892 aros_object_format
="m68kelf"
7893 aros_flavour
="emulcompat"
7894 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7895 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7896 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7897 gcc_target_cpu
="mc68000"
7900 aros_target_cpu
="i386"
7901 aros_object_format
="elf_i386"
7902 aros_flavour
="emulation"
7903 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7904 aros_kernel_ldflags
="-Wl,-melf_i386"
7905 aros_default_wbdepth
=8
7906 gcc_target_cpu
="i386"
7907 pci_hidd_target
="hidd-pci-linux"
7908 android_tool_dir_prefix
="x86"
7909 android_tool_prefix
="i686-android-linux"
7910 android_ndk_arch
="x86"
7913 aros_target_cpu
="x86_64"
7914 aros_object_format
="elf_x86_64"
7915 aros_flavour
="emulation"
7916 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7917 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7918 aros_default_wbdepth
=8
7919 pci_hidd_target
="hidd-pci-linux"
7922 aros_target_cpu
="ppc"
7923 aros_object_format
="elf32ppc"
7924 aros_flavour
="emulation"
7925 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7926 aros_default_wbdepth
=8
7927 gcc_target_cpu
="ppc"
7930 # Same as powerpc, but I need this for the nightly build to work again.
7931 # Actually, the nightly should be made working with powerpc target.
7932 # That just was too much work for the moment, another week or two.
7934 aros_target_cpu
="ppc"
7935 aros_object_format
="elf32ppc"
7936 aros_flavour
="emulation"
7937 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7938 aros_default_wbdepth
=8
7939 gcc_target_cpu
="ppc"
7942 aros_target_cpu
="arm"
7944 aros_object_format
="armelf_aros"
7945 aros_flavour
="emulation"
7946 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7947 gcc_target_cpu
="arm"
7948 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7949 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7950 aros_arch_libs
="-laeabi"
7951 gcc_default_float_abi
="hard"
7952 android_tool_dir_prefix
="arm-linux-androideabi"
7953 android_tool_prefix
="arm-linux-androideabi"
7954 android_ndk_arch
="arm"
7955 kernel_tool_prefix
="arm-linux-gnueabihf-"
7958 aros_target_cpu
="arm"
7959 aros_object_format
="armelf_aros"
7960 aros_flavour
="emulation"
7961 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7962 gcc_target_cpu
="arm"
7963 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7964 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7965 aros_arch_libs
="-laeabi"
7966 android_tool_dir_prefix
="arm-linux-androideabi"
7967 android_tool_prefix
="arm-linux-androideabi"
7968 android_ndk_arch
="arm"
7969 kernel_tool_prefix
="arm-linux-gnueabi-"
7972 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7975 case "$aros_target_variant" in
7978 if test "$android_ndk_arch" = ""; then
7979 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7982 aros_default_wbwidth
=320
7983 aros_default_wbheight
=480
7984 if test "$aros_android_ndk" = "none"; then
7985 aros_kernel_cflags
="-mandroid"
7986 aros_kernel_ldflags
="-mandroid"
7989 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
7990 kernel_tool_version
=""
7991 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7992 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7993 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7994 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7995 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7998 unixgfx_hidd_target
=kernel-hidd-androidgfx
7999 # Disable implicit PIC mode
8000 aros_target_cflags
="$aros_target_cflags -fno-pic"
8001 kernel_tool_prefix
="$android_tool_prefix-"
8007 aros_target_arch
="pc"
8008 aros_shared_default
="no"
8009 target_bootloader
="grub2"
8010 case "$target_cpu" in
8012 aros_target_cpu
="i386"
8015 if test "$aros_object_format" = "" ; then
8016 aros_object_format
="elf_i386"
8018 aros_flavour
="standalone"
8019 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8020 aros_kernel_ldflags
="-Wl,-melf_i386"
8021 aros_default_wbwidth
=640
8022 aros_default_wbheight
=480
8023 gcc_target_cpu
="i386"
8026 aros_target_cpu
="x86_64"
8028 if test "$aros_object_format" = "" ; then
8029 aros_object_format
="elf_x86_64"
8031 aros_flavour
="standalone"
8032 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8033 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
8034 aros_kernel_ldflags
=""
8035 aros_default_wbwidth
=640
8036 aros_default_wbheight
=480
8039 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8045 aros_target_arch
="prep"
8046 aros_shared_default
="no"
8047 aros_target_cpu
="ppc"
8048 aros_object_format
="elf32ppc"
8049 aros_flavour
="ppcnative"
8050 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8051 aros_kernel_ldflags
=""
8052 aros_default_wbwidth
=640
8053 aros_default_wbheight
=480
8054 gcc_target_cpu
="ppc"
8058 aros_target_arch
="freebsd"
8059 aros_target_family
="unix"
8060 aros_target_cpu
="i386"
8061 aros_flavour
="emulation"
8062 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8063 gcc_target_cpu
="i386"
8065 aros_target_strip_flags
="-x"
8069 aros_target_arch
="darwin"
8070 aros_target_family
="unix"
8071 aros_flavour
="emulation"
8072 case "$target_cpu" in
8074 aros_ios_platform
="iPhoneSimulator"
8075 aros_target_cpu
="i386"
8076 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8077 aros_kernel_ldflags
=""
8078 aros_macosx_version
="10.4"
8079 aros_default_wbdepth
=8
8080 gcc_target_cpu
="i386"
8081 aros_object_format
="elf_i386"
8082 aros_kernel_ar_flags
="-cr"
8083 aros_target_strip_flags
="-x"
8084 kernel_tool_flags
="-m32"
8087 aros_target_cpu
="x86_64"
8088 aros_object_format
="elf_x86_64"
8089 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8090 aros_macosx_version
="10.6"
8091 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8092 aros_kernel_cflags
="-m64"
8093 aros_kernel_ldflags
="-m64"
8094 aros_target_cflags
="-mcmodel=large"
8095 aros_default_wbdepth
=8
8097 aros_kernel_ar_flags
="-cr"
8100 aros_kernel_ranlib
="ranlib"
8102 aros_kernel_strip
="strip"
8103 kernel_tool_prefix
="i686-apple-darwin10-"
8106 aros_target_cpu
="ppc"
8107 aros_object_format
="elf32ppc"
8108 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8109 aros_kernel_ldflags
=""
8110 aros_macosx_version
="10.0"
8111 aros_default_wbdepth
=8
8112 gcc_target_cpu
="ppc"
8114 aros_kernel_ar_flags
="-cr"
8115 aros_kernel_ld
="ld -arch ppc"
8116 aros_kernel_as
="as -arch ppc"
8117 aros_kernel_ranlib
="ranlib -arch ppc"
8118 aros_kernel_nm
="nm -arch ppc"
8119 aros_kernel_strip
="strip -arch ppc"
8120 kernel_tool_prefix
="powerpc-apple-darwin10-"
8123 aros_ios_platform
="iPhoneOS"
8124 aros_target_cpu
="arm"
8125 aros_object_format
="armelf_aros"
8126 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8127 aros_arch_libs
="-laeabi"
8128 aros_default_wbdepth
=8
8129 gcc_target_cpu
="arm"
8131 aros_kernel_ar_flags
="-cr"
8132 aros_kernel_ld
="ld -arch arm"
8133 aros_kernel_ranlib
="ranlib -arch arm"
8134 kernel_tool_prefix
="arm-apple-darwin10-"
8135 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8138 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8141 case "$aros_target_variant" in
8143 aros_ios_version
="3.0"
8144 aros_default_wbwidth
=320
8145 aros_default_wbheight
=480
8146 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8147 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8148 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8150 # This is here because it may depend on iOS or SDK version
8151 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8152 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8153 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8156 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8157 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8163 aros_target_arch
="dragonfly"
8164 aros_target_family
="unix"
8165 aros_flavour
="emulation"
8166 case "$target_cpu" in
8168 aros_target_cpu
="i386"
8169 aros_object_format
="elf_i386"
8170 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8173 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8174 aros_target_cpu
="x86_64"
8175 aros_object_format
="elf_x86_64"
8176 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8179 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8185 aros_target_arch
="netbsd"
8186 aros_target_family
="unix"
8187 case "$target_cpu" in
8189 aros_target_cpu
="m68k"
8190 aros_object_format
="m68kelf"
8191 aros_flavour
="emulcompat"
8192 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8193 gcc_target_cpu
="mc68000"
8196 aros_target_cpu
="i386"
8197 aros_object_format
="elf_i386"
8198 aros_flavour
="emulation"
8199 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8200 aros_default_wbdepth
=8
8201 gcc_target_cpu
="i386"
8204 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8207 aros_target_genmap
="-Wl,-M -Xlinker >"
8208 aros_flavour
="emulation"
8209 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8213 aros_target_arch
="openbsd"
8214 aros_target_family
="unix"
8215 case "$target_cpu" in
8217 aros_target_cpu
="i386"
8218 aros_object_format
="elf_i386"
8219 aros_flavour
="emulation"
8220 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8221 gcc_target_cpu
="i386"
8224 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8227 aros_target_genmap
="-Wl,-M -Xlinker >"
8228 aros_target_nm_flags
="-u"
8229 aros_flavour
="emulation"
8233 aros_target_arch
="solaris"
8234 aros_target_family
="unix"
8235 case "$target_cpu" in
8237 aros_target_cpu
="i386"
8238 aros_object_format
="elf_i386"
8239 aros_flavour
="emulation"
8240 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8241 aros_default_wbdepth
=8
8242 gcc_target_cpu
="i386"
8245 aros_target_cpu
="sparc"
8246 aros_object_format
="elf_sparc"
8247 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8248 gcc_target_cpu
="sparc"
8251 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8254 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8255 aros_flavour
="emulation"
8259 aros_target_arch
="morphos"
8260 aros_shared_default
="no"
8261 aros_target_cpu
="ppc"
8262 aros_object_format
="elf_ppc"
8263 aros_flavour
="nativecompat"
8264 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8265 gcc_target_cpu
="ppc"
8269 aros_target_arch
="sam440"
8270 aros_shared_default
="no"
8271 aros_target_cpu
="ppc"
8272 aros_object_format
="elf32ppc"
8273 aros_flavour
="ppcnative"
8274 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8275 aros_kernel_ldflags
=""
8276 aros_default_wbwidth
=1024
8277 aros_default_wbheight
=768
8278 aros_default_wbdepth
=24
8279 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8280 gcc_target_cpu
="powerpc"
8284 aros_target_arch
="efika"
8285 aros_shared_default
="no"
8286 aros_target_cpu
="arm"
8287 aros_object_format
="armelf_aros"
8288 aros_flavour
="standalone"
8289 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8290 aros_kernel_ldflags
=""
8291 aros_default_wbwidth
=1024
8292 aros_default_wbheight
=600
8293 aros_arch_libs
="-laeabi"
8294 gcc_default_cpu
="armv7-a"
8295 gcc_default_fpu
="vfpv3"
8296 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8297 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8298 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8299 case "$target_cpu" in
8301 gcc_default_float_abi
="hard"
8306 gcc_default_float_abi
="softfp"
8309 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8315 aros_target_arch
="chrp"
8316 aros_shared_default
="no"
8317 aros_target_cpu
="ppc"
8318 aros_object_format
="elf32ppc"
8319 aros_flavour
="ppcnative"
8320 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8321 aros_kernel_ldflags
=""
8322 aros_default_wbwidth
=640
8323 aros_default_wbheight
=480
8324 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8325 gcc_target_cpu
="powerpc"
8326 case "$aros_target_variant" in
8328 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8334 aros_flavour
="standalone"
8335 aros_target_arch
="raspi"
8336 aros_target_cpu
="arm"
8337 aros_object_format
="armelf_aros"
8338 aros_shared_default
="no"
8339 aros_arch_libs
="-laeabi"
8341 gcc_default_cpu
="armv6"
8342 gcc_default_cpu_tune
="arm1176jzf-s"
8344 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8345 aros_config_cflags
="$aros_config_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8346 aros_config_aflags
="$aros_config_aflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8347 aros_kernel_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8348 aros_target_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8352 aros_flavour
="standalone"
8353 aros_target_arch
="sun4i"
8354 aros_target_cpu
="arm"
8355 aros_object_format
="armelf_aros"
8356 aros_shared_default
="no"
8357 aros_arch_libs
="-laeabi"
8359 gcc_default_cpu
="armv7-a"
8360 gcc_default_fpu
="neon"
8361 gcc_default_cpu_tune
="cortex-a8"
8362 gcc_default_float_abi
="hard"
8364 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8365 aros_optimization_cflags
=""
8366 aros_config_cflags
="$aros_config_cflags -mcpu=cortex-a8 -mtune=cortex-a8 -fno-strict-aliasing"
8367 aros_config_aflags
="$aros_config_aflags -mcpu=cortex-a8 -mtune=cortex-a8 -fno-strict-aliasing"
8371 aros_target_arch
="amiga"
8372 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8373 aros_shared_default
="no"
8375 case "$target_cpu" in
8377 # Check whether --enable-amigaos_compliance was given.
8378 if test "${enable_amigaos_compliance+set}" = set; then :
8379 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8383 aros_target_cpu
="m68k"
8384 aros_object_format
="m68kelf"
8385 aros_flavour
="standcompat"
8386 gcc_target_cpu
="m68000"
8387 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -DNOLIBINLINE"
8388 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8389 aros_config_aflags
="$aros_config_aflags"
8390 aros_target_strip_flags
="-R.comment --strip-debug"
8391 aros_default_wbwidth
=640
8392 aros_default_wbheight
=256
8393 aros_default_wbdepth
=2
8397 aros_flavour
="native"
8398 gcc_target_cpu
="ppc"
8401 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8407 aros_target_arch
="mingw32"
8408 aros_shared_default
="no"
8409 aros_flavour
="emulation"
8410 aros_shared_cflags
=""
8411 need_crosstools
="yes"
8414 case "$target_cpu" in
8416 aros_target_cpu
="i386"
8417 aros_object_format
="elf_i386"
8418 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8419 aros_default_wbdepth
=8
8420 gcc_target_cpu
="i386"
8422 kernel_tool_prefix
="i386-mingw32-"
8425 aros_target_cpu
="x86_64"
8426 aros_object_format
="elf_x86_64"
8427 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8428 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8429 aros_default_wbdepth
=8
8430 kernel_tool_prefix
="x86_64-w64-mingw32-"
8433 aros_target_cpu
="arm"
8434 aros_object_format
="armelf_aros"
8435 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8436 aros_arch_libs
="-laeabi"
8437 aros_default_wbdepth
=8
8438 gcc_target_cpu
="arm"
8439 gcc_default_float_abi
="soft"
8440 kernel_tool_prefix
="arm-mingw32ce-"
8441 aros_default_wbwidth
=160
8442 aros_default_wbheight
=160
8445 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8448 if test $host_os = "cygwin"; then
8449 aros_kernel_cflags
="-mno-cygwin"
8453 aros_target_arch
="pp"
8454 aros_shared_default
="no"
8455 case "$target_cpu" in
8457 aros_target_cpu
="m68k"
8458 aros_object_format
="m68kelf"
8459 aros_flavour
="palmnative"
8460 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8461 aros_default_wbwidth
=160
8462 aros_default_wbheight
=160
8463 aros_default_wbdepth
=1
8464 aros_target_ar_flags
="cru"
8465 aros_compiler_libs
="-lgcc1"
8466 aros_shared_default
=no
8467 aros_shared_cflags
="-fpic"
8468 aros_shared_aflags
=""
8469 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8470 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8471 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8472 aros_debug_aflags
=""
8473 aros_debug_ldflags
="$aros_symbols_debug"
8474 aros_mungwall_debug
="0"
8475 aros_modules_debug
="0"
8476 gcc_target_cpu
="mc68000"
8477 ignore_undefined_symbols
="-ius"
8480 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8486 aros_target_arch
="mac"
8487 aros_shared_default
="no"
8488 case "$target_cpu" in
8490 aros_target_cpu
="m68k"
8491 aros_object_format
="m68kelf"
8492 aros_flavour
="mac68knative"
8493 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8494 aros_default_wbwidth
=512
8495 aros_default_wbheight
=384
8496 aros_default_wbdepth
=8
8497 aros_target_ar_flags
="cru"
8498 aros_compiler_libs
="-lgcc1"
8499 aros_shared_default
=no
8500 aros_shared_cflags
="-fpic"
8501 aros_shared_aflags
=""
8502 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8503 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8504 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8505 aros_debug_aflags
=""
8506 aros_debug_ldflags
="$aros_symbols_debug"
8507 aros_mungwall_debug
="0"
8508 aros_modules_debug
="0"
8509 gcc_target_cpu
="mc68000"
8510 ignore_undefined_symbols
="-ius"
8513 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8519 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8523 #-----------------------------------------------------------------------------
8524 crosstools_guess
="yes"
8525 aros_target_toolchain
="no"
8526 aros_config_sysroot
=""
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8529 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8531 # Check whether --with-kernel-toolchain-prefix was given.
8532 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8533 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8537 $as_echo "$kernel_tool_prefix" >&6; }
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8540 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8542 # Check whether --with-elf-toolchain-prefix was given.
8543 if test "${with_elf_toolchain_prefix+set}" = set; then :
8544 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8545 crosstools_guess
="no"
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8549 $as_echo "$elf_tool_prefix" >&6; }
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8552 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8554 # Check whether --with-aros-toolchain was given.
8555 if test "${with_aros_toolchain+set}" = set; then :
8556 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8557 crosstools_guess
="no"
8560 if test "$aros_tool_prefix" = "yes" ; then
8561 aros_tool_prefix
=$aros_target_cpu-aros-
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8564 $as_echo "$aros_tool_prefix" >&6; }
8566 #-----------------------------------------------------------------------------
8567 # Checking if we should build crosstools..
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8569 $as_echo_n "checking whether to build crosstools... " >&6; }
8570 # Check whether --enable-crosstools was given.
8571 if test "${enable_crosstools+set}" = set; then :
8572 enableval
=$enable_crosstools; crosstools
="$enableval"
8574 crosstools
="$crosstools_guess"
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8578 $as_echo "$crosstools" >&6; }
8580 if test "${crosstools}" = "yes"; then
8581 if test "${crosstools_guess}" = "no"; then
8582 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8586 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
8587 aros_target_toolchain
="yes"
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8591 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8593 # Check whether --with-aros-toolchain-install was given.
8594 if test "${with_aros_toolchain_install+set}" = set; then :
8595 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8598 if test "x$aros_toolchain_install" = "x"; then
8599 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8601 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8602 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8603 if test "$crosstools_guess" = "no" ; then
8604 aros_config_sysroot
="--sysroot $AROS_BUILDDIR_UNIX/bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development"
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8608 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8610 #-----------------------------------------------------------------------------
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
8612 $as_echo_n "checking what specific target binutils version to use... " >&6; }
8614 # Check whether --with-gcc-version was given.
8615 if test "${with_gcc_version+set}" = set; then :
8616 withval
=$with_gcc_version; use_binutils_version
="$withval"
8618 use_binutils_version
=""
8621 if test "$use_binutils_version" = ""; then
8622 target_binutils_version
="$default_binutils_version"
8624 target_gcc_version
="$use_binutils_version"
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
8627 $as_echo "$target_binutils_version" >&6; }
8630 # Helper to identify gcc version
8633 #-----------------------------------------------------------------------------
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
8635 $as_echo_n "checking what specific target gcc version to use... " >&6; }
8637 # Check whether --with-gcc-version was given.
8638 if test "${with_gcc_version+set}" = set; then :
8639 withval
=$with_gcc_version; use_gcc_version
="$withval"
8644 if test "$use_gcc_version" = ""; then
8645 if test "${crosstools}" = "no"; then
8646 if test "x$aros_toolchain_install" != "x"; then
8648 target_gcc_version
=""
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
8650 $as_echo_n "checking gcc version... " >&6; }
8651 if ${ax_cv_gcc_version+:} false
; then :
8652 $as_echo_n "(cached) " >&6
8655 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}cpp -dumpversion`"
8656 if test "x$ax_cv_gcc_version" = "x"; then :
8658 ax_cv_gcc_version
=""
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
8664 $as_echo "$ax_cv_gcc_version" >&6; }
8665 target_gcc_version
=$ax_cv_gcc_version
8670 if test "$use_gcc_version" = ""; then
8671 target_gcc_version
="$default_gcc_version"
8674 target_gcc_version
="$use_gcc_version"
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
8677 $as_echo "$target_gcc_version" >&6; }
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
8680 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
8681 # Check whether --enable-objc was given.
8682 if test "${enable_objc+set}" = set; then :
8683 enableval
=$enable_objc; objc
="$enableval"
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
8689 $as_echo "$objc" >&6; }
8690 if test "x$objc" = "xyes"; then
8693 objc_target
="no-objc"
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
8697 $as_echo_n "checking whether to enable Java suppport... " >&6; }
8698 # Check whether --enable-java was given.
8699 if test "${enable_java+set}" = set; then :
8700 enableval
=$enable_java; java
="$enableval"
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
8706 $as_echo "$java" >&6; }
8707 if test "x$java" != "xno"; then
8710 java_target
="no-java"
8713 spec_obj_format
="-m $aros_object_format"
8714 # Now process extra architecture-specific options.
8715 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8716 # as well as floating-point ABI.
8717 case "$aros_target_cpu" in
8719 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
8722 if test "$gcc_default_cpu" = ""; then
8723 gcc_default_cpu
="armv6"
8725 if test "$gcc_default_fpu" = ""; then
8726 gcc_default_fpu
="vfp"
8728 if test "$gcc_default_float_abi" = ""; then
8729 if test "$target_cpu" = "armhf"; then
8730 gcc_default_float_abi
="hard"
8732 gcc_default_float_abi
="softfp"
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8737 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8739 # Check whether --with-cpu was given.
8740 if test "${with_cpu+set}" = set; then :
8741 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8743 aros_gcc_cpu
=$gcc_default_cpu
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8747 $as_echo "$aros_gcc_cpu" >&6; }
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8750 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8752 # Check whether --with-fpu was given.
8753 if test "${with_fpu+set}" = set; then :
8754 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8756 aros_gcc_fpu
=$gcc_default_fpu
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8760 $as_echo "$aros_gcc_fpu" >&6; }
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8763 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8765 # Check whether --with-float was given.
8766 if test "${with_float+set}" = set; then :
8767 withval
=$with_float; aros_gcc_float_abi
="$withval"
8769 aros_gcc_float_abi
=$gcc_default_float_abi
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8773 $as_echo "$aros_gcc_float_abi" >&6; }
8775 aros_isa_flags
="-marm -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
8776 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
8777 aros_config_aflags
="$aros_config_aflags -fno-asynchronous-unwind-tables -fno-exceptions"
8780 aros_isa_flags
="-m32 -march=i486"
8781 aros_kernel_cflags
="$aros_kernel_cflags $aros_isa_flags"
8782 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
8786 # Some architectures may need custom ELF specs.
8787 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8788 elf_specs_in
=config
/${aros_object_format}-specs.
in
8790 elf_specs_in
=config
/elf-specs.
in
8793 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8794 # Since we override specs, we may need to put these defines there
8795 if test "$gcc_target_cpu" != ""; then
8796 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8800 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8802 # Check whether --with-portssources was given.
8803 if test "${with_portssources+set}" = set; then :
8804 withval
=$with_portssources; with_portssrcdir
=$withval
8806 with_portssrcdir
="default"
8809 if test "$with_portssrcdir" = "default"; then
8810 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8812 AROS_PORTSSRCDIR
="$with_portssrcdir"
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8815 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8818 $as_echo_n "checking which bootloader to use... " >&6; }
8820 # Check whether --with-bootloader was given.
8821 if test "${with_bootloader+set}" = set; then :
8822 withval
=$with_bootloader; target_bootloader
=$withval
8824 target_bootloader
=$target_bootloader
8827 if test "$target_bootloader" = "none"; then
8828 aros_target_bootloader
=""
8830 aros_target_bootloader
="$target_bootloader"
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8833 $as_echo "$target_bootloader" >&6; }
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8836 $as_echo_n "checking which icon-set to use... " >&6; }
8838 # Check whether --with-iconset was given.
8839 if test "${with_iconset+set}" = set; then :
8840 withval
=$with_iconset; target_iconset
=$withval
8842 target_iconset
="default"
8845 if test "$target_iconset" = "default"; then
8846 aros_target_iconset
="Gorilla"
8847 target_iconset
="default (Gorilla)"
8849 aros_target_iconset
="$target_iconset"
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8852 $as_echo "$target_iconset" >&6; }
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8855 $as_echo_n "checking which GUI Theme to use... " >&6; }
8857 # Check whether --with-theme was given.
8858 if test "${with_theme+set}" = set; then :
8859 withval
=$with_theme; target_guitheme
=$withval
8861 target_guitheme
="default"
8864 if test "$target_guitheme" = "default"; then
8865 aros_target_guitheme
="Ice"
8867 aros_target_guitheme
="$target_guitheme"
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8870 $as_echo "$aros_target_guitheme" >&6; }
8872 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8876 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8880 if test "$aros_host_cpu" == "x86_64" ; then
8881 if test "$aros_target_cpu" == "i386" ; then
8886 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8887 if test "$aros_host_arch" != "$aros_target_arch" ; then
8891 if test "$host_cc_elf" = "no" ; then
8896 if test "$cross_compiling" = "no" ; then
8897 kernel_tool_prefix
=""
8898 if test "$host_cc_elf" = "yes" ; then
8903 if test "$kernel_tool_version" != ""; then
8904 kernel_tool_version
="-$kernel_tool_version"
8907 #######################################################################
8908 ## Compute what toolchains to use, and their paths ##
8909 #######################################################################
8911 # This takes, as input:
8912 # crosstools {yes,no}
8913 # kernel_tool_version {"",[version]}
8914 # target_tool_version {"",[version]}
8915 # kernel_tool_prefix {none,[some-arch-os-]}
8916 # target_tool_prefix ${aros_target_cpu}-aros-
8917 # aros_tool_prefix ${aros_target_cpu}-aros-
8920 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8921 # Where the 'kernel' binaries are located
8922 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8923 # Where the 'target' binaries are located
8924 # (not the symlink farm - that is aros_target_*!)
8927 # if crosstools then
8928 # if kernel_tools_prefix = "no-kernel-prefix-"
8929 # aros_kernel_* = crosstools cc paths
8930 # aros_kernel_cc = elf cc wrapper around crosstools cc
8932 # VALIDATE(${kernel_tools_prefix}*)
8933 # aros_kernel_* = ${kernel_tools_prefix}*
8934 # if ${kernel_tools_prefix}cc is an AROS gcc
8935 # aros_kernel_cc = ${kernel_tools_prefix}cc
8937 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8941 # orig_target_* = aros built crosstools
8942 # orig_target_cc = elf cc wrapper around crosstools cc
8944 # VALIDATE(${kernel_tools_prefix}*)
8946 # orig_target_* = aros_kernel_*
8947 # if aros_kernel_cc is an AROS gcc
8948 # orig_target_cc = aros_kernel_cc
8950 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8954 target_tool_prefix
="${aros_target_cpu}-aros-"
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8957 $as_echo_n "checking which kernel tools... " >&6; }
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8959 $as_echo "$kernel_tool_prefix" >&6; };
8961 if test "$kernel_tool_prefix" = "none" ; then
8962 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8963 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8966 # Kernel tools required - find them
8967 # Note that 'normally', aros_kernel_* overrides will be
8968 # empty, unless specified in the per-arch sections above.
8969 if test "x$aros_kernel_cpp" = "x"; then
8970 aros_kernel_cpp
=${kernel_tool_prefix}cpp
8973 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
8974 if test "$cross_compiling" = "yes" ; then
8975 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8976 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8978 $as_echo_n "checking for $ac_word... " >&6; }
8979 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8980 $as_echo_n "(cached) " >&6
8982 case $aros_kernel_cpp in
8984 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8991 test -z "$as_dir" && as_dir
=.
8992 for ac_exec_ext
in '' $ac_executable_extensions; do
8993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8994 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9005 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9006 if test -n "$aros_kernel_cpp"; then
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9008 $as_echo "$aros_kernel_cpp" >&6; }
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9011 $as_echo "no" >&6; }
9016 if test "$GCC" = "yes"; then
9017 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
9018 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9019 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9021 $as_echo_n "checking for $ac_word... " >&6; }
9022 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9023 $as_echo_n "(cached) " >&6
9025 case $aros_kernel_cpp in
9027 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9031 for as_dir
in `dirname $aros_gcc_cpp`
9034 test -z "$as_dir" && as_dir
=.
9035 for ac_exec_ext
in '' $ac_executable_extensions; do
9036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9037 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9048 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9049 if test -n "$aros_kernel_cpp"; then
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9051 $as_echo "$aros_kernel_cpp" >&6; }
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9054 $as_echo "no" >&6; }
9059 if test "$aros_kernel_cpp" = ""; then
9060 # Extract the first word of "cpp", so it can be a program name with args.
9061 set dummy cpp
; ac_word
=$2
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9063 $as_echo_n "checking for $ac_word... " >&6; }
9064 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9065 $as_echo_n "(cached) " >&6
9067 case $aros_kernel_cpp in
9069 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9076 test -z "$as_dir" && as_dir
=.
9077 for ac_exec_ext
in '' $ac_executable_extensions; do
9078 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9079 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9090 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9091 if test -n "$aros_kernel_cpp"; then
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9093 $as_echo "$aros_kernel_cpp" >&6; }
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9096 $as_echo "no" >&6; }
9103 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
9104 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9106 $as_echo_n "checking for $ac_word... " >&6; }
9107 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9108 $as_echo_n "(cached) " >&6
9110 case $aros_kernel_cpp in
9112 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9119 test -z "$as_dir" && as_dir
=.
9120 for ac_exec_ext
in '' $ac_executable_extensions; do
9121 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9122 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9133 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9134 if test -n "$aros_kernel_cpp"; then
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9136 $as_echo "$aros_kernel_cpp" >&6; }
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9139 $as_echo "no" >&6; }
9145 if test "$aros_kernel_cpp" = ""; then
9146 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
9148 if test "x$aros_kernel_cc" = "x"; then
9149 aros_kernel_cc
=${kernel_tool_prefix}gcc
9152 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
9153 if test "$cross_compiling" = "yes" ; then
9154 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9155 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9157 $as_echo_n "checking for $ac_word... " >&6; }
9158 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9159 $as_echo_n "(cached) " >&6
9161 case $aros_kernel_cc in
9163 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9170 test -z "$as_dir" && as_dir
=.
9171 for ac_exec_ext
in '' $ac_executable_extensions; do
9172 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9173 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9184 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9185 if test -n "$aros_kernel_cc"; then
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9187 $as_echo "$aros_kernel_cc" >&6; }
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9190 $as_echo "no" >&6; }
9195 if test "$GCC" = "yes"; then
9196 aros_gcc_cc
=`$CC -print-prog-name=cc`
9197 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9198 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9200 $as_echo_n "checking for $ac_word... " >&6; }
9201 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9202 $as_echo_n "(cached) " >&6
9204 case $aros_kernel_cc in
9206 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9210 for as_dir
in `dirname $aros_gcc_cc`
9213 test -z "$as_dir" && as_dir
=.
9214 for ac_exec_ext
in '' $ac_executable_extensions; do
9215 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9216 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9227 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9228 if test -n "$aros_kernel_cc"; then
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9230 $as_echo "$aros_kernel_cc" >&6; }
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9233 $as_echo "no" >&6; }
9238 if test "$aros_kernel_cc" = ""; then
9239 # Extract the first word of "cc", so it can be a program name with args.
9240 set dummy cc
; ac_word
=$2
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9242 $as_echo_n "checking for $ac_word... " >&6; }
9243 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9244 $as_echo_n "(cached) " >&6
9246 case $aros_kernel_cc in
9248 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9255 test -z "$as_dir" && as_dir
=.
9256 for ac_exec_ext
in '' $ac_executable_extensions; do
9257 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9258 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9269 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9270 if test -n "$aros_kernel_cc"; then
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9272 $as_echo "$aros_kernel_cc" >&6; }
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9275 $as_echo "no" >&6; }
9282 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9283 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9285 $as_echo_n "checking for $ac_word... " >&6; }
9286 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9287 $as_echo_n "(cached) " >&6
9289 case $aros_kernel_cc in
9291 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9298 test -z "$as_dir" && as_dir
=.
9299 for ac_exec_ext
in '' $ac_executable_extensions; do
9300 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9301 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9312 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9313 if test -n "$aros_kernel_cc"; then
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9315 $as_echo "$aros_kernel_cc" >&6; }
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9318 $as_echo "no" >&6; }
9324 if test "$aros_kernel_cc" = ""; then
9325 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9327 if test "x$aros_kernel_cxx" = "x"; then
9328 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9331 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9332 if test "$cross_compiling" = "yes" ; then
9333 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9334 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9336 $as_echo_n "checking for $ac_word... " >&6; }
9337 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9338 $as_echo_n "(cached) " >&6
9340 case $aros_kernel_cxx in
9342 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9349 test -z "$as_dir" && as_dir
=.
9350 for ac_exec_ext
in '' $ac_executable_extensions; do
9351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9352 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9363 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9364 if test -n "$aros_kernel_cxx"; then
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9366 $as_echo "$aros_kernel_cxx" >&6; }
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9369 $as_echo "no" >&6; }
9374 if test "$GCC" = "yes"; then
9375 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9376 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9377 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9379 $as_echo_n "checking for $ac_word... " >&6; }
9380 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9381 $as_echo_n "(cached) " >&6
9383 case $aros_kernel_cxx in
9385 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9389 for as_dir
in `dirname $aros_gcc_cxx`
9392 test -z "$as_dir" && as_dir
=.
9393 for ac_exec_ext
in '' $ac_executable_extensions; do
9394 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9395 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9406 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9407 if test -n "$aros_kernel_cxx"; then
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9409 $as_echo "$aros_kernel_cxx" >&6; }
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9412 $as_echo "no" >&6; }
9417 if test "$aros_kernel_cxx" = ""; then
9418 # Extract the first word of "cxx", so it can be a program name with args.
9419 set dummy cxx
; ac_word
=$2
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9421 $as_echo_n "checking for $ac_word... " >&6; }
9422 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9423 $as_echo_n "(cached) " >&6
9425 case $aros_kernel_cxx in
9427 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9434 test -z "$as_dir" && as_dir
=.
9435 for ac_exec_ext
in '' $ac_executable_extensions; do
9436 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9437 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9448 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9449 if test -n "$aros_kernel_cxx"; then
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9451 $as_echo "$aros_kernel_cxx" >&6; }
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9454 $as_echo "no" >&6; }
9461 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9462 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9464 $as_echo_n "checking for $ac_word... " >&6; }
9465 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9466 $as_echo_n "(cached) " >&6
9468 case $aros_kernel_cxx in
9470 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9477 test -z "$as_dir" && as_dir
=.
9478 for ac_exec_ext
in '' $ac_executable_extensions; do
9479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9480 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9491 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9492 if test -n "$aros_kernel_cxx"; then
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9494 $as_echo "$aros_kernel_cxx" >&6; }
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9497 $as_echo "no" >&6; }
9503 # If it's set, make sure it's really there
9504 if test "x$aros_kernel_cxx" != "x" ; then
9505 if test "$aros_kernel_cxx" = ""; then
9506 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9510 if test "$aros_kernel_ld" = ""; then
9511 if test "$cross_compiling" = "yes" ; then
9512 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9513 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9515 $as_echo_n "checking for $ac_word... " >&6; }
9516 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9517 $as_echo_n "(cached) " >&6
9519 case $aros_kernel_ld in
9521 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9528 test -z "$as_dir" && as_dir
=.
9529 for ac_exec_ext
in '' $ac_executable_extensions; do
9530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9531 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9542 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9543 if test -n "$aros_kernel_ld"; then
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9545 $as_echo "$aros_kernel_ld" >&6; }
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9548 $as_echo "no" >&6; }
9553 if test "$GCC" = "yes"; then
9554 aros_gcc_ld
=`$CC -print-prog-name=ld`
9555 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9556 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9558 $as_echo_n "checking for $ac_word... " >&6; }
9559 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9560 $as_echo_n "(cached) " >&6
9562 case $aros_kernel_ld in
9564 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9568 for as_dir
in `dirname $aros_gcc_ld`
9571 test -z "$as_dir" && as_dir
=.
9572 for ac_exec_ext
in '' $ac_executable_extensions; do
9573 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9574 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9585 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9586 if test -n "$aros_kernel_ld"; then
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9588 $as_echo "$aros_kernel_ld" >&6; }
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9591 $as_echo "no" >&6; }
9596 if test "$aros_kernel_ld" = ""; then
9597 # Extract the first word of "ld", so it can be a program name with args.
9598 set dummy ld
; ac_word
=$2
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9600 $as_echo_n "checking for $ac_word... " >&6; }
9601 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9602 $as_echo_n "(cached) " >&6
9604 case $aros_kernel_ld in
9606 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9613 test -z "$as_dir" && as_dir
=.
9614 for ac_exec_ext
in '' $ac_executable_extensions; do
9615 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9616 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9627 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9628 if test -n "$aros_kernel_ld"; then
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9630 $as_echo "$aros_kernel_ld" >&6; }
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9633 $as_echo "no" >&6; }
9640 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9641 set dummy
$aros_kernel_ld; ac_word
=$2
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9643 $as_echo_n "checking for $ac_word... " >&6; }
9644 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9645 $as_echo_n "(cached) " >&6
9647 case $aros_kernel_ld in
9649 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9656 test -z "$as_dir" && as_dir
=.
9657 for ac_exec_ext
in '' $ac_executable_extensions; do
9658 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9659 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9670 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9671 if test -n "$aros_kernel_ld"; then
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9673 $as_echo "$aros_kernel_ld" >&6; }
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9676 $as_echo "no" >&6; }
9682 if test "$aros_kernel_ld" = ""; then
9683 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9686 if test "$aros_kernel_as" = ""; then
9687 if test "$cross_compiling" = "yes" ; then
9688 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9689 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9691 $as_echo_n "checking for $ac_word... " >&6; }
9692 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9693 $as_echo_n "(cached) " >&6
9695 case $aros_kernel_as in
9697 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9704 test -z "$as_dir" && as_dir
=.
9705 for ac_exec_ext
in '' $ac_executable_extensions; do
9706 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9707 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9718 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9719 if test -n "$aros_kernel_as"; then
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9721 $as_echo "$aros_kernel_as" >&6; }
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9724 $as_echo "no" >&6; }
9729 if test "$GCC" = "yes"; then
9730 aros_gcc_as
=`$CC -print-prog-name=as`
9731 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9732 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9734 $as_echo_n "checking for $ac_word... " >&6; }
9735 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9736 $as_echo_n "(cached) " >&6
9738 case $aros_kernel_as in
9740 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9744 for as_dir
in `dirname $aros_gcc_as`
9747 test -z "$as_dir" && as_dir
=.
9748 for ac_exec_ext
in '' $ac_executable_extensions; do
9749 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9750 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9761 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9762 if test -n "$aros_kernel_as"; then
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9764 $as_echo "$aros_kernel_as" >&6; }
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9767 $as_echo "no" >&6; }
9772 if test "$aros_kernel_as" = ""; then
9773 # Extract the first word of "as", so it can be a program name with args.
9774 set dummy as
; ac_word
=$2
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9776 $as_echo_n "checking for $ac_word... " >&6; }
9777 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9778 $as_echo_n "(cached) " >&6
9780 case $aros_kernel_as in
9782 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9789 test -z "$as_dir" && as_dir
=.
9790 for ac_exec_ext
in '' $ac_executable_extensions; do
9791 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9792 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9803 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9804 if test -n "$aros_kernel_as"; then
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9806 $as_echo "$aros_kernel_as" >&6; }
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9809 $as_echo "no" >&6; }
9816 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9817 set dummy
$aros_kernel_as; ac_word
=$2
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9819 $as_echo_n "checking for $ac_word... " >&6; }
9820 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9821 $as_echo_n "(cached) " >&6
9823 case $aros_kernel_as in
9825 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9832 test -z "$as_dir" && as_dir
=.
9833 for ac_exec_ext
in '' $ac_executable_extensions; do
9834 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9835 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9846 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9847 if test -n "$aros_kernel_as"; then
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9849 $as_echo "$aros_kernel_as" >&6; }
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9852 $as_echo "no" >&6; }
9858 if test "$aros_kernel_as" = ""; then
9859 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9862 if test "$aros_kernel_ar" = ""; then
9863 if test "$cross_compiling" = "yes" ; then
9864 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9865 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9867 $as_echo_n "checking for $ac_word... " >&6; }
9868 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9869 $as_echo_n "(cached) " >&6
9871 case $aros_kernel_ar in
9873 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9880 test -z "$as_dir" && as_dir
=.
9881 for ac_exec_ext
in '' $ac_executable_extensions; do
9882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9883 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9894 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9895 if test -n "$aros_kernel_ar"; then
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9897 $as_echo "$aros_kernel_ar" >&6; }
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9900 $as_echo "no" >&6; }
9905 if test "$GCC" = "yes"; then
9906 aros_gcc_ar
=`$CC -print-prog-name=ar`
9907 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9908 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9910 $as_echo_n "checking for $ac_word... " >&6; }
9911 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9912 $as_echo_n "(cached) " >&6
9914 case $aros_kernel_ar in
9916 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9920 for as_dir
in `dirname $aros_gcc_ar`
9923 test -z "$as_dir" && as_dir
=.
9924 for ac_exec_ext
in '' $ac_executable_extensions; do
9925 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9926 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9937 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9938 if test -n "$aros_kernel_ar"; then
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9940 $as_echo "$aros_kernel_ar" >&6; }
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9943 $as_echo "no" >&6; }
9948 if test "$aros_kernel_ar" = ""; then
9949 # Extract the first word of "ar", so it can be a program name with args.
9950 set dummy
ar; ac_word
=$2
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9952 $as_echo_n "checking for $ac_word... " >&6; }
9953 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9954 $as_echo_n "(cached) " >&6
9956 case $aros_kernel_ar in
9958 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9965 test -z "$as_dir" && as_dir
=.
9966 for ac_exec_ext
in '' $ac_executable_extensions; do
9967 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9968 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9979 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9980 if test -n "$aros_kernel_ar"; then
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9982 $as_echo "$aros_kernel_ar" >&6; }
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9985 $as_echo "no" >&6; }
9992 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9993 set dummy
$aros_kernel_ar; ac_word
=$2
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9995 $as_echo_n "checking for $ac_word... " >&6; }
9996 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9997 $as_echo_n "(cached) " >&6
9999 case $aros_kernel_ar in
10001 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10005 for as_dir
in $PATH
10008 test -z "$as_dir" && as_dir
=.
10009 for ac_exec_ext
in '' $ac_executable_extensions; do
10010 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10011 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10022 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10023 if test -n "$aros_kernel_ar"; then
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10025 $as_echo "$aros_kernel_ar" >&6; }
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10028 $as_echo "no" >&6; }
10034 if test "$aros_kernel_ar" = ""; then
10035 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
10038 if test "$aros_kernel_ranlib" = ""; then
10039 if test "$cross_compiling" = "yes" ; then
10040 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
10041 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10043 $as_echo_n "checking for $ac_word... " >&6; }
10044 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10045 $as_echo_n "(cached) " >&6
10047 case $aros_kernel_ranlib in
10049 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10053 for as_dir
in $PATH
10056 test -z "$as_dir" && as_dir
=.
10057 for ac_exec_ext
in '' $ac_executable_extensions; do
10058 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10059 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10070 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10071 if test -n "$aros_kernel_ranlib"; then
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10073 $as_echo "$aros_kernel_ranlib" >&6; }
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10076 $as_echo "no" >&6; }
10081 if test "$GCC" = "yes"; then
10082 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10083 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10084 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10086 $as_echo_n "checking for $ac_word... " >&6; }
10087 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10088 $as_echo_n "(cached) " >&6
10090 case $aros_kernel_ranlib in
10092 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10096 for as_dir
in `dirname $aros_gcc_ranlib`
10099 test -z "$as_dir" && as_dir
=.
10100 for ac_exec_ext
in '' $ac_executable_extensions; do
10101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10102 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10113 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10114 if test -n "$aros_kernel_ranlib"; then
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10116 $as_echo "$aros_kernel_ranlib" >&6; }
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10119 $as_echo "no" >&6; }
10124 if test "$aros_kernel_ranlib" = ""; then
10125 # Extract the first word of "ranlib", so it can be a program name with args.
10126 set dummy ranlib
; ac_word
=$2
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10128 $as_echo_n "checking for $ac_word... " >&6; }
10129 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10130 $as_echo_n "(cached) " >&6
10132 case $aros_kernel_ranlib in
10134 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10138 for as_dir
in $PATH
10141 test -z "$as_dir" && as_dir
=.
10142 for ac_exec_ext
in '' $ac_executable_extensions; do
10143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10144 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10155 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10156 if test -n "$aros_kernel_ranlib"; then
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10158 $as_echo "$aros_kernel_ranlib" >&6; }
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10161 $as_echo "no" >&6; }
10168 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10169 set dummy
$aros_kernel_ranlib; ac_word
=$2
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10171 $as_echo_n "checking for $ac_word... " >&6; }
10172 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10173 $as_echo_n "(cached) " >&6
10175 case $aros_kernel_ranlib in
10177 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10181 for as_dir
in $PATH
10184 test -z "$as_dir" && as_dir
=.
10185 for ac_exec_ext
in '' $ac_executable_extensions; do
10186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10187 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10198 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10199 if test -n "$aros_kernel_ranlib"; then
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10201 $as_echo "$aros_kernel_ranlib" >&6; }
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10204 $as_echo "no" >&6; }
10210 if test "$aros_kernel_ranlib" = ""; then
10211 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10214 if test "$aros_kernel_nm" = ""; then
10215 if test "$cross_compiling" = "yes" ; then
10216 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10217 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10219 $as_echo_n "checking for $ac_word... " >&6; }
10220 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10221 $as_echo_n "(cached) " >&6
10223 case $aros_kernel_nm in
10225 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10229 for as_dir
in $PATH
10232 test -z "$as_dir" && as_dir
=.
10233 for ac_exec_ext
in '' $ac_executable_extensions; do
10234 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10235 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10246 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10247 if test -n "$aros_kernel_nm"; then
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10249 $as_echo "$aros_kernel_nm" >&6; }
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10252 $as_echo "no" >&6; }
10257 if test "$GCC" = "yes"; then
10258 aros_gcc_nm
=`$CC -print-prog-name=nm`
10259 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10260 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10262 $as_echo_n "checking for $ac_word... " >&6; }
10263 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10264 $as_echo_n "(cached) " >&6
10266 case $aros_kernel_nm in
10268 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10272 for as_dir
in `dirname $aros_gcc_nm`
10275 test -z "$as_dir" && as_dir
=.
10276 for ac_exec_ext
in '' $ac_executable_extensions; do
10277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10278 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10289 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10290 if test -n "$aros_kernel_nm"; then
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10292 $as_echo "$aros_kernel_nm" >&6; }
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10295 $as_echo "no" >&6; }
10300 if test "$aros_kernel_nm" = ""; then
10301 # Extract the first word of "nm", so it can be a program name with args.
10302 set dummy nm
; ac_word
=$2
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10304 $as_echo_n "checking for $ac_word... " >&6; }
10305 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10306 $as_echo_n "(cached) " >&6
10308 case $aros_kernel_nm in
10310 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10314 for as_dir
in $PATH
10317 test -z "$as_dir" && as_dir
=.
10318 for ac_exec_ext
in '' $ac_executable_extensions; do
10319 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10320 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10331 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10332 if test -n "$aros_kernel_nm"; then
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10334 $as_echo "$aros_kernel_nm" >&6; }
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10337 $as_echo "no" >&6; }
10344 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10345 set dummy
$aros_kernel_nm; ac_word
=$2
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10347 $as_echo_n "checking for $ac_word... " >&6; }
10348 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10349 $as_echo_n "(cached) " >&6
10351 case $aros_kernel_nm in
10353 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10357 for as_dir
in $PATH
10360 test -z "$as_dir" && as_dir
=.
10361 for ac_exec_ext
in '' $ac_executable_extensions; do
10362 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10363 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10374 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10375 if test -n "$aros_kernel_nm"; then
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10377 $as_echo "$aros_kernel_nm" >&6; }
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10380 $as_echo "no" >&6; }
10386 if test "$aros_kernel_nm" = ""; then
10387 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10390 if test "$aros_kernel_strip" = ""; then
10391 if test "$cross_compiling" = "yes" ; then
10392 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10393 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10395 $as_echo_n "checking for $ac_word... " >&6; }
10396 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10397 $as_echo_n "(cached) " >&6
10399 case $aros_kernel_strip in
10401 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10405 for as_dir
in $PATH
10408 test -z "$as_dir" && as_dir
=.
10409 for ac_exec_ext
in '' $ac_executable_extensions; do
10410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10411 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10422 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10423 if test -n "$aros_kernel_strip"; then
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10425 $as_echo "$aros_kernel_strip" >&6; }
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10428 $as_echo "no" >&6; }
10433 if test "$GCC" = "yes"; then
10434 aros_gcc_strip
=`$CC -print-prog-name=strip`
10435 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10436 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10438 $as_echo_n "checking for $ac_word... " >&6; }
10439 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10440 $as_echo_n "(cached) " >&6
10442 case $aros_kernel_strip in
10444 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10448 for as_dir
in `dirname $aros_gcc_strip`
10451 test -z "$as_dir" && as_dir
=.
10452 for ac_exec_ext
in '' $ac_executable_extensions; do
10453 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10454 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10465 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10466 if test -n "$aros_kernel_strip"; then
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10468 $as_echo "$aros_kernel_strip" >&6; }
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10471 $as_echo "no" >&6; }
10476 if test "$aros_kernel_strip" = ""; then
10477 # Extract the first word of "strip", so it can be a program name with args.
10478 set dummy strip
; ac_word
=$2
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10480 $as_echo_n "checking for $ac_word... " >&6; }
10481 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10482 $as_echo_n "(cached) " >&6
10484 case $aros_kernel_strip in
10486 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10490 for as_dir
in $PATH
10493 test -z "$as_dir" && as_dir
=.
10494 for ac_exec_ext
in '' $ac_executable_extensions; do
10495 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10496 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10507 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10508 if test -n "$aros_kernel_strip"; then
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10510 $as_echo "$aros_kernel_strip" >&6; }
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10513 $as_echo "no" >&6; }
10520 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10521 set dummy
$aros_kernel_strip; ac_word
=$2
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10523 $as_echo_n "checking for $ac_word... " >&6; }
10524 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10525 $as_echo_n "(cached) " >&6
10527 case $aros_kernel_strip in
10529 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10533 for as_dir
in $PATH
10536 test -z "$as_dir" && as_dir
=.
10537 for ac_exec_ext
in '' $ac_executable_extensions; do
10538 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10539 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10550 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10551 if test -n "$aros_kernel_strip"; then
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10553 $as_echo "$aros_kernel_strip" >&6; }
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10556 $as_echo "no" >&6; }
10562 if test "$aros_kernel_strip" = ""; then
10563 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10566 # Objcopy and objdump are not required for the kernel
10567 # toolchain on many architectures.
10568 # So we'll look for them, but not make them strictly required.
10570 if test "$aros_kernel_objcopy" = ""; then
10571 if test "$cross_compiling" = "yes" ; then
10572 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10573 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10575 $as_echo_n "checking for $ac_word... " >&6; }
10576 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10577 $as_echo_n "(cached) " >&6
10579 case $aros_kernel_objcopy in
10581 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10585 for as_dir
in $PATH
10588 test -z "$as_dir" && as_dir
=.
10589 for ac_exec_ext
in '' $ac_executable_extensions; do
10590 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10591 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10602 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10603 if test -n "$aros_kernel_objcopy"; then
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10605 $as_echo "$aros_kernel_objcopy" >&6; }
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10608 $as_echo "no" >&6; }
10613 if test "$GCC" = "yes"; then
10614 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10615 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10616 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10618 $as_echo_n "checking for $ac_word... " >&6; }
10619 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10620 $as_echo_n "(cached) " >&6
10622 case $aros_kernel_objcopy in
10624 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10628 for as_dir
in `dirname $aros_gcc_objcopy`
10631 test -z "$as_dir" && as_dir
=.
10632 for ac_exec_ext
in '' $ac_executable_extensions; do
10633 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10634 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10645 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10646 if test -n "$aros_kernel_objcopy"; then
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10648 $as_echo "$aros_kernel_objcopy" >&6; }
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10651 $as_echo "no" >&6; }
10656 if test "$aros_kernel_objcopy" = ""; then
10657 # Extract the first word of "objcopy", so it can be a program name with args.
10658 set dummy objcopy
; ac_word
=$2
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10660 $as_echo_n "checking for $ac_word... " >&6; }
10661 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10662 $as_echo_n "(cached) " >&6
10664 case $aros_kernel_objcopy in
10666 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10670 for as_dir
in $PATH
10673 test -z "$as_dir" && as_dir
=.
10674 for ac_exec_ext
in '' $ac_executable_extensions; do
10675 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10676 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10687 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10688 if test -n "$aros_kernel_objcopy"; then
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10690 $as_echo "$aros_kernel_objcopy" >&6; }
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10693 $as_echo "no" >&6; }
10700 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10701 set dummy
$aros_kernel_objcopy; ac_word
=$2
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10703 $as_echo_n "checking for $ac_word... " >&6; }
10704 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10705 $as_echo_n "(cached) " >&6
10707 case $aros_kernel_objcopy in
10709 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10713 for as_dir
in $PATH
10716 test -z "$as_dir" && as_dir
=.
10717 for ac_exec_ext
in '' $ac_executable_extensions; do
10718 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10719 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10730 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10731 if test -n "$aros_kernel_objcopy"; then
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10733 $as_echo "$aros_kernel_objcopy" >&6; }
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10736 $as_echo "no" >&6; }
10743 if test "$aros_kernel_objdump" = ""; then
10744 if test "$cross_compiling" = "yes" ; then
10745 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10746 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10748 $as_echo_n "checking for $ac_word... " >&6; }
10749 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10750 $as_echo_n "(cached) " >&6
10752 case $aros_kernel_objdump in
10754 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10758 for as_dir
in $PATH
10761 test -z "$as_dir" && as_dir
=.
10762 for ac_exec_ext
in '' $ac_executable_extensions; do
10763 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10764 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10775 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10776 if test -n "$aros_kernel_objdump"; then
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10778 $as_echo "$aros_kernel_objdump" >&6; }
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10781 $as_echo "no" >&6; }
10786 if test "$GCC" = "yes"; then
10787 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10788 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10789 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10791 $as_echo_n "checking for $ac_word... " >&6; }
10792 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10793 $as_echo_n "(cached) " >&6
10795 case $aros_kernel_objdump in
10797 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10801 for as_dir
in `dirname $aros_gcc_objdump`
10804 test -z "$as_dir" && as_dir
=.
10805 for ac_exec_ext
in '' $ac_executable_extensions; do
10806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10807 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10818 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10819 if test -n "$aros_kernel_objdump"; then
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10821 $as_echo "$aros_kernel_objdump" >&6; }
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10824 $as_echo "no" >&6; }
10829 if test "$aros_kernel_objdump" = ""; then
10830 # Extract the first word of "objdump", so it can be a program name with args.
10831 set dummy objdump
; ac_word
=$2
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10833 $as_echo_n "checking for $ac_word... " >&6; }
10834 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10835 $as_echo_n "(cached) " >&6
10837 case $aros_kernel_objdump in
10839 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10843 for as_dir
in $PATH
10846 test -z "$as_dir" && as_dir
=.
10847 for ac_exec_ext
in '' $ac_executable_extensions; do
10848 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10849 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10860 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10861 if test -n "$aros_kernel_objdump"; then
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10863 $as_echo "$aros_kernel_objdump" >&6; }
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10866 $as_echo "no" >&6; }
10873 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10874 set dummy
$aros_kernel_objdump; ac_word
=$2
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10876 $as_echo_n "checking for $ac_word... " >&6; }
10877 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10878 $as_echo_n "(cached) " >&6
10880 case $aros_kernel_objdump in
10882 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10886 for as_dir
in $PATH
10889 test -z "$as_dir" && as_dir
=.
10890 for ac_exec_ext
in '' $ac_executable_extensions; do
10891 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10892 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10903 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10904 if test -n "$aros_kernel_objdump"; then
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10906 $as_echo "$aros_kernel_objdump" >&6; }
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10909 $as_echo "no" >&6; }
10915 if test "x${crosstools}" != "xyes" ; then
10916 if test "$aros_kernel_objcopy" = ""; then
10917 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10919 if test "$aros_kernel_objdump" = ""; then
10920 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10926 $as_echo_n "checking which target tools to use... " >&6; }
10927 if test "$aros_target_toolchain" = "yes"; then
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10929 $as_echo "$target_tool_prefix" >&6; }
10930 # We are building AROS crosstools
10931 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10932 orig_target_cc
="${tmp_tool_prefix}gcc${target_tool_version}"
10933 orig_target_cxx
="${tmp_tool_prefix}g++${target_tool_version}"
10934 orig_target_cpp
="${tmp_tool_prefix}cpp"
10935 orig_target_ld
="${tmp_tool_prefix}ld"
10936 orig_target_as
="${tmp_tool_prefix}as"
10937 orig_target_ar
="${tmp_tool_prefix}ar"
10938 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10939 orig_target_nm
="${tmp_tool_prefix}nm"
10940 orig_target_strip
="${tmp_tool_prefix}strip"
10941 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10942 orig_target_objdump
="${tmp_tool_prefix}objdump"
10944 # Determine whether AROS or ELF tools should be used
10945 if test "$aros_tool_prefix" = "none"; then
10946 aros_tool_prefix
="${elf_tool_prefix}"
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10950 $as_echo "$aros_tool_prefix" >&6; }
10951 # We are *not* building AROS crosstools - use the AROS or ELF tools
10953 if test "${aros_tool_prefix}cpp${target_tool_version}" = ""; then
10954 if test "$cross_compiling" = "yes" ; then
10955 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10956 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10958 $as_echo_n "checking for $ac_word... " >&6; }
10959 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10960 $as_echo_n "(cached) " >&6
10962 case $orig_target_cpp in
10964 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10968 for as_dir
in $PATH
10971 test -z "$as_dir" && as_dir
=.
10972 for ac_exec_ext
in '' $ac_executable_extensions; do
10973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10974 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10985 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10986 if test -n "$orig_target_cpp"; then
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10988 $as_echo "$orig_target_cpp" >&6; }
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10991 $as_echo "no" >&6; }
10996 if test "$GCC" = "yes"; then
10997 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10998 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10999 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11001 $as_echo_n "checking for $ac_word... " >&6; }
11002 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11003 $as_echo_n "(cached) " >&6
11005 case $orig_target_cpp in
11007 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11011 for as_dir
in `dirname $aros_gcc_cpp`
11014 test -z "$as_dir" && as_dir
=.
11015 for ac_exec_ext
in '' $ac_executable_extensions; do
11016 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11017 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11028 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11029 if test -n "$orig_target_cpp"; then
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11031 $as_echo "$orig_target_cpp" >&6; }
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11034 $as_echo "no" >&6; }
11039 if test "$orig_target_cpp" = ""; then
11040 # Extract the first word of "cpp", so it can be a program name with args.
11041 set dummy cpp
; ac_word
=$2
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11043 $as_echo_n "checking for $ac_word... " >&6; }
11044 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11045 $as_echo_n "(cached) " >&6
11047 case $orig_target_cpp in
11049 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11053 for as_dir
in $PATH
11056 test -z "$as_dir" && as_dir
=.
11057 for ac_exec_ext
in '' $ac_executable_extensions; do
11058 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11059 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11070 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11071 if test -n "$orig_target_cpp"; then
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11073 $as_echo "$orig_target_cpp" >&6; }
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11076 $as_echo "no" >&6; }
11083 # Extract the first word of "${aros_tool_prefix}cpp${target_tool_version}", so it can be a program name with args.
11084 set dummy
${aros_tool_prefix}cpp
${target_tool_version}; ac_word
=$2
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11086 $as_echo_n "checking for $ac_word... " >&6; }
11087 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11088 $as_echo_n "(cached) " >&6
11090 case $orig_target_cpp in
11092 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11096 for as_dir
in $PATH
11099 test -z "$as_dir" && as_dir
=.
11100 for ac_exec_ext
in '' $ac_executable_extensions; do
11101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11102 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11113 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11114 if test -n "$orig_target_cpp"; then
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11116 $as_echo "$orig_target_cpp" >&6; }
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11119 $as_echo "no" >&6; }
11125 if test "$orig_target_cpp" = ""; then
11126 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11129 if test "${aros_tool_prefix}gcc${target_tool_version}" = ""; then
11130 if test "$cross_compiling" = "yes" ; then
11131 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11132 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11134 $as_echo_n "checking for $ac_word... " >&6; }
11135 if ${ac_cv_path_orig_target_cc+:} false
; then :
11136 $as_echo_n "(cached) " >&6
11138 case $orig_target_cc in
11140 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11144 for as_dir
in $PATH
11147 test -z "$as_dir" && as_dir
=.
11148 for ac_exec_ext
in '' $ac_executable_extensions; do
11149 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11150 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11161 orig_target_cc
=$ac_cv_path_orig_target_cc
11162 if test -n "$orig_target_cc"; then
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11164 $as_echo "$orig_target_cc" >&6; }
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11167 $as_echo "no" >&6; }
11172 if test "$GCC" = "yes"; then
11173 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11174 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11175 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11177 $as_echo_n "checking for $ac_word... " >&6; }
11178 if ${ac_cv_path_orig_target_cc+:} false
; then :
11179 $as_echo_n "(cached) " >&6
11181 case $orig_target_cc in
11183 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11187 for as_dir
in `dirname $aros_gcc_gcc`
11190 test -z "$as_dir" && as_dir
=.
11191 for ac_exec_ext
in '' $ac_executable_extensions; do
11192 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11193 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11204 orig_target_cc
=$ac_cv_path_orig_target_cc
11205 if test -n "$orig_target_cc"; then
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11207 $as_echo "$orig_target_cc" >&6; }
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11210 $as_echo "no" >&6; }
11215 if test "$orig_target_cc" = ""; then
11216 # Extract the first word of "gcc", so it can be a program name with args.
11217 set dummy gcc
; ac_word
=$2
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11219 $as_echo_n "checking for $ac_word... " >&6; }
11220 if ${ac_cv_path_orig_target_cc+:} false
; then :
11221 $as_echo_n "(cached) " >&6
11223 case $orig_target_cc in
11225 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11229 for as_dir
in $PATH
11232 test -z "$as_dir" && as_dir
=.
11233 for ac_exec_ext
in '' $ac_executable_extensions; do
11234 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11235 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11246 orig_target_cc
=$ac_cv_path_orig_target_cc
11247 if test -n "$orig_target_cc"; then
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11249 $as_echo "$orig_target_cc" >&6; }
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11252 $as_echo "no" >&6; }
11259 # Extract the first word of "${aros_tool_prefix}gcc${target_tool_version}", so it can be a program name with args.
11260 set dummy
${aros_tool_prefix}gcc
${target_tool_version}; ac_word
=$2
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11262 $as_echo_n "checking for $ac_word... " >&6; }
11263 if ${ac_cv_path_orig_target_cc+:} false
; then :
11264 $as_echo_n "(cached) " >&6
11266 case $orig_target_cc in
11268 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11272 for as_dir
in $PATH
11275 test -z "$as_dir" && as_dir
=.
11276 for ac_exec_ext
in '' $ac_executable_extensions; do
11277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11278 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11289 orig_target_cc
=$ac_cv_path_orig_target_cc
11290 if test -n "$orig_target_cc"; then
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11292 $as_echo "$orig_target_cc" >&6; }
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11295 $as_echo "no" >&6; }
11301 if test "$orig_target_cc" = ""; then
11302 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11305 if test "${aros_tool_prefix}g++${target_tool_version}" = ""; then
11306 if test "$cross_compiling" = "yes" ; then
11307 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11308 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11310 $as_echo_n "checking for $ac_word... " >&6; }
11311 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11312 $as_echo_n "(cached) " >&6
11314 case $orig_target_cxx in
11316 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11320 for as_dir
in $PATH
11323 test -z "$as_dir" && as_dir
=.
11324 for ac_exec_ext
in '' $ac_executable_extensions; do
11325 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11326 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11337 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11338 if test -n "$orig_target_cxx"; then
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11340 $as_echo "$orig_target_cxx" >&6; }
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11343 $as_echo "no" >&6; }
11348 if test "$GCC" = "yes"; then
11349 aros_gcc_g
++=`$CC -print-prog-name=g++`
11350 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11351 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11353 $as_echo_n "checking for $ac_word... " >&6; }
11354 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11355 $as_echo_n "(cached) " >&6
11357 case $orig_target_cxx in
11359 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11363 for as_dir
in `dirname $aros_gcc_g++`
11366 test -z "$as_dir" && as_dir
=.
11367 for ac_exec_ext
in '' $ac_executable_extensions; do
11368 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11369 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11380 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11381 if test -n "$orig_target_cxx"; then
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11383 $as_echo "$orig_target_cxx" >&6; }
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11386 $as_echo "no" >&6; }
11391 if test "$orig_target_cxx" = ""; then
11392 # Extract the first word of "g++", so it can be a program name with args.
11393 set dummy g
++; ac_word
=$2
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11395 $as_echo_n "checking for $ac_word... " >&6; }
11396 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11397 $as_echo_n "(cached) " >&6
11399 case $orig_target_cxx in
11401 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11405 for as_dir
in $PATH
11408 test -z "$as_dir" && as_dir
=.
11409 for ac_exec_ext
in '' $ac_executable_extensions; do
11410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11411 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11422 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11423 if test -n "$orig_target_cxx"; then
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11425 $as_echo "$orig_target_cxx" >&6; }
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11428 $as_echo "no" >&6; }
11435 # Extract the first word of "${aros_tool_prefix}g++${target_tool_version}", so it can be a program name with args.
11436 set dummy
${aros_tool_prefix}g
++${target_tool_version}; ac_word
=$2
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11438 $as_echo_n "checking for $ac_word... " >&6; }
11439 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11440 $as_echo_n "(cached) " >&6
11442 case $orig_target_cxx in
11444 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11448 for as_dir
in $PATH
11451 test -z "$as_dir" && as_dir
=.
11452 for ac_exec_ext
in '' $ac_executable_extensions; do
11453 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11454 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11465 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11466 if test -n "$orig_target_cxx"; then
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11468 $as_echo "$orig_target_cxx" >&6; }
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11471 $as_echo "no" >&6; }
11477 if test "$orig_target_cxx" = ""; then
11478 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11481 if test "${aros_tool_prefix}ld" = ""; then
11482 if test "$cross_compiling" = "yes" ; then
11483 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11484 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11486 $as_echo_n "checking for $ac_word... " >&6; }
11487 if ${ac_cv_path_orig_target_ld+:} false
; then :
11488 $as_echo_n "(cached) " >&6
11490 case $orig_target_ld in
11492 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11496 for as_dir
in $PATH
11499 test -z "$as_dir" && as_dir
=.
11500 for ac_exec_ext
in '' $ac_executable_extensions; do
11501 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11502 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11513 orig_target_ld
=$ac_cv_path_orig_target_ld
11514 if test -n "$orig_target_ld"; then
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11516 $as_echo "$orig_target_ld" >&6; }
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11519 $as_echo "no" >&6; }
11524 if test "$GCC" = "yes"; then
11525 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11526 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11527 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11529 $as_echo_n "checking for $ac_word... " >&6; }
11530 if ${ac_cv_path_orig_target_ld+:} false
; then :
11531 $as_echo_n "(cached) " >&6
11533 case $orig_target_ld in
11535 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11539 for as_dir
in `dirname $aros_gcc_gcc`
11542 test -z "$as_dir" && as_dir
=.
11543 for ac_exec_ext
in '' $ac_executable_extensions; do
11544 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11545 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11556 orig_target_ld
=$ac_cv_path_orig_target_ld
11557 if test -n "$orig_target_ld"; then
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11559 $as_echo "$orig_target_ld" >&6; }
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11562 $as_echo "no" >&6; }
11567 if test "$orig_target_ld" = ""; then
11568 # Extract the first word of "gcc", so it can be a program name with args.
11569 set dummy gcc
; ac_word
=$2
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11571 $as_echo_n "checking for $ac_word... " >&6; }
11572 if ${ac_cv_path_orig_target_ld+:} false
; then :
11573 $as_echo_n "(cached) " >&6
11575 case $orig_target_ld in
11577 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11581 for as_dir
in $PATH
11584 test -z "$as_dir" && as_dir
=.
11585 for ac_exec_ext
in '' $ac_executable_extensions; do
11586 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11587 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11598 orig_target_ld
=$ac_cv_path_orig_target_ld
11599 if test -n "$orig_target_ld"; then
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11601 $as_echo "$orig_target_ld" >&6; }
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11604 $as_echo "no" >&6; }
11611 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11612 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11614 $as_echo_n "checking for $ac_word... " >&6; }
11615 if ${ac_cv_path_orig_target_ld+:} false
; then :
11616 $as_echo_n "(cached) " >&6
11618 case $orig_target_ld in
11620 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11624 for as_dir
in $PATH
11627 test -z "$as_dir" && as_dir
=.
11628 for ac_exec_ext
in '' $ac_executable_extensions; do
11629 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11630 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11641 orig_target_ld
=$ac_cv_path_orig_target_ld
11642 if test -n "$orig_target_ld"; then
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11644 $as_echo "$orig_target_ld" >&6; }
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11647 $as_echo "no" >&6; }
11653 if test "$orig_target_ld" = ""; then
11654 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11657 if test "${aros_tool_prefix}as" = ""; then
11658 if test "$cross_compiling" = "yes" ; then
11659 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11660 set dummy
${target_tool_prefix}as
; ac_word
=$2
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11662 $as_echo_n "checking for $ac_word... " >&6; }
11663 if ${ac_cv_path_orig_target_as+:} false
; then :
11664 $as_echo_n "(cached) " >&6
11666 case $orig_target_as in
11668 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11672 for as_dir
in $PATH
11675 test -z "$as_dir" && as_dir
=.
11676 for ac_exec_ext
in '' $ac_executable_extensions; do
11677 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11678 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11689 orig_target_as
=$ac_cv_path_orig_target_as
11690 if test -n "$orig_target_as"; then
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11692 $as_echo "$orig_target_as" >&6; }
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11695 $as_echo "no" >&6; }
11700 if test "$GCC" = "yes"; then
11701 aros_gcc_as
=`$CC -print-prog-name=as`
11702 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11703 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11705 $as_echo_n "checking for $ac_word... " >&6; }
11706 if ${ac_cv_path_orig_target_as+:} false
; then :
11707 $as_echo_n "(cached) " >&6
11709 case $orig_target_as in
11711 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11715 for as_dir
in `dirname $aros_gcc_as`
11718 test -z "$as_dir" && as_dir
=.
11719 for ac_exec_ext
in '' $ac_executable_extensions; do
11720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11721 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11732 orig_target_as
=$ac_cv_path_orig_target_as
11733 if test -n "$orig_target_as"; then
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11735 $as_echo "$orig_target_as" >&6; }
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11738 $as_echo "no" >&6; }
11743 if test "$orig_target_as" = ""; then
11744 # Extract the first word of "as", so it can be a program name with args.
11745 set dummy as
; ac_word
=$2
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11747 $as_echo_n "checking for $ac_word... " >&6; }
11748 if ${ac_cv_path_orig_target_as+:} false
; then :
11749 $as_echo_n "(cached) " >&6
11751 case $orig_target_as in
11753 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11757 for as_dir
in $PATH
11760 test -z "$as_dir" && as_dir
=.
11761 for ac_exec_ext
in '' $ac_executable_extensions; do
11762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11763 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11774 orig_target_as
=$ac_cv_path_orig_target_as
11775 if test -n "$orig_target_as"; then
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11777 $as_echo "$orig_target_as" >&6; }
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11780 $as_echo "no" >&6; }
11787 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11788 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11790 $as_echo_n "checking for $ac_word... " >&6; }
11791 if ${ac_cv_path_orig_target_as+:} false
; then :
11792 $as_echo_n "(cached) " >&6
11794 case $orig_target_as in
11796 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11800 for as_dir
in $PATH
11803 test -z "$as_dir" && as_dir
=.
11804 for ac_exec_ext
in '' $ac_executable_extensions; do
11805 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11806 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11817 orig_target_as
=$ac_cv_path_orig_target_as
11818 if test -n "$orig_target_as"; then
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11820 $as_echo "$orig_target_as" >&6; }
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11823 $as_echo "no" >&6; }
11829 if test "$orig_target_as" = ""; then
11830 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11833 if test "${aros_tool_prefix}ar" = ""; then
11834 if test "$cross_compiling" = "yes" ; then
11835 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11836 set dummy
${target_tool_prefix}ar; ac_word
=$2
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11838 $as_echo_n "checking for $ac_word... " >&6; }
11839 if ${ac_cv_path_orig_target_ar+:} false
; then :
11840 $as_echo_n "(cached) " >&6
11842 case $orig_target_ar in
11844 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11848 for as_dir
in $PATH
11851 test -z "$as_dir" && as_dir
=.
11852 for ac_exec_ext
in '' $ac_executable_extensions; do
11853 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11854 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11865 orig_target_ar
=$ac_cv_path_orig_target_ar
11866 if test -n "$orig_target_ar"; then
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11868 $as_echo "$orig_target_ar" >&6; }
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11871 $as_echo "no" >&6; }
11876 if test "$GCC" = "yes"; then
11877 aros_gcc_ar
=`$CC -print-prog-name=ar`
11878 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11879 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11881 $as_echo_n "checking for $ac_word... " >&6; }
11882 if ${ac_cv_path_orig_target_ar+:} false
; then :
11883 $as_echo_n "(cached) " >&6
11885 case $orig_target_ar in
11887 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11891 for as_dir
in `dirname $aros_gcc_ar`
11894 test -z "$as_dir" && as_dir
=.
11895 for ac_exec_ext
in '' $ac_executable_extensions; do
11896 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11897 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11908 orig_target_ar
=$ac_cv_path_orig_target_ar
11909 if test -n "$orig_target_ar"; then
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11911 $as_echo "$orig_target_ar" >&6; }
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11914 $as_echo "no" >&6; }
11919 if test "$orig_target_ar" = ""; then
11920 # Extract the first word of "ar", so it can be a program name with args.
11921 set dummy
ar; ac_word
=$2
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11923 $as_echo_n "checking for $ac_word... " >&6; }
11924 if ${ac_cv_path_orig_target_ar+:} false
; then :
11925 $as_echo_n "(cached) " >&6
11927 case $orig_target_ar in
11929 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11933 for as_dir
in $PATH
11936 test -z "$as_dir" && as_dir
=.
11937 for ac_exec_ext
in '' $ac_executable_extensions; do
11938 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11939 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11950 orig_target_ar
=$ac_cv_path_orig_target_ar
11951 if test -n "$orig_target_ar"; then
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11953 $as_echo "$orig_target_ar" >&6; }
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11956 $as_echo "no" >&6; }
11963 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11964 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11966 $as_echo_n "checking for $ac_word... " >&6; }
11967 if ${ac_cv_path_orig_target_ar+:} false
; then :
11968 $as_echo_n "(cached) " >&6
11970 case $orig_target_ar in
11972 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11976 for as_dir
in $PATH
11979 test -z "$as_dir" && as_dir
=.
11980 for ac_exec_ext
in '' $ac_executable_extensions; do
11981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11982 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11993 orig_target_ar
=$ac_cv_path_orig_target_ar
11994 if test -n "$orig_target_ar"; then
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11996 $as_echo "$orig_target_ar" >&6; }
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11999 $as_echo "no" >&6; }
12005 if test "$orig_target_ar" = ""; then
12006 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
12009 if test "${aros_tool_prefix}ranlib" = ""; then
12010 if test "$cross_compiling" = "yes" ; then
12011 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12012 set dummy
${target_tool_prefix}ar; ac_word
=$2
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12014 $as_echo_n "checking for $ac_word... " >&6; }
12015 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12016 $as_echo_n "(cached) " >&6
12018 case $orig_target_ranlib in
12020 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12024 for as_dir
in $PATH
12027 test -z "$as_dir" && as_dir
=.
12028 for ac_exec_ext
in '' $ac_executable_extensions; do
12029 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12030 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12041 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12042 if test -n "$orig_target_ranlib"; then
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12044 $as_echo "$orig_target_ranlib" >&6; }
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12047 $as_echo "no" >&6; }
12052 if test "$GCC" = "yes"; then
12053 aros_gcc_ar
=`$CC -print-prog-name=ar`
12054 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12055 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12057 $as_echo_n "checking for $ac_word... " >&6; }
12058 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12059 $as_echo_n "(cached) " >&6
12061 case $orig_target_ranlib in
12063 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12067 for as_dir
in `dirname $aros_gcc_ar`
12070 test -z "$as_dir" && as_dir
=.
12071 for ac_exec_ext
in '' $ac_executable_extensions; do
12072 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12073 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12084 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12085 if test -n "$orig_target_ranlib"; then
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12087 $as_echo "$orig_target_ranlib" >&6; }
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12090 $as_echo "no" >&6; }
12095 if test "$orig_target_ranlib" = ""; then
12096 # Extract the first word of "ar", so it can be a program name with args.
12097 set dummy
ar; ac_word
=$2
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12099 $as_echo_n "checking for $ac_word... " >&6; }
12100 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12101 $as_echo_n "(cached) " >&6
12103 case $orig_target_ranlib in
12105 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12109 for as_dir
in $PATH
12112 test -z "$as_dir" && as_dir
=.
12113 for ac_exec_ext
in '' $ac_executable_extensions; do
12114 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12115 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12126 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12127 if test -n "$orig_target_ranlib"; then
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12129 $as_echo "$orig_target_ranlib" >&6; }
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12132 $as_echo "no" >&6; }
12139 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
12140 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12142 $as_echo_n "checking for $ac_word... " >&6; }
12143 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12144 $as_echo_n "(cached) " >&6
12146 case $orig_target_ranlib in
12148 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12152 for as_dir
in $PATH
12155 test -z "$as_dir" && as_dir
=.
12156 for ac_exec_ext
in '' $ac_executable_extensions; do
12157 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12158 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12169 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12170 if test -n "$orig_target_ranlib"; then
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12172 $as_echo "$orig_target_ranlib" >&6; }
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12175 $as_echo "no" >&6; }
12181 if test "$orig_target_ranlib" = ""; then
12182 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12185 if test "${aros_tool_prefix}nm" = ""; then
12186 if test "$cross_compiling" = "yes" ; then
12187 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12188 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12190 $as_echo_n "checking for $ac_word... " >&6; }
12191 if ${ac_cv_path_orig_target_nm+:} false
; then :
12192 $as_echo_n "(cached) " >&6
12194 case $orig_target_nm in
12196 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12200 for as_dir
in $PATH
12203 test -z "$as_dir" && as_dir
=.
12204 for ac_exec_ext
in '' $ac_executable_extensions; do
12205 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12206 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12217 orig_target_nm
=$ac_cv_path_orig_target_nm
12218 if test -n "$orig_target_nm"; then
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12220 $as_echo "$orig_target_nm" >&6; }
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12223 $as_echo "no" >&6; }
12228 if test "$GCC" = "yes"; then
12229 aros_gcc_nm
=`$CC -print-prog-name=nm`
12230 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12231 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12233 $as_echo_n "checking for $ac_word... " >&6; }
12234 if ${ac_cv_path_orig_target_nm+:} false
; then :
12235 $as_echo_n "(cached) " >&6
12237 case $orig_target_nm in
12239 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12243 for as_dir
in `dirname $aros_gcc_nm`
12246 test -z "$as_dir" && as_dir
=.
12247 for ac_exec_ext
in '' $ac_executable_extensions; do
12248 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12249 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12260 orig_target_nm
=$ac_cv_path_orig_target_nm
12261 if test -n "$orig_target_nm"; then
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12263 $as_echo "$orig_target_nm" >&6; }
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12266 $as_echo "no" >&6; }
12271 if test "$orig_target_nm" = ""; then
12272 # Extract the first word of "nm", so it can be a program name with args.
12273 set dummy nm
; ac_word
=$2
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12275 $as_echo_n "checking for $ac_word... " >&6; }
12276 if ${ac_cv_path_orig_target_nm+:} false
; then :
12277 $as_echo_n "(cached) " >&6
12279 case $orig_target_nm in
12281 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12285 for as_dir
in $PATH
12288 test -z "$as_dir" && as_dir
=.
12289 for ac_exec_ext
in '' $ac_executable_extensions; do
12290 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12291 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12302 orig_target_nm
=$ac_cv_path_orig_target_nm
12303 if test -n "$orig_target_nm"; then
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12305 $as_echo "$orig_target_nm" >&6; }
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12308 $as_echo "no" >&6; }
12315 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12316 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12318 $as_echo_n "checking for $ac_word... " >&6; }
12319 if ${ac_cv_path_orig_target_nm+:} false
; then :
12320 $as_echo_n "(cached) " >&6
12322 case $orig_target_nm in
12324 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12328 for as_dir
in $PATH
12331 test -z "$as_dir" && as_dir
=.
12332 for ac_exec_ext
in '' $ac_executable_extensions; do
12333 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12334 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12345 orig_target_nm
=$ac_cv_path_orig_target_nm
12346 if test -n "$orig_target_nm"; then
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12348 $as_echo "$orig_target_nm" >&6; }
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12351 $as_echo "no" >&6; }
12357 if test "$orig_target_nm" = ""; then
12358 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12361 if test "${aros_tool_prefix}strip" = ""; then
12362 if test "$cross_compiling" = "yes" ; then
12363 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12364 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12366 $as_echo_n "checking for $ac_word... " >&6; }
12367 if ${ac_cv_path_orig_target_strip+:} false
; then :
12368 $as_echo_n "(cached) " >&6
12370 case $orig_target_strip in
12372 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12376 for as_dir
in $PATH
12379 test -z "$as_dir" && as_dir
=.
12380 for ac_exec_ext
in '' $ac_executable_extensions; do
12381 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12382 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12393 orig_target_strip
=$ac_cv_path_orig_target_strip
12394 if test -n "$orig_target_strip"; then
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12396 $as_echo "$orig_target_strip" >&6; }
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12399 $as_echo "no" >&6; }
12404 if test "$GCC" = "yes"; then
12405 aros_gcc_strip
=`$CC -print-prog-name=strip`
12406 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12407 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12409 $as_echo_n "checking for $ac_word... " >&6; }
12410 if ${ac_cv_path_orig_target_strip+:} false
; then :
12411 $as_echo_n "(cached) " >&6
12413 case $orig_target_strip in
12415 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12419 for as_dir
in `dirname $aros_gcc_strip`
12422 test -z "$as_dir" && as_dir
=.
12423 for ac_exec_ext
in '' $ac_executable_extensions; do
12424 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12425 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12436 orig_target_strip
=$ac_cv_path_orig_target_strip
12437 if test -n "$orig_target_strip"; then
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12439 $as_echo "$orig_target_strip" >&6; }
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12442 $as_echo "no" >&6; }
12447 if test "$orig_target_strip" = ""; then
12448 # Extract the first word of "strip", so it can be a program name with args.
12449 set dummy strip
; ac_word
=$2
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12451 $as_echo_n "checking for $ac_word... " >&6; }
12452 if ${ac_cv_path_orig_target_strip+:} false
; then :
12453 $as_echo_n "(cached) " >&6
12455 case $orig_target_strip in
12457 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12461 for as_dir
in $PATH
12464 test -z "$as_dir" && as_dir
=.
12465 for ac_exec_ext
in '' $ac_executable_extensions; do
12466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12467 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12478 orig_target_strip
=$ac_cv_path_orig_target_strip
12479 if test -n "$orig_target_strip"; then
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12481 $as_echo "$orig_target_strip" >&6; }
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12484 $as_echo "no" >&6; }
12491 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12492 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12494 $as_echo_n "checking for $ac_word... " >&6; }
12495 if ${ac_cv_path_orig_target_strip+:} false
; then :
12496 $as_echo_n "(cached) " >&6
12498 case $orig_target_strip in
12500 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12504 for as_dir
in $PATH
12507 test -z "$as_dir" && as_dir
=.
12508 for ac_exec_ext
in '' $ac_executable_extensions; do
12509 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12510 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12521 orig_target_strip
=$ac_cv_path_orig_target_strip
12522 if test -n "$orig_target_strip"; then
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12524 $as_echo "$orig_target_strip" >&6; }
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12527 $as_echo "no" >&6; }
12533 if test "$orig_target_strip" = ""; then
12534 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12537 if test "${aros_tool_prefix}objcopy" = ""; then
12538 if test "$cross_compiling" = "yes" ; then
12539 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12540 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12542 $as_echo_n "checking for $ac_word... " >&6; }
12543 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12544 $as_echo_n "(cached) " >&6
12546 case $orig_target_objcopy in
12548 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12552 for as_dir
in $PATH
12555 test -z "$as_dir" && as_dir
=.
12556 for ac_exec_ext
in '' $ac_executable_extensions; do
12557 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12558 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12569 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12570 if test -n "$orig_target_objcopy"; then
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12572 $as_echo "$orig_target_objcopy" >&6; }
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12575 $as_echo "no" >&6; }
12580 if test "$GCC" = "yes"; then
12581 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12582 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12583 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12585 $as_echo_n "checking for $ac_word... " >&6; }
12586 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12587 $as_echo_n "(cached) " >&6
12589 case $orig_target_objcopy in
12591 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12595 for as_dir
in `dirname $aros_gcc_objcopy`
12598 test -z "$as_dir" && as_dir
=.
12599 for ac_exec_ext
in '' $ac_executable_extensions; do
12600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12601 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12612 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12613 if test -n "$orig_target_objcopy"; then
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12615 $as_echo "$orig_target_objcopy" >&6; }
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12618 $as_echo "no" >&6; }
12623 if test "$orig_target_objcopy" = ""; then
12624 # Extract the first word of "objcopy", so it can be a program name with args.
12625 set dummy objcopy
; ac_word
=$2
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12627 $as_echo_n "checking for $ac_word... " >&6; }
12628 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12629 $as_echo_n "(cached) " >&6
12631 case $orig_target_objcopy in
12633 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12637 for as_dir
in $PATH
12640 test -z "$as_dir" && as_dir
=.
12641 for ac_exec_ext
in '' $ac_executable_extensions; do
12642 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12643 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12654 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12655 if test -n "$orig_target_objcopy"; then
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12657 $as_echo "$orig_target_objcopy" >&6; }
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12660 $as_echo "no" >&6; }
12667 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12668 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12670 $as_echo_n "checking for $ac_word... " >&6; }
12671 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12672 $as_echo_n "(cached) " >&6
12674 case $orig_target_objcopy in
12676 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12680 for as_dir
in $PATH
12683 test -z "$as_dir" && as_dir
=.
12684 for ac_exec_ext
in '' $ac_executable_extensions; do
12685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12686 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12697 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12698 if test -n "$orig_target_objcopy"; then
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12700 $as_echo "$orig_target_objcopy" >&6; }
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12703 $as_echo "no" >&6; }
12709 if test "$orig_target_objcopy" = ""; then
12710 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12713 if test "${aros_tool_prefix}objdump" = ""; then
12714 if test "$cross_compiling" = "yes" ; then
12715 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12716 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12718 $as_echo_n "checking for $ac_word... " >&6; }
12719 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12720 $as_echo_n "(cached) " >&6
12722 case $orig_target_objdump in
12724 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12728 for as_dir
in $PATH
12731 test -z "$as_dir" && as_dir
=.
12732 for ac_exec_ext
in '' $ac_executable_extensions; do
12733 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12734 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12745 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12746 if test -n "$orig_target_objdump"; then
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12748 $as_echo "$orig_target_objdump" >&6; }
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12751 $as_echo "no" >&6; }
12756 if test "$GCC" = "yes"; then
12757 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12758 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12759 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12761 $as_echo_n "checking for $ac_word... " >&6; }
12762 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12763 $as_echo_n "(cached) " >&6
12765 case $orig_target_objdump in
12767 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12771 for as_dir
in `dirname $aros_gcc_objdump`
12774 test -z "$as_dir" && as_dir
=.
12775 for ac_exec_ext
in '' $ac_executable_extensions; do
12776 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12777 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12788 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12789 if test -n "$orig_target_objdump"; then
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12791 $as_echo "$orig_target_objdump" >&6; }
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12794 $as_echo "no" >&6; }
12799 if test "$orig_target_objdump" = ""; then
12800 # Extract the first word of "objdump", so it can be a program name with args.
12801 set dummy objdump
; ac_word
=$2
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12803 $as_echo_n "checking for $ac_word... " >&6; }
12804 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12805 $as_echo_n "(cached) " >&6
12807 case $orig_target_objdump in
12809 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12813 for as_dir
in $PATH
12816 test -z "$as_dir" && as_dir
=.
12817 for ac_exec_ext
in '' $ac_executable_extensions; do
12818 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12819 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12830 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12831 if test -n "$orig_target_objdump"; then
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12833 $as_echo "$orig_target_objdump" >&6; }
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12836 $as_echo "no" >&6; }
12843 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12844 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12846 $as_echo_n "checking for $ac_word... " >&6; }
12847 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12848 $as_echo_n "(cached) " >&6
12850 case $orig_target_objdump in
12852 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12856 for as_dir
in $PATH
12859 test -z "$as_dir" && as_dir
=.
12860 for ac_exec_ext
in '' $ac_executable_extensions; do
12861 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12862 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12873 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12874 if test -n "$orig_target_objdump"; then
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12876 $as_echo "$orig_target_objdump" >&6; }
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12879 $as_echo "no" >&6; }
12885 if test "$orig_target_objdump" = ""; then
12886 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12890 if test "$kernel_tool_prefix" = "none" ; then
12891 # No kernel tools specified
12892 # Assume target tools == kernel tools with ELF wrapper
12893 aros_kernel_cc
=$orig_target_cc
12894 aros_kernel_cxx
=$orig_target_cxx
12895 aros_kernel_cpp
=$orig_target_cpp
12896 aros_kernel_ld
=$orig_target_ld
12897 aros_kernel_as
=$orig_target_as
12898 aros_kernel_ar
=$orig_target_ar
12899 aros_kernel_ranlib
=$orig_target_ranlib
12900 aros_kernel_nm
=$orig_target_nm
12901 aros_kernel_strip
=$orig_target_strip
12902 aros_kernel_objcopy
=$orig_target_objcopy
12903 aros_kernel_objdump
=$orig_target_objdump
12904 use_kernel_cc_wrapper
=yes
12907 # At this point, all aros_kernel_* and aros_target_*
12908 # tools should be set up correctly
12910 CC
="$aros_kernel_cc $kernel_tool_flags"
12911 CPP
="$aros_kernel_cpp"
12913 #-----------------------------------------------------------------------------
12915 # Disable pointer-signedness warnings if the compiler recognises the option
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12918 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12919 save_cflags
="$CFLAGS"
12920 if test "$crosstools" != "yes" ; then
12921 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12923 /* end confdefs.h. */
12933 if ac_fn_c_try_compile
"$LINENO"; then :
12934 use_no_sign_warning
="yes"
12936 use_no_sign_warning
="no"
12938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12940 # we do know it is supported for the smallest version of gcc we are going to build
12941 # we assume it's also supported by later versions
12942 use_no_sign_warning
=yes
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12945 $as_echo "$use_no_sign_warning" >&6; }
12946 if test "x-$use_no_sign_warning" = "x-yes" ; then
12947 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12949 CFLAGS
="$save_cflags"
12951 #-----------------------------------------------------------------------------
12953 # Find all the tools we need to compile. This could be cross-compiling
12954 # though! If that is the case we use the GNU form of the target and
12955 # simply add this to the front of the binary name. This is rather simple,
12956 # but it should work under most circumstances.
12958 # The default tools are to use the same as the host, but only if the
12959 # host and target CPU are the same. With GCC this is normally enough.
12963 aros_shared_ld
="$aros_host_ld"
12965 aros_target_mkdep
="$aros_host_mkdep"
12967 # The default tools executables to be linked to.
12968 if test "$rescomp" != ""; then
12969 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12970 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12972 $as_echo_n "checking for $ac_word... " >&6; }
12973 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12974 $as_echo_n "(cached) " >&6
12976 case $aros_kernel_rescomp in
12978 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12982 for as_dir
in $PATH
12985 test -z "$as_dir" && as_dir
=.
12986 for ac_exec_ext
in '' $ac_executable_extensions; do
12987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12988 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12999 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
13000 if test -n "$aros_kernel_rescomp"; then
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
13002 $as_echo "$aros_kernel_rescomp" >&6; }
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13005 $as_echo "no" >&6; }
13009 if test "$aros_kernel_rescomp" = ""; then
13010 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
13014 # Set up the sources for the symlink farm
13015 if test "$crosstools" = "yes"; then
13016 crosstools_target
=tools-crosstools
13019 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
13020 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
13022 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
13023 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
13024 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
13025 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
13026 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
13027 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
13028 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
13030 # aros_cc_pre is a variable that is added to the front of the compiler name
13031 # in the generated aros-gcc shell script. We need this to enable the cache
13032 # to work across cleaned builds. Also, support DISTCC using the correct
13033 # environment variable.
13036 if test "x${DISTCC}" != "x" ; then
13037 if test "x${CCACHE}" != "x" ; then
13038 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
13040 aros_cc_pre
="${DISTCC} "
13043 if test "x${CCACHE}" != "x" ; then
13044 aros_cc_pre
="${CCACHE} "
13048 aros_target_nostdinc_cflags
=-nostdinc
13050 aros_target_nostartup_ldflags
=-nostartfiles
13052 aros_target_nix_ldflags
=-nix
13054 aros_target_detach_ldflags
=-detach
13056 aros_target_nostdlib_ldflags
=-nostdlib
13060 if test "$aros_target_toolchain" != "yes"; then
13061 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
13062 if test "$GCC" = "yes"; then
13063 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
13066 # We do not know which gcc version we are going to build and what we need to know
13067 # here is different for different versions so this will be set later during the
13068 # build of crosstools.
13069 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
13070 aros_target_cc_path
=@aros_target_cc_path@
13072 aros_target_cpp
="${prefix}cpp"
13073 aros_target_cc
="${prefix}gcc"
13074 aros_target_cxx
="${prefix}g++"
13075 aros_target_as
="${prefix}as"
13076 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld"
13077 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
13078 aros_target_objcopy
="${prefix}objcopy"
13079 aros_target_objdump
="${prefix}objdump"
13080 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
13081 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
13082 aros_target_strip
="${prefix}strip"
13083 aros_plain_nm
="${prefix}nm"
13084 aros_plain_ar
="${prefix}ar"
13086 # Check whether --enable-includes was given.
13087 if test "${enable_includes+set}" = set; then :
13088 enableval
=$enable_includes; aros_target_incl
=$enable_includes
13090 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
13094 if test "$aros_kernel_includes" = ""; then
13095 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13096 aros_kernel_includes
="-isystem $aros_target_incl"
13100 if test "$aros_kernel_includes" != "" ; then
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
13102 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
13103 if test "$aros_kernel_cc_includes" = "" ; then
13104 # Try to guess where the directory is.
13105 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
13106 if test -d $aros_kernel_cc_includes; then
13107 # Check if there is also an include-fixed directory and add it
13108 # to kernel compiler's include path as it may contain some of
13109 # the headers we need.
13110 if test -d "$aros_kernel_cc_includes"-fixed; then
13111 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
13113 # Check for specific includes directory. Neede for Ubuntu 11.10
13114 if test -d "/usr/include/i386-linux-gnu"; then
13115 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
13118 # The directory doesn't exist, we need to do some more work.
13119 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
13121 # These are the headers we're looking for.
13122 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13123 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13127 for h
in $headers; do
13128 # Which other headers are needed by each of the above?
13129 deps
=$
(echo "#include <$h>" | \
13130 $aros_kernel_cc -E -M - 2>/dev
/null | \
13131 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13133 # Copy all the needed headers to a directory beneath gendir.
13136 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13137 sed -n "s,^.*/include\(/.*\),\1,p")
13138 ! test -d $dir && mkdir
-p $dir
13139 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13145 $as_echo "$aros_kernel_cc_includes" >&6; }
13146 # Adding -nostdinc to kernel includes as they are always used together.
13147 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13150 if test "$crosstools" != "yes"; then
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13152 $as_echo_n "checking for the target compiler's include path... " >&6; }
13153 if test "$aros_target_cc_includes" = "" ; then
13154 #try to guess where the directory is
13155 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13156 if ! test -d $aros_target_cc_includes; then
13157 #the directory doesn't exist, we need to do some more work
13158 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13160 #these are the headers we're looking for
13161 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13162 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13166 for h
in $headers; do
13167 #which other headers each of the above headers needs?
13168 deps
=$
(echo "#include <$h>" | \
13169 $orig_target_cc -E -M - 2>/dev
/null | \
13170 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13172 #copy all the needed headers to a directory beneath gendir
13175 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13176 sed -n "s,^.*/include\(/.*\),\1,p")
13177 ! test -d $dir && mkdir
-p $dir
13178 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13184 $as_echo "$aros_target_cc_includes" >&6; }
13186 # We do not know which gcc version we are going to build and what we need to know
13187 # here is different for different versions so this will be set later during the
13188 # build of crosstools.
13189 aros_target_cc_includes
=@aros_target_cc_includes@
13193 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13194 # On GCC >= 4.0 -iquote should be used
13198 save_cflags
="$CFLAGS"
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13201 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13202 if test "x-$crosstools" != "x-yes"; then
13203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13204 /* end confdefs.h. */
13214 if ac_fn_c_try_compile
"$LINENO"; then :
13219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13221 # we do know it is supported for the smallest version of gcc we are going to build
13222 # we assume it's also supported by later versions
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13226 $as_echo "$has_iquote" >&6; }
13227 if test "x-$has_iquote" = "x-yes" ; then
13228 host_cflags_iquote
=-iquote
13229 host_cflags_iquote_end
=
13231 host_cflags_iquote
=-I
13232 host_cflags_iquote_end
=-I-
13234 kernel_cflags_iquote
=$host_cflags_iquote
13235 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13236 if test "x-$cross_compiling" = "x-yes"; then
13237 CC
="$aros_kernel_cc"
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13239 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13240 if test "x-$crosstools" != "x-yes"; then
13241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13242 /* end confdefs.h. */
13252 if ac_fn_c_try_compile
"$LINENO"; then :
13253 use_no_stack_protector
="yes"
13255 use_no_stack_protector
="no"
13257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13259 # we do know it is supported for the smallest version of gcc we are going to build
13260 # we assume it's also supported by later versions
13261 use_no_stack_protector
=yes
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13264 $as_echo "$use_no_stack_protector" >&6; }
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13266 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13267 if test "x-$crosstools" != "x-yes"; then
13268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13269 /* end confdefs.h. */
13279 if ac_fn_c_try_compile
"$LINENO"; then :
13284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13286 # we do know it is supported for the smallest version of gcc we are going to build
13287 # we assume it's also supported by later versions
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13291 $as_echo "$has_iquote" >&6; }
13292 if test "x-$has_iquote" = "x-yes" ; then
13293 kernel_cflags_iquote
=-iquote
13294 kernel_cflags_iquote_end
=
13296 kernel_cflags_iquote
=-I
13297 kernel_cflags_iquote_end
=-I-
13300 aros_cflags_iquote
=$kernel_cflags_iquote
13301 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13302 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13303 CC
="$orig_target_cc"
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13305 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13306 if test "x-$crosstools" != "x-yes"; then
13307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13308 /* end confdefs.h. */
13318 if ac_fn_c_try_compile
"$LINENO"; then :
13323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13325 # we do know it is supported for the smallest version of gcc we are going to build
13326 # we assume it's also supported by later versions
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13330 $as_echo "$has_iquote" >&6; }
13331 if test "x-$has_iquote" = "x-yes" ; then
13332 aros_cflags_iquote
=-iquote
13333 aros_cflags_iquote_end
=
13335 aros_cflags_iquote
=-I
13336 aros_cflags_iquote_end
=-I-
13339 if test "x-$use_no_stack_protector" = "x-yes" ; then
13340 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13344 #-----------------------------------------------------------------------------
13346 # Check if the target compiler supports some options used for delinting:
13347 # -Wunused-but-set-variable
13350 # -Wstrict-overflow
13351 # -Wformat-security
13353 if test "x-$crosstools" != "x-yes"; then
13354 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13355 CC
="$orig_target_cc"
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13358 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13359 CFLAGS
=-Wunused-but-set-variable
13360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13371 if ac_fn_c_try_compile
"$LINENO"; then :
13372 aros_unused_but_set_variable
="yes"
13374 aros_unused_but_set_variable
="no"
13376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13378 $as_echo "$aros_unused_but_set_variable" >&6; }
13379 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13380 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13384 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13385 CFLAGS
=-Warray-bounds
13386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13387 /* end confdefs.h. */
13397 if ac_fn_c_try_compile
"$LINENO"; then :
13398 aros_array_bounds
="yes"
13400 aros_array_bounds
="no"
13402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13404 $as_echo "$aros_array_bounds" >&6; }
13405 if test "x-$aros_array_bounds" = "x-yes" ; then
13406 aros_cflags_array_bounds
=-Wno-array-bounds
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13410 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13411 CFLAGS
=-Wenum-compare
13412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13413 /* end confdefs.h. */
13423 if ac_fn_c_try_compile
"$LINENO"; then :
13424 aros_enum_compare
="yes"
13426 aros_enum_compare
="no"
13428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13430 $as_echo "$aros_enum_compare" >&6; }
13431 if test "x-$aros_enum_compare" = "x-yes" ; then
13432 aros_cflags_enum_compare
=-Wno-enum-compare
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13436 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13437 CFLAGS
=-Wstrict-overflow
13438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13439 /* end confdefs.h. */
13449 if ac_fn_c_try_compile
"$LINENO"; then :
13450 aros_strict_overflow
="yes"
13452 aros_strict_overflow
="no"
13454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13456 $as_echo "$aros_strict_overflow" >&6; }
13457 if test "x-$aros_strict_overflow" = "x-yes" ; then
13458 aros_cflags_strict_overflow
=-Wno-strict-overflow
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13462 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13463 CFLAGS
=-Wformat-security
13464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13465 /* end confdefs.h. */
13475 if ac_fn_c_try_compile
"$LINENO"; then :
13476 aros_format_security
="yes"
13478 aros_format_security
="no"
13480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13482 $as_echo "$aros_format_security" >&6; }
13483 if test "x-$aros_format_security" = "x-yes" ; then
13484 aros_cflags_format_security
=-Wno-format-security
13487 # We do not know which gcc version we are going to build and what we need to know
13488 # here is different for different versions so this will be set later during the
13489 # build of crosstools.
13490 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13491 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13492 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13493 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13494 aros_cflags_format_security
=@aros_cflags_format_security@
13497 #-----------------------------------------------------------------------------
13499 # Check if we can explicitly choose older version of symbol hashing
13501 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13502 CC
="$aros_kernel_cc"
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13504 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13506 /* end confdefs.h. */
13516 if ac_fn_c_try_link
"$LINENO"; then :
13517 use_hash_style
="yes"
13519 use_hash_style
="no"
13521 rm -f core conftest.err conftest.
$ac_objext \
13522 conftest
$ac_exeext conftest.
$ac_ext
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13524 $as_echo "$use_hash_style" >&6; }
13525 if test "x-$use_hash_style" = "x-yes" ; then
13526 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13529 CFLAGS
="$save_cflags"
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13540 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13542 # Check whether --with-resolution was given.
13543 if test "${with_resolution+set}" = set; then :
13544 withval
=$with_resolution; resolution
=$withval
13549 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13550 if test "$resolution" = "yes" ; then
13553 if test "$resolution" = "no" ; then
13556 if test "$resolution" != "none" ; then
13557 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13558 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13559 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13562 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13563 aros_cv_default_wbwidth
=$aros_default_wbwidth
13564 aros_cv_default_wbheight
=$aros_default_wbheight
13565 aros_cv_default_wbdepth
=$aros_default_wbdepth
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13568 $as_echo_n "checking if serial debug is enabled... " >&6; }
13570 # Check whether --with-serial-debug was given.
13571 if test "${with_serial_debug+set}" = set; then :
13572 withval
=$with_serial_debug; serial_debug
=$withval
13577 if test "$aros_serial_debug" = 0 ; then
13578 serial_debug_forced
=""
13579 if test "$serial_debug" = "yes" ; then
13582 if test "$serial_debug" = "no" ; then
13583 serial_debug
="none"
13586 serial_debug_forced
="(forced)"
13587 serial_debug
=$aros_serial_debug
13589 if test "$serial_debug" != "none" ; then
13590 aros_serial_debug
=$serial_debug
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13592 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13595 $as_echo "no" >&6; }
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13599 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13600 # Check whether --enable-palm_debug_hack was given.
13601 if test "${enable_palm_debug_hack+set}" = set; then :
13602 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13604 palm_debug_hack
="no"
13607 if test "$palm_debug_hack" = "yes" ; then
13608 aros_palm_debug_hack
="1"
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13611 $as_echo "$palm_debug_hack" >&6; }
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
13614 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
13615 # Check whether --enable-usb30_code was given.
13616 if test "${enable_usb30_code+set}" = set; then :
13617 enableval
=$enable_usb30_code; usb30_code
="yes"
13622 if test "$usb30_code" = "yes" ; then
13623 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
13624 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
13627 $as_echo "$usb30_code" >&6; }
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13630 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13631 # Check whether --enable-nesting_supervisor was given.
13632 if test "${enable_nesting_supervisor+set}" = set; then :
13633 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13635 nesting_supervisor
="no"
13638 if test "$nesting_supervisor" = "yes" ; then
13639 aros_nesting_supervisor
="1"
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13642 $as_echo "$nesting_supervisor" >&6; }
13644 if test "$aros_enable_mmu" = "" ; then
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13646 $as_echo_n "checking if MMU support is enabled... " >&6; }
13647 # Check whether --enable-mmu was given.
13648 if test "${enable_mmu+set}" = set; then :
13649 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13651 aros_enable_mmu
="yes"
13654 if test "$aros_enable_mmu" = "" ; then
13655 aros_enable_mmu
="yes"
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13658 $as_echo "$aros_enable_mmu" >&6; }
13660 if test "$aros_enable_mmu" = "no" ; then
13661 aros_enable_mmu
="0"
13663 aros_enable_mmu
="1"
13667 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13669 if test "x-$need_dlopen" != "x-no" ; then
13672 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13673 if test "x$ac_cv_func_dlopen" = xyes
; then :
13679 if test "x-$have_dl" = "x-no" ; then
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13681 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13682 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13683 $as_echo_n "(cached) " >&6
13685 ac_check_lib_save_LIBS
=$LIBS
13687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13688 /* end confdefs.h. */
13690 /* Override any GCC internal prototype to avoid an error.
13691 Use char because int might match the return type of a GCC
13692 builtin and then its argument prototype would still apply. */
13705 if ac_fn_c_try_link
"$LINENO"; then :
13706 ac_cv_lib_dl_dlopen
=yes
13708 ac_cv_lib_dl_dlopen
=no
13710 rm -f core conftest.err conftest.
$ac_objext \
13711 conftest
$ac_exeext conftest.
$ac_ext
13712 LIBS
=$ac_check_lib_save_LIBS
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13715 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13716 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13718 aros_host_ldflags
="$aros_host_ldflags -ldl"
13724 if test "x-$have_dl" = "x-no" ; then
13725 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13731 # Check whether --enable-x11_hidd was given.
13732 if test "${enable_x11_hidd+set}" = set; then :
13733 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13735 x11_hidd
="$need_x11"
13738 case "x-$x11_hidd" in
13739 x-yes|x-no|x-auto
) ;;
13740 *) x11_hidd
="$need_x11" ;;
13745 if test "x-$x11_hidd" != "x-no" ; then
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13748 $as_echo_n "checking for X... " >&6; }
13751 # Check whether --with-x was given.
13752 if test "${with_x+set}" = set; then :
13756 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13757 if test "x$with_x" = xno
; then
13758 # The user explicitly disabled X.
13761 case $x_includes,$x_libraries in #(
13762 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13763 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13764 $as_echo_n "(cached) " >&6
13766 # One or both of the vars are not set, and there is no cached value.
13767 ac_x_includes
=no ac_x_libraries
=no
13768 rm -f -r conftest.dir
13769 if mkdir conftest.dir
; then
13771 cat >Imakefile
<<'_ACEOF'
13773 @echo incroot='${INCROOT}'
13775 @echo usrlibdir='${USRLIBDIR}'
13777 @echo libdir='${LIBDIR}'
13779 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13780 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13781 for ac_var
in incroot usrlibdir libdir
; do
13782 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13784 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13785 for ac_extension
in a so sl dylib la dll
; do
13786 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13787 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13788 ac_im_usrlibdir
=$ac_im_libdir; break
13791 # Screen out bogus values from the imake configuration. They are
13792 # bogus both because they are the default anyway, and because
13793 # using them would break gcc on systems where it needs fixed includes.
13794 case $ac_im_incroot in
13795 /usr
/include
) ac_x_includes
= ;;
13796 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13798 case $ac_im_usrlibdir in
13799 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13800 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13804 rm -f -r conftest.dir
13807 # Standard set of common directories for X headers.
13808 # Check X11 before X11Rn because it is often a symlink to the current release.
13822 /usr/local/X11/include
13823 /usr/local/X11R7/include
13824 /usr/local/X11R6/include
13825 /usr/local/X11R5/include
13826 /usr/local/X11R4/include
13828 /usr/local/include/X11
13829 /usr/local/include/X11R7
13830 /usr/local/include/X11R6
13831 /usr/local/include/X11R5
13832 /usr/local/include/X11R4
13836 /usr/XFree86/include/X11
13840 /usr/unsupported/include
13841 /usr/athena/include
13842 /usr/local/x11r5/include
13843 /usr/lpp/Xamples/include
13845 /usr/openwin/include
13846 /usr/openwin/share/include'
13848 if test "$ac_x_includes" = no
; then
13849 # Guess where to find include files, by looking for Xlib.h.
13850 # First, try using that file with no special directory specified.
13851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13852 /* end confdefs.h. */
13853 #include <X11/Xlib.h>
13855 if ac_fn_c_try_cpp
"$LINENO"; then :
13856 # We can compile using X headers with no special include directory.
13859 for ac_dir
in $ac_x_header_dirs; do
13860 if test -r "$ac_dir/X11/Xlib.h"; then
13861 ac_x_includes
=$ac_dir
13866 rm -f conftest.err conftest.i conftest.
$ac_ext
13867 fi # $ac_x_includes = no
13869 if test "$ac_x_libraries" = no
; then
13870 # Check for the libraries.
13871 # See if we find them without any special options.
13872 # Don't add to $LIBS permanently.
13875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13876 /* end confdefs.h. */
13877 #include <X11/Xlib.h>
13886 if ac_fn_c_try_link
"$LINENO"; then :
13888 # We can link X programs with no special library path.
13892 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13894 # Don't even attempt the hair of trying to link an X program!
13895 for ac_extension
in a so sl dylib la dll
; do
13896 if test -r "$ac_dir/libX11.$ac_extension"; then
13897 ac_x_libraries
=$ac_dir
13903 rm -f core conftest.err conftest.
$ac_objext \
13904 conftest
$ac_exeext conftest.
$ac_ext
13905 fi # $ac_x_libraries = no
13907 case $ac_x_includes,$ac_x_libraries in #(
13908 no
,* |
*,no |
*\'*)
13909 # Didn't find X, or a directory has "'" in its name.
13910 ac_cv_have_x
="have_x=no";; #(
13912 # Record where we found X for the cache.
13913 ac_cv_have_x
="have_x=yes\
13914 ac_x_includes='$ac_x_includes'\
13915 ac_x_libraries='$ac_x_libraries'"
13921 eval "$ac_cv_have_x"
13924 if test "$have_x" != yes; then
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13926 $as_echo "$have_x" >&6; }
13929 # If each of the values was on the command line, it overrides each guess.
13930 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13931 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13932 # Update the cache value to reflect the command line values.
13933 ac_cv_have_x
="have_x=yes\
13934 ac_x_includes='$x_includes'\
13935 ac_x_libraries='$x_libraries'"
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13937 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13942 for path
in $x_libraries
13944 x_cflags
="$x_cflags -L$path"
13947 for path
in $x_includes
13949 x_cflags
="$x_cflags -I$path"
13952 if test "x-$no_x" = "x-yes" ; then
13954 if test "x-$x11_hidd" != "x-auto" ; then
13955 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13959 unixgfx_hidd_target
=kernel-x11gfx
13962 # Check whether --enable-x11_shm was given.
13963 if test "${enable_x11_shm+set}" = set; then :
13964 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13966 x11_hidd_shm
="auto"
13969 case "x-$x11_hidd_shm" in
13970 x-yes|x-no|x-auto
) ;;
13971 *) x11_hidd_shm
="auto" ;;
13976 if test "x-$x11_hidd_shm" != "x-no" ; then
13978 for ac_header
in sys
/ipc.h
13980 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13981 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13982 cat >>confdefs.h
<<_ACEOF
13983 #define HAVE_SYS_IPC_H 1
13990 for ac_header
in sys
/shm.h
13992 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13993 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13994 cat >>confdefs.h
<<_ACEOF
13995 #define HAVE_SYS_SHM_H 1
14003 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
14005 save_cflags
="$CFLAGS"
14006 CFLAGS
="$CFLAGS $x_cflags"
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14008 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
14009 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
14010 $as_echo_n "(cached) " >&6
14012 ac_check_lib_save_LIBS
=$LIBS
14013 LIBS
="-lXext $LIBS"
14014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14015 /* end confdefs.h. */
14017 /* Override any GCC internal prototype to avoid an error.
14018 Use char because int might match the return type of a GCC
14019 builtin and then its argument prototype would still apply. */
14023 char XShmQueryExtension ();
14027 return XShmQueryExtension ();
14032 if ac_fn_c_try_link
"$LINENO"; then :
14033 ac_cv_lib_Xext_XShmQueryExtension
=yes
14035 ac_cv_lib_Xext_XShmQueryExtension
=no
14037 rm -f core conftest.err conftest.
$ac_objext \
14038 conftest
$ac_exeext conftest.
$ac_ext
14039 LIBS
=$ac_check_lib_save_LIBS
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14042 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14043 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
14047 CFLAGS
="$save_cflags"
14051 if test "x-$have_xshm" = "x-yes" ; then
14052 DO_XSHM_SUPPORT
="1"
14053 elif test "x-$x11_hidd_shm" = "x-yes" ; then
14054 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
14056 DO_XSHM_SUPPORT
="0"
14060 # Check whether --enable-x11_vidmode was given.
14061 if test "${enable_x11_vidmode+set}" = set; then :
14062 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
14064 x11_hidd_vidmode
="auto"
14067 case "x-$x11_hidd_vidmode" in
14068 x-yes|x-no|x-auto
) ;;
14069 *) x11_hidd_vidmode
="auto" ;;
14074 if test "x-$x11_hidd_vidmode" != "x-no" ; then
14076 save_cflags
="$CFLAGS"
14077 CFLAGS
="$CFLAGS $x_cflags"
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
14079 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
14080 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
14081 $as_echo_n "(cached) " >&6
14083 ac_check_lib_save_LIBS
=$LIBS
14084 LIBS
="-lXxf86vm $LIBS"
14085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14086 /* end confdefs.h. */
14088 /* Override any GCC internal prototype to avoid an error.
14089 Use char because int might match the return type of a GCC
14090 builtin and then its argument prototype would still apply. */
14094 char XF86VidModeQueryExtension ();
14098 return XF86VidModeQueryExtension ();
14103 if ac_fn_c_try_link
"$LINENO"; then :
14104 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
14106 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
14108 rm -f core conftest.err conftest.
$ac_objext \
14109 conftest
$ac_exeext conftest.
$ac_ext
14110 LIBS
=$ac_check_lib_save_LIBS
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
14113 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
14114 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
14118 CFLAGS
="$save_cflags"
14121 if test "x-$have_vidmode" = "x-yes" ; then
14122 DO_VIDMODE_SUPPORT
="1"
14123 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
14124 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
14126 DO_VIDMODE_SUPPORT
="0"
14130 aros_host_x11_includes
=$x_includes
14131 aros_host_x11_libdirs
=$x_libraries
14135 # Check whether --enable-sdl_hidd was given.
14136 if test "${enable_sdl_hidd+set}" = set; then :
14137 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
14142 case "x-$sdl_hidd" in
14143 x-yes|x-no|x-auto
) ;;
14144 *) sdl_hidd
="auto" ;;
14147 if test "x-$sdl_hidd" != "x-no" ; then
14150 # Check whether --with-sdl-prefix was given.
14151 if test "${with_sdl_prefix+set}" = set; then :
14152 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
14158 # Check whether --with-sdl-exec-prefix was given.
14159 if test "${with_sdl_exec_prefix+set}" = set; then :
14160 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
14165 # Check whether --enable-sdltest was given.
14166 if test "${enable_sdltest+set}" = set; then :
14167 enableval
=$enable_sdltest;
14173 if test x
$sdl_exec_prefix != x
; then
14174 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14175 if test x
${SDL_CONFIG+set} != xset
; then
14176 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14179 if test x
$sdl_prefix != x
; then
14180 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14181 if test x
${SDL_CONFIG+set} != xset
; then
14182 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14186 as_save_PATH
="$PATH"
14187 if test "x$prefix" != xNONE
; then
14188 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14190 # Extract the first word of "sdl-config", so it can be a program name with args.
14191 set dummy sdl-config
; ac_word
=$2
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14193 $as_echo_n "checking for $ac_word... " >&6; }
14194 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14195 $as_echo_n "(cached) " >&6
14197 case $SDL_CONFIG in
14199 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14203 for as_dir
in $PATH
14206 test -z "$as_dir" && as_dir
=.
14207 for ac_exec_ext
in '' $ac_executable_extensions; do
14208 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14209 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14217 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14221 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14222 if test -n "$SDL_CONFIG"; then
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14224 $as_echo "$SDL_CONFIG" >&6; }
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14227 $as_echo "no" >&6; }
14231 PATH
="$as_save_PATH"
14232 min_sdl_version
=1.2.10
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14234 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14236 if test "$SDL_CONFIG" = "no" ; then
14239 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14240 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14242 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14243 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14244 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14245 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14246 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14247 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14248 if test "x$enable_sdltest" = "xyes" ; then
14249 ac_save_CFLAGS
="$CFLAGS"
14250 ac_save_CXXFLAGS
="$CXXFLAGS"
14251 ac_save_LIBS
="$LIBS"
14252 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14253 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14254 LIBS
="$LIBS $SDL_LIBS"
14256 if test "$cross_compiling" = yes; then :
14257 echo $ac_n "cross compiling; assumed OK... $ac_c"
14259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14263 #include <stdlib.h>
14264 #include <string.h>
14268 my_strdup (char *str)
14274 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14275 strcpy (new_str, str);
14283 int main (int argc, char *argv[])
14285 int major, minor, micro;
14288 /* This hangs on some systems (?)
14289 system ("touch conf.sdltest");
14291 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14293 /* HP/UX 9 (%@#!) writes to sscanf strings */
14294 tmp_version = my_strdup("$min_sdl_version");
14295 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14296 printf("%s, bad version string\n", "$min_sdl_version");
14300 if (($sdl_major_version > major) ||
14301 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14302 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14308 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14309 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14310 printf("*** best to upgrade to the required version.\n");
14311 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14312 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14313 printf("*** config.cache before re-running configure\n");
14320 if ac_fn_c_try_run
"$LINENO"; then :
14325 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14326 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14329 CFLAGS
="$ac_save_CFLAGS"
14330 CXXFLAGS
="$ac_save_CXXFLAGS"
14331 LIBS
="$ac_save_LIBS"
14334 if test "x$no_sdl" = x
; then
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14336 $as_echo "yes" >&6; }
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14340 $as_echo "no" >&6; }
14341 if test "$SDL_CONFIG" = "no" ; then
14342 echo "*** The sdl-config script installed by SDL could not be found"
14343 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14344 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14345 echo "*** full path to sdl-config."
14347 if test -f conf.sdltest
; then
14350 echo "*** Could not run SDL test program, checking why..."
14351 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14352 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14353 LIBS
="$LIBS $SDL_LIBS"
14354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14360 int main(int argc, char *argv[])
14363 #define main K_and_R_C_main
14373 if ac_fn_c_try_link
"$LINENO"; then :
14374 echo "*** The test program compiled, but did not run. This usually means"
14375 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14376 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14377 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14378 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14379 echo "*** is required on your system"
14381 echo "*** If you have an old version installed, it is best to remove it, although"
14382 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14384 echo "*** The test program failed to compile or link. See the file config.log for the"
14385 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14386 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14387 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14389 rm -f core conftest.err conftest.
$ac_objext \
14390 conftest
$ac_exeext conftest.
$ac_ext
14391 CFLAGS
="$ac_save_CFLAGS"
14392 CXXFLAGS
="$ac_save_CXXFLAGS"
14393 LIBS
="$ac_save_LIBS"
14405 if test "x-$have_sdl" != "x-yes" ; then
14407 if test "x-$sdl_hidd" != "x-auto" ; then
14408 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14412 sdl_hidd_target
=kernel-hidd-sdl
14413 aros_host_sdl_cflags
=SDL_CFLAGS
14414 aros_host_sdl_libs
=SDL_LIBS
14418 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14419 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14424 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14425 oss_library_target
=workbench-libs-oss-unix
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14431 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14432 # Check whether --enable-dbus was given.
14433 if test "${enable_dbus+set}" = set; then :
14434 enableval
=$enable_dbus; dbus
="yes"
14439 if test "$dbus" = "yes" ; then
14441 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14442 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14443 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14444 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14449 $as_echo "$dbus" >&6; }
14451 if test "$use_kernel_cc_wrapper" = "yes" ; then
14452 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14468 # Compatability with other Amiga-like operation systems
14567 # Delinting target compiler flags
14591 # Native version related
14594 # Palm native version related
14597 # Unix/Hosted version related
14603 # Apple iOS related
14608 # ARM default GCC target related
14635 # Collect-aros stuff: "-ius" to ignore undefined symbols
14638 # C compiler related
14643 #ObjC compiler related
14652 case "$aros_flavour" in
14653 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14654 aros_flavour
="emulation" ;;
14655 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14656 aros_flavour
="emulation" ;;
14657 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14658 aros_flavour
="standalone";;
14659 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14660 aros_flavour
="standalone";;
14661 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14662 aros_flavour
="native" ;;
14663 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14664 aros_flavour
="native" ;;
14665 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14666 aros_flavour
="linklib" ;;
14667 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14668 aros_flavour
="palmnative" ;;
14669 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14670 aros_flavour
="mac68knative" ;;
14671 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14672 aros_flavour
="ppcnative" ;;
14675 if test ! -d ${aros_inc_dir} ; then
14676 ${MKDIR} ${aros_inc_dir}
14678 if test ! -d ${aros_geninc_dir} ; then
14679 ${MKDIR} ${aros_geninc_dir}
14681 if test ! -d ${aros_hostcfg_dir} ; then
14682 ${MKDIR} ${aros_hostcfg_dir}
14684 if test ! -d ${aros_targetcfg_dir} ; then
14685 ${MKDIR} ${aros_targetcfg_dir}
14687 if test ! -d ${aros_tools_dir} ; then
14688 ${MKDIR} ${aros_tools_dir}
14690 if test ! -d ${aros_scripts_dir} ; then
14691 ${MKDIR} ${aros_scripts_dir}
14694 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14697 # Generic build tools (metamake, etc)
14698 ac_config_commands
="$ac_config_commands genmf-executable-support"
14700 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_tools_dir}/genmf.py:tools/genmf/genmf.py tools/collect-aros/env.h"
14704 ac_config_commands
="$ac_config_commands binutils-support"
14706 ac_config_files
="$ac_config_files ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in"
14709 # Bare Elf support script and spec
14710 if test "${use_kernel_cc_wrapper}" = "yes"; then
14711 ac_config_commands
="$ac_config_commands elf-compiler-support"
14713 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/elf-specs:${elf_specs_in} ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc:scripts/elf-gcc.in"
14717 # Host compiler support scripts and spec
14718 if test "${aros_target_toolchain}" = "no"; then
14719 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
14721 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/specs:config/specs.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-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"
14726 if test "$aros_target_variant" == "android"; then
14727 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
14731 cat >confcache
<<\_ACEOF
14732 # This file is a shell script that caches the results of configure
14733 # tests run on this system so they can be shared between configure
14734 # scripts and configure runs, see configure's option --config-cache.
14735 # It is not useful on other systems. If it contains results you don't
14736 # want to keep, you may remove or edit it.
14738 # config.status only pays attention to the cache file if you give it
14739 # the --recheck option to rerun configure.
14741 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14742 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14743 # following values.
14747 # The following way of writing the cache mishandles newlines in values,
14748 # but we know of no workaround that is simple, portable, and efficient.
14749 # So, we kill variables containing newlines.
14750 # Ultrix sh set writes to stderr and can't be redirected directly,
14751 # and sets the high bit in the cache file unless we assign to the vars.
14753 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14754 eval ac_val
=\$
$ac_var
14758 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14759 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14762 _ | IFS | as_nl
) ;; #(
14763 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14764 *) { eval $ac_var=; unset $ac_var;} ;;
14770 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14771 *${as_nl}ac_space
=\
*)
14772 # `set' does not quote correctly, so add quotes: double-quote
14773 # substitution turns \\\\ into \\, and sed turns \\ into \.
14776 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14779 # `set' quotes correctly as required by POSIX, so do not add quotes.
14780 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14789 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14791 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14793 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14794 if test -w "$cache_file"; then
14795 if test "x$cache_file" != "x/dev/null"; then
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14797 $as_echo "$as_me: updating cache $cache_file" >&6;}
14798 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14799 cat confcache
>"$cache_file"
14801 case $cache_file in #(
14803 mv -f confcache
"$cache_file"$$
&&
14804 mv -f "$cache_file"$$
"$cache_file" ;; #(
14806 mv -f confcache
"$cache_file" ;;
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14812 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14817 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14818 # Let make expand exec_prefix.
14819 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14821 DEFS
=-DHAVE_CONFIG_H
14826 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14827 # 1. Remove the extension, and $U if already installed.
14828 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14829 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14830 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14831 # will be set to the directory where LIBOBJS objects are built.
14832 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14833 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14835 LIBOBJS
=$ac_libobjs
14837 LTLIBOBJS
=$ac_ltlibobjs
14841 : "${CONFIG_STATUS=./config.status}"
14843 ac_clean_files_save
=$ac_clean_files
14844 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14846 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14848 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14850 # Generated by $as_me.
14851 # Run this file to recreate the current configuration.
14852 # Compiler output produced by configure, useful for debugging
14853 # configure, is in config.log if it exists.
14856 ac_cs_recheck=false
14859 SHELL=\${CONFIG_SHELL-$SHELL}
14862 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14863 ## -------------------- ##
14864 ## M4sh Initialization. ##
14865 ## -------------------- ##
14867 # Be more Bourne compatible
14868 DUALCASE
=1; export DUALCASE
# for MKS sh
14869 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14872 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14873 # is contrary to our usage. Disable this feature.
14874 alias -g '${1+"$@"}'='"$@"'
14875 setopt NO_GLOB_SUBST
14877 case `(set -o) 2>/dev/null` in #(
14889 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14890 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14891 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14892 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14893 # Prefer a ksh shell builtin over an external printf program on Solaris,
14894 # but without wasting forks for bash or zsh.
14895 if test -z "$BASH_VERSION$ZSH_VERSION" \
14896 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14897 as_echo='print
-r --'
14898 as_echo_n='print
-rn --'
14899 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14900 as_echo='printf %s
\n'
14901 as_echo_n='printf %s
'
14903 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14904 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14905 as_echo_n='/usr
/ucb
/echo -n'
14907 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14908 as_echo_n_body='eval
14912 expr "X$arg" : "X\\(.*\\)$as_nl";
14913 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14915 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14917 export as_echo_n_body
14918 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14920 export as_echo_body
14921 as_echo='sh
-c $as_echo_body as_echo
'
14924 # The user is always right.
14925 if test "${PATH_SEPARATOR+set}" != set; then
14927 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14928 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14935 # We need space, tab and new line, in precisely that order. Quoting is
14936 # there to prevent editors from complaining about space-tab.
14937 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14938 # splitting by setting IFS to empty value.)
14941 # Find who we are. Look in the path if we contain no directory separator.
14944 *[\\/]* ) as_myself=$0 ;;
14945 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14946 for as_dir in $PATH
14949 test -z "$as_dir" && as_dir=.
14950 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14956 # We did not find ourselves, most probably we were run as `sh COMMAND'
14957 # in which case we are not to be found in the path.
14958 if test "x$as_myself" = x
; then
14961 if test ! -f "$as_myself"; then
14962 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14966 # Unset variables that we do not need and which cause bugs (e.g. in
14967 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14968 # suppresses any "Segmentation fault" message there. '((' could
14969 # trigger a bug in pdksh 5.2.14.
14970 for as_var
in BASH_ENV ENV MAIL MAILPATH
14971 do eval test x\
${$as_var+set} = xset \
14972 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14985 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14988 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14989 # ----------------------------------------
14990 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14991 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14992 # script with STATUS, using 1 if that was 0.
14995 as_status
=$1; test $as_status -eq 0 && as_status
=1
14997 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14998 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15000 $as_echo "$as_me: error: $2" >&2
15001 as_fn_exit
$as_status
15005 # as_fn_set_status STATUS
15006 # -----------------------
15007 # Set $? to STATUS, without forking.
15008 as_fn_set_status
()
15011 } # as_fn_set_status
15013 # as_fn_exit STATUS
15014 # -----------------
15015 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15019 as_fn_set_status
$1
15025 # Portably unset VAR.
15028 { eval $1=; unset $1;}
15030 as_unset
=as_fn_unset
15031 # as_fn_append VAR VALUE
15032 # ----------------------
15033 # Append the text in VALUE to the end of the definition contained in VAR. Take
15034 # advantage of any shell optimizations that allow amortized linear growth over
15035 # repeated appends, instead of the typical quadratic growth present in naive
15037 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15038 eval 'as_fn_append ()
15049 # as_fn_arith ARG...
15050 # ------------------
15051 # Perform arithmetic evaluation on the ARGs, and store the result in the
15052 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15053 # must be portable across $(()) and expr.
15054 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15055 eval 'as_fn_arith ()
15062 as_val
=`expr "$@" || test $? -eq 1`
15067 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15068 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15074 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15075 as_basename
=basename
15080 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15086 as_me
=`$as_basename -- "$0" ||
15087 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15088 X"$0" : 'X\(//\)$' \| \
15089 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15091 sed '/^.*\/\([^/][^/]*\)\/*$/{
15105 # Avoid depending upon Character Ranges.
15106 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15107 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15108 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15109 as_cr_digits
='0123456789'
15110 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15112 ECHO_C
= ECHO_N
= ECHO_T
=
15113 case `echo -n x` in #(((((
15115 case `echo 'xy\c'` in
15116 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15118 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15125 rm -f conf$$ conf$$.exe conf$$.
file
15126 if test -d conf$$.dir
; then
15127 rm -f conf$$.dir
/conf$$.
file
15130 mkdir conf$$.dir
2>/dev
/null
15132 if (echo >conf$$.
file) 2>/dev
/null
; then
15133 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15135 # ... but there are two gotchas:
15136 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15137 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15138 # In both cases, we have to default to `cp -pR'.
15139 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15141 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15149 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15150 rmdir conf$$.dir
2>/dev
/null
15155 # Create "$as_dir" as a directory, including parents if necessary.
15160 -*) as_dir
=.
/$as_dir;;
15162 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15166 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15167 *) as_qdir
=$as_dir;;
15169 as_dirs
="'$as_qdir' $as_dirs"
15170 as_dir
=`$as_dirname -- "$as_dir" ||
15171 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15172 X"$as_dir" : 'X\(//\)[^/]' \| \
15173 X"$as_dir" : 'X\(//\)$' \| \
15174 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15175 $as_echo X"$as_dir" |
15176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15180 /^X\(\/\/\)[^/].*/{
15193 test -d "$as_dir" && break
15195 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15196 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15200 if mkdir
-p .
2>/dev
/null
; then
15201 as_mkdir_p
='mkdir -p "$as_dir"'
15203 test -d .
/-p && rmdir .
/-p
15208 # as_fn_executable_p FILE
15209 # -----------------------
15210 # Test if FILE is an executable regular file.
15211 as_fn_executable_p
()
15213 test -f "$1" && test -x "$1"
15214 } # as_fn_executable_p
15215 as_test_x
='test -x'
15216 as_executable_p
=as_fn_executable_p
15218 # Sed expression to map a string onto a valid CPP name.
15219 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15221 # Sed expression to map a string onto a valid variable name.
15222 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15226 ## ----------------------------------- ##
15227 ## Main body of $CONFIG_STATUS script. ##
15228 ## ----------------------------------- ##
15230 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15233 # Save the log message, to keep $0 and so on meaningful, and to
15234 # report actual input values of CONFIG_FILES etc. instead of their
15235 # values after options handling.
15237 This file was extended by $as_me, which was
15238 generated by GNU Autoconf 2.69. Invocation command line was
15240 CONFIG_FILES = $CONFIG_FILES
15241 CONFIG_HEADERS = $CONFIG_HEADERS
15242 CONFIG_LINKS = $CONFIG_LINKS
15243 CONFIG_COMMANDS = $CONFIG_COMMANDS
15246 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15251 case $ac_config_files in *"
15252 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15255 case $ac_config_headers in *"
15256 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15261 # Files that config.status was made for.
15262 config_files="$ac_config_files"
15263 config_headers="$ac_config_headers"
15264 config_commands="$ac_config_commands"
15268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15270 \`$as_me' instantiates files and other configuration actions
15271 from templates according to the current configuration. Unless the files
15272 and actions are specified as TAGs, all are instantiated by default.
15274 Usage: $0 [OPTION]... [TAG]...
15276 -h, --help print this help, then exit
15277 -V, --version print version number and configuration settings, then exit
15278 --config print configuration, then exit
15279 -q, --quiet, --silent
15280 do not print progress messages
15281 -d, --debug don't remove temporary files
15282 --recheck update $as_me by reconfiguring in the same conditions
15283 --file=FILE[:TEMPLATE]
15284 instantiate the configuration file FILE
15285 --header=FILE[:TEMPLATE]
15286 instantiate the configuration header FILE
15288 Configuration files:
15291 Configuration headers:
15294 Configuration commands:
15297 Report bugs to the package provider."
15300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15301 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15304 configured by $0, generated by GNU Autoconf 2.69,
15305 with options \\"\$ac_cs_config\\"
15307 Copyright (C) 2012 Free Software Foundation, Inc.
15308 This config.status script is free software; the Free Software Foundation
15309 gives unlimited permission to copy, distribute and modify it."
15313 test -n "\$AWK" || AWK=awk
15316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15317 # The default lists apply if the user does not specify any file.
15323 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15324 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15328 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15340 # Handling of the options.
15341 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15343 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15344 $as_echo "$ac_cs_version"; exit ;;
15345 --config |
--confi |
--conf |
--con |
--co |
--c )
15346 $as_echo "$ac_cs_config"; exit ;;
15347 --debug |
--debu |
--deb |
--de |
--d |
-d )
15349 --file |
--fil |
--fi |
--f )
15352 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15353 '') as_fn_error $?
"missing file argument" ;;
15355 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15356 ac_need_defaults
=false
;;
15357 --header |
--heade |
--head |
--hea )
15360 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15362 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15363 ac_need_defaults
=false
;;
15365 # Conflict between --help and --header
15366 as_fn_error $?
"ambiguous option: \`$1'
15367 Try \`$0 --help' for more information.";;
15368 --help |
--hel |
-h )
15369 $as_echo "$ac_cs_usage"; exit ;;
15370 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15371 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15374 # This is an error.
15375 -*) as_fn_error $?
"unrecognized option: \`$1'
15376 Try \`$0 --help' for more information." ;;
15378 *) as_fn_append ac_config_targets
" $1"
15379 ac_need_defaults
=false
;;
15385 ac_configure_extra_args
=
15387 if $ac_cs_silent; then
15389 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15394 if \$ac_cs_recheck; then
15395 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15397 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15398 CONFIG_SHELL='$SHELL'
15399 export CONFIG_SHELL
15404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15408 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15409 ## Running $as_me. ##
15415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15419 aros_tools_dir=${aros_tools_dir}
15422 aros_host_exe_suffix=${aros_host_exe_suffix}
15423 aros_tools_dir=${aros_tools_dir}
15424 aros_target_cpu=${aros_target_cpu}
15425 aros_target_arch=${aros_target_arch}
15426 aros_target_suffix=${aros_target_suffix}
15427 orig_target_nm=${orig_target_nm}
15428 orig_target_as=${orig_target_as}
15429 orig_target_ar=${orig_target_ar}
15430 orig_target_ranlib=${orig_target_ranlib}
15431 orig_target_objdump=${orig_target_objdump}
15432 orig_target_objcopy=${orig_target_objcopy}
15433 orig_target_strip=${orig_target_strip}
15434 aros_kernel_ld=${aros_kernel_ld}
15438 aros_host_exe_suffix=${aros_host_exe_suffix}
15439 aros_tools_dir=${aros_tools_dir}
15440 aros_target_cpu=${aros_target_cpu}
15441 aros_target_arch=${aros_target_arch}
15442 aros_target_suffix=${aros_target_suffix}
15443 aros_kernel_ld=${aros_kernel_ld}
15447 aros_host_exe_suffix=${aros_host_exe_suffix}
15448 aros_tools_dir=${aros_tools_dir}
15449 aros_target_cpu=${aros_target_cpu}
15450 aros_target_arch=${aros_target_arch}
15451 aros_target_suffix=${aros_target_suffix}
15457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15459 # Handling of arguments.
15460 for ac_config_target
in $ac_config_targets
15462 case $ac_config_target in
15463 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15464 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
15465 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15466 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15467 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15468 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15469 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15470 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15471 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15472 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15473 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15474 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15475 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
15476 "${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" ;;
15477 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
15478 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15479 "${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" ;;
15480 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
15481 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15482 "${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" ;;
15483 "${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" ;;
15484 "${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" ;;
15485 "${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" ;;
15487 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15492 # If the user did not use the arguments to specify the items to instantiate,
15493 # then the envvar interface is used. Set only those that are not.
15494 # We use the long form for the default assignment because of an extremely
15495 # bizarre bug on SunOS 4.1.3.
15496 if $ac_need_defaults; then
15497 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15498 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15499 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15502 # Have a temporary directory for convenience. Make it in the build tree
15503 # simply because there is no reason against having it here, and in addition,
15504 # creating and moving files from /tmp can sometimes cause problems.
15505 # Hook for its removal unless debugging.
15506 # Note that there is a small window in which the directory will not be cleaned:
15507 # after its creation but before its name has been assigned to `$tmp'.
15511 trap 'exit_status=$?
15512 : "${ac_tmp:=$tmp}"
15513 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15515 trap 'as_fn_exit 1' 1 2 13 15
15517 # Create a (secure) tmp directory for tmp files.
15520 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15524 tmp
=.
/conf$$
-$RANDOM
15525 (umask 077 && mkdir
"$tmp")
15526 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15529 # Set up the scripts for CONFIG_FILES section.
15530 # No need to generate them if there are no CONFIG_FILES.
15531 # This happens for instance with `./config.status config.h'.
15532 if test -n "$CONFIG_FILES"; then
15535 ac_cr
=`echo X | tr X '\015'`
15536 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15537 # But we know of no other shell where ac_cr would be empty at this
15538 # point, so we can use a bashism as a fallback.
15539 if test "x$ac_cr" = x
; then
15540 eval ac_cr
=\$
\'\\r
\'
15542 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15543 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15546 ac_cs_awk_cr
=$ac_cr
15549 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15554 echo "cat >conf$$subs.awk <<_ACEOF" &&
15555 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15557 } >conf$$subs.sh ||
15558 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15559 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15561 for ac_last_try in false false false false false :; do
15562 . ./conf$$subs.sh ||
15563 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15565 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15566 if test $ac_delim_n = $ac_delim_num; then
15568 elif $ac_last_try; then
15569 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15571 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15574 rm -f conf$$subs.sh
15576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15577 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15581 s/^/S["/; s
/!.
*/"]=/
15591 s/\(.\{148\}\)..*/\1/
15593 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15598 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15605 s/\(.\{148\}\)..*/\1/
15607 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15611 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15616 ' <conf$$subs.awk | sed '
15621 ' >>$CONFIG_STATUS || ac_write_fail=1
15622 rm -f conf$$subs.awk
15623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15625 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15626 for (key in S) S_is_set[key] = 1
15632 nfields = split(line, field, "@
")
15634 len = length(field[1])
15635 for (i = 2; i < nfields; i++) {
15637 keylen = length(key)
15638 if (S_is_set[key]) {
15640 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15641 len += length(value) + length(field[++i])
15652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15653 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15654 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15657 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15658 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15661 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15662 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15663 # trailing colons and then remove the whole line if VPATH becomes empty
15664 # (actually we leave an empty line to preserve line numbers).
15665 if test "x
$srcdir" = x.; then
15666 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15685 fi # test -n "$CONFIG_FILES"
15687 # Set up the scripts for CONFIG_HEADERS section.
15688 # No need to generate them if there are no CONFIG_HEADERS.
15689 # This happens for instance with `./config.status Makefile'.
15690 if test -n "$CONFIG_HEADERS"; then
15691 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15695 # Transform confdefs.h into an awk script `defines.awk', embedded as
15696 # here-document in config.status, that substitutes the proper values into
15697 # config.h.in to produce config.h.
15699 # Create a delimiter string that does not exist in confdefs.h, to ease
15700 # handling of long lines.
15702 for ac_last_try in false false :; do
15703 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15704 if test -z "$ac_tt"; then
15706 elif $ac_last_try; then
15707 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15709 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15713 # For the awk script, D is an array of macro values keyed by name,
15714 # likewise P contains macro parameters if any. Preserve backslash
15715 # newline sequences.
15717 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15719 s/.\{148\}/&'"$ac_delim"'/g
15722 s/^[ ]*#[ ]*define[ ][ ]*/ /
15729 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15731 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15735 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15736 D["\
1"]=" \
3\\\\\\n
"\\/p
15738 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15743 s/.\{148\}/&'"$ac_delim"'/g
15748 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15751 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15753 ' <confdefs.h | sed '
15754 s/'"$ac_delim"'/"\\\
15755 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15758 for (key in D) D_is_set[key] = 1
15761 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15763 split(line, arg, " ")
15764 if (arg[1] == "#") {
15768 defundef
= substr
(arg
[1], 2)
15771 split(mac1
, mac2
, "(") #)
15773 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15774 if (D_is_set
[macro
]) {
15775 # Preserve the white space surrounding the "#".
15776 print prefix
"define", macro P
[macro
] D
[macro
]
15779 # Replace #undef with comments. This is necessary, for example,
15780 # in the case of _POSIX_SOURCE, which is predefined and required
15781 # on some systems where configure will not decide to define it.
15782 if (defundef
== "undef") {
15783 print
"/*", prefix defundef
, macro
, "*/"
15791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15792 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15793 fi # test -n "$CONFIG_HEADERS"
15796 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15801 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15803 case $ac_mode$ac_tag in
15805 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15806 :[FH
]-) ac_tag
=-:-;;
15807 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15824 -) ac_f
="$ac_tmp/stdin";;
15825 *) # Look for the file first in the build tree, then in the source tree
15826 # (if the path is not absolute). The absolute path cannot be DOS-style,
15827 # because $ac_f cannot contain `:'.
15831 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15833 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15835 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15836 as_fn_append ac_file_inputs
" '$ac_f'"
15839 # Let's still pretend it is `configure' which instantiates (i.e., don't
15840 # use $as_me), people would be surprised to read:
15841 # /* config.h. Generated by config.status. */
15842 configure_input
='Generated from '`
15843 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15845 if test x
"$ac_file" != x-
; then
15846 configure_input
="$ac_file. $configure_input"
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15848 $as_echo "$as_me: creating $ac_file" >&6;}
15850 # Neutralize special characters interpreted by sed in replacement strings.
15851 case $configure_input in #(
15852 *\
&* |
*\|
* |
*\\* )
15853 ac_sed_conf_input
=`$as_echo "$configure_input" |
15854 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15855 *) ac_sed_conf_input
=$configure_input;;
15859 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15860 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15865 ac_dir
=`$as_dirname -- "$ac_file" ||
15866 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15867 X"$ac_file" : 'X\(//\)[^/]' \| \
15868 X"$ac_file" : 'X\(//\)$' \| \
15869 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15870 $as_echo X"$ac_file" |
15871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15875 /^X\(\/\/\)[^/].*/{
15888 as_dir
="$ac_dir"; as_fn_mkdir_p
15892 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15894 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15895 # A ".." for each directory in $ac_dir_suffix.
15896 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15897 case $ac_top_builddir_sub in
15898 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15899 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15902 ac_abs_top_builddir
=$ac_pwd
15903 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15904 # for backward compatibility:
15905 ac_top_builddir
=$ac_top_build_prefix
15908 .
) # We are building in place.
15910 ac_top_srcdir
=$ac_top_builddir_sub
15911 ac_abs_top_srcdir
=$ac_pwd ;;
15912 [\\/]* | ?
:[\\/]* ) # Absolute name.
15913 ac_srcdir
=$srcdir$ac_dir_suffix;
15914 ac_top_srcdir
=$srcdir
15915 ac_abs_top_srcdir
=$srcdir ;;
15916 *) # Relative name.
15917 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15918 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15919 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15921 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15933 # If the template does not know about datarootdir, expand it.
15934 # FIXME: This hack should be removed a few years after 2.60.
15935 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15946 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15947 *datarootdir
*) ac_datarootdir_seen
=yes;;
15948 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15950 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15953 ac_datarootdir_hack='
15954 s&@datadir@&$datadir&g
15955 s&@docdir@&$docdir&g
15956 s&@infodir@&$infodir&g
15957 s&@localedir@&$localedir&g
15958 s&@mandir@&$mandir&g
15959 s&\\\${datarootdir}&$datarootdir&g' ;;
15963 # Neutralize VPATH when `$srcdir' = `.'.
15964 # Shell code in configure.ac might set extrasub.
15965 # FIXME: do we really want to maintain this feature?
15966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15967 ac_sed_extra="$ac_vpsub
15970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15972 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15973 s|@configure_input@|
$ac_sed_conf_input|
;t t
15974 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15975 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15976 s
&@srcdir@
&$ac_srcdir&;t t
15977 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15978 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15979 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15980 s
&@builddir@
&$ac_builddir&;t t
15981 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15982 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15983 $ac_datarootdir_hack
15985 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15986 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15988 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15989 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15990 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15991 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15993 which seems to be undefined. Please make sure it is defined" >&5
15994 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15995 which seems to be undefined. Please make sure it is defined" >&2;}
15997 rm -f "$ac_tmp/stdin"
15999 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16000 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16002 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16008 if test x"$ac_file" != x-; then
16010 $as_echo "/* $configure_input */" \
16011 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16012 } >"$ac_tmp/config.h" \
16013 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16014 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16016 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16019 mv "$ac_tmp/config.h" "$ac_file" \
16020 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16023 $as_echo "/* $configure_input */" \
16024 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16025 || as_fn_error $? "could not create -" "$LINENO" 5
16029 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16030 $as_echo "$as_me: executing $ac_file commands" >&6;}
16035 case $ac_file$ac_mode in
16036 "genmf-executable-support":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
16037 "binutils-support":C)
16038 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16040 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16042 chmod a+x ${prefix2}-ld
16044 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
16045 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
16046 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
16047 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
16048 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
16049 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
16050 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
16052 "elf-compiler-support":C)
16053 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16055 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
16057 chmod a+x ${prefix2}-gcc
16059 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
16061 "host-compiler-wrapper-support":C)
16062 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16064 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16066 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-cpp
16075 ac_clean_files=$ac_clean_files_save
16077 test $ac_write_fail = 0 ||
16078 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16081 # configure is writing to config.log, and then calls config.status.
16082 # config.status does its own redirection, appending to config.log.
16083 # Unfortunately, on DOS this fails, as config.log is still kept open
16084 # by configure, so config.status won't be able to
write to it
; its
16085 # output is simply discarded. So we exec the FD to /dev/null,
16086 # effectively closing config.log, so it can be properly (re)opened and
16087 # appended to by config.status. When coming back to configure, we
16088 # need to make the FD available again.
16089 if test "$no_create" != yes; then
16091 ac_config_status_args
=
16092 test "$silent" = yes &&
16093 ac_config_status_args
="$ac_config_status_args --quiet"
16095 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16097 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16098 # would make configure fail if this is the last instruction.
16099 $ac_cs_success || as_fn_exit
1
16101 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16103 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16108 #XXX compatability...
16109 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
16111 if test -n "$aros_shared_cflags" ; then
16112 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
16113 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg