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
643 gcc_default_float_abi
651 aros_nesting_supervisor
657 aros_host_x11_libdirs
658 aros_host_x11_includes
667 aros_cflags_format_security
668 aros_cflags_strict_overflow
669 aros_cflags_enum_compare
670 aros_cflags_array_bounds
671 aros_cflags_unused_but_set_variable
672 crosstools_cxx_target
675 aros_optimization_cflags
676 aros_target_strip_flags
683 aros_kernel_objcflags
705 aros_target_cc_includes
720 aros_target_bootloader
740 aros_amigaos_compliance
746 aros_target_toolchain
755 aros_cflags_iquote_end
757 kernel_cflags_iquote_end
759 host_cflags_iquote_end
761 aros_target_nostdlib_ldflags
762 aros_target_detach_ldflags
763 aros_target_nix_ldflags
764 aros_target_nostartup_ldflags
765 aros_target_nostdinc_cflags
883 program_transform_name
896 enable_option_checking
901 with_kernel_gcc_version
904 enable_target_variant
911 enable_amigaos_compliance
912 with_kernel_toolchain_prefix
913 with_elf_toolchain_prefix
916 with_aros_toolchain_install
917 with_binutils_version
931 enable_palm_debug_hack
933 enable_nesting_supervisor
945 ac_precious_vars
='build_alias
961 # Initialize some variables set by options.
963 ac_init_version
=false
964 ac_unrecognized_opts
=
966 # The variables have the same names as the options, with
967 # dashes changed to underlines.
975 program_transform_name
=s
,x
,x
,
983 # Installation directory options.
984 # These are left unexpanded so users can "make install exec_prefix=/foo"
985 # and all the variables that are supposed to be based on exec_prefix
986 # by default will actually change.
987 # Use braces instead of parens because sh, perl, etc. also accept them.
988 # (The list follows the same order as the GNU Coding Standards.)
989 bindir
='${exec_prefix}/bin'
990 sbindir
='${exec_prefix}/sbin'
991 libexecdir
='${exec_prefix}/libexec'
992 datarootdir
='${prefix}/share'
993 datadir
='${datarootdir}'
994 sysconfdir
='${prefix}/etc'
995 sharedstatedir
='${prefix}/com'
996 localstatedir
='${prefix}/var'
997 includedir
='${prefix}/include'
998 oldincludedir
='/usr/include'
999 docdir
='${datarootdir}/doc/${PACKAGE}'
1000 infodir
='${datarootdir}/info'
1005 libdir
='${exec_prefix}/lib'
1006 localedir
='${datarootdir}/locale'
1007 mandir
='${datarootdir}/man'
1013 # If the previous option needs an argument, assign it.
1014 if test -n "$ac_prev"; then
1015 eval $ac_prev=\
$ac_option
1021 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1026 # Accept the important Cygnus configure options, so we can diagnose typos.
1028 case $ac_dashdash$ac_option in
1032 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1034 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1035 bindir
=$ac_optarg ;;
1037 -build |
--build |
--buil |
--bui |
--bu)
1038 ac_prev
=build_alias
;;
1039 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1040 build_alias
=$ac_optarg ;;
1042 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1043 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1044 ac_prev
=cache_file
;;
1045 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1046 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1047 cache_file
=$ac_optarg ;;
1049 --config-cache |
-C)
1050 cache_file
=config.cache
;;
1052 -datadir |
--datadir |
--datadi |
--datad)
1054 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1055 datadir
=$ac_optarg ;;
1057 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1058 |
--dataroo |
--dataro |
--datar)
1059 ac_prev
=datarootdir
;;
1060 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1061 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1062 datarootdir
=$ac_optarg ;;
1064 -disable-* |
--disable-*)
1065 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1068 as_fn_error $?
"invalid feature name: $ac_useropt"
1069 ac_useropt_orig
=$ac_useropt
1070 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071 case $ac_user_opts in
1073 "enable_
$ac_useropt"
1075 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1076 ac_unrecognized_sep
=', ';;
1078 eval enable_
$ac_useropt=no
;;
1080 -docdir |
--docdir |
--docdi |
--doc |
--do)
1082 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1083 docdir
=$ac_optarg ;;
1085 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1087 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1088 dvidir
=$ac_optarg ;;
1090 -enable-* |
--enable-*)
1091 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1094 as_fn_error $?
"invalid feature name: $ac_useropt"
1095 ac_useropt_orig
=$ac_useropt
1096 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097 case $ac_user_opts in
1099 "enable_
$ac_useropt"
1101 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1102 ac_unrecognized_sep
=', ';;
1104 eval enable_
$ac_useropt=\
$ac_optarg ;;
1106 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1107 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1108 |
--exec |
--exe |
--ex)
1109 ac_prev
=exec_prefix
;;
1110 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1111 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1112 |
--exec=* |
--exe=* |
--ex=*)
1113 exec_prefix
=$ac_optarg ;;
1115 -gas |
--gas |
--ga |
--g)
1116 # Obsolete; use --with-gas.
1119 -help |
--help |
--hel |
--he |
-h)
1120 ac_init_help
=long
;;
1121 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1122 ac_init_help
=recursive
;;
1123 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1124 ac_init_help
=short
;;
1126 -host |
--host |
--hos |
--ho)
1127 ac_prev
=host_alias
;;
1128 -host=* |
--host=* |
--hos=* |
--ho=*)
1129 host_alias
=$ac_optarg ;;
1131 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1133 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1135 htmldir
=$ac_optarg ;;
1137 -includedir |
--includedir |
--includedi |
--included |
--include \
1138 |
--includ |
--inclu |
--incl |
--inc)
1139 ac_prev
=includedir
;;
1140 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1141 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1142 includedir
=$ac_optarg ;;
1144 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1146 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1147 infodir
=$ac_optarg ;;
1149 -libdir |
--libdir |
--libdi |
--libd)
1151 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1152 libdir
=$ac_optarg ;;
1154 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1155 |
--libexe |
--libex |
--libe)
1156 ac_prev
=libexecdir
;;
1157 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1158 |
--libexe=* |
--libex=* |
--libe=*)
1159 libexecdir
=$ac_optarg ;;
1161 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1162 ac_prev
=localedir
;;
1163 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1164 localedir
=$ac_optarg ;;
1166 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1167 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1168 ac_prev
=localstatedir
;;
1169 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1170 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1171 localstatedir
=$ac_optarg ;;
1173 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1175 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1176 mandir
=$ac_optarg ;;
1178 -nfp |
--nfp |
--nf)
1179 # Obsolete; use --without-fp.
1182 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1183 |
--no-cr |
--no-c |
-n)
1186 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1187 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1190 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1191 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1192 |
--oldin |
--oldi |
--old |
--ol |
--o)
1193 ac_prev
=oldincludedir
;;
1194 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1195 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1196 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1197 oldincludedir
=$ac_optarg ;;
1199 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1201 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1202 prefix
=$ac_optarg ;;
1204 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1205 |
--program-pre |
--program-pr |
--program-p)
1206 ac_prev
=program_prefix
;;
1207 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1208 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1209 program_prefix
=$ac_optarg ;;
1211 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1212 |
--program-suf |
--program-su |
--program-s)
1213 ac_prev
=program_suffix
;;
1214 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1215 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1216 program_suffix
=$ac_optarg ;;
1218 -program-transform-name |
--program-transform-name \
1219 |
--program-transform-nam |
--program-transform-na \
1220 |
--program-transform-n |
--program-transform- \
1221 |
--program-transform |
--program-transfor \
1222 |
--program-transfo |
--program-transf \
1223 |
--program-trans |
--program-tran \
1224 |
--progr-tra |
--program-tr |
--program-t)
1225 ac_prev
=program_transform_name
;;
1226 -program-transform-name=* |
--program-transform-name=* \
1227 |
--program-transform-nam=* |
--program-transform-na=* \
1228 |
--program-transform-n=* |
--program-transform-=* \
1229 |
--program-transform=* |
--program-transfor=* \
1230 |
--program-transfo=* |
--program-transf=* \
1231 |
--program-trans=* |
--program-tran=* \
1232 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1233 program_transform_name
=$ac_optarg ;;
1235 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1237 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1238 pdfdir
=$ac_optarg ;;
1240 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1242 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1245 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1246 |
-silent |
--silent |
--silen |
--sile |
--sil)
1249 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1251 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1253 sbindir
=$ac_optarg ;;
1255 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1256 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1257 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1259 ac_prev
=sharedstatedir
;;
1260 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1261 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1262 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1264 sharedstatedir
=$ac_optarg ;;
1266 -site |
--site |
--sit)
1268 -site=* |
--site=* |
--sit=*)
1271 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1273 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1274 srcdir
=$ac_optarg ;;
1276 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1277 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1278 ac_prev
=sysconfdir
;;
1279 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1280 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1281 sysconfdir
=$ac_optarg ;;
1283 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1284 ac_prev
=target_alias
;;
1285 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1286 target_alias
=$ac_optarg ;;
1288 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1291 -version |
--version |
--versio |
--versi |
--vers |
-V)
1292 ac_init_version
=: ;;
1295 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1296 # Reject names that are not valid shell variable names.
1297 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1298 as_fn_error $?
"invalid package name: $ac_useropt"
1299 ac_useropt_orig
=$ac_useropt
1300 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1301 case $ac_user_opts in
1305 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1306 ac_unrecognized_sep
=', ';;
1308 eval with_
$ac_useropt=\
$ac_optarg ;;
1310 -without-* |
--without-*)
1311 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1312 # Reject names that are not valid shell variable names.
1313 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1314 as_fn_error $?
"invalid package name: $ac_useropt"
1315 ac_useropt_orig
=$ac_useropt
1316 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1317 case $ac_user_opts in
1321 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1322 ac_unrecognized_sep
=', ';;
1324 eval with_
$ac_useropt=no
;;
1327 # Obsolete; use --with-x.
1330 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1331 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1332 ac_prev
=x_includes
;;
1333 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1334 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1335 x_includes
=$ac_optarg ;;
1337 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1338 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1339 ac_prev
=x_libraries
;;
1340 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1341 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1342 x_libraries
=$ac_optarg ;;
1344 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1345 Try \`$0 --help' for more information"
1349 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1350 # Reject names that are not valid shell variable names.
1351 case $ac_envvar in #(
1352 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1353 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1355 eval $ac_envvar=\
$ac_optarg
1356 export $ac_envvar ;;
1359 # FIXME: should be removed in autoconf 3.0.
1360 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1361 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1362 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1363 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1369 if test -n "$ac_prev"; then
1370 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1371 as_fn_error $?
"missing argument to $ac_option"
1374 if test -n "$ac_unrecognized_opts"; then
1375 case $enable_option_checking in
1377 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1378 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1382 # Check all directory arguments for consistency.
1383 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1384 datadir sysconfdir sharedstatedir localstatedir includedir \
1385 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1386 libdir localedir mandir
1388 eval ac_val
=\$
$ac_var
1389 # Remove trailing slashes.
1392 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1393 eval $ac_var=\
$ac_val;;
1395 # Be sure to have absolute directory names.
1397 [\\/$
]* | ?
:[\\/]* ) continue;;
1398 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1400 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1403 # There might be people who depend on the old broken behavior: `$host'
1404 # used to hold the argument of --host etc.
1405 # FIXME: To remove some day.
1408 target
=$target_alias
1410 # FIXME: To remove some day.
1411 if test "x$host_alias" != x
; then
1412 if test "x$build_alias" = x
; then
1413 cross_compiling
=maybe
1414 elif test "x$build_alias" != "x$host_alias"; then
1420 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1422 test "$silent" = yes && exec 6>/dev
/null
1425 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1426 ac_ls_di
=`ls -di .` &&
1427 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1428 as_fn_error $?
"working directory cannot be determined"
1429 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1430 as_fn_error $?
"pwd does not report name of working directory"
1433 # Find the source files, if location was not specified.
1434 if test -z "$srcdir"; then
1435 ac_srcdir_defaulted
=yes
1436 # Try the directory containing this script, then the parent directory.
1437 ac_confdir
=`$as_dirname -- "$as_myself" ||
1438 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1439 X"$as_myself" : 'X\(//\)[^/]' \| \
1440 X"$as_myself" : 'X\(//\)$' \| \
1441 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1442 $as_echo X"$as_myself" |
1443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1461 if test ! -r "$srcdir/$ac_unique_file"; then
1465 ac_srcdir_defaulted
=no
1467 if test ! -r "$srcdir/$ac_unique_file"; then
1468 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1469 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1471 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1473 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1475 # When building in place, set srcdir=.
1476 if test "$ac_abs_confdir" = "$ac_pwd"; then
1479 # Remove unnecessary trailing slashes from srcdir.
1480 # Double slashes in file names in object file debugging info
1481 # mess up M-x gdb in Emacs.
1483 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1485 for ac_var
in $ac_precious_vars; do
1486 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1487 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1488 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1489 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1493 # Report the --help message.
1495 if test "$ac_init_help" = "long"; then
1496 # Omit some internal or obsolete options to make the list less imposing.
1497 # This message is too long to be a string in the A/UX 3.1 sh.
1499 \`configure' configures this package to adapt to many kinds of systems.
1501 Usage: $0 [OPTION]... [VAR=VALUE]...
1503 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1504 VAR=VALUE. See below for descriptions of some of the useful variables.
1506 Defaults for the options are specified in brackets.
1509 -h, --help display this help and exit
1510 --help=short display options specific to this package
1511 --help=recursive display the short help of all the included packages
1512 -V, --version display version information and exit
1513 -q, --quiet, --silent do not print \`checking ...' messages
1514 --cache-file=FILE cache test results in FILE [disabled]
1515 -C, --config-cache alias for \`--cache-file=config.cache'
1516 -n, --no-create do not create output files
1517 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1519 Installation directories:
1520 --prefix=PREFIX install architecture-independent files in PREFIX
1521 [$ac_default_prefix]
1522 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1525 By default, \`make install' will install all the files in
1526 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1527 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1528 for instance \`--prefix=\$HOME'.
1530 For better control, use the options below.
1532 Fine tuning of the installation directories:
1533 --bindir=DIR user executables [EPREFIX/bin]
1534 --sbindir=DIR system admin executables [EPREFIX/sbin]
1535 --libexecdir=DIR program executables [EPREFIX/libexec]
1536 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1537 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1538 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1539 --libdir=DIR object code libraries [EPREFIX/lib]
1540 --includedir=DIR C header files [PREFIX/include]
1541 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1542 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1543 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1544 --infodir=DIR info documentation [DATAROOTDIR/info]
1545 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1546 --mandir=DIR man documentation [DATAROOTDIR/man]
1547 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1548 --htmldir=DIR html documentation [DOCDIR]
1549 --dvidir=DIR dvi documentation [DOCDIR]
1550 --pdfdir=DIR pdf documentation [DOCDIR]
1551 --psdir=DIR ps documentation [DOCDIR]
1557 --x-includes=DIR X include files are
in DIR
1558 --x-libraries=DIR X library files are
in DIR
1561 --build=BUILD configure
for building on BUILD
[guessed
]
1562 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1566 if test -n "$ac_init_help"; then
1571 --disable-option-checking ignore unrecognized
--enable/--with options
1572 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1573 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1574 --enable-build-type=TYPE
1575 Select the build
type. Available types are
:
1576 personal
, nightly
, snapshot
, milestone
, release. Do
1577 NOT use this option unless you know what you are
1578 doing
! (default
=personal
)
1579 --enable-debug=list Enable different types of debug. Commas or
1580 whitespaces can be used to separate the items
in the
1581 list. Available types of debug are
: all
, none
,
1582 messages
, stack
, mungwall
, modules
, symbols. If no
1583 list is provided
then "all" is assumed.
1585 --enable-distcc Use distcc as a front end to the compiler
1587 --enable-ccache Use ccache as a front end to the compiler
1589 --enable-target-variant=NAME
1590 Enable a specific target variant
(default
=none
)
1591 --enable-amigaos-compliance=VERSION
1592 Enforce userspace AmigaOS compliance to a specific
1593 KickStart version
(default
=none
).
1594 --disable-crosstools Do not build cross-compiler toolchain
1595 --enable-objc Enable Objectve-C support
(default
=no
)
1596 --enable-java Enable Java support
(default
=no
)
1597 --enable-includes=dir Alternative system include directory
1598 --enable-palm-debug-hack
1599 Enable palm debug output hack
in palm native
1601 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1602 --enable-nesting-supervisor
1603 Enable nesting supervisor support
in unix
1605 --disable-mmu Disable MMU support
(default
=enabled
)
1606 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1607 --enable-x11-shm use X11 shared memory
(default
=auto
)
1608 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1609 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1610 --disable-sdltest Do not try to compile and run a
test SDL program
1611 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1614 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1615 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1616 --with-kernel-gcc-version=VERSION
1617 Use gcc-VERSION
for building bootstrap
1618 --with-optimization=FLAGS
1619 Use optimization flags FLAGS
(default
=-O2).
1620 --with-paranoia=FLAGS CC flags to
enable paranoia
1621 --with-xcode=PATH Specify XCode path
for iOS targets
1622 (default
=/Developer
).
1623 --with-sdk-version=VERSION
1624 Use iOS SDK version VERSION
(default
=4.1).
1625 --with-sdk=PATH Specify Android SDK path
1626 (default
=$default_android_sdk).
1627 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1628 --with-sdk-version=LEVEL
1629 Use Android SDK
for API LEVEL
(default
=12).
1630 --with-ndk-version=LEVEL
1631 Use Android NDK
for API LEVEL
(default
=9).
1632 --with-apk-version=(release|debug
)
1633 Which version of AROSBootstrap.apk to compile.
1634 Release version needs key
for signing
, debug version
1635 will only run
in emulator.
(default
=release
)
1636 --with-kernel-toolchain-prefix=...
1637 Specify crosscompile toolchain prefix
for kernel
1639 --with-elf-toolchain-prefix=...
1640 Specify crosscompile toolchain prefix to wrap
for
1642 --with-aros-toolchain=PREFIX
1643 Specify prebuilt AROS toolchain. Use
yes for default
1645 --with-aros-toolchain-install=DIR
1646 Where to
install or search
for cross tools binaries
1647 --with-binutils-version=VERSION
1648 Use binutils-VERSION
for building AROS
1649 --with-gcc-version=VERSION
1650 Use gcc-VERSION
for building AROS
1651 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1652 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1653 --with-float=<spec
> Specify floating point ABI
1654 (default
=$gcc_default_float_abi).
1655 --with-portssources=DIR Where to download sourcecode
for external ports
1656 --with-bootloader=NAME Use a specific bootloader
1657 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1658 --with-theme=NAME Use a specific GUI Theme
1659 --with-resolution=XRESxYRESxDEPTH
1660 Default resolution of the initial WorkbenchScreen
1661 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1662 --with-x use the X Window System
1663 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1664 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1666 Some influential environment variables
:
1667 CXX C
++ compiler
command
1668 CXXFLAGS C
++ compiler flags
1669 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1670 nonstandard directory
<lib dir
>
1671 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1672 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1673 you have headers
in a nonstandard directory
<include dir
>
1674 CC C compiler
command
1675 CFLAGS C compiler flags
1677 PYTHON the Python interpreter
1678 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1680 Use these variables to override the choices made by
`configure' or to help
1681 it to find libraries and programs with nonstandard names/locations.
1683 Report bugs to the package provider.
1688 if test "$ac_init_help" = "recursive"; then
1689 # If there are subdirs, report their specific --help.
1690 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1691 test -d "$ac_dir" ||
1692 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1697 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1699 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1700 # A ".." for each directory in $ac_dir_suffix.
1701 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1702 case $ac_top_builddir_sub in
1703 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1704 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1707 ac_abs_top_builddir=$ac_pwd
1708 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1709 # for backward compatibility:
1710 ac_top_builddir=$ac_top_build_prefix
1713 .) # We are building in place.
1715 ac_top_srcdir=$ac_top_builddir_sub
1716 ac_abs_top_srcdir=$ac_pwd ;;
1717 [\\/]* | ?:[\\/]* ) # Absolute name.
1718 ac_srcdir=$srcdir$ac_dir_suffix;
1719 ac_top_srcdir=$srcdir
1720 ac_abs_top_srcdir=$srcdir ;;
1722 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1723 ac_top_srcdir=$ac_top_build_prefix$srcdir
1724 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1726 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1728 cd "$ac_dir" || { ac_status=$?; continue; }
1729 # Check for guested configure.
1730 if test -f "$ac_srcdir/configure.gnu"; then
1732 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1733 elif test -f "$ac_srcdir/configure"; then
1735 $SHELL "$ac_srcdir/configure" --help=recursive
1737 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1739 cd "$ac_pwd" || { ac_status=$?; break; }
1743 test -n "$ac_init_help" && exit $ac_status
1744 if $ac_init_version; then
1747 generated by GNU Autoconf 2.69
1749 Copyright (C) 2012 Free Software Foundation, Inc.
1750 This configure script is free software; the Free Software Foundation
1751 gives unlimited permission to copy, distribute and modify it.
1756 ## ------------------------ ##
1757 ## Autoconf initialization. ##
1758 ## ------------------------ ##
1760 # ac_fn_cxx_try_compile LINENO
1761 # ----------------------------
1762 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1763 ac_fn_cxx_try_compile ()
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 rm -f conftest.$ac_objext
1767 if { { ac_try="$ac_compile"
1769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1770 *) ac_try_echo
=$ac_try;;
1772 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1773 $as_echo "$ac_try_echo"; } >&5
1774 (eval "$ac_compile") 2>conftest.err
1776 if test -s conftest.err
; then
1777 grep -v '^ *+' conftest.err
>conftest.er1
1778 cat conftest.er1
>&5
1779 mv -f conftest.er1 conftest.err
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } && {
1783 test -z "$ac_cxx_werror_flag" ||
1784 test ! -s conftest.err
1785 } && test -s conftest.
$ac_objext; then :
1788 $as_echo "$as_me: failed program was:" >&5
1789 sed 's/^/| /' conftest.
$ac_ext >&5
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794 as_fn_set_status
$ac_retval
1796 } # ac_fn_cxx_try_compile
1798 # ac_fn_c_try_compile LINENO
1799 # --------------------------
1800 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1801 ac_fn_c_try_compile
()
1803 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1804 rm -f conftest.
$ac_objext
1805 if { { ac_try
="$ac_compile"
1807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_compile") 2>conftest.err
1814 if test -s conftest.err; then
1815 grep -v '^ *+' conftest.err >conftest.er1
1816 cat conftest.er1 >&5
1817 mv -f conftest.er1 conftest.err
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } && {
1821 test -z "$ac_c_werror_flag" ||
1822 test ! -s conftest.err
1823 } && test -s conftest.$ac_objext; then :
1826 $as_echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1832 as_fn_set_status $ac_retval
1834 } # ac_fn_c_try_compile
1836 # ac_fn_c_try_cpp LINENO
1837 # ----------------------
1838 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842 if { { ac_try="$ac_cpp conftest.$ac_ext"
1844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1845 *) ac_try_echo
=$ac_try;;
1847 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1848 $as_echo "$ac_try_echo"; } >&5
1849 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1851 if test -s conftest.err
; then
1852 grep -v '^ *+' conftest.err
>conftest.er1
1853 cat conftest.er1
>&5
1854 mv -f conftest.er1 conftest.err
1856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857 test $ac_status = 0; } > conftest.i
&& {
1858 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1859 test ! -s conftest.err
1863 $as_echo "$as_me: failed program was:" >&5
1864 sed 's/^/| /' conftest.
$ac_ext >&5
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869 as_fn_set_status
$ac_retval
1873 # ac_fn_c_try_link LINENO
1874 # -----------------------
1875 # Try to link conftest.$ac_ext, and return whether this succeeded.
1878 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1879 rm -f conftest.
$ac_objext conftest
$ac_exeext
1880 if { { ac_try
="$ac_link"
1882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1883 *) ac_try_echo=$ac_try;;
1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886 $as_echo "$ac_try_echo"; } >&5
1887 (eval "$ac_link") 2>conftest.err
1889 if test -s conftest.err; then
1890 grep -v '^ *+' conftest.err >conftest.er1
1891 cat conftest.er1 >&5
1892 mv -f conftest.er1 conftest.err
1894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895 test $ac_status = 0; } && {
1896 test -z "$ac_c_werror_flag" ||
1897 test ! -s conftest.err
1898 } && test -s conftest$ac_exeext && {
1899 test "$cross_compiling" = yes ||
1900 test -x conftest$ac_exeext
1904 $as_echo "$as_me: failed program was:" >&5
1905 sed 's/^/| /' conftest.$ac_ext >&5
1909 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1910 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1911 # interfere with the next link command; also delete a directory that is
1912 # left behind by Apple's compiler. We do this before executing the actions.
1913 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1915 as_fn_set_status $ac_retval
1917 } # ac_fn_c_try_link
1919 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1920 # -------------------------------------------------------
1921 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1922 # the include files in INCLUDES and setting the cache variable VAR
1924 ac_fn_c_check_header_mongrel ()
1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927 if eval \${$3+:} false; then :
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929 $as_echo_n "checking for $2... " >&6; }
1930 if eval \${$3+:} false; then :
1931 $as_echo_n "(cached) " >&6
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935 $as_echo "$ac_res" >&6; }
1937 # Is the header compilable?
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1939 $as_echo_n "checking $2 usability... " >&6; }
1940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1941 /* end confdefs.h. */
1945 if ac_fn_c_try_compile "$LINENO"; then :
1946 ac_header_compiler=yes
1948 ac_header_compiler=no
1950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1952 $as_echo "$ac_header_compiler" >&6; }
1954 # Is the header present?
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1956 $as_echo_n "checking $2 presence... " >&6; }
1957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958 /* end confdefs.h. */
1961 if ac_fn_c_try_cpp "$LINENO"; then :
1962 ac_header_preproc=yes
1964 ac_header_preproc=no
1966 rm -f conftest.err conftest.i conftest.$ac_ext
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1968 $as_echo "$ac_header_preproc" >&6; }
1970 # So? What about this header?
1971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1974 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1976 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1980 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1982 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1984 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1986 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1988 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1992 $as_echo_n "checking for $2... " >&6; }
1993 if eval \${$3+:} false; then :
1994 $as_echo_n "(cached) " >&6
1996 eval "$3=\$ac_header_compiler"
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000 $as_echo "$ac_res" >&6; }
2002 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004 } # ac_fn_c_check_header_mongrel
2006 # ac_fn_c_try_run LINENO
2007 # ----------------------
2008 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2009 # that executables *can* be run.
2012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2013 if { { ac_try="$ac_link"
2015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2016 *) ac_try_echo
=$ac_try;;
2018 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2019 $as_echo "$ac_try_echo"; } >&5
2020 (eval "$ac_link") 2>&5
2022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2023 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2024 { { case "(($ac_try" in
2025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2026 *) ac_try_echo=$ac_try;;
2028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2029 $as_echo "$ac_try_echo"; } >&5
2030 (eval "$ac_try") 2>&5
2032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2033 test $ac_status = 0; }; }; then :
2036 $as_echo "$as_me: program exited with status $ac_status" >&5
2037 $as_echo "$as_me: failed program was:" >&5
2038 sed 's/^/| /' conftest.$ac_ext >&5
2040 ac_retval=$ac_status
2042 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2043 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2044 as_fn_set_status $ac_retval
2048 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2049 # -------------------------------------------------------
2050 # Tests whether HEADER exists and can be compiled using the include files in
2051 # INCLUDES, setting the cache variable VAR accordingly.
2052 ac_fn_c_check_header_compile ()
2054 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2056 $as_echo_n "checking for $2... " >&6; }
2057 if eval \${$3+:} false; then :
2058 $as_echo_n "(cached) " >&6
2060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h. */
2065 if ac_fn_c_try_compile "$LINENO"; then :
2070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2074 $as_echo "$ac_res" >&6; }
2075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2077 } # ac_fn_c_check_header_compile
2079 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2080 # ----------------------------------------------------
2081 # Tries to find if the field MEMBER exists in type AGGR, after including
2082 # INCLUDES, setting cache variable VAR accordingly.
2083 ac_fn_c_check_member ()
2085 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2087 $as_echo_n "checking for $2.$3... " >&6; }
2088 if eval \${$4+:} false; then :
2089 $as_echo_n "(cached) " >&6
2091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2092 /* end confdefs.h. */
2104 if ac_fn_c_try_compile "$LINENO"; then :
2107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2114 if (sizeof ac_aggr.$3)
2120 if ac_fn_c_try_compile "$LINENO"; then :
2125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2131 $as_echo "$ac_res" >&6; }
2132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2134 } # ac_fn_c_check_member
2136 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2137 # ---------------------------------------------
2138 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2140 ac_fn_c_check_decl ()
2142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2144 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2146 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2147 if eval \${$3+:} false; then :
2148 $as_echo_n "(cached) " >&6
2150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2151 /* end confdefs.h. */
2156 #ifndef $as_decl_name
2158 (void) $as_decl_use;
2160 (void) $as_decl_name;
2168 if ac_fn_c_try_compile "$LINENO"; then :
2173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2177 $as_echo "$ac_res" >&6; }
2178 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2180 } # ac_fn_c_check_decl
2182 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2183 # -------------------------------------------
2184 # Tests whether TYPE exists after having included INCLUDES, setting cache
2185 # variable VAR accordingly.
2186 ac_fn_c_check_type ()
2188 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2190 $as_echo_n "checking for $2... " >&6; }
2191 if eval \${$3+:} false; then :
2192 $as_echo_n "(cached) " >&6
2195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2196 /* end confdefs.h. */
2207 if ac_fn_c_try_compile "$LINENO"; then :
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2220 if ac_fn_c_try_compile "$LINENO"; then :
2225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2231 $as_echo "$ac_res" >&6; }
2232 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2234 } # ac_fn_c_check_type
2236 # ac_fn_c_check_func LINENO FUNC VAR
2237 # ----------------------------------
2238 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2239 ac_fn_c_check_func ()
2241 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2243 $as_echo_n "checking for $2... " >&6; }
2244 if eval \${$3+:} false; then :
2245 $as_echo_n "(cached) " >&6
2247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2248 /* end confdefs.h. */
2249 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2251 #define $2 innocuous_$2
2253 /* System header to define __stub macros and hopefully few prototypes,
2254 which can conflict with char $2 (); below.
2255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2256 <limits.h> exists even on freestanding compilers. */
2259 # include <limits.h>
2261 # include <assert.h>
2266 /* Override any GCC internal prototype to avoid an error.
2267 Use char because int might match the return type of a GCC
2268 builtin and then its argument prototype would still apply. */
2273 /* The GNU C library defines this for functions which it implements
2274 to always fail with ENOSYS. Some functions are actually named
2275 something starting with __ and the normal name is an alias. */
2276 #if defined __stub_$2 || defined __stub___$2
2288 if ac_fn_c_try_link "$LINENO"; then :
2293 rm -f core conftest.err conftest.$ac_objext \
2294 conftest$ac_exeext conftest.$ac_ext
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2298 $as_echo "$ac_res" >&6; }
2299 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2301 } # ac_fn_c_check_func
2302 cat >config.log <<_ACEOF
2303 This file contains any messages produced by compilers while
2304 running configure, to aid debugging if configure makes a mistake.
2306 It was created by $as_me, which was
2307 generated by GNU Autoconf 2.69. Invocation command line was
2319 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2320 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2321 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2322 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2323 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2325 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2326 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2328 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2329 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2330 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2331 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2332 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2333 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2334 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342 test -z "$as_dir" && as_dir=.
2343 $as_echo "PATH: $as_dir"
2359 # Keep a trace of the command line.
2360 # Strip out --no-create and --no-recursion so they do not pile up.
2361 # Strip out --silent because we don't want to record it for future runs.
2362 # Also quote any args containing shell meta-characters.
2363 # Make two passes to allow for proper duplicate-argument suppression.
2367 ac_must_keep_next=false
2373 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2374 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2375 | -silent | --silent | --silen | --sile | --sil)
2378 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2381 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2383 as_fn_append ac_configure_args1 " '$ac_arg'"
2384 if test $ac_must_keep_next = true; then
2385 ac_must_keep_next=false # Got value, back to normal.
2388 *=* | --config-cache | -C | -disable-* | --disable-* \
2389 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2390 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2391 | -with-* | --with-* | -without-* | --without-* | --x)
2392 case "$ac_configure_args0 " in
2393 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2396 -* ) ac_must_keep_next=true ;;
2399 as_fn_append ac_configure_args " '$ac_arg'"
2404 { ac_configure_args0=; unset ac_configure_args0;}
2405 { ac_configure_args1=; unset ac_configure_args1;}
2407 # When interrupted or exit'd, cleanup temporary files, and complete
2408 # config.log. We remove comments because anyway the quotes in there
2409 # would cause problems or look ugly.
2410 # WARNING: Use '\'' to represent an apostrophe within the trap.
2411 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2412 trap 'exit_status=$?
2413 # Save into config.log some information that might help in debugging.
2417 $as_echo "## ---------------- ##
2418 ## Cache variables. ##
2419 ## ---------------- ##"
2421 # The following way of writing the cache mishandles newlines in values,
2423 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2424 eval ac_val=\$$ac_var
2428 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2429 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2432 _ | IFS | as_nl) ;; #(
2433 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2434 *) { eval $ac_var=; unset $ac_var;} ;;
2439 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2440 *${as_nl}ac_space=\ *)
2442 "s/'\''/'\''\\\\'\'''\''/g;
2443 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2446 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2453 $as_echo "## ----------------- ##
2454 ## Output variables. ##
2455 ## ----------------- ##"
2457 for ac_var in $ac_subst_vars
2459 eval ac_val=\$$ac_var
2461 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2463 $as_echo "$ac_var='\''$ac_val'\''"
2467 if test -n "$ac_subst_files"; then
2468 $as_echo "## ------------------- ##
2469 ## File substitutions. ##
2470 ## ------------------- ##"
2472 for ac_var in $ac_subst_files
2474 eval ac_val=\$$ac_var
2476 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2478 $as_echo "$ac_var='\''$ac_val'\''"
2483 if test -s confdefs.h; then
2484 $as_echo "## ----------- ##
2491 test "$ac_signal" != 0 &&
2492 $as_echo "$as_me: caught signal $ac_signal"
2493 $as_echo "$as_me: exit $exit_status"
2495 rm -f core *.core core.conftest.* &&
2496 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2499 for ac_signal in 1 2 13 15; do
2500 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2504 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2505 rm -f -r conftest* confdefs.h
2507 $as_echo "/* confdefs.h */" > confdefs.h
2509 # Predefined preprocessor variables.
2511 cat >>confdefs.h <<_ACEOF
2512 #define PACKAGE_NAME "$PACKAGE_NAME"
2515 cat >>confdefs.h <<_ACEOF
2516 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2519 cat >>confdefs.h <<_ACEOF
2520 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2523 cat >>confdefs.h <<_ACEOF
2524 #define PACKAGE_STRING "$PACKAGE_STRING"
2527 cat >>confdefs.h <<_ACEOF
2528 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2531 cat >>confdefs.h <<_ACEOF
2532 #define PACKAGE_URL "$PACKAGE_URL"
2536 # Let the site file select an alternate cache file if it wants to.
2537 # Prefer an explicitly selected file to automatically selected ones.
2540 if test -n "$CONFIG_SITE"; then
2541 # We do not want a PATH search for config.site.
2542 case $CONFIG_SITE in #((
2543 -*) ac_site_file1=./$CONFIG_SITE;;
2544 */*) ac_site_file1=$CONFIG_SITE;;
2545 *) ac_site_file1=./$CONFIG_SITE;;
2547 elif test "x$prefix" != xNONE; then
2548 ac_site_file1=$prefix/share/config.site
2549 ac_site_file2=$prefix/etc/config.site
2551 ac_site_file1=$ac_default_prefix/share/config.site
2552 ac_site_file2=$ac_default_prefix/etc/config.site
2554 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2556 test "x$ac_site_file" = xNONE && continue
2557 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2559 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2560 sed 's/^/| /' "$ac_site_file" >&5
2562 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2564 as_fn_error $? "failed to load site
script $ac_site_file
2565 See \
`config.log' for more details" "$LINENO" 5; }
2569 if test -r "$cache_file"; then
2570 # Some versions of bash will fail to source /dev/null (special files
2571 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2572 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2574 $as_echo "$as_me: loading cache $cache_file" >&6;}
2576 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2577 *) . "./$cache_file";;
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2582 $as_echo "$as_me: creating cache $cache_file" >&6;}
2586 as_fn_append ac_header_list " stdlib.h"
2587 as_fn_append ac_header_list " unistd.h"
2588 as_fn_append ac_header_list " sys/param.h"
2589 # Check that the precious variables saved in the cache have kept the same
2591 ac_cache_corrupted=false
2592 for ac_var in $ac_precious_vars; do
2593 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2594 eval ac_new_set=\$ac_env_${ac_var}_set
2595 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2596 eval ac_new_val=\$ac_env_${ac_var}_value
2597 case $ac_old_set,$ac_new_set in
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2600 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2601 ac_cache_corrupted=: ;;
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2604 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2605 ac_cache_corrupted=: ;;
2608 if test "x$ac_old_val" != "x$ac_new_val"; then
2609 # differences in whitespace do not lead to failure.
2610 ac_old_val_w=`echo x
$ac_old_val`
2611 ac_new_val_w=`echo x
$ac_new_val`
2612 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2614 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2615 ac_cache_corrupted=:
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2618 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2619 eval $ac_var=\$ac_old_val
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2622 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2624 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2627 # Pass precious variables to config.status.
2628 if test "$ac_new_set" = set; then
2630 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2631 *) ac_arg=$ac_var=$ac_new_val ;;
2633 case " $ac_configure_args " in
2634 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2635 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2639 if $ac_cache_corrupted; then
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2643 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2644 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2646 ## -------------------- ##
2647 ## Main body of script. ##
2648 ## -------------------- ##
2651 ac_cpp='$CPP $CPPFLAGS'
2652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2659 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2660 if test -f "$ac_dir/install-sh"; then
2662 ac_install_sh="$ac_aux_dir/install-sh -c"
2664 elif test -f "$ac_dir/install.sh"; then
2666 ac_install_sh="$ac_aux_dir/install.sh -c"
2668 elif test -f "$ac_dir/shtool"; then
2670 ac_install_sh="$ac_aux_dir/shtool install -c"
2674 if test -z "$ac_aux_dir"; then
2675 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2678 # These three variables are undocumented and unsupported,
2679 # and are intended to be withdrawn in a future Autoconf release.
2680 # They can cause serious problems if a builder's source tree is in a directory
2681 # whose full name contains unusual characters.
2682 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2683 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2684 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2688 # Check what host we are running on.
2689 # If a target is not suggested, we use this one.
2690 # Note that what we call a target, Autoconf calls a host.
2691 # Make sure we can run config.sub.
2692 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2693 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2696 $as_echo_n "checking build system type... " >&6; }
2697 if ${ac_cv_build+:} false; then :
2698 $as_echo_n "(cached) " >&6
2700 ac_build_alias=$build_alias
2701 test "x$ac_build_alias" = x &&
2702 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2703 test "x$ac_build_alias" = x &&
2704 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2705 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2706 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2710 $as_echo "$ac_cv_build" >&6; }
2711 case $ac_cv_build in
2713 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2716 ac_save_IFS=$IFS; IFS='-'
2722 # Remember, the first character of IFS is used to create $*,
2723 # except with old shells:
2726 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2730 $as_echo_n "checking host system type... " >&6; }
2731 if ${ac_cv_host+:} false; then :
2732 $as_echo_n "(cached) " >&6
2734 if test "x$host_alias" = x; then
2735 ac_cv_host=$ac_cv_build
2737 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2738 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2743 $as_echo "$ac_cv_host" >&6; }
2746 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2749 ac_save_IFS=$IFS; IFS='-'
2755 # Remember, the first character of IFS is used to create $*,
2756 # except with old shells:
2759 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2763 # Default version of gnu tools to use
2764 default_gcc_version="4.6.4"
2765 default_binutils_version="2.23.2"
2767 # The AROS target is slightly different to the normal GNU style
2768 # format. We don't have the middle part, and we reverse the order
2769 # of the $(CPU) and $(OS) bits.
2771 # Don't strip the version of the target yet, it might be
2772 # useful on some systems.
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2775 $as_echo_n "checking for AROS style target... " >&6; }
2777 if test "$target" = "NONE" ; then
2778 target=$host_os-$host_cpu
2780 if test "$target" = "" ; then
2781 target=$host_os-$host_cpu
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2785 $as_echo "$target" >&6; }
2787 if test "$host_os" = "mingw32" ; then
2791 # Don't know where else to put this...
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2793 $as_echo_n "checking building AROS in... " >&6; }
2794 AROS_BUILDDIR=`${PWDCMD-pwd}`
2795 AROS_BUILDDIR_UNIX=${PWD}
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2797 $as_echo "$AROS_BUILDDIR" >&6; }
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2800 $as_echo_n "checking AROS source in... " >&6; }
2801 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2804 $as_echo "$SRCDIR" >&6; }
2806 # Parse the target field into something useful.
2808 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2809 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2812 # Some debug output, to be removed again.
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2814 $as_echo_n "checking for target system (debug output)... " >&6; }
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2816 $as_echo "$target_os" >&6; }
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2818 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2820 $as_echo "$target_cpu" >&6; }
2822 aros_nominal_width=800
2823 aros_nominal_height=600
2824 aros_nominal_depth=4
2827 # The first step is to find the host binaries.
2828 # Check for a compiler.
2829 # Due to a bug in autoconf check for c++ compiler first.
2830 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2832 ac_cpp='$CXXCPP $CPPFLAGS'
2833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2836 if test -z "$CXX"; then
2837 if test -n "$CCC"; then
2840 if test -n "$ac_tool_prefix"; then
2841 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2843 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2844 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2846 $as_echo_n "checking for $ac_word... " >&6; }
2847 if ${ac_cv_prog_CXX+:} false; then :
2848 $as_echo_n "(cached) " >&6
2850 if test -n "$CXX"; then
2851 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857 test -z "$as_dir" && as_dir=.
2858 for ac_exec_ext in '' $ac_executable_extensions; do
2859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2860 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2871 if test -n "$CXX"; then
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2873 $as_echo "$CXX" >&6; }
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876 $as_echo "no" >&6; }
2880 test -n "$CXX" && break
2883 if test -z "$CXX"; then
2885 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2887 # Extract the first word of "$ac_prog", so it can be a program name with args.
2888 set dummy $ac_prog; ac_word=$2
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2890 $as_echo_n "checking for $ac_word... " >&6; }
2891 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2892 $as_echo_n "(cached) " >&6
2894 if test -n "$ac_ct_CXX"; then
2895 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2901 test -z "$as_dir" && as_dir=.
2902 for ac_exec_ext in '' $ac_executable_extensions; do
2903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2904 ac_cv_prog_ac_ct_CXX="$ac_prog"
2905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2914 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2915 if test -n "$ac_ct_CXX"; then
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2917 $as_echo "$ac_ct_CXX" >&6; }
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2920 $as_echo "no" >&6; }
2924 test -n "$ac_ct_CXX" && break
2927 if test "x$ac_ct_CXX" = x; then
2930 case $cross_compiling:$ac_tool_warned in
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2934 ac_tool_warned=yes ;;
2942 # Provide some information about the compiler.
2943 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2946 for ac_option in --version -v -V -qversion; do
2947 { { ac_try="$ac_compiler $ac_option >&5"
2949 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2950 *) ac_try_echo
=$ac_try;;
2952 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2953 $as_echo "$ac_try_echo"; } >&5
2954 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2956 if test -s conftest.err
; then
2958 ... rest of stderr output deleted ...
2959 10q' conftest.err
>conftest.er1
2960 cat conftest.er1
>&5
2962 rm -f conftest.er1 conftest.err
2963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2964 test $ac_status = 0; }
2967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2968 /* end confdefs.h. */
2978 ac_clean_files_save
=$ac_clean_files
2979 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2980 # Try to create an executable without -o first, disregard a.out.
2981 # It will help us diagnose broken compilers, and finding out an intuition
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2984 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2985 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2987 # The possible output files:
2988 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2991 for ac_file
in $ac_files
2994 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2995 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3000 if { { ac_try
="$ac_link_default"
3002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3003 *) ac_try_echo=$ac_try;;
3005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3006 $as_echo "$ac_try_echo"; } >&5
3007 (eval "$ac_link_default") 2>&5
3009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3010 test $ac_status = 0; }; then :
3011 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3012 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3013 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3014 # so that the user can short-circuit this test for compilers unknown to
3016 for ac_file in $ac_files ''
3018 test -f "$ac_file" || continue
3020 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3023 # We found the default executable, but exeext='' is most
3027 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3029 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3031 # We set ac_cv_exeext here because the later test for it is not
3032 # safe: cross compilers may not add the suffix if given an `-o'
3033 # argument, so we may need to know it at that point already.
3034 # Even if this section looks crufty: it has the advantage of
3041 test "$ac_cv_exeext" = no && ac_cv_exeext=
3046 if test -z "$ac_file"; then :
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3048 $as_echo "no" >&6; }
3049 $as_echo "$as_me: failed program was:" >&5
3050 sed 's
/^
/|
/' conftest.$ac_ext >&5
3052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3053 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3054 as_fn_error 77 "C++ compiler cannot create executables
3055 See \`config.log
' for more details" "$LINENO" 5; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3058 $as_echo "yes" >&6; }
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3061 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3063 $as_echo "$ac_file" >&6; }
3064 ac_exeext=$ac_cv_exeext
3066 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3067 ac_clean_files=$ac_clean_files_save
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3069 $as_echo_n "checking for suffix of executables... " >&6; }
3070 if { { ac_try="$ac_link"
3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3076 $as_echo "$ac_try_echo"; } >&5
3077 (eval "$ac_link") 2>&5
3079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3080 test $ac_status = 0; }; then :
3081 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3082 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3083 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3085 for ac_file
in conftest.exe conftest conftest.
*; do
3086 test -f "$ac_file" ||
continue
3088 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3089 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3097 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3098 See \`config.log' for more details" "$LINENO" 5; }
3100 rm -f conftest conftest
$ac_cv_exeext
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3102 $as_echo "$ac_cv_exeext" >&6; }
3104 rm -f conftest.
$ac_ext
3105 EXEEXT
=$ac_cv_exeext
3107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3108 /* end confdefs.h. */
3113 FILE *f = fopen ("conftest.out", "w");
3114 return ferror (f) || fclose (f) != 0;
3120 ac_clean_files
="$ac_clean_files conftest.out"
3121 # Check that the compiler produces executables we can run. If not, either
3122 # the compiler is broken, or we cross compile.
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3124 $as_echo_n "checking whether we are cross compiling... " >&6; }
3125 if test "$cross_compiling" != yes; then
3126 { { ac_try
="$ac_link"
3128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3132 $as_echo "$ac_try_echo"; } >&5
3133 (eval "$ac_link") 2>&5
3135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3136 test $ac_status = 0; }
3137 if { ac_try='./conftest$ac_cv_exeext'
3138 { { case "(($ac_try" in
3139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3140 *) ac_try_echo
=$ac_try;;
3142 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3143 $as_echo "$ac_try_echo"; } >&5
3144 (eval "$ac_try") 2>&5
3146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3147 test $ac_status = 0; }; }; then
3150 if test "$cross_compiling" = maybe
; then
3153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3155 as_fn_error $?
"cannot run C++ compiled programs.
3156 If you meant to cross compile, use \`--host'.
3157 See \`config.log' for more details" "$LINENO" 5; }
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3162 $as_echo "$cross_compiling" >&6; }
3164 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3165 ac_clean_files
=$ac_clean_files_save
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3167 $as_echo_n "checking for suffix of object files... " >&6; }
3168 if ${ac_cv_objext+:} false
; then :
3169 $as_echo_n "(cached) " >&6
3171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3172 /* end confdefs.h. */
3182 rm -f conftest.o conftest.obj
3183 if { { ac_try
="$ac_compile"
3185 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3186 *) ac_try_echo=$ac_try;;
3188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3189 $as_echo "$ac_try_echo"; } >&5
3190 (eval "$ac_compile") 2>&5
3192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3193 test $ac_status = 0; }; then :
3194 for ac_file in conftest.o conftest.obj conftest.*; do
3195 test -f "$ac_file" || continue;
3197 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3198 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3203 $as_echo "$as_me: failed program was:" >&5
3204 sed 's/^/| /' conftest.$ac_ext >&5
3206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3208 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3209 See \
`config.log' for more details" "$LINENO" 5; }
3211 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3214 $as_echo "$ac_cv_objext" >&6; }
3215 OBJEXT=$ac_cv_objext
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3218 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3219 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3220 $as_echo_n "(cached) " >&6
3222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3223 /* end confdefs.h. */
3236 if ac_fn_cxx_try_compile "$LINENO"; then :
3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3246 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3247 if test $ac_compiler_gnu = yes; then
3252 ac_test_CXXFLAGS=${CXXFLAGS+set}
3253 ac_save_CXXFLAGS=$CXXFLAGS
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3255 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3256 if ${ac_cv_prog_cxx_g+:} false; then :
3257 $as_echo_n "(cached) " >&6
3259 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3260 ac_cxx_werror_flag=yes
3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3274 if ac_fn_cxx_try_compile "$LINENO"; then :
3275 ac_cv_prog_cxx_g=yes
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3289 if ac_fn_cxx_try_compile "$LINENO"; then :
3292 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h. */
3305 if ac_fn_cxx_try_compile "$LINENO"; then :
3306 ac_cv_prog_cxx_g=yes
3308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3316 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3317 if test "$ac_test_CXXFLAGS" = set; then
3318 CXXFLAGS=$ac_save_CXXFLAGS
3319 elif test $ac_cv_prog_cxx_g = yes; then
3320 if test "$GXX" = yes; then
3326 if test "$GXX" = yes; then
3333 ac_cpp='$CPP $CPPFLAGS'
3334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3339 ac_cpp='$CPP $CPPFLAGS'
3340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3343 if test -n "$ac_tool_prefix"; then
3344 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3345 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347 $as_echo_n "checking for $ac_word... " >&6; }
3348 if ${ac_cv_prog_CC+:} false; then :
3349 $as_echo_n "(cached) " >&6
3351 if test -n "$CC"; then
3352 ac_cv_prog_CC="$CC" # Let the user override the test.
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3361 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3372 if test -n "$CC"; then
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3374 $as_echo "$CC" >&6; }
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377 $as_echo "no" >&6; }
3382 if test -z "$ac_cv_prog_CC"; then
3384 # Extract the first word of "gcc", so it can be a program name with args.
3385 set dummy gcc; ac_word=$2
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387 $as_echo_n "checking for $ac_word... " >&6; }
3388 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3389 $as_echo_n "(cached) " >&6
3391 if test -n "$ac_ct_CC"; then
3392 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3401 ac_cv_prog_ac_ct_CC="gcc"
3402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3412 if test -n "$ac_ct_CC"; then
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3414 $as_echo "$ac_ct_CC" >&6; }
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417 $as_echo "no" >&6; }
3420 if test "x$ac_ct_CC" = x; then
3423 case $cross_compiling:$ac_tool_warned in
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3427 ac_tool_warned=yes ;;
3435 if test -z "$CC"; then
3436 if test -n "$ac_tool_prefix"; then
3437 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3438 set dummy ${ac_tool_prefix}cc; ac_word=$2
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3440 $as_echo_n "checking for $ac_word... " >&6; }
3441 if ${ac_cv_prog_CC+:} false; then :
3442 $as_echo_n "(cached) " >&6
3444 if test -n "$CC"; then
3445 ac_cv_prog_CC="$CC" # Let the user override the test.
3447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3451 test -z "$as_dir" && as_dir=.
3452 for ac_exec_ext in '' $ac_executable_extensions; do
3453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454 ac_cv_prog_CC="${ac_tool_prefix}cc"
3455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3465 if test -n "$CC"; then
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3467 $as_echo "$CC" >&6; }
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470 $as_echo "no" >&6; }
3476 if test -z "$CC"; then
3477 # Extract the first word of "cc", so it can be a program name with args.
3478 set dummy cc; ac_word=$2
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3480 $as_echo_n "checking for $ac_word... " >&6; }
3481 if ${ac_cv_prog_CC+:} false; then :
3482 $as_echo_n "(cached) " >&6
3484 if test -n "$CC"; then
3485 ac_cv_prog_CC="$CC" # Let the user override the test.
3488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492 test -z "$as_dir" && as_dir=.
3493 for ac_exec_ext in '' $ac_executable_extensions; do
3494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3495 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3496 ac_prog_rejected=yes
3500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3507 if test $ac_prog_rejected = yes; then
3508 # We found a bogon in the path, so make sure we never use it.
3509 set dummy $ac_cv_prog_CC
3511 if test $# != 0; then
3512 # We chose a different compiler from the bogus one.
3513 # However, it has the same basename, so the bogon will be chosen
3514 # first if we set CC to just the basename; use the full file name.
3516 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3522 if test -n "$CC"; then
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3524 $as_echo "$CC" >&6; }
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3527 $as_echo "no" >&6; }
3532 if test -z "$CC"; then
3533 if test -n "$ac_tool_prefix"; then
3534 for ac_prog in cl.exe
3536 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3537 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3539 $as_echo_n "checking for $ac_word... " >&6; }
3540 if ${ac_cv_prog_CC+:} false; then :
3541 $as_echo_n "(cached) " >&6
3543 if test -n "$CC"; then
3544 ac_cv_prog_CC="$CC" # Let the user override the test.
3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 test -z "$as_dir" && as_dir=.
3551 for ac_exec_ext in '' $ac_executable_extensions; do
3552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3553 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3564 if test -n "$CC"; then
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3566 $as_echo "$CC" >&6; }
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569 $as_echo "no" >&6; }
3573 test -n "$CC" && break
3576 if test -z "$CC"; then
3578 for ac_prog in cl.exe
3580 # Extract the first word of "$ac_prog", so it can be a program name with args.
3581 set dummy $ac_prog; ac_word=$2
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3585 $as_echo_n "(cached) " >&6
3587 if test -n "$ac_ct_CC"; then
3588 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3594 test -z "$as_dir" && as_dir=.
3595 for ac_exec_ext in '' $ac_executable_extensions; do
3596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3597 ac_cv_prog_ac_ct_CC="$ac_prog"
3598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3608 if test -n "$ac_ct_CC"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3610 $as_echo "$ac_ct_CC" >&6; }
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3617 test -n "$ac_ct_CC" && break
3620 if test "x$ac_ct_CC" = x; then
3623 case $cross_compiling:$ac_tool_warned in
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3627 ac_tool_warned=yes ;;
3636 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3638 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3639 See \
`config.log' for more details" "$LINENO" 5; }
3641 # Provide some information about the compiler.
3642 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3645 for ac_option in --version -v -V -qversion; do
3646 { { ac_try="$ac_compiler $ac_option >&5"
3648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3649 *) ac_try_echo
=$ac_try;;
3651 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3652 $as_echo "$ac_try_echo"; } >&5
3653 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3655 if test -s conftest.err
; then
3657 ... rest of stderr output deleted ...
3658 10q' conftest.err
>conftest.er1
3659 cat conftest.er1
>&5
3661 rm -f conftest.er1 conftest.err
3662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3663 test $ac_status = 0; }
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3667 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3668 if ${ac_cv_c_compiler_gnu+:} false
; then :
3669 $as_echo_n "(cached) " >&6
3671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3672 /* end confdefs.h. */
3685 if ac_fn_c_try_compile
"$LINENO"; then :
3690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3691 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3695 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3696 if test $ac_compiler_gnu = yes; then
3701 ac_test_CFLAGS
=${CFLAGS+set}
3702 ac_save_CFLAGS
=$CFLAGS
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3704 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3705 if ${ac_cv_prog_cc_g+:} false
; then :
3706 $as_echo_n "(cached) " >&6
3708 ac_save_c_werror_flag
=$ac_c_werror_flag
3709 ac_c_werror_flag
=yes
3712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3713 /* end confdefs.h. */
3723 if ac_fn_c_try_compile
"$LINENO"; then :
3727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3728 /* end confdefs.h. */
3738 if ac_fn_c_try_compile
"$LINENO"; then :
3741 ac_c_werror_flag
=$ac_save_c_werror_flag
3743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3744 /* end confdefs.h. */
3754 if ac_fn_c_try_compile
"$LINENO"; then :
3757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3762 ac_c_werror_flag
=$ac_save_c_werror_flag
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3765 $as_echo "$ac_cv_prog_cc_g" >&6; }
3766 if test "$ac_test_CFLAGS" = set; then
3767 CFLAGS
=$ac_save_CFLAGS
3768 elif test $ac_cv_prog_cc_g = yes; then
3769 if test "$GCC" = yes; then
3775 if test "$GCC" = yes; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3782 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3783 if ${ac_cv_prog_cc_c89+:} false
; then :
3784 $as_echo_n "(cached) " >&6
3786 ac_cv_prog_cc_c89
=no
3788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3793 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3794 struct buf { int x; };
3795 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3796 static char *e (p, i)
3802 static char *f (char * (*g) (char **, int), char **p, ...)
3807 s = g (p, va_arg (v,int));
3812 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3813 function prototypes and stuff, but not '\xHH' hex character constants.
3814 These don't provoke an error unfortunately, instead are silently treated
3815 as 'x'. The following induces an error, until -std is added to get
3816 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3817 array size at least. It's necessary to write '\x00'==0 to get something
3818 that's true only with -std. */
3819 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3821 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3822 inside strings and character constants. */
3824 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3826 int test (int i, double x);
3827 struct s1 {int (*f) (int a);};
3828 struct s2 {int (*f) (double a);};
3829 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3835 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3840 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3841 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3843 CC
="$ac_save_CC $ac_arg"
3844 if ac_fn_c_try_compile
"$LINENO"; then :
3845 ac_cv_prog_cc_c89
=$ac_arg
3847 rm -f core conftest.err conftest.
$ac_objext
3848 test "x$ac_cv_prog_cc_c89" != "xno" && break
3850 rm -f conftest.
$ac_ext
3855 case "x$ac_cv_prog_cc_c89" in
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3858 $as_echo "none needed" >&6; } ;;
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3861 $as_echo "unsupported" >&6; } ;;
3863 CC
="$CC $ac_cv_prog_cc_c89"
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3865 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3867 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3872 ac_cpp
='$CPP $CPPFLAGS'
3873 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3874 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3875 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3877 case $ac_cv_prog_cc_stdc in #(
3879 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3882 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3883 if ${ac_cv_prog_cc_c99+:} false
; then :
3884 $as_echo_n "(cached) " >&6
3886 ac_cv_prog_cc_c99
=no
3888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3889 /* end confdefs.h. */
3891 #include <stdbool.h>
3896 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3897 #define debug(...) fprintf (stderr, __VA_ARGS__)
3898 #define showlist(...) puts (#__VA_ARGS__)
3899 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3901 test_varargs_macros (void)
3906 debug ("X = %d\n", x);
3907 showlist (The first, second, and third items.);
3908 report (x>y, "x is %d but y is %d", x, y);
3911 // Check long long types.
3912 #define BIG64 18446744073709551615ull
3913 #define BIG32 4294967295ul
3914 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3916 your preprocessor is broken;
3920 your preprocessor is broken;
3922 static long long int bignum = -9223372036854775807LL;
3923 static unsigned long long int ubignum = BIG64;
3925 struct incomplete_array
3933 const wchar_t *name;
3937 typedef const char *ccp;
3940 test_restrict (ccp restrict text)
3942 // See if C++-style comments work.
3943 // Iterate through items via the restricted pointer.
3944 // Also check for declarations in for loops.
3945 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3950 // Check varargs and va_copy.
3952 test_varargs (const char *format, ...)
3955 va_start (args, format);
3957 va_copy (args_copy, args);
3968 str = va_arg (args_copy, const char *);
3971 number = va_arg (args_copy, int);
3974 fnumber = va_arg (args_copy, double);
3989 _Bool success = false;
3992 if (test_restrict ("String literal") == 0)
3994 char *restrict newvar = "Another string";
3997 test_varargs ("s, d' f .", "string", 65, 34.234);
3998 test_varargs_macros ();
4000 // Check flexible array members.
4001 struct incomplete_array *ia =
4002 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4004 for (int i = 0; i < ia->datasize; ++i)
4005 ia->data[i] = i * 1.234;
4007 // Check named initializers.
4008 struct named_init ni = {
4010 .name = L"Test wide string",
4011 .average = 543.34343,
4016 int dynamic_array[ni.number];
4017 dynamic_array[ni.number - 1] = 543;
4019 // work around unused variable warnings
4020 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4021 || dynamic_array[ni.number - 1] != 543);
4027 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4029 CC
="$ac_save_CC $ac_arg"
4030 if ac_fn_c_try_compile
"$LINENO"; then :
4031 ac_cv_prog_cc_c99
=$ac_arg
4033 rm -f core conftest.err conftest.
$ac_objext
4034 test "x$ac_cv_prog_cc_c99" != "xno" && break
4036 rm -f conftest.
$ac_ext
4041 case "x$ac_cv_prog_cc_c99" in
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4044 $as_echo "none needed" >&6; } ;;
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4047 $as_echo "unsupported" >&6; } ;;
4049 CC
="$CC $ac_cv_prog_cc_c99"
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4051 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4053 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4054 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4057 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4058 if ${ac_cv_prog_cc_c89+:} false
; then :
4059 $as_echo_n "(cached) " >&6
4061 ac_cv_prog_cc_c89
=no
4063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4064 /* end confdefs.h. */
4068 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4069 struct buf { int x; };
4070 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4071 static char *e (p, i)
4077 static char *f (char * (*g) (char **, int), char **p, ...)
4082 s = g (p, va_arg (v,int));
4087 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4088 function prototypes and stuff, but not '\xHH' hex character constants.
4089 These don't provoke an error unfortunately, instead are silently treated
4090 as 'x'. The following induces an error, until -std is added to get
4091 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4092 array size at least. It's necessary to write '\x00'==0 to get something
4093 that's true only with -std. */
4094 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4096 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4097 inside strings and character constants. */
4099 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4101 int test (int i, double x);
4102 struct s1 {int (*f) (int a);};
4103 struct s2 {int (*f) (double a);};
4104 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4110 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4115 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4116 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4118 CC
="$ac_save_CC $ac_arg"
4119 if ac_fn_c_try_compile
"$LINENO"; then :
4120 ac_cv_prog_cc_c89
=$ac_arg
4122 rm -f core conftest.err conftest.
$ac_objext
4123 test "x$ac_cv_prog_cc_c89" != "xno" && break
4125 rm -f conftest.
$ac_ext
4130 case "x$ac_cv_prog_cc_c89" in
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4133 $as_echo "none needed" >&6; } ;;
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4136 $as_echo "unsupported" >&6; } ;;
4138 CC
="$CC $ac_cv_prog_cc_c89"
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4140 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4142 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4143 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4145 ac_cv_prog_cc_stdc
=no
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4152 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4153 if ${ac_cv_prog_cc_stdc+:} false
; then :
4154 $as_echo_n "(cached) " >&6
4157 case $ac_cv_prog_cc_stdc in #(
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4160 $as_echo "unsupported" >&6; } ;; #(
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4163 $as_echo "none needed" >&6; } ;; #(
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4166 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4170 ac_cpp
='$CPP $CPPFLAGS'
4171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4175 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4176 # On Suns, sometimes $CPP names a directory.
4177 if test -n "$CPP" && test -d "$CPP"; then
4180 if test -z "$CPP"; then
4181 if ${ac_cv_prog_CPP+:} false
; then :
4182 $as_echo_n "(cached) " >&6
4184 # Double quotes because CPP needs to be expanded
4185 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4188 for ac_c_preproc_warn_flag
in '' yes
4190 # Use a header file that comes with gcc, so configuring glibc
4191 # with a fresh cross-compiler works.
4192 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4193 # <limits.h> exists even on freestanding compilers.
4194 # On the NeXT, cc -E runs the code through the compiler's parser,
4195 # not just through cpp. "Syntax error" is here to catch this case.
4196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4199 # include <limits.h>
4201 # include <assert.h>
4205 if ac_fn_c_try_cpp
"$LINENO"; then :
4208 # Broken: fails on valid input.
4211 rm -f conftest.err conftest.i conftest.
$ac_ext
4213 # OK, works on sane cases. Now check whether nonexistent headers
4214 # can be detected and how.
4215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4217 #include <ac_nonexistent.h>
4219 if ac_fn_c_try_cpp
"$LINENO"; then :
4220 # Broken: success on invalid input.
4223 # Passes both tests.
4227 rm -f conftest.err conftest.i conftest.
$ac_ext
4230 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4231 rm -f conftest.i conftest.err conftest.
$ac_ext
4232 if $ac_preproc_ok; then :
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4245 $as_echo "$CPP" >&6; }
4247 for ac_c_preproc_warn_flag
in '' yes
4249 # Use a header file that comes with gcc, so configuring glibc
4250 # with a fresh cross-compiler works.
4251 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4252 # <limits.h> exists even on freestanding compilers.
4253 # On the NeXT, cc -E runs the code through the compiler's parser,
4254 # not just through cpp. "Syntax error" is here to catch this case.
4255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4258 # include <limits.h>
4260 # include <assert.h>
4264 if ac_fn_c_try_cpp
"$LINENO"; then :
4267 # Broken: fails on valid input.
4270 rm -f conftest.err conftest.i conftest.
$ac_ext
4272 # OK, works on sane cases. Now check whether nonexistent headers
4273 # can be detected and how.
4274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4276 #include <ac_nonexistent.h>
4278 if ac_fn_c_try_cpp
"$LINENO"; then :
4279 # Broken: success on invalid input.
4282 # Passes both tests.
4286 rm -f conftest.err conftest.i conftest.
$ac_ext
4289 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4290 rm -f conftest.i conftest.err conftest.
$ac_ext
4291 if $ac_preproc_ok; then :
4294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4296 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4297 See \`config.log' for more details" "$LINENO" 5; }
4301 ac_cpp
='$CPP $CPPFLAGS'
4302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4307 # Check for a compatible awk
4308 for ac_prog
in gawk nawk
4310 # Extract the first word of "$ac_prog", so it can be a program name with args.
4311 set dummy
$ac_prog; ac_word
=$2
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4313 $as_echo_n "checking for $ac_word... " >&6; }
4314 if ${ac_cv_prog_AWK+:} false
; then :
4315 $as_echo_n "(cached) " >&6
4317 if test -n "$AWK"; then
4318 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4324 test -z "$as_dir" && as_dir
=.
4325 for ac_exec_ext
in '' $ac_executable_extensions; do
4326 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4327 ac_cv_prog_AWK
="$ac_prog"
4328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4338 if test -n "$AWK"; then
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4340 $as_echo "$AWK" >&6; }
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4343 $as_echo "no" >&6; }
4347 test -n "$AWK" && break
4350 if test "$AWK" = ""; then
4351 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4353 # Extract the first word of "mmake", so it can be a program name with args.
4354 set dummy mmake
; ac_word
=$2
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4356 $as_echo_n "checking for $ac_word... " >&6; }
4357 if ${ac_cv_prog_MMAKE+:} false
; then :
4358 $as_echo_n "(cached) " >&6
4360 if test -n "$MMAKE"; then
4361 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4367 test -z "$as_dir" && as_dir
=.
4368 for ac_exec_ext
in '' $ac_executable_extensions; do
4369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4370 ac_cv_prog_MMAKE
="mmake "
4371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4380 MMAKE
=$ac_cv_prog_MMAKE
4381 if test -n "$MMAKE"; then
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4383 $as_echo "$MMAKE" >&6; }
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4386 $as_echo "no" >&6; }
4391 # Perform some default variable assignments. Note all of these will be
4392 # Regenerated from the script, so there is no need to cache them.
4394 aros_host_cpp
="$CPP"
4396 aros_host_cxx
="$CXX"
4397 if test "$GCC" = "yes"; then
4398 aros_gcc_ld
=`$CC -print-prog-name=ld`
4399 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4400 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if ${ac_cv_path_aros_host_ld+:} false
; then :
4404 $as_echo_n "(cached) " >&6
4406 case $aros_host_ld in
4408 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4412 for as_dir
in `dirname $aros_gcc_ld`
4415 test -z "$as_dir" && as_dir
=.
4416 for ac_exec_ext
in '' $ac_executable_extensions; do
4417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4418 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4429 aros_host_ld
=$ac_cv_path_aros_host_ld
4430 if test -n "$aros_host_ld"; then
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4432 $as_echo "$aros_host_ld" >&6; }
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435 $as_echo "no" >&6; }
4440 if test "$aros_host_ld" = ""; then
4441 # Extract the first word of "ld", so it can be a program name with args.
4442 set dummy ld
; ac_word
=$2
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4444 $as_echo_n "checking for $ac_word... " >&6; }
4445 if ${ac_cv_path_aros_host_ld+:} false
; then :
4446 $as_echo_n "(cached) " >&6
4448 case $aros_host_ld in
4450 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4457 test -z "$as_dir" && as_dir
=.
4458 for ac_exec_ext
in '' $ac_executable_extensions; do
4459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4460 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4471 aros_host_ld
=$ac_cv_path_aros_host_ld
4472 if test -n "$aros_host_ld"; then
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4474 $as_echo "$aros_host_ld" >&6; }
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4477 $as_echo "no" >&6; }
4482 if test "$aros_host_ld" = ""; then
4483 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4485 aros_host_make
="make"
4486 aros_host_cflags
="$CFLAGS"
4487 aros_host_cxxflags
="$CXXFLAGS"
4488 aros_host_ldflags
="$LDFLAGS"
4489 aros_host_debug
="-g -O0"
4490 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4491 aros_host_mkargs
="--no-print-directory"
4492 aros_host_exe_suffix
="$EXEEXT"
4493 aros_host_lib_suffix
=""
4495 # Ignore all compliance, AROS ROMs = 0
4496 # KickStart v1.0 = 30
4497 # KickStart v1.3 = 34
4498 # KickStart v2.0 = 37
4499 # KickStart v3.0 = 39
4500 # KickStart v3.1 = 40
4502 aros_amigaos_compliance
=0
4504 for ac_prog
in aclocal aclocal19 aclocal-1.9
4506 # Extract the first word of "$ac_prog", so it can be a program name with args.
4507 set dummy
$ac_prog; ac_word
=$2
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4509 $as_echo_n "checking for $ac_word... " >&6; }
4510 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4511 $as_echo_n "(cached) " >&6
4513 if test -n "$aros_host_aclocal"; then
4514 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4520 test -z "$as_dir" && as_dir
=.
4521 for ac_exec_ext
in '' $ac_executable_extensions; do
4522 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4523 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4533 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4534 if test -n "$aros_host_aclocal"; then
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4536 $as_echo "$aros_host_aclocal" >&6; }
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4539 $as_echo "no" >&6; }
4543 test -n "$aros_host_aclocal" && break
4546 for ac_prog
in autoconf autoconf259 autoconf253
4548 # Extract the first word of "$ac_prog", so it can be a program name with args.
4549 set dummy
$ac_prog; ac_word
=$2
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4551 $as_echo_n "checking for $ac_word... " >&6; }
4552 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4553 $as_echo_n "(cached) " >&6
4555 if test -n "$aros_host_autoconf"; then
4556 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4562 test -z "$as_dir" && as_dir
=.
4563 for ac_exec_ext
in '' $ac_executable_extensions; do
4564 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4565 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4575 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4576 if test -n "$aros_host_autoconf"; then
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4578 $as_echo "$aros_host_autoconf" >&6; }
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4581 $as_echo "no" >&6; }
4585 test -n "$aros_host_autoconf" && break
4588 for ac_prog
in autoheader autoheader259 autoheader253
4590 # Extract the first word of "$ac_prog", so it can be a program name with args.
4591 set dummy
$ac_prog; ac_word
=$2
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4593 $as_echo_n "checking for $ac_word... " >&6; }
4594 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4595 $as_echo_n "(cached) " >&6
4597 if test -n "$aros_host_autoheader"; then
4598 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4604 test -z "$as_dir" && as_dir
=.
4605 for ac_exec_ext
in '' $ac_executable_extensions; do
4606 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4607 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4617 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4618 if test -n "$aros_host_autoheader"; then
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4620 $as_echo "$aros_host_autoheader" >&6; }
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623 $as_echo "no" >&6; }
4627 test -n "$aros_host_autoheader" && break
4630 for ac_prog
in automake automake19 automake-1.9
4632 # Extract the first word of "$ac_prog", so it can be a program name with args.
4633 set dummy
$ac_prog; ac_word
=$2
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4635 $as_echo_n "checking for $ac_word... " >&6; }
4636 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4637 $as_echo_n "(cached) " >&6
4639 if test -n "$aros_host_automake"; then
4640 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4646 test -z "$as_dir" && as_dir
=.
4647 for ac_exec_ext
in '' $ac_executable_extensions; do
4648 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4649 ac_cv_prog_aros_host_automake
="$ac_prog"
4650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4659 aros_host_automake
=$ac_cv_prog_aros_host_automake
4660 if test -n "$aros_host_automake"; then
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4662 $as_echo "$aros_host_automake" >&6; }
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4665 $as_echo "no" >&6; }
4669 test -n "$aros_host_automake" && break
4673 if test "$aros_host_aclocal" = ""; then
4674 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4676 if test "$aros_host_automake" = ""; then
4677 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4680 case "$aros_host_cc" in
4682 aros_host_cc_pipe
=""
4685 aros_host_cc_pipe
="-pipe"
4688 aros_host_cc_pipe
=""
4691 aros_host_cc_pipe
=""
4695 aros_kernel_cc_includes
=""
4696 aros_target_cc_includes
=""
4699 # ----------------------------------------------------------------------------------------
4700 # Host-specific defaults
4702 # This is the main host configuration section. It is where the host
4703 # can change the values of any variables it needs to change. We do
4704 # not look at anything that compiles to the target yet, we'll get
4709 aros_host_arch
="aros"
4710 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4713 aros_host_cpu
="i386"
4716 aros_host_cpu
="x86_64"
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4723 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4724 aros_host_cpu
="$host_cpu"
4730 aros_host_arch
="linux"
4731 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4732 android_build_os
="linux-x86"
4733 android_tool
="android"
4734 default_android_sdk
="/opt/android-sdk-linux_x86"
4737 aros_host_cpu
="i386"
4740 aros_host_cpu
="x86_64"
4743 aros_host_cpu
="m68k"
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4753 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4754 aros_host_cpu
="$host_cpu"
4760 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4761 aros_host_make
="gmake"
4762 aros_host_arch
="freebsd"
4763 aros_host_cpu
="i386"
4765 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4769 aros_object_format
="elf_i386"
4773 aros_object_format
="elf_i386_fbsd"
4780 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4781 aros_host_arch
="darwin"
4783 if [ -z ${SED+x} ]; then SED
="gsed"; fi
4784 android_build_os
="darwin-x86"
4785 android_tool
="android"
4786 default_android_sdk
="/android-sdk-mac_x86"
4789 aros_host_cpu
="i386"
4792 aros_host_cpu
="x86_64"
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4799 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4800 aros_host_cpu
="$host_cpu"
4804 aros_host_ldflags
="$aros_host_ldflags -liconv"
4809 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4810 aros_host_make
="gmake"
4811 aros_host_arch
="dragonfly"
4814 aros_host_cpu
="i386"
4817 aros_host_cpu
="x86_64"
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4821 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4822 aros_host_cpu
="$host_cpu"
4828 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4829 aros_host_make
="gmake"
4830 aros_host_arch
="netbsd"
4833 aros_host_cpu
="i386"
4836 aros_host_cpu
="m68k"
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4840 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4841 aros_host_cpu
="$host_cpu"
4844 aros_host_lib_suffix
=".0.0"
4848 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4849 aros_host_make
="gmake"
4850 aros_host_arch
="openbsd"
4853 aros_host_cpu
="i386"
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4857 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4858 aros_host_cpu
="$host_cpu"
4864 aros_host_arch
="solaris"
4865 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4868 aros_host_cpu
="i386"
4871 aros_host_cpu
="sparc"
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4875 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4876 aros_host_cpu
="$host_cpu"
4882 aros_host_arch
="morphos"
4888 aros_host_arch
="amiga"
4894 TOUCH
="/gg/bin/touch"
4897 aros_host_cpu
="m68k"
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4904 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4905 aros_host_cpu
="$host_cpu"
4911 aros_host_arch
="cygwin"
4912 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4914 android_build_os
="windows"
4915 android_tool
="android.bat"
4916 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4920 aros_host_cpu
="i386"
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4924 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4925 aros_host_cpu
="$host_cpu"
4931 aros_host_arch
="mingw32"
4932 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4934 android_build_os
="windows"
4935 android_tool
="android.bat"
4936 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4942 $as_echo_n "checking for Windows native gcc target... " >&6; }
4943 host_cpu
=`gcc -dumpmachine`
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4945 $as_echo "$host_cpu" >&6; }
4952 aros_host_cpu
="i386"
4956 aros_host_cpu
="i386"
4960 aros_host_cpu
="x86_64"
4961 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4966 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4967 aros_host_cpu
="$host_cpu"
4972 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4976 # Extract the first word of "ar", so it can be a program name with args.
4977 set dummy
ar; ac_word
=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4981 $as_echo_n "(cached) " >&6
4983 if test -n "$aros_host_ar"; then
4984 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4990 test -z "$as_dir" && as_dir
=.
4991 for ac_exec_ext
in '' $ac_executable_extensions; do
4992 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_aros_host_ar
="ar cr"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 aros_host_ar
=$ac_cv_prog_aros_host_ar
5004 if test -n "$aros_host_ar"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
5006 $as_echo "$aros_host_ar" >&6; }
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5013 if test "$aros_host_ar" = ""; then
5014 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
5016 # Extract the first word of "ranlib", so it can be a program name with args.
5017 set dummy ranlib
; ac_word
=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
5021 $as_echo_n "(cached) " >&6
5023 if test -n "$aros_host_ranlib"; then
5024 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
5026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5030 test -z "$as_dir" && as_dir
=.
5031 for ac_exec_ext
in '' $ac_executable_extensions; do
5032 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5033 ac_cv_prog_aros_host_ranlib
="ranlib "
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
5044 if test -n "$aros_host_ranlib"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
5046 $as_echo "$aros_host_ranlib" >&6; }
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5053 if test "$aros_host_ranlib" = ""; then
5054 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5056 # Extract the first word of "strip", so it can be a program name with args.
5057 set dummy strip
; ac_word
=$2
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059 $as_echo_n "checking for $ac_word... " >&6; }
5060 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5061 $as_echo_n "(cached) " >&6
5063 if test -n "$aros_host_strip"; then
5064 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5070 test -z "$as_dir" && as_dir
=.
5071 for ac_exec_ext
in '' $ac_executable_extensions; do
5072 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5073 ac_cv_prog_aros_host_strip
="strip "
5074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 aros_host_strip
=$ac_cv_prog_aros_host_strip
5084 if test -n "$aros_host_strip"; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5086 $as_echo "$aros_host_strip" >&6; }
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5093 if test "$aros_host_strip" = ""; then
5094 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5097 # Extract the first word of "rm", so it can be a program name with args.
5098 set dummy
rm; ac_word
=$2
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5100 $as_echo_n "checking for $ac_word... " >&6; }
5101 if ${ac_cv_prog_RM+:} false
; then :
5102 $as_echo_n "(cached) " >&6
5104 if test -n "$RM"; then
5105 ac_cv_prog_RM
="$RM" # Let the user override the test.
5107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5111 test -z "$as_dir" && as_dir
=.
5112 for ac_exec_ext
in '' $ac_executable_extensions; do
5113 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5114 ac_cv_prog_RM
="rm -rf"
5115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5125 if test -n "$RM"; then
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5127 $as_echo "$RM" >&6; }
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5130 $as_echo "no" >&6; }
5134 if test "$RM" = ""; then
5135 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5137 # Extract the first word of "cp", so it can be a program name with args.
5138 set dummy
cp; ac_word
=$2
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5140 $as_echo_n "checking for $ac_word... " >&6; }
5141 if ${ac_cv_prog_CP+:} false
; then :
5142 $as_echo_n "(cached) " >&6
5144 if test -n "$CP"; then
5145 ac_cv_prog_CP
="$CP" # Let the user override the test.
5147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5151 test -z "$as_dir" && as_dir
=.
5152 for ac_exec_ext
in '' $ac_executable_extensions; do
5153 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 if test -n "$CP"; then
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5167 $as_echo "$CP" >&6; }
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5170 $as_echo "no" >&6; }
5174 if test "$CP" = ""; then
5175 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5177 # Extract the first word of "mv", so it can be a program name with args.
5178 set dummy
mv; ac_word
=$2
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5180 $as_echo_n "checking for $ac_word... " >&6; }
5181 if ${ac_cv_prog_MV+:} false
; then :
5182 $as_echo_n "(cached) " >&6
5184 if test -n "$MV"; then
5185 ac_cv_prog_MV
="$MV" # Let the user override the test.
5187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5191 test -z "$as_dir" && as_dir
=.
5192 for ac_exec_ext
in '' $ac_executable_extensions; do
5193 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5205 if test -n "$MV"; then
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5207 $as_echo "$MV" >&6; }
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5210 $as_echo "no" >&6; }
5214 if test "$MV" = ""; then
5215 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5217 # Extract the first word of "echo", so it can be a program name with args.
5218 set dummy
echo; ac_word
=$2
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5220 $as_echo_n "checking for $ac_word... " >&6; }
5221 if ${ac_cv_prog_ECHO+:} false
; then :
5222 $as_echo_n "(cached) " >&6
5224 if test -n "$ECHO"; then
5225 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5231 test -z "$as_dir" && as_dir
=.
5232 for ac_exec_ext
in '' $ac_executable_extensions; do
5233 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5234 ac_cv_prog_ECHO
="echo "
5235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244 ECHO
=$ac_cv_prog_ECHO
5245 if test -n "$ECHO"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5247 $as_echo "$ECHO" >&6; }
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5254 if test "$ECHO" = ""; then
5255 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5257 # Extract the first word of "mkdir", so it can be a program name with args.
5258 set dummy mkdir
; ac_word
=$2
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5260 $as_echo_n "checking for $ac_word... " >&6; }
5261 if ${ac_cv_prog_MKDIR+:} false
; then :
5262 $as_echo_n "(cached) " >&6
5264 if test -n "$MKDIR"; then
5265 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5271 test -z "$as_dir" && as_dir
=.
5272 for ac_exec_ext
in '' $ac_executable_extensions; do
5273 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5274 ac_cv_prog_MKDIR
="mkdir -p"
5275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5284 MKDIR
=$ac_cv_prog_MKDIR
5285 if test -n "$MKDIR"; then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5287 $as_echo "$MKDIR" >&6; }
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5290 $as_echo "no" >&6; }
5294 if test "$MKDIR" = ""; then
5295 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5297 # Extract the first word of "touch", so it can be a program name with args.
5298 set dummy
touch; ac_word
=$2
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5300 $as_echo_n "checking for $ac_word... " >&6; }
5301 if ${ac_cv_prog_TOUCH+:} false
; then :
5302 $as_echo_n "(cached) " >&6
5304 if test -n "$TOUCH"; then
5305 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5311 test -z "$as_dir" && as_dir
=.
5312 for ac_exec_ext
in '' $ac_executable_extensions; do
5313 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5314 ac_cv_prog_TOUCH
="touch "
5315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 TOUCH
=$ac_cv_prog_TOUCH
5325 if test -n "$TOUCH"; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5327 $as_echo "$TOUCH" >&6; }
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5334 if test "$TOUCH" = ""; then
5335 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5337 # Extract the first word of "sort", so it can be a program name with args.
5338 set dummy
sort; ac_word
=$2
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5340 $as_echo_n "checking for $ac_word... " >&6; }
5341 if ${ac_cv_prog_SORT+:} false
; then :
5342 $as_echo_n "(cached) " >&6
5344 if test -n "$SORT"; then
5345 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5351 test -z "$as_dir" && as_dir
=.
5352 for ac_exec_ext
in '' $ac_executable_extensions; do
5353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5354 ac_cv_prog_SORT
="sort "
5355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 SORT
=$ac_cv_prog_SORT
5365 if test -n "$SORT"; then
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5367 $as_echo "$SORT" >&6; }
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5370 $as_echo "no" >&6; }
5374 if test "$SORT" = ""; then
5375 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5377 # Extract the first word of "uniq", so it can be a program name with args.
5378 set dummy
uniq; ac_word
=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if ${ac_cv_prog_UNIQ+:} false
; then :
5382 $as_echo_n "(cached) " >&6
5384 if test -n "$UNIQ"; then
5385 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5391 test -z "$as_dir" && as_dir
=.
5392 for ac_exec_ext
in '' $ac_executable_extensions; do
5393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5394 ac_cv_prog_UNIQ
="uniq "
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5404 UNIQ
=$ac_cv_prog_UNIQ
5405 if test -n "$UNIQ"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5407 $as_echo "$UNIQ" >&6; }
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }
5414 if test "$UNIQ" = ""; then
5415 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5417 # Extract the first word of "true", so it can be a program name with args.
5418 set dummy true
; ac_word
=$2
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5420 $as_echo_n "checking for $ac_word... " >&6; }
5421 if ${ac_cv_prog_NOP+:} false
; then :
5422 $as_echo_n "(cached) " >&6
5424 if test -n "$NOP"; then
5425 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5431 test -z "$as_dir" && as_dir
=.
5432 for ac_exec_ext
in '' $ac_executable_extensions; do
5433 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5434 ac_cv_prog_NOP
="true "
5435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 if test -n "$NOP"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5447 $as_echo "$NOP" >&6; }
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5454 if test "$NOP" = ""; then
5455 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5457 # Extract the first word of "cat", so it can be a program name with args.
5458 set dummy
cat; ac_word
=$2
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5460 $as_echo_n "checking for $ac_word... " >&6; }
5461 if ${ac_cv_prog_CAT+:} false
; then :
5462 $as_echo_n "(cached) " >&6
5464 if test -n "$CAT"; then
5465 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5471 test -z "$as_dir" && as_dir
=.
5472 for ac_exec_ext
in '' $ac_executable_extensions; do
5473 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5474 ac_cv_prog_CAT
="cat "
5475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 if test -n "$CAT"; then
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5487 $as_echo "$CAT" >&6; }
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5490 $as_echo "no" >&6; }
5494 if test "$CAT" = ""; then
5495 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5497 # Extract the first word of "bison", so it can be a program name with args.
5498 set dummy bison
; ac_word
=$2
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500 $as_echo_n "checking for $ac_word... " >&6; }
5501 if ${ac_cv_prog_BISON+:} false
; then :
5502 $as_echo_n "(cached) " >&6
5504 if test -n "$BISON"; then
5505 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5511 test -z "$as_dir" && as_dir
=.
5512 for ac_exec_ext
in '' $ac_executable_extensions; do
5513 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5514 ac_cv_prog_BISON
="bison "
5515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5524 BISON
=$ac_cv_prog_BISON
5525 if test -n "$BISON"; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5527 $as_echo "$BISON" >&6; }
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530 $as_echo "no" >&6; }
5534 if test "$BISON" = ""; then
5535 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5537 # Extract the first word of "flex", so it can be a program name with args.
5538 set dummy flex
; ac_word
=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540 $as_echo_n "checking for $ac_word... " >&6; }
5541 if ${ac_cv_prog_FLEX+:} false
; then :
5542 $as_echo_n "(cached) " >&6
5544 if test -n "$FLEX"; then
5545 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5551 test -z "$as_dir" && as_dir
=.
5552 for ac_exec_ext
in '' $ac_executable_extensions; do
5553 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5554 ac_cv_prog_FLEX
="flex "
5555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5564 FLEX
=$ac_cv_prog_FLEX
5565 if test -n "$FLEX"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5567 $as_echo "$FLEX" >&6; }
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5574 if test "$FLEX" = ""; then
5575 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5577 # Extract the first word of "pngtopnm", so it can be a program name with args.
5578 set dummy pngtopnm
; ac_word
=$2
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5580 $as_echo_n "checking for $ac_word... " >&6; }
5581 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5582 $as_echo_n "(cached) " >&6
5584 if test -n "$PNGTOPNM"; then
5585 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5591 test -z "$as_dir" && as_dir
=.
5592 for ac_exec_ext
in '' $ac_executable_extensions; do
5593 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5594 ac_cv_prog_PNGTOPNM
="pngtopnm "
5595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5604 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5605 if test -n "$PNGTOPNM"; then
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5607 $as_echo "$PNGTOPNM" >&6; }
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5610 $as_echo "no" >&6; }
5614 if test "$PNGTOPNM" = ""; then
5615 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5617 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5618 set dummy ppmtoilbm
; ac_word
=$2
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620 $as_echo_n "checking for $ac_word... " >&6; }
5621 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5622 $as_echo_n "(cached) " >&6
5624 if test -n "$PPMTOILBM"; then
5625 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5631 test -z "$as_dir" && as_dir
=.
5632 for ac_exec_ext
in '' $ac_executable_extensions; do
5633 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5634 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5644 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5645 if test -n "$PPMTOILBM"; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5647 $as_echo "$PPMTOILBM" >&6; }
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }
5654 if test "$PPMTOILBM" = ""; then
5655 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5657 # Extract the first word of "sed", so it can be a program name with args.
5658 set dummy
sed; ac_word
=$2
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660 $as_echo_n "checking for $ac_word... " >&6; }
5661 if ${ac_cv_prog_SED+:} false
; then :
5662 $as_echo_n "(cached) " >&6
5664 if test -n "$SED"; then
5665 ac_cv_prog_SED
="$SED" # Let the user override the test.
5667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5671 test -z "$as_dir" && as_dir
=.
5672 for ac_exec_ext
in '' $ac_executable_extensions; do
5673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_SED
="sed "
5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 if test -n "$SED"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5687 $as_echo "$SED" >&6; }
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 $as_echo "no" >&6; }
5694 if test "$SED" = ""; then
5695 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5697 # Extract the first word of "chmod", so it can be a program name with args.
5698 set dummy
chmod; ac_word
=$2
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5700 $as_echo_n "checking for $ac_word... " >&6; }
5701 if ${ac_cv_prog_CHMOD+:} false
; then :
5702 $as_echo_n "(cached) " >&6
5704 if test -n "$CHMOD"; then
5705 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5711 test -z "$as_dir" && as_dir
=.
5712 for ac_exec_ext
in '' $ac_executable_extensions; do
5713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5714 ac_cv_prog_CHMOD
="chmod "
5715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 CHMOD
=$ac_cv_prog_CHMOD
5725 if test -n "$CHMOD"; then
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5727 $as_echo "$CHMOD" >&6; }
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5730 $as_echo "no" >&6; }
5734 if test "$CHMOD" = ""; then
5735 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5737 # Extract the first word of "patch", so it can be a program name with args.
5738 set dummy
patch; ac_word
=$2
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5740 $as_echo_n "checking for $ac_word... " >&6; }
5741 if ${ac_cv_prog_PATCH+:} false
; then :
5742 $as_echo_n "(cached) " >&6
5744 if test -n "$PATCH"; then
5745 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5751 test -z "$as_dir" && as_dir
=.
5752 for ac_exec_ext
in '' $ac_executable_extensions; do
5753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5754 ac_cv_prog_PATCH
="patch "
5755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5764 PATCH
=$ac_cv_prog_PATCH
5765 if test -n "$PATCH"; then
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5767 $as_echo "$PATCH" >&6; }
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5770 $as_echo "no" >&6; }
5774 if test "$PATCH" = ""; then
5775 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5784 if test -n "$PYTHON"; then
5785 # If the user set $PYTHON, use it and don't search something else.
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
5787 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
5789 # split strings by '.' and convert to numeric. Append some zeros
5790 # because we need at least 4 digits for the hex conversion.
5791 # map returns an iterator in Python 3.0 and a list in 2.x
5792 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5794 # xrange is not present in Python 3.0 and range returns an iterator
5795 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5796 sys.exit(sys.hexversion < minverhex)"
5797 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5798 ($PYTHON -c "$prog") >&5 2>&5
5800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801 (exit $ac_status); }; then :
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5803 $as_echo "yes" >&6; }
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5806 $as_echo "no" >&6; }
5807 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
5809 am_display_PYTHON
=$PYTHON
5811 # Otherwise, try each interpreter until we find one that satisfies
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5814 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5815 if ${am_cv_pathless_PYTHON+:} false
; then :
5816 $as_echo_n "(cached) " >&6
5819 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
5820 test "$am_cv_pathless_PYTHON" = none
&& break
5822 # split strings by '.' and convert to numeric. Append some zeros
5823 # because we need at least 4 digits for the hex conversion.
5824 # map returns an iterator in Python 3.0 and a list in 2.x
5825 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5827 # xrange is not present in Python 3.0 and range returns an iterator
5828 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5829 sys.exit(sys.hexversion < minverhex)"
5830 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5831 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); }; then :
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5840 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5841 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5842 if test "$am_cv_pathless_PYTHON" = none
; then
5845 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5846 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5848 $as_echo_n "checking for $ac_word... " >&6; }
5849 if ${ac_cv_path_PYTHON+:} false
; then :
5850 $as_echo_n "(cached) " >&6
5854 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5861 test -z "$as_dir" && as_dir
=.
5862 for ac_exec_ext
in '' $ac_executable_extensions; do
5863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5864 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 PYTHON
=$ac_cv_path_PYTHON
5876 if test -n "$PYTHON"; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5878 $as_echo "$PYTHON" >&6; }
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5881 $as_echo "no" >&6; }
5886 am_display_PYTHON
=$am_cv_pathless_PYTHON
5890 if test "$PYTHON" = :; then
5891 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5896 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5897 if ${am_cv_python_version+:} false
; then :
5898 $as_echo_n "(cached) " >&6
5900 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5903 $as_echo "$am_cv_python_version" >&6; }
5904 PYTHON_VERSION
=$am_cv_python_version
5908 PYTHON_PREFIX
='${prefix}'
5910 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5915 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5916 if ${am_cv_python_platform+:} false
; then :
5917 $as_echo_n "(cached) " >&6
5919 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5922 $as_echo "$am_cv_python_platform" >&6; }
5923 PYTHON_PLATFORM
=$am_cv_python_platform
5926 # Just factor out some code duplication.
5927 am_python_setup_sysconfig
="\
5929 # Prefer sysconfig over distutils.sysconfig, for better compatibility
5930 # with python 3.x. See automake bug#10227.
5934 can_use_sysconfig = 0
5936 can_use_sysconfig = 1
5937 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
5938 # <https://github.com/pypa/virtualenv/issues/118>
5940 from platform import python_implementation
5941 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
5942 can_use_sysconfig = 0
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5948 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5949 if ${am_cv_python_pythondir+:} false
; then :
5950 $as_echo_n "(cached) " >&6
5952 if test "x$prefix" = xNONE
5954 am_py_prefix
=$ac_default_prefix
5956 am_py_prefix
=$prefix
5958 am_cv_python_pythondir
=`$PYTHON -c "
5959 $am_python_setup_sysconfig
5960 if can_use_sysconfig:
5961 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
5963 from distutils import sysconfig
5964 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
5965 sys.stdout.write(sitedir)"`
5966 case $am_cv_python_pythondir in
5968 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5969 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5972 case $am_py_prefix in
5975 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5983 $as_echo "$am_cv_python_pythondir" >&6; }
5984 pythondir
=$am_cv_python_pythondir
5988 pkgpythondir
=\
${pythondir}/$PACKAGE
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5992 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5993 if ${am_cv_python_pyexecdir+:} false
; then :
5994 $as_echo_n "(cached) " >&6
5996 if test "x$exec_prefix" = xNONE
5998 am_py_exec_prefix
=$am_py_prefix
6000 am_py_exec_prefix
=$exec_prefix
6002 am_cv_python_pyexecdir
=`$PYTHON -c "
6003 $am_python_setup_sysconfig
6004 if can_use_sysconfig:
6005 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
6007 from distutils import sysconfig
6008 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
6009 sys.stdout.write(sitedir)"`
6010 case $am_cv_python_pyexecdir in
6011 $am_py_exec_prefix*)
6012 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
6013 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
6016 case $am_py_exec_prefix in
6019 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6027 $as_echo "$am_cv_python_pyexecdir" >&6; }
6028 pyexecdir
=$am_cv_python_pyexecdir
6032 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6042 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6043 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6044 $as_echo_n "(cached) " >&6
6046 ac_check_lib_save_LIBS
=$LIBS
6048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6049 /* end confdefs.h. */
6051 /* Override any GCC internal prototype to avoid an error.
6052 Use char because int might match the return type of a GCC
6053 builtin and then its argument prototype would still apply. */
6057 char png_read_png ();
6061 return png_read_png ();
6066 if ac_fn_c_try_link
"$LINENO"; then :
6067 ac_cv_lib_png_png_read_png
=yes
6069 ac_cv_lib_png_png_read_png
=no
6071 rm -f core conftest.err conftest.
$ac_objext \
6072 conftest
$ac_exeext conftest.
$ac_ext
6073 LIBS
=$ac_check_lib_save_LIBS
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6076 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6077 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6078 cat >>confdefs.h
<<_ACEOF
6079 #define HAVE_LIBPNG 1
6086 if test "$ac_cv_lib_png_png_read_png" = ""; then
6087 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6100 # Check for some includes for the X11 HIDD and the kernel
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6103 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6104 if ${ac_cv_path_GREP+:} false
; then :
6105 $as_echo_n "(cached) " >&6
6107 if test -z "$GREP"; then
6108 ac_path_GREP_found
=false
6109 # Loop through the user's path and test for each of PROGNAME-LIST
6110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6111 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6114 test -z "$as_dir" && as_dir
=.
6115 for ac_prog
in grep ggrep
; do
6116 for ac_exec_ext
in '' $ac_executable_extensions; do
6117 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6118 as_fn_executable_p
"$ac_path_GREP" ||
continue
6119 # Check for GNU ac_path_GREP and select it if it is found.
6120 # Check for GNU $ac_path_GREP
6121 case `"$ac_path_GREP" --version 2>&1` in
6123 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6126 $as_echo_n 0123456789 >"conftest.in"
6129 cat "conftest.in" "conftest.in" >"conftest.tmp"
6130 mv "conftest.tmp" "conftest.in"
6131 cp "conftest.in" "conftest.nl"
6132 $as_echo 'GREP' >> "conftest.nl"
6133 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6134 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6135 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6136 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6137 # Best one so far, save it but keep looking for a better one
6138 ac_cv_path_GREP
="$ac_path_GREP"
6139 ac_path_GREP_max
=$ac_count
6141 # 10*(2^10) chars as input seems more than enough
6142 test $ac_count -gt 10 && break
6144 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6147 $ac_path_GREP_found && break 3
6152 if test -z "$ac_cv_path_GREP"; then
6153 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6156 ac_cv_path_GREP
=$GREP
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6161 $as_echo "$ac_cv_path_GREP" >&6; }
6162 GREP
="$ac_cv_path_GREP"
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6166 $as_echo_n "checking for egrep... " >&6; }
6167 if ${ac_cv_path_EGREP+:} false
; then :
6168 $as_echo_n "(cached) " >&6
6170 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6171 then ac_cv_path_EGREP
="$GREP -E"
6173 if test -z "$EGREP"; then
6174 ac_path_EGREP_found
=false
6175 # Loop through the user's path and test for each of PROGNAME-LIST
6176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6177 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6180 test -z "$as_dir" && as_dir
=.
6181 for ac_prog
in egrep; do
6182 for ac_exec_ext
in '' $ac_executable_extensions; do
6183 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6184 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6185 # Check for GNU ac_path_EGREP and select it if it is found.
6186 # Check for GNU $ac_path_EGREP
6187 case `"$ac_path_EGREP" --version 2>&1` in
6189 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6192 $as_echo_n 0123456789 >"conftest.in"
6195 cat "conftest.in" "conftest.in" >"conftest.tmp"
6196 mv "conftest.tmp" "conftest.in"
6197 cp "conftest.in" "conftest.nl"
6198 $as_echo 'EGREP' >> "conftest.nl"
6199 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6200 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6201 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6202 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6203 # Best one so far, save it but keep looking for a better one
6204 ac_cv_path_EGREP
="$ac_path_EGREP"
6205 ac_path_EGREP_max
=$ac_count
6207 # 10*(2^10) chars as input seems more than enough
6208 test $ac_count -gt 10 && break
6210 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6213 $ac_path_EGREP_found && break 3
6218 if test -z "$ac_cv_path_EGREP"; then
6219 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6222 ac_cv_path_EGREP
=$EGREP
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6228 $as_echo "$ac_cv_path_EGREP" >&6; }
6229 EGREP
="$ac_cv_path_EGREP"
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6233 $as_echo_n "checking for ANSI C header files... " >&6; }
6234 if ${ac_cv_header_stdc+:} false
; then :
6235 $as_echo_n "(cached) " >&6
6237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6238 /* end confdefs.h. */
6252 if ac_fn_c_try_compile
"$LINENO"; then :
6253 ac_cv_header_stdc
=yes
6255 ac_cv_header_stdc
=no
6257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6259 if test $ac_cv_header_stdc = yes; then
6260 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6262 /* end confdefs.h. */
6266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6267 $EGREP "memchr" >/dev
/null
2>&1; then :
6270 ac_cv_header_stdc
=no
6276 if test $ac_cv_header_stdc = yes; then
6277 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6284 $EGREP "free" >/dev
/null
2>&1; then :
6287 ac_cv_header_stdc
=no
6293 if test $ac_cv_header_stdc = yes; then
6294 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6295 if test "$cross_compiling" = yes; then :
6298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6299 /* end confdefs.h. */
6302 #if ((' ' & 0x0FF) == 0x020)
6303 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6304 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6306 # define ISLOWER(c) \
6307 (('a' <= (c) && (c) <= 'i') \
6308 || ('j' <= (c) && (c) <= 'r') \
6309 || ('s' <= (c) && (c) <= 'z'))
6310 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6313 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6318 for (i = 0; i < 256; i++)
6319 if (XOR (islower (i), ISLOWER (i))
6320 || toupper (i) != TOUPPER (i))
6325 if ac_fn_c_try_run
"$LINENO"; then :
6328 ac_cv_header_stdc
=no
6330 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6331 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6337 $as_echo "$ac_cv_header_stdc" >&6; }
6338 if test $ac_cv_header_stdc = yes; then
6340 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6344 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6345 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6346 inttypes.h stdint.h unistd.h
6348 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6349 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6351 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6352 cat >>confdefs.h
<<_ACEOF
6353 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6361 for ac_header
in sys
/ipc.h sys
/shm.h \
6362 sys
/mmap.h sys
/mman.h sysexits.h \
6363 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6366 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6367 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6368 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6369 cat >>confdefs.h
<<_ACEOF
6370 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6378 for ac_header
in sys
/mount.h
6380 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6382 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6383 cat >>confdefs.h
<<_ACEOF
6384 #define HAVE_SYS_MOUNT_H 1
6393 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6394 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6396 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6397 if eval \
${$as_ac_Header+:} false
; then :
6398 $as_echo_n "(cached) " >&6
6400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6401 /* end confdefs.h. */
6402 #include <sys/types.h>
6414 if ac_fn_c_try_compile
"$LINENO"; then :
6415 eval "$as_ac_Header=yes"
6417 eval "$as_ac_Header=no"
6419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6421 eval ac_res
=\$
$as_ac_Header
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6423 $as_echo "$ac_res" >&6; }
6424 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6425 cat >>confdefs.h
<<_ACEOF
6426 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6429 ac_header_dirent
=$ac_hdr; break
6433 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6434 if test $ac_header_dirent = dirent.h
; then
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6436 $as_echo_n "checking for library containing opendir... " >&6; }
6437 if ${ac_cv_search_opendir+:} false
; then :
6438 $as_echo_n "(cached) " >&6
6440 ac_func_search_save_LIBS
=$LIBS
6441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6442 /* end confdefs.h. */
6444 /* Override any GCC internal prototype to avoid an error.
6445 Use char because int might match the return type of a GCC
6446 builtin and then its argument prototype would still apply. */
6459 for ac_lib
in '' dir
; do
6460 if test -z "$ac_lib"; then
6461 ac_res
="none required"
6464 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6466 if ac_fn_c_try_link
"$LINENO"; then :
6467 ac_cv_search_opendir
=$ac_res
6469 rm -f core conftest.err conftest.
$ac_objext \
6471 if ${ac_cv_search_opendir+:} false
; then :
6475 if ${ac_cv_search_opendir+:} false
; then :
6478 ac_cv_search_opendir
=no
6481 LIBS
=$ac_func_search_save_LIBS
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6484 $as_echo "$ac_cv_search_opendir" >&6; }
6485 ac_res
=$ac_cv_search_opendir
6486 if test "$ac_res" != no
; then :
6487 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6493 $as_echo_n "checking for library containing opendir... " >&6; }
6494 if ${ac_cv_search_opendir+:} false
; then :
6495 $as_echo_n "(cached) " >&6
6497 ac_func_search_save_LIBS
=$LIBS
6498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6499 /* end confdefs.h. */
6501 /* Override any GCC internal prototype to avoid an error.
6502 Use char because int might match the return type of a GCC
6503 builtin and then its argument prototype would still apply. */
6516 for ac_lib
in '' x
; do
6517 if test -z "$ac_lib"; then
6518 ac_res
="none required"
6521 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6523 if ac_fn_c_try_link
"$LINENO"; then :
6524 ac_cv_search_opendir
=$ac_res
6526 rm -f core conftest.err conftest.
$ac_objext \
6528 if ${ac_cv_search_opendir+:} false
; then :
6532 if ${ac_cv_search_opendir+:} false
; then :
6535 ac_cv_search_opendir
=no
6538 LIBS
=$ac_func_search_save_LIBS
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6541 $as_echo "$ac_cv_search_opendir" >&6; }
6542 ac_res
=$ac_cv_search_opendir
6543 if test "$ac_res" != no
; then :
6544 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6551 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6552 if ${ac_cv_header_stat_broken+:} false
; then :
6553 $as_echo_n "(cached) " >&6
6555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6556 /* end confdefs.h. */
6557 #include <sys/types.h>
6558 #include <sys/stat.h>
6560 #if defined S_ISBLK && defined S_IFDIR
6561 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6564 #if defined S_ISBLK && defined S_IFCHR
6565 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6568 #if defined S_ISLNK && defined S_IFREG
6569 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6572 #if defined S_ISSOCK && defined S_IFREG
6573 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6577 if ac_fn_c_try_compile
"$LINENO"; then :
6578 ac_cv_header_stat_broken
=no
6580 ac_cv_header_stat_broken
=yes
6582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6585 $as_echo "$ac_cv_header_stat_broken" >&6; }
6586 if test $ac_cv_header_stat_broken = yes; then
6588 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6593 $as_echo_n "checking for ANSI C header files... " >&6; }
6594 if ${ac_cv_header_stdc+:} false
; then :
6595 $as_echo_n "(cached) " >&6
6597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6598 /* end confdefs.h. */
6612 if ac_fn_c_try_compile
"$LINENO"; then :
6613 ac_cv_header_stdc
=yes
6615 ac_cv_header_stdc
=no
6617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6619 if test $ac_cv_header_stdc = yes; then
6620 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6622 /* end confdefs.h. */
6626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6627 $EGREP "memchr" >/dev
/null
2>&1; then :
6630 ac_cv_header_stdc
=no
6636 if test $ac_cv_header_stdc = yes; then
6637 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6639 /* end confdefs.h. */
6643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6644 $EGREP "free" >/dev
/null
2>&1; then :
6647 ac_cv_header_stdc
=no
6653 if test $ac_cv_header_stdc = yes; then
6654 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6655 if test "$cross_compiling" = yes; then :
6658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6659 /* end confdefs.h. */
6662 #if ((' ' & 0x0FF) == 0x020)
6663 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6664 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6666 # define ISLOWER(c) \
6667 (('a' <= (c) && (c) <= 'i') \
6668 || ('j' <= (c) && (c) <= 'r') \
6669 || ('s' <= (c) && (c) <= 'z'))
6670 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6673 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6678 for (i = 0; i < 256; i++)
6679 if (XOR (islower (i), ISLOWER (i))
6680 || toupper (i) != TOUPPER (i))
6685 if ac_fn_c_try_run
"$LINENO"; then :
6688 ac_cv_header_stdc
=no
6690 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6691 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6697 $as_echo "$ac_cv_header_stdc" >&6; }
6698 if test $ac_cv_header_stdc = yes; then
6700 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6705 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6706 if ${ac_cv_header_sys_wait_h+:} false
; then :
6707 $as_echo_n "(cached) " >&6
6709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6710 /* end confdefs.h. */
6711 #include <sys/types.h>
6712 #include <sys/wait.h>
6714 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6717 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6725 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6730 if ac_fn_c_try_compile
"$LINENO"; then :
6731 ac_cv_header_sys_wait_h
=yes
6733 ac_cv_header_sys_wait_h
=no
6735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6738 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6739 if test $ac_cv_header_sys_wait_h = yes; then
6741 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6746 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6747 if ${ac_cv_header_time+:} false
; then :
6748 $as_echo_n "(cached) " >&6
6750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6751 /* end confdefs.h. */
6752 #include <sys/types.h>
6753 #include <sys/time.h>
6759 if ((struct tm *) 0)
6765 if ac_fn_c_try_compile
"$LINENO"; then :
6766 ac_cv_header_time
=yes
6768 ac_cv_header_time
=no
6770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6773 $as_echo "$ac_cv_header_time" >&6; }
6774 if test $ac_cv_header_time = yes; then
6776 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6780 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6781 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6783 cat >>confdefs.h
<<_ACEOF
6784 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6788 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6793 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6794 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6796 cat >>confdefs.h
<<_ACEOF
6797 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6801 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6804 case " $LIBOBJS " in
6805 *" fileblocks.$ac_objext "* ) ;;
6806 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6813 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6814 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6816 cat >>confdefs.h
<<_ACEOF
6817 #define HAVE_STRUCT_STAT_ST_RDEV 1
6821 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6827 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6828 if ${ac_cv_struct_tm+:} false
; then :
6829 $as_echo_n "(cached) " >&6
6831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6832 /* end confdefs.h. */
6833 #include <sys/types.h>
6840 int *p = &tm.tm_sec;
6846 if ac_fn_c_try_compile
"$LINENO"; then :
6847 ac_cv_struct_tm
=time.h
6849 ac_cv_struct_tm
=sys
/time.h
6851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6854 $as_echo "$ac_cv_struct_tm" >&6; }
6855 if test $ac_cv_struct_tm = sys
/time.h
; then
6857 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6861 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6862 #include <$ac_cv_struct_tm>
6865 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6867 cat >>confdefs.h
<<_ACEOF
6868 #define HAVE_STRUCT_TM_TM_ZONE 1
6874 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6876 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6879 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6881 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6887 cat >>confdefs.h
<<_ACEOF
6888 #define HAVE_DECL_TZNAME $ac_have_decl
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6892 $as_echo_n "checking for tzname... " >&6; }
6893 if ${ac_cv_var_tzname+:} false
; then :
6894 $as_echo_n "(cached) " >&6
6896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6897 /* end confdefs.h. */
6899 #if !HAVE_DECL_TZNAME
6900 extern char *tzname[];
6906 return tzname[0][0];
6911 if ac_fn_c_try_link
"$LINENO"; then :
6912 ac_cv_var_tzname
=yes
6916 rm -f core conftest.err conftest.
$ac_objext \
6917 conftest
$ac_exeext conftest.
$ac_ext
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6920 $as_echo "$ac_cv_var_tzname" >&6; }
6921 if test $ac_cv_var_tzname = yes; then
6923 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6928 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6929 if test "x$ac_cv_type_off_t" = xyes
; then :
6933 cat >>confdefs.h
<<_ACEOF
6934 #define off_t long int
6939 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6940 if test "x$ac_cv_type_pid_t" = xyes
; then :
6944 cat >>confdefs.h
<<_ACEOF
6950 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6951 if test "x$ac_cv_type_size_t" = xyes
; then :
6955 cat >>confdefs.h
<<_ACEOF
6956 #define size_t unsigned int
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6962 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6963 if ${ac_cv_type_uid_t+:} false
; then :
6964 $as_echo_n "(cached) " >&6
6966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6967 /* end confdefs.h. */
6968 #include <sys/types.h>
6971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6972 $EGREP "uid_t" >/dev
/null
2>&1; then :
6973 ac_cv_type_uid_t
=yes
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6981 $as_echo "$ac_cv_type_uid_t" >&6; }
6982 if test $ac_cv_type_uid_t = no
; then
6984 $as_echo "#define uid_t int" >>confdefs.h
6987 $as_echo "#define gid_t int" >>confdefs.h
6992 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6993 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6995 cat >>confdefs.h
<<_ACEOF
6996 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7003 # Look for some functions
7004 for ac_func
in getpagesize kqueue statfs statvfs \
7005 clone kse_create rfork_thread thr_create sa_register \
7006 getcontext makecontext setcontext sigaltstack swapcontext
7008 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7009 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7010 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7011 cat >>confdefs.h
<<_ACEOF
7012 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7022 for ac_header
in $ac_header_list
7024 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7025 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7027 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7028 cat >>confdefs.h
<<_ACEOF
7029 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7043 for ac_func
in getpagesize
7045 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7046 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7047 cat >>confdefs.h
<<_ACEOF
7048 #define HAVE_GETPAGESIZE 1
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7055 $as_echo_n "checking for working mmap... " >&6; }
7056 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7057 $as_echo_n "(cached) " >&6
7059 if test "$cross_compiling" = yes; then :
7060 ac_cv_func_mmap_fixed_mapped
=no
7062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7063 /* end confdefs.h. */
7064 $ac_includes_default
7065 /* malloc might have been renamed as rpl_malloc. */
7068 /* Thanks to Mike Haertel and Jim Avera for this test.
7069 Here is a matrix of mmap possibilities:
7070 mmap private not fixed
7071 mmap private fixed at somewhere currently unmapped
7072 mmap private fixed at somewhere already mapped
7073 mmap shared not fixed
7074 mmap shared fixed at somewhere currently unmapped
7075 mmap shared fixed at somewhere already mapped
7076 For private mappings, we should verify that changes cannot be read()
7077 back from the file, nor mmap's back from the file at a different
7078 address. (There have been systems where private was not correctly
7079 implemented like the infamous i386 svr4.0, and systems where the
7080 VM page cache was not coherent with the file system buffer cache
7081 like early versions of FreeBSD and possibly contemporary NetBSD.)
7082 For shared mappings, we should conversely verify that changes get
7083 propagated back to all the places they're supposed to be.
7085 Grep wants private fixed already mapped.
7086 The main things grep needs to know about mmap are:
7087 * does it exist and is it safe to write into the mmap'd area
7088 * how to use it (BSD variants) */
7091 #include <sys/mman.h>
7093 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7097 /* This mess was copied from the GNU getpagesize.h. */
7098 #ifndef HAVE_GETPAGESIZE
7099 # ifdef _SC_PAGESIZE
7100 # define getpagesize() sysconf(_SC_PAGESIZE)
7101 # else /* no _SC_PAGESIZE */
7102 # ifdef HAVE_SYS_PARAM_H
7103 # include <sys/param.h>
7104 # ifdef EXEC_PAGESIZE
7105 # define getpagesize() EXEC_PAGESIZE
7106 # else /* no EXEC_PAGESIZE */
7108 # define getpagesize() NBPG * CLSIZE
7111 # endif /* no CLSIZE */
7112 # else /* no NBPG */
7114 # define getpagesize() NBPC
7115 # else /* no NBPC */
7117 # define getpagesize() PAGESIZE
7118 # endif /* PAGESIZE */
7119 # endif /* no NBPC */
7120 # endif /* no NBPG */
7121 # endif /* no EXEC_PAGESIZE */
7122 # else /* no HAVE_SYS_PARAM_H */
7123 # define getpagesize() 8192 /* punt totally */
7124 # endif /* no HAVE_SYS_PARAM_H */
7125 # endif /* no _SC_PAGESIZE */
7127 #endif /* no HAVE_GETPAGESIZE */
7132 char *data, *data2, *data3;
7137 pagesize = getpagesize ();
7139 /* First, make a file with some known garbage in it. */
7140 data = (char *) malloc (pagesize);
7143 for (i = 0; i < pagesize; ++i)
7144 *(data + i) = rand ();
7146 fd = creat ("conftest.mmap", 0600);
7149 if (write (fd, data, pagesize) != pagesize)
7153 /* Next, check that the tail of a page is zero-filled. File must have
7154 non-zero length, otherwise we risk SIGBUS for entire page. */
7155 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7159 if (write (fd2, cdata2, 1) != 1)
7161 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7162 if (data2 == MAP_FAILED)
7164 for (i = 0; i < pagesize; ++i)
7168 if (munmap (data2, pagesize))
7171 /* Next, try to mmap the file at a fixed address which already has
7172 something else allocated at it. If we can, also make sure that
7173 we see the same garbage. */
7174 fd = open ("conftest.mmap", O_RDWR);
7177 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7178 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7180 for (i = 0; i < pagesize; ++i)
7181 if (*(data + i) != *(data2 + i))
7184 /* Finally, make sure that changes to the mapped area do not
7185 percolate back to the file as seen by read(). (This is a bug on
7186 some variants of i386 svr4.0.) */
7187 for (i = 0; i < pagesize; ++i)
7188 *(data2 + i) = *(data2 + i) + 1;
7189 data3 = (char *) malloc (pagesize);
7192 if (read (fd, data3, pagesize) != pagesize)
7194 for (i = 0; i < pagesize; ++i)
7195 if (*(data + i) != *(data3 + i))
7201 if ac_fn_c_try_run
"$LINENO"; then :
7202 ac_cv_func_mmap_fixed_mapped
=yes
7204 ac_cv_func_mmap_fixed_mapped
=no
7206 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7207 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7212 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7213 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7215 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7218 rm -f conftest.mmap conftest.txt
7223 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7224 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7225 aros_config_ldflags
=""
7227 aros_shared_default
=yes
7229 aros_shared_cflags
="-fPIC"
7230 aros_shared_aflags
=""
7231 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7232 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7234 aros_kernel_ar_flags
="cr"
7235 aros_target_ar_flags
="cr"
7236 aros_target_nm_flags
="-C -ul"
7237 aros_target_strip_flags
="--strip-unneeded -R.comment"
7242 aros_target_genmap
="-Wl,-Map -Xlinker"
7244 # Native flavour stuff
7245 aros_serial_debug
="0"
7247 # Palm native flavour stuff
7248 aros_palm_debug_hack
="0"
7250 # Unix flavour stuff
7251 aros_nesting_supervisor
="0"
7253 # Collect-aros stuff: "-ius" to ignore undefined symbols
7254 ignore_undefined_symbols
=""
7256 # Check for X11 by default
7259 #-----------------------------------------------------------------------------
7262 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7263 # it switched on by default, and we use the host compiler, so it compiles AROS
7264 # code with this enabled resulting in link failures as we don't have support
7267 # We use two methods to disable it. For the host compiler (used to compile
7268 # some hosted modules), we test to see if the compiler supports stack
7269 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7270 # work on all platforms.
7272 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7273 # (this is done unconditionally, as it should have no effect on compilers
7274 # without the stack protection feature). This may be specific to the way that
7275 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7276 # strong enough to disable it in a generic way though, so we'll live with it
7277 # until another vendor ships GCC with it enabled in a different way, and deal
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7282 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7283 save_cflags
="$CFLAGS"
7284 CFLAGS
="$CFLAGS -fno-stack-protector"
7285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7286 /* end confdefs.h. */
7296 if ac_fn_c_try_compile
"$LINENO"; then :
7297 use_no_stack_protector
="yes"
7299 use_no_stack_protector
="no"
7301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7303 $as_echo "$use_no_stack_protector" >&6; }
7304 if test "x-$use_no_stack_protector" = "x-yes" ; then
7305 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7307 CFLAGS
="$save_cflags"
7309 #-----------------------------------------------------------------------------
7311 # Disable pointer-signedness warnings if the compiler recognises the option
7312 # (this only works for the host compiler at the moment)
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7315 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7316 save_cflags
="$CFLAGS"
7317 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7319 /* end confdefs.h. */
7329 if ac_fn_c_try_compile
"$LINENO"; then :
7330 use_no_sign_warning
="yes"
7332 use_no_sign_warning
="no"
7334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7336 $as_echo "$use_no_sign_warning" >&6; }
7337 if test "x-$use_no_sign_warning" = "x-yes" ; then
7338 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7340 CFLAGS
="$save_cflags"
7342 #-----------------------------------------------------------------------------
7344 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7347 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7348 save_cflags
="$CFLAGS"
7349 CFLAGS
="$CFLAGS -fgnu89-inline"
7350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7351 /* end confdefs.h. */
7361 if ac_fn_c_try_compile
"$LINENO"; then :
7362 use_gnu89_inline
="yes"
7364 use_gnu89_inline
="no"
7366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7368 $as_echo "$use_gnu89_inline" >&6; }
7369 if test "x-$use_gnu89_inline" = "x-yes" ; then
7370 gnu89_inline
="-fgnu89-inline"
7372 CFLAGS
="$save_cflags"
7374 #-----------------------------------------------------------------------------
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7377 $as_echo_n "checking for type of build... " >&6; }
7378 # Check whether --enable-build_type was given.
7379 if test "${enable_build_type+set}" = set; then :
7380 enableval
=$enable_build_type; build_type
=$enableval
7382 build_type
="personal"
7386 if test "$build_type" = "nightly"; then
7387 build_type_string
="NIGHTLY"
7388 elif test "$build_type" = "snapshot"; then
7389 build_type_string
="SNAPSHOT"
7390 elif test "$build_type" = "milestone"; then
7391 build_type_string
="MILESTONE"
7392 elif test "$build_type" = "release"; then
7393 build_type_string
="RELEASE"
7395 build_type_string
="PERSONAL"
7396 build_type
="personal"
7399 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7402 $as_echo "$build_type" >&6; }
7404 #-----------------------------------------------------------------------------
7405 all_debug_types
="messages stack modules mungwall symbols"
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7408 $as_echo_n "checking which debug types to enable... " >&6; }
7409 # Check whether --enable-debug was given.
7410 if test "${enable_debug+set}" = set; then :
7411 enableval
=$enable_debug; debug
="$enableval"
7417 if test "$debug" = "" -o "$debug" = "no"; then
7419 elif test "$debug" = "yes"; then
7423 if test "$debug" = "all" ; then
7424 debug
="messages stack modules symbols"
7425 for d
in $all_debug_types; do
7426 export aros_
${d}_debug
="1"
7429 for d
in $all_debug_types; do
7430 export aros_
${d}_debug
="0"
7434 if test "$debug" != "none"; then
7435 debug
=`echo $debug | sed s/,/\ /g`
7438 for d2
in $all_debug_types; do
7439 if test "$d2" = "$d"; then
7444 if test "$found" = "0"; then
7445 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7447 export aros_
${d}_debug
="1"
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7452 $as_echo "$debug" >&6; }
7454 if test "$aros_messages_debug" = "1"; then
7455 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7457 aros_messages_debug
=""
7459 if test "$aros_symbols_debug" = "1"; then
7460 aros_symbols_debug
="-g"
7462 aros_symbols_debug
=""
7465 # These are the flags to pass when compiling debugged programs
7466 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7467 aros_debug_aflags
=""
7468 aros_debug_ldflags
="$aros_symbols_debug"
7470 #-----------------------------------------------------------------------------
7471 # Checking for distcc and ccache.
7473 # Always apply the transforms in this particular order. Basically you should
7474 # always run 'ccache distcc compiler' in that order for the best performance.
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7477 $as_echo_n "checking whether to enable distcc... " >&6; }
7478 # Check whether --enable-distcc was given.
7479 if test "${enable_distcc+set}" = set; then :
7480 enableval
=$enable_distcc; distcc
="$enableval"
7485 if test "$distcc" != "" -a "$distcc" != "no"; then
7486 # AC_CHECK_PROG will print out the result in this case
7487 # Extract the first word of "distcc", so it can be a program name with args.
7488 set dummy distcc
; ac_word
=$2
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7490 $as_echo_n "checking for $ac_word... " >&6; }
7491 if ${ac_cv_path_DISTCC+:} false
; then :
7492 $as_echo_n "(cached) " >&6
7496 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7503 test -z "$as_dir" && as_dir
=.
7504 for ac_exec_ext
in '' $ac_executable_extensions; do
7505 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7506 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7514 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7518 DISTCC
=$ac_cv_path_DISTCC
7519 if test -n "$DISTCC"; then
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7521 $as_echo "$DISTCC" >&6; }
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7524 $as_echo "no" >&6; }
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7530 $as_echo "no" >&6; }
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7534 $as_echo_n "checking whether to enable ccache... " >&6; }
7535 # Check whether --enable-ccache was given.
7536 if test "${enable_ccache+set}" = set; then :
7537 enableval
=$enable_ccache; ccache
="$enableval"
7542 if test "$ccache" != "" -a "$ccache" != "no"; then
7543 # AC_CHECK_PROG will print out the result in this case
7544 # Extract the first word of "ccache", so it can be a program name with args.
7545 set dummy ccache
; ac_word
=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547 $as_echo_n "checking for $ac_word... " >&6; }
7548 if ${ac_cv_prog_CCACHE+:} false
; then :
7549 $as_echo_n "(cached) " >&6
7551 if test -n "$CCACHE"; then
7552 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7558 test -z "$as_dir" && as_dir
=.
7559 for ac_exec_ext
in '' $ac_executable_extensions; do
7560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7561 ac_cv_prog_CCACHE
="ccache"
7562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7571 CCACHE
=$ac_cv_prog_CCACHE
7572 if test -n "$CCACHE"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7574 $as_echo "$CCACHE" >&6; }
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7583 $as_echo "no" >&6; }
7586 #-----------------------------------------------------------------------------
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7588 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7590 # Check whether --with-kernel-gcc-version was given.
7591 if test "${with_kernel_gcc_version+set}" = set; then :
7592 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7594 kernel_tool_version
=""
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7598 $as_echo "$kernel_tool_version" >&6; }
7600 #-----------------------------------------------------------------------------
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7602 $as_echo_n "checking what optimization flags to use... " >&6; }
7604 # Check whether --with-optimization was given.
7605 if test "${with_optimization+set}" = set; then :
7606 withval
=$with_optimization; optimization
="$withval"
7608 optimization
="unknown"
7611 if test "$optimization" = "unknown"; then
7612 if test "$debug" != "none"; then
7618 aros_optimization_cflags
="$optimization"
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7620 $as_echo "$optimization" >&6; }
7622 #-----------------------------------------------------------------------------
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7624 $as_echo_n "checking what paranoia flags to use... " >&6; }
7626 # Check whether --with-paranoia was given.
7627 if test "${with_paranoia+set}" = set; then :
7628 withval
=$with_paranoia; paranoia_flags
="$withval"
7630 paranoia_flags
="default"
7633 if test "$paranoia_flags" = "default"; then
7635 else if test "$paranoia_flags" = "yes"; then
7636 paranoia_flags
="-Wall -Werror"
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7639 $as_echo "$paranoia_flags" >&6; }
7640 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7642 #-----------------------------------------------------------------------------
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7644 $as_echo_n "checking what target variant to enable... " >&6; }
7645 # Check whether --enable-target_variant was given.
7646 if test "${enable_target_variant+set}" = set; then :
7647 enableval
=$enable_target_variant; target_variant
=$enableval
7652 if test "$target_variant" = ""; then
7653 aros_target_variant
=""
7654 aros_target_suffix
=""
7657 aros_target_variant
="$target_variant"
7658 aros_target_suffix
="-$target_variant"
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7661 $as_echo "$enableval" >&6; }
7663 #-----------------------------------------------------------------------------
7664 # Target-specific defaults. You can override then on a per-target basis.
7666 # Bootloader name. Currently used by PC target.
7667 target_bootloader
="none"
7670 #-----------------------------------------------------------------------------
7671 # Additional options for some specific targets
7673 case "$aros_target_variant" in
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7676 $as_echo_n "checking XCode path... " >&6; }
7678 # Check whether --with-xcode was given.
7679 if test "${with_xcode+set}" = set; then :
7680 withval
=$with_xcode; aros_xcode_path
="$withval"
7682 aros_xcode_path
="/Developer"
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7686 $as_echo "$aros_xcode_path" >&6; }
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7689 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7691 # Check whether --with-sdk-version was given.
7692 if test "${with_sdk_version+set}" = set; then :
7693 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7695 aros_sdk_version
="4.1"
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7699 $as_echo "$aros_sdk_version" >&6; }
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7705 $as_echo_n "checking Android SDK path... " >&6; }
7707 # Check whether --with-sdk was given.
7708 if test "${with_sdk+set}" = set; then :
7709 withval
=$with_sdk; aros_android_sdk
="$withval"
7711 aros_android_sdk
=$default_android_sdk
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7715 $as_echo "$aros_android_sdk" >&6; }
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7718 $as_echo_n "checking Android NDK path... " >&6; }
7720 # Check whether --with-ndk was given.
7721 if test "${with_ndk+set}" = set; then :
7722 withval
=$with_ndk; aros_android_ndk
="$withval"
7724 aros_android_ndk
="none"
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7728 $as_echo "$aros_android_ndk" >&6; }
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7731 $as_echo_n "checking what Android SDK version to use... " >&6; }
7733 # Check whether --with-sdk-version was given.
7734 if test "${with_sdk_version+set}" = set; then :
7735 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7737 aros_sdk_version
="12"
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7741 $as_echo "$aros_sdk_version" >&6; }
7743 aros_android_level
=android-
$aros_sdk_version
7744 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7745 echo "Platform $aros_android_level is not installed in your SDK"
7746 echo "Use --with-sdk-version=<API level number> to select another platform version"
7747 echo "You can check what plaform versions are installed in your SDK"
7748 echo "by examining contents of $aros_android_sdk/platforms directory"
7749 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7752 export PATH
="$aros_android_sdk/tools:$PATH"
7753 # Extract the first word of "$android_tool", so it can be a program name with args.
7754 set dummy
$android_tool; ac_word
=$2
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7756 $as_echo_n "checking for $ac_word... " >&6; }
7757 if ${ac_cv_path_android_tool+:} false
; then :
7758 $as_echo_n "(cached) " >&6
7760 case $android_tool in
7762 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7769 test -z "$as_dir" && as_dir
=.
7770 for ac_exec_ext
in '' $ac_executable_extensions; do
7771 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7772 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7783 android_tool
=$ac_cv_path_android_tool
7784 if test -n "$android_tool"; then
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7786 $as_echo "$android_tool" >&6; }
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7789 $as_echo "no" >&6; }
7793 if test "$android_tool" = ""; then
7794 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7797 if test "$aros_android_ndk" != "none"; then
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7799 $as_echo_n "checking what Android NDK version to use... " >&6; }
7801 # Check whether --with-ndk-version was given.
7802 if test "${with_ndk_version+set}" = set; then :
7803 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7805 aros_ndk_version
="9"
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7809 $as_echo "$aros_ndk_version" >&6; }
7812 # Extract the first word of "ant", so it can be a program name with args.
7813 set dummy ant
; ac_word
=$2
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7815 $as_echo_n "checking for $ac_word... " >&6; }
7816 if ${ac_cv_path_ant+:} false
; then :
7817 $as_echo_n "(cached) " >&6
7821 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7828 test -z "$as_dir" && as_dir
=.
7829 for ac_exec_ext
in '' $ac_executable_extensions; do
7830 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7831 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7843 if test -n "$ant"; then
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7845 $as_echo "$ant" >&6; }
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7848 $as_echo "no" >&6; }
7852 if test "$ant" = ""; then
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7854 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
7858 $as_echo_n "checking Build debug or release apk... " >&6; }
7860 # Check whether --with-apk-version was given.
7861 if test "${with_apk_version+set}" = set; then :
7862 withval
=$with_apk_version; aros_android_antapk
=$withval
7864 aros_android_antapk
=release
7867 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
7868 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
7871 $as_echo "$aros_android_antapk" >&6; }
7873 if test "$host_os" = "mingw32"; then
7874 android_tool
="cmd //c $android_tool"
7882 #-----------------------------------------------------------------------------
7883 # External toolchains
7884 kernel_tool_prefix
="none"
7885 aros_tool_prefix
="none"
7886 elf_tool_prefix
="${target_cpu}-elf-"
7888 # This is the target configuration switch.
7889 case "$target_os" in
7891 aros_target_arch
="linux"
7892 aros_target_family
="unix"
7893 case "$target_cpu" in
7895 aros_target_cpu
="m68k"
7896 aros_object_format
="m68kelf"
7897 aros_flavour
="emulcompat"
7898 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7899 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7900 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7901 gcc_target_cpu
="mc68000"
7904 aros_target_cpu
="i386"
7905 aros_object_format
="elf_i386"
7906 aros_flavour
="emulation"
7907 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7908 aros_kernel_ldflags
="-Wl,-melf_i386"
7909 aros_nominal_depth
=8
7910 gcc_target_cpu
="i386"
7911 pci_hidd_target
="hidd-pci-linux"
7912 android_tool_dir_prefix
="x86"
7913 android_tool_prefix
="i686-android-linux"
7914 android_ndk_arch
="x86"
7917 aros_target_cpu
="x86_64"
7918 aros_object_format
="elf_x86_64"
7919 aros_flavour
="emulation"
7920 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7921 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7922 aros_nominal_depth
=8
7923 pci_hidd_target
="hidd-pci-linux"
7926 aros_target_cpu
="ppc"
7927 aros_object_format
="elf32ppc"
7928 aros_flavour
="emulation"
7929 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7930 aros_nominal_depth
=8
7931 gcc_target_cpu
="ppc"
7934 # Same as powerpc, but I need this for the nightly build to work again.
7935 # Actually, the nightly should be made working with powerpc target.
7936 # That just was too much work for the moment, another week or two.
7938 aros_target_cpu
="ppc"
7939 aros_object_format
="elf32ppc"
7940 aros_flavour
="emulation"
7941 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7942 aros_nominal_depth
=8
7943 gcc_target_cpu
="ppc"
7946 aros_target_cpu
="arm"
7948 aros_object_format
="armelf_aros"
7949 aros_flavour
="emulation"
7950 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7951 gcc_target_cpu
="arm"
7952 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7953 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7954 aros_arch_libs
="-laeabi"
7955 gcc_default_float_abi
="hard"
7956 android_tool_dir_prefix
="arm-linux-androideabi"
7957 android_tool_prefix
="arm-linux-androideabi"
7958 android_ndk_arch
="arm"
7959 kernel_tool_prefix
="arm-linux-gnueabihf-"
7962 aros_target_cpu
="arm"
7963 aros_object_format
="armelf_aros"
7964 aros_flavour
="emulation"
7965 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7966 gcc_target_cpu
="arm"
7967 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7968 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7969 aros_arch_libs
="-laeabi"
7970 android_tool_dir_prefix
="arm-linux-androideabi"
7971 android_tool_prefix
="arm-linux-androideabi"
7972 android_ndk_arch
="arm"
7973 kernel_tool_prefix
="arm-linux-gnueabi-"
7976 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7979 case "$aros_target_variant" in
7982 if test "$android_ndk_arch" = ""; then
7983 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7986 aros_nominal_width
=320
7987 aros_nominal_height
=480
7988 if test "$aros_android_ndk" = "none"; then
7989 aros_kernel_cflags
="-mandroid"
7990 aros_kernel_ldflags
="-mandroid"
7993 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
7994 kernel_tool_version
=""
7995 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7996 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7997 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7998 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7999 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
8002 unixgfx_hidd_target
=kernel-hidd-androidgfx
8003 # Disable implicit PIC mode
8004 aros_target_cflags
="$aros_target_cflags -fno-pic"
8005 kernel_tool_prefix
="$android_tool_prefix-"
8011 aros_target_arch
="pc"
8012 aros_shared_default
="no"
8013 target_bootloader
="grub2"
8014 case "$target_cpu" in
8016 aros_target_cpu
="i386"
8019 if test "$aros_object_format" = "" ; then
8020 aros_object_format
="elf_i386"
8022 aros_flavour
="standalone"
8023 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8024 aros_kernel_ldflags
="-Wl,-melf_i386"
8025 aros_nominal_width
=640
8026 aros_nominal_height
=480
8027 gcc_target_cpu
="i386"
8030 aros_target_cpu
="x86_64"
8032 if test "$aros_object_format" = "" ; then
8033 aros_object_format
="elf_x86_64"
8035 aros_flavour
="standalone"
8036 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8037 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
8038 aros_kernel_ldflags
=""
8039 aros_nominal_width
=640
8040 aros_nominal_height
=480
8041 case "$aros_target_variant" in
8043 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8048 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8054 aros_target_arch
="prep"
8055 aros_shared_default
="no"
8056 aros_target_cpu
="ppc"
8057 aros_object_format
="elf32ppc"
8058 aros_flavour
="ppcnative"
8059 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8060 aros_kernel_ldflags
=""
8061 aros_nominal_width
=640
8062 aros_nominal_height
=480
8063 gcc_target_cpu
="ppc"
8067 aros_target_arch
="freebsd"
8068 aros_target_family
="unix"
8069 aros_target_cpu
="i386"
8070 aros_flavour
="emulation"
8071 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8072 gcc_target_cpu
="i386"
8074 aros_target_strip_flags
="-x"
8078 aros_target_arch
="darwin"
8079 aros_target_family
="unix"
8080 aros_flavour
="emulation"
8081 case "$target_cpu" in
8083 aros_ios_platform
="iPhoneSimulator"
8084 aros_target_cpu
="i386"
8085 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8086 aros_kernel_ldflags
=""
8087 aros_macosx_version
="10.4"
8088 aros_nominal_depth
=8
8089 gcc_target_cpu
="i386"
8090 aros_object_format
="elf_i386"
8091 aros_kernel_ar_flags
="-cr"
8092 aros_target_strip_flags
="-x"
8093 kernel_tool_flags
="-m32"
8096 aros_target_cpu
="x86_64"
8097 aros_object_format
="elf_x86_64"
8098 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8099 aros_macosx_version
="10.6"
8100 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8101 aros_kernel_cflags
="-m64"
8102 aros_kernel_ldflags
="-m64"
8103 aros_target_cflags
="-mcmodel=large"
8104 aros_nominal_depth
=8
8106 aros_kernel_ar_flags
="-cr"
8109 aros_kernel_ranlib
="ranlib"
8111 aros_kernel_strip
="strip"
8112 kernel_tool_prefix
="i686-apple-darwin10-"
8115 aros_target_cpu
="ppc"
8116 aros_object_format
="elf32ppc"
8117 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8118 aros_kernel_ldflags
=""
8119 aros_macosx_version
="10.0"
8120 aros_nominal_depth
=8
8121 gcc_target_cpu
="ppc"
8123 aros_kernel_ar_flags
="-cr"
8124 aros_kernel_ld
="ld -arch ppc"
8125 aros_kernel_as
="as -arch ppc"
8126 aros_kernel_ranlib
="ranlib -arch ppc"
8127 aros_kernel_nm
="nm -arch ppc"
8128 aros_kernel_strip
="strip -arch ppc"
8129 kernel_tool_prefix
="powerpc-apple-darwin10-"
8132 aros_ios_platform
="iPhoneOS"
8133 aros_target_cpu
="arm"
8134 aros_object_format
="armelf_aros"
8135 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8136 aros_arch_libs
="-laeabi"
8137 aros_nominal_depth
=8
8138 gcc_target_cpu
="arm"
8140 aros_kernel_ar_flags
="-cr"
8141 aros_kernel_ld
="ld -arch arm"
8142 aros_kernel_ranlib
="ranlib -arch arm"
8143 kernel_tool_prefix
="arm-apple-darwin10-"
8144 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8147 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8150 case "$aros_target_variant" in
8152 aros_ios_version
="3.0"
8153 aros_nominal_width
=320
8154 aros_nominal_height
=480
8155 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8156 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8157 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8159 # This is here because it may depend on iOS or SDK version
8160 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8161 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8162 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8165 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8166 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8172 aros_target_arch
="dragonfly"
8173 aros_target_family
="unix"
8174 aros_flavour
="emulation"
8175 case "$target_cpu" in
8177 aros_target_cpu
="i386"
8178 aros_object_format
="elf_i386"
8179 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8182 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8183 aros_target_cpu
="x86_64"
8184 aros_object_format
="elf_x86_64"
8185 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8188 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8194 aros_target_arch
="netbsd"
8195 aros_target_family
="unix"
8196 case "$target_cpu" in
8198 aros_target_cpu
="m68k"
8199 aros_object_format
="m68kelf"
8200 aros_flavour
="emulcompat"
8201 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8202 gcc_target_cpu
="mc68000"
8205 aros_target_cpu
="i386"
8206 aros_object_format
="elf_i386"
8207 aros_flavour
="emulation"
8208 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8209 aros_nominal_depth
=8
8210 gcc_target_cpu
="i386"
8213 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8216 aros_target_genmap
="-Wl,-M -Xlinker >"
8217 aros_flavour
="emulation"
8218 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8222 aros_target_arch
="openbsd"
8223 aros_target_family
="unix"
8224 case "$target_cpu" in
8226 aros_target_cpu
="i386"
8227 aros_object_format
="elf_i386"
8228 aros_flavour
="emulation"
8229 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8230 gcc_target_cpu
="i386"
8233 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8236 aros_target_genmap
="-Wl,-M -Xlinker >"
8237 aros_target_nm_flags
="-u"
8238 aros_flavour
="emulation"
8242 aros_target_arch
="solaris"
8243 aros_target_family
="unix"
8244 case "$target_cpu" in
8246 aros_target_cpu
="i386"
8247 aros_object_format
="elf_i386"
8248 aros_flavour
="emulation"
8249 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8250 aros_nominal_depth
=8
8251 gcc_target_cpu
="i386"
8254 aros_target_cpu
="sparc"
8255 aros_object_format
="elf_sparc"
8256 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8257 gcc_target_cpu
="sparc"
8260 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8263 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8264 aros_flavour
="emulation"
8268 aros_target_arch
="morphos"
8269 aros_shared_default
="no"
8270 aros_target_cpu
="ppc"
8271 aros_object_format
="elf_ppc"
8272 aros_flavour
="nativecompat"
8273 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8274 gcc_target_cpu
="ppc"
8278 aros_target_arch
="sam440"
8279 aros_shared_default
="no"
8280 aros_target_cpu
="ppc"
8281 aros_object_format
="elf32ppc"
8282 aros_flavour
="ppcnative"
8283 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8284 aros_kernel_ldflags
=""
8285 aros_nominal_width
=1024
8286 aros_nominal_height
=768
8287 aros_nominal_depth
=24
8288 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8289 gcc_target_cpu
="powerpc"
8293 aros_target_arch
="efika"
8294 aros_shared_default
="no"
8295 aros_target_cpu
="arm"
8296 aros_object_format
="armelf_aros"
8297 aros_flavour
="standalone"
8298 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8299 aros_kernel_ldflags
=""
8300 aros_nominal_width
=1024
8301 aros_nominal_height
=600
8302 aros_arch_libs
="-laeabi"
8303 gcc_default_cpu
="armv7-a"
8304 gcc_default_fpu
="vfpv3"
8305 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8306 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8307 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8308 case "$target_cpu" in
8310 gcc_default_float_abi
="hard"
8315 gcc_default_float_abi
="softfp"
8318 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8324 aros_target_arch
="chrp"
8325 aros_shared_default
="no"
8326 aros_target_cpu
="ppc"
8327 aros_object_format
="elf32ppc"
8328 aros_flavour
="ppcnative"
8329 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8330 aros_kernel_ldflags
=""
8331 aros_nominal_width
=640
8332 aros_nominal_height
=480
8333 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8334 gcc_target_cpu
="powerpc"
8335 case "$aros_target_variant" in
8337 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8343 aros_flavour
="standalone"
8344 aros_target_arch
="raspi"
8345 aros_target_cpu
="arm"
8346 aros_object_format
="armelf_aros"
8347 aros_shared_default
="no"
8348 aros_arch_libs
="-laeabi"
8350 gcc_default_cpu
="armv6zk"
8351 gcc_default_cpu_tune
="arm1176jzf-s"
8353 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8354 aros_config_cflags
="$aros_config_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8355 aros_config_aflags
="$aros_config_aflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8356 aros_kernel_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8357 aros_target_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8358 case "$aros_target_variant" in
8360 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8366 aros_flavour
="standalone"
8367 aros_target_arch
="stm32f7_discovery"
8368 aros_target_cpu
="arm"
8369 aros_object_format
="armelf_aros"
8370 aros_shared_default
="no"
8371 aros_arch_libs
="-laeabi"
8373 # stm32f7 has DSP opcode support
8374 gcc_default_cpu
="armv7e-m"
8375 # gcc_default_cpu="armv7-m"
8376 gcc_default_cpu_tune
="cortex-m7"
8377 gcc_default_fpu
="fpv4-sp-d16"
8378 # GCC does not recognize fpv5-sp-d16 which should be the correct one to use, or not...
8379 # gcc_default_fpu="fpv5-sp-d16"
8380 gcc_default_float_abi
="hard"
8381 gcc_default_mode
="thumb"
8383 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
8384 aros_config_cflags
="$aros_config_cflags -mthumb"
8385 aros_config_aflags
="$aros_config_aflags -mthumb"
8386 aros_kernel_cflags
="$aros_kernel_cflags -mthumb"
8387 aros_target_cflags
="$aros_kernel_cflags -mthumb"
8391 aros_target_arch
="amiga"
8392 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8393 aros_shared_default
="no"
8395 case "$target_cpu" in
8397 # Check whether --enable-amigaos_compliance was given.
8398 if test "${enable_amigaos_compliance+set}" = set; then :
8399 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8403 aros_target_cpu
="m68k"
8404 aros_object_format
="m68kelf"
8405 aros_flavour
="standcompat"
8406 gcc_target_cpu
="m68000"
8407 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -DNOLIBINLINE"
8408 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8409 aros_config_aflags
="$aros_config_aflags"
8410 aros_target_strip_flags
="-R.comment --strip-debug"
8411 aros_nominal_width
=640
8412 aros_nominal_height
=256
8413 aros_nominal_depth
=2
8417 aros_flavour
="native"
8418 gcc_target_cpu
="ppc"
8421 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8427 aros_target_arch
="mingw32"
8428 aros_shared_default
="no"
8429 aros_flavour
="emulation"
8430 aros_shared_cflags
=""
8431 need_crosstools
="yes"
8434 case "$target_cpu" in
8436 aros_target_cpu
="i386"
8437 aros_object_format
="elf_i386"
8438 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8439 aros_nominal_depth
=8
8440 gcc_target_cpu
="i386"
8442 kernel_tool_prefix
="i386-mingw32-"
8445 aros_target_cpu
="x86_64"
8446 aros_object_format
="elf_x86_64"
8447 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8448 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8449 aros_nominal_depth
=8
8450 kernel_tool_prefix
="x86_64-w64-mingw32-"
8453 aros_target_cpu
="arm"
8454 aros_object_format
="armelf_aros"
8455 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8456 aros_arch_libs
="-laeabi"
8457 aros_nominal_depth
=8
8458 gcc_target_cpu
="arm"
8459 gcc_default_float_abi
="soft"
8460 kernel_tool_prefix
="arm-mingw32ce-"
8461 aros_nominal_width
=160
8462 aros_nominal_height
=160
8465 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8468 if test $host_os = "cygwin"; then
8469 aros_kernel_cflags
="-mno-cygwin"
8473 aros_target_arch
="pp"
8474 aros_shared_default
="no"
8475 case "$target_cpu" in
8477 aros_target_cpu
="m68k"
8478 aros_object_format
="m68kelf"
8479 aros_flavour
="palmnative"
8480 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8481 aros_nominal_width
=160
8482 aros_nominal_height
=160
8483 aros_nominal_depth
=1
8484 aros_target_ar_flags
="cru"
8485 aros_compiler_libs
="-lgcc1"
8486 aros_shared_default
=no
8487 aros_shared_cflags
="-fpic"
8488 aros_shared_aflags
=""
8489 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8490 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8491 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8492 aros_debug_aflags
=""
8493 aros_debug_ldflags
="$aros_symbols_debug"
8494 aros_mungwall_debug
="0"
8495 aros_modules_debug
="0"
8496 gcc_target_cpu
="mc68000"
8497 ignore_undefined_symbols
="-ius"
8500 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8506 aros_target_arch
="mac"
8507 aros_shared_default
="no"
8508 case "$target_cpu" in
8510 aros_target_cpu
="m68k"
8511 aros_object_format
="m68kelf"
8512 aros_flavour
="mac68knative"
8513 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8514 aros_nominal_width
=512
8515 aros_nominal_height
=384
8516 aros_nominal_depth
=8
8517 aros_target_ar_flags
="cru"
8518 aros_compiler_libs
="-lgcc1"
8519 aros_shared_default
=no
8520 aros_shared_cflags
="-fpic"
8521 aros_shared_aflags
=""
8522 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8523 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8524 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8525 aros_debug_aflags
=""
8526 aros_debug_ldflags
="$aros_symbols_debug"
8527 aros_mungwall_debug
="0"
8528 aros_modules_debug
="0"
8529 gcc_target_cpu
="mc68000"
8530 ignore_undefined_symbols
="-ius"
8533 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8539 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8543 #-----------------------------------------------------------------------------
8544 crosstools_guess
="yes"
8545 aros_target_toolchain
="no"
8546 aros_config_sysroot
=""
8547 aros_kernel_sysroot
=""
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8550 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8552 # Check whether --with-kernel-toolchain-prefix was given.
8553 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8554 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8558 $as_echo "$kernel_tool_prefix" >&6; }
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8561 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8563 # Check whether --with-elf-toolchain-prefix was given.
8564 if test "${with_elf_toolchain_prefix+set}" = set; then :
8565 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8566 crosstools_guess
="no"
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8570 $as_echo "$elf_tool_prefix" >&6; }
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8573 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8575 # Check whether --with-aros-toolchain was given.
8576 if test "${with_aros_toolchain+set}" = set; then :
8577 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8578 crosstools_guess
="no"
8581 if test "$aros_tool_prefix" = "yes" ; then
8582 aros_tool_prefix
=$aros_target_cpu-aros-
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8585 $as_echo "$aros_tool_prefix" >&6; }
8587 #-----------------------------------------------------------------------------
8588 # Checking if we should build crosstools..
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8590 $as_echo_n "checking whether to build crosstools... " >&6; }
8591 # Check whether --enable-crosstools was given.
8592 if test "${enable_crosstools+set}" = set; then :
8593 enableval
=$enable_crosstools; crosstools
="$enableval"
8595 crosstools
="$crosstools_guess"
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8599 $as_echo "$crosstools" >&6; }
8601 if test "${crosstools}" = "yes"; then
8602 if test "${crosstools_guess}" = "no"; then
8603 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8607 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
8608 aros_target_toolchain
="yes"
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8612 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8614 # Check whether --with-aros-toolchain-install was given.
8615 if test "${with_aros_toolchain_install+set}" = set; then :
8616 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8619 if test "x$aros_toolchain_install" = "x"; then
8620 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8622 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8623 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8624 if test "$crosstools_guess" = "no" ; then
8625 aros_config_sysroot
="--sysroot $AROS_BUILDDIR_UNIX/bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development"
8627 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
8628 aros_kernel_sysroot
= $aros_config_sysroot
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8633 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8635 #-----------------------------------------------------------------------------
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
8637 $as_echo_n "checking what specific target binutils version to use... " >&6; }
8639 # Check whether --with-binutils-version was given.
8640 if test "${with_binutils_version+set}" = set; then :
8641 withval
=$with_binutils_version; use_binutils_version
="$withval"
8643 use_binutils_version
=""
8646 if test "$use_binutils_version" = ""; then
8647 target_binutils_version
="$default_binutils_version"
8649 target_binutils_version
="$use_binutils_version"
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
8652 $as_echo "$target_binutils_version" >&6; }
8655 # Helper to identify gcc version
8658 #-----------------------------------------------------------------------------
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
8660 $as_echo_n "checking what specific target gcc version to use... " >&6; }
8662 # Check whether --with-gcc-version was given.
8663 if test "${with_gcc_version+set}" = set; then :
8664 withval
=$with_gcc_version; use_gcc_version
="$withval"
8669 if test "$use_gcc_version" = ""; then
8670 if test "${crosstools}" = "no"; then
8671 if test "x$aros_toolchain_install" != "x"; then
8673 target_gcc_version
=""
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
8675 $as_echo_n "checking gcc version... " >&6; }
8676 if ${ax_cv_gcc_version+:} false
; then :
8677 $as_echo_n "(cached) " >&6
8680 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}cpp -dumpversion`"
8681 if test "x$ax_cv_gcc_version" = "x"; then :
8683 ax_cv_gcc_version
=""
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
8689 $as_echo "$ax_cv_gcc_version" >&6; }
8690 target_gcc_version
=$ax_cv_gcc_version
8695 if test "$use_gcc_version" = ""; then
8696 target_gcc_version
="$default_gcc_version"
8699 target_gcc_version
="$use_gcc_version"
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
8702 $as_echo "$target_gcc_version" >&6; }
8704 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
8705 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
8706 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
8708 gcc_fix_bitfields
="false"
8709 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
8710 gcc_fix_bitfields
="true"
8712 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
8713 if test "$GCC_VERSION_MINOR" -gt "6" ; then
8714 gcc_fix_bitfields
="true"
8719 if test "$gcc_fix_bitfields" = "true" ; then
8720 case "$aros_target_cpu" in
8722 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
8723 aros_target_cflags
="$aros_target_cflags -mno-ms-bitfields"
8726 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
8727 aros_target_cflags
="$aros_target_cflags -mno-ms-bitfields"
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
8733 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
8734 # Check whether --enable-objc was given.
8735 if test "${enable_objc+set}" = set; then :
8736 enableval
=$enable_objc; objc
="$enableval"
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
8742 $as_echo "$objc" >&6; }
8743 if test "x$objc" = "xyes"; then
8746 objc_target
="no-objc"
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
8750 $as_echo_n "checking whether to enable Java suppport... " >&6; }
8751 # Check whether --enable-java was given.
8752 if test "${enable_java+set}" = set; then :
8753 enableval
=$enable_java; java
="$enableval"
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
8759 $as_echo "$java" >&6; }
8760 if test "x$java" != "xno"; then
8763 java_target
="no-java"
8766 spec_obj_format
="-m $aros_object_format"
8767 # Now process extra architecture-specific options.
8768 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8769 # as well as floating-point ABI.
8770 case "$aros_target_cpu" in
8772 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
8775 if test "$gcc_default_cpu" = ""; then
8776 gcc_default_cpu
="armv6"
8778 if test "$gcc_default_fpu" = ""; then
8779 gcc_default_fpu
="vfp"
8781 if test "$gcc_default_float_abi" = ""; then
8782 if test "$target_cpu" = "armhf"; then
8783 gcc_default_float_abi
="hard"
8785 gcc_default_float_abi
="softfp"
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8790 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8792 # Check whether --with-cpu was given.
8793 if test "${with_cpu+set}" = set; then :
8794 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8796 aros_gcc_cpu
=$gcc_default_cpu
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8800 $as_echo "$aros_gcc_cpu" >&6; }
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8803 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8805 # Check whether --with-fpu was given.
8806 if test "${with_fpu+set}" = set; then :
8807 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8809 aros_gcc_fpu
=$gcc_default_fpu
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8813 $as_echo "$aros_gcc_fpu" >&6; }
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8816 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8818 # Check whether --with-float was given.
8819 if test "${with_float+set}" = set; then :
8820 withval
=$with_float; aros_gcc_float_abi
="$withval"
8822 aros_gcc_float_abi
=$gcc_default_float_abi
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8826 $as_echo "$aros_gcc_float_abi" >&6; }
8828 if test "$gcc_default_mode" = ""; then
8829 aros_isa_flags
="-marm -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
8831 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
8832 aros_isa_flags
="-m$gcc_default_mode -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
8835 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
8836 aros_config_aflags
="$aros_config_aflags -fno-asynchronous-unwind-tables -fno-exceptions"
8839 aros_isa_flags
="-m32 -march=i486"
8840 aros_kernel_cflags
="$aros_kernel_cflags $aros_isa_flags"
8841 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
8845 # Some architectures may need custom ELF specs.
8846 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8847 elf_specs_in
=config
/${aros_object_format}-specs.
in
8849 elf_specs_in
=config
/elf-specs.
in
8852 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8853 # Since we override specs, we may need to put these defines there
8854 if test "$gcc_target_cpu" != ""; then
8855 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8859 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8861 # Check whether --with-portssources was given.
8862 if test "${with_portssources+set}" = set; then :
8863 withval
=$with_portssources; with_portssrcdir
=$withval
8865 with_portssrcdir
="default"
8868 if test "$with_portssrcdir" = "default"; then
8869 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8871 AROS_PORTSSRCDIR
="$with_portssrcdir"
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8874 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8877 $as_echo_n "checking which bootloader to use... " >&6; }
8879 # Check whether --with-bootloader was given.
8880 if test "${with_bootloader+set}" = set; then :
8881 withval
=$with_bootloader; target_bootloader
=$withval
8883 target_bootloader
=$target_bootloader
8886 if test "$target_bootloader" = "none"; then
8887 aros_target_bootloader
=""
8889 aros_target_bootloader
="$target_bootloader"
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8892 $as_echo "$target_bootloader" >&6; }
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8895 $as_echo_n "checking which icon-set to use... " >&6; }
8897 # Check whether --with-iconset was given.
8898 if test "${with_iconset+set}" = set; then :
8899 withval
=$with_iconset; target_iconset
=$withval
8901 target_iconset
="default"
8904 if test "$target_iconset" = "default"; then
8905 aros_target_iconset
="Gorilla"
8906 target_iconset
="default (Gorilla)"
8908 aros_target_iconset
="$target_iconset"
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8911 $as_echo "$target_iconset" >&6; }
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8914 $as_echo_n "checking which GUI Theme to use... " >&6; }
8916 # Check whether --with-theme was given.
8917 if test "${with_theme+set}" = set; then :
8918 withval
=$with_theme; target_guitheme
=$withval
8920 target_guitheme
="default"
8923 if test "$target_guitheme" = "default"; then
8924 aros_target_guitheme
="Ice"
8926 aros_target_guitheme
="$target_guitheme"
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8929 $as_echo "$aros_target_guitheme" >&6; }
8931 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8935 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8939 if test "$aros_host_cpu" == "x86_64" ; then
8940 if test "$aros_target_cpu" == "i386" ; then
8945 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8946 if test "$aros_host_arch" != "$aros_target_arch" ; then
8950 if test "$host_cc_elf" = "no" ; then
8955 if test "$cross_compiling" = "no" ; then
8956 kernel_tool_prefix
=""
8957 if test "$host_cc_elf" = "yes" ; then
8962 if test "$kernel_tool_version" != ""; then
8963 kernel_tool_version
="-$kernel_tool_version"
8966 #######################################################################
8967 ## Compute what toolchains to use, and their paths ##
8968 #######################################################################
8970 # This takes, as input:
8971 # crosstools {yes,no}
8972 # kernel_tool_version {"",[version]}
8973 # target_tool_version {"",[version]}
8974 # kernel_tool_prefix {none,[some-arch-os-]}
8975 # target_tool_prefix ${aros_target_cpu}-aros-
8976 # aros_tool_prefix ${aros_target_cpu}-aros-
8979 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8980 # Where the 'kernel' binaries are located
8981 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8982 # Where the 'target' binaries are located
8983 # (not the symlink farm - that is aros_target_*!)
8986 # if crosstools then
8987 # if kernel_tools_prefix = "no-kernel-prefix-"
8988 # aros_kernel_* = crosstools cc paths
8989 # aros_kernel_cc = elf cc wrapper around crosstools cc
8991 # VALIDATE(${kernel_tools_prefix}*)
8992 # aros_kernel_* = ${kernel_tools_prefix}*
8993 # if ${kernel_tools_prefix}cc is an AROS gcc
8994 # aros_kernel_cc = ${kernel_tools_prefix}cc
8996 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
9000 # orig_target_* = aros built crosstools
9001 # orig_target_cc = elf cc wrapper around crosstools cc
9003 # VALIDATE(${kernel_tools_prefix}*)
9005 # orig_target_* = aros_kernel_*
9006 # if aros_kernel_cc is an AROS gcc
9007 # orig_target_cc = aros_kernel_cc
9009 # orig_target_cc = aros cc wrapper around aros_kernel_cc
9013 target_tool_prefix
="${aros_target_cpu}-aros-"
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
9016 $as_echo_n "checking which kernel tools... " >&6; }
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9018 $as_echo "$kernel_tool_prefix" >&6; };
9020 if test "$kernel_tool_prefix" = "none" ; then
9021 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9022 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
9025 # Kernel tools required - find them
9026 # Note that 'normally', aros_kernel_* overrides will be
9027 # empty, unless specified in the per-arch sections above.
9028 if test "x$aros_kernel_cpp" = "x"; then
9029 aros_kernel_cpp
=${kernel_tool_prefix}cpp
9032 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
9033 if test "$cross_compiling" = "yes" ; then
9034 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
9035 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9037 $as_echo_n "checking for $ac_word... " >&6; }
9038 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9039 $as_echo_n "(cached) " >&6
9041 case $aros_kernel_cpp in
9043 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9050 test -z "$as_dir" && as_dir
=.
9051 for ac_exec_ext
in '' $ac_executable_extensions; do
9052 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9053 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9064 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9065 if test -n "$aros_kernel_cpp"; then
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9067 $as_echo "$aros_kernel_cpp" >&6; }
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9070 $as_echo "no" >&6; }
9075 if test "$GCC" = "yes"; then
9076 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
9077 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9078 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9080 $as_echo_n "checking for $ac_word... " >&6; }
9081 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9082 $as_echo_n "(cached) " >&6
9084 case $aros_kernel_cpp in
9086 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9090 for as_dir
in `dirname $aros_gcc_cpp`
9093 test -z "$as_dir" && as_dir
=.
9094 for ac_exec_ext
in '' $ac_executable_extensions; do
9095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9096 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9107 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9108 if test -n "$aros_kernel_cpp"; then
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9110 $as_echo "$aros_kernel_cpp" >&6; }
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9113 $as_echo "no" >&6; }
9118 if test "$aros_kernel_cpp" = ""; then
9119 # Extract the first word of "cpp", so it can be a program name with args.
9120 set dummy cpp
; ac_word
=$2
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9122 $as_echo_n "checking for $ac_word... " >&6; }
9123 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9124 $as_echo_n "(cached) " >&6
9126 case $aros_kernel_cpp in
9128 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9135 test -z "$as_dir" && as_dir
=.
9136 for ac_exec_ext
in '' $ac_executable_extensions; do
9137 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9138 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9149 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9150 if test -n "$aros_kernel_cpp"; then
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9152 $as_echo "$aros_kernel_cpp" >&6; }
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9155 $as_echo "no" >&6; }
9162 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
9163 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9165 $as_echo_n "checking for $ac_word... " >&6; }
9166 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9167 $as_echo_n "(cached) " >&6
9169 case $aros_kernel_cpp in
9171 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9178 test -z "$as_dir" && as_dir
=.
9179 for ac_exec_ext
in '' $ac_executable_extensions; do
9180 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9181 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9192 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9193 if test -n "$aros_kernel_cpp"; then
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9195 $as_echo "$aros_kernel_cpp" >&6; }
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9198 $as_echo "no" >&6; }
9204 if test "$aros_kernel_cpp" = ""; then
9205 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
9207 if test "x$aros_kernel_cc" = "x"; then
9208 aros_kernel_cc
=${kernel_tool_prefix}gcc
9211 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
9212 if test "$cross_compiling" = "yes" ; then
9213 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9214 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9216 $as_echo_n "checking for $ac_word... " >&6; }
9217 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9218 $as_echo_n "(cached) " >&6
9220 case $aros_kernel_cc in
9222 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9229 test -z "$as_dir" && as_dir
=.
9230 for ac_exec_ext
in '' $ac_executable_extensions; do
9231 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9232 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9243 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9244 if test -n "$aros_kernel_cc"; then
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9246 $as_echo "$aros_kernel_cc" >&6; }
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9249 $as_echo "no" >&6; }
9254 if test "$GCC" = "yes"; then
9255 aros_gcc_cc
=`$CC -print-prog-name=cc`
9256 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9257 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9259 $as_echo_n "checking for $ac_word... " >&6; }
9260 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9261 $as_echo_n "(cached) " >&6
9263 case $aros_kernel_cc in
9265 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9269 for as_dir
in `dirname $aros_gcc_cc`
9272 test -z "$as_dir" && as_dir
=.
9273 for ac_exec_ext
in '' $ac_executable_extensions; do
9274 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9275 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9286 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9287 if test -n "$aros_kernel_cc"; then
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9289 $as_echo "$aros_kernel_cc" >&6; }
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9292 $as_echo "no" >&6; }
9297 if test "$aros_kernel_cc" = ""; then
9298 # Extract the first word of "cc", so it can be a program name with args.
9299 set dummy cc
; ac_word
=$2
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9301 $as_echo_n "checking for $ac_word... " >&6; }
9302 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9303 $as_echo_n "(cached) " >&6
9305 case $aros_kernel_cc in
9307 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9314 test -z "$as_dir" && as_dir
=.
9315 for ac_exec_ext
in '' $ac_executable_extensions; do
9316 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9317 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9328 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9329 if test -n "$aros_kernel_cc"; then
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9331 $as_echo "$aros_kernel_cc" >&6; }
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9334 $as_echo "no" >&6; }
9341 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9342 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9344 $as_echo_n "checking for $ac_word... " >&6; }
9345 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9346 $as_echo_n "(cached) " >&6
9348 case $aros_kernel_cc in
9350 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9357 test -z "$as_dir" && as_dir
=.
9358 for ac_exec_ext
in '' $ac_executable_extensions; do
9359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9360 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9371 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9372 if test -n "$aros_kernel_cc"; then
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9374 $as_echo "$aros_kernel_cc" >&6; }
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9377 $as_echo "no" >&6; }
9383 if test "$aros_kernel_cc" = ""; then
9384 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9386 if test "x$aros_kernel_cxx" = "x"; then
9387 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9390 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9391 if test "$cross_compiling" = "yes" ; then
9392 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9393 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9395 $as_echo_n "checking for $ac_word... " >&6; }
9396 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9397 $as_echo_n "(cached) " >&6
9399 case $aros_kernel_cxx in
9401 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9408 test -z "$as_dir" && as_dir
=.
9409 for ac_exec_ext
in '' $ac_executable_extensions; do
9410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9411 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9422 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9423 if test -n "$aros_kernel_cxx"; then
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9425 $as_echo "$aros_kernel_cxx" >&6; }
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9428 $as_echo "no" >&6; }
9433 if test "$GCC" = "yes"; then
9434 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9435 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9436 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9438 $as_echo_n "checking for $ac_word... " >&6; }
9439 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9440 $as_echo_n "(cached) " >&6
9442 case $aros_kernel_cxx in
9444 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9448 for as_dir
in `dirname $aros_gcc_cxx`
9451 test -z "$as_dir" && as_dir
=.
9452 for ac_exec_ext
in '' $ac_executable_extensions; do
9453 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9454 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9465 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9466 if test -n "$aros_kernel_cxx"; then
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9468 $as_echo "$aros_kernel_cxx" >&6; }
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9471 $as_echo "no" >&6; }
9476 if test "$aros_kernel_cxx" = ""; then
9477 # Extract the first word of "cxx", so it can be a program name with args.
9478 set dummy cxx
; ac_word
=$2
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9480 $as_echo_n "checking for $ac_word... " >&6; }
9481 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9482 $as_echo_n "(cached) " >&6
9484 case $aros_kernel_cxx in
9486 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9493 test -z "$as_dir" && as_dir
=.
9494 for ac_exec_ext
in '' $ac_executable_extensions; do
9495 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9496 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9507 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9508 if test -n "$aros_kernel_cxx"; then
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9510 $as_echo "$aros_kernel_cxx" >&6; }
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9513 $as_echo "no" >&6; }
9520 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9521 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9523 $as_echo_n "checking for $ac_word... " >&6; }
9524 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9525 $as_echo_n "(cached) " >&6
9527 case $aros_kernel_cxx in
9529 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9536 test -z "$as_dir" && as_dir
=.
9537 for ac_exec_ext
in '' $ac_executable_extensions; do
9538 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9539 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9550 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9551 if test -n "$aros_kernel_cxx"; then
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9553 $as_echo "$aros_kernel_cxx" >&6; }
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9556 $as_echo "no" >&6; }
9562 # If it's set, make sure it's really there
9563 if test "x$aros_kernel_cxx" != "x" ; then
9564 if test "$aros_kernel_cxx" = ""; then
9565 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9569 if test "$aros_kernel_ld" = ""; then
9570 if test "$cross_compiling" = "yes" ; then
9571 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9572 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9574 $as_echo_n "checking for $ac_word... " >&6; }
9575 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9576 $as_echo_n "(cached) " >&6
9578 case $aros_kernel_ld in
9580 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9587 test -z "$as_dir" && as_dir
=.
9588 for ac_exec_ext
in '' $ac_executable_extensions; do
9589 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9590 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9601 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9602 if test -n "$aros_kernel_ld"; then
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9604 $as_echo "$aros_kernel_ld" >&6; }
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9607 $as_echo "no" >&6; }
9612 if test "$GCC" = "yes"; then
9613 aros_gcc_ld
=`$CC -print-prog-name=ld`
9614 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9615 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9617 $as_echo_n "checking for $ac_word... " >&6; }
9618 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9619 $as_echo_n "(cached) " >&6
9621 case $aros_kernel_ld in
9623 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9627 for as_dir
in `dirname $aros_gcc_ld`
9630 test -z "$as_dir" && as_dir
=.
9631 for ac_exec_ext
in '' $ac_executable_extensions; do
9632 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9633 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9644 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9645 if test -n "$aros_kernel_ld"; then
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9647 $as_echo "$aros_kernel_ld" >&6; }
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9650 $as_echo "no" >&6; }
9655 if test "$aros_kernel_ld" = ""; then
9656 # Extract the first word of "ld", so it can be a program name with args.
9657 set dummy ld
; ac_word
=$2
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9659 $as_echo_n "checking for $ac_word... " >&6; }
9660 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9661 $as_echo_n "(cached) " >&6
9663 case $aros_kernel_ld in
9665 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9672 test -z "$as_dir" && as_dir
=.
9673 for ac_exec_ext
in '' $ac_executable_extensions; do
9674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9675 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9686 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9687 if test -n "$aros_kernel_ld"; then
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9689 $as_echo "$aros_kernel_ld" >&6; }
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9692 $as_echo "no" >&6; }
9699 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9700 set dummy
$aros_kernel_ld; ac_word
=$2
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9702 $as_echo_n "checking for $ac_word... " >&6; }
9703 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9704 $as_echo_n "(cached) " >&6
9706 case $aros_kernel_ld in
9708 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9715 test -z "$as_dir" && as_dir
=.
9716 for ac_exec_ext
in '' $ac_executable_extensions; do
9717 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9718 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9729 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9730 if test -n "$aros_kernel_ld"; then
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9732 $as_echo "$aros_kernel_ld" >&6; }
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9735 $as_echo "no" >&6; }
9741 if test "$aros_kernel_ld" = ""; then
9742 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9745 if test "$aros_kernel_as" = ""; then
9746 if test "$cross_compiling" = "yes" ; then
9747 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9748 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9750 $as_echo_n "checking for $ac_word... " >&6; }
9751 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9752 $as_echo_n "(cached) " >&6
9754 case $aros_kernel_as in
9756 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9763 test -z "$as_dir" && as_dir
=.
9764 for ac_exec_ext
in '' $ac_executable_extensions; do
9765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9766 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9777 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9778 if test -n "$aros_kernel_as"; then
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9780 $as_echo "$aros_kernel_as" >&6; }
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9783 $as_echo "no" >&6; }
9788 if test "$GCC" = "yes"; then
9789 aros_gcc_as
=`$CC -print-prog-name=as`
9790 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9791 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9793 $as_echo_n "checking for $ac_word... " >&6; }
9794 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9795 $as_echo_n "(cached) " >&6
9797 case $aros_kernel_as in
9799 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9803 for as_dir
in `dirname $aros_gcc_as`
9806 test -z "$as_dir" && as_dir
=.
9807 for ac_exec_ext
in '' $ac_executable_extensions; do
9808 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9809 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9820 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9821 if test -n "$aros_kernel_as"; then
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9823 $as_echo "$aros_kernel_as" >&6; }
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9826 $as_echo "no" >&6; }
9831 if test "$aros_kernel_as" = ""; then
9832 # Extract the first word of "as", so it can be a program name with args.
9833 set dummy as
; ac_word
=$2
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9835 $as_echo_n "checking for $ac_word... " >&6; }
9836 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9837 $as_echo_n "(cached) " >&6
9839 case $aros_kernel_as in
9841 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9848 test -z "$as_dir" && as_dir
=.
9849 for ac_exec_ext
in '' $ac_executable_extensions; do
9850 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9851 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9862 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9863 if test -n "$aros_kernel_as"; then
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9865 $as_echo "$aros_kernel_as" >&6; }
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9868 $as_echo "no" >&6; }
9875 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9876 set dummy
$aros_kernel_as; ac_word
=$2
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9878 $as_echo_n "checking for $ac_word... " >&6; }
9879 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9880 $as_echo_n "(cached) " >&6
9882 case $aros_kernel_as in
9884 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9891 test -z "$as_dir" && as_dir
=.
9892 for ac_exec_ext
in '' $ac_executable_extensions; do
9893 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9894 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9905 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9906 if test -n "$aros_kernel_as"; then
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9908 $as_echo "$aros_kernel_as" >&6; }
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9911 $as_echo "no" >&6; }
9917 if test "$aros_kernel_as" = ""; then
9918 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9921 if test "$aros_kernel_ar" = ""; then
9922 if test "$cross_compiling" = "yes" ; then
9923 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9924 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9926 $as_echo_n "checking for $ac_word... " >&6; }
9927 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9928 $as_echo_n "(cached) " >&6
9930 case $aros_kernel_ar in
9932 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9939 test -z "$as_dir" && as_dir
=.
9940 for ac_exec_ext
in '' $ac_executable_extensions; do
9941 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9942 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9953 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9954 if test -n "$aros_kernel_ar"; then
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9956 $as_echo "$aros_kernel_ar" >&6; }
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9959 $as_echo "no" >&6; }
9964 if test "$GCC" = "yes"; then
9965 aros_gcc_ar
=`$CC -print-prog-name=ar`
9966 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9967 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9969 $as_echo_n "checking for $ac_word... " >&6; }
9970 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9971 $as_echo_n "(cached) " >&6
9973 case $aros_kernel_ar in
9975 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9979 for as_dir
in `dirname $aros_gcc_ar`
9982 test -z "$as_dir" && as_dir
=.
9983 for ac_exec_ext
in '' $ac_executable_extensions; do
9984 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9985 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9996 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9997 if test -n "$aros_kernel_ar"; then
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9999 $as_echo "$aros_kernel_ar" >&6; }
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10002 $as_echo "no" >&6; }
10007 if test "$aros_kernel_ar" = ""; then
10008 # Extract the first word of "ar", so it can be a program name with args.
10009 set dummy
ar; ac_word
=$2
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10011 $as_echo_n "checking for $ac_word... " >&6; }
10012 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10013 $as_echo_n "(cached) " >&6
10015 case $aros_kernel_ar in
10017 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10021 for as_dir
in $PATH
10024 test -z "$as_dir" && as_dir
=.
10025 for ac_exec_ext
in '' $ac_executable_extensions; do
10026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10027 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10038 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10039 if test -n "$aros_kernel_ar"; then
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10041 $as_echo "$aros_kernel_ar" >&6; }
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10044 $as_echo "no" >&6; }
10051 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10052 set dummy
$aros_kernel_ar; ac_word
=$2
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10054 $as_echo_n "checking for $ac_word... " >&6; }
10055 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10056 $as_echo_n "(cached) " >&6
10058 case $aros_kernel_ar in
10060 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10064 for as_dir
in $PATH
10067 test -z "$as_dir" && as_dir
=.
10068 for ac_exec_ext
in '' $ac_executable_extensions; do
10069 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10070 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10081 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10082 if test -n "$aros_kernel_ar"; then
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10084 $as_echo "$aros_kernel_ar" >&6; }
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10087 $as_echo "no" >&6; }
10093 if test "$aros_kernel_ar" = ""; then
10094 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
10097 if test "$aros_kernel_ranlib" = ""; then
10098 if test "$cross_compiling" = "yes" ; then
10099 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
10100 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10102 $as_echo_n "checking for $ac_word... " >&6; }
10103 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10104 $as_echo_n "(cached) " >&6
10106 case $aros_kernel_ranlib in
10108 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10112 for as_dir
in $PATH
10115 test -z "$as_dir" && as_dir
=.
10116 for ac_exec_ext
in '' $ac_executable_extensions; do
10117 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10118 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10129 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10130 if test -n "$aros_kernel_ranlib"; then
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10132 $as_echo "$aros_kernel_ranlib" >&6; }
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10135 $as_echo "no" >&6; }
10140 if test "$GCC" = "yes"; then
10141 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10142 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10143 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10145 $as_echo_n "checking for $ac_word... " >&6; }
10146 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10147 $as_echo_n "(cached) " >&6
10149 case $aros_kernel_ranlib in
10151 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10155 for as_dir
in `dirname $aros_gcc_ranlib`
10158 test -z "$as_dir" && as_dir
=.
10159 for ac_exec_ext
in '' $ac_executable_extensions; do
10160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10161 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10172 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10173 if test -n "$aros_kernel_ranlib"; then
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10175 $as_echo "$aros_kernel_ranlib" >&6; }
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10178 $as_echo "no" >&6; }
10183 if test "$aros_kernel_ranlib" = ""; then
10184 # Extract the first word of "ranlib", so it can be a program name with args.
10185 set dummy ranlib
; ac_word
=$2
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10187 $as_echo_n "checking for $ac_word... " >&6; }
10188 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10189 $as_echo_n "(cached) " >&6
10191 case $aros_kernel_ranlib in
10193 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10197 for as_dir
in $PATH
10200 test -z "$as_dir" && as_dir
=.
10201 for ac_exec_ext
in '' $ac_executable_extensions; do
10202 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10203 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10214 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10215 if test -n "$aros_kernel_ranlib"; then
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10217 $as_echo "$aros_kernel_ranlib" >&6; }
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10220 $as_echo "no" >&6; }
10227 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10228 set dummy
$aros_kernel_ranlib; ac_word
=$2
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10230 $as_echo_n "checking for $ac_word... " >&6; }
10231 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10232 $as_echo_n "(cached) " >&6
10234 case $aros_kernel_ranlib in
10236 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10240 for as_dir
in $PATH
10243 test -z "$as_dir" && as_dir
=.
10244 for ac_exec_ext
in '' $ac_executable_extensions; do
10245 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10246 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10257 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10258 if test -n "$aros_kernel_ranlib"; then
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10260 $as_echo "$aros_kernel_ranlib" >&6; }
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10263 $as_echo "no" >&6; }
10269 if test "$aros_kernel_ranlib" = ""; then
10270 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10273 if test "$aros_kernel_nm" = ""; then
10274 if test "$cross_compiling" = "yes" ; then
10275 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10276 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10278 $as_echo_n "checking for $ac_word... " >&6; }
10279 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10280 $as_echo_n "(cached) " >&6
10282 case $aros_kernel_nm in
10284 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10288 for as_dir
in $PATH
10291 test -z "$as_dir" && as_dir
=.
10292 for ac_exec_ext
in '' $ac_executable_extensions; do
10293 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10294 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10305 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10306 if test -n "$aros_kernel_nm"; then
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10308 $as_echo "$aros_kernel_nm" >&6; }
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10311 $as_echo "no" >&6; }
10316 if test "$GCC" = "yes"; then
10317 aros_gcc_nm
=`$CC -print-prog-name=nm`
10318 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10319 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10321 $as_echo_n "checking for $ac_word... " >&6; }
10322 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10323 $as_echo_n "(cached) " >&6
10325 case $aros_kernel_nm in
10327 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10331 for as_dir
in `dirname $aros_gcc_nm`
10334 test -z "$as_dir" && as_dir
=.
10335 for ac_exec_ext
in '' $ac_executable_extensions; do
10336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10337 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10348 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10349 if test -n "$aros_kernel_nm"; then
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10351 $as_echo "$aros_kernel_nm" >&6; }
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10354 $as_echo "no" >&6; }
10359 if test "$aros_kernel_nm" = ""; then
10360 # Extract the first word of "nm", so it can be a program name with args.
10361 set dummy nm
; ac_word
=$2
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10363 $as_echo_n "checking for $ac_word... " >&6; }
10364 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10365 $as_echo_n "(cached) " >&6
10367 case $aros_kernel_nm in
10369 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10373 for as_dir
in $PATH
10376 test -z "$as_dir" && as_dir
=.
10377 for ac_exec_ext
in '' $ac_executable_extensions; do
10378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10379 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10390 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10391 if test -n "$aros_kernel_nm"; then
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10393 $as_echo "$aros_kernel_nm" >&6; }
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10396 $as_echo "no" >&6; }
10403 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10404 set dummy
$aros_kernel_nm; ac_word
=$2
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10406 $as_echo_n "checking for $ac_word... " >&6; }
10407 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10408 $as_echo_n "(cached) " >&6
10410 case $aros_kernel_nm in
10412 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10416 for as_dir
in $PATH
10419 test -z "$as_dir" && as_dir
=.
10420 for ac_exec_ext
in '' $ac_executable_extensions; do
10421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10422 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10433 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10434 if test -n "$aros_kernel_nm"; then
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10436 $as_echo "$aros_kernel_nm" >&6; }
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10439 $as_echo "no" >&6; }
10445 if test "$aros_kernel_nm" = ""; then
10446 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10449 if test "$aros_kernel_strip" = ""; then
10450 if test "$cross_compiling" = "yes" ; then
10451 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10452 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10454 $as_echo_n "checking for $ac_word... " >&6; }
10455 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10456 $as_echo_n "(cached) " >&6
10458 case $aros_kernel_strip in
10460 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10464 for as_dir
in $PATH
10467 test -z "$as_dir" && as_dir
=.
10468 for ac_exec_ext
in '' $ac_executable_extensions; do
10469 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10470 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10481 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10482 if test -n "$aros_kernel_strip"; then
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10484 $as_echo "$aros_kernel_strip" >&6; }
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10487 $as_echo "no" >&6; }
10492 if test "$GCC" = "yes"; then
10493 aros_gcc_strip
=`$CC -print-prog-name=strip`
10494 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10495 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10497 $as_echo_n "checking for $ac_word... " >&6; }
10498 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10499 $as_echo_n "(cached) " >&6
10501 case $aros_kernel_strip in
10503 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10507 for as_dir
in `dirname $aros_gcc_strip`
10510 test -z "$as_dir" && as_dir
=.
10511 for ac_exec_ext
in '' $ac_executable_extensions; do
10512 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10513 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10524 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10525 if test -n "$aros_kernel_strip"; then
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10527 $as_echo "$aros_kernel_strip" >&6; }
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10530 $as_echo "no" >&6; }
10535 if test "$aros_kernel_strip" = ""; then
10536 # Extract the first word of "strip", so it can be a program name with args.
10537 set dummy strip
; ac_word
=$2
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10539 $as_echo_n "checking for $ac_word... " >&6; }
10540 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10541 $as_echo_n "(cached) " >&6
10543 case $aros_kernel_strip in
10545 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10549 for as_dir
in $PATH
10552 test -z "$as_dir" && as_dir
=.
10553 for ac_exec_ext
in '' $ac_executable_extensions; do
10554 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10555 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10566 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10567 if test -n "$aros_kernel_strip"; then
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10569 $as_echo "$aros_kernel_strip" >&6; }
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10572 $as_echo "no" >&6; }
10579 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10580 set dummy
$aros_kernel_strip; ac_word
=$2
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10582 $as_echo_n "checking for $ac_word... " >&6; }
10583 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10584 $as_echo_n "(cached) " >&6
10586 case $aros_kernel_strip in
10588 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10592 for as_dir
in $PATH
10595 test -z "$as_dir" && as_dir
=.
10596 for ac_exec_ext
in '' $ac_executable_extensions; do
10597 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10598 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10609 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10610 if test -n "$aros_kernel_strip"; then
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10612 $as_echo "$aros_kernel_strip" >&6; }
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10615 $as_echo "no" >&6; }
10621 if test "$aros_kernel_strip" = ""; then
10622 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10625 # Objcopy and objdump are not required for the kernel
10626 # toolchain on many architectures.
10627 # So we'll look for them, but not make them strictly required.
10629 if test "$aros_kernel_objcopy" = ""; then
10630 if test "$cross_compiling" = "yes" ; then
10631 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10632 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10634 $as_echo_n "checking for $ac_word... " >&6; }
10635 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10636 $as_echo_n "(cached) " >&6
10638 case $aros_kernel_objcopy in
10640 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10644 for as_dir
in $PATH
10647 test -z "$as_dir" && as_dir
=.
10648 for ac_exec_ext
in '' $ac_executable_extensions; do
10649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10650 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10661 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10662 if test -n "$aros_kernel_objcopy"; then
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10664 $as_echo "$aros_kernel_objcopy" >&6; }
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10667 $as_echo "no" >&6; }
10672 if test "$GCC" = "yes"; then
10673 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10674 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10675 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10677 $as_echo_n "checking for $ac_word... " >&6; }
10678 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10679 $as_echo_n "(cached) " >&6
10681 case $aros_kernel_objcopy in
10683 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10687 for as_dir
in `dirname $aros_gcc_objcopy`
10690 test -z "$as_dir" && as_dir
=.
10691 for ac_exec_ext
in '' $ac_executable_extensions; do
10692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10693 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10704 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10705 if test -n "$aros_kernel_objcopy"; then
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10707 $as_echo "$aros_kernel_objcopy" >&6; }
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10710 $as_echo "no" >&6; }
10715 if test "$aros_kernel_objcopy" = ""; then
10716 # Extract the first word of "objcopy", so it can be a program name with args.
10717 set dummy objcopy
; ac_word
=$2
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10719 $as_echo_n "checking for $ac_word... " >&6; }
10720 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10721 $as_echo_n "(cached) " >&6
10723 case $aros_kernel_objcopy in
10725 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10729 for as_dir
in $PATH
10732 test -z "$as_dir" && as_dir
=.
10733 for ac_exec_ext
in '' $ac_executable_extensions; do
10734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10735 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10746 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10747 if test -n "$aros_kernel_objcopy"; then
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10749 $as_echo "$aros_kernel_objcopy" >&6; }
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10752 $as_echo "no" >&6; }
10759 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10760 set dummy
$aros_kernel_objcopy; ac_word
=$2
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10762 $as_echo_n "checking for $ac_word... " >&6; }
10763 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10764 $as_echo_n "(cached) " >&6
10766 case $aros_kernel_objcopy in
10768 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10772 for as_dir
in $PATH
10775 test -z "$as_dir" && as_dir
=.
10776 for ac_exec_ext
in '' $ac_executable_extensions; do
10777 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10778 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10789 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10790 if test -n "$aros_kernel_objcopy"; then
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10792 $as_echo "$aros_kernel_objcopy" >&6; }
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10795 $as_echo "no" >&6; }
10802 if test "$aros_kernel_objdump" = ""; then
10803 if test "$cross_compiling" = "yes" ; then
10804 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10805 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10807 $as_echo_n "checking for $ac_word... " >&6; }
10808 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10809 $as_echo_n "(cached) " >&6
10811 case $aros_kernel_objdump in
10813 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10817 for as_dir
in $PATH
10820 test -z "$as_dir" && as_dir
=.
10821 for ac_exec_ext
in '' $ac_executable_extensions; do
10822 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10823 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10834 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10835 if test -n "$aros_kernel_objdump"; then
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10837 $as_echo "$aros_kernel_objdump" >&6; }
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10840 $as_echo "no" >&6; }
10845 if test "$GCC" = "yes"; then
10846 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10847 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10848 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10850 $as_echo_n "checking for $ac_word... " >&6; }
10851 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10852 $as_echo_n "(cached) " >&6
10854 case $aros_kernel_objdump in
10856 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10860 for as_dir
in `dirname $aros_gcc_objdump`
10863 test -z "$as_dir" && as_dir
=.
10864 for ac_exec_ext
in '' $ac_executable_extensions; do
10865 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10866 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10877 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10878 if test -n "$aros_kernel_objdump"; then
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10880 $as_echo "$aros_kernel_objdump" >&6; }
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10883 $as_echo "no" >&6; }
10888 if test "$aros_kernel_objdump" = ""; then
10889 # Extract the first word of "objdump", so it can be a program name with args.
10890 set dummy objdump
; ac_word
=$2
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10892 $as_echo_n "checking for $ac_word... " >&6; }
10893 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10894 $as_echo_n "(cached) " >&6
10896 case $aros_kernel_objdump in
10898 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10902 for as_dir
in $PATH
10905 test -z "$as_dir" && as_dir
=.
10906 for ac_exec_ext
in '' $ac_executable_extensions; do
10907 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10908 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10919 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10920 if test -n "$aros_kernel_objdump"; then
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10922 $as_echo "$aros_kernel_objdump" >&6; }
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10925 $as_echo "no" >&6; }
10932 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10933 set dummy
$aros_kernel_objdump; ac_word
=$2
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10935 $as_echo_n "checking for $ac_word... " >&6; }
10936 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10937 $as_echo_n "(cached) " >&6
10939 case $aros_kernel_objdump in
10941 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10945 for as_dir
in $PATH
10948 test -z "$as_dir" && as_dir
=.
10949 for ac_exec_ext
in '' $ac_executable_extensions; do
10950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10951 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10962 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10963 if test -n "$aros_kernel_objdump"; then
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10965 $as_echo "$aros_kernel_objdump" >&6; }
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10968 $as_echo "no" >&6; }
10974 if test "x${crosstools}" != "xyes" ; then
10975 if test "$aros_kernel_objcopy" = ""; then
10976 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10978 if test "$aros_kernel_objdump" = ""; then
10979 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10985 $as_echo_n "checking which target tools to use... " >&6; }
10986 if test "$aros_target_toolchain" = "yes"; then
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10988 $as_echo "$target_tool_prefix" >&6; }
10989 # We are building AROS crosstools
10990 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10991 orig_target_cc
="${tmp_tool_prefix}gcc${target_tool_version}"
10992 orig_target_cxx
="${tmp_tool_prefix}g++${target_tool_version}"
10993 orig_target_cpp
="${tmp_tool_prefix}cpp"
10994 orig_target_ld
="${tmp_tool_prefix}ld"
10995 orig_target_as
="${tmp_tool_prefix}as"
10996 orig_target_ar
="${tmp_tool_prefix}ar"
10997 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10998 orig_target_nm
="${tmp_tool_prefix}nm"
10999 orig_target_strip
="${tmp_tool_prefix}strip"
11000 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
11001 orig_target_objdump
="${tmp_tool_prefix}objdump"
11003 # Determine whether AROS or ELF tools should be used
11004 if test "$aros_tool_prefix" = "none"; then
11005 aros_tool_prefix
="${elf_tool_prefix}"
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
11009 $as_echo "$aros_tool_prefix" >&6; }
11010 # We are *not* building AROS crosstools - use the AROS or ELF tools
11012 if test "${aros_tool_prefix}cpp${target_tool_version}" = ""; then
11013 if test "$cross_compiling" = "yes" ; then
11014 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
11015 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11017 $as_echo_n "checking for $ac_word... " >&6; }
11018 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11019 $as_echo_n "(cached) " >&6
11021 case $orig_target_cpp in
11023 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11027 for as_dir
in $PATH
11030 test -z "$as_dir" && as_dir
=.
11031 for ac_exec_ext
in '' $ac_executable_extensions; do
11032 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11033 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11044 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11045 if test -n "$orig_target_cpp"; then
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11047 $as_echo "$orig_target_cpp" >&6; }
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11050 $as_echo "no" >&6; }
11055 if test "$GCC" = "yes"; then
11056 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
11057 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
11058 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11060 $as_echo_n "checking for $ac_word... " >&6; }
11061 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11062 $as_echo_n "(cached) " >&6
11064 case $orig_target_cpp in
11066 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11070 for as_dir
in `dirname $aros_gcc_cpp`
11073 test -z "$as_dir" && as_dir
=.
11074 for ac_exec_ext
in '' $ac_executable_extensions; do
11075 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11076 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11087 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11088 if test -n "$orig_target_cpp"; then
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11090 $as_echo "$orig_target_cpp" >&6; }
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11093 $as_echo "no" >&6; }
11098 if test "$orig_target_cpp" = ""; then
11099 # Extract the first word of "cpp", so it can be a program name with args.
11100 set dummy cpp
; ac_word
=$2
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11102 $as_echo_n "checking for $ac_word... " >&6; }
11103 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11104 $as_echo_n "(cached) " >&6
11106 case $orig_target_cpp in
11108 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11112 for as_dir
in $PATH
11115 test -z "$as_dir" && as_dir
=.
11116 for ac_exec_ext
in '' $ac_executable_extensions; do
11117 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11118 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11129 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11130 if test -n "$orig_target_cpp"; then
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11132 $as_echo "$orig_target_cpp" >&6; }
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11135 $as_echo "no" >&6; }
11142 # Extract the first word of "${aros_tool_prefix}cpp${target_tool_version}", so it can be a program name with args.
11143 set dummy
${aros_tool_prefix}cpp
${target_tool_version}; ac_word
=$2
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11145 $as_echo_n "checking for $ac_word... " >&6; }
11146 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11147 $as_echo_n "(cached) " >&6
11149 case $orig_target_cpp in
11151 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11155 for as_dir
in $PATH
11158 test -z "$as_dir" && as_dir
=.
11159 for ac_exec_ext
in '' $ac_executable_extensions; do
11160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11161 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11172 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11173 if test -n "$orig_target_cpp"; then
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11175 $as_echo "$orig_target_cpp" >&6; }
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11178 $as_echo "no" >&6; }
11184 if test "$orig_target_cpp" = ""; then
11185 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11188 if test "${aros_tool_prefix}gcc${target_tool_version}" = ""; then
11189 if test "$cross_compiling" = "yes" ; then
11190 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11191 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11193 $as_echo_n "checking for $ac_word... " >&6; }
11194 if ${ac_cv_path_orig_target_cc+:} false
; then :
11195 $as_echo_n "(cached) " >&6
11197 case $orig_target_cc in
11199 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11203 for as_dir
in $PATH
11206 test -z "$as_dir" && as_dir
=.
11207 for ac_exec_ext
in '' $ac_executable_extensions; do
11208 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11209 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11220 orig_target_cc
=$ac_cv_path_orig_target_cc
11221 if test -n "$orig_target_cc"; then
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11223 $as_echo "$orig_target_cc" >&6; }
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11226 $as_echo "no" >&6; }
11231 if test "$GCC" = "yes"; then
11232 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11233 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11234 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11236 $as_echo_n "checking for $ac_word... " >&6; }
11237 if ${ac_cv_path_orig_target_cc+:} false
; then :
11238 $as_echo_n "(cached) " >&6
11240 case $orig_target_cc in
11242 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11246 for as_dir
in `dirname $aros_gcc_gcc`
11249 test -z "$as_dir" && as_dir
=.
11250 for ac_exec_ext
in '' $ac_executable_extensions; do
11251 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11252 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11263 orig_target_cc
=$ac_cv_path_orig_target_cc
11264 if test -n "$orig_target_cc"; then
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11266 $as_echo "$orig_target_cc" >&6; }
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11269 $as_echo "no" >&6; }
11274 if test "$orig_target_cc" = ""; then
11275 # Extract the first word of "gcc", so it can be a program name with args.
11276 set dummy gcc
; ac_word
=$2
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11278 $as_echo_n "checking for $ac_word... " >&6; }
11279 if ${ac_cv_path_orig_target_cc+:} false
; then :
11280 $as_echo_n "(cached) " >&6
11282 case $orig_target_cc in
11284 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11288 for as_dir
in $PATH
11291 test -z "$as_dir" && as_dir
=.
11292 for ac_exec_ext
in '' $ac_executable_extensions; do
11293 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11294 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11305 orig_target_cc
=$ac_cv_path_orig_target_cc
11306 if test -n "$orig_target_cc"; then
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11308 $as_echo "$orig_target_cc" >&6; }
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11311 $as_echo "no" >&6; }
11318 # Extract the first word of "${aros_tool_prefix}gcc${target_tool_version}", so it can be a program name with args.
11319 set dummy
${aros_tool_prefix}gcc
${target_tool_version}; ac_word
=$2
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11321 $as_echo_n "checking for $ac_word... " >&6; }
11322 if ${ac_cv_path_orig_target_cc+:} false
; then :
11323 $as_echo_n "(cached) " >&6
11325 case $orig_target_cc in
11327 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11331 for as_dir
in $PATH
11334 test -z "$as_dir" && as_dir
=.
11335 for ac_exec_ext
in '' $ac_executable_extensions; do
11336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11337 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11348 orig_target_cc
=$ac_cv_path_orig_target_cc
11349 if test -n "$orig_target_cc"; then
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11351 $as_echo "$orig_target_cc" >&6; }
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11354 $as_echo "no" >&6; }
11360 if test "$orig_target_cc" = ""; then
11361 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11364 if test "${aros_tool_prefix}g++${target_tool_version}" = ""; then
11365 if test "$cross_compiling" = "yes" ; then
11366 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11367 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11369 $as_echo_n "checking for $ac_word... " >&6; }
11370 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11371 $as_echo_n "(cached) " >&6
11373 case $orig_target_cxx in
11375 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11379 for as_dir
in $PATH
11382 test -z "$as_dir" && as_dir
=.
11383 for ac_exec_ext
in '' $ac_executable_extensions; do
11384 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11385 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11396 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11397 if test -n "$orig_target_cxx"; then
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11399 $as_echo "$orig_target_cxx" >&6; }
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11402 $as_echo "no" >&6; }
11407 if test "$GCC" = "yes"; then
11408 aros_gcc_g
++=`$CC -print-prog-name=g++`
11409 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11410 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11412 $as_echo_n "checking for $ac_word... " >&6; }
11413 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11414 $as_echo_n "(cached) " >&6
11416 case $orig_target_cxx in
11418 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11422 for as_dir
in `dirname $aros_gcc_g++`
11425 test -z "$as_dir" && as_dir
=.
11426 for ac_exec_ext
in '' $ac_executable_extensions; do
11427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11428 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11439 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11440 if test -n "$orig_target_cxx"; then
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11442 $as_echo "$orig_target_cxx" >&6; }
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11445 $as_echo "no" >&6; }
11450 if test "$orig_target_cxx" = ""; then
11451 # Extract the first word of "g++", so it can be a program name with args.
11452 set dummy g
++; ac_word
=$2
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11454 $as_echo_n "checking for $ac_word... " >&6; }
11455 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11456 $as_echo_n "(cached) " >&6
11458 case $orig_target_cxx in
11460 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11464 for as_dir
in $PATH
11467 test -z "$as_dir" && as_dir
=.
11468 for ac_exec_ext
in '' $ac_executable_extensions; do
11469 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11470 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11481 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11482 if test -n "$orig_target_cxx"; then
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11484 $as_echo "$orig_target_cxx" >&6; }
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11487 $as_echo "no" >&6; }
11494 # Extract the first word of "${aros_tool_prefix}g++${target_tool_version}", so it can be a program name with args.
11495 set dummy
${aros_tool_prefix}g
++${target_tool_version}; ac_word
=$2
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11497 $as_echo_n "checking for $ac_word... " >&6; }
11498 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11499 $as_echo_n "(cached) " >&6
11501 case $orig_target_cxx in
11503 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11507 for as_dir
in $PATH
11510 test -z "$as_dir" && as_dir
=.
11511 for ac_exec_ext
in '' $ac_executable_extensions; do
11512 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11513 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11524 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11525 if test -n "$orig_target_cxx"; then
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11527 $as_echo "$orig_target_cxx" >&6; }
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11530 $as_echo "no" >&6; }
11536 if test "$orig_target_cxx" = ""; then
11537 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11540 if test "${aros_tool_prefix}ld" = ""; then
11541 if test "$cross_compiling" = "yes" ; then
11542 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11543 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11545 $as_echo_n "checking for $ac_word... " >&6; }
11546 if ${ac_cv_path_orig_target_ld+:} false
; then :
11547 $as_echo_n "(cached) " >&6
11549 case $orig_target_ld in
11551 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11555 for as_dir
in $PATH
11558 test -z "$as_dir" && as_dir
=.
11559 for ac_exec_ext
in '' $ac_executable_extensions; do
11560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11561 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11572 orig_target_ld
=$ac_cv_path_orig_target_ld
11573 if test -n "$orig_target_ld"; then
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11575 $as_echo "$orig_target_ld" >&6; }
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11578 $as_echo "no" >&6; }
11583 if test "$GCC" = "yes"; then
11584 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11585 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11586 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11588 $as_echo_n "checking for $ac_word... " >&6; }
11589 if ${ac_cv_path_orig_target_ld+:} false
; then :
11590 $as_echo_n "(cached) " >&6
11592 case $orig_target_ld in
11594 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11598 for as_dir
in `dirname $aros_gcc_gcc`
11601 test -z "$as_dir" && as_dir
=.
11602 for ac_exec_ext
in '' $ac_executable_extensions; do
11603 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11604 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11615 orig_target_ld
=$ac_cv_path_orig_target_ld
11616 if test -n "$orig_target_ld"; then
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11618 $as_echo "$orig_target_ld" >&6; }
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11621 $as_echo "no" >&6; }
11626 if test "$orig_target_ld" = ""; then
11627 # Extract the first word of "gcc", so it can be a program name with args.
11628 set dummy gcc
; ac_word
=$2
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11630 $as_echo_n "checking for $ac_word... " >&6; }
11631 if ${ac_cv_path_orig_target_ld+:} false
; then :
11632 $as_echo_n "(cached) " >&6
11634 case $orig_target_ld in
11636 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11640 for as_dir
in $PATH
11643 test -z "$as_dir" && as_dir
=.
11644 for ac_exec_ext
in '' $ac_executable_extensions; do
11645 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11646 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11657 orig_target_ld
=$ac_cv_path_orig_target_ld
11658 if test -n "$orig_target_ld"; then
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11660 $as_echo "$orig_target_ld" >&6; }
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11663 $as_echo "no" >&6; }
11670 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11671 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11673 $as_echo_n "checking for $ac_word... " >&6; }
11674 if ${ac_cv_path_orig_target_ld+:} false
; then :
11675 $as_echo_n "(cached) " >&6
11677 case $orig_target_ld in
11679 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11683 for as_dir
in $PATH
11686 test -z "$as_dir" && as_dir
=.
11687 for ac_exec_ext
in '' $ac_executable_extensions; do
11688 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11689 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11700 orig_target_ld
=$ac_cv_path_orig_target_ld
11701 if test -n "$orig_target_ld"; then
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11703 $as_echo "$orig_target_ld" >&6; }
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11706 $as_echo "no" >&6; }
11712 if test "$orig_target_ld" = ""; then
11713 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11716 if test "${aros_tool_prefix}as" = ""; then
11717 if test "$cross_compiling" = "yes" ; then
11718 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11719 set dummy
${target_tool_prefix}as
; ac_word
=$2
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11721 $as_echo_n "checking for $ac_word... " >&6; }
11722 if ${ac_cv_path_orig_target_as+:} false
; then :
11723 $as_echo_n "(cached) " >&6
11725 case $orig_target_as in
11727 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11731 for as_dir
in $PATH
11734 test -z "$as_dir" && as_dir
=.
11735 for ac_exec_ext
in '' $ac_executable_extensions; do
11736 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11737 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11748 orig_target_as
=$ac_cv_path_orig_target_as
11749 if test -n "$orig_target_as"; then
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11751 $as_echo "$orig_target_as" >&6; }
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11754 $as_echo "no" >&6; }
11759 if test "$GCC" = "yes"; then
11760 aros_gcc_as
=`$CC -print-prog-name=as`
11761 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11762 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11764 $as_echo_n "checking for $ac_word... " >&6; }
11765 if ${ac_cv_path_orig_target_as+:} false
; then :
11766 $as_echo_n "(cached) " >&6
11768 case $orig_target_as in
11770 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11774 for as_dir
in `dirname $aros_gcc_as`
11777 test -z "$as_dir" && as_dir
=.
11778 for ac_exec_ext
in '' $ac_executable_extensions; do
11779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11780 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11791 orig_target_as
=$ac_cv_path_orig_target_as
11792 if test -n "$orig_target_as"; then
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11794 $as_echo "$orig_target_as" >&6; }
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11797 $as_echo "no" >&6; }
11802 if test "$orig_target_as" = ""; then
11803 # Extract the first word of "as", so it can be a program name with args.
11804 set dummy as
; ac_word
=$2
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11806 $as_echo_n "checking for $ac_word... " >&6; }
11807 if ${ac_cv_path_orig_target_as+:} false
; then :
11808 $as_echo_n "(cached) " >&6
11810 case $orig_target_as in
11812 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11816 for as_dir
in $PATH
11819 test -z "$as_dir" && as_dir
=.
11820 for ac_exec_ext
in '' $ac_executable_extensions; do
11821 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11822 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11833 orig_target_as
=$ac_cv_path_orig_target_as
11834 if test -n "$orig_target_as"; then
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11836 $as_echo "$orig_target_as" >&6; }
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11839 $as_echo "no" >&6; }
11846 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11847 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11849 $as_echo_n "checking for $ac_word... " >&6; }
11850 if ${ac_cv_path_orig_target_as+:} false
; then :
11851 $as_echo_n "(cached) " >&6
11853 case $orig_target_as in
11855 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11859 for as_dir
in $PATH
11862 test -z "$as_dir" && as_dir
=.
11863 for ac_exec_ext
in '' $ac_executable_extensions; do
11864 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11865 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11876 orig_target_as
=$ac_cv_path_orig_target_as
11877 if test -n "$orig_target_as"; then
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11879 $as_echo "$orig_target_as" >&6; }
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11882 $as_echo "no" >&6; }
11888 if test "$orig_target_as" = ""; then
11889 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11892 if test "${aros_tool_prefix}ar" = ""; then
11893 if test "$cross_compiling" = "yes" ; then
11894 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11895 set dummy
${target_tool_prefix}ar; ac_word
=$2
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11897 $as_echo_n "checking for $ac_word... " >&6; }
11898 if ${ac_cv_path_orig_target_ar+:} false
; then :
11899 $as_echo_n "(cached) " >&6
11901 case $orig_target_ar in
11903 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11907 for as_dir
in $PATH
11910 test -z "$as_dir" && as_dir
=.
11911 for ac_exec_ext
in '' $ac_executable_extensions; do
11912 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11913 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11924 orig_target_ar
=$ac_cv_path_orig_target_ar
11925 if test -n "$orig_target_ar"; then
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11927 $as_echo "$orig_target_ar" >&6; }
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11930 $as_echo "no" >&6; }
11935 if test "$GCC" = "yes"; then
11936 aros_gcc_ar
=`$CC -print-prog-name=ar`
11937 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11938 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11940 $as_echo_n "checking for $ac_word... " >&6; }
11941 if ${ac_cv_path_orig_target_ar+:} false
; then :
11942 $as_echo_n "(cached) " >&6
11944 case $orig_target_ar in
11946 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11950 for as_dir
in `dirname $aros_gcc_ar`
11953 test -z "$as_dir" && as_dir
=.
11954 for ac_exec_ext
in '' $ac_executable_extensions; do
11955 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11956 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11967 orig_target_ar
=$ac_cv_path_orig_target_ar
11968 if test -n "$orig_target_ar"; then
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11970 $as_echo "$orig_target_ar" >&6; }
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11973 $as_echo "no" >&6; }
11978 if test "$orig_target_ar" = ""; then
11979 # Extract the first word of "ar", so it can be a program name with args.
11980 set dummy
ar; ac_word
=$2
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11982 $as_echo_n "checking for $ac_word... " >&6; }
11983 if ${ac_cv_path_orig_target_ar+:} false
; then :
11984 $as_echo_n "(cached) " >&6
11986 case $orig_target_ar in
11988 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11992 for as_dir
in $PATH
11995 test -z "$as_dir" && as_dir
=.
11996 for ac_exec_ext
in '' $ac_executable_extensions; do
11997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11998 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12009 orig_target_ar
=$ac_cv_path_orig_target_ar
12010 if test -n "$orig_target_ar"; then
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12012 $as_echo "$orig_target_ar" >&6; }
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12015 $as_echo "no" >&6; }
12022 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
12023 set dummy
${aros_tool_prefix}ar; ac_word
=$2
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12025 $as_echo_n "checking for $ac_word... " >&6; }
12026 if ${ac_cv_path_orig_target_ar+:} false
; then :
12027 $as_echo_n "(cached) " >&6
12029 case $orig_target_ar in
12031 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12035 for as_dir
in $PATH
12038 test -z "$as_dir" && as_dir
=.
12039 for ac_exec_ext
in '' $ac_executable_extensions; do
12040 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12041 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12052 orig_target_ar
=$ac_cv_path_orig_target_ar
12053 if test -n "$orig_target_ar"; then
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12055 $as_echo "$orig_target_ar" >&6; }
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12058 $as_echo "no" >&6; }
12064 if test "$orig_target_ar" = ""; then
12065 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
12068 if test "${aros_tool_prefix}ranlib" = ""; then
12069 if test "$cross_compiling" = "yes" ; then
12070 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12071 set dummy
${target_tool_prefix}ar; ac_word
=$2
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12073 $as_echo_n "checking for $ac_word... " >&6; }
12074 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12075 $as_echo_n "(cached) " >&6
12077 case $orig_target_ranlib in
12079 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12083 for as_dir
in $PATH
12086 test -z "$as_dir" && as_dir
=.
12087 for ac_exec_ext
in '' $ac_executable_extensions; do
12088 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12089 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12100 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12101 if test -n "$orig_target_ranlib"; then
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12103 $as_echo "$orig_target_ranlib" >&6; }
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12106 $as_echo "no" >&6; }
12111 if test "$GCC" = "yes"; then
12112 aros_gcc_ar
=`$CC -print-prog-name=ar`
12113 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12114 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12116 $as_echo_n "checking for $ac_word... " >&6; }
12117 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12118 $as_echo_n "(cached) " >&6
12120 case $orig_target_ranlib in
12122 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12126 for as_dir
in `dirname $aros_gcc_ar`
12129 test -z "$as_dir" && as_dir
=.
12130 for ac_exec_ext
in '' $ac_executable_extensions; do
12131 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12132 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12143 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12144 if test -n "$orig_target_ranlib"; then
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12146 $as_echo "$orig_target_ranlib" >&6; }
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12149 $as_echo "no" >&6; }
12154 if test "$orig_target_ranlib" = ""; then
12155 # Extract the first word of "ar", so it can be a program name with args.
12156 set dummy
ar; ac_word
=$2
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12158 $as_echo_n "checking for $ac_word... " >&6; }
12159 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12160 $as_echo_n "(cached) " >&6
12162 case $orig_target_ranlib in
12164 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12168 for as_dir
in $PATH
12171 test -z "$as_dir" && as_dir
=.
12172 for ac_exec_ext
in '' $ac_executable_extensions; do
12173 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12174 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12185 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12186 if test -n "$orig_target_ranlib"; then
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12188 $as_echo "$orig_target_ranlib" >&6; }
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12191 $as_echo "no" >&6; }
12198 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
12199 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12201 $as_echo_n "checking for $ac_word... " >&6; }
12202 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12203 $as_echo_n "(cached) " >&6
12205 case $orig_target_ranlib in
12207 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12211 for as_dir
in $PATH
12214 test -z "$as_dir" && as_dir
=.
12215 for ac_exec_ext
in '' $ac_executable_extensions; do
12216 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12217 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12228 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12229 if test -n "$orig_target_ranlib"; then
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12231 $as_echo "$orig_target_ranlib" >&6; }
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12234 $as_echo "no" >&6; }
12240 if test "$orig_target_ranlib" = ""; then
12241 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12244 if test "${aros_tool_prefix}nm" = ""; then
12245 if test "$cross_compiling" = "yes" ; then
12246 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12247 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12249 $as_echo_n "checking for $ac_word... " >&6; }
12250 if ${ac_cv_path_orig_target_nm+:} false
; then :
12251 $as_echo_n "(cached) " >&6
12253 case $orig_target_nm in
12255 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12259 for as_dir
in $PATH
12262 test -z "$as_dir" && as_dir
=.
12263 for ac_exec_ext
in '' $ac_executable_extensions; do
12264 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12265 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12276 orig_target_nm
=$ac_cv_path_orig_target_nm
12277 if test -n "$orig_target_nm"; then
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12279 $as_echo "$orig_target_nm" >&6; }
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12282 $as_echo "no" >&6; }
12287 if test "$GCC" = "yes"; then
12288 aros_gcc_nm
=`$CC -print-prog-name=nm`
12289 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12290 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12292 $as_echo_n "checking for $ac_word... " >&6; }
12293 if ${ac_cv_path_orig_target_nm+:} false
; then :
12294 $as_echo_n "(cached) " >&6
12296 case $orig_target_nm in
12298 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12302 for as_dir
in `dirname $aros_gcc_nm`
12305 test -z "$as_dir" && as_dir
=.
12306 for ac_exec_ext
in '' $ac_executable_extensions; do
12307 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12308 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12319 orig_target_nm
=$ac_cv_path_orig_target_nm
12320 if test -n "$orig_target_nm"; then
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12322 $as_echo "$orig_target_nm" >&6; }
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12325 $as_echo "no" >&6; }
12330 if test "$orig_target_nm" = ""; then
12331 # Extract the first word of "nm", so it can be a program name with args.
12332 set dummy nm
; ac_word
=$2
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12334 $as_echo_n "checking for $ac_word... " >&6; }
12335 if ${ac_cv_path_orig_target_nm+:} false
; then :
12336 $as_echo_n "(cached) " >&6
12338 case $orig_target_nm in
12340 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12344 for as_dir
in $PATH
12347 test -z "$as_dir" && as_dir
=.
12348 for ac_exec_ext
in '' $ac_executable_extensions; do
12349 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12350 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12361 orig_target_nm
=$ac_cv_path_orig_target_nm
12362 if test -n "$orig_target_nm"; then
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12364 $as_echo "$orig_target_nm" >&6; }
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12367 $as_echo "no" >&6; }
12374 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12375 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12377 $as_echo_n "checking for $ac_word... " >&6; }
12378 if ${ac_cv_path_orig_target_nm+:} false
; then :
12379 $as_echo_n "(cached) " >&6
12381 case $orig_target_nm in
12383 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12387 for as_dir
in $PATH
12390 test -z "$as_dir" && as_dir
=.
12391 for ac_exec_ext
in '' $ac_executable_extensions; do
12392 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12393 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12404 orig_target_nm
=$ac_cv_path_orig_target_nm
12405 if test -n "$orig_target_nm"; then
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12407 $as_echo "$orig_target_nm" >&6; }
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12410 $as_echo "no" >&6; }
12416 if test "$orig_target_nm" = ""; then
12417 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12420 if test "${aros_tool_prefix}strip" = ""; then
12421 if test "$cross_compiling" = "yes" ; then
12422 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12423 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12425 $as_echo_n "checking for $ac_word... " >&6; }
12426 if ${ac_cv_path_orig_target_strip+:} false
; then :
12427 $as_echo_n "(cached) " >&6
12429 case $orig_target_strip in
12431 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12435 for as_dir
in $PATH
12438 test -z "$as_dir" && as_dir
=.
12439 for ac_exec_ext
in '' $ac_executable_extensions; do
12440 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12441 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12452 orig_target_strip
=$ac_cv_path_orig_target_strip
12453 if test -n "$orig_target_strip"; then
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12455 $as_echo "$orig_target_strip" >&6; }
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12458 $as_echo "no" >&6; }
12463 if test "$GCC" = "yes"; then
12464 aros_gcc_strip
=`$CC -print-prog-name=strip`
12465 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12466 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12468 $as_echo_n "checking for $ac_word... " >&6; }
12469 if ${ac_cv_path_orig_target_strip+:} false
; then :
12470 $as_echo_n "(cached) " >&6
12472 case $orig_target_strip in
12474 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12478 for as_dir
in `dirname $aros_gcc_strip`
12481 test -z "$as_dir" && as_dir
=.
12482 for ac_exec_ext
in '' $ac_executable_extensions; do
12483 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12484 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12495 orig_target_strip
=$ac_cv_path_orig_target_strip
12496 if test -n "$orig_target_strip"; then
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12498 $as_echo "$orig_target_strip" >&6; }
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12501 $as_echo "no" >&6; }
12506 if test "$orig_target_strip" = ""; then
12507 # Extract the first word of "strip", so it can be a program name with args.
12508 set dummy strip
; ac_word
=$2
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12510 $as_echo_n "checking for $ac_word... " >&6; }
12511 if ${ac_cv_path_orig_target_strip+:} false
; then :
12512 $as_echo_n "(cached) " >&6
12514 case $orig_target_strip in
12516 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12520 for as_dir
in $PATH
12523 test -z "$as_dir" && as_dir
=.
12524 for ac_exec_ext
in '' $ac_executable_extensions; do
12525 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12526 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12537 orig_target_strip
=$ac_cv_path_orig_target_strip
12538 if test -n "$orig_target_strip"; then
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12540 $as_echo "$orig_target_strip" >&6; }
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12543 $as_echo "no" >&6; }
12550 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12551 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12553 $as_echo_n "checking for $ac_word... " >&6; }
12554 if ${ac_cv_path_orig_target_strip+:} false
; then :
12555 $as_echo_n "(cached) " >&6
12557 case $orig_target_strip in
12559 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12563 for as_dir
in $PATH
12566 test -z "$as_dir" && as_dir
=.
12567 for ac_exec_ext
in '' $ac_executable_extensions; do
12568 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12569 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12580 orig_target_strip
=$ac_cv_path_orig_target_strip
12581 if test -n "$orig_target_strip"; then
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12583 $as_echo "$orig_target_strip" >&6; }
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12586 $as_echo "no" >&6; }
12592 if test "$orig_target_strip" = ""; then
12593 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12596 if test "${aros_tool_prefix}objcopy" = ""; then
12597 if test "$cross_compiling" = "yes" ; then
12598 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12599 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12601 $as_echo_n "checking for $ac_word... " >&6; }
12602 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12603 $as_echo_n "(cached) " >&6
12605 case $orig_target_objcopy in
12607 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12611 for as_dir
in $PATH
12614 test -z "$as_dir" && as_dir
=.
12615 for ac_exec_ext
in '' $ac_executable_extensions; do
12616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12617 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12628 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12629 if test -n "$orig_target_objcopy"; then
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12631 $as_echo "$orig_target_objcopy" >&6; }
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12634 $as_echo "no" >&6; }
12639 if test "$GCC" = "yes"; then
12640 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12641 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12642 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12644 $as_echo_n "checking for $ac_word... " >&6; }
12645 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12646 $as_echo_n "(cached) " >&6
12648 case $orig_target_objcopy in
12650 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12654 for as_dir
in `dirname $aros_gcc_objcopy`
12657 test -z "$as_dir" && as_dir
=.
12658 for ac_exec_ext
in '' $ac_executable_extensions; do
12659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12660 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12671 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12672 if test -n "$orig_target_objcopy"; then
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12674 $as_echo "$orig_target_objcopy" >&6; }
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12677 $as_echo "no" >&6; }
12682 if test "$orig_target_objcopy" = ""; then
12683 # Extract the first word of "objcopy", so it can be a program name with args.
12684 set dummy objcopy
; ac_word
=$2
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12686 $as_echo_n "checking for $ac_word... " >&6; }
12687 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12688 $as_echo_n "(cached) " >&6
12690 case $orig_target_objcopy in
12692 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12696 for as_dir
in $PATH
12699 test -z "$as_dir" && as_dir
=.
12700 for ac_exec_ext
in '' $ac_executable_extensions; do
12701 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12702 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12713 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12714 if test -n "$orig_target_objcopy"; then
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12716 $as_echo "$orig_target_objcopy" >&6; }
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12719 $as_echo "no" >&6; }
12726 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12727 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12729 $as_echo_n "checking for $ac_word... " >&6; }
12730 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12731 $as_echo_n "(cached) " >&6
12733 case $orig_target_objcopy in
12735 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12739 for as_dir
in $PATH
12742 test -z "$as_dir" && as_dir
=.
12743 for ac_exec_ext
in '' $ac_executable_extensions; do
12744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12745 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12756 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12757 if test -n "$orig_target_objcopy"; then
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12759 $as_echo "$orig_target_objcopy" >&6; }
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12762 $as_echo "no" >&6; }
12768 if test "$orig_target_objcopy" = ""; then
12769 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12772 if test "${aros_tool_prefix}objdump" = ""; then
12773 if test "$cross_compiling" = "yes" ; then
12774 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12775 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12777 $as_echo_n "checking for $ac_word... " >&6; }
12778 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12779 $as_echo_n "(cached) " >&6
12781 case $orig_target_objdump in
12783 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12787 for as_dir
in $PATH
12790 test -z "$as_dir" && as_dir
=.
12791 for ac_exec_ext
in '' $ac_executable_extensions; do
12792 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12793 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12804 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12805 if test -n "$orig_target_objdump"; then
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12807 $as_echo "$orig_target_objdump" >&6; }
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12810 $as_echo "no" >&6; }
12815 if test "$GCC" = "yes"; then
12816 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12817 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12818 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12820 $as_echo_n "checking for $ac_word... " >&6; }
12821 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12822 $as_echo_n "(cached) " >&6
12824 case $orig_target_objdump in
12826 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12830 for as_dir
in `dirname $aros_gcc_objdump`
12833 test -z "$as_dir" && as_dir
=.
12834 for ac_exec_ext
in '' $ac_executable_extensions; do
12835 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12836 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12847 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12848 if test -n "$orig_target_objdump"; then
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12850 $as_echo "$orig_target_objdump" >&6; }
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12853 $as_echo "no" >&6; }
12858 if test "$orig_target_objdump" = ""; then
12859 # Extract the first word of "objdump", so it can be a program name with args.
12860 set dummy objdump
; ac_word
=$2
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12862 $as_echo_n "checking for $ac_word... " >&6; }
12863 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12864 $as_echo_n "(cached) " >&6
12866 case $orig_target_objdump in
12868 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12872 for as_dir
in $PATH
12875 test -z "$as_dir" && as_dir
=.
12876 for ac_exec_ext
in '' $ac_executable_extensions; do
12877 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12878 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12889 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12890 if test -n "$orig_target_objdump"; then
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12892 $as_echo "$orig_target_objdump" >&6; }
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12895 $as_echo "no" >&6; }
12902 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12903 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12905 $as_echo_n "checking for $ac_word... " >&6; }
12906 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12907 $as_echo_n "(cached) " >&6
12909 case $orig_target_objdump in
12911 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12915 for as_dir
in $PATH
12918 test -z "$as_dir" && as_dir
=.
12919 for ac_exec_ext
in '' $ac_executable_extensions; do
12920 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12921 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12932 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12933 if test -n "$orig_target_objdump"; then
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12935 $as_echo "$orig_target_objdump" >&6; }
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12938 $as_echo "no" >&6; }
12944 if test "$orig_target_objdump" = ""; then
12945 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12949 if test "$kernel_tool_prefix" = "none" ; then
12950 # No kernel tools specified
12951 # Assume target tools == kernel tools with ELF wrapper
12952 aros_kernel_cc
=$orig_target_cc
12953 aros_kernel_cxx
=$orig_target_cxx
12954 aros_kernel_cpp
=$orig_target_cpp
12955 aros_kernel_ld
=$orig_target_ld
12956 aros_kernel_as
=$orig_target_as
12957 aros_kernel_ar
=$orig_target_ar
12958 aros_kernel_ranlib
=$orig_target_ranlib
12959 aros_kernel_nm
=$orig_target_nm
12960 aros_kernel_strip
=$orig_target_strip
12961 aros_kernel_objcopy
=$orig_target_objcopy
12962 aros_kernel_objdump
=$orig_target_objdump
12963 use_kernel_cc_wrapper
=yes
12966 # At this point, all aros_kernel_* and aros_target_*
12967 # tools should be set up correctly
12969 CC
="$aros_kernel_cc $kernel_tool_flags"
12970 CPP
="$aros_kernel_cpp"
12972 #-----------------------------------------------------------------------------
12974 # Disable pointer-signedness warnings if the compiler recognises the option
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12977 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12978 save_cflags
="$CFLAGS"
12979 if test "$crosstools" != "yes" ; then
12980 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12992 if ac_fn_c_try_compile
"$LINENO"; then :
12993 use_no_sign_warning
="yes"
12995 use_no_sign_warning
="no"
12997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12999 # we do know it is supported for the smallest version of gcc we are going to build
13000 # we assume it's also supported by later versions
13001 use_no_sign_warning
=yes
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
13004 $as_echo "$use_no_sign_warning" >&6; }
13005 if test "x-$use_no_sign_warning" = "x-yes" ; then
13006 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
13008 CFLAGS
="$save_cflags"
13010 #-----------------------------------------------------------------------------
13012 # Find all the tools we need to compile. This could be cross-compiling
13013 # though! If that is the case we use the GNU form of the target and
13014 # simply add this to the front of the binary name. This is rather simple,
13015 # but it should work under most circumstances.
13017 # The default tools are to use the same as the host, but only if the
13018 # host and target CPU are the same. With GCC this is normally enough.
13022 aros_shared_ld
="$aros_host_ld"
13024 aros_target_mkdep
="$aros_host_mkdep"
13026 # The default tools executables to be linked to.
13027 if test "$rescomp" != ""; then
13028 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
13029 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13031 $as_echo_n "checking for $ac_word... " >&6; }
13032 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
13033 $as_echo_n "(cached) " >&6
13035 case $aros_kernel_rescomp in
13037 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
13040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13041 for as_dir
in $PATH
13044 test -z "$as_dir" && as_dir
=.
13045 for ac_exec_ext
in '' $ac_executable_extensions; do
13046 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13047 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
13048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13058 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
13059 if test -n "$aros_kernel_rescomp"; then
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
13061 $as_echo "$aros_kernel_rescomp" >&6; }
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13064 $as_echo "no" >&6; }
13068 if test "$aros_kernel_rescomp" = ""; then
13069 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
13073 # Set up the sources for the symlink farm
13074 if test "$crosstools" = "yes"; then
13075 crosstools_target
=tools-crosstools
13078 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
13079 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
13081 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
13082 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
13083 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
13084 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
13085 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
13086 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
13087 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
13089 # aros_cc_pre is a variable that is added to the front of the compiler name
13090 # in the generated aros-gcc shell script. We need this to enable the cache
13091 # to work across cleaned builds. Also, support DISTCC using the correct
13092 # environment variable.
13095 if test "x${DISTCC}" != "x" ; then
13096 if test "x${CCACHE}" != "x" ; then
13097 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
13099 aros_cc_pre
="${DISTCC} "
13102 if test "x${CCACHE}" != "x" ; then
13103 aros_cc_pre
="${CCACHE} "
13107 aros_target_nostdinc_cflags
=-nostdinc
13109 aros_target_nostartup_ldflags
=-nostartfiles
13111 aros_target_nix_ldflags
=-nix
13113 aros_target_detach_ldflags
=-detach
13115 aros_target_nostdlib_ldflags
=-nostdlib
13119 if test "$aros_target_toolchain" != "yes"; then
13120 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
13121 if test "$GCC" = "yes"; then
13122 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
13125 # We do not know which gcc version we are going to build and what we need to know
13126 # here is different for different versions so this will be set later during the
13127 # build of crosstools.
13128 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
13129 aros_target_cc_path
=@aros_target_cc_path@
13131 aros_target_cpp
="${prefix}cpp"
13132 aros_target_cc
="${prefix}gcc"
13133 aros_target_cxx
="${prefix}g++"
13134 aros_target_as
="${prefix}as"
13135 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld"
13136 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
13137 aros_target_objcopy
="${prefix}objcopy"
13138 aros_target_objdump
="${prefix}objdump"
13139 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
13140 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
13141 aros_target_strip
="${prefix}strip"
13142 aros_plain_nm
="${prefix}nm"
13143 aros_plain_ar
="${prefix}ar"
13145 # Check whether --enable-includes was given.
13146 if test "${enable_includes+set}" = set; then :
13147 enableval
=$enable_includes; aros_target_incl
=$enable_includes
13149 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
13153 if test "$aros_kernel_includes" = ""; then
13154 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13155 aros_kernel_includes
="-isystem $aros_target_incl"
13159 if test "$aros_kernel_includes" != "" ; then
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
13161 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
13162 if test "$aros_kernel_cc_includes" = "" ; then
13163 # Try to guess where the directory is.
13164 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
13165 if test -d $aros_kernel_cc_includes; then
13166 # Check if there is also an include-fixed directory and add it
13167 # to kernel compiler's include path as it may contain some of
13168 # the headers we need.
13169 if test -d "$aros_kernel_cc_includes"-fixed; then
13170 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
13172 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
13173 case ${host_cpu} in
13175 host_cpu_glibc
=i386
13178 host_cpu_glibc
=${host_cpu}
13181 if test -d "/usr/include/${host_cpu_glibc}-linux-gnu"; then
13182 aros_kernel_cc_includes
+=" -isystem /usr/include/${host_cpu_glibc}-linux-gnu"
13185 # The directory doesn't exist, we need to do some more work.
13186 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
13188 # These are the headers we're looking for.
13189 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13190 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13194 for h
in $headers; do
13195 # Which other headers are needed by each of the above?
13196 deps
=$
(echo "#include <$h>" | \
13197 $aros_kernel_cc -E -M - 2>/dev
/null | \
13198 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13200 # Copy all the needed headers to a directory beneath gendir.
13203 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13204 sed -n "s,^.*/include\(/.*\),\1,p")
13205 ! test -d $dir && mkdir
-p $dir
13206 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13212 $as_echo "$aros_kernel_cc_includes" >&6; }
13213 # Adding -nostdinc to kernel includes as they are always used together.
13214 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13217 if test "$crosstools" != "yes"; then
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13219 $as_echo_n "checking for the target compiler's include path... " >&6; }
13220 if test "$aros_target_cc_includes" = "" ; then
13221 #try to guess where the directory is
13222 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13223 if ! test -d $aros_target_cc_includes; then
13224 #the directory doesn't exist, we need to do some more work
13225 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13227 #these are the headers we're looking for
13228 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13229 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13233 for h
in $headers; do
13234 #which other headers each of the above headers needs?
13235 deps
=$
(echo "#include <$h>" | \
13236 $orig_target_cc -E -M - 2>/dev
/null | \
13237 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13239 #copy all the needed headers to a directory beneath gendir
13242 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13243 sed -n "s,^.*/include\(/.*\),\1,p")
13244 ! test -d $dir && mkdir
-p $dir
13245 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13251 $as_echo "$aros_target_cc_includes" >&6; }
13253 # We do not know which gcc version we are going to build and what we need to know
13254 # here is different for different versions so this will be set later during the
13255 # build of crosstools.
13256 aros_target_cc_includes
=@aros_target_cc_includes@
13260 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13261 # On GCC >= 4.0 -iquote should be used
13265 save_cflags
="$CFLAGS"
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13268 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13269 if test "x-$crosstools" != "x-yes"; then
13270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13271 /* end confdefs.h. */
13281 if ac_fn_c_try_compile
"$LINENO"; then :
13286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13288 # we do know it is supported for the smallest version of gcc we are going to build
13289 # we assume it's also supported by later versions
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13293 $as_echo "$has_iquote" >&6; }
13294 if test "x-$has_iquote" = "x-yes" ; then
13295 host_cflags_iquote
=-iquote
13296 host_cflags_iquote_end
=
13298 host_cflags_iquote
=-I
13299 host_cflags_iquote_end
=-I-
13301 kernel_cflags_iquote
=$host_cflags_iquote
13302 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13303 if test "x-$cross_compiling" = "x-yes"; then
13304 CC
="$aros_kernel_cc"
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13306 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13307 if test "x-$crosstools" != "x-yes"; then
13308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13309 /* end confdefs.h. */
13319 if ac_fn_c_try_compile
"$LINENO"; then :
13320 use_no_stack_protector
="yes"
13322 use_no_stack_protector
="no"
13324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13326 # we do know it is supported for the smallest version of gcc we are going to build
13327 # we assume it's also supported by later versions
13328 use_no_stack_protector
=yes
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13331 $as_echo "$use_no_stack_protector" >&6; }
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13333 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13334 if test "x-$crosstools" != "x-yes"; then
13335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13336 /* end confdefs.h. */
13346 if ac_fn_c_try_compile
"$LINENO"; then :
13351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13353 # we do know it is supported for the smallest version of gcc we are going to build
13354 # we assume it's also supported by later versions
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13358 $as_echo "$has_iquote" >&6; }
13359 if test "x-$has_iquote" = "x-yes" ; then
13360 kernel_cflags_iquote
=-iquote
13361 kernel_cflags_iquote_end
=
13363 kernel_cflags_iquote
=-I
13364 kernel_cflags_iquote_end
=-I-
13367 aros_cflags_iquote
=$kernel_cflags_iquote
13368 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13369 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13370 CC
="$orig_target_cc"
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13372 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13373 if test "x-$crosstools" != "x-yes"; then
13374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13375 /* end confdefs.h. */
13385 if ac_fn_c_try_compile
"$LINENO"; then :
13390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13392 # we do know it is supported for the smallest version of gcc we are going to build
13393 # we assume it's also supported by later versions
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13397 $as_echo "$has_iquote" >&6; }
13398 if test "x-$has_iquote" = "x-yes" ; then
13399 aros_cflags_iquote
=-iquote
13400 aros_cflags_iquote_end
=
13402 aros_cflags_iquote
=-I
13403 aros_cflags_iquote_end
=-I-
13406 if test "x-$use_no_stack_protector" = "x-yes" ; then
13407 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13411 #-----------------------------------------------------------------------------
13413 # Check if the target compiler supports some options used for delinting:
13414 # -Wunused-but-set-variable
13417 # -Wstrict-overflow
13418 # -Wformat-security
13420 if test "x-$crosstools" != "x-yes"; then
13421 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13422 CC
="$orig_target_cc"
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13425 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13426 CFLAGS
=-Wunused-but-set-variable
13427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13428 /* end confdefs.h. */
13438 if ac_fn_c_try_compile
"$LINENO"; then :
13439 aros_unused_but_set_variable
="yes"
13441 aros_unused_but_set_variable
="no"
13443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13445 $as_echo "$aros_unused_but_set_variable" >&6; }
13446 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13447 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13451 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13452 CFLAGS
=-Warray-bounds
13453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13464 if ac_fn_c_try_compile
"$LINENO"; then :
13465 aros_array_bounds
="yes"
13467 aros_array_bounds
="no"
13469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13471 $as_echo "$aros_array_bounds" >&6; }
13472 if test "x-$aros_array_bounds" = "x-yes" ; then
13473 aros_cflags_array_bounds
=-Wno-array-bounds
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13477 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13478 CFLAGS
=-Wenum-compare
13479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13480 /* end confdefs.h. */
13490 if ac_fn_c_try_compile
"$LINENO"; then :
13491 aros_enum_compare
="yes"
13493 aros_enum_compare
="no"
13495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13497 $as_echo "$aros_enum_compare" >&6; }
13498 if test "x-$aros_enum_compare" = "x-yes" ; then
13499 aros_cflags_enum_compare
=-Wno-enum-compare
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13503 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13504 CFLAGS
=-Wstrict-overflow
13505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13506 /* end confdefs.h. */
13516 if ac_fn_c_try_compile
"$LINENO"; then :
13517 aros_strict_overflow
="yes"
13519 aros_strict_overflow
="no"
13521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13523 $as_echo "$aros_strict_overflow" >&6; }
13524 if test "x-$aros_strict_overflow" = "x-yes" ; then
13525 aros_cflags_strict_overflow
=-Wno-strict-overflow
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13529 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13530 CFLAGS
=-Wformat-security
13531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13532 /* end confdefs.h. */
13542 if ac_fn_c_try_compile
"$LINENO"; then :
13543 aros_format_security
="yes"
13545 aros_format_security
="no"
13547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13549 $as_echo "$aros_format_security" >&6; }
13550 if test "x-$aros_format_security" = "x-yes" ; then
13551 aros_cflags_format_security
=-Wno-format-security
13554 # We do not know which gcc version we are going to build and what we need to know
13555 # here is different for different versions so this will be set later during the
13556 # build of crosstools.
13557 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13558 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13559 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13560 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13561 aros_cflags_format_security
=@aros_cflags_format_security@
13564 #-----------------------------------------------------------------------------
13566 # Check if we can explicitly choose older version of symbol hashing
13568 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13569 CC
="$aros_kernel_cc"
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13571 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13583 if ac_fn_c_try_link
"$LINENO"; then :
13584 use_hash_style
="yes"
13586 use_hash_style
="no"
13588 rm -f core conftest.err conftest.
$ac_objext \
13589 conftest
$ac_exeext conftest.
$ac_ext
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13591 $as_echo "$use_hash_style" >&6; }
13592 if test "x-$use_hash_style" = "x-yes" ; then
13593 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13596 CFLAGS
="$save_cflags"
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13607 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13609 # Check whether --with-resolution was given.
13610 if test "${with_resolution+set}" = set; then :
13611 withval
=$with_resolution; resolution
=$withval
13616 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13617 if test "$resolution" = "yes" ; then
13620 if test "$resolution" = "no" ; then
13623 if test "$resolution" != "none" ; then
13624 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
13625 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
13626 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
13629 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
13630 aros_cv_nominal_width
=$aros_nominal_width
13631 aros_cv_nominal_height
=$aros_nominal_height
13632 aros_cv_nominal_depth
=$aros_nominal_depth
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13635 $as_echo_n "checking if serial debug is enabled... " >&6; }
13637 # Check whether --with-serial-debug was given.
13638 if test "${with_serial_debug+set}" = set; then :
13639 withval
=$with_serial_debug; serial_debug
=$withval
13644 if test "$aros_serial_debug" = 0 ; then
13645 serial_debug_forced
=""
13646 if test "$serial_debug" = "yes" ; then
13649 if test "$serial_debug" = "no" ; then
13650 serial_debug
="none"
13653 serial_debug_forced
="(forced)"
13654 serial_debug
=$aros_serial_debug
13656 if test "$serial_debug" != "none" ; then
13657 aros_serial_debug
=$serial_debug
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13659 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13662 $as_echo "no" >&6; }
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13666 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13667 # Check whether --enable-palm_debug_hack was given.
13668 if test "${enable_palm_debug_hack+set}" = set; then :
13669 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13671 palm_debug_hack
="no"
13674 if test "$palm_debug_hack" = "yes" ; then
13675 aros_palm_debug_hack
="1"
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13678 $as_echo "$palm_debug_hack" >&6; }
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
13681 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
13682 # Check whether --enable-usb30_code was given.
13683 if test "${enable_usb30_code+set}" = set; then :
13684 enableval
=$enable_usb30_code; usb30_code
="yes"
13689 if test "$usb30_code" = "yes" ; then
13690 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
13691 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
13694 $as_echo "$usb30_code" >&6; }
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13697 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13698 # Check whether --enable-nesting_supervisor was given.
13699 if test "${enable_nesting_supervisor+set}" = set; then :
13700 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13702 nesting_supervisor
="no"
13705 if test "$nesting_supervisor" = "yes" ; then
13706 aros_nesting_supervisor
="1"
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13709 $as_echo "$nesting_supervisor" >&6; }
13711 if test "$aros_enable_mmu" = "" ; then
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13713 $as_echo_n "checking if MMU support is enabled... " >&6; }
13714 # Check whether --enable-mmu was given.
13715 if test "${enable_mmu+set}" = set; then :
13716 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13718 aros_enable_mmu
="yes"
13721 if test "$aros_enable_mmu" = "" ; then
13722 aros_enable_mmu
="yes"
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13725 $as_echo "$aros_enable_mmu" >&6; }
13727 if test "$aros_enable_mmu" = "no" ; then
13728 aros_enable_mmu
="0"
13730 aros_enable_mmu
="1"
13734 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13736 if test "x-$need_dlopen" != "x-no" ; then
13739 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13740 if test "x$ac_cv_func_dlopen" = xyes
; then :
13746 if test "x-$have_dl" = "x-no" ; then
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13748 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13749 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13750 $as_echo_n "(cached) " >&6
13752 ac_check_lib_save_LIBS
=$LIBS
13754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13757 /* Override any GCC internal prototype to avoid an error.
13758 Use char because int might match the return type of a GCC
13759 builtin and then its argument prototype would still apply. */
13772 if ac_fn_c_try_link
"$LINENO"; then :
13773 ac_cv_lib_dl_dlopen
=yes
13775 ac_cv_lib_dl_dlopen
=no
13777 rm -f core conftest.err conftest.
$ac_objext \
13778 conftest
$ac_exeext conftest.
$ac_ext
13779 LIBS
=$ac_check_lib_save_LIBS
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13782 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13783 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13785 aros_host_ldflags
="$aros_host_ldflags -ldl"
13791 if test "x-$have_dl" = "x-no" ; then
13792 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13798 # Check whether --enable-x11_hidd was given.
13799 if test "${enable_x11_hidd+set}" = set; then :
13800 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13802 x11_hidd
="$need_x11"
13805 case "x-$x11_hidd" in
13806 x-yes|x-no|x-auto
) ;;
13807 *) x11_hidd
="$need_x11" ;;
13812 if test "x-$x11_hidd" != "x-no" ; then
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13815 $as_echo_n "checking for X... " >&6; }
13818 # Check whether --with-x was given.
13819 if test "${with_x+set}" = set; then :
13823 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13824 if test "x$with_x" = xno
; then
13825 # The user explicitly disabled X.
13828 case $x_includes,$x_libraries in #(
13829 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13830 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13831 $as_echo_n "(cached) " >&6
13833 # One or both of the vars are not set, and there is no cached value.
13834 ac_x_includes
=no ac_x_libraries
=no
13835 rm -f -r conftest.dir
13836 if mkdir conftest.dir
; then
13838 cat >Imakefile
<<'_ACEOF'
13840 @echo incroot='${INCROOT}'
13842 @echo usrlibdir='${USRLIBDIR}'
13844 @echo libdir='${LIBDIR}'
13846 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13847 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13848 for ac_var
in incroot usrlibdir libdir
; do
13849 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13851 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13852 for ac_extension
in a so sl dylib la dll
; do
13853 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13854 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13855 ac_im_usrlibdir
=$ac_im_libdir; break
13858 # Screen out bogus values from the imake configuration. They are
13859 # bogus both because they are the default anyway, and because
13860 # using them would break gcc on systems where it needs fixed includes.
13861 case $ac_im_incroot in
13862 /usr
/include
) ac_x_includes
= ;;
13863 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13865 case $ac_im_usrlibdir in
13866 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13867 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13871 rm -f -r conftest.dir
13874 # Standard set of common directories for X headers.
13875 # Check X11 before X11Rn because it is often a symlink to the current release.
13889 /usr/local/X11/include
13890 /usr/local/X11R7/include
13891 /usr/local/X11R6/include
13892 /usr/local/X11R5/include
13893 /usr/local/X11R4/include
13895 /usr/local/include/X11
13896 /usr/local/include/X11R7
13897 /usr/local/include/X11R6
13898 /usr/local/include/X11R5
13899 /usr/local/include/X11R4
13903 /usr/XFree86/include/X11
13907 /usr/unsupported/include
13908 /usr/athena/include
13909 /usr/local/x11r5/include
13910 /usr/lpp/Xamples/include
13912 /usr/openwin/include
13913 /usr/openwin/share/include'
13915 if test "$ac_x_includes" = no
; then
13916 # Guess where to find include files, by looking for Xlib.h.
13917 # First, try using that file with no special directory specified.
13918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13920 #include <X11/Xlib.h>
13922 if ac_fn_c_try_cpp
"$LINENO"; then :
13923 # We can compile using X headers with no special include directory.
13926 for ac_dir
in $ac_x_header_dirs; do
13927 if test -r "$ac_dir/X11/Xlib.h"; then
13928 ac_x_includes
=$ac_dir
13933 rm -f conftest.err conftest.i conftest.
$ac_ext
13934 fi # $ac_x_includes = no
13936 if test "$ac_x_libraries" = no
; then
13937 # Check for the libraries.
13938 # See if we find them without any special options.
13939 # Don't add to $LIBS permanently.
13942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13943 /* end confdefs.h. */
13944 #include <X11/Xlib.h>
13953 if ac_fn_c_try_link
"$LINENO"; then :
13955 # We can link X programs with no special library path.
13959 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13961 # Don't even attempt the hair of trying to link an X program!
13962 for ac_extension
in a so sl dylib la dll
; do
13963 if test -r "$ac_dir/libX11.$ac_extension"; then
13964 ac_x_libraries
=$ac_dir
13970 rm -f core conftest.err conftest.
$ac_objext \
13971 conftest
$ac_exeext conftest.
$ac_ext
13972 fi # $ac_x_libraries = no
13974 case $ac_x_includes,$ac_x_libraries in #(
13975 no
,* |
*,no |
*\'*)
13976 # Didn't find X, or a directory has "'" in its name.
13977 ac_cv_have_x
="have_x=no";; #(
13979 # Record where we found X for the cache.
13980 ac_cv_have_x
="have_x=yes\
13981 ac_x_includes='$ac_x_includes'\
13982 ac_x_libraries='$ac_x_libraries'"
13988 eval "$ac_cv_have_x"
13991 if test "$have_x" != yes; then
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13993 $as_echo "$have_x" >&6; }
13996 # If each of the values was on the command line, it overrides each guess.
13997 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13998 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13999 # Update the cache value to reflect the command line values.
14000 ac_cv_have_x
="have_x=yes\
14001 ac_x_includes='$x_includes'\
14002 ac_x_libraries='$x_libraries'"
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14004 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
14009 for path
in $x_libraries
14011 x_cflags
="$x_cflags -L$path"
14014 for path
in $x_includes
14016 x_cflags
="$x_cflags -I$path"
14019 if test "x-$no_x" = "x-yes" ; then
14021 if test "x-$x11_hidd" != "x-auto" ; then
14022 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
14026 unixgfx_hidd_target
=kernel-x11gfx
14029 # Check whether --enable-x11_shm was given.
14030 if test "${enable_x11_shm+set}" = set; then :
14031 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
14033 x11_hidd_shm
="auto"
14036 case "x-$x11_hidd_shm" in
14037 x-yes|x-no|x-auto
) ;;
14038 *) x11_hidd_shm
="auto" ;;
14043 if test "x-$x11_hidd_shm" != "x-no" ; then
14045 for ac_header
in sys
/ipc.h
14047 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
14048 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
14049 cat >>confdefs.h
<<_ACEOF
14050 #define HAVE_SYS_IPC_H 1
14057 for ac_header
in sys
/shm.h
14059 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
14060 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
14061 cat >>confdefs.h
<<_ACEOF
14062 #define HAVE_SYS_SHM_H 1
14070 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
14072 save_cflags
="$CFLAGS"
14073 CFLAGS
="$CFLAGS $x_cflags"
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14075 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
14076 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
14077 $as_echo_n "(cached) " >&6
14079 ac_check_lib_save_LIBS
=$LIBS
14080 LIBS
="-lXext $LIBS"
14081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14084 /* Override any GCC internal prototype to avoid an error.
14085 Use char because int might match the return type of a GCC
14086 builtin and then its argument prototype would still apply. */
14090 char XShmQueryExtension ();
14094 return XShmQueryExtension ();
14099 if ac_fn_c_try_link
"$LINENO"; then :
14100 ac_cv_lib_Xext_XShmQueryExtension
=yes
14102 ac_cv_lib_Xext_XShmQueryExtension
=no
14104 rm -f core conftest.err conftest.
$ac_objext \
14105 conftest
$ac_exeext conftest.
$ac_ext
14106 LIBS
=$ac_check_lib_save_LIBS
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14109 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14110 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
14114 CFLAGS
="$save_cflags"
14118 if test "x-$have_xshm" = "x-yes" ; then
14119 DO_XSHM_SUPPORT
="1"
14120 elif test "x-$x11_hidd_shm" = "x-yes" ; then
14121 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
14123 DO_XSHM_SUPPORT
="0"
14127 # Check whether --enable-x11_vidmode was given.
14128 if test "${enable_x11_vidmode+set}" = set; then :
14129 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
14131 x11_hidd_vidmode
="auto"
14134 case "x-$x11_hidd_vidmode" in
14135 x-yes|x-no|x-auto
) ;;
14136 *) x11_hidd_vidmode
="auto" ;;
14141 if test "x-$x11_hidd_vidmode" != "x-no" ; then
14143 save_cflags
="$CFLAGS"
14144 CFLAGS
="$CFLAGS $x_cflags"
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
14146 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
14147 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
14148 $as_echo_n "(cached) " >&6
14150 ac_check_lib_save_LIBS
=$LIBS
14151 LIBS
="-lXxf86vm $LIBS"
14152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14155 /* Override any GCC internal prototype to avoid an error.
14156 Use char because int might match the return type of a GCC
14157 builtin and then its argument prototype would still apply. */
14161 char XF86VidModeQueryExtension ();
14165 return XF86VidModeQueryExtension ();
14170 if ac_fn_c_try_link
"$LINENO"; then :
14171 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
14173 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
14175 rm -f core conftest.err conftest.
$ac_objext \
14176 conftest
$ac_exeext conftest.
$ac_ext
14177 LIBS
=$ac_check_lib_save_LIBS
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
14180 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
14181 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
14185 CFLAGS
="$save_cflags"
14188 if test "x-$have_vidmode" = "x-yes" ; then
14189 DO_VIDMODE_SUPPORT
="1"
14190 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
14191 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
14193 DO_VIDMODE_SUPPORT
="0"
14197 aros_host_x11_includes
=$x_includes
14198 aros_host_x11_libdirs
=$x_libraries
14202 # Check whether --enable-sdl_hidd was given.
14203 if test "${enable_sdl_hidd+set}" = set; then :
14204 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
14209 case "x-$sdl_hidd" in
14210 x-yes|x-no|x-auto
) ;;
14211 *) sdl_hidd
="auto" ;;
14214 if test "x-$sdl_hidd" != "x-no" ; then
14217 # Check whether --with-sdl-prefix was given.
14218 if test "${with_sdl_prefix+set}" = set; then :
14219 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
14225 # Check whether --with-sdl-exec-prefix was given.
14226 if test "${with_sdl_exec_prefix+set}" = set; then :
14227 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
14232 # Check whether --enable-sdltest was given.
14233 if test "${enable_sdltest+set}" = set; then :
14234 enableval
=$enable_sdltest;
14240 if test x
$sdl_exec_prefix != x
; then
14241 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14242 if test x
${SDL_CONFIG+set} != xset
; then
14243 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14246 if test x
$sdl_prefix != x
; then
14247 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14248 if test x
${SDL_CONFIG+set} != xset
; then
14249 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14253 as_save_PATH
="$PATH"
14254 if test "x$prefix" != xNONE
; then
14255 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14257 # Extract the first word of "sdl-config", so it can be a program name with args.
14258 set dummy sdl-config
; ac_word
=$2
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14260 $as_echo_n "checking for $ac_word... " >&6; }
14261 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14262 $as_echo_n "(cached) " >&6
14264 case $SDL_CONFIG in
14266 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14270 for as_dir
in $PATH
14273 test -z "$as_dir" && as_dir
=.
14274 for ac_exec_ext
in '' $ac_executable_extensions; do
14275 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14276 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14284 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14288 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14289 if test -n "$SDL_CONFIG"; then
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14291 $as_echo "$SDL_CONFIG" >&6; }
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14294 $as_echo "no" >&6; }
14298 PATH
="$as_save_PATH"
14299 min_sdl_version
=1.2.10
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14301 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14303 if test "$SDL_CONFIG" = "no" ; then
14306 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14307 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14309 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14310 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14311 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14312 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14313 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14314 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14315 if test "x$enable_sdltest" = "xyes" ; then
14316 ac_save_CFLAGS
="$CFLAGS"
14317 ac_save_CXXFLAGS
="$CXXFLAGS"
14318 ac_save_LIBS
="$LIBS"
14319 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14320 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14321 LIBS
="$LIBS $SDL_LIBS"
14323 if test "$cross_compiling" = yes; then :
14324 echo $ac_n "cross compiling; assumed OK... $ac_c"
14326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14327 /* end confdefs.h. */
14330 #include <stdlib.h>
14331 #include <string.h>
14335 my_strdup (char *str)
14341 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14342 strcpy (new_str, str);
14350 int main (int argc, char *argv[])
14352 int major, minor, micro;
14355 /* This hangs on some systems (?)
14356 system ("touch conf.sdltest");
14358 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14360 /* HP/UX 9 (%@#!) writes to sscanf strings */
14361 tmp_version = my_strdup("$min_sdl_version");
14362 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14363 printf("%s, bad version string\n", "$min_sdl_version");
14367 if (($sdl_major_version > major) ||
14368 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14369 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14375 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14376 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14377 printf("*** best to upgrade to the required version.\n");
14378 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14379 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14380 printf("*** config.cache before re-running configure\n");
14387 if ac_fn_c_try_run
"$LINENO"; then :
14392 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14393 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14396 CFLAGS
="$ac_save_CFLAGS"
14397 CXXFLAGS
="$ac_save_CXXFLAGS"
14398 LIBS
="$ac_save_LIBS"
14401 if test "x$no_sdl" = x
; then
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14403 $as_echo "yes" >&6; }
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14407 $as_echo "no" >&6; }
14408 if test "$SDL_CONFIG" = "no" ; then
14409 echo "*** The sdl-config script installed by SDL could not be found"
14410 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14411 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14412 echo "*** full path to sdl-config."
14414 if test -f conf.sdltest
; then
14417 echo "*** Could not run SDL test program, checking why..."
14418 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14419 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14420 LIBS
="$LIBS $SDL_LIBS"
14421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14427 int main(int argc, char *argv[])
14430 #define main K_and_R_C_main
14440 if ac_fn_c_try_link
"$LINENO"; then :
14441 echo "*** The test program compiled, but did not run. This usually means"
14442 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14443 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14444 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14445 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14446 echo "*** is required on your system"
14448 echo "*** If you have an old version installed, it is best to remove it, although"
14449 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14451 echo "*** The test program failed to compile or link. See the file config.log for the"
14452 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14453 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14454 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14456 rm -f core conftest.err conftest.
$ac_objext \
14457 conftest
$ac_exeext conftest.
$ac_ext
14458 CFLAGS
="$ac_save_CFLAGS"
14459 CXXFLAGS
="$ac_save_CXXFLAGS"
14460 LIBS
="$ac_save_LIBS"
14472 if test "x-$have_sdl" != "x-yes" ; then
14474 if test "x-$sdl_hidd" != "x-auto" ; then
14475 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14479 sdl_hidd_target
=kernel-hidd-sdl
14480 aros_host_sdl_cflags
=SDL_CFLAGS
14481 aros_host_sdl_libs
=SDL_LIBS
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14489 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14490 # Check whether --enable-dbus was given.
14491 if test "${enable_dbus+set}" = set; then :
14492 enableval
=$enable_dbus; dbus
="yes"
14497 if test "$dbus" = "yes" ; then
14499 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14500 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14501 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14502 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14507 $as_echo "$dbus" >&6; }
14509 if test "$use_kernel_cc_wrapper" = "yes" ; then
14510 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14526 # Compatability with other Amiga-like operation systems
14627 # Delinting target compiler flags
14650 # Native version related
14654 # Palm native version related
14657 # Unix/Hosted version related
14663 # Apple iOS related
14668 # ARM default GCC target related
14696 # Collect-aros stuff: "-ius" to ignore undefined symbols
14699 # C compiler related
14704 #ObjC compiler related
14713 case "$aros_flavour" in
14714 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14715 aros_flavour
="emulation" ;;
14716 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14717 aros_flavour
="emulation" ;;
14718 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14719 aros_flavour
="standalone";;
14720 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14721 aros_flavour
="standalone";;
14722 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14723 aros_flavour
="native" ;;
14724 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14725 aros_flavour
="native" ;;
14726 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14727 aros_flavour
="linklib" ;;
14728 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14729 aros_flavour
="palmnative" ;;
14730 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14731 aros_flavour
="mac68knative" ;;
14732 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14733 aros_flavour
="ppcnative" ;;
14736 if test ! -d ${aros_inc_dir} ; then
14737 ${MKDIR} ${aros_inc_dir}
14739 if test ! -d ${aros_geninc_dir} ; then
14740 ${MKDIR} ${aros_geninc_dir}
14742 if test ! -d ${aros_hostcfg_dir} ; then
14743 ${MKDIR} ${aros_hostcfg_dir}
14745 if test ! -d ${aros_targetcfg_dir} ; then
14746 ${MKDIR} ${aros_targetcfg_dir}
14748 if test ! -d ${aros_tools_dir} ; then
14749 ${MKDIR} ${aros_tools_dir}
14751 if test ! -d ${aros_scripts_dir} ; then
14752 ${MKDIR} ${aros_scripts_dir}
14755 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14758 # Generic build tools (metamake, etc)
14759 ac_config_commands
="$ac_config_commands genmf-executable-support"
14761 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"
14765 ac_config_commands
="$ac_config_commands binutils-support"
14767 ac_config_files
="$ac_config_files ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in"
14770 # Bare Elf support script and spec
14771 if test "${use_kernel_cc_wrapper}" = "yes"; then
14772 ac_config_commands
="$ac_config_commands elf-compiler-support"
14774 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"
14778 # Host compiler support scripts and spec
14779 if test "${aros_target_toolchain}" = "no"; then
14780 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
14782 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"
14787 if test "$aros_target_variant" == "android"; then
14788 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
14793 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
14796 cat >confcache
<<\_ACEOF
14797 # This file is a shell script that caches the results of configure
14798 # tests run on this system so they can be shared between configure
14799 # scripts and configure runs, see configure's option --config-cache.
14800 # It is not useful on other systems. If it contains results you don't
14801 # want to keep, you may remove or edit it.
14803 # config.status only pays attention to the cache file if you give it
14804 # the --recheck option to rerun configure.
14806 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14807 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14808 # following values.
14812 # The following way of writing the cache mishandles newlines in values,
14813 # but we know of no workaround that is simple, portable, and efficient.
14814 # So, we kill variables containing newlines.
14815 # Ultrix sh set writes to stderr and can't be redirected directly,
14816 # and sets the high bit in the cache file unless we assign to the vars.
14818 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14819 eval ac_val
=\$
$ac_var
14823 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14824 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14827 _ | IFS | as_nl
) ;; #(
14828 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14829 *) { eval $ac_var=; unset $ac_var;} ;;
14835 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14836 *${as_nl}ac_space
=\
*)
14837 # `set' does not quote correctly, so add quotes: double-quote
14838 # substitution turns \\\\ into \\, and sed turns \\ into \.
14841 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14844 # `set' quotes correctly as required by POSIX, so do not add quotes.
14845 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14854 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14856 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14858 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14859 if test -w "$cache_file"; then
14860 if test "x$cache_file" != "x/dev/null"; then
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14862 $as_echo "$as_me: updating cache $cache_file" >&6;}
14863 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14864 cat confcache
>"$cache_file"
14866 case $cache_file in #(
14868 mv -f confcache
"$cache_file"$$
&&
14869 mv -f "$cache_file"$$
"$cache_file" ;; #(
14871 mv -f confcache
"$cache_file" ;;
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14877 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14882 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14883 # Let make expand exec_prefix.
14884 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14886 DEFS
=-DHAVE_CONFIG_H
14891 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14892 # 1. Remove the extension, and $U if already installed.
14893 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14894 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14895 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14896 # will be set to the directory where LIBOBJS objects are built.
14897 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14898 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14900 LIBOBJS
=$ac_libobjs
14902 LTLIBOBJS
=$ac_ltlibobjs
14906 : "${CONFIG_STATUS=./config.status}"
14908 ac_clean_files_save
=$ac_clean_files
14909 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14911 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14913 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14915 # Generated by $as_me.
14916 # Run this file to recreate the current configuration.
14917 # Compiler output produced by configure, useful for debugging
14918 # configure, is in config.log if it exists.
14921 ac_cs_recheck=false
14924 SHELL=\${CONFIG_SHELL-$SHELL}
14927 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14928 ## -------------------- ##
14929 ## M4sh Initialization. ##
14930 ## -------------------- ##
14932 # Be more Bourne compatible
14933 DUALCASE
=1; export DUALCASE
# for MKS sh
14934 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14937 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14938 # is contrary to our usage. Disable this feature.
14939 alias -g '${1+"$@"}'='"$@"'
14940 setopt NO_GLOB_SUBST
14942 case `(set -o) 2>/dev/null` in #(
14954 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14955 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14956 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14957 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14958 # Prefer a ksh shell builtin over an external printf program on Solaris,
14959 # but without wasting forks for bash or zsh.
14960 if test -z "$BASH_VERSION$ZSH_VERSION" \
14961 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14962 as_echo='print
-r --'
14963 as_echo_n='print
-rn --'
14964 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14965 as_echo='printf %s
\n'
14966 as_echo_n='printf %s
'
14968 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14969 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14970 as_echo_n='/usr
/ucb
/echo -n'
14972 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14973 as_echo_n_body='eval
14977 expr "X$arg" : "X\\(.*\\)$as_nl";
14978 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14980 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14982 export as_echo_n_body
14983 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14985 export as_echo_body
14986 as_echo='sh
-c $as_echo_body as_echo
'
14989 # The user is always right.
14990 if test "${PATH_SEPARATOR+set}" != set; then
14992 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14993 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15000 # We need space, tab and new line, in precisely that order. Quoting is
15001 # there to prevent editors from complaining about space-tab.
15002 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15003 # splitting by setting IFS to empty value.)
15006 # Find who we are. Look in the path if we contain no directory separator.
15009 *[\\/]* ) as_myself=$0 ;;
15010 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15011 for as_dir in $PATH
15014 test -z "$as_dir" && as_dir=.
15015 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15021 # We did not find ourselves, most probably we were run as `sh COMMAND'
15022 # in which case we are not to be found in the path.
15023 if test "x$as_myself" = x
; then
15026 if test ! -f "$as_myself"; then
15027 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15031 # Unset variables that we do not need and which cause bugs (e.g. in
15032 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15033 # suppresses any "Segmentation fault" message there. '((' could
15034 # trigger a bug in pdksh 5.2.14.
15035 for as_var
in BASH_ENV ENV MAIL MAILPATH
15036 do eval test x\
${$as_var+set} = xset \
15037 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15050 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15053 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15054 # ----------------------------------------
15055 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15056 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15057 # script with STATUS, using 1 if that was 0.
15060 as_status
=$1; test $as_status -eq 0 && as_status
=1
15062 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15063 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15065 $as_echo "$as_me: error: $2" >&2
15066 as_fn_exit
$as_status
15070 # as_fn_set_status STATUS
15071 # -----------------------
15072 # Set $? to STATUS, without forking.
15073 as_fn_set_status
()
15076 } # as_fn_set_status
15078 # as_fn_exit STATUS
15079 # -----------------
15080 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15084 as_fn_set_status
$1
15090 # Portably unset VAR.
15093 { eval $1=; unset $1;}
15095 as_unset
=as_fn_unset
15096 # as_fn_append VAR VALUE
15097 # ----------------------
15098 # Append the text in VALUE to the end of the definition contained in VAR. Take
15099 # advantage of any shell optimizations that allow amortized linear growth over
15100 # repeated appends, instead of the typical quadratic growth present in naive
15102 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15103 eval 'as_fn_append ()
15114 # as_fn_arith ARG...
15115 # ------------------
15116 # Perform arithmetic evaluation on the ARGs, and store the result in the
15117 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15118 # must be portable across $(()) and expr.
15119 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15120 eval 'as_fn_arith ()
15127 as_val
=`expr "$@" || test $? -eq 1`
15132 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15133 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15139 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15140 as_basename
=basename
15145 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15151 as_me
=`$as_basename -- "$0" ||
15152 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15153 X"$0" : 'X\(//\)$' \| \
15154 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15156 sed '/^.*\/\([^/][^/]*\)\/*$/{
15170 # Avoid depending upon Character Ranges.
15171 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15172 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15173 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15174 as_cr_digits
='0123456789'
15175 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15177 ECHO_C
= ECHO_N
= ECHO_T
=
15178 case `echo -n x` in #(((((
15180 case `echo 'xy\c'` in
15181 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15183 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15190 rm -f conf$$ conf$$.exe conf$$.
file
15191 if test -d conf$$.dir
; then
15192 rm -f conf$$.dir
/conf$$.
file
15195 mkdir conf$$.dir
2>/dev
/null
15197 if (echo >conf$$.
file) 2>/dev
/null
; then
15198 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15200 # ... but there are two gotchas:
15201 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15202 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15203 # In both cases, we have to default to `cp -pR'.
15204 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15206 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15214 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15215 rmdir conf$$.dir
2>/dev
/null
15220 # Create "$as_dir" as a directory, including parents if necessary.
15225 -*) as_dir
=.
/$as_dir;;
15227 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15231 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15232 *) as_qdir
=$as_dir;;
15234 as_dirs
="'$as_qdir' $as_dirs"
15235 as_dir
=`$as_dirname -- "$as_dir" ||
15236 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15237 X"$as_dir" : 'X\(//\)[^/]' \| \
15238 X"$as_dir" : 'X\(//\)$' \| \
15239 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15240 $as_echo X"$as_dir" |
15241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15245 /^X\(\/\/\)[^/].*/{
15258 test -d "$as_dir" && break
15260 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15261 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15265 if mkdir
-p .
2>/dev
/null
; then
15266 as_mkdir_p
='mkdir -p "$as_dir"'
15268 test -d .
/-p && rmdir .
/-p
15273 # as_fn_executable_p FILE
15274 # -----------------------
15275 # Test if FILE is an executable regular file.
15276 as_fn_executable_p
()
15278 test -f "$1" && test -x "$1"
15279 } # as_fn_executable_p
15280 as_test_x
='test -x'
15281 as_executable_p
=as_fn_executable_p
15283 # Sed expression to map a string onto a valid CPP name.
15284 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15286 # Sed expression to map a string onto a valid variable name.
15287 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15291 ## ----------------------------------- ##
15292 ## Main body of $CONFIG_STATUS script. ##
15293 ## ----------------------------------- ##
15295 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15298 # Save the log message, to keep $0 and so on meaningful, and to
15299 # report actual input values of CONFIG_FILES etc. instead of their
15300 # values after options handling.
15302 This file was extended by $as_me, which was
15303 generated by GNU Autoconf 2.69. Invocation command line was
15305 CONFIG_FILES = $CONFIG_FILES
15306 CONFIG_HEADERS = $CONFIG_HEADERS
15307 CONFIG_LINKS = $CONFIG_LINKS
15308 CONFIG_COMMANDS = $CONFIG_COMMANDS
15311 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15316 case $ac_config_files in *"
15317 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15320 case $ac_config_headers in *"
15321 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15326 # Files that config.status was made for.
15327 config_files="$ac_config_files"
15328 config_headers="$ac_config_headers"
15329 config_commands="$ac_config_commands"
15333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15335 \`$as_me' instantiates files and other configuration actions
15336 from templates according to the current configuration. Unless the files
15337 and actions are specified as TAGs, all are instantiated by default.
15339 Usage: $0 [OPTION]... [TAG]...
15341 -h, --help print this help, then exit
15342 -V, --version print version number and configuration settings, then exit
15343 --config print configuration, then exit
15344 -q, --quiet, --silent
15345 do not print progress messages
15346 -d, --debug don't remove temporary files
15347 --recheck update $as_me by reconfiguring in the same conditions
15348 --file=FILE[:TEMPLATE]
15349 instantiate the configuration file FILE
15350 --header=FILE[:TEMPLATE]
15351 instantiate the configuration header FILE
15353 Configuration files:
15356 Configuration headers:
15359 Configuration commands:
15362 Report bugs to the package provider."
15365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15366 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15369 configured by $0, generated by GNU Autoconf 2.69,
15370 with options \\"\$ac_cs_config\\"
15372 Copyright (C) 2012 Free Software Foundation, Inc.
15373 This config.status script is free software; the Free Software Foundation
15374 gives unlimited permission to copy, distribute and modify it."
15378 test -n "\$AWK" || AWK=awk
15381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15382 # The default lists apply if the user does not specify any file.
15388 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15389 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15393 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15405 # Handling of the options.
15406 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15408 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15409 $as_echo "$ac_cs_version"; exit ;;
15410 --config |
--confi |
--conf |
--con |
--co |
--c )
15411 $as_echo "$ac_cs_config"; exit ;;
15412 --debug |
--debu |
--deb |
--de |
--d |
-d )
15414 --file |
--fil |
--fi |
--f )
15417 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15418 '') as_fn_error $?
"missing file argument" ;;
15420 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15421 ac_need_defaults
=false
;;
15422 --header |
--heade |
--head |
--hea )
15425 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15427 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15428 ac_need_defaults
=false
;;
15430 # Conflict between --help and --header
15431 as_fn_error $?
"ambiguous option: \`$1'
15432 Try \`$0 --help' for more information.";;
15433 --help |
--hel |
-h )
15434 $as_echo "$ac_cs_usage"; exit ;;
15435 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15436 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15439 # This is an error.
15440 -*) as_fn_error $?
"unrecognized option: \`$1'
15441 Try \`$0 --help' for more information." ;;
15443 *) as_fn_append ac_config_targets
" $1"
15444 ac_need_defaults
=false
;;
15450 ac_configure_extra_args
=
15452 if $ac_cs_silent; then
15454 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15459 if \$ac_cs_recheck; then
15460 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15462 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15463 CONFIG_SHELL='$SHELL'
15464 export CONFIG_SHELL
15469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15473 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15474 ## Running $as_me. ##
15480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15484 aros_tools_dir=${aros_tools_dir}
15487 aros_host_exe_suffix=${aros_host_exe_suffix}
15488 aros_tools_dir=${aros_tools_dir}
15489 aros_target_cpu=${aros_target_cpu}
15490 aros_target_arch=${aros_target_arch}
15491 aros_target_suffix=${aros_target_suffix}
15492 orig_target_nm=${orig_target_nm}
15493 orig_target_as=${orig_target_as}
15494 orig_target_ar=${orig_target_ar}
15495 orig_target_ranlib=${orig_target_ranlib}
15496 orig_target_objdump=${orig_target_objdump}
15497 orig_target_objcopy=${orig_target_objcopy}
15498 orig_target_strip=${orig_target_strip}
15499 aros_kernel_ld=${aros_kernel_ld}
15503 aros_host_exe_suffix=${aros_host_exe_suffix}
15504 aros_tools_dir=${aros_tools_dir}
15505 aros_target_cpu=${aros_target_cpu}
15506 aros_target_arch=${aros_target_arch}
15507 aros_target_suffix=${aros_target_suffix}
15508 aros_kernel_ld=${aros_kernel_ld}
15512 aros_host_exe_suffix=${aros_host_exe_suffix}
15513 aros_tools_dir=${aros_tools_dir}
15514 aros_target_cpu=${aros_target_cpu}
15515 aros_target_arch=${aros_target_arch}
15516 aros_target_suffix=${aros_target_suffix}
15522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15524 # Handling of arguments.
15525 for ac_config_target
in $ac_config_targets
15527 case $ac_config_target in
15528 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15529 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
15530 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15531 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15532 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15533 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15534 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15535 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15536 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15537 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15538 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15539 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15540 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
15541 "${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" ;;
15542 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
15543 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15544 "${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" ;;
15545 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
15546 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15547 "${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" ;;
15548 "${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" ;;
15549 "${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" ;;
15550 "${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" ;;
15551 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
15553 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15558 # If the user did not use the arguments to specify the items to instantiate,
15559 # then the envvar interface is used. Set only those that are not.
15560 # We use the long form for the default assignment because of an extremely
15561 # bizarre bug on SunOS 4.1.3.
15562 if $ac_need_defaults; then
15563 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15564 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15565 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15568 # Have a temporary directory for convenience. Make it in the build tree
15569 # simply because there is no reason against having it here, and in addition,
15570 # creating and moving files from /tmp can sometimes cause problems.
15571 # Hook for its removal unless debugging.
15572 # Note that there is a small window in which the directory will not be cleaned:
15573 # after its creation but before its name has been assigned to `$tmp'.
15577 trap 'exit_status=$?
15578 : "${ac_tmp:=$tmp}"
15579 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15581 trap 'as_fn_exit 1' 1 2 13 15
15583 # Create a (secure) tmp directory for tmp files.
15586 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15590 tmp
=.
/conf$$
-$RANDOM
15591 (umask 077 && mkdir
"$tmp")
15592 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15595 # Set up the scripts for CONFIG_FILES section.
15596 # No need to generate them if there are no CONFIG_FILES.
15597 # This happens for instance with `./config.status config.h'.
15598 if test -n "$CONFIG_FILES"; then
15601 ac_cr
=`echo X | tr X '\015'`
15602 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15603 # But we know of no other shell where ac_cr would be empty at this
15604 # point, so we can use a bashism as a fallback.
15605 if test "x$ac_cr" = x
; then
15606 eval ac_cr
=\$
\'\\r
\'
15608 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15609 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15612 ac_cs_awk_cr
=$ac_cr
15615 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15620 echo "cat >conf$$subs.awk <<_ACEOF" &&
15621 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15623 } >conf$$subs.sh ||
15624 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15625 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15627 for ac_last_try in false false false false false :; do
15628 . ./conf$$subs.sh ||
15629 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15631 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15632 if test $ac_delim_n = $ac_delim_num; then
15634 elif $ac_last_try; then
15635 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15637 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15640 rm -f conf$$subs.sh
15642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15643 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15647 s/^/S["/; s
/!.
*/"]=/
15657 s/\(.\{148\}\)..*/\1/
15659 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15664 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15671 s/\(.\{148\}\)..*/\1/
15673 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15677 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15682 ' <conf$$subs.awk | sed '
15687 ' >>$CONFIG_STATUS || ac_write_fail=1
15688 rm -f conf$$subs.awk
15689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15691 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15692 for (key in S) S_is_set[key] = 1
15698 nfields = split(line, field, "@
")
15700 len = length(field[1])
15701 for (i = 2; i < nfields; i++) {
15703 keylen = length(key)
15704 if (S_is_set[key]) {
15706 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15707 len += length(value) + length(field[++i])
15718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15719 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15720 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15723 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15724 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15727 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15728 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15729 # trailing colons and then remove the whole line if VPATH becomes empty
15730 # (actually we leave an empty line to preserve line numbers).
15731 if test "x
$srcdir" = x.; then
15732 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15751 fi # test -n "$CONFIG_FILES"
15753 # Set up the scripts for CONFIG_HEADERS section.
15754 # No need to generate them if there are no CONFIG_HEADERS.
15755 # This happens for instance with `./config.status Makefile'.
15756 if test -n "$CONFIG_HEADERS"; then
15757 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15761 # Transform confdefs.h into an awk script `defines.awk', embedded as
15762 # here-document in config.status, that substitutes the proper values into
15763 # config.h.in to produce config.h.
15765 # Create a delimiter string that does not exist in confdefs.h, to ease
15766 # handling of long lines.
15768 for ac_last_try in false false :; do
15769 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15770 if test -z "$ac_tt"; then
15772 elif $ac_last_try; then
15773 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15775 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15779 # For the awk script, D is an array of macro values keyed by name,
15780 # likewise P contains macro parameters if any. Preserve backslash
15781 # newline sequences.
15783 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15785 s/.\{148\}/&'"$ac_delim"'/g
15788 s/^[ ]*#[ ]*define[ ][ ]*/ /
15795 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15797 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15801 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15802 D["\
1"]=" \
3\\\\\\n
"\\/p
15804 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15809 s/.\{148\}/&'"$ac_delim"'/g
15814 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15817 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15819 ' <confdefs.h | sed '
15820 s/'"$ac_delim"'/"\\\
15821 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15824 for (key in D) D_is_set[key] = 1
15827 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15829 split(line, arg, " ")
15830 if (arg[1] == "#") {
15834 defundef
= substr
(arg
[1], 2)
15837 split(mac1
, mac2
, "(") #)
15839 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15840 if (D_is_set
[macro
]) {
15841 # Preserve the white space surrounding the "#".
15842 print prefix
"define", macro P
[macro
] D
[macro
]
15845 # Replace #undef with comments. This is necessary, for example,
15846 # in the case of _POSIX_SOURCE, which is predefined and required
15847 # on some systems where configure will not decide to define it.
15848 if (defundef
== "undef") {
15849 print
"/*", prefix defundef
, macro
, "*/"
15857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15858 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15859 fi # test -n "$CONFIG_HEADERS"
15862 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15867 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15869 case $ac_mode$ac_tag in
15871 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15872 :[FH
]-) ac_tag
=-:-;;
15873 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15890 -) ac_f
="$ac_tmp/stdin";;
15891 *) # Look for the file first in the build tree, then in the source tree
15892 # (if the path is not absolute). The absolute path cannot be DOS-style,
15893 # because $ac_f cannot contain `:'.
15897 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15899 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15901 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15902 as_fn_append ac_file_inputs
" '$ac_f'"
15905 # Let's still pretend it is `configure' which instantiates (i.e., don't
15906 # use $as_me), people would be surprised to read:
15907 # /* config.h. Generated by config.status. */
15908 configure_input
='Generated from '`
15909 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15911 if test x
"$ac_file" != x-
; then
15912 configure_input
="$ac_file. $configure_input"
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15914 $as_echo "$as_me: creating $ac_file" >&6;}
15916 # Neutralize special characters interpreted by sed in replacement strings.
15917 case $configure_input in #(
15918 *\
&* |
*\|
* |
*\\* )
15919 ac_sed_conf_input
=`$as_echo "$configure_input" |
15920 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15921 *) ac_sed_conf_input
=$configure_input;;
15925 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15926 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15931 ac_dir
=`$as_dirname -- "$ac_file" ||
15932 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15933 X"$ac_file" : 'X\(//\)[^/]' \| \
15934 X"$ac_file" : 'X\(//\)$' \| \
15935 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15936 $as_echo X"$ac_file" |
15937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15941 /^X\(\/\/\)[^/].*/{
15954 as_dir
="$ac_dir"; as_fn_mkdir_p
15958 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15960 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15961 # A ".." for each directory in $ac_dir_suffix.
15962 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15963 case $ac_top_builddir_sub in
15964 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15965 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15968 ac_abs_top_builddir
=$ac_pwd
15969 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15970 # for backward compatibility:
15971 ac_top_builddir
=$ac_top_build_prefix
15974 .
) # We are building in place.
15976 ac_top_srcdir
=$ac_top_builddir_sub
15977 ac_abs_top_srcdir
=$ac_pwd ;;
15978 [\\/]* | ?
:[\\/]* ) # Absolute name.
15979 ac_srcdir
=$srcdir$ac_dir_suffix;
15980 ac_top_srcdir
=$srcdir
15981 ac_abs_top_srcdir
=$srcdir ;;
15982 *) # Relative name.
15983 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15984 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15985 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15987 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15999 # If the template does not know about datarootdir, expand it.
16000 # FIXME: This hack should be removed a few years after 2.60.
16001 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16012 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16013 *datarootdir
*) ac_datarootdir_seen
=yes;;
16014 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16016 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16019 ac_datarootdir_hack='
16020 s&@datadir@&$datadir&g
16021 s&@docdir@&$docdir&g
16022 s&@infodir@&$infodir&g
16023 s&@localedir@&$localedir&g
16024 s&@mandir@&$mandir&g
16025 s&\\\${datarootdir}&$datarootdir&g' ;;
16029 # Neutralize VPATH when `$srcdir' = `.'.
16030 # Shell code in configure.ac might set extrasub.
16031 # FIXME: do we really want to maintain this feature?
16032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16033 ac_sed_extra="$ac_vpsub
16036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16038 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16039 s|@configure_input@|
$ac_sed_conf_input|
;t t
16040 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16041 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16042 s
&@srcdir@
&$ac_srcdir&;t t
16043 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16044 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16045 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16046 s
&@builddir@
&$ac_builddir&;t t
16047 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16048 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16049 $ac_datarootdir_hack
16051 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16052 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16054 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16055 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16056 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16057 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16059 which seems to be undefined. Please make sure it is defined" >&5
16060 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16061 which seems to be undefined. Please make sure it is defined" >&2;}
16063 rm -f "$ac_tmp/stdin"
16065 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16066 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16068 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16074 if test x"$ac_file" != x-; then
16076 $as_echo "/* $configure_input */" \
16077 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16078 } >"$ac_tmp/config.h" \
16079 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16080 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16082 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16085 mv "$ac_tmp/config.h" "$ac_file" \
16086 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16089 $as_echo "/* $configure_input */" \
16090 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16091 || as_fn_error $? "could not create -" "$LINENO" 5
16095 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16096 $as_echo "$as_me: executing $ac_file commands" >&6;}
16101 case $ac_file$ac_mode in
16102 "genmf-executable-support":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
16103 "binutils-support":C)
16104 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16106 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16108 chmod a+x ${prefix2}-ld
16110 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
16111 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
16112 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
16113 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
16114 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
16115 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
16116 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
16118 "elf-compiler-support":C)
16119 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16121 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
16123 chmod a+x ${prefix2}-gcc
16125 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
16127 "host-compiler-wrapper-support":C)
16128 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16130 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16132 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-cpp
16141 ac_clean_files=$ac_clean_files_save
16143 test $ac_write_fail = 0 ||
16144 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16147 # configure is writing to config.log, and then calls config.status.
16148 # config.status does its own redirection, appending to config.log.
16149 # Unfortunately, on DOS this fails, as config.log is still kept open
16150 # by configure, so config.status won't be able to
write to it
; its
16151 # output is simply discarded. So we exec the FD to /dev/null,
16152 # effectively closing config.log, so it can be properly (re)opened and
16153 # appended to by config.status. When coming back to configure, we
16154 # need to make the FD available again.
16155 if test "$no_create" != yes; then
16157 ac_config_status_args
=
16158 test "$silent" = yes &&
16159 ac_config_status_args
="$ac_config_status_args --quiet"
16161 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16163 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16164 # would make configure fail if this is the last instruction.
16165 $ac_cs_success || as_fn_exit
1
16167 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16169 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16174 #XXX compatability...
16175 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
16177 if test -n "$aros_shared_cflags" ; then
16178 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
16179 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg