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
628 ignore_undefined_symbols
641 gcc_default_float_abi
649 aros_nesting_supervisor
654 aros_host_x11_libdirs
655 aros_host_x11_includes
659 aros_default_wbheight
665 aros_cflags_format_security
666 aros_cflags_strict_overflow
667 aros_cflags_enum_compare
668 aros_cflags_array_bounds
669 aros_cflags_unused_but_set_variable
670 crosstools_cxx_target
673 aros_optimization_cflags
674 aros_target_strip_flags
681 aros_kernel_objcflags
701 aros_target_cc_includes
716 aros_target_bootloader
736 aros_amigaos_compliance
742 aros_target_toolchain
751 aros_cflags_iquote_end
753 kernel_cflags_iquote_end
755 host_cflags_iquote_end
757 aros_target_nostdlib_ldflags
758 aros_target_detach_ldflags
759 aros_target_nix_ldflags
760 aros_target_nostartup_ldflags
761 aros_target_nostdinc_cflags
879 program_transform_name
892 enable_option_checking
897 with_kernel_gcc_version
900 enable_target_variant
907 enable_amigaos_compliance
908 with_kernel_toolchain_prefix
909 with_elf_toolchain_prefix
912 with_aros_toolchain_install
926 enable_palm_debug_hack
928 enable_nesting_supervisor
940 ac_precious_vars
='build_alias
956 # Initialize some variables set by options.
958 ac_init_version
=false
959 ac_unrecognized_opts
=
961 # The variables have the same names as the options, with
962 # dashes changed to underlines.
970 program_transform_name
=s
,x
,x
,
978 # Installation directory options.
979 # These are left unexpanded so users can "make install exec_prefix=/foo"
980 # and all the variables that are supposed to be based on exec_prefix
981 # by default will actually change.
982 # Use braces instead of parens because sh, perl, etc. also accept them.
983 # (The list follows the same order as the GNU Coding Standards.)
984 bindir
='${exec_prefix}/bin'
985 sbindir
='${exec_prefix}/sbin'
986 libexecdir
='${exec_prefix}/libexec'
987 datarootdir
='${prefix}/share'
988 datadir
='${datarootdir}'
989 sysconfdir
='${prefix}/etc'
990 sharedstatedir
='${prefix}/com'
991 localstatedir
='${prefix}/var'
992 includedir
='${prefix}/include'
993 oldincludedir
='/usr/include'
994 docdir
='${datarootdir}/doc/${PACKAGE}'
995 infodir
='${datarootdir}/info'
1000 libdir
='${exec_prefix}/lib'
1001 localedir
='${datarootdir}/locale'
1002 mandir
='${datarootdir}/man'
1008 # If the previous option needs an argument, assign it.
1009 if test -n "$ac_prev"; then
1010 eval $ac_prev=\
$ac_option
1016 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1021 # Accept the important Cygnus configure options, so we can diagnose typos.
1023 case $ac_dashdash$ac_option in
1027 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1029 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1030 bindir
=$ac_optarg ;;
1032 -build |
--build |
--buil |
--bui |
--bu)
1033 ac_prev
=build_alias
;;
1034 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1035 build_alias
=$ac_optarg ;;
1037 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1038 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1039 ac_prev
=cache_file
;;
1040 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1041 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1042 cache_file
=$ac_optarg ;;
1044 --config-cache |
-C)
1045 cache_file
=config.cache
;;
1047 -datadir |
--datadir |
--datadi |
--datad)
1049 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1050 datadir
=$ac_optarg ;;
1052 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1053 |
--dataroo |
--dataro |
--datar)
1054 ac_prev
=datarootdir
;;
1055 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1056 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1057 datarootdir
=$ac_optarg ;;
1059 -disable-* |
--disable-*)
1060 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1063 as_fn_error $?
"invalid feature name: $ac_useropt"
1064 ac_useropt_orig
=$ac_useropt
1065 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1066 case $ac_user_opts in
1068 "enable_
$ac_useropt"
1070 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1071 ac_unrecognized_sep
=', ';;
1073 eval enable_
$ac_useropt=no
;;
1075 -docdir |
--docdir |
--docdi |
--doc |
--do)
1077 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1078 docdir
=$ac_optarg ;;
1080 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1082 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1083 dvidir
=$ac_optarg ;;
1085 -enable-* |
--enable-*)
1086 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1089 as_fn_error $?
"invalid feature name: $ac_useropt"
1090 ac_useropt_orig
=$ac_useropt
1091 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1094 "enable_
$ac_useropt"
1096 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1097 ac_unrecognized_sep
=', ';;
1099 eval enable_
$ac_useropt=\
$ac_optarg ;;
1101 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1102 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1103 |
--exec |
--exe |
--ex)
1104 ac_prev
=exec_prefix
;;
1105 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1106 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1107 |
--exec=* |
--exe=* |
--ex=*)
1108 exec_prefix
=$ac_optarg ;;
1110 -gas |
--gas |
--ga |
--g)
1111 # Obsolete; use --with-gas.
1114 -help |
--help |
--hel |
--he |
-h)
1115 ac_init_help
=long
;;
1116 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1117 ac_init_help
=recursive
;;
1118 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1119 ac_init_help
=short
;;
1121 -host |
--host |
--hos |
--ho)
1122 ac_prev
=host_alias
;;
1123 -host=* |
--host=* |
--hos=* |
--ho=*)
1124 host_alias
=$ac_optarg ;;
1126 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1128 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1130 htmldir
=$ac_optarg ;;
1132 -includedir |
--includedir |
--includedi |
--included |
--include \
1133 |
--includ |
--inclu |
--incl |
--inc)
1134 ac_prev
=includedir
;;
1135 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1136 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1137 includedir
=$ac_optarg ;;
1139 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1141 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1142 infodir
=$ac_optarg ;;
1144 -libdir |
--libdir |
--libdi |
--libd)
1146 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1147 libdir
=$ac_optarg ;;
1149 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1150 |
--libexe |
--libex |
--libe)
1151 ac_prev
=libexecdir
;;
1152 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1153 |
--libexe=* |
--libex=* |
--libe=*)
1154 libexecdir
=$ac_optarg ;;
1156 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1157 ac_prev
=localedir
;;
1158 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1159 localedir
=$ac_optarg ;;
1161 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1162 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1163 ac_prev
=localstatedir
;;
1164 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1165 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1166 localstatedir
=$ac_optarg ;;
1168 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1170 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1171 mandir
=$ac_optarg ;;
1173 -nfp |
--nfp |
--nf)
1174 # Obsolete; use --without-fp.
1177 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1178 |
--no-cr |
--no-c |
-n)
1181 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1182 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1185 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1186 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1187 |
--oldin |
--oldi |
--old |
--ol |
--o)
1188 ac_prev
=oldincludedir
;;
1189 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1190 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1191 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1192 oldincludedir
=$ac_optarg ;;
1194 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1196 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1197 prefix
=$ac_optarg ;;
1199 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1200 |
--program-pre |
--program-pr |
--program-p)
1201 ac_prev
=program_prefix
;;
1202 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1203 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1204 program_prefix
=$ac_optarg ;;
1206 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1207 |
--program-suf |
--program-su |
--program-s)
1208 ac_prev
=program_suffix
;;
1209 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1210 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1211 program_suffix
=$ac_optarg ;;
1213 -program-transform-name |
--program-transform-name \
1214 |
--program-transform-nam |
--program-transform-na \
1215 |
--program-transform-n |
--program-transform- \
1216 |
--program-transform |
--program-transfor \
1217 |
--program-transfo |
--program-transf \
1218 |
--program-trans |
--program-tran \
1219 |
--progr-tra |
--program-tr |
--program-t)
1220 ac_prev
=program_transform_name
;;
1221 -program-transform-name=* |
--program-transform-name=* \
1222 |
--program-transform-nam=* |
--program-transform-na=* \
1223 |
--program-transform-n=* |
--program-transform-=* \
1224 |
--program-transform=* |
--program-transfor=* \
1225 |
--program-transfo=* |
--program-transf=* \
1226 |
--program-trans=* |
--program-tran=* \
1227 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1228 program_transform_name
=$ac_optarg ;;
1230 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1232 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1233 pdfdir
=$ac_optarg ;;
1235 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1237 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1240 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1241 |
-silent |
--silent |
--silen |
--sile |
--sil)
1244 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1246 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1248 sbindir
=$ac_optarg ;;
1250 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1251 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1252 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1254 ac_prev
=sharedstatedir
;;
1255 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1256 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1257 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1259 sharedstatedir
=$ac_optarg ;;
1261 -site |
--site |
--sit)
1263 -site=* |
--site=* |
--sit=*)
1266 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1268 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1269 srcdir
=$ac_optarg ;;
1271 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1272 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1273 ac_prev
=sysconfdir
;;
1274 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1275 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1276 sysconfdir
=$ac_optarg ;;
1278 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1279 ac_prev
=target_alias
;;
1280 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1281 target_alias
=$ac_optarg ;;
1283 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1286 -version |
--version |
--versio |
--versi |
--vers |
-V)
1287 ac_init_version
=: ;;
1290 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1291 # Reject names that are not valid shell variable names.
1292 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1293 as_fn_error $?
"invalid package name: $ac_useropt"
1294 ac_useropt_orig
=$ac_useropt
1295 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1296 case $ac_user_opts in
1300 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1301 ac_unrecognized_sep
=', ';;
1303 eval with_
$ac_useropt=\
$ac_optarg ;;
1305 -without-* |
--without-*)
1306 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1307 # Reject names that are not valid shell variable names.
1308 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1309 as_fn_error $?
"invalid package name: $ac_useropt"
1310 ac_useropt_orig
=$ac_useropt
1311 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1312 case $ac_user_opts in
1316 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1317 ac_unrecognized_sep
=', ';;
1319 eval with_
$ac_useropt=no
;;
1322 # Obsolete; use --with-x.
1325 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1326 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1327 ac_prev
=x_includes
;;
1328 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1329 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1330 x_includes
=$ac_optarg ;;
1332 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1333 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1334 ac_prev
=x_libraries
;;
1335 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1336 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1337 x_libraries
=$ac_optarg ;;
1339 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1340 Try \`$0 --help' for more information"
1344 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1345 # Reject names that are not valid shell variable names.
1346 case $ac_envvar in #(
1347 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1348 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1350 eval $ac_envvar=\
$ac_optarg
1351 export $ac_envvar ;;
1354 # FIXME: should be removed in autoconf 3.0.
1355 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1356 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1357 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1358 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1364 if test -n "$ac_prev"; then
1365 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1366 as_fn_error $?
"missing argument to $ac_option"
1369 if test -n "$ac_unrecognized_opts"; then
1370 case $enable_option_checking in
1372 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1373 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1377 # Check all directory arguments for consistency.
1378 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1379 datadir sysconfdir sharedstatedir localstatedir includedir \
1380 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1381 libdir localedir mandir
1383 eval ac_val
=\$
$ac_var
1384 # Remove trailing slashes.
1387 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1388 eval $ac_var=\
$ac_val;;
1390 # Be sure to have absolute directory names.
1392 [\\/$
]* | ?
:[\\/]* ) continue;;
1393 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1395 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1398 # There might be people who depend on the old broken behavior: `$host'
1399 # used to hold the argument of --host etc.
1400 # FIXME: To remove some day.
1403 target
=$target_alias
1405 # FIXME: To remove some day.
1406 if test "x$host_alias" != x
; then
1407 if test "x$build_alias" = x
; then
1408 cross_compiling
=maybe
1409 elif test "x$build_alias" != "x$host_alias"; then
1415 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1417 test "$silent" = yes && exec 6>/dev
/null
1420 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1421 ac_ls_di
=`ls -di .` &&
1422 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1423 as_fn_error $?
"working directory cannot be determined"
1424 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1425 as_fn_error $?
"pwd does not report name of working directory"
1428 # Find the source files, if location was not specified.
1429 if test -z "$srcdir"; then
1430 ac_srcdir_defaulted
=yes
1431 # Try the directory containing this script, then the parent directory.
1432 ac_confdir
=`$as_dirname -- "$as_myself" ||
1433 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1434 X"$as_myself" : 'X\(//\)[^/]' \| \
1435 X"$as_myself" : 'X\(//\)$' \| \
1436 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1437 $as_echo X"$as_myself" |
1438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1456 if test ! -r "$srcdir/$ac_unique_file"; then
1460 ac_srcdir_defaulted
=no
1462 if test ! -r "$srcdir/$ac_unique_file"; then
1463 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1464 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1466 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1468 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1470 # When building in place, set srcdir=.
1471 if test "$ac_abs_confdir" = "$ac_pwd"; then
1474 # Remove unnecessary trailing slashes from srcdir.
1475 # Double slashes in file names in object file debugging info
1476 # mess up M-x gdb in Emacs.
1478 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1480 for ac_var
in $ac_precious_vars; do
1481 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1482 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1483 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1484 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1488 # Report the --help message.
1490 if test "$ac_init_help" = "long"; then
1491 # Omit some internal or obsolete options to make the list less imposing.
1492 # This message is too long to be a string in the A/UX 3.1 sh.
1494 \`configure' configures this package to adapt to many kinds of systems.
1496 Usage: $0 [OPTION]... [VAR=VALUE]...
1498 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1499 VAR=VALUE. See below for descriptions of some of the useful variables.
1501 Defaults for the options are specified in brackets.
1504 -h, --help display this help and exit
1505 --help=short display options specific to this package
1506 --help=recursive display the short help of all the included packages
1507 -V, --version display version information and exit
1508 -q, --quiet, --silent do not print \`checking ...' messages
1509 --cache-file=FILE cache test results in FILE [disabled]
1510 -C, --config-cache alias for \`--cache-file=config.cache'
1511 -n, --no-create do not create output files
1512 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1514 Installation directories:
1515 --prefix=PREFIX install architecture-independent files in PREFIX
1516 [$ac_default_prefix]
1517 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1520 By default, \`make install' will install all the files in
1521 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1522 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1523 for instance \`--prefix=\$HOME'.
1525 For better control, use the options below.
1527 Fine tuning of the installation directories:
1528 --bindir=DIR user executables [EPREFIX/bin]
1529 --sbindir=DIR system admin executables [EPREFIX/sbin]
1530 --libexecdir=DIR program executables [EPREFIX/libexec]
1531 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1532 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1533 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1534 --libdir=DIR object code libraries [EPREFIX/lib]
1535 --includedir=DIR C header files [PREFIX/include]
1536 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1537 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1538 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1539 --infodir=DIR info documentation [DATAROOTDIR/info]
1540 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1541 --mandir=DIR man documentation [DATAROOTDIR/man]
1542 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1543 --htmldir=DIR html documentation [DOCDIR]
1544 --dvidir=DIR dvi documentation [DOCDIR]
1545 --pdfdir=DIR pdf documentation [DOCDIR]
1546 --psdir=DIR ps documentation [DOCDIR]
1552 --x-includes=DIR X include files are
in DIR
1553 --x-libraries=DIR X library files are
in DIR
1556 --build=BUILD configure
for building on BUILD
[guessed
]
1557 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1561 if test -n "$ac_init_help"; then
1566 --disable-option-checking ignore unrecognized
--enable/--with options
1567 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1568 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1569 --enable-build-type=TYPE
1570 Select the build
type. Available types are
:
1571 personal
, nightly
, snapshot
, milestone
, release. Do
1572 NOT use this option unless you know what you are
1573 doing
! (default
=personal
)
1574 --enable-debug=list Enable different types of debug. Commas or
1575 whitespaces can be used to separate the items
in the
1576 list. Available types of debug are
: all
, none
,
1577 messages
, stack
, mungwall
, modules
, symbols. If no
1578 list is provided
then "all" is assumed.
1580 --enable-distcc Use distcc as a front end to the compiler
1582 --enable-ccache Use ccache as a front end to the compiler
1584 --enable-target-variant=NAME
1585 Enable a specific target variant
(default
=none
)
1586 --enable-amigaos-compliance=VERSION
1587 Enforce userspace AmigaOS compliance to a specific
1588 KickStart version
(default
=none
).
1589 --disable-crosstools Do not build cross-compiler toolchain
1590 --enable-objc Enable Objectve-C support
(default
=yes)
1591 --enable-java Enable Java support
(default
=no
)
1592 --enable-includes=dir Alternative system include directory
1593 --enable-palm-debug-hack
1594 Enable palm debug output hack
in palm native
1596 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1597 --enable-nesting-supervisor
1598 Enable nesting supervisor support
in unix
1600 --disable-mmu Disable MMU support
(default
=enabled
)
1601 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1602 --enable-x11-shm use X11 shared memory
(default
=auto
)
1603 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1604 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1605 --disable-sdltest Do not try to compile and run a
test SDL program
1606 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1609 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1610 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1611 --with-kernel-gcc-version=VERSION
1612 Use gcc-VERSION
for building bootstrap
1613 --with-optimization=FLAGS
1614 Use optimization flags FLAGS
(default
=-O2).
1615 --with-paranoia=FLAGS CC flags to
enable paranoia
1616 --with-xcode=PATH Specify XCode path
for iOS targets
1617 (default
=/Developer
).
1618 --with-sdk-version=VERSION
1619 Use iOS SDK version VERSION
(default
=4.1).
1620 --with-sdk=PATH Specify Android SDK path
1621 (default
=$default_android_sdk).
1622 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1623 --with-sdk-version=LEVEL
1624 Use Android SDK
for API LEVEL
(default
=12).
1625 --with-ndk-version=LEVEL
1626 Use Android NDK
for API LEVEL
(default
=9).
1627 --with-apk-version=(release|debug
)
1628 Which version of AROSBootstrap.apk to compile.
1629 Release version needs key
for signing
, debug version
1630 will only run
in emulator.
(default
=release
)
1631 --with-kernel-toolchain-prefix=...
1632 Specify crosscompile toolchain prefix
for kernel
1634 --with-elf-toolchain-prefix=...
1635 Specify crosscompile toolchain prefix to wrap
for
1637 --with-aros-toolchain=PREFIX
1638 Specify prebuilt AROS toolchain. Use
yes for default
1640 --with-aros-toolchain-install=DIR
1641 Where to
install or search
for cross tools binaries
1642 --with-gcc-version=VERSION
1643 Use gcc-VERSION
for building AROS
1644 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1645 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1646 --with-float=<spec
> Specify floating point ABI
1647 (default
=$gcc_default_float_abi).
1648 --with-portssources=DIR Where to download sourcecode
for external ports
1649 --with-bootloader=NAME Use a specific bootloader
1650 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1651 --with-theme=NAME Use a specific GUI Theme
1652 --with-resolution=XRESxYRESxDEPTH
1653 Default resolution of the initial WorkbenchScreen
1654 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1655 --with-x use the X Window System
1656 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1657 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1659 Some influential environment variables
:
1660 CXX C
++ compiler
command
1661 CXXFLAGS C
++ compiler flags
1662 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1663 nonstandard directory
<lib dir
>
1664 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1665 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1666 you have headers
in a nonstandard directory
<include dir
>
1667 CC C compiler
command
1668 CFLAGS C compiler flags
1670 PYTHON the Python interpreter
1671 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1673 Use these variables to override the choices made by
`configure' or to help
1674 it to find libraries and programs with nonstandard names/locations.
1676 Report bugs to the package provider.
1681 if test "$ac_init_help" = "recursive"; then
1682 # If there are subdirs, report their specific --help.
1683 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1684 test -d "$ac_dir" ||
1685 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1690 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1692 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1693 # A ".." for each directory in $ac_dir_suffix.
1694 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1695 case $ac_top_builddir_sub in
1696 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1697 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1700 ac_abs_top_builddir=$ac_pwd
1701 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1702 # for backward compatibility:
1703 ac_top_builddir=$ac_top_build_prefix
1706 .) # We are building in place.
1708 ac_top_srcdir=$ac_top_builddir_sub
1709 ac_abs_top_srcdir=$ac_pwd ;;
1710 [\\/]* | ?:[\\/]* ) # Absolute name.
1711 ac_srcdir=$srcdir$ac_dir_suffix;
1712 ac_top_srcdir=$srcdir
1713 ac_abs_top_srcdir=$srcdir ;;
1715 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1716 ac_top_srcdir=$ac_top_build_prefix$srcdir
1717 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1719 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1721 cd "$ac_dir" || { ac_status=$?; continue; }
1722 # Check for guested configure.
1723 if test -f "$ac_srcdir/configure.gnu"; then
1725 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1726 elif test -f "$ac_srcdir/configure"; then
1728 $SHELL "$ac_srcdir/configure" --help=recursive
1730 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1732 cd "$ac_pwd" || { ac_status=$?; break; }
1736 test -n "$ac_init_help" && exit $ac_status
1737 if $ac_init_version; then
1740 generated by GNU Autoconf 2.69
1742 Copyright (C) 2012 Free Software Foundation, Inc.
1743 This configure script is free software; the Free Software Foundation
1744 gives unlimited permission to copy, distribute and modify it.
1749 ## ------------------------ ##
1750 ## Autoconf initialization. ##
1751 ## ------------------------ ##
1753 # ac_fn_cxx_try_compile LINENO
1754 # ----------------------------
1755 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1756 ac_fn_cxx_try_compile ()
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 rm -f conftest.$ac_objext
1760 if { { ac_try="$ac_compile"
1762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1763 *) ac_try_echo
=$ac_try;;
1765 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_compile") 2>conftest.err
1769 if test -s conftest.err
; then
1770 grep -v '^ *+' conftest.err
>conftest.er1
1771 cat conftest.er1
>&5
1772 mv -f conftest.er1 conftest.err
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; } && {
1776 test -z "$ac_cxx_werror_flag" ||
1777 test ! -s conftest.err
1778 } && test -s conftest.
$ac_objext; then :
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.
$ac_ext >&5
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 as_fn_set_status
$ac_retval
1789 } # ac_fn_cxx_try_compile
1791 # ac_fn_c_try_compile LINENO
1792 # --------------------------
1793 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1794 ac_fn_c_try_compile
()
1796 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1797 rm -f conftest.
$ac_objext
1798 if { { ac_try
="$ac_compile"
1800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1801 *) ac_try_echo=$ac_try;;
1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_compile") 2>conftest.err
1807 if test -s conftest.err; then
1808 grep -v '^ *+' conftest.err >conftest.er1
1809 cat conftest.er1 >&5
1810 mv -f conftest.er1 conftest.err
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } && {
1814 test -z "$ac_c_werror_flag" ||
1815 test ! -s conftest.err
1816 } && test -s conftest.$ac_objext; then :
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 as_fn_set_status $ac_retval
1827 } # ac_fn_c_try_compile
1829 # ac_fn_c_try_cpp LINENO
1830 # ----------------------
1831 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 if { { ac_try="$ac_cpp conftest.$ac_ext"
1837 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1838 *) ac_try_echo
=$ac_try;;
1840 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1841 $as_echo "$ac_try_echo"; } >&5
1842 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1844 if test -s conftest.err
; then
1845 grep -v '^ *+' conftest.err
>conftest.er1
1846 cat conftest.er1
>&5
1847 mv -f conftest.er1 conftest.err
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; } > conftest.i
&& {
1851 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1852 test ! -s conftest.err
1856 $as_echo "$as_me: failed program was:" >&5
1857 sed 's/^/| /' conftest.
$ac_ext >&5
1861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862 as_fn_set_status
$ac_retval
1866 # ac_fn_c_try_link LINENO
1867 # -----------------------
1868 # Try to link conftest.$ac_ext, and return whether this succeeded.
1871 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1872 rm -f conftest.
$ac_objext conftest
$ac_exeext
1873 if { { ac_try
="$ac_link"
1875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1876 *) ac_try_echo=$ac_try;;
1878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1879 $as_echo "$ac_try_echo"; } >&5
1880 (eval "$ac_link") 2>conftest.err
1882 if test -s conftest.err; then
1883 grep -v '^ *+' conftest.err >conftest.er1
1884 cat conftest.er1 >&5
1885 mv -f conftest.er1 conftest.err
1887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1888 test $ac_status = 0; } && {
1889 test -z "$ac_c_werror_flag" ||
1890 test ! -s conftest.err
1891 } && test -s conftest$ac_exeext && {
1892 test "$cross_compiling" = yes ||
1893 test -x conftest$ac_exeext
1897 $as_echo "$as_me: failed program was:" >&5
1898 sed 's/^/| /' conftest.$ac_ext >&5
1902 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1903 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1904 # interfere with the next link command; also delete a directory that is
1905 # left behind by Apple's compiler. We do this before executing the actions.
1906 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1908 as_fn_set_status $ac_retval
1910 } # ac_fn_c_try_link
1912 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1913 # -------------------------------------------------------
1914 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1915 # the include files in INCLUDES and setting the cache variable VAR
1917 ac_fn_c_check_header_mongrel ()
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 if eval \${$3+:} false; then :
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1922 $as_echo_n "checking for $2... " >&6; }
1923 if eval \${$3+:} false; then :
1924 $as_echo_n "(cached) " >&6
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1928 $as_echo "$ac_res" >&6; }
1930 # Is the header compilable?
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1932 $as_echo_n "checking $2 usability... " >&6; }
1933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1934 /* end confdefs.h. */
1938 if ac_fn_c_try_compile "$LINENO"; then :
1939 ac_header_compiler=yes
1941 ac_header_compiler=no
1943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1945 $as_echo "$ac_header_compiler" >&6; }
1947 # Is the header present?
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1949 $as_echo_n "checking $2 presence... " >&6; }
1950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1951 /* end confdefs.h. */
1954 if ac_fn_c_try_cpp "$LINENO"; then :
1955 ac_header_preproc=yes
1957 ac_header_preproc=no
1959 rm -f conftest.err conftest.i conftest.$ac_ext
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1961 $as_echo "$ac_header_preproc" >&6; }
1963 # So? What about this header?
1964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1967 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1969 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1973 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1975 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1977 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1979 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1981 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985 $as_echo_n "checking for $2... " >&6; }
1986 if eval \${$3+:} false; then :
1987 $as_echo_n "(cached) " >&6
1989 eval "$3=\$ac_header_compiler"
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1993 $as_echo "$ac_res" >&6; }
1995 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1997 } # ac_fn_c_check_header_mongrel
1999 # ac_fn_c_try_run LINENO
2000 # ----------------------
2001 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2002 # that executables *can* be run.
2005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006 if { { ac_try="$ac_link"
2008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2009 *) ac_try_echo
=$ac_try;;
2011 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2012 $as_echo "$ac_try_echo"; } >&5
2013 (eval "$ac_link") 2>&5
2015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2016 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2017 { { case "(($ac_try" in
2018 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2019 *) ac_try_echo=$ac_try;;
2021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2022 $as_echo "$ac_try_echo"; } >&5
2023 (eval "$ac_try") 2>&5
2025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2026 test $ac_status = 0; }; }; then :
2029 $as_echo "$as_me: program exited with status $ac_status" >&5
2030 $as_echo "$as_me: failed program was:" >&5
2031 sed 's/^/| /' conftest.$ac_ext >&5
2033 ac_retval=$ac_status
2035 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2036 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2037 as_fn_set_status $ac_retval
2041 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2042 # -------------------------------------------------------
2043 # Tests whether HEADER exists and can be compiled using the include files in
2044 # INCLUDES, setting the cache variable VAR accordingly.
2045 ac_fn_c_check_header_compile ()
2047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2049 $as_echo_n "checking for $2... " >&6; }
2050 if eval \${$3+:} false; then :
2051 $as_echo_n "(cached) " >&6
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2058 if ac_fn_c_try_compile "$LINENO"; then :
2063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2067 $as_echo "$ac_res" >&6; }
2068 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2070 } # ac_fn_c_check_header_compile
2072 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2073 # ----------------------------------------------------
2074 # Tries to find if the field MEMBER exists in type AGGR, after including
2075 # INCLUDES, setting cache variable VAR accordingly.
2076 ac_fn_c_check_member ()
2078 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2080 $as_echo_n "checking for $2.$3... " >&6; }
2081 if eval \${$4+:} false; then :
2082 $as_echo_n "(cached) " >&6
2084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2097 if ac_fn_c_try_compile "$LINENO"; then :
2100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2101 /* end confdefs.h. */
2107 if (sizeof ac_aggr.$3)
2113 if ac_fn_c_try_compile "$LINENO"; then :
2118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2124 $as_echo "$ac_res" >&6; }
2125 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2127 } # ac_fn_c_check_member
2129 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2130 # ---------------------------------------------
2131 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2133 ac_fn_c_check_decl ()
2135 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2136 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2137 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2139 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2140 if eval \${$3+:} false; then :
2141 $as_echo_n "(cached) " >&6
2143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2144 /* end confdefs.h. */
2149 #ifndef $as_decl_name
2151 (void) $as_decl_use;
2153 (void) $as_decl_name;
2161 if ac_fn_c_try_compile "$LINENO"; then :
2166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2170 $as_echo "$ac_res" >&6; }
2171 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2173 } # ac_fn_c_check_decl
2175 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2176 # -------------------------------------------
2177 # Tests whether TYPE exists after having included INCLUDES, setting cache
2178 # variable VAR accordingly.
2179 ac_fn_c_check_type ()
2181 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2183 $as_echo_n "checking for $2... " >&6; }
2184 if eval \${$3+:} false; then :
2185 $as_echo_n "(cached) " >&6
2188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2189 /* end confdefs.h. */
2200 if ac_fn_c_try_compile "$LINENO"; then :
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h. */
2213 if ac_fn_c_try_compile "$LINENO"; then :
2218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2224 $as_echo "$ac_res" >&6; }
2225 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2227 } # ac_fn_c_check_type
2229 # ac_fn_c_check_func LINENO FUNC VAR
2230 # ----------------------------------
2231 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2232 ac_fn_c_check_func ()
2234 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if eval \${$3+:} false; then :
2238 $as_echo_n "(cached) " >&6
2240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2241 /* end confdefs.h. */
2242 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2244 #define $2 innocuous_$2
2246 /* System header to define __stub macros and hopefully few prototypes,
2247 which can conflict with char $2 (); below.
2248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2249 <limits.h> exists even on freestanding compilers. */
2252 # include <limits.h>
2254 # include <assert.h>
2259 /* Override any GCC internal prototype to avoid an error.
2260 Use char because int might match the return type of a GCC
2261 builtin and then its argument prototype would still apply. */
2266 /* The GNU C library defines this for functions which it implements
2267 to always fail with ENOSYS. Some functions are actually named
2268 something starting with __ and the normal name is an alias. */
2269 #if defined __stub_$2 || defined __stub___$2
2281 if ac_fn_c_try_link "$LINENO"; then :
2286 rm -f core conftest.err conftest.$ac_objext \
2287 conftest$ac_exeext conftest.$ac_ext
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2291 $as_echo "$ac_res" >&6; }
2292 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2294 } # ac_fn_c_check_func
2295 cat >config.log <<_ACEOF
2296 This file contains any messages produced by compilers while
2297 running configure, to aid debugging if configure makes a mistake.
2299 It was created by $as_me, which was
2300 generated by GNU Autoconf 2.69. Invocation command line was
2312 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2313 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2314 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2315 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2316 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2318 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2319 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2321 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2322 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2323 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2324 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2325 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2326 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2327 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2335 test -z "$as_dir" && as_dir=.
2336 $as_echo "PATH: $as_dir"
2352 # Keep a trace of the command line.
2353 # Strip out --no-create and --no-recursion so they do not pile up.
2354 # Strip out --silent because we don't want to record it for future runs.
2355 # Also quote any args containing shell meta-characters.
2356 # Make two passes to allow for proper duplicate-argument suppression.
2360 ac_must_keep_next=false
2366 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2367 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2368 | -silent | --silent | --silen | --sile | --sil)
2371 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2374 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2376 as_fn_append ac_configure_args1 " '$ac_arg'"
2377 if test $ac_must_keep_next = true; then
2378 ac_must_keep_next=false # Got value, back to normal.
2381 *=* | --config-cache | -C | -disable-* | --disable-* \
2382 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2383 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2384 | -with-* | --with-* | -without-* | --without-* | --x)
2385 case "$ac_configure_args0 " in
2386 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2389 -* ) ac_must_keep_next=true ;;
2392 as_fn_append ac_configure_args " '$ac_arg'"
2397 { ac_configure_args0=; unset ac_configure_args0;}
2398 { ac_configure_args1=; unset ac_configure_args1;}
2400 # When interrupted or exit'd, cleanup temporary files, and complete
2401 # config.log. We remove comments because anyway the quotes in there
2402 # would cause problems or look ugly.
2403 # WARNING: Use '\'' to represent an apostrophe within the trap.
2404 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2405 trap 'exit_status=$?
2406 # Save into config.log some information that might help in debugging.
2410 $as_echo "## ---------------- ##
2411 ## Cache variables. ##
2412 ## ---------------- ##"
2414 # The following way of writing the cache mishandles newlines in values,
2416 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2417 eval ac_val=\$$ac_var
2421 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2422 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2425 _ | IFS | as_nl) ;; #(
2426 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2427 *) { eval $ac_var=; unset $ac_var;} ;;
2432 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2433 *${as_nl}ac_space=\ *)
2435 "s/'\''/'\''\\\\'\'''\''/g;
2436 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2439 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2446 $as_echo "## ----------------- ##
2447 ## Output variables. ##
2448 ## ----------------- ##"
2450 for ac_var in $ac_subst_vars
2452 eval ac_val=\$$ac_var
2454 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2456 $as_echo "$ac_var='\''$ac_val'\''"
2460 if test -n "$ac_subst_files"; then
2461 $as_echo "## ------------------- ##
2462 ## File substitutions. ##
2463 ## ------------------- ##"
2465 for ac_var in $ac_subst_files
2467 eval ac_val=\$$ac_var
2469 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2471 $as_echo "$ac_var='\''$ac_val'\''"
2476 if test -s confdefs.h; then
2477 $as_echo "## ----------- ##
2484 test "$ac_signal" != 0 &&
2485 $as_echo "$as_me: caught signal $ac_signal"
2486 $as_echo "$as_me: exit $exit_status"
2488 rm -f core *.core core.conftest.* &&
2489 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2492 for ac_signal in 1 2 13 15; do
2493 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2497 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2498 rm -f -r conftest* confdefs.h
2500 $as_echo "/* confdefs.h */" > confdefs.h
2502 # Predefined preprocessor variables.
2504 cat >>confdefs.h <<_ACEOF
2505 #define PACKAGE_NAME "$PACKAGE_NAME"
2508 cat >>confdefs.h <<_ACEOF
2509 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2512 cat >>confdefs.h <<_ACEOF
2513 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2516 cat >>confdefs.h <<_ACEOF
2517 #define PACKAGE_STRING "$PACKAGE_STRING"
2520 cat >>confdefs.h <<_ACEOF
2521 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2524 cat >>confdefs.h <<_ACEOF
2525 #define PACKAGE_URL "$PACKAGE_URL"
2529 # Let the site file select an alternate cache file if it wants to.
2530 # Prefer an explicitly selected file to automatically selected ones.
2533 if test -n "$CONFIG_SITE"; then
2534 # We do not want a PATH search for config.site.
2535 case $CONFIG_SITE in #((
2536 -*) ac_site_file1=./$CONFIG_SITE;;
2537 */*) ac_site_file1=$CONFIG_SITE;;
2538 *) ac_site_file1=./$CONFIG_SITE;;
2540 elif test "x$prefix" != xNONE; then
2541 ac_site_file1=$prefix/share/config.site
2542 ac_site_file2=$prefix/etc/config.site
2544 ac_site_file1=$ac_default_prefix/share/config.site
2545 ac_site_file2=$ac_default_prefix/etc/config.site
2547 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2549 test "x$ac_site_file" = xNONE && continue
2550 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2552 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2553 sed 's/^/| /' "$ac_site_file" >&5
2555 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2557 as_fn_error $? "failed to load site
script $ac_site_file
2558 See \
`config.log' for more details" "$LINENO" 5; }
2562 if test -r "$cache_file"; then
2563 # Some versions of bash will fail to source /dev/null (special files
2564 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2565 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2567 $as_echo "$as_me: loading cache $cache_file" >&6;}
2569 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2570 *) . "./$cache_file";;
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2575 $as_echo "$as_me: creating cache $cache_file" >&6;}
2579 as_fn_append ac_header_list " stdlib.h"
2580 as_fn_append ac_header_list " unistd.h"
2581 as_fn_append ac_header_list " sys/param.h"
2582 # Check that the precious variables saved in the cache have kept the same
2584 ac_cache_corrupted=false
2585 for ac_var in $ac_precious_vars; do
2586 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2587 eval ac_new_set=\$ac_env_${ac_var}_set
2588 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2589 eval ac_new_val=\$ac_env_${ac_var}_value
2590 case $ac_old_set,$ac_new_set in
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2593 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2594 ac_cache_corrupted=: ;;
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2597 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2598 ac_cache_corrupted=: ;;
2601 if test "x$ac_old_val" != "x$ac_new_val"; then
2602 # differences in whitespace do not lead to failure.
2603 ac_old_val_w=`echo x
$ac_old_val`
2604 ac_new_val_w=`echo x
$ac_new_val`
2605 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2607 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2608 ac_cache_corrupted=:
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2611 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2612 eval $ac_var=\$ac_old_val
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2615 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2617 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2620 # Pass precious variables to config.status.
2621 if test "$ac_new_set" = set; then
2623 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2624 *) ac_arg=$ac_var=$ac_new_val ;;
2626 case " $ac_configure_args " in
2627 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2628 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2632 if $ac_cache_corrupted; then
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2636 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2637 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2639 ## -------------------- ##
2640 ## Main body of script. ##
2641 ## -------------------- ##
2644 ac_cpp='$CPP $CPPFLAGS'
2645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2652 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2653 if test -f "$ac_dir/install-sh"; then
2655 ac_install_sh="$ac_aux_dir/install-sh -c"
2657 elif test -f "$ac_dir/install.sh"; then
2659 ac_install_sh="$ac_aux_dir/install.sh -c"
2661 elif test -f "$ac_dir/shtool"; then
2663 ac_install_sh="$ac_aux_dir/shtool install -c"
2667 if test -z "$ac_aux_dir"; then
2668 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2671 # These three variables are undocumented and unsupported,
2672 # and are intended to be withdrawn in a future Autoconf release.
2673 # They can cause serious problems if a builder's source tree is in a directory
2674 # whose full name contains unusual characters.
2675 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2676 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2677 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2681 # Check what host we are running on.
2682 # If a target is not suggested, we use this one.
2683 # Note that what we call a target, Autoconf calls a host.
2684 # Make sure we can run config.sub.
2685 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2686 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2689 $as_echo_n "checking build system type... " >&6; }
2690 if ${ac_cv_build+:} false; then :
2691 $as_echo_n "(cached) " >&6
2693 ac_build_alias=$build_alias
2694 test "x$ac_build_alias" = x &&
2695 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2696 test "x$ac_build_alias" = x &&
2697 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2698 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2699 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2703 $as_echo "$ac_cv_build" >&6; }
2704 case $ac_cv_build in
2706 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2709 ac_save_IFS=$IFS; IFS='-'
2715 # Remember, the first character of IFS is used to create $*,
2716 # except with old shells:
2719 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2723 $as_echo_n "checking host system type... " >&6; }
2724 if ${ac_cv_host+:} false; then :
2725 $as_echo_n "(cached) " >&6
2727 if test "x$host_alias" = x; then
2728 ac_cv_host=$ac_cv_build
2730 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2731 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2736 $as_echo "$ac_cv_host" >&6; }
2739 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2742 ac_save_IFS=$IFS; IFS='-'
2748 # Remember, the first character of IFS is used to create $*,
2749 # except with old shells:
2752 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2756 # The AROS target is slightly different to the normal GNU style
2757 # format. We don't have the middle part, and we reverse the order
2758 # of the $(CPU) and $(OS) bits.
2760 # Don't strip the version of the target yet, it might be
2761 # useful on some systems.
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2764 $as_echo_n "checking for AROS style target... " >&6; }
2766 if test "$target" = "NONE" ; then
2767 target=$host_os-$host_cpu
2769 if test "$target" = "" ; then
2770 target=$host_os-$host_cpu
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2774 $as_echo "$target" >&6; }
2776 if test "$host_os" = "mingw32" ; then
2780 # Don't know where else to put this...
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2782 $as_echo_n "checking building AROS in... " >&6; }
2783 AROS_BUILDDIR=`${PWDCMD-pwd}`
2784 AROS_BUILDDIR_UNIX=${PWD}
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2786 $as_echo "$AROS_BUILDDIR" >&6; }
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2789 $as_echo_n "checking AROS source in... " >&6; }
2790 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2793 $as_echo "$SRCDIR" >&6; }
2795 # Parse the target field into something useful.
2797 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2798 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2801 # Some debug output, to be removed again.
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2803 $as_echo_n "checking for target system (debug output)... " >&6; }
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2805 $as_echo "$target_os" >&6; }
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2807 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2809 $as_echo "$target_cpu" >&6; }
2811 aros_default_wbwidth=800
2812 aros_default_wbheight=600
2813 aros_default_wbdepth=4
2816 # The first step is to find the host binaries.
2817 # Check for a compiler.
2818 # Due to a bug in autoconf check for c++ compiler first.
2819 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2821 ac_cpp='$CXXCPP $CPPFLAGS'
2822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2825 if test -z "$CXX"; then
2826 if test -n "$CCC"; then
2829 if test -n "$ac_tool_prefix"; then
2830 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2832 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2833 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2835 $as_echo_n "checking for $ac_word... " >&6; }
2836 if ${ac_cv_prog_CXX+:} false; then :
2837 $as_echo_n "(cached) " >&6
2839 if test -n "$CXX"; then
2840 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2846 test -z "$as_dir" && as_dir=.
2847 for ac_exec_ext in '' $ac_executable_extensions; do
2848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2849 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2860 if test -n "$CXX"; then
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2862 $as_echo "$CXX" >&6; }
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2865 $as_echo "no" >&6; }
2869 test -n "$CXX" && break
2872 if test -z "$CXX"; then
2874 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2876 # Extract the first word of "$ac_prog", so it can be a program name with args.
2877 set dummy $ac_prog; ac_word=$2
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2879 $as_echo_n "checking for $ac_word... " >&6; }
2880 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2881 $as_echo_n "(cached) " >&6
2883 if test -n "$ac_ct_CXX"; then
2884 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2890 test -z "$as_dir" && as_dir=.
2891 for ac_exec_ext in '' $ac_executable_extensions; do
2892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2893 ac_cv_prog_ac_ct_CXX="$ac_prog"
2894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2903 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2904 if test -n "$ac_ct_CXX"; then
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2906 $as_echo "$ac_ct_CXX" >&6; }
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2909 $as_echo "no" >&6; }
2913 test -n "$ac_ct_CXX" && break
2916 if test "x$ac_ct_CXX" = x; then
2919 case $cross_compiling:$ac_tool_warned in
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2923 ac_tool_warned=yes ;;
2931 # Provide some information about the compiler.
2932 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2935 for ac_option in --version -v -V -qversion; do
2936 { { ac_try="$ac_compiler $ac_option >&5"
2938 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2939 *) ac_try_echo
=$ac_try;;
2941 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2942 $as_echo "$ac_try_echo"; } >&5
2943 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2945 if test -s conftest.err
; then
2947 ... rest of stderr output deleted ...
2948 10q' conftest.err
>conftest.er1
2949 cat conftest.er1
>&5
2951 rm -f conftest.er1 conftest.err
2952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2953 test $ac_status = 0; }
2956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2957 /* end confdefs.h. */
2967 ac_clean_files_save
=$ac_clean_files
2968 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2969 # Try to create an executable without -o first, disregard a.out.
2970 # It will help us diagnose broken compilers, and finding out an intuition
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2973 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2974 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2976 # The possible output files:
2977 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2980 for ac_file
in $ac_files
2983 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2984 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2989 if { { ac_try
="$ac_link_default"
2991 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2992 *) ac_try_echo=$ac_try;;
2994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2995 $as_echo "$ac_try_echo"; } >&5
2996 (eval "$ac_link_default") 2>&5
2998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2999 test $ac_status = 0; }; then :
3000 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3001 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3002 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3003 # so that the user can short-circuit this test for compilers unknown to
3005 for ac_file in $ac_files ''
3007 test -f "$ac_file" || continue
3009 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3012 # We found the default executable, but exeext='' is most
3016 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3018 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3020 # We set ac_cv_exeext here because the later test for it is not
3021 # safe: cross compilers may not add the suffix if given an `-o'
3022 # argument, so we may need to know it at that point already.
3023 # Even if this section looks crufty: it has the advantage of
3030 test "$ac_cv_exeext" = no && ac_cv_exeext=
3035 if test -z "$ac_file"; then :
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3037 $as_echo "no" >&6; }
3038 $as_echo "$as_me: failed program was:" >&5
3039 sed 's
/^
/|
/' conftest.$ac_ext >&5
3041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3042 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3043 as_fn_error 77 "C++ compiler cannot create executables
3044 See \`config.log
' for more details" "$LINENO" 5; }
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3047 $as_echo "yes" >&6; }
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3050 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3052 $as_echo "$ac_file" >&6; }
3053 ac_exeext=$ac_cv_exeext
3055 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3056 ac_clean_files=$ac_clean_files_save
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3058 $as_echo_n "checking for suffix of executables... " >&6; }
3059 if { { ac_try="$ac_link"
3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3065 $as_echo "$ac_try_echo"; } >&5
3066 (eval "$ac_link") 2>&5
3068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3069 test $ac_status = 0; }; then :
3070 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3071 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3072 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3074 for ac_file
in conftest.exe conftest conftest.
*; do
3075 test -f "$ac_file" ||
continue
3077 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3078 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3086 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3087 See \`config.log' for more details" "$LINENO" 5; }
3089 rm -f conftest conftest
$ac_cv_exeext
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3091 $as_echo "$ac_cv_exeext" >&6; }
3093 rm -f conftest.
$ac_ext
3094 EXEEXT
=$ac_cv_exeext
3096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3097 /* end confdefs.h. */
3102 FILE *f = fopen ("conftest.out", "w");
3103 return ferror (f) || fclose (f) != 0;
3109 ac_clean_files
="$ac_clean_files conftest.out"
3110 # Check that the compiler produces executables we can run. If not, either
3111 # the compiler is broken, or we cross compile.
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3113 $as_echo_n "checking whether we are cross compiling... " >&6; }
3114 if test "$cross_compiling" != yes; then
3115 { { ac_try
="$ac_link"
3117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3118 *) ac_try_echo=$ac_try;;
3120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3121 $as_echo "$ac_try_echo"; } >&5
3122 (eval "$ac_link") 2>&5
3124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3125 test $ac_status = 0; }
3126 if { ac_try='./conftest$ac_cv_exeext'
3127 { { case "(($ac_try" in
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_try") 2>&5
3135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3136 test $ac_status = 0; }; }; then
3139 if test "$cross_compiling" = maybe
; then
3142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3144 as_fn_error $?
"cannot run C++ compiled programs.
3145 If you meant to cross compile, use \`--host'.
3146 See \`config.log' for more details" "$LINENO" 5; }
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3151 $as_echo "$cross_compiling" >&6; }
3153 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3154 ac_clean_files
=$ac_clean_files_save
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3156 $as_echo_n "checking for suffix of object files... " >&6; }
3157 if ${ac_cv_objext+:} false
; then :
3158 $as_echo_n "(cached) " >&6
3160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3161 /* end confdefs.h. */
3171 rm -f conftest.o conftest.obj
3172 if { { ac_try
="$ac_compile"
3174 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3175 *) ac_try_echo=$ac_try;;
3177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3178 $as_echo "$ac_try_echo"; } >&5
3179 (eval "$ac_compile") 2>&5
3181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3182 test $ac_status = 0; }; then :
3183 for ac_file in conftest.o conftest.obj conftest.*; do
3184 test -f "$ac_file" || continue;
3186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3187 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3192 $as_echo "$as_me: failed program was:" >&5
3193 sed 's/^/| /' conftest.$ac_ext >&5
3195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3197 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3198 See \
`config.log' for more details" "$LINENO" 5; }
3200 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3203 $as_echo "$ac_cv_objext" >&6; }
3204 OBJEXT=$ac_cv_objext
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3207 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3208 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3209 $as_echo_n "(cached) " >&6
3211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3212 /* end confdefs.h. */
3225 if ac_fn_cxx_try_compile "$LINENO"; then :
3230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3231 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3235 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3236 if test $ac_compiler_gnu = yes; then
3241 ac_test_CXXFLAGS=${CXXFLAGS+set}
3242 ac_save_CXXFLAGS=$CXXFLAGS
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3244 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3245 if ${ac_cv_prog_cxx_g+:} false; then :
3246 $as_echo_n "(cached) " >&6
3248 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3249 ac_cxx_werror_flag=yes
3252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3253 /* end confdefs.h. */
3263 if ac_fn_cxx_try_compile "$LINENO"; then :
3264 ac_cv_prog_cxx_g=yes
3267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3268 /* end confdefs.h. */
3278 if ac_fn_cxx_try_compile "$LINENO"; then :
3281 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3284 /* end confdefs.h. */
3294 if ac_fn_cxx_try_compile "$LINENO"; then :
3295 ac_cv_prog_cxx_g=yes
3297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3302 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3305 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3306 if test "$ac_test_CXXFLAGS" = set; then
3307 CXXFLAGS=$ac_save_CXXFLAGS
3308 elif test $ac_cv_prog_cxx_g = yes; then
3309 if test "$GXX" = yes; then
3315 if test "$GXX" = yes; then
3322 ac_cpp='$CPP $CPPFLAGS'
3323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3328 ac_cpp='$CPP $CPPFLAGS'
3329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3332 if test -n "$ac_tool_prefix"; then
3333 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3334 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3336 $as_echo_n "checking for $ac_word... " >&6; }
3337 if ${ac_cv_prog_CC+:} false; then :
3338 $as_echo_n "(cached) " >&6
3340 if test -n "$CC"; then
3341 ac_cv_prog_CC="$CC" # Let the user override the test.
3343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3347 test -z "$as_dir" && as_dir=.
3348 for ac_exec_ext in '' $ac_executable_extensions; do
3349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3350 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3361 if test -n "$CC"; then
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3363 $as_echo "$CC" >&6; }
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3366 $as_echo "no" >&6; }
3371 if test -z "$ac_cv_prog_CC"; then
3373 # Extract the first word of "gcc", so it can be a program name with args.
3374 set dummy gcc; ac_word=$2
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3376 $as_echo_n "checking for $ac_word... " >&6; }
3377 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3378 $as_echo_n "(cached) " >&6
3380 if test -n "$ac_ct_CC"; then
3381 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387 test -z "$as_dir" && as_dir=.
3388 for ac_exec_ext in '' $ac_executable_extensions; do
3389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3390 ac_cv_prog_ac_ct_CC="gcc"
3391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3401 if test -n "$ac_ct_CC"; then
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3403 $as_echo "$ac_ct_CC" >&6; }
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3406 $as_echo "no" >&6; }
3409 if test "x$ac_ct_CC" = x; then
3412 case $cross_compiling:$ac_tool_warned in
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3416 ac_tool_warned=yes ;;
3424 if test -z "$CC"; then
3425 if test -n "$ac_tool_prefix"; then
3426 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3427 set dummy ${ac_tool_prefix}cc; ac_word=$2
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3429 $as_echo_n "checking for $ac_word... " >&6; }
3430 if ${ac_cv_prog_CC+:} false; then :
3431 $as_echo_n "(cached) " >&6
3433 if test -n "$CC"; then
3434 ac_cv_prog_CC="$CC" # Let the user override the test.
3436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3440 test -z "$as_dir" && as_dir=.
3441 for ac_exec_ext in '' $ac_executable_extensions; do
3442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3443 ac_cv_prog_CC="${ac_tool_prefix}cc"
3444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3454 if test -n "$CC"; then
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3456 $as_echo "$CC" >&6; }
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3459 $as_echo "no" >&6; }
3465 if test -z "$CC"; then
3466 # Extract the first word of "cc", so it can be a program name with args.
3467 set dummy cc; ac_word=$2
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3469 $as_echo_n "checking for $ac_word... " >&6; }
3470 if ${ac_cv_prog_CC+:} false; then :
3471 $as_echo_n "(cached) " >&6
3473 if test -n "$CC"; then
3474 ac_cv_prog_CC="$CC" # Let the user override the test.
3477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3481 test -z "$as_dir" && as_dir=.
3482 for ac_exec_ext in '' $ac_executable_extensions; do
3483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3484 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3485 ac_prog_rejected=yes
3489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3496 if test $ac_prog_rejected = yes; then
3497 # We found a bogon in the path, so make sure we never use it.
3498 set dummy $ac_cv_prog_CC
3500 if test $# != 0; then
3501 # We chose a different compiler from the bogus one.
3502 # However, it has the same basename, so the bogon will be chosen
3503 # first if we set CC to just the basename; use the full file name.
3505 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3511 if test -n "$CC"; then
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3513 $as_echo "$CC" >&6; }
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3516 $as_echo "no" >&6; }
3521 if test -z "$CC"; then
3522 if test -n "$ac_tool_prefix"; then
3523 for ac_prog in cl.exe
3525 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3526 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3528 $as_echo_n "checking for $ac_word... " >&6; }
3529 if ${ac_cv_prog_CC+:} false; then :
3530 $as_echo_n "(cached) " >&6
3532 if test -n "$CC"; then
3533 ac_cv_prog_CC="$CC" # Let the user override the test.
3535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3539 test -z "$as_dir" && as_dir=.
3540 for ac_exec_ext in '' $ac_executable_extensions; do
3541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3542 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3553 if test -n "$CC"; then
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3555 $as_echo "$CC" >&6; }
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3558 $as_echo "no" >&6; }
3562 test -n "$CC" && break
3565 if test -z "$CC"; then
3567 for ac_prog in cl.exe
3569 # Extract the first word of "$ac_prog", so it can be a program name with args.
3570 set dummy $ac_prog; ac_word=$2
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572 $as_echo_n "checking for $ac_word... " >&6; }
3573 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3574 $as_echo_n "(cached) " >&6
3576 if test -n "$ac_ct_CC"; then
3577 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3583 test -z "$as_dir" && as_dir=.
3584 for ac_exec_ext in '' $ac_executable_extensions; do
3585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3586 ac_cv_prog_ac_ct_CC="$ac_prog"
3587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3596 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3597 if test -n "$ac_ct_CC"; then
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3599 $as_echo "$ac_ct_CC" >&6; }
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 $as_echo "no" >&6; }
3606 test -n "$ac_ct_CC" && break
3609 if test "x$ac_ct_CC" = x; then
3612 case $cross_compiling:$ac_tool_warned in
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3616 ac_tool_warned=yes ;;
3625 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3627 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3628 See \
`config.log' for more details" "$LINENO" 5; }
3630 # Provide some information about the compiler.
3631 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3634 for ac_option in --version -v -V -qversion; do
3635 { { ac_try="$ac_compiler $ac_option >&5"
3637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3638 *) ac_try_echo
=$ac_try;;
3640 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3641 $as_echo "$ac_try_echo"; } >&5
3642 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3644 if test -s conftest.err
; then
3646 ... rest of stderr output deleted ...
3647 10q' conftest.err
>conftest.er1
3648 cat conftest.er1
>&5
3650 rm -f conftest.er1 conftest.err
3651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3652 test $ac_status = 0; }
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3656 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3657 if ${ac_cv_c_compiler_gnu+:} false
; then :
3658 $as_echo_n "(cached) " >&6
3660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3661 /* end confdefs.h. */
3674 if ac_fn_c_try_compile
"$LINENO"; then :
3679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3680 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3684 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3685 if test $ac_compiler_gnu = yes; then
3690 ac_test_CFLAGS
=${CFLAGS+set}
3691 ac_save_CFLAGS
=$CFLAGS
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3693 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3694 if ${ac_cv_prog_cc_g+:} false
; then :
3695 $as_echo_n "(cached) " >&6
3697 ac_save_c_werror_flag
=$ac_c_werror_flag
3698 ac_c_werror_flag
=yes
3701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3712 if ac_fn_c_try_compile
"$LINENO"; then :
3716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3717 /* end confdefs.h. */
3727 if ac_fn_c_try_compile
"$LINENO"; then :
3730 ac_c_werror_flag
=$ac_save_c_werror_flag
3732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3743 if ac_fn_c_try_compile
"$LINENO"; then :
3746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3751 ac_c_werror_flag
=$ac_save_c_werror_flag
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3754 $as_echo "$ac_cv_prog_cc_g" >&6; }
3755 if test "$ac_test_CFLAGS" = set; then
3756 CFLAGS
=$ac_save_CFLAGS
3757 elif test $ac_cv_prog_cc_g = yes; then
3758 if test "$GCC" = yes; then
3764 if test "$GCC" = yes; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3771 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3772 if ${ac_cv_prog_cc_c89+:} false
; then :
3773 $as_echo_n "(cached) " >&6
3775 ac_cv_prog_cc_c89
=no
3777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3778 /* end confdefs.h. */
3782 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3783 struct buf { int x; };
3784 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3785 static char *e (p, i)
3791 static char *f (char * (*g) (char **, int), char **p, ...)
3796 s = g (p, va_arg (v,int));
3801 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3802 function prototypes and stuff, but not '\xHH' hex character constants.
3803 These don't provoke an error unfortunately, instead are silently treated
3804 as 'x'. The following induces an error, until -std is added to get
3805 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3806 array size at least. It's necessary to write '\x00'==0 to get something
3807 that's true only with -std. */
3808 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3810 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3811 inside strings and character constants. */
3813 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3815 int test (int i, double x);
3816 struct s1 {int (*f) (int a);};
3817 struct s2 {int (*f) (double a);};
3818 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3824 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3829 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3830 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3832 CC
="$ac_save_CC $ac_arg"
3833 if ac_fn_c_try_compile
"$LINENO"; then :
3834 ac_cv_prog_cc_c89
=$ac_arg
3836 rm -f core conftest.err conftest.
$ac_objext
3837 test "x$ac_cv_prog_cc_c89" != "xno" && break
3839 rm -f conftest.
$ac_ext
3844 case "x$ac_cv_prog_cc_c89" in
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3847 $as_echo "none needed" >&6; } ;;
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3850 $as_echo "unsupported" >&6; } ;;
3852 CC
="$CC $ac_cv_prog_cc_c89"
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3854 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3856 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3861 ac_cpp
='$CPP $CPPFLAGS'
3862 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3863 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3864 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3866 case $ac_cv_prog_cc_stdc in #(
3868 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3871 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3872 if ${ac_cv_prog_cc_c99+:} false
; then :
3873 $as_echo_n "(cached) " >&6
3875 ac_cv_prog_cc_c99
=no
3877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3878 /* end confdefs.h. */
3880 #include <stdbool.h>
3885 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3886 #define debug(...) fprintf (stderr, __VA_ARGS__)
3887 #define showlist(...) puts (#__VA_ARGS__)
3888 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3890 test_varargs_macros (void)
3895 debug ("X = %d\n", x);
3896 showlist (The first, second, and third items.);
3897 report (x>y, "x is %d but y is %d", x, y);
3900 // Check long long types.
3901 #define BIG64 18446744073709551615ull
3902 #define BIG32 4294967295ul
3903 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3905 your preprocessor is broken;
3909 your preprocessor is broken;
3911 static long long int bignum = -9223372036854775807LL;
3912 static unsigned long long int ubignum = BIG64;
3914 struct incomplete_array
3922 const wchar_t *name;
3926 typedef const char *ccp;
3929 test_restrict (ccp restrict text)
3931 // See if C++-style comments work.
3932 // Iterate through items via the restricted pointer.
3933 // Also check for declarations in for loops.
3934 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3939 // Check varargs and va_copy.
3941 test_varargs (const char *format, ...)
3944 va_start (args, format);
3946 va_copy (args_copy, args);
3957 str = va_arg (args_copy, const char *);
3960 number = va_arg (args_copy, int);
3963 fnumber = va_arg (args_copy, double);
3978 _Bool success = false;
3981 if (test_restrict ("String literal") == 0)
3983 char *restrict newvar = "Another string";
3986 test_varargs ("s, d' f .", "string", 65, 34.234);
3987 test_varargs_macros ();
3989 // Check flexible array members.
3990 struct incomplete_array *ia =
3991 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3993 for (int i = 0; i < ia->datasize; ++i)
3994 ia->data[i] = i * 1.234;
3996 // Check named initializers.
3997 struct named_init ni = {
3999 .name = L"Test wide string",
4000 .average = 543.34343,
4005 int dynamic_array[ni.number];
4006 dynamic_array[ni.number - 1] = 543;
4008 // work around unused variable warnings
4009 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4010 || dynamic_array[ni.number - 1] != 543);
4016 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4018 CC
="$ac_save_CC $ac_arg"
4019 if ac_fn_c_try_compile
"$LINENO"; then :
4020 ac_cv_prog_cc_c99
=$ac_arg
4022 rm -f core conftest.err conftest.
$ac_objext
4023 test "x$ac_cv_prog_cc_c99" != "xno" && break
4025 rm -f conftest.
$ac_ext
4030 case "x$ac_cv_prog_cc_c99" in
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4033 $as_echo "none needed" >&6; } ;;
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4036 $as_echo "unsupported" >&6; } ;;
4038 CC
="$CC $ac_cv_prog_cc_c99"
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4040 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4042 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4043 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4046 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4047 if ${ac_cv_prog_cc_c89+:} false
; then :
4048 $as_echo_n "(cached) " >&6
4050 ac_cv_prog_cc_c89
=no
4052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4053 /* end confdefs.h. */
4057 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4058 struct buf { int x; };
4059 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4060 static char *e (p, i)
4066 static char *f (char * (*g) (char **, int), char **p, ...)
4071 s = g (p, va_arg (v,int));
4076 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4077 function prototypes and stuff, but not '\xHH' hex character constants.
4078 These don't provoke an error unfortunately, instead are silently treated
4079 as 'x'. The following induces an error, until -std is added to get
4080 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4081 array size at least. It's necessary to write '\x00'==0 to get something
4082 that's true only with -std. */
4083 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4085 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4086 inside strings and character constants. */
4088 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4090 int test (int i, double x);
4091 struct s1 {int (*f) (int a);};
4092 struct s2 {int (*f) (double a);};
4093 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4099 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4104 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4105 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4107 CC
="$ac_save_CC $ac_arg"
4108 if ac_fn_c_try_compile
"$LINENO"; then :
4109 ac_cv_prog_cc_c89
=$ac_arg
4111 rm -f core conftest.err conftest.
$ac_objext
4112 test "x$ac_cv_prog_cc_c89" != "xno" && break
4114 rm -f conftest.
$ac_ext
4119 case "x$ac_cv_prog_cc_c89" in
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4122 $as_echo "none needed" >&6; } ;;
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4125 $as_echo "unsupported" >&6; } ;;
4127 CC
="$CC $ac_cv_prog_cc_c89"
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4129 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4131 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4132 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4134 ac_cv_prog_cc_stdc
=no
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4141 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4142 if ${ac_cv_prog_cc_stdc+:} false
; then :
4143 $as_echo_n "(cached) " >&6
4146 case $ac_cv_prog_cc_stdc in #(
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4149 $as_echo "unsupported" >&6; } ;; #(
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4152 $as_echo "none needed" >&6; } ;; #(
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4155 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4159 ac_cpp
='$CPP $CPPFLAGS'
4160 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4161 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4162 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4164 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4165 # On Suns, sometimes $CPP names a directory.
4166 if test -n "$CPP" && test -d "$CPP"; then
4169 if test -z "$CPP"; then
4170 if ${ac_cv_prog_CPP+:} false
; then :
4171 $as_echo_n "(cached) " >&6
4173 # Double quotes because CPP needs to be expanded
4174 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4177 for ac_c_preproc_warn_flag
in '' yes
4179 # Use a header file that comes with gcc, so configuring glibc
4180 # with a fresh cross-compiler works.
4181 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4182 # <limits.h> exists even on freestanding compilers.
4183 # On the NeXT, cc -E runs the code through the compiler's parser,
4184 # not just through cpp. "Syntax error" is here to catch this case.
4185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4186 /* end confdefs.h. */
4188 # include <limits.h>
4190 # include <assert.h>
4194 if ac_fn_c_try_cpp
"$LINENO"; then :
4197 # Broken: fails on valid input.
4200 rm -f conftest.err conftest.i conftest.
$ac_ext
4202 # OK, works on sane cases. Now check whether nonexistent headers
4203 # can be detected and how.
4204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h. */
4206 #include <ac_nonexistent.h>
4208 if ac_fn_c_try_cpp
"$LINENO"; then :
4209 # Broken: success on invalid input.
4212 # Passes both tests.
4216 rm -f conftest.err conftest.i conftest.
$ac_ext
4219 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4220 rm -f conftest.i conftest.err conftest.
$ac_ext
4221 if $ac_preproc_ok; then :
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4234 $as_echo "$CPP" >&6; }
4236 for ac_c_preproc_warn_flag
in '' yes
4238 # Use a header file that comes with gcc, so configuring glibc
4239 # with a fresh cross-compiler works.
4240 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4241 # <limits.h> exists even on freestanding compilers.
4242 # On the NeXT, cc -E runs the code through the compiler's parser,
4243 # not just through cpp. "Syntax error" is here to catch this case.
4244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4247 # include <limits.h>
4249 # include <assert.h>
4253 if ac_fn_c_try_cpp
"$LINENO"; then :
4256 # Broken: fails on valid input.
4259 rm -f conftest.err conftest.i conftest.
$ac_ext
4261 # OK, works on sane cases. Now check whether nonexistent headers
4262 # can be detected and how.
4263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4264 /* end confdefs.h. */
4265 #include <ac_nonexistent.h>
4267 if ac_fn_c_try_cpp
"$LINENO"; then :
4268 # Broken: success on invalid input.
4271 # Passes both tests.
4275 rm -f conftest.err conftest.i conftest.
$ac_ext
4278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4279 rm -f conftest.i conftest.err conftest.
$ac_ext
4280 if $ac_preproc_ok; then :
4283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4285 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4286 See \`config.log' for more details" "$LINENO" 5; }
4290 ac_cpp
='$CPP $CPPFLAGS'
4291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4296 # Check for a compatible awk
4297 for ac_prog
in gawk nawk
4299 # Extract the first word of "$ac_prog", so it can be a program name with args.
4300 set dummy
$ac_prog; ac_word
=$2
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4302 $as_echo_n "checking for $ac_word... " >&6; }
4303 if ${ac_cv_prog_AWK+:} false
; then :
4304 $as_echo_n "(cached) " >&6
4306 if test -n "$AWK"; then
4307 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4313 test -z "$as_dir" && as_dir
=.
4314 for ac_exec_ext
in '' $ac_executable_extensions; do
4315 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4316 ac_cv_prog_AWK
="$ac_prog"
4317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4327 if test -n "$AWK"; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4329 $as_echo "$AWK" >&6; }
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4336 test -n "$AWK" && break
4339 if test "$AWK" = ""; then
4340 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4342 # Extract the first word of "mmake", so it can be a program name with args.
4343 set dummy mmake
; ac_word
=$2
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4345 $as_echo_n "checking for $ac_word... " >&6; }
4346 if ${ac_cv_prog_MMAKE+:} false
; then :
4347 $as_echo_n "(cached) " >&6
4349 if test -n "$MMAKE"; then
4350 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4356 test -z "$as_dir" && as_dir
=.
4357 for ac_exec_ext
in '' $ac_executable_extensions; do
4358 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4359 ac_cv_prog_MMAKE
="mmake "
4360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 MMAKE
=$ac_cv_prog_MMAKE
4370 if test -n "$MMAKE"; then
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4372 $as_echo "$MMAKE" >&6; }
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4375 $as_echo "no" >&6; }
4380 # Perform some default variable assignments. Note all of these will be
4381 # Regenerated from the script, so there is no need to cache them.
4383 aros_host_cpp
="$CPP"
4385 aros_host_cxx
="$CXX"
4386 if test "$GCC" = "yes"; then
4387 aros_gcc_ld
=`$CC -print-prog-name=ld`
4388 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4389 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4391 $as_echo_n "checking for $ac_word... " >&6; }
4392 if ${ac_cv_path_aros_host_ld+:} false
; then :
4393 $as_echo_n "(cached) " >&6
4395 case $aros_host_ld in
4397 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4401 for as_dir
in `dirname $aros_gcc_ld`
4404 test -z "$as_dir" && as_dir
=.
4405 for ac_exec_ext
in '' $ac_executable_extensions; do
4406 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4418 aros_host_ld
=$ac_cv_path_aros_host_ld
4419 if test -n "$aros_host_ld"; then
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4421 $as_echo "$aros_host_ld" >&6; }
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4424 $as_echo "no" >&6; }
4429 if test "$aros_host_ld" = ""; then
4430 # Extract the first word of "ld", so it can be a program name with args.
4431 set dummy ld
; ac_word
=$2
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433 $as_echo_n "checking for $ac_word... " >&6; }
4434 if ${ac_cv_path_aros_host_ld+:} false
; then :
4435 $as_echo_n "(cached) " >&6
4437 case $aros_host_ld in
4439 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4446 test -z "$as_dir" && as_dir
=.
4447 for ac_exec_ext
in '' $ac_executable_extensions; do
4448 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4449 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4460 aros_host_ld
=$ac_cv_path_aros_host_ld
4461 if test -n "$aros_host_ld"; then
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4463 $as_echo "$aros_host_ld" >&6; }
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4466 $as_echo "no" >&6; }
4471 if test "$aros_host_ld" = ""; then
4472 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4474 aros_host_make
="make"
4475 aros_host_cflags
="$CFLAGS"
4476 aros_host_cxxflags
="$CXXFLAGS"
4477 aros_host_ldflags
="$LDFLAGS"
4478 aros_host_debug
="-g -O0"
4479 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4480 aros_host_mkargs
="--no-print-directory"
4481 aros_host_exe_suffix
="$EXEEXT"
4482 aros_host_lib_suffix
=""
4484 # Ignore all compliance, AROS ROMs = 0
4485 # KickStart v1.0 = 30
4486 # KickStart v1.3 = 34
4487 # KickStart v2.0 = 37
4488 # KickStart v3.0 = 39
4489 # KickStart v3.1 = 40
4491 aros_amigaos_compliance
=0
4493 for ac_prog
in aclocal aclocal19 aclocal-1.9
4495 # Extract the first word of "$ac_prog", so it can be a program name with args.
4496 set dummy
$ac_prog; ac_word
=$2
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4498 $as_echo_n "checking for $ac_word... " >&6; }
4499 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4500 $as_echo_n "(cached) " >&6
4502 if test -n "$aros_host_aclocal"; then
4503 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4509 test -z "$as_dir" && as_dir
=.
4510 for ac_exec_ext
in '' $ac_executable_extensions; do
4511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4512 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4523 if test -n "$aros_host_aclocal"; then
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4525 $as_echo "$aros_host_aclocal" >&6; }
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4528 $as_echo "no" >&6; }
4532 test -n "$aros_host_aclocal" && break
4535 for ac_prog
in autoconf autoconf259 autoconf253
4537 # Extract the first word of "$ac_prog", so it can be a program name with args.
4538 set dummy
$ac_prog; ac_word
=$2
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4540 $as_echo_n "checking for $ac_word... " >&6; }
4541 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4542 $as_echo_n "(cached) " >&6
4544 if test -n "$aros_host_autoconf"; then
4545 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4551 test -z "$as_dir" && as_dir
=.
4552 for ac_exec_ext
in '' $ac_executable_extensions; do
4553 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4554 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4564 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4565 if test -n "$aros_host_autoconf"; then
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4567 $as_echo "$aros_host_autoconf" >&6; }
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4570 $as_echo "no" >&6; }
4574 test -n "$aros_host_autoconf" && break
4577 for ac_prog
in autoheader autoheader259 autoheader253
4579 # Extract the first word of "$ac_prog", so it can be a program name with args.
4580 set dummy
$ac_prog; ac_word
=$2
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4582 $as_echo_n "checking for $ac_word... " >&6; }
4583 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4584 $as_echo_n "(cached) " >&6
4586 if test -n "$aros_host_autoheader"; then
4587 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4593 test -z "$as_dir" && as_dir
=.
4594 for ac_exec_ext
in '' $ac_executable_extensions; do
4595 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4596 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4606 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4607 if test -n "$aros_host_autoheader"; then
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4609 $as_echo "$aros_host_autoheader" >&6; }
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4612 $as_echo "no" >&6; }
4616 test -n "$aros_host_autoheader" && break
4619 for ac_prog
in automake automake19 automake-1.9
4621 # Extract the first word of "$ac_prog", so it can be a program name with args.
4622 set dummy
$ac_prog; ac_word
=$2
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4624 $as_echo_n "checking for $ac_word... " >&6; }
4625 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4626 $as_echo_n "(cached) " >&6
4628 if test -n "$aros_host_automake"; then
4629 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4635 test -z "$as_dir" && as_dir
=.
4636 for ac_exec_ext
in '' $ac_executable_extensions; do
4637 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4638 ac_cv_prog_aros_host_automake
="$ac_prog"
4639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4648 aros_host_automake
=$ac_cv_prog_aros_host_automake
4649 if test -n "$aros_host_automake"; then
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4651 $as_echo "$aros_host_automake" >&6; }
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4654 $as_echo "no" >&6; }
4658 test -n "$aros_host_automake" && break
4662 if test "$aros_host_aclocal" = ""; then
4663 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4665 if test "$aros_host_automake" = ""; then
4666 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4669 case "$aros_host_cc" in
4671 aros_host_cc_pipe
="-pipe"
4674 aros_host_cc_pipe
=""
4677 aros_host_cc_pipe
=""
4681 aros_kernel_cc_includes
=""
4682 aros_target_cc_includes
=""
4685 # ----------------------------------------------------------------------------------------
4686 # Host-specific defaults
4688 # This is the main host configuration section. It is where the host
4689 # can change the values of any variables it needs to change. We do
4690 # not look at anything that compiles to the target yet, we'll get
4695 aros_host_arch
="aros"
4696 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4699 aros_host_cpu
="i386"
4702 aros_host_cpu
="x86_64"
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4709 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4710 aros_host_cpu
="$host_cpu"
4716 aros_host_arch
="linux"
4717 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4718 android_build_os
="linux-x86"
4719 android_tool
="android"
4720 default_android_sdk
="/opt/android-sdk-linux_x86"
4723 aros_host_cpu
="i386"
4726 aros_host_cpu
="x86_64"
4729 aros_host_cpu
="m68k"
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4739 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4740 aros_host_cpu
="$host_cpu"
4746 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4747 aros_host_make
="gmake"
4748 aros_host_arch
="freebsd"
4749 aros_host_cpu
="i386"
4751 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4755 aros_object_format
="elf_i386"
4759 aros_object_format
="elf_i386_fbsd"
4766 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4767 aros_host_arch
="darwin"
4770 android_build_os
="darwin-x86"
4771 android_tool
="android"
4772 default_android_sdk
="/android-sdk-mac_x86"
4775 aros_host_cpu
="i386"
4778 aros_host_cpu
="x86_64"
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4785 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4786 aros_host_cpu
="$host_cpu"
4790 aros_host_ldflags
="$aros_host_ldflags -liconv"
4795 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4796 aros_host_make
="gmake"
4797 aros_host_arch
="dragonfly"
4800 aros_host_cpu
="i386"
4803 aros_host_cpu
="x86_64"
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4807 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4808 aros_host_cpu
="$host_cpu"
4814 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4815 aros_host_make
="gmake"
4816 aros_host_arch
="netbsd"
4819 aros_host_cpu
="i386"
4822 aros_host_cpu
="m68k"
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4826 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4827 aros_host_cpu
="$host_cpu"
4830 aros_host_lib_suffix
=".0.0"
4834 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4835 aros_host_make
="gmake"
4836 aros_host_arch
="openbsd"
4839 aros_host_cpu
="i386"
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4843 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4844 aros_host_cpu
="$host_cpu"
4850 aros_host_arch
="solaris"
4851 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4854 aros_host_cpu
="i386"
4857 aros_host_cpu
="sparc"
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4861 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4862 aros_host_cpu
="$host_cpu"
4868 aros_host_arch
="morphos"
4874 aros_host_arch
="amiga"
4880 TOUCH
="/gg/bin/touch"
4883 aros_host_cpu
="m68k"
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4890 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4891 aros_host_cpu
="$host_cpu"
4897 aros_host_arch
="cygwin"
4898 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4900 android_build_os
="windows"
4901 android_tool
="android.bat"
4902 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4906 aros_host_cpu
="i386"
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4910 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4911 aros_host_cpu
="$host_cpu"
4917 aros_host_arch
="mingw32"
4918 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4920 android_build_os
="windows"
4921 android_tool
="android.bat"
4922 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4928 $as_echo_n "checking for Windows native gcc target... " >&6; }
4929 host_cpu
=`gcc -dumpmachine`
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4931 $as_echo "$host_cpu" >&6; }
4938 aros_host_cpu
="i386"
4942 aros_host_cpu
="i386"
4946 aros_host_cpu
="x86_64"
4947 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4952 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4953 aros_host_cpu
="$host_cpu"
4958 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4962 # Extract the first word of "ar", so it can be a program name with args.
4963 set dummy
ar; ac_word
=$2
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4965 $as_echo_n "checking for $ac_word... " >&6; }
4966 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4967 $as_echo_n "(cached) " >&6
4969 if test -n "$aros_host_ar"; then
4970 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4976 test -z "$as_dir" && as_dir
=.
4977 for ac_exec_ext
in '' $ac_executable_extensions; do
4978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4979 ac_cv_prog_aros_host_ar
="ar cr"
4980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4989 aros_host_ar
=$ac_cv_prog_aros_host_ar
4990 if test -n "$aros_host_ar"; then
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4992 $as_echo "$aros_host_ar" >&6; }
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995 $as_echo "no" >&6; }
4999 if test "$aros_host_ar" = ""; then
5000 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
5002 # Extract the first word of "ranlib", so it can be a program name with args.
5003 set dummy ranlib
; ac_word
=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
5007 $as_echo_n "(cached) " >&6
5009 if test -n "$aros_host_ranlib"; then
5010 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
5012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir
=.
5017 for ac_exec_ext
in '' $ac_executable_extensions; do
5018 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5019 ac_cv_prog_aros_host_ranlib
="ranlib "
5020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
5030 if test -n "$aros_host_ranlib"; then
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
5032 $as_echo "$aros_host_ranlib" >&6; }
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035 $as_echo "no" >&6; }
5039 if test "$aros_host_ranlib" = ""; then
5040 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5042 # Extract the first word of "strip", so it can be a program name with args.
5043 set dummy strip
; ac_word
=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5047 $as_echo_n "(cached) " >&6
5049 if test -n "$aros_host_strip"; then
5050 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5056 test -z "$as_dir" && as_dir
=.
5057 for ac_exec_ext
in '' $ac_executable_extensions; do
5058 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5059 ac_cv_prog_aros_host_strip
="strip "
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 aros_host_strip
=$ac_cv_prog_aros_host_strip
5070 if test -n "$aros_host_strip"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5072 $as_echo "$aros_host_strip" >&6; }
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5079 if test "$aros_host_strip" = ""; then
5080 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5083 # Extract the first word of "rm", so it can be a program name with args.
5084 set dummy
rm; ac_word
=$2
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5086 $as_echo_n "checking for $ac_word... " >&6; }
5087 if ${ac_cv_prog_RM+:} false
; then :
5088 $as_echo_n "(cached) " >&6
5090 if test -n "$RM"; then
5091 ac_cv_prog_RM
="$RM" # Let the user override the test.
5093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5097 test -z "$as_dir" && as_dir
=.
5098 for ac_exec_ext
in '' $ac_executable_extensions; do
5099 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5100 ac_cv_prog_RM
="rm -rf"
5101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5111 if test -n "$RM"; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5113 $as_echo "$RM" >&6; }
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5120 if test "$RM" = ""; then
5121 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5123 # Extract the first word of "cp", so it can be a program name with args.
5124 set dummy
cp; ac_word
=$2
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126 $as_echo_n "checking for $ac_word... " >&6; }
5127 if ${ac_cv_prog_CP+:} false
; then :
5128 $as_echo_n "(cached) " >&6
5130 if test -n "$CP"; then
5131 ac_cv_prog_CP
="$CP" # Let the user override the test.
5133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5137 test -z "$as_dir" && as_dir
=.
5138 for ac_exec_ext
in '' $ac_executable_extensions; do
5139 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 if test -n "$CP"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5153 $as_echo "$CP" >&6; }
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5160 if test "$CP" = ""; then
5161 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5163 # Extract the first word of "mv", so it can be a program name with args.
5164 set dummy
mv; ac_word
=$2
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5166 $as_echo_n "checking for $ac_word... " >&6; }
5167 if ${ac_cv_prog_MV+:} false
; then :
5168 $as_echo_n "(cached) " >&6
5170 if test -n "$MV"; then
5171 ac_cv_prog_MV
="$MV" # Let the user override the test.
5173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5177 test -z "$as_dir" && as_dir
=.
5178 for ac_exec_ext
in '' $ac_executable_extensions; do
5179 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 if test -n "$MV"; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5193 $as_echo "$MV" >&6; }
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196 $as_echo "no" >&6; }
5200 if test "$MV" = ""; then
5201 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5203 # Extract the first word of "echo", so it can be a program name with args.
5204 set dummy
echo; ac_word
=$2
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5206 $as_echo_n "checking for $ac_word... " >&6; }
5207 if ${ac_cv_prog_ECHO+:} false
; then :
5208 $as_echo_n "(cached) " >&6
5210 if test -n "$ECHO"; then
5211 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5217 test -z "$as_dir" && as_dir
=.
5218 for ac_exec_ext
in '' $ac_executable_extensions; do
5219 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5220 ac_cv_prog_ECHO
="echo "
5221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 ECHO
=$ac_cv_prog_ECHO
5231 if test -n "$ECHO"; then
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5233 $as_echo "$ECHO" >&6; }
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5236 $as_echo "no" >&6; }
5240 if test "$ECHO" = ""; then
5241 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5243 # Extract the first word of "mkdir", so it can be a program name with args.
5244 set dummy mkdir
; ac_word
=$2
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5246 $as_echo_n "checking for $ac_word... " >&6; }
5247 if ${ac_cv_prog_MKDIR+:} false
; then :
5248 $as_echo_n "(cached) " >&6
5250 if test -n "$MKDIR"; then
5251 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5257 test -z "$as_dir" && as_dir
=.
5258 for ac_exec_ext
in '' $ac_executable_extensions; do
5259 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5260 ac_cv_prog_MKDIR
="mkdir -p"
5261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 MKDIR
=$ac_cv_prog_MKDIR
5271 if test -n "$MKDIR"; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5273 $as_echo "$MKDIR" >&6; }
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5280 if test "$MKDIR" = ""; then
5281 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5283 # Extract the first word of "touch", so it can be a program name with args.
5284 set dummy
touch; ac_word
=$2
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5286 $as_echo_n "checking for $ac_word... " >&6; }
5287 if ${ac_cv_prog_TOUCH+:} false
; then :
5288 $as_echo_n "(cached) " >&6
5290 if test -n "$TOUCH"; then
5291 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5297 test -z "$as_dir" && as_dir
=.
5298 for ac_exec_ext
in '' $ac_executable_extensions; do
5299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5300 ac_cv_prog_TOUCH
="touch "
5301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5310 TOUCH
=$ac_cv_prog_TOUCH
5311 if test -n "$TOUCH"; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5313 $as_echo "$TOUCH" >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5320 if test "$TOUCH" = ""; then
5321 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5323 # Extract the first word of "sort", so it can be a program name with args.
5324 set dummy
sort; ac_word
=$2
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5326 $as_echo_n "checking for $ac_word... " >&6; }
5327 if ${ac_cv_prog_SORT+:} false
; then :
5328 $as_echo_n "(cached) " >&6
5330 if test -n "$SORT"; then
5331 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5337 test -z "$as_dir" && as_dir
=.
5338 for ac_exec_ext
in '' $ac_executable_extensions; do
5339 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5340 ac_cv_prog_SORT
="sort "
5341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5350 SORT
=$ac_cv_prog_SORT
5351 if test -n "$SORT"; then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5353 $as_echo "$SORT" >&6; }
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356 $as_echo "no" >&6; }
5360 if test "$SORT" = ""; then
5361 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5363 # Extract the first word of "uniq", so it can be a program name with args.
5364 set dummy
uniq; ac_word
=$2
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5366 $as_echo_n "checking for $ac_word... " >&6; }
5367 if ${ac_cv_prog_UNIQ+:} false
; then :
5368 $as_echo_n "(cached) " >&6
5370 if test -n "$UNIQ"; then
5371 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5377 test -z "$as_dir" && as_dir
=.
5378 for ac_exec_ext
in '' $ac_executable_extensions; do
5379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5380 ac_cv_prog_UNIQ
="uniq "
5381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 UNIQ
=$ac_cv_prog_UNIQ
5391 if test -n "$UNIQ"; then
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5393 $as_echo "$UNIQ" >&6; }
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5396 $as_echo "no" >&6; }
5400 if test "$UNIQ" = ""; then
5401 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5403 # Extract the first word of "true", so it can be a program name with args.
5404 set dummy true
; ac_word
=$2
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5406 $as_echo_n "checking for $ac_word... " >&6; }
5407 if ${ac_cv_prog_NOP+:} false
; then :
5408 $as_echo_n "(cached) " >&6
5410 if test -n "$NOP"; then
5411 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5417 test -z "$as_dir" && as_dir
=.
5418 for ac_exec_ext
in '' $ac_executable_extensions; do
5419 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5420 ac_cv_prog_NOP
="true "
5421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5431 if test -n "$NOP"; then
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5433 $as_echo "$NOP" >&6; }
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5436 $as_echo "no" >&6; }
5440 if test "$NOP" = ""; then
5441 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5443 # Extract the first word of "cat", so it can be a program name with args.
5444 set dummy
cat; ac_word
=$2
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5446 $as_echo_n "checking for $ac_word... " >&6; }
5447 if ${ac_cv_prog_CAT+:} false
; then :
5448 $as_echo_n "(cached) " >&6
5450 if test -n "$CAT"; then
5451 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5457 test -z "$as_dir" && as_dir
=.
5458 for ac_exec_ext
in '' $ac_executable_extensions; do
5459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5460 ac_cv_prog_CAT
="cat "
5461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 if test -n "$CAT"; then
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5473 $as_echo "$CAT" >&6; }
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5476 $as_echo "no" >&6; }
5480 if test "$CAT" = ""; then
5481 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5483 # Extract the first word of "bison", so it can be a program name with args.
5484 set dummy bison
; ac_word
=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5486 $as_echo_n "checking for $ac_word... " >&6; }
5487 if ${ac_cv_prog_BISON+:} false
; then :
5488 $as_echo_n "(cached) " >&6
5490 if test -n "$BISON"; then
5491 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5497 test -z "$as_dir" && as_dir
=.
5498 for ac_exec_ext
in '' $ac_executable_extensions; do
5499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_prog_BISON
="bison "
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5510 BISON
=$ac_cv_prog_BISON
5511 if test -n "$BISON"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5513 $as_echo "$BISON" >&6; }
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5520 if test "$BISON" = ""; then
5521 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5523 # Extract the first word of "flex", so it can be a program name with args.
5524 set dummy flex
; ac_word
=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_prog_FLEX+:} false
; then :
5528 $as_echo_n "(cached) " >&6
5530 if test -n "$FLEX"; then
5531 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5537 test -z "$as_dir" && as_dir
=.
5538 for ac_exec_ext
in '' $ac_executable_extensions; do
5539 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_prog_FLEX
="flex "
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5550 FLEX
=$ac_cv_prog_FLEX
5551 if test -n "$FLEX"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5553 $as_echo "$FLEX" >&6; }
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5560 if test "$FLEX" = ""; then
5561 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5563 # Extract the first word of "pngtopnm", so it can be a program name with args.
5564 set dummy pngtopnm
; ac_word
=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5568 $as_echo_n "(cached) " >&6
5570 if test -n "$PNGTOPNM"; then
5571 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5577 test -z "$as_dir" && as_dir
=.
5578 for ac_exec_ext
in '' $ac_executable_extensions; do
5579 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_PNGTOPNM
="pngtopnm "
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5591 if test -n "$PNGTOPNM"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5593 $as_echo "$PNGTOPNM" >&6; }
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5600 if test "$PNGTOPNM" = ""; then
5601 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5603 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5604 set dummy ppmtoilbm
; ac_word
=$2
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 $as_echo_n "checking for $ac_word... " >&6; }
5607 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5608 $as_echo_n "(cached) " >&6
5610 if test -n "$PPMTOILBM"; then
5611 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5617 test -z "$as_dir" && as_dir
=.
5618 for ac_exec_ext
in '' $ac_executable_extensions; do
5619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5620 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5631 if test -n "$PPMTOILBM"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5633 $as_echo "$PPMTOILBM" >&6; }
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5640 if test "$PPMTOILBM" = ""; then
5641 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5643 # Extract the first word of "sed", so it can be a program name with args.
5644 set dummy
sed; ac_word
=$2
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5646 $as_echo_n "checking for $ac_word... " >&6; }
5647 if ${ac_cv_prog_SED+:} false
; then :
5648 $as_echo_n "(cached) " >&6
5650 if test -n "$SED"; then
5651 ac_cv_prog_SED
="$SED" # Let the user override the test.
5653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5657 test -z "$as_dir" && as_dir
=.
5658 for ac_exec_ext
in '' $ac_executable_extensions; do
5659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5660 ac_cv_prog_SED
="sed "
5661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 if test -n "$SED"; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5673 $as_echo "$SED" >&6; }
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5676 $as_echo "no" >&6; }
5680 if test "$SED" = ""; then
5681 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5683 # Extract the first word of "chmod", so it can be a program name with args.
5684 set dummy
chmod; ac_word
=$2
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5686 $as_echo_n "checking for $ac_word... " >&6; }
5687 if ${ac_cv_prog_CHMOD+:} false
; then :
5688 $as_echo_n "(cached) " >&6
5690 if test -n "$CHMOD"; then
5691 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5697 test -z "$as_dir" && as_dir
=.
5698 for ac_exec_ext
in '' $ac_executable_extensions; do
5699 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5700 ac_cv_prog_CHMOD
="chmod "
5701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5710 CHMOD
=$ac_cv_prog_CHMOD
5711 if test -n "$CHMOD"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5713 $as_echo "$CHMOD" >&6; }
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5720 if test "$CHMOD" = ""; then
5721 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5723 # Extract the first word of "patch", so it can be a program name with args.
5724 set dummy
patch; ac_word
=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5726 $as_echo_n "checking for $ac_word... " >&6; }
5727 if ${ac_cv_prog_PATCH+:} false
; then :
5728 $as_echo_n "(cached) " >&6
5730 if test -n "$PATCH"; then
5731 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5737 test -z "$as_dir" && as_dir
=.
5738 for ac_exec_ext
in '' $ac_executable_extensions; do
5739 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5740 ac_cv_prog_PATCH
="patch "
5741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 PATCH
=$ac_cv_prog_PATCH
5751 if test -n "$PATCH"; then
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5753 $as_echo "$PATCH" >&6; }
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5760 if test "$PATCH" = ""; then
5761 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5770 if test -n "$PYTHON"; then
5771 # If the user set $PYTHON, use it and don't search something else.
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
5773 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
5775 # split strings by '.' and convert to numeric. Append some zeros
5776 # because we need at least 4 digits for the hex conversion.
5777 # map returns an iterator in Python 3.0 and a list in 2.x
5778 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5780 # xrange is not present in Python 3.0 and range returns an iterator
5781 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5782 sys.exit(sys.hexversion < minverhex)"
5783 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5784 ($PYTHON -c "$prog") >&5 2>&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); }; then :
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5789 $as_echo "yes" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5793 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
5795 am_display_PYTHON
=$PYTHON
5797 # Otherwise, try each interpreter until we find one that satisfies
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5800 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5801 if ${am_cv_pathless_PYTHON+:} false
; then :
5802 $as_echo_n "(cached) " >&6
5805 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
5806 test "$am_cv_pathless_PYTHON" = none
&& break
5808 # split strings by '.' and convert to numeric. Append some zeros
5809 # because we need at least 4 digits for the hex conversion.
5810 # map returns an iterator in Python 3.0 and a list in 2.x
5811 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5813 # xrange is not present in Python 3.0 and range returns an iterator
5814 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5815 sys.exit(sys.hexversion < minverhex)"
5816 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5817 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820 (exit $ac_status); }; then :
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5826 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5827 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5828 if test "$am_cv_pathless_PYTHON" = none
; then
5831 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5832 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5834 $as_echo_n "checking for $ac_word... " >&6; }
5835 if ${ac_cv_path_PYTHON+:} false
; then :
5836 $as_echo_n "(cached) " >&6
5840 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir
=.
5848 for ac_exec_ext
in '' $ac_executable_extensions; do
5849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5850 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 PYTHON
=$ac_cv_path_PYTHON
5862 if test -n "$PYTHON"; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5864 $as_echo "$PYTHON" >&6; }
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5872 am_display_PYTHON
=$am_cv_pathless_PYTHON
5876 if test "$PYTHON" = :; then
5877 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5882 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5883 if ${am_cv_python_version+:} false
; then :
5884 $as_echo_n "(cached) " >&6
5886 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5889 $as_echo "$am_cv_python_version" >&6; }
5890 PYTHON_VERSION
=$am_cv_python_version
5894 PYTHON_PREFIX
='${prefix}'
5896 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5901 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5902 if ${am_cv_python_platform+:} false
; then :
5903 $as_echo_n "(cached) " >&6
5905 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5908 $as_echo "$am_cv_python_platform" >&6; }
5909 PYTHON_PLATFORM
=$am_cv_python_platform
5912 # Just factor out some code duplication.
5913 am_python_setup_sysconfig
="\
5915 # Prefer sysconfig over distutils.sysconfig, for better compatibility
5916 # with python 3.x. See automake bug#10227.
5920 can_use_sysconfig = 0
5922 can_use_sysconfig = 1
5923 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
5924 # <https://github.com/pypa/virtualenv/issues/118>
5926 from platform import python_implementation
5927 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
5928 can_use_sysconfig = 0
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5934 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5935 if ${am_cv_python_pythondir+:} false
; then :
5936 $as_echo_n "(cached) " >&6
5938 if test "x$prefix" = xNONE
5940 am_py_prefix
=$ac_default_prefix
5942 am_py_prefix
=$prefix
5944 am_cv_python_pythondir
=`$PYTHON -c "
5945 $am_python_setup_sysconfig
5946 if can_use_sysconfig:
5947 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
5949 from distutils import sysconfig
5950 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
5951 sys.stdout.write(sitedir)"`
5952 case $am_cv_python_pythondir in
5954 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5955 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5958 case $am_py_prefix in
5961 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5969 $as_echo "$am_cv_python_pythondir" >&6; }
5970 pythondir
=$am_cv_python_pythondir
5974 pkgpythondir
=\
${pythondir}/$PACKAGE
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5978 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5979 if ${am_cv_python_pyexecdir+:} false
; then :
5980 $as_echo_n "(cached) " >&6
5982 if test "x$exec_prefix" = xNONE
5984 am_py_exec_prefix
=$am_py_prefix
5986 am_py_exec_prefix
=$exec_prefix
5988 am_cv_python_pyexecdir
=`$PYTHON -c "
5989 $am_python_setup_sysconfig
5990 if can_use_sysconfig:
5991 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
5993 from distutils import sysconfig
5994 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
5995 sys.stdout.write(sitedir)"`
5996 case $am_cv_python_pyexecdir in
5997 $am_py_exec_prefix*)
5998 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5999 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
6002 case $am_py_exec_prefix in
6005 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6013 $as_echo "$am_cv_python_pyexecdir" >&6; }
6014 pyexecdir
=$am_cv_python_pyexecdir
6018 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6028 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6029 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6030 $as_echo_n "(cached) " >&6
6032 ac_check_lib_save_LIBS
=$LIBS
6034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6035 /* end confdefs.h. */
6037 /* Override any GCC internal prototype to avoid an error.
6038 Use char because int might match the return type of a GCC
6039 builtin and then its argument prototype would still apply. */
6043 char png_read_png ();
6047 return png_read_png ();
6052 if ac_fn_c_try_link
"$LINENO"; then :
6053 ac_cv_lib_png_png_read_png
=yes
6055 ac_cv_lib_png_png_read_png
=no
6057 rm -f core conftest.err conftest.
$ac_objext \
6058 conftest
$ac_exeext conftest.
$ac_ext
6059 LIBS
=$ac_check_lib_save_LIBS
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6062 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6063 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6064 cat >>confdefs.h
<<_ACEOF
6065 #define HAVE_LIBPNG 1
6072 if test "$ac_cv_lib_png_png_read_png" = ""; then
6073 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6086 # Check for some includes for the X11 HIDD and the kernel
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6089 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6090 if ${ac_cv_path_GREP+:} false
; then :
6091 $as_echo_n "(cached) " >&6
6093 if test -z "$GREP"; then
6094 ac_path_GREP_found
=false
6095 # Loop through the user's path and test for each of PROGNAME-LIST
6096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6097 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6100 test -z "$as_dir" && as_dir
=.
6101 for ac_prog
in grep ggrep
; do
6102 for ac_exec_ext
in '' $ac_executable_extensions; do
6103 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6104 as_fn_executable_p
"$ac_path_GREP" ||
continue
6105 # Check for GNU ac_path_GREP and select it if it is found.
6106 # Check for GNU $ac_path_GREP
6107 case `"$ac_path_GREP" --version 2>&1` in
6109 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6112 $as_echo_n 0123456789 >"conftest.in"
6115 cat "conftest.in" "conftest.in" >"conftest.tmp"
6116 mv "conftest.tmp" "conftest.in"
6117 cp "conftest.in" "conftest.nl"
6118 $as_echo 'GREP' >> "conftest.nl"
6119 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6120 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6121 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6122 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6123 # Best one so far, save it but keep looking for a better one
6124 ac_cv_path_GREP
="$ac_path_GREP"
6125 ac_path_GREP_max
=$ac_count
6127 # 10*(2^10) chars as input seems more than enough
6128 test $ac_count -gt 10 && break
6130 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6133 $ac_path_GREP_found && break 3
6138 if test -z "$ac_cv_path_GREP"; then
6139 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6142 ac_cv_path_GREP
=$GREP
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6147 $as_echo "$ac_cv_path_GREP" >&6; }
6148 GREP
="$ac_cv_path_GREP"
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6152 $as_echo_n "checking for egrep... " >&6; }
6153 if ${ac_cv_path_EGREP+:} false
; then :
6154 $as_echo_n "(cached) " >&6
6156 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6157 then ac_cv_path_EGREP
="$GREP -E"
6159 if test -z "$EGREP"; then
6160 ac_path_EGREP_found
=false
6161 # Loop through the user's path and test for each of PROGNAME-LIST
6162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6163 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6166 test -z "$as_dir" && as_dir
=.
6167 for ac_prog
in egrep; do
6168 for ac_exec_ext
in '' $ac_executable_extensions; do
6169 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6170 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6171 # Check for GNU ac_path_EGREP and select it if it is found.
6172 # Check for GNU $ac_path_EGREP
6173 case `"$ac_path_EGREP" --version 2>&1` in
6175 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6178 $as_echo_n 0123456789 >"conftest.in"
6181 cat "conftest.in" "conftest.in" >"conftest.tmp"
6182 mv "conftest.tmp" "conftest.in"
6183 cp "conftest.in" "conftest.nl"
6184 $as_echo 'EGREP' >> "conftest.nl"
6185 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6186 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6187 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6188 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6189 # Best one so far, save it but keep looking for a better one
6190 ac_cv_path_EGREP
="$ac_path_EGREP"
6191 ac_path_EGREP_max
=$ac_count
6193 # 10*(2^10) chars as input seems more than enough
6194 test $ac_count -gt 10 && break
6196 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6199 $ac_path_EGREP_found && break 3
6204 if test -z "$ac_cv_path_EGREP"; then
6205 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6208 ac_cv_path_EGREP
=$EGREP
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6214 $as_echo "$ac_cv_path_EGREP" >&6; }
6215 EGREP
="$ac_cv_path_EGREP"
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6219 $as_echo_n "checking for ANSI C header files... " >&6; }
6220 if ${ac_cv_header_stdc+:} false
; then :
6221 $as_echo_n "(cached) " >&6
6223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6224 /* end confdefs.h. */
6238 if ac_fn_c_try_compile
"$LINENO"; then :
6239 ac_cv_header_stdc
=yes
6241 ac_cv_header_stdc
=no
6243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6245 if test $ac_cv_header_stdc = yes; then
6246 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6253 $EGREP "memchr" >/dev
/null
2>&1; then :
6256 ac_cv_header_stdc
=no
6262 if test $ac_cv_header_stdc = yes; then
6263 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6265 /* end confdefs.h. */
6269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6270 $EGREP "free" >/dev
/null
2>&1; then :
6273 ac_cv_header_stdc
=no
6279 if test $ac_cv_header_stdc = yes; then
6280 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6281 if test "$cross_compiling" = yes; then :
6284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6285 /* end confdefs.h. */
6288 #if ((' ' & 0x0FF) == 0x020)
6289 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6290 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6292 # define ISLOWER(c) \
6293 (('a' <= (c) && (c) <= 'i') \
6294 || ('j' <= (c) && (c) <= 'r') \
6295 || ('s' <= (c) && (c) <= 'z'))
6296 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6299 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6304 for (i = 0; i < 256; i++)
6305 if (XOR (islower (i), ISLOWER (i))
6306 || toupper (i) != TOUPPER (i))
6311 if ac_fn_c_try_run
"$LINENO"; then :
6314 ac_cv_header_stdc
=no
6316 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6317 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6323 $as_echo "$ac_cv_header_stdc" >&6; }
6324 if test $ac_cv_header_stdc = yes; then
6326 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6330 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6331 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6332 inttypes.h stdint.h unistd.h
6334 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6335 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6337 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6338 cat >>confdefs.h
<<_ACEOF
6339 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6347 for ac_header
in sys
/ipc.h sys
/shm.h \
6348 sys
/mmap.h sys
/mman.h sysexits.h \
6349 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6352 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6353 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6354 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6355 cat >>confdefs.h
<<_ACEOF
6356 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6364 for ac_header
in sys
/mount.h
6366 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6368 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6369 cat >>confdefs.h
<<_ACEOF
6370 #define HAVE_SYS_MOUNT_H 1
6379 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6380 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6382 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6383 if eval \
${$as_ac_Header+:} false
; then :
6384 $as_echo_n "(cached) " >&6
6386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6387 /* end confdefs.h. */
6388 #include <sys/types.h>
6400 if ac_fn_c_try_compile
"$LINENO"; then :
6401 eval "$as_ac_Header=yes"
6403 eval "$as_ac_Header=no"
6405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6407 eval ac_res
=\$
$as_ac_Header
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6409 $as_echo "$ac_res" >&6; }
6410 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6411 cat >>confdefs.h
<<_ACEOF
6412 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6415 ac_header_dirent
=$ac_hdr; break
6419 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6420 if test $ac_header_dirent = dirent.h
; then
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6422 $as_echo_n "checking for library containing opendir... " >&6; }
6423 if ${ac_cv_search_opendir+:} false
; then :
6424 $as_echo_n "(cached) " >&6
6426 ac_func_search_save_LIBS
=$LIBS
6427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6428 /* end confdefs.h. */
6430 /* Override any GCC internal prototype to avoid an error.
6431 Use char because int might match the return type of a GCC
6432 builtin and then its argument prototype would still apply. */
6445 for ac_lib
in '' dir
; do
6446 if test -z "$ac_lib"; then
6447 ac_res
="none required"
6450 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6452 if ac_fn_c_try_link
"$LINENO"; then :
6453 ac_cv_search_opendir
=$ac_res
6455 rm -f core conftest.err conftest.
$ac_objext \
6457 if ${ac_cv_search_opendir+:} false
; then :
6461 if ${ac_cv_search_opendir+:} false
; then :
6464 ac_cv_search_opendir
=no
6467 LIBS
=$ac_func_search_save_LIBS
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6470 $as_echo "$ac_cv_search_opendir" >&6; }
6471 ac_res
=$ac_cv_search_opendir
6472 if test "$ac_res" != no
; then :
6473 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6479 $as_echo_n "checking for library containing opendir... " >&6; }
6480 if ${ac_cv_search_opendir+:} false
; then :
6481 $as_echo_n "(cached) " >&6
6483 ac_func_search_save_LIBS
=$LIBS
6484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6485 /* end confdefs.h. */
6487 /* Override any GCC internal prototype to avoid an error.
6488 Use char because int might match the return type of a GCC
6489 builtin and then its argument prototype would still apply. */
6502 for ac_lib
in '' x
; do
6503 if test -z "$ac_lib"; then
6504 ac_res
="none required"
6507 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6509 if ac_fn_c_try_link
"$LINENO"; then :
6510 ac_cv_search_opendir
=$ac_res
6512 rm -f core conftest.err conftest.
$ac_objext \
6514 if ${ac_cv_search_opendir+:} false
; then :
6518 if ${ac_cv_search_opendir+:} false
; then :
6521 ac_cv_search_opendir
=no
6524 LIBS
=$ac_func_search_save_LIBS
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6527 $as_echo "$ac_cv_search_opendir" >&6; }
6528 ac_res
=$ac_cv_search_opendir
6529 if test "$ac_res" != no
; then :
6530 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6537 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6538 if ${ac_cv_header_stat_broken+:} false
; then :
6539 $as_echo_n "(cached) " >&6
6541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6542 /* end confdefs.h. */
6543 #include <sys/types.h>
6544 #include <sys/stat.h>
6546 #if defined S_ISBLK && defined S_IFDIR
6547 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6550 #if defined S_ISBLK && defined S_IFCHR
6551 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6554 #if defined S_ISLNK && defined S_IFREG
6555 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6558 #if defined S_ISSOCK && defined S_IFREG
6559 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6563 if ac_fn_c_try_compile
"$LINENO"; then :
6564 ac_cv_header_stat_broken
=no
6566 ac_cv_header_stat_broken
=yes
6568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6571 $as_echo "$ac_cv_header_stat_broken" >&6; }
6572 if test $ac_cv_header_stat_broken = yes; then
6574 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6579 $as_echo_n "checking for ANSI C header files... " >&6; }
6580 if ${ac_cv_header_stdc+:} false
; then :
6581 $as_echo_n "(cached) " >&6
6583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6584 /* end confdefs.h. */
6598 if ac_fn_c_try_compile
"$LINENO"; then :
6599 ac_cv_header_stdc
=yes
6601 ac_cv_header_stdc
=no
6603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6605 if test $ac_cv_header_stdc = yes; then
6606 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6608 /* end confdefs.h. */
6612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6613 $EGREP "memchr" >/dev
/null
2>&1; then :
6616 ac_cv_header_stdc
=no
6622 if test $ac_cv_header_stdc = yes; then
6623 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6625 /* end confdefs.h. */
6629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6630 $EGREP "free" >/dev
/null
2>&1; then :
6633 ac_cv_header_stdc
=no
6639 if test $ac_cv_header_stdc = yes; then
6640 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6641 if test "$cross_compiling" = yes; then :
6644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6645 /* end confdefs.h. */
6648 #if ((' ' & 0x0FF) == 0x020)
6649 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6650 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6652 # define ISLOWER(c) \
6653 (('a' <= (c) && (c) <= 'i') \
6654 || ('j' <= (c) && (c) <= 'r') \
6655 || ('s' <= (c) && (c) <= 'z'))
6656 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6659 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6664 for (i = 0; i < 256; i++)
6665 if (XOR (islower (i), ISLOWER (i))
6666 || toupper (i) != TOUPPER (i))
6671 if ac_fn_c_try_run
"$LINENO"; then :
6674 ac_cv_header_stdc
=no
6676 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6677 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6683 $as_echo "$ac_cv_header_stdc" >&6; }
6684 if test $ac_cv_header_stdc = yes; then
6686 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6691 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6692 if ${ac_cv_header_sys_wait_h+:} false
; then :
6693 $as_echo_n "(cached) " >&6
6695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6697 #include <sys/types.h>
6698 #include <sys/wait.h>
6700 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6703 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6711 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6716 if ac_fn_c_try_compile
"$LINENO"; then :
6717 ac_cv_header_sys_wait_h
=yes
6719 ac_cv_header_sys_wait_h
=no
6721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6724 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6725 if test $ac_cv_header_sys_wait_h = yes; then
6727 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6732 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6733 if ${ac_cv_header_time+:} false
; then :
6734 $as_echo_n "(cached) " >&6
6736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6737 /* end confdefs.h. */
6738 #include <sys/types.h>
6739 #include <sys/time.h>
6745 if ((struct tm *) 0)
6751 if ac_fn_c_try_compile
"$LINENO"; then :
6752 ac_cv_header_time
=yes
6754 ac_cv_header_time
=no
6756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6759 $as_echo "$ac_cv_header_time" >&6; }
6760 if test $ac_cv_header_time = yes; then
6762 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6766 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6767 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6769 cat >>confdefs.h
<<_ACEOF
6770 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6774 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6779 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6780 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6782 cat >>confdefs.h
<<_ACEOF
6783 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6787 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6790 case " $LIBOBJS " in
6791 *" fileblocks.$ac_objext "* ) ;;
6792 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6799 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6800 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6802 cat >>confdefs.h
<<_ACEOF
6803 #define HAVE_STRUCT_STAT_ST_RDEV 1
6807 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6813 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6814 if ${ac_cv_struct_tm+:} false
; then :
6815 $as_echo_n "(cached) " >&6
6817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6818 /* end confdefs.h. */
6819 #include <sys/types.h>
6826 int *p = &tm.tm_sec;
6832 if ac_fn_c_try_compile
"$LINENO"; then :
6833 ac_cv_struct_tm
=time.h
6835 ac_cv_struct_tm
=sys
/time.h
6837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6840 $as_echo "$ac_cv_struct_tm" >&6; }
6841 if test $ac_cv_struct_tm = sys
/time.h
; then
6843 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6847 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6848 #include <$ac_cv_struct_tm>
6851 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6853 cat >>confdefs.h
<<_ACEOF
6854 #define HAVE_STRUCT_TM_TM_ZONE 1
6860 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6862 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6865 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6867 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6873 cat >>confdefs.h
<<_ACEOF
6874 #define HAVE_DECL_TZNAME $ac_have_decl
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6878 $as_echo_n "checking for tzname... " >&6; }
6879 if ${ac_cv_var_tzname+:} false
; then :
6880 $as_echo_n "(cached) " >&6
6882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6883 /* end confdefs.h. */
6885 #if !HAVE_DECL_TZNAME
6886 extern char *tzname[];
6892 return tzname[0][0];
6897 if ac_fn_c_try_link
"$LINENO"; then :
6898 ac_cv_var_tzname
=yes
6902 rm -f core conftest.err conftest.
$ac_objext \
6903 conftest
$ac_exeext conftest.
$ac_ext
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6906 $as_echo "$ac_cv_var_tzname" >&6; }
6907 if test $ac_cv_var_tzname = yes; then
6909 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6914 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6915 if test "x$ac_cv_type_off_t" = xyes
; then :
6919 cat >>confdefs.h
<<_ACEOF
6920 #define off_t long int
6925 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6926 if test "x$ac_cv_type_pid_t" = xyes
; then :
6930 cat >>confdefs.h
<<_ACEOF
6936 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6937 if test "x$ac_cv_type_size_t" = xyes
; then :
6941 cat >>confdefs.h
<<_ACEOF
6942 #define size_t unsigned int
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6948 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6949 if ${ac_cv_type_uid_t+:} false
; then :
6950 $as_echo_n "(cached) " >&6
6952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6953 /* end confdefs.h. */
6954 #include <sys/types.h>
6957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6958 $EGREP "uid_t" >/dev
/null
2>&1; then :
6959 ac_cv_type_uid_t
=yes
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6967 $as_echo "$ac_cv_type_uid_t" >&6; }
6968 if test $ac_cv_type_uid_t = no
; then
6970 $as_echo "#define uid_t int" >>confdefs.h
6973 $as_echo "#define gid_t int" >>confdefs.h
6978 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6979 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6981 cat >>confdefs.h
<<_ACEOF
6982 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6989 # Look for some functions
6990 for ac_func
in getpagesize kqueue statfs statvfs \
6991 clone kse_create rfork_thread thr_create sa_register \
6992 getcontext makecontext setcontext sigaltstack swapcontext
6994 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6995 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6996 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6997 cat >>confdefs.h
<<_ACEOF
6998 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7008 for ac_header
in $ac_header_list
7010 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7011 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7013 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7014 cat >>confdefs.h
<<_ACEOF
7015 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7029 for ac_func
in getpagesize
7031 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7032 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7033 cat >>confdefs.h
<<_ACEOF
7034 #define HAVE_GETPAGESIZE 1
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7041 $as_echo_n "checking for working mmap... " >&6; }
7042 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7043 $as_echo_n "(cached) " >&6
7045 if test "$cross_compiling" = yes; then :
7046 ac_cv_func_mmap_fixed_mapped
=no
7048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h. */
7050 $ac_includes_default
7051 /* malloc might have been renamed as rpl_malloc. */
7054 /* Thanks to Mike Haertel and Jim Avera for this test.
7055 Here is a matrix of mmap possibilities:
7056 mmap private not fixed
7057 mmap private fixed at somewhere currently unmapped
7058 mmap private fixed at somewhere already mapped
7059 mmap shared not fixed
7060 mmap shared fixed at somewhere currently unmapped
7061 mmap shared fixed at somewhere already mapped
7062 For private mappings, we should verify that changes cannot be read()
7063 back from the file, nor mmap's back from the file at a different
7064 address. (There have been systems where private was not correctly
7065 implemented like the infamous i386 svr4.0, and systems where the
7066 VM page cache was not coherent with the file system buffer cache
7067 like early versions of FreeBSD and possibly contemporary NetBSD.)
7068 For shared mappings, we should conversely verify that changes get
7069 propagated back to all the places they're supposed to be.
7071 Grep wants private fixed already mapped.
7072 The main things grep needs to know about mmap are:
7073 * does it exist and is it safe to write into the mmap'd area
7074 * how to use it (BSD variants) */
7077 #include <sys/mman.h>
7079 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7083 /* This mess was copied from the GNU getpagesize.h. */
7084 #ifndef HAVE_GETPAGESIZE
7085 # ifdef _SC_PAGESIZE
7086 # define getpagesize() sysconf(_SC_PAGESIZE)
7087 # else /* no _SC_PAGESIZE */
7088 # ifdef HAVE_SYS_PARAM_H
7089 # include <sys/param.h>
7090 # ifdef EXEC_PAGESIZE
7091 # define getpagesize() EXEC_PAGESIZE
7092 # else /* no EXEC_PAGESIZE */
7094 # define getpagesize() NBPG * CLSIZE
7097 # endif /* no CLSIZE */
7098 # else /* no NBPG */
7100 # define getpagesize() NBPC
7101 # else /* no NBPC */
7103 # define getpagesize() PAGESIZE
7104 # endif /* PAGESIZE */
7105 # endif /* no NBPC */
7106 # endif /* no NBPG */
7107 # endif /* no EXEC_PAGESIZE */
7108 # else /* no HAVE_SYS_PARAM_H */
7109 # define getpagesize() 8192 /* punt totally */
7110 # endif /* no HAVE_SYS_PARAM_H */
7111 # endif /* no _SC_PAGESIZE */
7113 #endif /* no HAVE_GETPAGESIZE */
7118 char *data, *data2, *data3;
7123 pagesize = getpagesize ();
7125 /* First, make a file with some known garbage in it. */
7126 data = (char *) malloc (pagesize);
7129 for (i = 0; i < pagesize; ++i)
7130 *(data + i) = rand ();
7132 fd = creat ("conftest.mmap", 0600);
7135 if (write (fd, data, pagesize) != pagesize)
7139 /* Next, check that the tail of a page is zero-filled. File must have
7140 non-zero length, otherwise we risk SIGBUS for entire page. */
7141 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7145 if (write (fd2, cdata2, 1) != 1)
7147 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7148 if (data2 == MAP_FAILED)
7150 for (i = 0; i < pagesize; ++i)
7154 if (munmap (data2, pagesize))
7157 /* Next, try to mmap the file at a fixed address which already has
7158 something else allocated at it. If we can, also make sure that
7159 we see the same garbage. */
7160 fd = open ("conftest.mmap", O_RDWR);
7163 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7164 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7166 for (i = 0; i < pagesize; ++i)
7167 if (*(data + i) != *(data2 + i))
7170 /* Finally, make sure that changes to the mapped area do not
7171 percolate back to the file as seen by read(). (This is a bug on
7172 some variants of i386 svr4.0.) */
7173 for (i = 0; i < pagesize; ++i)
7174 *(data2 + i) = *(data2 + i) + 1;
7175 data3 = (char *) malloc (pagesize);
7178 if (read (fd, data3, pagesize) != pagesize)
7180 for (i = 0; i < pagesize; ++i)
7181 if (*(data + i) != *(data3 + i))
7187 if ac_fn_c_try_run
"$LINENO"; then :
7188 ac_cv_func_mmap_fixed_mapped
=yes
7190 ac_cv_func_mmap_fixed_mapped
=no
7192 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7193 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7198 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7199 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7201 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7204 rm -f conftest.mmap conftest.txt
7209 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7210 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7211 aros_config_ldflags
=""
7213 aros_shared_default
=yes
7215 aros_shared_cflags
="-fPIC"
7216 aros_shared_aflags
=""
7217 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7218 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7220 aros_kernel_ar_flags
="cr"
7221 aros_target_ar_flags
="cr"
7222 aros_target_nm_flags
="-C -ul"
7223 aros_target_strip_flags
="--strip-unneeded -R.comment"
7228 aros_target_genmap
="-Wl,-Map -Xlinker"
7230 # Native flavour stuff
7231 aros_serial_debug
="0"
7233 # Palm native flavour stuff
7234 aros_palm_debug_hack
="0"
7236 # Unix flavour stuff
7237 aros_nesting_supervisor
="0"
7239 # Collect-aros stuff: "-ius" to ignore undefined symbols
7240 ignore_undefined_symbols
=""
7242 # Check for X11 by default
7245 #-----------------------------------------------------------------------------
7248 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7249 # it switched on by default, and we use the host compiler, so it compiles AROS
7250 # code with this enabled resulting in link failures as we don't have support
7253 # We use two methods to disable it. For the host compiler (used to compile
7254 # some hosted modules), we test to see if the compiler supports stack
7255 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7256 # work on all platforms.
7258 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7259 # (this is done unconditionally, as it should have no effect on compilers
7260 # without the stack protection feature). This may be specific to the way that
7261 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7262 # strong enough to disable it in a generic way though, so we'll live with it
7263 # until another vendor ships GCC with it enabled in a different way, and deal
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7268 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7269 save_cflags
="$CFLAGS"
7270 CFLAGS
="$CFLAGS -fno-stack-protector"
7271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7272 /* end confdefs.h. */
7282 if ac_fn_c_try_compile
"$LINENO"; then :
7283 use_no_stack_protector
="yes"
7285 use_no_stack_protector
="no"
7287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7289 $as_echo "$use_no_stack_protector" >&6; }
7290 if test "x-$use_no_stack_protector" = "x-yes" ; then
7291 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7293 CFLAGS
="$save_cflags"
7295 #-----------------------------------------------------------------------------
7297 # Disable pointer-signedness warnings if the compiler recognises the option
7298 # (this only works for the host compiler at the moment)
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7301 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7302 save_cflags
="$CFLAGS"
7303 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7305 /* end confdefs.h. */
7315 if ac_fn_c_try_compile
"$LINENO"; then :
7316 use_no_sign_warning
="yes"
7318 use_no_sign_warning
="no"
7320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7322 $as_echo "$use_no_sign_warning" >&6; }
7323 if test "x-$use_no_sign_warning" = "x-yes" ; then
7324 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7326 CFLAGS
="$save_cflags"
7328 #-----------------------------------------------------------------------------
7330 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7333 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7334 save_cflags
="$CFLAGS"
7335 CFLAGS
="$CFLAGS -fgnu89-inline"
7336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7337 /* end confdefs.h. */
7347 if ac_fn_c_try_compile
"$LINENO"; then :
7348 use_gnu89_inline
="yes"
7350 use_gnu89_inline
="no"
7352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7354 $as_echo "$use_gnu89_inline" >&6; }
7355 if test "x-$use_gnu89_inline" = "x-yes" ; then
7356 gnu89_inline
="-fgnu89-inline"
7358 CFLAGS
="$save_cflags"
7360 #-----------------------------------------------------------------------------
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7363 $as_echo_n "checking for type of build... " >&6; }
7364 # Check whether --enable-build_type was given.
7365 if test "${enable_build_type+set}" = set; then :
7366 enableval
=$enable_build_type; build_type
=$enableval
7368 build_type
="personal"
7372 if test "$build_type" = "nightly"; then
7373 build_type_string
="NIGHTLY"
7374 elif test "$build_type" = "snapshot"; then
7375 build_type_string
="SNAPSHOT"
7376 elif test "$build_type" = "milestone"; then
7377 build_type_string
="MILESTONE"
7378 elif test "$build_type" = "release"; then
7379 build_type_string
="RELEASE"
7381 build_type_string
="PERSONAL"
7382 build_type
="personal"
7385 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7388 $as_echo "$build_type" >&6; }
7390 #-----------------------------------------------------------------------------
7391 all_debug_types
="messages stack modules mungwall symbols"
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7394 $as_echo_n "checking which debug types to enable... " >&6; }
7395 # Check whether --enable-debug was given.
7396 if test "${enable_debug+set}" = set; then :
7397 enableval
=$enable_debug; debug
="$enableval"
7403 if test "$debug" = "" -o "$debug" = "no"; then
7405 elif test "$debug" = "yes"; then
7409 if test "$debug" = "all" ; then
7410 debug
="messages stack modules symbols"
7411 for d
in $all_debug_types; do
7412 export aros_
${d}_debug
="1"
7415 for d
in $all_debug_types; do
7416 export aros_
${d}_debug
="0"
7420 if test "$debug" != "none"; then
7421 debug
=`echo $debug | sed s/,/\ /g`
7424 for d2
in $all_debug_types; do
7425 if test "$d2" = "$d"; then
7430 if test "$found" = "0"; then
7431 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7433 export aros_
${d}_debug
="1"
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7438 $as_echo "$debug" >&6; }
7440 if test "$aros_messages_debug" = "1"; then
7441 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7443 aros_messages_debug
=""
7445 if test "$aros_symbols_debug" = "1"; then
7446 aros_symbols_debug
="-g"
7448 aros_symbols_debug
=""
7451 # These are the flags to pass when compiling debugged programs
7452 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7453 aros_debug_aflags
=""
7454 aros_debug_ldflags
="$aros_symbols_debug"
7456 #-----------------------------------------------------------------------------
7457 # Checking for distcc and ccache.
7459 # Always apply the transforms in this particular order. Basically you should
7460 # always run 'ccache distcc compiler' in that order for the best performance.
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7463 $as_echo_n "checking whether to enable distcc... " >&6; }
7464 # Check whether --enable-distcc was given.
7465 if test "${enable_distcc+set}" = set; then :
7466 enableval
=$enable_distcc; distcc
="$enableval"
7471 if test "$distcc" != "" -a "$distcc" != "no"; then
7472 # AC_CHECK_PROG will print out the result in this case
7473 # Extract the first word of "distcc", so it can be a program name with args.
7474 set dummy distcc
; ac_word
=$2
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7476 $as_echo_n "checking for $ac_word... " >&6; }
7477 if ${ac_cv_path_DISTCC+:} false
; then :
7478 $as_echo_n "(cached) " >&6
7482 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7489 test -z "$as_dir" && as_dir
=.
7490 for ac_exec_ext
in '' $ac_executable_extensions; do
7491 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7492 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7500 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7504 DISTCC
=$ac_cv_path_DISTCC
7505 if test -n "$DISTCC"; then
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7507 $as_echo "$DISTCC" >&6; }
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7510 $as_echo "no" >&6; }
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7516 $as_echo "no" >&6; }
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7520 $as_echo_n "checking whether to enable ccache... " >&6; }
7521 # Check whether --enable-ccache was given.
7522 if test "${enable_ccache+set}" = set; then :
7523 enableval
=$enable_ccache; ccache
="$enableval"
7528 if test "$ccache" != "" -a "$ccache" != "no"; then
7529 # AC_CHECK_PROG will print out the result in this case
7530 # Extract the first word of "ccache", so it can be a program name with args.
7531 set dummy ccache
; ac_word
=$2
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7533 $as_echo_n "checking for $ac_word... " >&6; }
7534 if ${ac_cv_prog_CCACHE+:} false
; then :
7535 $as_echo_n "(cached) " >&6
7537 if test -n "$CCACHE"; then
7538 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7544 test -z "$as_dir" && as_dir
=.
7545 for ac_exec_ext
in '' $ac_executable_extensions; do
7546 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7547 ac_cv_prog_CCACHE
="ccache"
7548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7557 CCACHE
=$ac_cv_prog_CCACHE
7558 if test -n "$CCACHE"; then
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7560 $as_echo "$CCACHE" >&6; }
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7563 $as_echo "no" >&6; }
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7569 $as_echo "no" >&6; }
7572 #-----------------------------------------------------------------------------
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7574 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7576 # Check whether --with-kernel-gcc-version was given.
7577 if test "${with_kernel_gcc_version+set}" = set; then :
7578 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7580 kernel_tool_version
=""
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7584 $as_echo "$kernel_tool_version" >&6; }
7586 #-----------------------------------------------------------------------------
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7588 $as_echo_n "checking what optimization flags to use... " >&6; }
7590 # Check whether --with-optimization was given.
7591 if test "${with_optimization+set}" = set; then :
7592 withval
=$with_optimization; optimization
="$withval"
7594 optimization
="unknown"
7597 if test "$optimization" = "unknown"; then
7598 if test "$debug" != "none"; then
7604 aros_optimization_cflags
="$optimization"
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7606 $as_echo "$optimization" >&6; }
7608 #-----------------------------------------------------------------------------
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7610 $as_echo_n "checking what paranoia flags to use... " >&6; }
7612 # Check whether --with-paranoia was given.
7613 if test "${with_paranoia+set}" = set; then :
7614 withval
=$with_paranoia; paranoia_flags
="$withval"
7616 paranoia_flags
="default"
7619 if test "$paranoia_flags" = "default"; then
7621 else if test "$paranoia_flags" = "yes"; then
7622 paranoia_flags
="-Wall -Werror"
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7625 $as_echo "$paranoia_flags" >&6; }
7626 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7628 #-----------------------------------------------------------------------------
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7630 $as_echo_n "checking what target variant to enable... " >&6; }
7631 # Check whether --enable-target_variant was given.
7632 if test "${enable_target_variant+set}" = set; then :
7633 enableval
=$enable_target_variant; target_variant
=$enableval
7638 if test "$target_variant" = ""; then
7639 aros_target_variant
=""
7640 aros_target_suffix
=""
7643 aros_target_variant
="$target_variant"
7644 aros_target_suffix
="-$target_variant"
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7647 $as_echo "$enableval" >&6; }
7649 #-----------------------------------------------------------------------------
7650 # Target-specific defaults. You can override then on a per-target basis.
7652 # Bootloader name. Currently used by PC target.
7653 target_bootloader
="none"
7655 #-----------------------------------------------------------------------------
7656 # Additional options for some specific targets
7658 case "$aros_target_variant" in
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7661 $as_echo_n "checking XCode path... " >&6; }
7663 # Check whether --with-xcode was given.
7664 if test "${with_xcode+set}" = set; then :
7665 withval
=$with_xcode; aros_xcode_path
="$withval"
7667 aros_xcode_path
="/Developer"
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7671 $as_echo "$aros_xcode_path" >&6; }
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7674 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7676 # Check whether --with-sdk-version was given.
7677 if test "${with_sdk_version+set}" = set; then :
7678 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7680 aros_sdk_version
="4.1"
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7684 $as_echo "$aros_sdk_version" >&6; }
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7690 $as_echo_n "checking Android SDK path... " >&6; }
7692 # Check whether --with-sdk was given.
7693 if test "${with_sdk+set}" = set; then :
7694 withval
=$with_sdk; aros_android_sdk
="$withval"
7696 aros_android_sdk
=$default_android_sdk
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7700 $as_echo "$aros_android_sdk" >&6; }
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7703 $as_echo_n "checking Android NDK path... " >&6; }
7705 # Check whether --with-ndk was given.
7706 if test "${with_ndk+set}" = set; then :
7707 withval
=$with_ndk; aros_android_ndk
="$withval"
7709 aros_android_ndk
="none"
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7713 $as_echo "$aros_android_ndk" >&6; }
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7716 $as_echo_n "checking what Android SDK version to use... " >&6; }
7718 # Check whether --with-sdk-version was given.
7719 if test "${with_sdk_version+set}" = set; then :
7720 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7722 aros_sdk_version
="12"
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7726 $as_echo "$aros_sdk_version" >&6; }
7728 if test "$aros_android_ndk" != "none"; then
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7730 $as_echo_n "checking what Android NDK version to use... " >&6; }
7732 # Check whether --with-ndk-version was given.
7733 if test "${with_ndk_version+set}" = set; then :
7734 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7736 aros_ndk_version
="9"
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7740 $as_echo "$aros_ndk_version" >&6; }
7743 export PATH
="$aros_android_sdk/tools:$PATH"
7744 # Extract the first word of "$android_tool", so it can be a program name with args.
7745 set dummy
$android_tool; ac_word
=$2
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7747 $as_echo_n "checking for $ac_word... " >&6; }
7748 if ${ac_cv_path_android_tool+:} false
; then :
7749 $as_echo_n "(cached) " >&6
7751 case $android_tool in
7753 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7760 test -z "$as_dir" && as_dir
=.
7761 for ac_exec_ext
in '' $ac_executable_extensions; do
7762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7763 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7774 android_tool
=$ac_cv_path_android_tool
7775 if test -n "$android_tool"; then
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7777 $as_echo "$android_tool" >&6; }
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7780 $as_echo "no" >&6; }
7784 if test "$android_tool" = ""; then
7785 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7788 aros_android_level
=android-
$aros_sdk_version
7789 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7790 echo "Platform $aros_android_level is not installed in your SDK"
7791 echo "Use --with-sdk-version=<API level number> to select another platform version"
7792 echo "You can check what plaform versions are installed in your SDK"
7793 echo "by examining contents of $aros_android_sdk/platforms directory"
7794 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7797 # Extract the first word of "ant", so it can be a program name with args.
7798 set dummy ant
; ac_word
=$2
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7800 $as_echo_n "checking for $ac_word... " >&6; }
7801 if ${ac_cv_path_ant+:} false
; then :
7802 $as_echo_n "(cached) " >&6
7806 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7813 test -z "$as_dir" && as_dir
=.
7814 for ac_exec_ext
in '' $ac_executable_extensions; do
7815 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7816 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7828 if test -n "$ant"; then
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7830 $as_echo "$ant" >&6; }
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7833 $as_echo "no" >&6; }
7837 if test "$ant" = ""; then
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7839 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
7843 $as_echo_n "checking Build debug or release apk... " >&6; }
7845 # Check whether --with-apk-version was given.
7846 if test "${with_apk_version+set}" = set; then :
7847 withval
=$with_apk_version; aros_android_antapk
=$withval
7849 aros_android_antapk
=release
7852 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
7853 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
7856 $as_echo "$aros_android_antapk" >&6; }
7858 if test "$host_os" = "mingw32"; then
7859 android_tool
="cmd //c $android_tool"
7865 #-----------------------------------------------------------------------------
7866 # External toolchains
7867 kernel_tool_prefix
="none"
7868 aros_tool_prefix
="none"
7869 elf_tool_prefix
="${target_cpu}-elf-"
7871 # This is the target configuration switch.
7872 case "$target_os" in
7874 aros_target_arch
="linux"
7875 aros_target_family
="unix"
7876 case "$target_cpu" in
7878 aros_target_cpu
="m68k"
7879 aros_object_format
="m68kelf"
7880 aros_flavour
="emulcompat"
7881 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7882 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7883 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7884 gcc_target_cpu
="mc68000"
7887 aros_target_cpu
="i386"
7888 aros_object_format
="elf_i386"
7889 aros_flavour
="emulation"
7890 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7891 aros_kernel_ldflags
="-Wl,-melf_i386"
7892 aros_default_wbdepth
=8
7893 gcc_target_cpu
="i386"
7894 pci_hidd_target
="hidd-pci-linux"
7895 android_tool_dir_prefix
="x86"
7896 android_tool_prefix
="i686-android-linux"
7897 android_ndk_arch
="x86"
7900 aros_target_cpu
="x86_64"
7901 aros_object_format
="elf_x86_64"
7902 aros_flavour
="emulation"
7903 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7904 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7905 aros_default_wbdepth
=8
7906 pci_hidd_target
="hidd-pci-linux"
7909 aros_target_cpu
="ppc"
7910 aros_object_format
="elf32ppc"
7911 aros_flavour
="emulation"
7912 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7913 aros_default_wbdepth
=8
7914 gcc_target_cpu
="ppc"
7917 # Same as powerpc, but I need this for the nightly build to work again.
7918 # Actually, the nightly should be made working with powerpc target.
7919 # That just was too much work for the moment, another week or two.
7921 aros_target_cpu
="ppc"
7922 aros_object_format
="elf32ppc"
7923 aros_flavour
="emulation"
7924 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7925 aros_default_wbdepth
=8
7926 gcc_target_cpu
="ppc"
7929 aros_target_cpu
="arm"
7931 aros_object_format
="armelf_aros"
7932 aros_flavour
="emulation"
7933 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7934 gcc_target_cpu
="arm"
7935 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7936 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7937 aros_arch_libs
="-laeabi"
7938 gcc_default_float_abi
="hard"
7939 android_tool_dir_prefix
="arm-linux-androideabi"
7940 android_tool_prefix
="arm-linux-androideabi"
7941 android_ndk_arch
="arm"
7942 kernel_tool_prefix
="arm-linux-gnueabihf-"
7945 aros_target_cpu
="arm"
7946 aros_object_format
="armelf_aros"
7947 aros_flavour
="emulation"
7948 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7949 gcc_target_cpu
="arm"
7950 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7951 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7952 aros_arch_libs
="-laeabi"
7953 android_tool_dir_prefix
="arm-linux-androideabi"
7954 android_tool_prefix
="arm-linux-androideabi"
7955 android_ndk_arch
="arm"
7956 kernel_tool_prefix
="arm-linux-gnueabi-"
7959 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7962 case "$aros_target_variant" in
7965 if test "$android_ndk_arch" = ""; then
7966 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7969 aros_default_wbwidth
=320
7970 aros_default_wbheight
=480
7971 if test "$aros_android_ndk" = "none"; then
7972 aros_kernel_cflags
="-mandroid"
7973 aros_kernel_ldflags
="-mandroid"
7976 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
7977 kernel_tool_version
=""
7978 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7979 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7980 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7981 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7982 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7985 unixgfx_hidd_target
=kernel-hidd-androidgfx
7986 # Disable implicit PIC mode
7987 aros_target_cflags
="$aros_target_cflags -fno-pic"
7988 kernel_tool_prefix
="$android_tool_prefix-"
7994 aros_target_arch
="pc"
7995 aros_shared_default
="no"
7996 target_bootloader
="grub2"
7997 case "$target_cpu" in
7999 aros_target_cpu
="i386"
8002 if test "$aros_object_format" = "" ; then
8003 aros_object_format
="elf_i386"
8005 aros_flavour
="standalone"
8006 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8007 aros_kernel_ldflags
="-Wl,-melf_i386"
8008 aros_default_wbwidth
=640
8009 aros_default_wbheight
=480
8010 gcc_target_cpu
="i386"
8013 aros_target_cpu
="x86_64"
8015 if test "$aros_object_format" = "" ; then
8016 aros_object_format
="elf_x86_64"
8018 aros_flavour
="standalone"
8019 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8020 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
8021 aros_kernel_ldflags
=""
8022 aros_default_wbwidth
=640
8023 aros_default_wbheight
=480
8026 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8032 aros_target_arch
="prep"
8033 aros_shared_default
="no"
8034 aros_target_cpu
="ppc"
8035 aros_object_format
="elf32ppc"
8036 aros_flavour
="ppcnative"
8037 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8038 aros_kernel_ldflags
=""
8039 aros_default_wbwidth
=640
8040 aros_default_wbheight
=480
8041 gcc_target_cpu
="ppc"
8045 aros_target_arch
="freebsd"
8046 aros_target_family
="unix"
8047 aros_target_cpu
="i386"
8048 aros_flavour
="emulation"
8049 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8050 gcc_target_cpu
="i386"
8052 aros_target_strip_flags
="-x"
8056 aros_target_arch
="darwin"
8057 aros_target_family
="unix"
8058 aros_flavour
="emulation"
8059 case "$target_cpu" in
8061 aros_ios_platform
="iPhoneSimulator"
8062 aros_target_cpu
="i386"
8063 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8064 aros_kernel_ldflags
=""
8065 aros_macosx_version
="10.4"
8066 aros_default_wbdepth
=8
8067 gcc_target_cpu
="i386"
8068 aros_object_format
="elf_i386"
8069 aros_kernel_ar_flags
="-cr"
8070 aros_target_strip_flags
="-x"
8071 kernel_tool_flags
="-m32"
8074 aros_target_cpu
="x86_64"
8075 aros_object_format
="elf_x86_64"
8076 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8077 aros_macosx_version
="10.6"
8078 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8079 aros_kernel_cflags
="-m64"
8080 aros_kernel_ldflags
="-m64"
8081 aros_target_cflags
="-mcmodel=large"
8082 aros_default_wbdepth
=8
8084 aros_kernel_ar_flags
="-cr"
8087 aros_kernel_ranlib
="ranlib"
8089 aros_kernel_strip
="strip"
8090 kernel_tool_prefix
="i686-apple-darwin10-"
8093 aros_target_cpu
="ppc"
8094 aros_object_format
="elf32ppc"
8095 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8096 aros_kernel_ldflags
=""
8097 aros_macosx_version
="10.0"
8098 aros_default_wbdepth
=8
8099 gcc_target_cpu
="ppc"
8101 aros_kernel_ar_flags
="-cr"
8102 aros_kernel_ld
="ld -arch ppc"
8103 aros_kernel_as
="as -arch ppc"
8104 aros_kernel_ranlib
="ranlib -arch ppc"
8105 aros_kernel_nm
="nm -arch ppc"
8106 aros_kernel_strip
="strip -arch ppc"
8107 kernel_tool_prefix
="powerpc-apple-darwin10-"
8110 aros_ios_platform
="iPhoneOS"
8111 aros_target_cpu
="arm"
8112 aros_object_format
="armelf_aros"
8113 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8114 aros_arch_libs
="-laeabi"
8115 aros_default_wbdepth
=8
8116 gcc_target_cpu
="arm"
8118 aros_kernel_ar_flags
="-cr"
8119 aros_kernel_ld
="ld -arch arm"
8120 aros_kernel_ranlib
="ranlib -arch arm"
8121 kernel_tool_prefix
="arm-apple-darwin10-"
8122 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8125 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8128 case "$aros_target_variant" in
8130 aros_ios_version
="3.0"
8131 aros_default_wbwidth
=320
8132 aros_default_wbheight
=480
8133 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8134 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8135 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8137 # This is here because it may depend on iOS or SDK version
8138 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8139 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8140 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8143 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8144 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8150 aros_target_arch
="dragonfly"
8151 aros_target_family
="unix"
8152 aros_flavour
="emulation"
8153 case "$target_cpu" in
8155 aros_target_cpu
="i386"
8156 aros_object_format
="elf_i386"
8157 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8160 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8161 aros_target_cpu
="x86_64"
8162 aros_object_format
="elf_x86_64"
8163 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8166 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8172 aros_target_arch
="netbsd"
8173 aros_target_family
="unix"
8174 case "$target_cpu" in
8176 aros_target_cpu
="m68k"
8177 aros_object_format
="m68kelf"
8178 aros_flavour
="emulcompat"
8179 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8180 gcc_target_cpu
="mc68000"
8183 aros_target_cpu
="i386"
8184 aros_object_format
="elf_i386"
8185 aros_flavour
="emulation"
8186 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8187 aros_default_wbdepth
=8
8188 gcc_target_cpu
="i386"
8191 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8194 aros_target_genmap
="-Wl,-M -Xlinker >"
8195 aros_flavour
="emulation"
8196 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8200 aros_target_arch
="openbsd"
8201 aros_target_family
="unix"
8202 case "$target_cpu" in
8204 aros_target_cpu
="i386"
8205 aros_object_format
="elf_i386"
8206 aros_flavour
="emulation"
8207 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8208 gcc_target_cpu
="i386"
8211 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8214 aros_target_genmap
="-Wl,-M -Xlinker >"
8215 aros_target_nm_flags
="-u"
8216 aros_flavour
="emulation"
8220 aros_target_arch
="solaris"
8221 aros_target_family
="unix"
8222 case "$target_cpu" in
8224 aros_target_cpu
="i386"
8225 aros_object_format
="elf_i386"
8226 aros_flavour
="emulation"
8227 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8228 aros_default_wbdepth
=8
8229 gcc_target_cpu
="i386"
8232 aros_target_cpu
="sparc"
8233 aros_object_format
="elf_sparc"
8234 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8235 gcc_target_cpu
="sparc"
8238 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8241 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8242 aros_flavour
="emulation"
8246 aros_target_arch
="morphos"
8247 aros_shared_default
="no"
8248 aros_target_cpu
="ppc"
8249 aros_object_format
="elf_ppc"
8250 aros_flavour
="nativecompat"
8251 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8252 gcc_target_cpu
="ppc"
8256 aros_target_arch
="sam440"
8257 aros_shared_default
="no"
8258 aros_target_cpu
="ppc"
8259 aros_object_format
="elf32ppc"
8260 aros_flavour
="ppcnative"
8261 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8262 aros_kernel_ldflags
=""
8263 aros_default_wbwidth
=1024
8264 aros_default_wbheight
=768
8265 aros_default_wbdepth
=24
8266 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8267 gcc_target_cpu
="powerpc"
8271 aros_target_arch
="efika"
8272 aros_shared_default
="no"
8273 aros_target_cpu
="arm"
8274 aros_object_format
="armelf_aros"
8275 aros_flavour
="standalone"
8276 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8277 aros_kernel_ldflags
=""
8278 aros_default_wbwidth
=1024
8279 aros_default_wbheight
=600
8280 aros_arch_libs
="-laeabi"
8281 gcc_default_cpu
="armv7-a"
8282 gcc_default_fpu
="vfpv3"
8283 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8284 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8285 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8286 case "$target_cpu" in
8288 gcc_default_float_abi
="hard"
8293 gcc_default_float_abi
="softfp"
8296 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8302 aros_target_arch
="chrp"
8303 aros_shared_default
="no"
8304 aros_target_cpu
="ppc"
8305 aros_object_format
="elf32ppc"
8306 aros_flavour
="ppcnative"
8307 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8308 aros_kernel_ldflags
=""
8309 aros_default_wbwidth
=640
8310 aros_default_wbheight
=480
8311 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8312 gcc_target_cpu
="powerpc"
8313 case "$aros_target_variant" in
8315 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8321 aros_flavour
="standalone"
8322 aros_target_arch
="raspi"
8323 aros_target_cpu
="arm"
8324 aros_object_format
="armelf_aros"
8325 aros_shared_default
="no"
8326 aros_arch_libs
="-laeabi"
8328 gcc_default_cpu
="armv6"
8329 gcc_default_cpu_tune
="arm1176jzf-s"
8330 case "$target_cpu" in
8332 gcc_default_float_abi
="hard"
8335 gcc_default_float_abi
="softfp"
8338 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8342 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8343 aros_config_cflags
="$aros_config_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8344 aros_config_aflags
="$aros_config_aflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8345 aros_kernel_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8346 aros_target_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8350 aros_flavour
="standalone"
8351 aros_target_arch
="sun4i"
8352 aros_target_cpu
="arm"
8353 aros_object_format
="armelf_aros"
8354 aros_shared_default
="no"
8355 aros_arch_libs
="-laeabi"
8357 gcc_default_cpu
="armv7-a"
8358 gcc_default_fpu
="neon"
8359 gcc_default_cpu_tune
="cortex-a8"
8360 gcc_default_float_abi
="hard"
8362 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8363 aros_optimization_cflags
=""
8364 aros_config_cflags
="$aros_config_cflags -mcpu=cortex-a8 -mtune=cortex-a8 -fno-strict-aliasing"
8365 aros_config_aflags
="$aros_config_aflags -mcpu=cortex-a8 -mtune=cortex-a8 -fno-strict-aliasing"
8369 aros_target_arch
="amiga"
8370 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8371 aros_shared_default
="no"
8373 case "$target_cpu" in
8375 # Check whether --enable-amigaos_compliance was given.
8376 if test "${enable_amigaos_compliance+set}" = set; then :
8377 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8381 aros_target_cpu
="m68k"
8382 aros_object_format
="m68kelf"
8383 aros_flavour
="standcompat"
8384 gcc_target_cpu
="m68000"
8385 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -DNOLIBINLINE"
8386 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8387 aros_config_aflags
="$aros_config_aflags"
8388 aros_target_strip_flags
="-R.comment --strip-debug"
8389 aros_default_wbwidth
=640
8390 aros_default_wbheight
=256
8391 aros_default_wbdepth
=2
8395 aros_flavour
="native"
8396 gcc_target_cpu
="ppc"
8399 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8405 aros_target_arch
="mingw32"
8406 aros_shared_default
="no"
8407 aros_flavour
="emulation"
8408 aros_shared_cflags
=""
8409 need_crosstools
="yes"
8412 case "$target_cpu" in
8414 aros_target_cpu
="i386"
8415 aros_object_format
="elf_i386"
8416 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8417 aros_default_wbdepth
=8
8418 gcc_target_cpu
="i386"
8420 kernel_tool_prefix
="i386-mingw32-"
8423 aros_target_cpu
="x86_64"
8424 aros_object_format
="elf_x86_64"
8425 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8426 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8427 aros_default_wbdepth
=8
8428 kernel_tool_prefix
="x86_64-w64-mingw32-"
8431 aros_target_cpu
="arm"
8432 aros_object_format
="armelf_aros"
8433 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8434 aros_arch_libs
="-laeabi"
8435 aros_default_wbdepth
=8
8436 gcc_target_cpu
="arm"
8437 gcc_default_float_abi
="soft"
8438 kernel_tool_prefix
="arm-mingw32ce-"
8439 aros_default_wbwidth
=160
8440 aros_default_wbheight
=160
8443 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8446 if test $host_os = "cygwin"; then
8447 aros_kernel_cflags
="-mno-cygwin"
8451 aros_target_arch
="pp"
8452 aros_shared_default
="no"
8453 case "$target_cpu" in
8455 aros_target_cpu
="m68k"
8456 aros_object_format
="m68kelf"
8457 aros_flavour
="palmnative"
8458 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8459 aros_default_wbwidth
=160
8460 aros_default_wbheight
=160
8461 aros_default_wbdepth
=1
8462 aros_target_ar_flags
="cru"
8463 aros_compiler_libs
="-lgcc1"
8464 aros_shared_default
=no
8465 aros_shared_cflags
="-fpic"
8466 aros_shared_aflags
=""
8467 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8468 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8469 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8470 aros_debug_aflags
=""
8471 aros_debug_ldflags
="$aros_symbols_debug"
8472 aros_mungwall_debug
="0"
8473 aros_modules_debug
="0"
8474 gcc_target_cpu
="mc68000"
8475 ignore_undefined_symbols
="-ius"
8478 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8484 aros_target_arch
="mac"
8485 aros_shared_default
="no"
8486 case "$target_cpu" in
8488 aros_target_cpu
="m68k"
8489 aros_object_format
="m68kelf"
8490 aros_flavour
="mac68knative"
8491 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8492 aros_default_wbwidth
=512
8493 aros_default_wbheight
=384
8494 aros_default_wbdepth
=8
8495 aros_target_ar_flags
="cru"
8496 aros_compiler_libs
="-lgcc1"
8497 aros_shared_default
=no
8498 aros_shared_cflags
="-fpic"
8499 aros_shared_aflags
=""
8500 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8501 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8502 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8503 aros_debug_aflags
=""
8504 aros_debug_ldflags
="$aros_symbols_debug"
8505 aros_mungwall_debug
="0"
8506 aros_modules_debug
="0"
8507 gcc_target_cpu
="mc68000"
8508 ignore_undefined_symbols
="-ius"
8511 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8517 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8521 #-----------------------------------------------------------------------------
8522 crosstools_guess
=yes
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8525 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8527 # Check whether --with-kernel-toolchain-prefix was given.
8528 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8529 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8533 $as_echo "$kernel_tool_prefix" >&6; }
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8536 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8538 # Check whether --with-elf-toolchain-prefix was given.
8539 if test "${with_elf_toolchain_prefix+set}" = set; then :
8540 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8545 $as_echo "$elf_tool_prefix" >&6; }
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8548 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8550 # Check whether --with-aros-toolchain was given.
8551 if test "${with_aros_toolchain+set}" = set; then :
8552 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8556 if test "$aros_tool_prefix" = "yes" ; then
8557 aros_tool_prefix
=$aros_target_cpu-aros-
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8560 $as_echo "$aros_tool_prefix" >&6; }
8562 #-----------------------------------------------------------------------------
8563 # Checking if we should build crosstools..
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8565 $as_echo_n "checking whether to build crosstools... " >&6; }
8566 # Check whether --enable-crosstools was given.
8567 if test "${enable_crosstools+set}" = set; then :
8568 enableval
=$enable_crosstools; crosstools
="$enableval"
8570 crosstools
="$crosstools_guess"
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8574 $as_echo "$crosstools" >&6; }
8576 if test "${crosstools}" = "yes"; then
8577 if test "${crosstools_guess}" = "no"; then
8578 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8583 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8585 # Check whether --with-aros-toolchain-install was given.
8586 if test "${with_aros_toolchain_install+set}" = set; then :
8587 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8590 if test "x$aros_toolchain_install" = "x"; then
8591 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8593 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8594 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8597 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8599 # Helper to identify gcc version
8602 #-----------------------------------------------------------------------------
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
8604 $as_echo_n "checking what specific target gcc version to use... " >&6; }
8606 # Check whether --with-gcc-version was given.
8607 if test "${with_gcc_version+set}" = set; then :
8608 withval
=$with_gcc_version; use_gcc_version
="$withval"
8613 if test "$use_gcc_version" = ""; then
8614 if test "${crosstools}" = "no"; then
8615 if test "x$aros_toolchain_install" != "x"; then
8617 target_gcc_version
=""
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
8619 $as_echo_n "checking gcc version... " >&6; }
8620 if ${ax_cv_gcc_version+:} false
; then :
8621 $as_echo_n "(cached) " >&6
8624 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}cpp -dumpversion`"
8625 if test "x$ax_cv_gcc_version" = "x"; then :
8627 ax_cv_gcc_version
=""
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
8633 $as_echo "$ax_cv_gcc_version" >&6; }
8634 target_gcc_version
=$ax_cv_gcc_version
8639 if test "$use_gcc_version" = ""; then
8640 target_gcc_version
="4.6.4"
8643 target_gcc_version
="$use_gcc_version"
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
8646 $as_echo "$target_gcc_version" >&6; }
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
8649 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
8650 # Check whether --enable-objc was given.
8651 if test "${enable_objc+set}" = set; then :
8652 enableval
=$enable_objc; objc
="$enableval"
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
8658 $as_echo "$objc" >&6; }
8659 if test "x$objc" = "xyes"; then
8662 objc_target
="no-objc"
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
8666 $as_echo_n "checking whether to enable Java suppport... " >&6; }
8667 # Check whether --enable-java was given.
8668 if test "${enable_java+set}" = set; then :
8669 enableval
=$enable_java; java
="$enableval"
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
8675 $as_echo "$java" >&6; }
8676 if test "x$java" != "xno"; then
8679 java_target
="no-java"
8682 spec_obj_format
="-m $aros_object_format"
8683 # Now process extra architecture-specific options.
8684 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8685 # as well as floating-point ABI.
8686 case "$aros_target_cpu" in
8688 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
8691 if test "$gcc_default_cpu" = ""; then
8692 gcc_default_cpu
="armv6"
8694 if test "$gcc_default_fpu" = ""; then
8695 gcc_default_fpu
="vfp"
8697 if test "$gcc_default_float_abi" = ""; then
8698 gcc_default_float_abi
="softfp"
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8702 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8704 # Check whether --with-cpu was given.
8705 if test "${with_cpu+set}" = set; then :
8706 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8708 aros_gcc_cpu
=$gcc_default_cpu
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8712 $as_echo "$aros_gcc_cpu" >&6; }
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8715 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8717 # Check whether --with-fpu was given.
8718 if test "${with_fpu+set}" = set; then :
8719 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8721 aros_gcc_fpu
=$gcc_default_fpu
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8725 $as_echo "$aros_gcc_fpu" >&6; }
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8728 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8730 # Check whether --with-float was given.
8731 if test "${with_float+set}" = set; then :
8732 withval
=$with_float; aros_gcc_float_abi
="$withval"
8734 aros_gcc_float_abi
=$gcc_default_float_abi
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8738 $as_echo "$aros_gcc_float_abi" >&6; }
8740 aros_isa_flags
="-marm -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
8741 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
8742 aros_config_aflags
="$aros_config_aflags -fno-asynchronous-unwind-tables -fno-exceptions"
8745 aros_isa_flags
="-m32 -march=i486"
8746 aros_kernel_cflags
="$aros_kernel_cflags $aros_isa_flags"
8747 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
8751 # Some architectures may need custom ELF specs.
8752 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8753 elf_specs_in
=config
/${aros_object_format}-specs.
in
8755 elf_specs_in
=config
/elf-specs.
in
8758 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8759 # Since we override specs, we may need to put these defines there
8760 if test "$gcc_target_cpu" != ""; then
8761 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8765 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8767 # Check whether --with-portssources was given.
8768 if test "${with_portssources+set}" = set; then :
8769 withval
=$with_portssources; with_portssrcdir
=$withval
8771 with_portssrcdir
="default"
8774 if test "$with_portssrcdir" = "default"; then
8775 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8777 AROS_PORTSSRCDIR
="$with_portssrcdir"
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8780 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8783 $as_echo_n "checking which bootloader to use... " >&6; }
8785 # Check whether --with-bootloader was given.
8786 if test "${with_bootloader+set}" = set; then :
8787 withval
=$with_bootloader; target_bootloader
=$withval
8789 target_bootloader
=$target_bootloader
8792 if test "$target_bootloader" = "none"; then
8793 aros_target_bootloader
=""
8795 aros_target_bootloader
="$target_bootloader"
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8798 $as_echo "$target_bootloader" >&6; }
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8801 $as_echo_n "checking which icon-set to use... " >&6; }
8803 # Check whether --with-iconset was given.
8804 if test "${with_iconset+set}" = set; then :
8805 withval
=$with_iconset; target_iconset
=$withval
8807 target_iconset
="default"
8810 if test "$target_iconset" = "default"; then
8811 aros_target_iconset
="Gorilla"
8812 target_iconset
="default (Gorilla)"
8814 aros_target_iconset
="$target_iconset"
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8817 $as_echo "$target_iconset" >&6; }
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8820 $as_echo_n "checking which GUI Theme to use... " >&6; }
8822 # Check whether --with-theme was given.
8823 if test "${with_theme+set}" = set; then :
8824 withval
=$with_theme; target_guitheme
=$withval
8826 target_guitheme
="default"
8829 if test "$target_guitheme" = "default"; then
8830 aros_target_guitheme
="Ice"
8832 aros_target_guitheme
="$target_guitheme"
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8835 $as_echo "$aros_target_guitheme" >&6; }
8837 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8841 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8845 if test "$aros_host_cpu" == "x86_64" ; then
8846 if test "$aros_target_cpu" == "i386" ; then
8851 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8852 if test "$aros_host_arch" != "$aros_target_arch" ; then
8856 if test "$host_cc_elf" = "no" ; then
8861 if test "$cross_compiling" = "no" ; then
8862 kernel_tool_prefix
=""
8863 if test "$host_cc_elf" = "yes" ; then
8868 if test "$kernel_tool_version" != ""; then
8869 kernel_tool_version
="-$kernel_tool_version"
8872 #######################################################################
8873 ## Compute what toolchains to use, and their paths ##
8874 #######################################################################
8876 # This takes, as input:
8877 # crosstools {yes,no}
8878 # kernel_tool_version {"",[version]}
8879 # target_tool_version {"",[version]}
8880 # kernel_tool_prefix {none,[some-arch-os-]}
8881 # target_tool_prefix ${aros_target_cpu}-aros-
8882 # aros_tool_prefix ${aros_target_cpu}-aros-
8885 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8886 # Where the 'kernel' binaries are located
8887 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8888 # Where the 'target' binaries are located
8889 # (not the symlink farm - that is aros_target_*!)
8892 # if crosstools then
8893 # if kernel_tools_prefix = "no-kernel-prefix-"
8894 # aros_kernel_* = crosstools cc paths
8895 # aros_kernel_cc = elf cc wrapper around crosstools cc
8897 # VALIDATE(${kernel_tools_prefix}*)
8898 # aros_kernel_* = ${kernel_tools_prefix}*
8899 # if ${kernel_tools_prefix}cc is an AROS gcc
8900 # aros_kernel_cc = ${kernel_tools_prefix}cc
8902 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8906 # orig_target_* = aros built crosstools
8907 # orig_target_cc = elf cc wrapper around crosstools cc
8909 # VALIDATE(${kernel_tools_prefix}*)
8911 # orig_target_* = aros_kernel_*
8912 # if aros_kernel_cc is an AROS gcc
8913 # orig_target_cc = aros_kernel_cc
8915 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8919 target_tool_prefix
="${aros_target_cpu}-aros-"
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8922 $as_echo_n "checking which kernel tools... " >&6; }
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8924 $as_echo "$kernel_tool_prefix" >&6; };
8926 if test "$kernel_tool_prefix" = "none" ; then
8927 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8928 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8931 # Kernel tools required - find them
8932 # Note that 'normally', aros_kernel_* overrides will be
8933 # empty, unless specified in the per-arch sections above.
8934 if test "x$aros_kernel_cpp" = "x"; then
8935 aros_kernel_cpp
=${kernel_tool_prefix}cpp
8938 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
8939 if test "$cross_compiling" = "yes" ; then
8940 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8941 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8943 $as_echo_n "checking for $ac_word... " >&6; }
8944 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8945 $as_echo_n "(cached) " >&6
8947 case $aros_kernel_cpp in
8949 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8956 test -z "$as_dir" && as_dir
=.
8957 for ac_exec_ext
in '' $ac_executable_extensions; do
8958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8959 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8970 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8971 if test -n "$aros_kernel_cpp"; then
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8973 $as_echo "$aros_kernel_cpp" >&6; }
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8976 $as_echo "no" >&6; }
8981 if test "$GCC" = "yes"; then
8982 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8983 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8984 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8986 $as_echo_n "checking for $ac_word... " >&6; }
8987 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8988 $as_echo_n "(cached) " >&6
8990 case $aros_kernel_cpp in
8992 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8996 for as_dir
in `dirname $aros_gcc_cpp`
8999 test -z "$as_dir" && as_dir
=.
9000 for ac_exec_ext
in '' $ac_executable_extensions; do
9001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9002 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9013 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9014 if test -n "$aros_kernel_cpp"; then
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9016 $as_echo "$aros_kernel_cpp" >&6; }
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9019 $as_echo "no" >&6; }
9024 if test "$aros_kernel_cpp" = ""; then
9025 # Extract the first word of "cpp", so it can be a program name with args.
9026 set dummy cpp
; ac_word
=$2
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9028 $as_echo_n "checking for $ac_word... " >&6; }
9029 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9030 $as_echo_n "(cached) " >&6
9032 case $aros_kernel_cpp in
9034 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9041 test -z "$as_dir" && as_dir
=.
9042 for ac_exec_ext
in '' $ac_executable_extensions; do
9043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9044 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9055 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9056 if test -n "$aros_kernel_cpp"; then
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9058 $as_echo "$aros_kernel_cpp" >&6; }
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9061 $as_echo "no" >&6; }
9068 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
9069 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9071 $as_echo_n "checking for $ac_word... " >&6; }
9072 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9073 $as_echo_n "(cached) " >&6
9075 case $aros_kernel_cpp in
9077 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9084 test -z "$as_dir" && as_dir
=.
9085 for ac_exec_ext
in '' $ac_executable_extensions; do
9086 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9087 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9098 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9099 if test -n "$aros_kernel_cpp"; then
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9101 $as_echo "$aros_kernel_cpp" >&6; }
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9104 $as_echo "no" >&6; }
9110 if test "$aros_kernel_cpp" = ""; then
9111 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
9113 if test "x$aros_kernel_cc" = "x"; then
9114 aros_kernel_cc
=${kernel_tool_prefix}gcc
9117 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
9118 if test "$cross_compiling" = "yes" ; then
9119 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9120 set dummy
${kernel_tool_prefix}cc
; 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_cc+:} false
; then :
9124 $as_echo_n "(cached) " >&6
9126 case $aros_kernel_cc in
9128 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # 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_cc
="$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_cc
=$ac_cv_path_aros_kernel_cc
9150 if test -n "$aros_kernel_cc"; then
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9152 $as_echo "$aros_kernel_cc" >&6; }
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9155 $as_echo "no" >&6; }
9160 if test "$GCC" = "yes"; then
9161 aros_gcc_cc
=`$CC -print-prog-name=cc`
9162 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9163 set dummy
`basename $aros_gcc_cc`; 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_cc+:} false
; then :
9167 $as_echo_n "(cached) " >&6
9169 case $aros_kernel_cc in
9171 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9175 for as_dir
in `dirname $aros_gcc_cc`
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_cc
="$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_cc
=$ac_cv_path_aros_kernel_cc
9193 if test -n "$aros_kernel_cc"; then
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9195 $as_echo "$aros_kernel_cc" >&6; }
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9198 $as_echo "no" >&6; }
9203 if test "$aros_kernel_cc" = ""; then
9204 # Extract the first word of "cc", so it can be a program name with args.
9205 set dummy cc
; ac_word
=$2
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9207 $as_echo_n "checking for $ac_word... " >&6; }
9208 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9209 $as_echo_n "(cached) " >&6
9211 case $aros_kernel_cc in
9213 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9220 test -z "$as_dir" && as_dir
=.
9221 for ac_exec_ext
in '' $ac_executable_extensions; do
9222 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9223 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9234 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9235 if test -n "$aros_kernel_cc"; then
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9237 $as_echo "$aros_kernel_cc" >&6; }
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9240 $as_echo "no" >&6; }
9247 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9248 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9250 $as_echo_n "checking for $ac_word... " >&6; }
9251 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9252 $as_echo_n "(cached) " >&6
9254 case $aros_kernel_cc in
9256 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9263 test -z "$as_dir" && as_dir
=.
9264 for ac_exec_ext
in '' $ac_executable_extensions; do
9265 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9266 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9277 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9278 if test -n "$aros_kernel_cc"; then
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9280 $as_echo "$aros_kernel_cc" >&6; }
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9283 $as_echo "no" >&6; }
9289 if test "$aros_kernel_cc" = ""; then
9290 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9292 if test "x$aros_kernel_cxx" = "x"; then
9293 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9296 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9297 if test "$cross_compiling" = "yes" ; then
9298 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9299 set dummy
${kernel_tool_prefix}cxx
; 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_cxx+:} false
; then :
9303 $as_echo_n "(cached) " >&6
9305 case $aros_kernel_cxx in
9307 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # 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_cxx
="$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_cxx
=$ac_cv_path_aros_kernel_cxx
9329 if test -n "$aros_kernel_cxx"; then
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9331 $as_echo "$aros_kernel_cxx" >&6; }
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9334 $as_echo "no" >&6; }
9339 if test "$GCC" = "yes"; then
9340 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9341 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9342 set dummy
`basename $aros_gcc_cxx`; 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_cxx+:} false
; then :
9346 $as_echo_n "(cached) " >&6
9348 case $aros_kernel_cxx in
9350 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9354 for as_dir
in `dirname $aros_gcc_cxx`
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_cxx
="$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_cxx
=$ac_cv_path_aros_kernel_cxx
9372 if test -n "$aros_kernel_cxx"; then
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9374 $as_echo "$aros_kernel_cxx" >&6; }
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9377 $as_echo "no" >&6; }
9382 if test "$aros_kernel_cxx" = ""; then
9383 # Extract the first word of "cxx", so it can be a program name with args.
9384 set dummy cxx
; ac_word
=$2
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9386 $as_echo_n "checking for $ac_word... " >&6; }
9387 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9388 $as_echo_n "(cached) " >&6
9390 case $aros_kernel_cxx in
9392 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9399 test -z "$as_dir" && as_dir
=.
9400 for ac_exec_ext
in '' $ac_executable_extensions; do
9401 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9402 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9413 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9414 if test -n "$aros_kernel_cxx"; then
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9416 $as_echo "$aros_kernel_cxx" >&6; }
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9419 $as_echo "no" >&6; }
9426 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9427 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9429 $as_echo_n "checking for $ac_word... " >&6; }
9430 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9431 $as_echo_n "(cached) " >&6
9433 case $aros_kernel_cxx in
9435 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9442 test -z "$as_dir" && as_dir
=.
9443 for ac_exec_ext
in '' $ac_executable_extensions; do
9444 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9445 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9456 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9457 if test -n "$aros_kernel_cxx"; then
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9459 $as_echo "$aros_kernel_cxx" >&6; }
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9462 $as_echo "no" >&6; }
9468 # If it's set, make sure it's really there
9469 if test "x$aros_kernel_cxx" != "x" ; then
9470 if test "$aros_kernel_cxx" = ""; then
9471 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9475 if test "$aros_kernel_ld" = ""; then
9476 if test "$cross_compiling" = "yes" ; then
9477 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9478 set dummy
${kernel_tool_prefix}ld
; 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_ld+:} false
; then :
9482 $as_echo_n "(cached) " >&6
9484 case $aros_kernel_ld in
9486 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # 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_ld
="$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_ld
=$ac_cv_path_aros_kernel_ld
9508 if test -n "$aros_kernel_ld"; then
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9510 $as_echo "$aros_kernel_ld" >&6; }
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9513 $as_echo "no" >&6; }
9518 if test "$GCC" = "yes"; then
9519 aros_gcc_ld
=`$CC -print-prog-name=ld`
9520 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9521 set dummy
`basename $aros_gcc_ld`; 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_ld+:} false
; then :
9525 $as_echo_n "(cached) " >&6
9527 case $aros_kernel_ld in
9529 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9533 for as_dir
in `dirname $aros_gcc_ld`
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_ld
="$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_ld
=$ac_cv_path_aros_kernel_ld
9551 if test -n "$aros_kernel_ld"; then
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9553 $as_echo "$aros_kernel_ld" >&6; }
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9556 $as_echo "no" >&6; }
9561 if test "$aros_kernel_ld" = ""; then
9562 # Extract the first word of "ld", so it can be a program name with args.
9563 set dummy ld
; ac_word
=$2
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9565 $as_echo_n "checking for $ac_word... " >&6; }
9566 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9567 $as_echo_n "(cached) " >&6
9569 case $aros_kernel_ld in
9571 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9578 test -z "$as_dir" && as_dir
=.
9579 for ac_exec_ext
in '' $ac_executable_extensions; do
9580 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9581 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9592 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9593 if test -n "$aros_kernel_ld"; then
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9595 $as_echo "$aros_kernel_ld" >&6; }
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9598 $as_echo "no" >&6; }
9605 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9606 set dummy
$aros_kernel_ld; ac_word
=$2
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9608 $as_echo_n "checking for $ac_word... " >&6; }
9609 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9610 $as_echo_n "(cached) " >&6
9612 case $aros_kernel_ld in
9614 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9621 test -z "$as_dir" && as_dir
=.
9622 for ac_exec_ext
in '' $ac_executable_extensions; do
9623 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9624 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9635 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9636 if test -n "$aros_kernel_ld"; then
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9638 $as_echo "$aros_kernel_ld" >&6; }
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9641 $as_echo "no" >&6; }
9647 if test "$aros_kernel_ld" = ""; then
9648 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9651 if test "$aros_kernel_as" = ""; then
9652 if test "$cross_compiling" = "yes" ; then
9653 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9654 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9656 $as_echo_n "checking for $ac_word... " >&6; }
9657 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9658 $as_echo_n "(cached) " >&6
9660 case $aros_kernel_as in
9662 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9669 test -z "$as_dir" && as_dir
=.
9670 for ac_exec_ext
in '' $ac_executable_extensions; do
9671 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9672 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9683 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9684 if test -n "$aros_kernel_as"; then
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9686 $as_echo "$aros_kernel_as" >&6; }
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9689 $as_echo "no" >&6; }
9694 if test "$GCC" = "yes"; then
9695 aros_gcc_as
=`$CC -print-prog-name=as`
9696 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9697 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9699 $as_echo_n "checking for $ac_word... " >&6; }
9700 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9701 $as_echo_n "(cached) " >&6
9703 case $aros_kernel_as in
9705 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9709 for as_dir
in `dirname $aros_gcc_as`
9712 test -z "$as_dir" && as_dir
=.
9713 for ac_exec_ext
in '' $ac_executable_extensions; do
9714 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9715 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9726 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9727 if test -n "$aros_kernel_as"; then
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9729 $as_echo "$aros_kernel_as" >&6; }
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9732 $as_echo "no" >&6; }
9737 if test "$aros_kernel_as" = ""; then
9738 # Extract the first word of "as", so it can be a program name with args.
9739 set dummy as
; ac_word
=$2
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9741 $as_echo_n "checking for $ac_word... " >&6; }
9742 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9743 $as_echo_n "(cached) " >&6
9745 case $aros_kernel_as in
9747 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9754 test -z "$as_dir" && as_dir
=.
9755 for ac_exec_ext
in '' $ac_executable_extensions; do
9756 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9757 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9768 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9769 if test -n "$aros_kernel_as"; then
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9771 $as_echo "$aros_kernel_as" >&6; }
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9774 $as_echo "no" >&6; }
9781 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9782 set dummy
$aros_kernel_as; ac_word
=$2
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9784 $as_echo_n "checking for $ac_word... " >&6; }
9785 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9786 $as_echo_n "(cached) " >&6
9788 case $aros_kernel_as in
9790 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9797 test -z "$as_dir" && as_dir
=.
9798 for ac_exec_ext
in '' $ac_executable_extensions; do
9799 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9800 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9811 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9812 if test -n "$aros_kernel_as"; then
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9814 $as_echo "$aros_kernel_as" >&6; }
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9817 $as_echo "no" >&6; }
9823 if test "$aros_kernel_as" = ""; then
9824 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9827 if test "$aros_kernel_ar" = ""; then
9828 if test "$cross_compiling" = "yes" ; then
9829 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9830 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9832 $as_echo_n "checking for $ac_word... " >&6; }
9833 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9834 $as_echo_n "(cached) " >&6
9836 case $aros_kernel_ar in
9838 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9845 test -z "$as_dir" && as_dir
=.
9846 for ac_exec_ext
in '' $ac_executable_extensions; do
9847 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9848 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9859 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9860 if test -n "$aros_kernel_ar"; then
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9862 $as_echo "$aros_kernel_ar" >&6; }
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9865 $as_echo "no" >&6; }
9870 if test "$GCC" = "yes"; then
9871 aros_gcc_ar
=`$CC -print-prog-name=ar`
9872 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9873 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9875 $as_echo_n "checking for $ac_word... " >&6; }
9876 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9877 $as_echo_n "(cached) " >&6
9879 case $aros_kernel_ar in
9881 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9885 for as_dir
in `dirname $aros_gcc_ar`
9888 test -z "$as_dir" && as_dir
=.
9889 for ac_exec_ext
in '' $ac_executable_extensions; do
9890 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9891 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9902 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9903 if test -n "$aros_kernel_ar"; then
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9905 $as_echo "$aros_kernel_ar" >&6; }
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9908 $as_echo "no" >&6; }
9913 if test "$aros_kernel_ar" = ""; then
9914 # Extract the first word of "ar", so it can be a program name with args.
9915 set dummy
ar; ac_word
=$2
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9917 $as_echo_n "checking for $ac_word... " >&6; }
9918 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9919 $as_echo_n "(cached) " >&6
9921 case $aros_kernel_ar in
9923 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9930 test -z "$as_dir" && as_dir
=.
9931 for ac_exec_ext
in '' $ac_executable_extensions; do
9932 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9933 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9944 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9945 if test -n "$aros_kernel_ar"; then
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9947 $as_echo "$aros_kernel_ar" >&6; }
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9950 $as_echo "no" >&6; }
9957 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9958 set dummy
$aros_kernel_ar; ac_word
=$2
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9960 $as_echo_n "checking for $ac_word... " >&6; }
9961 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9962 $as_echo_n "(cached) " >&6
9964 case $aros_kernel_ar in
9966 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9973 test -z "$as_dir" && as_dir
=.
9974 for ac_exec_ext
in '' $ac_executable_extensions; do
9975 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9976 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9987 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9988 if test -n "$aros_kernel_ar"; then
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9990 $as_echo "$aros_kernel_ar" >&6; }
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9993 $as_echo "no" >&6; }
9999 if test "$aros_kernel_ar" = ""; then
10000 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
10003 if test "$aros_kernel_ranlib" = ""; then
10004 if test "$cross_compiling" = "yes" ; then
10005 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
10006 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10008 $as_echo_n "checking for $ac_word... " >&6; }
10009 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10010 $as_echo_n "(cached) " >&6
10012 case $aros_kernel_ranlib in
10014 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10018 for as_dir
in $PATH
10021 test -z "$as_dir" && as_dir
=.
10022 for ac_exec_ext
in '' $ac_executable_extensions; do
10023 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10024 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10035 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10036 if test -n "$aros_kernel_ranlib"; then
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10038 $as_echo "$aros_kernel_ranlib" >&6; }
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10041 $as_echo "no" >&6; }
10046 if test "$GCC" = "yes"; then
10047 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10048 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10049 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10051 $as_echo_n "checking for $ac_word... " >&6; }
10052 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10053 $as_echo_n "(cached) " >&6
10055 case $aros_kernel_ranlib in
10057 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10061 for as_dir
in `dirname $aros_gcc_ranlib`
10064 test -z "$as_dir" && as_dir
=.
10065 for ac_exec_ext
in '' $ac_executable_extensions; do
10066 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10067 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10078 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10079 if test -n "$aros_kernel_ranlib"; then
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10081 $as_echo "$aros_kernel_ranlib" >&6; }
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10084 $as_echo "no" >&6; }
10089 if test "$aros_kernel_ranlib" = ""; then
10090 # Extract the first word of "ranlib", so it can be a program name with args.
10091 set dummy ranlib
; ac_word
=$2
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10093 $as_echo_n "checking for $ac_word... " >&6; }
10094 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10095 $as_echo_n "(cached) " >&6
10097 case $aros_kernel_ranlib in
10099 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10103 for as_dir
in $PATH
10106 test -z "$as_dir" && as_dir
=.
10107 for ac_exec_ext
in '' $ac_executable_extensions; do
10108 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10109 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10120 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10121 if test -n "$aros_kernel_ranlib"; then
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10123 $as_echo "$aros_kernel_ranlib" >&6; }
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10126 $as_echo "no" >&6; }
10133 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10134 set dummy
$aros_kernel_ranlib; ac_word
=$2
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10136 $as_echo_n "checking for $ac_word... " >&6; }
10137 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10138 $as_echo_n "(cached) " >&6
10140 case $aros_kernel_ranlib in
10142 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10146 for as_dir
in $PATH
10149 test -z "$as_dir" && as_dir
=.
10150 for ac_exec_ext
in '' $ac_executable_extensions; do
10151 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10152 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10163 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10164 if test -n "$aros_kernel_ranlib"; then
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10166 $as_echo "$aros_kernel_ranlib" >&6; }
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10169 $as_echo "no" >&6; }
10175 if test "$aros_kernel_ranlib" = ""; then
10176 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10179 if test "$aros_kernel_nm" = ""; then
10180 if test "$cross_compiling" = "yes" ; then
10181 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10182 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10184 $as_echo_n "checking for $ac_word... " >&6; }
10185 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10186 $as_echo_n "(cached) " >&6
10188 case $aros_kernel_nm in
10190 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10194 for as_dir
in $PATH
10197 test -z "$as_dir" && as_dir
=.
10198 for ac_exec_ext
in '' $ac_executable_extensions; do
10199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10200 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10211 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10212 if test -n "$aros_kernel_nm"; then
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10214 $as_echo "$aros_kernel_nm" >&6; }
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10217 $as_echo "no" >&6; }
10222 if test "$GCC" = "yes"; then
10223 aros_gcc_nm
=`$CC -print-prog-name=nm`
10224 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10225 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10227 $as_echo_n "checking for $ac_word... " >&6; }
10228 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10229 $as_echo_n "(cached) " >&6
10231 case $aros_kernel_nm in
10233 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10237 for as_dir
in `dirname $aros_gcc_nm`
10240 test -z "$as_dir" && as_dir
=.
10241 for ac_exec_ext
in '' $ac_executable_extensions; do
10242 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10243 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10254 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10255 if test -n "$aros_kernel_nm"; then
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10257 $as_echo "$aros_kernel_nm" >&6; }
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10260 $as_echo "no" >&6; }
10265 if test "$aros_kernel_nm" = ""; then
10266 # Extract the first word of "nm", so it can be a program name with args.
10267 set dummy nm
; ac_word
=$2
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10269 $as_echo_n "checking for $ac_word... " >&6; }
10270 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10271 $as_echo_n "(cached) " >&6
10273 case $aros_kernel_nm in
10275 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10279 for as_dir
in $PATH
10282 test -z "$as_dir" && as_dir
=.
10283 for ac_exec_ext
in '' $ac_executable_extensions; do
10284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10285 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10296 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10297 if test -n "$aros_kernel_nm"; then
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10299 $as_echo "$aros_kernel_nm" >&6; }
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10302 $as_echo "no" >&6; }
10309 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10310 set dummy
$aros_kernel_nm; ac_word
=$2
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10312 $as_echo_n "checking for $ac_word... " >&6; }
10313 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10314 $as_echo_n "(cached) " >&6
10316 case $aros_kernel_nm in
10318 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10322 for as_dir
in $PATH
10325 test -z "$as_dir" && as_dir
=.
10326 for ac_exec_ext
in '' $ac_executable_extensions; do
10327 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10328 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10339 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10340 if test -n "$aros_kernel_nm"; then
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10342 $as_echo "$aros_kernel_nm" >&6; }
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10345 $as_echo "no" >&6; }
10351 if test "$aros_kernel_nm" = ""; then
10352 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10355 if test "$aros_kernel_strip" = ""; then
10356 if test "$cross_compiling" = "yes" ; then
10357 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10358 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10360 $as_echo_n "checking for $ac_word... " >&6; }
10361 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10362 $as_echo_n "(cached) " >&6
10364 case $aros_kernel_strip in
10366 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10370 for as_dir
in $PATH
10373 test -z "$as_dir" && as_dir
=.
10374 for ac_exec_ext
in '' $ac_executable_extensions; do
10375 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10376 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10387 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10388 if test -n "$aros_kernel_strip"; then
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10390 $as_echo "$aros_kernel_strip" >&6; }
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10393 $as_echo "no" >&6; }
10398 if test "$GCC" = "yes"; then
10399 aros_gcc_strip
=`$CC -print-prog-name=strip`
10400 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10401 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10403 $as_echo_n "checking for $ac_word... " >&6; }
10404 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10405 $as_echo_n "(cached) " >&6
10407 case $aros_kernel_strip in
10409 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10413 for as_dir
in `dirname $aros_gcc_strip`
10416 test -z "$as_dir" && as_dir
=.
10417 for ac_exec_ext
in '' $ac_executable_extensions; do
10418 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10419 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10430 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10431 if test -n "$aros_kernel_strip"; then
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10433 $as_echo "$aros_kernel_strip" >&6; }
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10436 $as_echo "no" >&6; }
10441 if test "$aros_kernel_strip" = ""; then
10442 # Extract the first word of "strip", so it can be a program name with args.
10443 set dummy strip
; ac_word
=$2
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10445 $as_echo_n "checking for $ac_word... " >&6; }
10446 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10447 $as_echo_n "(cached) " >&6
10449 case $aros_kernel_strip in
10451 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10455 for as_dir
in $PATH
10458 test -z "$as_dir" && as_dir
=.
10459 for ac_exec_ext
in '' $ac_executable_extensions; do
10460 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10461 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10472 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10473 if test -n "$aros_kernel_strip"; then
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10475 $as_echo "$aros_kernel_strip" >&6; }
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10478 $as_echo "no" >&6; }
10485 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10486 set dummy
$aros_kernel_strip; ac_word
=$2
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10488 $as_echo_n "checking for $ac_word... " >&6; }
10489 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10490 $as_echo_n "(cached) " >&6
10492 case $aros_kernel_strip in
10494 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10498 for as_dir
in $PATH
10501 test -z "$as_dir" && as_dir
=.
10502 for ac_exec_ext
in '' $ac_executable_extensions; do
10503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10504 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10515 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10516 if test -n "$aros_kernel_strip"; then
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10518 $as_echo "$aros_kernel_strip" >&6; }
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10521 $as_echo "no" >&6; }
10527 if test "$aros_kernel_strip" = ""; then
10528 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10531 # Objcopy and objdump are not required for the kernel
10532 # toolchain on many architectures.
10533 # So we'll look for them, but not make them strictly required.
10535 if test "$aros_kernel_objcopy" = ""; then
10536 if test "$cross_compiling" = "yes" ; then
10537 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10538 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10540 $as_echo_n "checking for $ac_word... " >&6; }
10541 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10542 $as_echo_n "(cached) " >&6
10544 case $aros_kernel_objcopy in
10546 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10550 for as_dir
in $PATH
10553 test -z "$as_dir" && as_dir
=.
10554 for ac_exec_ext
in '' $ac_executable_extensions; do
10555 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10556 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10567 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10568 if test -n "$aros_kernel_objcopy"; then
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10570 $as_echo "$aros_kernel_objcopy" >&6; }
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10573 $as_echo "no" >&6; }
10578 if test "$GCC" = "yes"; then
10579 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10580 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10581 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10583 $as_echo_n "checking for $ac_word... " >&6; }
10584 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10585 $as_echo_n "(cached) " >&6
10587 case $aros_kernel_objcopy in
10589 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10593 for as_dir
in `dirname $aros_gcc_objcopy`
10596 test -z "$as_dir" && as_dir
=.
10597 for ac_exec_ext
in '' $ac_executable_extensions; do
10598 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10599 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10610 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10611 if test -n "$aros_kernel_objcopy"; then
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10613 $as_echo "$aros_kernel_objcopy" >&6; }
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10616 $as_echo "no" >&6; }
10621 if test "$aros_kernel_objcopy" = ""; then
10622 # Extract the first word of "objcopy", so it can be a program name with args.
10623 set dummy objcopy
; ac_word
=$2
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10625 $as_echo_n "checking for $ac_word... " >&6; }
10626 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10627 $as_echo_n "(cached) " >&6
10629 case $aros_kernel_objcopy in
10631 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10635 for as_dir
in $PATH
10638 test -z "$as_dir" && as_dir
=.
10639 for ac_exec_ext
in '' $ac_executable_extensions; do
10640 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10641 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10652 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10653 if test -n "$aros_kernel_objcopy"; then
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10655 $as_echo "$aros_kernel_objcopy" >&6; }
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10658 $as_echo "no" >&6; }
10665 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10666 set dummy
$aros_kernel_objcopy; ac_word
=$2
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10668 $as_echo_n "checking for $ac_word... " >&6; }
10669 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10670 $as_echo_n "(cached) " >&6
10672 case $aros_kernel_objcopy in
10674 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10678 for as_dir
in $PATH
10681 test -z "$as_dir" && as_dir
=.
10682 for ac_exec_ext
in '' $ac_executable_extensions; do
10683 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10684 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10695 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10696 if test -n "$aros_kernel_objcopy"; then
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10698 $as_echo "$aros_kernel_objcopy" >&6; }
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10701 $as_echo "no" >&6; }
10708 if test "$aros_kernel_objdump" = ""; then
10709 if test "$cross_compiling" = "yes" ; then
10710 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10711 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10713 $as_echo_n "checking for $ac_word... " >&6; }
10714 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10715 $as_echo_n "(cached) " >&6
10717 case $aros_kernel_objdump in
10719 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10723 for as_dir
in $PATH
10726 test -z "$as_dir" && as_dir
=.
10727 for ac_exec_ext
in '' $ac_executable_extensions; do
10728 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10729 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10740 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10741 if test -n "$aros_kernel_objdump"; then
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10743 $as_echo "$aros_kernel_objdump" >&6; }
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10746 $as_echo "no" >&6; }
10751 if test "$GCC" = "yes"; then
10752 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10753 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10754 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10756 $as_echo_n "checking for $ac_word... " >&6; }
10757 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10758 $as_echo_n "(cached) " >&6
10760 case $aros_kernel_objdump in
10762 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10766 for as_dir
in `dirname $aros_gcc_objdump`
10769 test -z "$as_dir" && as_dir
=.
10770 for ac_exec_ext
in '' $ac_executable_extensions; do
10771 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10772 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10783 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10784 if test -n "$aros_kernel_objdump"; then
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10786 $as_echo "$aros_kernel_objdump" >&6; }
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10789 $as_echo "no" >&6; }
10794 if test "$aros_kernel_objdump" = ""; then
10795 # Extract the first word of "objdump", so it can be a program name with args.
10796 set dummy objdump
; ac_word
=$2
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10798 $as_echo_n "checking for $ac_word... " >&6; }
10799 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10800 $as_echo_n "(cached) " >&6
10802 case $aros_kernel_objdump in
10804 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10808 for as_dir
in $PATH
10811 test -z "$as_dir" && as_dir
=.
10812 for ac_exec_ext
in '' $ac_executable_extensions; do
10813 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10814 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10825 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10826 if test -n "$aros_kernel_objdump"; then
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10828 $as_echo "$aros_kernel_objdump" >&6; }
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10831 $as_echo "no" >&6; }
10838 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10839 set dummy
$aros_kernel_objdump; ac_word
=$2
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10841 $as_echo_n "checking for $ac_word... " >&6; }
10842 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10843 $as_echo_n "(cached) " >&6
10845 case $aros_kernel_objdump in
10847 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10851 for as_dir
in $PATH
10854 test -z "$as_dir" && as_dir
=.
10855 for ac_exec_ext
in '' $ac_executable_extensions; do
10856 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10857 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10868 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10869 if test -n "$aros_kernel_objdump"; then
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10871 $as_echo "$aros_kernel_objdump" >&6; }
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10874 $as_echo "no" >&6; }
10880 if test "x${crosstools}" != "xyes" ; then
10881 if test "$aros_kernel_objcopy" = ""; then
10882 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10884 if test "$aros_kernel_objdump" = ""; then
10885 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10891 $as_echo_n "checking which target tools to use... " >&6; }
10892 if test "$crosstools" = "yes"; then
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10894 $as_echo "$target_tool_prefix" >&6; }
10895 # We are building AROS crosstools
10896 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10897 orig_target_cc
="${tmp_tool_prefix}gcc${target_tool_version}"
10898 orig_target_cxx
="${tmp_tool_prefix}g++${target_tool_version}"
10899 orig_target_cpp
="${tmp_tool_prefix}cpp"
10900 orig_target_ld
="${tmp_tool_prefix}ld"
10901 orig_target_as
="${tmp_tool_prefix}as"
10902 orig_target_ar
="${tmp_tool_prefix}ar"
10903 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10904 orig_target_nm
="${tmp_tool_prefix}nm"
10905 orig_target_strip
="${tmp_tool_prefix}strip"
10906 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10907 orig_target_objdump
="${tmp_tool_prefix}objdump"
10909 # Determine whether AROS or ELF tools should be used
10910 if test "$aros_tool_prefix" = "none"; then
10911 aros_tool_prefix
="${elf_tool_prefix}"
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10915 $as_echo "$aros_tool_prefix" >&6; }
10916 # We are *not* building AROS crosstools - use the AROS or ELF tools
10918 if test "${aros_tool_prefix}cpp${target_tool_version}" = ""; then
10919 if test "$cross_compiling" = "yes" ; then
10920 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10921 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10923 $as_echo_n "checking for $ac_word... " >&6; }
10924 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10925 $as_echo_n "(cached) " >&6
10927 case $orig_target_cpp in
10929 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10933 for as_dir
in $PATH
10936 test -z "$as_dir" && as_dir
=.
10937 for ac_exec_ext
in '' $ac_executable_extensions; do
10938 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10939 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10950 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10951 if test -n "$orig_target_cpp"; then
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10953 $as_echo "$orig_target_cpp" >&6; }
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10956 $as_echo "no" >&6; }
10961 if test "$GCC" = "yes"; then
10962 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10963 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10964 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10966 $as_echo_n "checking for $ac_word... " >&6; }
10967 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10968 $as_echo_n "(cached) " >&6
10970 case $orig_target_cpp in
10972 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10976 for as_dir
in `dirname $aros_gcc_cpp`
10979 test -z "$as_dir" && as_dir
=.
10980 for ac_exec_ext
in '' $ac_executable_extensions; do
10981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10982 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10993 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10994 if test -n "$orig_target_cpp"; then
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10996 $as_echo "$orig_target_cpp" >&6; }
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10999 $as_echo "no" >&6; }
11004 if test "$orig_target_cpp" = ""; then
11005 # Extract the first word of "cpp", so it can be a program name with args.
11006 set dummy cpp
; ac_word
=$2
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11008 $as_echo_n "checking for $ac_word... " >&6; }
11009 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11010 $as_echo_n "(cached) " >&6
11012 case $orig_target_cpp in
11014 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11018 for as_dir
in $PATH
11021 test -z "$as_dir" && as_dir
=.
11022 for ac_exec_ext
in '' $ac_executable_extensions; do
11023 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11024 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11035 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11036 if test -n "$orig_target_cpp"; then
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11038 $as_echo "$orig_target_cpp" >&6; }
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11041 $as_echo "no" >&6; }
11048 # Extract the first word of "${aros_tool_prefix}cpp${target_tool_version}", so it can be a program name with args.
11049 set dummy
${aros_tool_prefix}cpp
${target_tool_version}; ac_word
=$2
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11051 $as_echo_n "checking for $ac_word... " >&6; }
11052 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11053 $as_echo_n "(cached) " >&6
11055 case $orig_target_cpp in
11057 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11061 for as_dir
in $PATH
11064 test -z "$as_dir" && as_dir
=.
11065 for ac_exec_ext
in '' $ac_executable_extensions; do
11066 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11067 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11078 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11079 if test -n "$orig_target_cpp"; then
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11081 $as_echo "$orig_target_cpp" >&6; }
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11084 $as_echo "no" >&6; }
11090 if test "$orig_target_cpp" = ""; then
11091 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11094 if test "${aros_tool_prefix}gcc${target_tool_version}" = ""; then
11095 if test "$cross_compiling" = "yes" ; then
11096 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11097 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11099 $as_echo_n "checking for $ac_word... " >&6; }
11100 if ${ac_cv_path_orig_target_cc+:} false
; then :
11101 $as_echo_n "(cached) " >&6
11103 case $orig_target_cc in
11105 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11109 for as_dir
in $PATH
11112 test -z "$as_dir" && as_dir
=.
11113 for ac_exec_ext
in '' $ac_executable_extensions; do
11114 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11115 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11126 orig_target_cc
=$ac_cv_path_orig_target_cc
11127 if test -n "$orig_target_cc"; then
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11129 $as_echo "$orig_target_cc" >&6; }
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11132 $as_echo "no" >&6; }
11137 if test "$GCC" = "yes"; then
11138 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11139 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11140 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11142 $as_echo_n "checking for $ac_word... " >&6; }
11143 if ${ac_cv_path_orig_target_cc+:} false
; then :
11144 $as_echo_n "(cached) " >&6
11146 case $orig_target_cc in
11148 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11152 for as_dir
in `dirname $aros_gcc_gcc`
11155 test -z "$as_dir" && as_dir
=.
11156 for ac_exec_ext
in '' $ac_executable_extensions; do
11157 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11158 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11169 orig_target_cc
=$ac_cv_path_orig_target_cc
11170 if test -n "$orig_target_cc"; then
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11172 $as_echo "$orig_target_cc" >&6; }
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11175 $as_echo "no" >&6; }
11180 if test "$orig_target_cc" = ""; then
11181 # Extract the first word of "gcc", so it can be a program name with args.
11182 set dummy gcc
; ac_word
=$2
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11184 $as_echo_n "checking for $ac_word... " >&6; }
11185 if ${ac_cv_path_orig_target_cc+:} false
; then :
11186 $as_echo_n "(cached) " >&6
11188 case $orig_target_cc in
11190 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11194 for as_dir
in $PATH
11197 test -z "$as_dir" && as_dir
=.
11198 for ac_exec_ext
in '' $ac_executable_extensions; do
11199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11200 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11211 orig_target_cc
=$ac_cv_path_orig_target_cc
11212 if test -n "$orig_target_cc"; then
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11214 $as_echo "$orig_target_cc" >&6; }
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11217 $as_echo "no" >&6; }
11224 # Extract the first word of "${aros_tool_prefix}gcc${target_tool_version}", so it can be a program name with args.
11225 set dummy
${aros_tool_prefix}gcc
${target_tool_version}; ac_word
=$2
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11227 $as_echo_n "checking for $ac_word... " >&6; }
11228 if ${ac_cv_path_orig_target_cc+:} false
; then :
11229 $as_echo_n "(cached) " >&6
11231 case $orig_target_cc in
11233 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11237 for as_dir
in $PATH
11240 test -z "$as_dir" && as_dir
=.
11241 for ac_exec_ext
in '' $ac_executable_extensions; do
11242 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11243 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11254 orig_target_cc
=$ac_cv_path_orig_target_cc
11255 if test -n "$orig_target_cc"; then
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11257 $as_echo "$orig_target_cc" >&6; }
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11260 $as_echo "no" >&6; }
11266 if test "$orig_target_cc" = ""; then
11267 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11270 if test "${aros_tool_prefix}g++${target_tool_version}" = ""; then
11271 if test "$cross_compiling" = "yes" ; then
11272 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11273 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11275 $as_echo_n "checking for $ac_word... " >&6; }
11276 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11277 $as_echo_n "(cached) " >&6
11279 case $orig_target_cxx in
11281 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11285 for as_dir
in $PATH
11288 test -z "$as_dir" && as_dir
=.
11289 for ac_exec_ext
in '' $ac_executable_extensions; do
11290 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11291 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11302 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11303 if test -n "$orig_target_cxx"; then
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11305 $as_echo "$orig_target_cxx" >&6; }
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11308 $as_echo "no" >&6; }
11313 if test "$GCC" = "yes"; then
11314 aros_gcc_g
++=`$CC -print-prog-name=g++`
11315 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11316 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11318 $as_echo_n "checking for $ac_word... " >&6; }
11319 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11320 $as_echo_n "(cached) " >&6
11322 case $orig_target_cxx in
11324 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11328 for as_dir
in `dirname $aros_gcc_g++`
11331 test -z "$as_dir" && as_dir
=.
11332 for ac_exec_ext
in '' $ac_executable_extensions; do
11333 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11334 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11345 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11346 if test -n "$orig_target_cxx"; then
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11348 $as_echo "$orig_target_cxx" >&6; }
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11351 $as_echo "no" >&6; }
11356 if test "$orig_target_cxx" = ""; then
11357 # Extract the first word of "g++", so it can be a program name with args.
11358 set dummy g
++; ac_word
=$2
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11360 $as_echo_n "checking for $ac_word... " >&6; }
11361 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11362 $as_echo_n "(cached) " >&6
11364 case $orig_target_cxx in
11366 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11370 for as_dir
in $PATH
11373 test -z "$as_dir" && as_dir
=.
11374 for ac_exec_ext
in '' $ac_executable_extensions; do
11375 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11376 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11387 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11388 if test -n "$orig_target_cxx"; then
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11390 $as_echo "$orig_target_cxx" >&6; }
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11393 $as_echo "no" >&6; }
11400 # Extract the first word of "${aros_tool_prefix}g++${target_tool_version}", so it can be a program name with args.
11401 set dummy
${aros_tool_prefix}g
++${target_tool_version}; ac_word
=$2
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11403 $as_echo_n "checking for $ac_word... " >&6; }
11404 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11405 $as_echo_n "(cached) " >&6
11407 case $orig_target_cxx in
11409 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11413 for as_dir
in $PATH
11416 test -z "$as_dir" && as_dir
=.
11417 for ac_exec_ext
in '' $ac_executable_extensions; do
11418 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11419 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11430 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11431 if test -n "$orig_target_cxx"; then
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11433 $as_echo "$orig_target_cxx" >&6; }
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11436 $as_echo "no" >&6; }
11442 if test "$orig_target_cxx" = ""; then
11443 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11446 if test "${aros_tool_prefix}ld" = ""; then
11447 if test "$cross_compiling" = "yes" ; then
11448 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11449 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11451 $as_echo_n "checking for $ac_word... " >&6; }
11452 if ${ac_cv_path_orig_target_ld+:} false
; then :
11453 $as_echo_n "(cached) " >&6
11455 case $orig_target_ld in
11457 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11461 for as_dir
in $PATH
11464 test -z "$as_dir" && as_dir
=.
11465 for ac_exec_ext
in '' $ac_executable_extensions; do
11466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11467 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11478 orig_target_ld
=$ac_cv_path_orig_target_ld
11479 if test -n "$orig_target_ld"; then
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11481 $as_echo "$orig_target_ld" >&6; }
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11484 $as_echo "no" >&6; }
11489 if test "$GCC" = "yes"; then
11490 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11491 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11492 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11494 $as_echo_n "checking for $ac_word... " >&6; }
11495 if ${ac_cv_path_orig_target_ld+:} false
; then :
11496 $as_echo_n "(cached) " >&6
11498 case $orig_target_ld in
11500 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11504 for as_dir
in `dirname $aros_gcc_gcc`
11507 test -z "$as_dir" && as_dir
=.
11508 for ac_exec_ext
in '' $ac_executable_extensions; do
11509 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11510 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11521 orig_target_ld
=$ac_cv_path_orig_target_ld
11522 if test -n "$orig_target_ld"; then
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11524 $as_echo "$orig_target_ld" >&6; }
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11527 $as_echo "no" >&6; }
11532 if test "$orig_target_ld" = ""; then
11533 # Extract the first word of "gcc", so it can be a program name with args.
11534 set dummy gcc
; ac_word
=$2
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11536 $as_echo_n "checking for $ac_word... " >&6; }
11537 if ${ac_cv_path_orig_target_ld+:} false
; then :
11538 $as_echo_n "(cached) " >&6
11540 case $orig_target_ld in
11542 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11546 for as_dir
in $PATH
11549 test -z "$as_dir" && as_dir
=.
11550 for ac_exec_ext
in '' $ac_executable_extensions; do
11551 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11552 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11563 orig_target_ld
=$ac_cv_path_orig_target_ld
11564 if test -n "$orig_target_ld"; then
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11566 $as_echo "$orig_target_ld" >&6; }
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11569 $as_echo "no" >&6; }
11576 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11577 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11579 $as_echo_n "checking for $ac_word... " >&6; }
11580 if ${ac_cv_path_orig_target_ld+:} false
; then :
11581 $as_echo_n "(cached) " >&6
11583 case $orig_target_ld in
11585 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11589 for as_dir
in $PATH
11592 test -z "$as_dir" && as_dir
=.
11593 for ac_exec_ext
in '' $ac_executable_extensions; do
11594 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11595 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11606 orig_target_ld
=$ac_cv_path_orig_target_ld
11607 if test -n "$orig_target_ld"; then
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11609 $as_echo "$orig_target_ld" >&6; }
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11612 $as_echo "no" >&6; }
11618 if test "$orig_target_ld" = ""; then
11619 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11622 if test "${aros_tool_prefix}as" = ""; then
11623 if test "$cross_compiling" = "yes" ; then
11624 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11625 set dummy
${target_tool_prefix}as
; ac_word
=$2
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11627 $as_echo_n "checking for $ac_word... " >&6; }
11628 if ${ac_cv_path_orig_target_as+:} false
; then :
11629 $as_echo_n "(cached) " >&6
11631 case $orig_target_as in
11633 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11637 for as_dir
in $PATH
11640 test -z "$as_dir" && as_dir
=.
11641 for ac_exec_ext
in '' $ac_executable_extensions; do
11642 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11643 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11654 orig_target_as
=$ac_cv_path_orig_target_as
11655 if test -n "$orig_target_as"; then
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11657 $as_echo "$orig_target_as" >&6; }
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11660 $as_echo "no" >&6; }
11665 if test "$GCC" = "yes"; then
11666 aros_gcc_as
=`$CC -print-prog-name=as`
11667 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11668 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11670 $as_echo_n "checking for $ac_word... " >&6; }
11671 if ${ac_cv_path_orig_target_as+:} false
; then :
11672 $as_echo_n "(cached) " >&6
11674 case $orig_target_as in
11676 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11680 for as_dir
in `dirname $aros_gcc_as`
11683 test -z "$as_dir" && as_dir
=.
11684 for ac_exec_ext
in '' $ac_executable_extensions; do
11685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11686 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11697 orig_target_as
=$ac_cv_path_orig_target_as
11698 if test -n "$orig_target_as"; then
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11700 $as_echo "$orig_target_as" >&6; }
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11703 $as_echo "no" >&6; }
11708 if test "$orig_target_as" = ""; then
11709 # Extract the first word of "as", so it can be a program name with args.
11710 set dummy as
; ac_word
=$2
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11712 $as_echo_n "checking for $ac_word... " >&6; }
11713 if ${ac_cv_path_orig_target_as+:} false
; then :
11714 $as_echo_n "(cached) " >&6
11716 case $orig_target_as in
11718 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11722 for as_dir
in $PATH
11725 test -z "$as_dir" && as_dir
=.
11726 for ac_exec_ext
in '' $ac_executable_extensions; do
11727 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11728 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11739 orig_target_as
=$ac_cv_path_orig_target_as
11740 if test -n "$orig_target_as"; then
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11742 $as_echo "$orig_target_as" >&6; }
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11745 $as_echo "no" >&6; }
11752 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11753 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11755 $as_echo_n "checking for $ac_word... " >&6; }
11756 if ${ac_cv_path_orig_target_as+:} false
; then :
11757 $as_echo_n "(cached) " >&6
11759 case $orig_target_as in
11761 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11765 for as_dir
in $PATH
11768 test -z "$as_dir" && as_dir
=.
11769 for ac_exec_ext
in '' $ac_executable_extensions; do
11770 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11771 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11782 orig_target_as
=$ac_cv_path_orig_target_as
11783 if test -n "$orig_target_as"; then
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11785 $as_echo "$orig_target_as" >&6; }
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11788 $as_echo "no" >&6; }
11794 if test "$orig_target_as" = ""; then
11795 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11798 if test "${aros_tool_prefix}ar" = ""; then
11799 if test "$cross_compiling" = "yes" ; then
11800 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11801 set dummy
${target_tool_prefix}ar; ac_word
=$2
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11803 $as_echo_n "checking for $ac_word... " >&6; }
11804 if ${ac_cv_path_orig_target_ar+:} false
; then :
11805 $as_echo_n "(cached) " >&6
11807 case $orig_target_ar in
11809 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11813 for as_dir
in $PATH
11816 test -z "$as_dir" && as_dir
=.
11817 for ac_exec_ext
in '' $ac_executable_extensions; do
11818 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11819 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11830 orig_target_ar
=$ac_cv_path_orig_target_ar
11831 if test -n "$orig_target_ar"; then
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11833 $as_echo "$orig_target_ar" >&6; }
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11836 $as_echo "no" >&6; }
11841 if test "$GCC" = "yes"; then
11842 aros_gcc_ar
=`$CC -print-prog-name=ar`
11843 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11844 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11846 $as_echo_n "checking for $ac_word... " >&6; }
11847 if ${ac_cv_path_orig_target_ar+:} false
; then :
11848 $as_echo_n "(cached) " >&6
11850 case $orig_target_ar in
11852 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11856 for as_dir
in `dirname $aros_gcc_ar`
11859 test -z "$as_dir" && as_dir
=.
11860 for ac_exec_ext
in '' $ac_executable_extensions; do
11861 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11862 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11873 orig_target_ar
=$ac_cv_path_orig_target_ar
11874 if test -n "$orig_target_ar"; then
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11876 $as_echo "$orig_target_ar" >&6; }
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11879 $as_echo "no" >&6; }
11884 if test "$orig_target_ar" = ""; then
11885 # Extract the first word of "ar", so it can be a program name with args.
11886 set dummy
ar; ac_word
=$2
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11888 $as_echo_n "checking for $ac_word... " >&6; }
11889 if ${ac_cv_path_orig_target_ar+:} false
; then :
11890 $as_echo_n "(cached) " >&6
11892 case $orig_target_ar in
11894 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11898 for as_dir
in $PATH
11901 test -z "$as_dir" && as_dir
=.
11902 for ac_exec_ext
in '' $ac_executable_extensions; do
11903 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11904 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11915 orig_target_ar
=$ac_cv_path_orig_target_ar
11916 if test -n "$orig_target_ar"; then
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11918 $as_echo "$orig_target_ar" >&6; }
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11921 $as_echo "no" >&6; }
11928 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11929 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11931 $as_echo_n "checking for $ac_word... " >&6; }
11932 if ${ac_cv_path_orig_target_ar+:} false
; then :
11933 $as_echo_n "(cached) " >&6
11935 case $orig_target_ar in
11937 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11941 for as_dir
in $PATH
11944 test -z "$as_dir" && as_dir
=.
11945 for ac_exec_ext
in '' $ac_executable_extensions; do
11946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11947 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11958 orig_target_ar
=$ac_cv_path_orig_target_ar
11959 if test -n "$orig_target_ar"; then
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11961 $as_echo "$orig_target_ar" >&6; }
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11964 $as_echo "no" >&6; }
11970 if test "$orig_target_ar" = ""; then
11971 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11974 if test "${aros_tool_prefix}ranlib" = ""; then
11975 if test "$cross_compiling" = "yes" ; then
11976 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11977 set dummy
${target_tool_prefix}ar; ac_word
=$2
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11979 $as_echo_n "checking for $ac_word... " >&6; }
11980 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11981 $as_echo_n "(cached) " >&6
11983 case $orig_target_ranlib in
11985 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11989 for as_dir
in $PATH
11992 test -z "$as_dir" && as_dir
=.
11993 for ac_exec_ext
in '' $ac_executable_extensions; do
11994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11995 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12006 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12007 if test -n "$orig_target_ranlib"; then
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12009 $as_echo "$orig_target_ranlib" >&6; }
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12012 $as_echo "no" >&6; }
12017 if test "$GCC" = "yes"; then
12018 aros_gcc_ar
=`$CC -print-prog-name=ar`
12019 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12020 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12022 $as_echo_n "checking for $ac_word... " >&6; }
12023 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12024 $as_echo_n "(cached) " >&6
12026 case $orig_target_ranlib in
12028 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12032 for as_dir
in `dirname $aros_gcc_ar`
12035 test -z "$as_dir" && as_dir
=.
12036 for ac_exec_ext
in '' $ac_executable_extensions; do
12037 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12038 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12049 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12050 if test -n "$orig_target_ranlib"; then
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12052 $as_echo "$orig_target_ranlib" >&6; }
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12055 $as_echo "no" >&6; }
12060 if test "$orig_target_ranlib" = ""; then
12061 # Extract the first word of "ar", so it can be a program name with args.
12062 set dummy
ar; ac_word
=$2
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12064 $as_echo_n "checking for $ac_word... " >&6; }
12065 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12066 $as_echo_n "(cached) " >&6
12068 case $orig_target_ranlib in
12070 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12074 for as_dir
in $PATH
12077 test -z "$as_dir" && as_dir
=.
12078 for ac_exec_ext
in '' $ac_executable_extensions; do
12079 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12080 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12091 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12092 if test -n "$orig_target_ranlib"; then
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12094 $as_echo "$orig_target_ranlib" >&6; }
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12097 $as_echo "no" >&6; }
12104 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
12105 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12107 $as_echo_n "checking for $ac_word... " >&6; }
12108 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12109 $as_echo_n "(cached) " >&6
12111 case $orig_target_ranlib in
12113 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12117 for as_dir
in $PATH
12120 test -z "$as_dir" && as_dir
=.
12121 for ac_exec_ext
in '' $ac_executable_extensions; do
12122 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12123 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12134 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12135 if test -n "$orig_target_ranlib"; then
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12137 $as_echo "$orig_target_ranlib" >&6; }
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12140 $as_echo "no" >&6; }
12146 if test "$orig_target_ranlib" = ""; then
12147 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12150 if test "${aros_tool_prefix}nm" = ""; then
12151 if test "$cross_compiling" = "yes" ; then
12152 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12153 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12155 $as_echo_n "checking for $ac_word... " >&6; }
12156 if ${ac_cv_path_orig_target_nm+:} false
; then :
12157 $as_echo_n "(cached) " >&6
12159 case $orig_target_nm in
12161 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12165 for as_dir
in $PATH
12168 test -z "$as_dir" && as_dir
=.
12169 for ac_exec_ext
in '' $ac_executable_extensions; do
12170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12171 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12182 orig_target_nm
=$ac_cv_path_orig_target_nm
12183 if test -n "$orig_target_nm"; then
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12185 $as_echo "$orig_target_nm" >&6; }
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12188 $as_echo "no" >&6; }
12193 if test "$GCC" = "yes"; then
12194 aros_gcc_nm
=`$CC -print-prog-name=nm`
12195 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12196 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12198 $as_echo_n "checking for $ac_word... " >&6; }
12199 if ${ac_cv_path_orig_target_nm+:} false
; then :
12200 $as_echo_n "(cached) " >&6
12202 case $orig_target_nm in
12204 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12208 for as_dir
in `dirname $aros_gcc_nm`
12211 test -z "$as_dir" && as_dir
=.
12212 for ac_exec_ext
in '' $ac_executable_extensions; do
12213 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12214 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12225 orig_target_nm
=$ac_cv_path_orig_target_nm
12226 if test -n "$orig_target_nm"; then
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12228 $as_echo "$orig_target_nm" >&6; }
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12231 $as_echo "no" >&6; }
12236 if test "$orig_target_nm" = ""; then
12237 # Extract the first word of "nm", so it can be a program name with args.
12238 set dummy nm
; ac_word
=$2
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12240 $as_echo_n "checking for $ac_word... " >&6; }
12241 if ${ac_cv_path_orig_target_nm+:} false
; then :
12242 $as_echo_n "(cached) " >&6
12244 case $orig_target_nm in
12246 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12250 for as_dir
in $PATH
12253 test -z "$as_dir" && as_dir
=.
12254 for ac_exec_ext
in '' $ac_executable_extensions; do
12255 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12256 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12267 orig_target_nm
=$ac_cv_path_orig_target_nm
12268 if test -n "$orig_target_nm"; then
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12270 $as_echo "$orig_target_nm" >&6; }
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12273 $as_echo "no" >&6; }
12280 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12281 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12283 $as_echo_n "checking for $ac_word... " >&6; }
12284 if ${ac_cv_path_orig_target_nm+:} false
; then :
12285 $as_echo_n "(cached) " >&6
12287 case $orig_target_nm in
12289 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12293 for as_dir
in $PATH
12296 test -z "$as_dir" && as_dir
=.
12297 for ac_exec_ext
in '' $ac_executable_extensions; do
12298 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12299 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12310 orig_target_nm
=$ac_cv_path_orig_target_nm
12311 if test -n "$orig_target_nm"; then
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12313 $as_echo "$orig_target_nm" >&6; }
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12316 $as_echo "no" >&6; }
12322 if test "$orig_target_nm" = ""; then
12323 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12326 if test "${aros_tool_prefix}strip" = ""; then
12327 if test "$cross_compiling" = "yes" ; then
12328 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12329 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12331 $as_echo_n "checking for $ac_word... " >&6; }
12332 if ${ac_cv_path_orig_target_strip+:} false
; then :
12333 $as_echo_n "(cached) " >&6
12335 case $orig_target_strip in
12337 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12341 for as_dir
in $PATH
12344 test -z "$as_dir" && as_dir
=.
12345 for ac_exec_ext
in '' $ac_executable_extensions; do
12346 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12347 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12358 orig_target_strip
=$ac_cv_path_orig_target_strip
12359 if test -n "$orig_target_strip"; then
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12361 $as_echo "$orig_target_strip" >&6; }
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12364 $as_echo "no" >&6; }
12369 if test "$GCC" = "yes"; then
12370 aros_gcc_strip
=`$CC -print-prog-name=strip`
12371 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12372 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12374 $as_echo_n "checking for $ac_word... " >&6; }
12375 if ${ac_cv_path_orig_target_strip+:} false
; then :
12376 $as_echo_n "(cached) " >&6
12378 case $orig_target_strip in
12380 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12384 for as_dir
in `dirname $aros_gcc_strip`
12387 test -z "$as_dir" && as_dir
=.
12388 for ac_exec_ext
in '' $ac_executable_extensions; do
12389 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12390 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12401 orig_target_strip
=$ac_cv_path_orig_target_strip
12402 if test -n "$orig_target_strip"; then
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12404 $as_echo "$orig_target_strip" >&6; }
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12407 $as_echo "no" >&6; }
12412 if test "$orig_target_strip" = ""; then
12413 # Extract the first word of "strip", so it can be a program name with args.
12414 set dummy strip
; ac_word
=$2
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12416 $as_echo_n "checking for $ac_word... " >&6; }
12417 if ${ac_cv_path_orig_target_strip+:} false
; then :
12418 $as_echo_n "(cached) " >&6
12420 case $orig_target_strip in
12422 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12426 for as_dir
in $PATH
12429 test -z "$as_dir" && as_dir
=.
12430 for ac_exec_ext
in '' $ac_executable_extensions; do
12431 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12432 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12443 orig_target_strip
=$ac_cv_path_orig_target_strip
12444 if test -n "$orig_target_strip"; then
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12446 $as_echo "$orig_target_strip" >&6; }
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12449 $as_echo "no" >&6; }
12456 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12457 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12459 $as_echo_n "checking for $ac_word... " >&6; }
12460 if ${ac_cv_path_orig_target_strip+:} false
; then :
12461 $as_echo_n "(cached) " >&6
12463 case $orig_target_strip in
12465 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12469 for as_dir
in $PATH
12472 test -z "$as_dir" && as_dir
=.
12473 for ac_exec_ext
in '' $ac_executable_extensions; do
12474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12475 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12486 orig_target_strip
=$ac_cv_path_orig_target_strip
12487 if test -n "$orig_target_strip"; then
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12489 $as_echo "$orig_target_strip" >&6; }
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12492 $as_echo "no" >&6; }
12498 if test "$orig_target_strip" = ""; then
12499 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12502 if test "${aros_tool_prefix}objcopy" = ""; then
12503 if test "$cross_compiling" = "yes" ; then
12504 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12505 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12507 $as_echo_n "checking for $ac_word... " >&6; }
12508 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12509 $as_echo_n "(cached) " >&6
12511 case $orig_target_objcopy in
12513 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12517 for as_dir
in $PATH
12520 test -z "$as_dir" && as_dir
=.
12521 for ac_exec_ext
in '' $ac_executable_extensions; do
12522 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12523 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12534 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12535 if test -n "$orig_target_objcopy"; then
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12537 $as_echo "$orig_target_objcopy" >&6; }
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12540 $as_echo "no" >&6; }
12545 if test "$GCC" = "yes"; then
12546 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12547 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12548 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12550 $as_echo_n "checking for $ac_word... " >&6; }
12551 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12552 $as_echo_n "(cached) " >&6
12554 case $orig_target_objcopy in
12556 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12560 for as_dir
in `dirname $aros_gcc_objcopy`
12563 test -z "$as_dir" && as_dir
=.
12564 for ac_exec_ext
in '' $ac_executable_extensions; do
12565 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12566 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12577 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12578 if test -n "$orig_target_objcopy"; then
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12580 $as_echo "$orig_target_objcopy" >&6; }
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12583 $as_echo "no" >&6; }
12588 if test "$orig_target_objcopy" = ""; then
12589 # Extract the first word of "objcopy", so it can be a program name with args.
12590 set dummy objcopy
; ac_word
=$2
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12592 $as_echo_n "checking for $ac_word... " >&6; }
12593 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12594 $as_echo_n "(cached) " >&6
12596 case $orig_target_objcopy in
12598 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12602 for as_dir
in $PATH
12605 test -z "$as_dir" && as_dir
=.
12606 for ac_exec_ext
in '' $ac_executable_extensions; do
12607 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12608 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12619 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12620 if test -n "$orig_target_objcopy"; then
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12622 $as_echo "$orig_target_objcopy" >&6; }
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12625 $as_echo "no" >&6; }
12632 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12633 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12635 $as_echo_n "checking for $ac_word... " >&6; }
12636 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12637 $as_echo_n "(cached) " >&6
12639 case $orig_target_objcopy in
12641 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12645 for as_dir
in $PATH
12648 test -z "$as_dir" && as_dir
=.
12649 for ac_exec_ext
in '' $ac_executable_extensions; do
12650 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12651 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12662 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12663 if test -n "$orig_target_objcopy"; then
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12665 $as_echo "$orig_target_objcopy" >&6; }
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12668 $as_echo "no" >&6; }
12674 if test "$orig_target_objcopy" = ""; then
12675 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12678 if test "${aros_tool_prefix}objdump" = ""; then
12679 if test "$cross_compiling" = "yes" ; then
12680 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12681 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12683 $as_echo_n "checking for $ac_word... " >&6; }
12684 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12685 $as_echo_n "(cached) " >&6
12687 case $orig_target_objdump in
12689 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12693 for as_dir
in $PATH
12696 test -z "$as_dir" && as_dir
=.
12697 for ac_exec_ext
in '' $ac_executable_extensions; do
12698 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12699 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12710 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12711 if test -n "$orig_target_objdump"; then
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12713 $as_echo "$orig_target_objdump" >&6; }
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12716 $as_echo "no" >&6; }
12721 if test "$GCC" = "yes"; then
12722 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12723 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12724 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12726 $as_echo_n "checking for $ac_word... " >&6; }
12727 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12728 $as_echo_n "(cached) " >&6
12730 case $orig_target_objdump in
12732 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12736 for as_dir
in `dirname $aros_gcc_objdump`
12739 test -z "$as_dir" && as_dir
=.
12740 for ac_exec_ext
in '' $ac_executable_extensions; do
12741 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12742 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12753 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12754 if test -n "$orig_target_objdump"; then
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12756 $as_echo "$orig_target_objdump" >&6; }
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12759 $as_echo "no" >&6; }
12764 if test "$orig_target_objdump" = ""; then
12765 # Extract the first word of "objdump", so it can be a program name with args.
12766 set dummy objdump
; ac_word
=$2
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12768 $as_echo_n "checking for $ac_word... " >&6; }
12769 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12770 $as_echo_n "(cached) " >&6
12772 case $orig_target_objdump in
12774 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12778 for as_dir
in $PATH
12781 test -z "$as_dir" && as_dir
=.
12782 for ac_exec_ext
in '' $ac_executable_extensions; do
12783 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12784 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12795 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12796 if test -n "$orig_target_objdump"; then
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12798 $as_echo "$orig_target_objdump" >&6; }
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12801 $as_echo "no" >&6; }
12808 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12809 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12811 $as_echo_n "checking for $ac_word... " >&6; }
12812 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12813 $as_echo_n "(cached) " >&6
12815 case $orig_target_objdump in
12817 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12821 for as_dir
in $PATH
12824 test -z "$as_dir" && as_dir
=.
12825 for ac_exec_ext
in '' $ac_executable_extensions; do
12826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12827 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12838 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12839 if test -n "$orig_target_objdump"; then
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12841 $as_echo "$orig_target_objdump" >&6; }
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12844 $as_echo "no" >&6; }
12850 if test "$orig_target_objdump" = ""; then
12851 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12855 if test "$kernel_tool_prefix" = "none" ; then
12856 # No kernel tools specified
12857 # Assume target tools == kernel tools with ELF wrapper
12858 aros_kernel_cc
=$orig_target_cc
12859 aros_kernel_cxx
=$orig_target_cxx
12860 aros_kernel_cpp
=$orig_target_cpp
12861 aros_kernel_ld
=$orig_target_ld
12862 aros_kernel_as
=$orig_target_as
12863 aros_kernel_ar
=$orig_target_ar
12864 aros_kernel_ranlib
=$orig_target_ranlib
12865 aros_kernel_nm
=$orig_target_nm
12866 aros_kernel_strip
=$orig_target_strip
12867 aros_kernel_objcopy
=$orig_target_objcopy
12868 aros_kernel_objdump
=$orig_target_objdump
12869 use_kernel_cc_wrapper
=yes
12872 # At this point, all aros_kernel_* and aros_target_*
12873 # tools should be set up correctly
12875 CC
="$aros_kernel_cc $kernel_tool_flags"
12876 CPP
="$aros_kernel_cpp"
12878 #-----------------------------------------------------------------------------
12880 # Disable pointer-signedness warnings if the compiler recognises the option
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12883 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12884 save_cflags
="$CFLAGS"
12885 if test "$crosstools" != "yes" ; then
12886 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12888 /* end confdefs.h. */
12898 if ac_fn_c_try_compile
"$LINENO"; then :
12899 use_no_sign_warning
="yes"
12901 use_no_sign_warning
="no"
12903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12905 # we do know it is supported for the smallest version of gcc we are going to build
12906 # we assume it's also supported by later versions
12907 use_no_sign_warning
=yes
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12910 $as_echo "$use_no_sign_warning" >&6; }
12911 if test "x-$use_no_sign_warning" = "x-yes" ; then
12912 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12914 CFLAGS
="$save_cflags"
12916 #-----------------------------------------------------------------------------
12918 # Find all the tools we need to compile. This could be cross-compiling
12919 # though! If that is the case we use the GNU form of the target and
12920 # simply add this to the front of the binary name. This is rather simple,
12921 # but it should work under most circumstances.
12923 # The default tools are to use the same as the host, but only if the
12924 # host and target CPU are the same. With GCC this is normally enough.
12928 aros_shared_ld
="$aros_host_ld"
12930 aros_target_mkdep
="$aros_host_mkdep"
12932 # The default tools executables to be linked to.
12933 if test "$rescomp" != ""; then
12934 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12935 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12937 $as_echo_n "checking for $ac_word... " >&6; }
12938 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12939 $as_echo_n "(cached) " >&6
12941 case $aros_kernel_rescomp in
12943 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12947 for as_dir
in $PATH
12950 test -z "$as_dir" && as_dir
=.
12951 for ac_exec_ext
in '' $ac_executable_extensions; do
12952 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12953 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12964 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12965 if test -n "$aros_kernel_rescomp"; then
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12967 $as_echo "$aros_kernel_rescomp" >&6; }
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12970 $as_echo "no" >&6; }
12974 if test "$aros_kernel_rescomp" = ""; then
12975 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12979 # Set up the sources for the symlink farm
12980 if test "$crosstools" = "yes"; then
12981 crosstools_target
=tools-crosstools
12984 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12985 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12988 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12989 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12990 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12991 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12992 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12993 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12994 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12996 # aros_cc_pre is a variable that is added to the front of the compiler name
12997 # in the generated aros-gcc shell script. We need this to enable the cache
12998 # to work across cleaned builds. Also, support DISTCC using the correct
12999 # environment variable.
13002 if test "x${DISTCC}" != "x" ; then
13003 if test "x${CCACHE}" != "x" ; then
13004 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
13006 aros_cc_pre
="${DISTCC} "
13009 if test "x${CCACHE}" != "x" ; then
13010 aros_cc_pre
="${CCACHE} "
13014 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
13016 aros_target_nostdinc_cflags
=-nostdinc
13018 aros_target_nostartup_ldflags
=-nostartfiles
13020 aros_target_nix_ldflags
=-nix
13022 aros_target_detach_ldflags
=-detach
13024 aros_target_nostdlib_ldflags
=-nostdlib
13028 if test "$crosstools" != "yes"; then
13029 if test "$GCC" = "yes"; then
13030 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
13033 # We do not know which gcc version we are going to build and what we need to know
13034 # here is different for different versions so this will be set later during the
13035 # build of crosstools.
13036 aros_target_cc_path
=@aros_target_cc_path@
13038 aros_target_cpp
="${prefix}cpp"
13039 aros_target_cc
="${prefix}gcc"
13040 aros_target_cxx
="${prefix}g++"
13041 aros_target_as
="${prefix}as"
13042 aros_target_ld
="${prefix}ld"
13043 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
13044 aros_target_objcopy
="${prefix}objcopy"
13045 aros_target_objdump
="${prefix}objdump"
13046 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
13047 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
13048 aros_target_strip
="${prefix}strip"
13049 aros_plain_nm
="${prefix}nm"
13050 aros_plain_ar
="${prefix}ar"
13052 # Check whether --enable-includes was given.
13053 if test "${enable_includes+set}" = set; then :
13054 enableval
=$enable_includes; aros_target_incl
=$enable_includes
13056 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
13060 if test "$aros_kernel_includes" = ""; then
13061 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13062 aros_kernel_includes
="-isystem $aros_target_incl"
13066 if test "$aros_kernel_includes" != "" ; then
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
13068 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
13069 if test "$aros_kernel_cc_includes" = "" ; then
13070 # Try to guess where the directory is.
13071 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
13072 if test -d $aros_kernel_cc_includes; then
13073 # Check if there is also an include-fixed directory and add it
13074 # to kernel compiler's include path as it may contain some of
13075 # the headers we need.
13076 if test -d "$aros_kernel_cc_includes"-fixed; then
13077 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
13079 # Check for specific includes directory. Neede for Ubuntu 11.10
13080 if test -d "/usr/include/i386-linux-gnu"; then
13081 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
13084 # The directory doesn't exist, we need to do some more work.
13085 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
13087 # These are the headers we're looking for.
13088 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13089 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13093 for h
in $headers; do
13094 # Which other headers are needed by each of the above?
13095 deps
=$
(echo "#include <$h>" | \
13096 $aros_kernel_cc -E -M - 2>/dev
/null | \
13097 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13099 # Copy all the needed headers to a directory beneath gendir.
13102 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13103 sed -n "s,^.*/include\(/.*\),\1,p")
13104 ! test -d $dir && mkdir
-p $dir
13105 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13111 $as_echo "$aros_kernel_cc_includes" >&6; }
13112 # Adding -nostdinc to kernel includes as they are always used together.
13113 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13116 if test "$crosstools" != "yes"; then
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13118 $as_echo_n "checking for the target compiler's include path... " >&6; }
13119 if test "$aros_target_cc_includes" = "" ; then
13120 #try to guess where the directory is
13121 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13122 if ! test -d $aros_target_cc_includes; then
13123 #the directory doesn't exist, we need to do some more work
13124 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13126 #these are the headers we're looking for
13127 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13128 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13132 for h
in $headers; do
13133 #which other headers each of the above headers needs?
13134 deps
=$
(echo "#include <$h>" | \
13135 $orig_target_cc -E -M - 2>/dev
/null | \
13136 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13138 #copy all the needed headers to a directory beneath gendir
13141 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13142 sed -n "s,^.*/include\(/.*\),\1,p")
13143 ! test -d $dir && mkdir
-p $dir
13144 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13150 $as_echo "$aros_target_cc_includes" >&6; }
13152 # We do not know which gcc version we are going to build and what we need to know
13153 # here is different for different versions so this will be set later during the
13154 # build of crosstools.
13155 aros_target_cc_includes
=@aros_target_cc_includes@
13159 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13160 # On GCC >= 4.0 -iquote should be used
13164 save_cflags
="$CFLAGS"
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13167 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13168 if test "x-$crosstools" != "x-yes"; then
13169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13170 /* end confdefs.h. */
13180 if ac_fn_c_try_compile
"$LINENO"; then :
13185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13187 # we do know it is supported for the smallest version of gcc we are going to build
13188 # we assume it's also supported by later versions
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13192 $as_echo "$has_iquote" >&6; }
13193 if test "x-$has_iquote" = "x-yes" ; then
13194 host_cflags_iquote
=-iquote
13195 host_cflags_iquote_end
=
13197 host_cflags_iquote
=-I
13198 host_cflags_iquote_end
=-I-
13200 kernel_cflags_iquote
=$host_cflags_iquote
13201 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13202 if test "x-$cross_compiling" = "x-yes"; then
13203 CC
="$aros_kernel_cc"
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13205 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13206 if test "x-$crosstools" != "x-yes"; then
13207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13208 /* end confdefs.h. */
13218 if ac_fn_c_try_compile
"$LINENO"; then :
13219 use_no_stack_protector
="yes"
13221 use_no_stack_protector
="no"
13223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13225 # we do know it is supported for the smallest version of gcc we are going to build
13226 # we assume it's also supported by later versions
13227 use_no_stack_protector
=yes
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13230 $as_echo "$use_no_stack_protector" >&6; }
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13232 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13233 if test "x-$crosstools" != "x-yes"; then
13234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13235 /* end confdefs.h. */
13245 if ac_fn_c_try_compile
"$LINENO"; then :
13250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13252 # we do know it is supported for the smallest version of gcc we are going to build
13253 # we assume it's also supported by later versions
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13257 $as_echo "$has_iquote" >&6; }
13258 if test "x-$has_iquote" = "x-yes" ; then
13259 kernel_cflags_iquote
=-iquote
13260 kernel_cflags_iquote_end
=
13262 kernel_cflags_iquote
=-I
13263 kernel_cflags_iquote_end
=-I-
13266 aros_cflags_iquote
=$kernel_cflags_iquote
13267 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13268 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13269 CC
="$orig_target_cc"
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13271 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13272 if test "x-$crosstools" != "x-yes"; then
13273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13284 if ac_fn_c_try_compile
"$LINENO"; then :
13289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13291 # we do know it is supported for the smallest version of gcc we are going to build
13292 # we assume it's also supported by later versions
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13296 $as_echo "$has_iquote" >&6; }
13297 if test "x-$has_iquote" = "x-yes" ; then
13298 aros_cflags_iquote
=-iquote
13299 aros_cflags_iquote_end
=
13301 aros_cflags_iquote
=-I
13302 aros_cflags_iquote_end
=-I-
13305 if test "x-$use_no_stack_protector" = "x-yes" ; then
13306 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13310 #-----------------------------------------------------------------------------
13312 # Check if the target compiler supports some options used for delinting:
13313 # -Wunused-but-set-variable
13316 # -Wstrict-overflow
13317 # -Wformat-security
13319 if test "x-$crosstools" != "x-yes"; then
13320 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13321 CC
="$orig_target_cc"
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13324 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13325 CFLAGS
=-Wunused-but-set-variable
13326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13337 if ac_fn_c_try_compile
"$LINENO"; then :
13338 aros_unused_but_set_variable
="yes"
13340 aros_unused_but_set_variable
="no"
13342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13344 $as_echo "$aros_unused_but_set_variable" >&6; }
13345 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13346 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13350 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13351 CFLAGS
=-Warray-bounds
13352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13353 /* end confdefs.h. */
13363 if ac_fn_c_try_compile
"$LINENO"; then :
13364 aros_array_bounds
="yes"
13366 aros_array_bounds
="no"
13368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13370 $as_echo "$aros_array_bounds" >&6; }
13371 if test "x-$aros_array_bounds" = "x-yes" ; then
13372 aros_cflags_array_bounds
=-Wno-array-bounds
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13376 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13377 CFLAGS
=-Wenum-compare
13378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13379 /* end confdefs.h. */
13389 if ac_fn_c_try_compile
"$LINENO"; then :
13390 aros_enum_compare
="yes"
13392 aros_enum_compare
="no"
13394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13396 $as_echo "$aros_enum_compare" >&6; }
13397 if test "x-$aros_enum_compare" = "x-yes" ; then
13398 aros_cflags_enum_compare
=-Wno-enum-compare
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13402 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13403 CFLAGS
=-Wstrict-overflow
13404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13405 /* end confdefs.h. */
13415 if ac_fn_c_try_compile
"$LINENO"; then :
13416 aros_strict_overflow
="yes"
13418 aros_strict_overflow
="no"
13420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13422 $as_echo "$aros_strict_overflow" >&6; }
13423 if test "x-$aros_strict_overflow" = "x-yes" ; then
13424 aros_cflags_strict_overflow
=-Wno-strict-overflow
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13428 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13429 CFLAGS
=-Wformat-security
13430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13431 /* end confdefs.h. */
13441 if ac_fn_c_try_compile
"$LINENO"; then :
13442 aros_format_security
="yes"
13444 aros_format_security
="no"
13446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13448 $as_echo "$aros_format_security" >&6; }
13449 if test "x-$aros_format_security" = "x-yes" ; then
13450 aros_cflags_format_security
=-Wno-format-security
13453 # We do not know which gcc version we are going to build and what we need to know
13454 # here is different for different versions so this will be set later during the
13455 # build of crosstools.
13456 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13457 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13458 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13459 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13460 aros_cflags_format_security
=@aros_cflags_format_security@
13463 #-----------------------------------------------------------------------------
13465 # Check if we can explicitly choose older version of symbol hashing
13467 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13468 CC
="$aros_kernel_cc"
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13470 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13472 /* end confdefs.h. */
13482 if ac_fn_c_try_link
"$LINENO"; then :
13483 use_hash_style
="yes"
13485 use_hash_style
="no"
13487 rm -f core conftest.err conftest.
$ac_objext \
13488 conftest
$ac_exeext conftest.
$ac_ext
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13490 $as_echo "$use_hash_style" >&6; }
13491 if test "x-$use_hash_style" = "x-yes" ; then
13492 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13495 CFLAGS
="$save_cflags"
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13506 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13508 # Check whether --with-resolution was given.
13509 if test "${with_resolution+set}" = set; then :
13510 withval
=$with_resolution; resolution
=$withval
13515 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13516 if test "$resolution" = "yes" ; then
13519 if test "$resolution" = "no" ; then
13522 if test "$resolution" != "none" ; then
13523 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13524 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13525 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13528 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13529 aros_cv_default_wbwidth
=$aros_default_wbwidth
13530 aros_cv_default_wbheight
=$aros_default_wbheight
13531 aros_cv_default_wbdepth
=$aros_default_wbdepth
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13534 $as_echo_n "checking if serial debug is enabled... " >&6; }
13536 # Check whether --with-serial-debug was given.
13537 if test "${with_serial_debug+set}" = set; then :
13538 withval
=$with_serial_debug; serial_debug
=$withval
13543 if test "$aros_serial_debug" = 0 ; then
13544 serial_debug_forced
=""
13545 if test "$serial_debug" = "yes" ; then
13548 if test "$serial_debug" = "no" ; then
13549 serial_debug
="none"
13552 serial_debug_forced
="(forced)"
13553 serial_debug
=$aros_serial_debug
13555 if test "$serial_debug" != "none" ; then
13556 aros_serial_debug
=$serial_debug
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13558 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13561 $as_echo "no" >&6; }
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13565 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13566 # Check whether --enable-palm_debug_hack was given.
13567 if test "${enable_palm_debug_hack+set}" = set; then :
13568 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13570 palm_debug_hack
="no"
13573 if test "$palm_debug_hack" = "yes" ; then
13574 aros_palm_debug_hack
="1"
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13577 $as_echo "$palm_debug_hack" >&6; }
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
13580 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
13581 # Check whether --enable-usb30_code was given.
13582 if test "${enable_usb30_code+set}" = set; then :
13583 enableval
=$enable_usb30_code; usb30_code
="yes"
13588 if test "$usb30_code" = "yes" ; then
13589 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
13590 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
13593 $as_echo "$usb30_code" >&6; }
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13596 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13597 # Check whether --enable-nesting_supervisor was given.
13598 if test "${enable_nesting_supervisor+set}" = set; then :
13599 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13601 nesting_supervisor
="no"
13604 if test "$nesting_supervisor" = "yes" ; then
13605 aros_nesting_supervisor
="1"
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13608 $as_echo "$nesting_supervisor" >&6; }
13610 if test "$aros_enable_mmu" = "" ; then
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13612 $as_echo_n "checking if MMU support is enabled... " >&6; }
13613 # Check whether --enable-mmu was given.
13614 if test "${enable_mmu+set}" = set; then :
13615 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13617 aros_enable_mmu
="yes"
13620 if test "$aros_enable_mmu" = "" ; then
13621 aros_enable_mmu
="yes"
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13624 $as_echo "$aros_enable_mmu" >&6; }
13626 if test "$aros_enable_mmu" = "no" ; then
13627 aros_enable_mmu
="0"
13629 aros_enable_mmu
="1"
13633 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13635 if test "x-$need_dlopen" != "x-no" ; then
13638 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13639 if test "x$ac_cv_func_dlopen" = xyes
; then :
13645 if test "x-$have_dl" = "x-no" ; then
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13647 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13648 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13649 $as_echo_n "(cached) " >&6
13651 ac_check_lib_save_LIBS
=$LIBS
13653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13654 /* end confdefs.h. */
13656 /* Override any GCC internal prototype to avoid an error.
13657 Use char because int might match the return type of a GCC
13658 builtin and then its argument prototype would still apply. */
13671 if ac_fn_c_try_link
"$LINENO"; then :
13672 ac_cv_lib_dl_dlopen
=yes
13674 ac_cv_lib_dl_dlopen
=no
13676 rm -f core conftest.err conftest.
$ac_objext \
13677 conftest
$ac_exeext conftest.
$ac_ext
13678 LIBS
=$ac_check_lib_save_LIBS
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13681 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13682 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13684 aros_host_ldflags
="$aros_host_ldflags -ldl"
13690 if test "x-$have_dl" = "x-no" ; then
13691 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13697 # Check whether --enable-x11_hidd was given.
13698 if test "${enable_x11_hidd+set}" = set; then :
13699 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13701 x11_hidd
="$need_x11"
13704 case "x-$x11_hidd" in
13705 x-yes|x-no|x-auto
) ;;
13706 *) x11_hidd
="$need_x11" ;;
13711 if test "x-$x11_hidd" != "x-no" ; then
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13714 $as_echo_n "checking for X... " >&6; }
13717 # Check whether --with-x was given.
13718 if test "${with_x+set}" = set; then :
13722 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13723 if test "x$with_x" = xno
; then
13724 # The user explicitly disabled X.
13727 case $x_includes,$x_libraries in #(
13728 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13729 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13730 $as_echo_n "(cached) " >&6
13732 # One or both of the vars are not set, and there is no cached value.
13733 ac_x_includes
=no ac_x_libraries
=no
13734 rm -f -r conftest.dir
13735 if mkdir conftest.dir
; then
13737 cat >Imakefile
<<'_ACEOF'
13739 @echo incroot='${INCROOT}'
13741 @echo usrlibdir='${USRLIBDIR}'
13743 @echo libdir='${LIBDIR}'
13745 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13746 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13747 for ac_var
in incroot usrlibdir libdir
; do
13748 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13750 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13751 for ac_extension
in a so sl dylib la dll
; do
13752 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13753 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13754 ac_im_usrlibdir
=$ac_im_libdir; break
13757 # Screen out bogus values from the imake configuration. They are
13758 # bogus both because they are the default anyway, and because
13759 # using them would break gcc on systems where it needs fixed includes.
13760 case $ac_im_incroot in
13761 /usr
/include
) ac_x_includes
= ;;
13762 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13764 case $ac_im_usrlibdir in
13765 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13766 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13770 rm -f -r conftest.dir
13773 # Standard set of common directories for X headers.
13774 # Check X11 before X11Rn because it is often a symlink to the current release.
13788 /usr/local/X11/include
13789 /usr/local/X11R7/include
13790 /usr/local/X11R6/include
13791 /usr/local/X11R5/include
13792 /usr/local/X11R4/include
13794 /usr/local/include/X11
13795 /usr/local/include/X11R7
13796 /usr/local/include/X11R6
13797 /usr/local/include/X11R5
13798 /usr/local/include/X11R4
13802 /usr/XFree86/include/X11
13806 /usr/unsupported/include
13807 /usr/athena/include
13808 /usr/local/x11r5/include
13809 /usr/lpp/Xamples/include
13811 /usr/openwin/include
13812 /usr/openwin/share/include'
13814 if test "$ac_x_includes" = no
; then
13815 # Guess where to find include files, by looking for Xlib.h.
13816 # First, try using that file with no special directory specified.
13817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13819 #include <X11/Xlib.h>
13821 if ac_fn_c_try_cpp
"$LINENO"; then :
13822 # We can compile using X headers with no special include directory.
13825 for ac_dir
in $ac_x_header_dirs; do
13826 if test -r "$ac_dir/X11/Xlib.h"; then
13827 ac_x_includes
=$ac_dir
13832 rm -f conftest.err conftest.i conftest.
$ac_ext
13833 fi # $ac_x_includes = no
13835 if test "$ac_x_libraries" = no
; then
13836 # Check for the libraries.
13837 # See if we find them without any special options.
13838 # Don't add to $LIBS permanently.
13841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13842 /* end confdefs.h. */
13843 #include <X11/Xlib.h>
13852 if ac_fn_c_try_link
"$LINENO"; then :
13854 # We can link X programs with no special library path.
13858 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13860 # Don't even attempt the hair of trying to link an X program!
13861 for ac_extension
in a so sl dylib la dll
; do
13862 if test -r "$ac_dir/libX11.$ac_extension"; then
13863 ac_x_libraries
=$ac_dir
13869 rm -f core conftest.err conftest.
$ac_objext \
13870 conftest
$ac_exeext conftest.
$ac_ext
13871 fi # $ac_x_libraries = no
13873 case $ac_x_includes,$ac_x_libraries in #(
13874 no
,* |
*,no |
*\'*)
13875 # Didn't find X, or a directory has "'" in its name.
13876 ac_cv_have_x
="have_x=no";; #(
13878 # Record where we found X for the cache.
13879 ac_cv_have_x
="have_x=yes\
13880 ac_x_includes='$ac_x_includes'\
13881 ac_x_libraries='$ac_x_libraries'"
13887 eval "$ac_cv_have_x"
13890 if test "$have_x" != yes; then
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13892 $as_echo "$have_x" >&6; }
13895 # If each of the values was on the command line, it overrides each guess.
13896 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13897 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13898 # Update the cache value to reflect the command line values.
13899 ac_cv_have_x
="have_x=yes\
13900 ac_x_includes='$x_includes'\
13901 ac_x_libraries='$x_libraries'"
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13903 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13908 for path
in $x_libraries
13910 x_cflags
="$x_cflags -L$path"
13913 for path
in $x_includes
13915 x_cflags
="$x_cflags -I$path"
13918 if test "x-$no_x" = "x-yes" ; then
13920 if test "x-$x11_hidd" != "x-auto" ; then
13921 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13925 unixgfx_hidd_target
=kernel-x11gfx
13928 # Check whether --enable-x11_shm was given.
13929 if test "${enable_x11_shm+set}" = set; then :
13930 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13932 x11_hidd_shm
="auto"
13935 case "x-$x11_hidd_shm" in
13936 x-yes|x-no|x-auto
) ;;
13937 *) x11_hidd_shm
="auto" ;;
13942 if test "x-$x11_hidd_shm" != "x-no" ; then
13944 for ac_header
in sys
/ipc.h
13946 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13947 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13948 cat >>confdefs.h
<<_ACEOF
13949 #define HAVE_SYS_IPC_H 1
13956 for ac_header
in sys
/shm.h
13958 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13959 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13960 cat >>confdefs.h
<<_ACEOF
13961 #define HAVE_SYS_SHM_H 1
13969 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13971 save_cflags
="$CFLAGS"
13972 CFLAGS
="$CFLAGS $x_cflags"
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13974 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13975 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13976 $as_echo_n "(cached) " >&6
13978 ac_check_lib_save_LIBS
=$LIBS
13979 LIBS
="-lXext $LIBS"
13980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13981 /* end confdefs.h. */
13983 /* Override any GCC internal prototype to avoid an error.
13984 Use char because int might match the return type of a GCC
13985 builtin and then its argument prototype would still apply. */
13989 char XShmQueryExtension ();
13993 return XShmQueryExtension ();
13998 if ac_fn_c_try_link
"$LINENO"; then :
13999 ac_cv_lib_Xext_XShmQueryExtension
=yes
14001 ac_cv_lib_Xext_XShmQueryExtension
=no
14003 rm -f core conftest.err conftest.
$ac_objext \
14004 conftest
$ac_exeext conftest.
$ac_ext
14005 LIBS
=$ac_check_lib_save_LIBS
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14008 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14009 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
14013 CFLAGS
="$save_cflags"
14017 if test "x-$have_xshm" = "x-yes" ; then
14018 DO_XSHM_SUPPORT
="1"
14019 elif test "x-$x11_hidd_shm" = "x-yes" ; then
14020 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
14022 DO_XSHM_SUPPORT
="0"
14026 # Check whether --enable-x11_vidmode was given.
14027 if test "${enable_x11_vidmode+set}" = set; then :
14028 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
14030 x11_hidd_vidmode
="auto"
14033 case "x-$x11_hidd_vidmode" in
14034 x-yes|x-no|x-auto
) ;;
14035 *) x11_hidd_vidmode
="auto" ;;
14040 if test "x-$x11_hidd_vidmode" != "x-no" ; then
14042 save_cflags
="$CFLAGS"
14043 CFLAGS
="$CFLAGS $x_cflags"
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
14045 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
14046 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
14047 $as_echo_n "(cached) " >&6
14049 ac_check_lib_save_LIBS
=$LIBS
14050 LIBS
="-lXxf86vm $LIBS"
14051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14052 /* end confdefs.h. */
14054 /* Override any GCC internal prototype to avoid an error.
14055 Use char because int might match the return type of a GCC
14056 builtin and then its argument prototype would still apply. */
14060 char XF86VidModeQueryExtension ();
14064 return XF86VidModeQueryExtension ();
14069 if ac_fn_c_try_link
"$LINENO"; then :
14070 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
14072 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
14074 rm -f core conftest.err conftest.
$ac_objext \
14075 conftest
$ac_exeext conftest.
$ac_ext
14076 LIBS
=$ac_check_lib_save_LIBS
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
14079 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
14080 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
14084 CFLAGS
="$save_cflags"
14087 if test "x-$have_vidmode" = "x-yes" ; then
14088 DO_VIDMODE_SUPPORT
="1"
14089 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
14090 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
14092 DO_VIDMODE_SUPPORT
="0"
14096 aros_host_x11_includes
=$x_includes
14097 aros_host_x11_libdirs
=$x_libraries
14101 # Check whether --enable-sdl_hidd was given.
14102 if test "${enable_sdl_hidd+set}" = set; then :
14103 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
14108 case "x-$sdl_hidd" in
14109 x-yes|x-no|x-auto
) ;;
14110 *) sdl_hidd
="auto" ;;
14113 if test "x-$sdl_hidd" != "x-no" ; then
14116 # Check whether --with-sdl-prefix was given.
14117 if test "${with_sdl_prefix+set}" = set; then :
14118 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
14124 # Check whether --with-sdl-exec-prefix was given.
14125 if test "${with_sdl_exec_prefix+set}" = set; then :
14126 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
14131 # Check whether --enable-sdltest was given.
14132 if test "${enable_sdltest+set}" = set; then :
14133 enableval
=$enable_sdltest;
14139 if test x
$sdl_exec_prefix != x
; then
14140 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14141 if test x
${SDL_CONFIG+set} != xset
; then
14142 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14145 if test x
$sdl_prefix != x
; then
14146 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14147 if test x
${SDL_CONFIG+set} != xset
; then
14148 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14152 as_save_PATH
="$PATH"
14153 if test "x$prefix" != xNONE
; then
14154 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14156 # Extract the first word of "sdl-config", so it can be a program name with args.
14157 set dummy sdl-config
; ac_word
=$2
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14159 $as_echo_n "checking for $ac_word... " >&6; }
14160 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14161 $as_echo_n "(cached) " >&6
14163 case $SDL_CONFIG in
14165 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14169 for as_dir
in $PATH
14172 test -z "$as_dir" && as_dir
=.
14173 for ac_exec_ext
in '' $ac_executable_extensions; do
14174 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14175 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14183 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14187 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14188 if test -n "$SDL_CONFIG"; then
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14190 $as_echo "$SDL_CONFIG" >&6; }
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14193 $as_echo "no" >&6; }
14197 PATH
="$as_save_PATH"
14198 min_sdl_version
=1.2.10
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14200 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14202 if test "$SDL_CONFIG" = "no" ; then
14205 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14206 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14208 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14209 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14210 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14211 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14212 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14213 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14214 if test "x$enable_sdltest" = "xyes" ; then
14215 ac_save_CFLAGS
="$CFLAGS"
14216 ac_save_CXXFLAGS
="$CXXFLAGS"
14217 ac_save_LIBS
="$LIBS"
14218 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14219 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14220 LIBS
="$LIBS $SDL_LIBS"
14222 if test "$cross_compiling" = yes; then :
14223 echo $ac_n "cross compiling; assumed OK... $ac_c"
14225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14229 #include <stdlib.h>
14230 #include <string.h>
14234 my_strdup (char *str)
14240 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14241 strcpy (new_str, str);
14249 int main (int argc, char *argv[])
14251 int major, minor, micro;
14254 /* This hangs on some systems (?)
14255 system ("touch conf.sdltest");
14257 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14259 /* HP/UX 9 (%@#!) writes to sscanf strings */
14260 tmp_version = my_strdup("$min_sdl_version");
14261 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14262 printf("%s, bad version string\n", "$min_sdl_version");
14266 if (($sdl_major_version > major) ||
14267 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14268 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14274 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14275 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14276 printf("*** best to upgrade to the required version.\n");
14277 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14278 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14279 printf("*** config.cache before re-running configure\n");
14286 if ac_fn_c_try_run
"$LINENO"; then :
14291 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14292 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14295 CFLAGS
="$ac_save_CFLAGS"
14296 CXXFLAGS
="$ac_save_CXXFLAGS"
14297 LIBS
="$ac_save_LIBS"
14300 if test "x$no_sdl" = x
; then
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14302 $as_echo "yes" >&6; }
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14306 $as_echo "no" >&6; }
14307 if test "$SDL_CONFIG" = "no" ; then
14308 echo "*** The sdl-config script installed by SDL could not be found"
14309 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14310 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14311 echo "*** full path to sdl-config."
14313 if test -f conf.sdltest
; then
14316 echo "*** Could not run SDL test program, checking why..."
14317 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14318 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14319 LIBS
="$LIBS $SDL_LIBS"
14320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14321 /* end confdefs.h. */
14326 int main(int argc, char *argv[])
14329 #define main K_and_R_C_main
14339 if ac_fn_c_try_link
"$LINENO"; then :
14340 echo "*** The test program compiled, but did not run. This usually means"
14341 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14342 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14343 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14344 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14345 echo "*** is required on your system"
14347 echo "*** If you have an old version installed, it is best to remove it, although"
14348 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14350 echo "*** The test program failed to compile or link. See the file config.log for the"
14351 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14352 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14353 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14355 rm -f core conftest.err conftest.
$ac_objext \
14356 conftest
$ac_exeext conftest.
$ac_ext
14357 CFLAGS
="$ac_save_CFLAGS"
14358 CXXFLAGS
="$ac_save_CXXFLAGS"
14359 LIBS
="$ac_save_LIBS"
14371 if test "x-$have_sdl" != "x-yes" ; then
14373 if test "x-$sdl_hidd" != "x-auto" ; then
14374 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14378 sdl_hidd_target
=kernel-hidd-sdl
14379 aros_host_sdl_cflags
=SDL_CFLAGS
14380 aros_host_sdl_libs
=SDL_LIBS
14384 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14385 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14390 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14391 oss_library_target
=workbench-libs-oss-unix
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14397 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14398 # Check whether --enable-dbus was given.
14399 if test "${enable_dbus+set}" = set; then :
14400 enableval
=$enable_dbus; dbus
="yes"
14405 if test "$dbus" = "yes" ; then
14407 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14408 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14409 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14410 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14415 $as_echo "$dbus" >&6; }
14417 if test "$use_kernel_cc_wrapper" = "yes" ; then
14418 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14421 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
14422 aros_target_toolchain
=yes
14424 aros_target_toolchain
=no
14440 # Compatability with other Amiga-like operation systems
14538 # Delinting target compiler flags
14562 # Native version related
14565 # Palm native version related
14568 # Unix/Hosted version related
14574 # Apple iOS related
14579 # ARM default GCC target related
14606 # Collect-aros stuff: "-ius" to ignore undefined symbols
14609 # C compiler related
14613 #ObjC compiler related
14622 case "$aros_flavour" in
14623 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14624 aros_flavour
="emulation" ;;
14625 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14626 aros_flavour
="emulation" ;;
14627 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14628 aros_flavour
="standalone";;
14629 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14630 aros_flavour
="standalone";;
14631 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14632 aros_flavour
="native" ;;
14633 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14634 aros_flavour
="native" ;;
14635 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14636 aros_flavour
="linklib" ;;
14637 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14638 aros_flavour
="palmnative" ;;
14639 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14640 aros_flavour
="mac68knative" ;;
14641 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14642 aros_flavour
="ppcnative" ;;
14645 if test ! -d ${aros_inc_dir} ; then
14646 ${MKDIR} ${aros_inc_dir}
14648 if test ! -d ${aros_geninc_dir} ; then
14649 ${MKDIR} ${aros_geninc_dir}
14651 if test ! -d ${aros_hostcfg_dir} ; then
14652 ${MKDIR} ${aros_hostcfg_dir}
14654 if test ! -d ${aros_targetcfg_dir} ; then
14655 ${MKDIR} ${aros_targetcfg_dir}
14657 if test ! -d ${aros_tools_dir} ; then
14658 ${MKDIR} ${aros_tools_dir}
14660 if test ! -d ${aros_scripts_dir} ; then
14661 ${MKDIR} ${aros_scripts_dir}
14664 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14667 ac_config_commands
="$ac_config_commands compiler_executable"
14669 ac_config_commands
="$ac_config_commands genmf_executable"
14672 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"
14675 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"
14678 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 ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in"
14681 if test $aros_target_variant == android
; then
14682 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
14686 cat >confcache
<<\_ACEOF
14687 # This file is a shell script that caches the results of configure
14688 # tests run on this system so they can be shared between configure
14689 # scripts and configure runs, see configure's option --config-cache.
14690 # It is not useful on other systems. If it contains results you don't
14691 # want to keep, you may remove or edit it.
14693 # config.status only pays attention to the cache file if you give it
14694 # the --recheck option to rerun configure.
14696 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14697 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14698 # following values.
14702 # The following way of writing the cache mishandles newlines in values,
14703 # but we know of no workaround that is simple, portable, and efficient.
14704 # So, we kill variables containing newlines.
14705 # Ultrix sh set writes to stderr and can't be redirected directly,
14706 # and sets the high bit in the cache file unless we assign to the vars.
14708 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14709 eval ac_val
=\$
$ac_var
14713 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14714 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14717 _ | IFS | as_nl
) ;; #(
14718 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14719 *) { eval $ac_var=; unset $ac_var;} ;;
14725 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14726 *${as_nl}ac_space
=\
*)
14727 # `set' does not quote correctly, so add quotes: double-quote
14728 # substitution turns \\\\ into \\, and sed turns \\ into \.
14731 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14734 # `set' quotes correctly as required by POSIX, so do not add quotes.
14735 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14744 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14746 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14748 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14749 if test -w "$cache_file"; then
14750 if test "x$cache_file" != "x/dev/null"; then
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14752 $as_echo "$as_me: updating cache $cache_file" >&6;}
14753 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14754 cat confcache
>"$cache_file"
14756 case $cache_file in #(
14758 mv -f confcache
"$cache_file"$$
&&
14759 mv -f "$cache_file"$$
"$cache_file" ;; #(
14761 mv -f confcache
"$cache_file" ;;
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14767 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14772 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14773 # Let make expand exec_prefix.
14774 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14776 DEFS
=-DHAVE_CONFIG_H
14781 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14782 # 1. Remove the extension, and $U if already installed.
14783 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14784 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14785 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14786 # will be set to the directory where LIBOBJS objects are built.
14787 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14788 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14790 LIBOBJS
=$ac_libobjs
14792 LTLIBOBJS
=$ac_ltlibobjs
14796 : "${CONFIG_STATUS=./config.status}"
14798 ac_clean_files_save
=$ac_clean_files
14799 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14801 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14803 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14805 # Generated by $as_me.
14806 # Run this file to recreate the current configuration.
14807 # Compiler output produced by configure, useful for debugging
14808 # configure, is in config.log if it exists.
14811 ac_cs_recheck=false
14814 SHELL=\${CONFIG_SHELL-$SHELL}
14817 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14818 ## -------------------- ##
14819 ## M4sh Initialization. ##
14820 ## -------------------- ##
14822 # Be more Bourne compatible
14823 DUALCASE
=1; export DUALCASE
# for MKS sh
14824 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14827 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14828 # is contrary to our usage. Disable this feature.
14829 alias -g '${1+"$@"}'='"$@"'
14830 setopt NO_GLOB_SUBST
14832 case `(set -o) 2>/dev/null` in #(
14844 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14845 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14846 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14847 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14848 # Prefer a ksh shell builtin over an external printf program on Solaris,
14849 # but without wasting forks for bash or zsh.
14850 if test -z "$BASH_VERSION$ZSH_VERSION" \
14851 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14852 as_echo='print
-r --'
14853 as_echo_n='print
-rn --'
14854 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14855 as_echo='printf %s
\n'
14856 as_echo_n='printf %s
'
14858 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14859 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14860 as_echo_n='/usr
/ucb
/echo -n'
14862 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14863 as_echo_n_body='eval
14867 expr "X$arg" : "X\\(.*\\)$as_nl";
14868 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14870 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14872 export as_echo_n_body
14873 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14875 export as_echo_body
14876 as_echo='sh
-c $as_echo_body as_echo
'
14879 # The user is always right.
14880 if test "${PATH_SEPARATOR+set}" != set; then
14882 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14883 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14890 # We need space, tab and new line, in precisely that order. Quoting is
14891 # there to prevent editors from complaining about space-tab.
14892 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14893 # splitting by setting IFS to empty value.)
14896 # Find who we are. Look in the path if we contain no directory separator.
14899 *[\\/]* ) as_myself=$0 ;;
14900 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14901 for as_dir in $PATH
14904 test -z "$as_dir" && as_dir=.
14905 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14911 # We did not find ourselves, most probably we were run as `sh COMMAND'
14912 # in which case we are not to be found in the path.
14913 if test "x$as_myself" = x
; then
14916 if test ! -f "$as_myself"; then
14917 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14921 # Unset variables that we do not need and which cause bugs (e.g. in
14922 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14923 # suppresses any "Segmentation fault" message there. '((' could
14924 # trigger a bug in pdksh 5.2.14.
14925 for as_var
in BASH_ENV ENV MAIL MAILPATH
14926 do eval test x\
${$as_var+set} = xset \
14927 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14940 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14943 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14944 # ----------------------------------------
14945 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14946 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14947 # script with STATUS, using 1 if that was 0.
14950 as_status
=$1; test $as_status -eq 0 && as_status
=1
14952 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14953 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14955 $as_echo "$as_me: error: $2" >&2
14956 as_fn_exit
$as_status
14960 # as_fn_set_status STATUS
14961 # -----------------------
14962 # Set $? to STATUS, without forking.
14963 as_fn_set_status
()
14966 } # as_fn_set_status
14968 # as_fn_exit STATUS
14969 # -----------------
14970 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14974 as_fn_set_status
$1
14980 # Portably unset VAR.
14983 { eval $1=; unset $1;}
14985 as_unset
=as_fn_unset
14986 # as_fn_append VAR VALUE
14987 # ----------------------
14988 # Append the text in VALUE to the end of the definition contained in VAR. Take
14989 # advantage of any shell optimizations that allow amortized linear growth over
14990 # repeated appends, instead of the typical quadratic growth present in naive
14992 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14993 eval 'as_fn_append ()
15004 # as_fn_arith ARG...
15005 # ------------------
15006 # Perform arithmetic evaluation on the ARGs, and store the result in the
15007 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15008 # must be portable across $(()) and expr.
15009 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15010 eval 'as_fn_arith ()
15017 as_val
=`expr "$@" || test $? -eq 1`
15022 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15023 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15029 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15030 as_basename
=basename
15035 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15041 as_me
=`$as_basename -- "$0" ||
15042 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15043 X"$0" : 'X\(//\)$' \| \
15044 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15046 sed '/^.*\/\([^/][^/]*\)\/*$/{
15060 # Avoid depending upon Character Ranges.
15061 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15062 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15063 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15064 as_cr_digits
='0123456789'
15065 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15067 ECHO_C
= ECHO_N
= ECHO_T
=
15068 case `echo -n x` in #(((((
15070 case `echo 'xy\c'` in
15071 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15073 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15080 rm -f conf$$ conf$$.exe conf$$.
file
15081 if test -d conf$$.dir
; then
15082 rm -f conf$$.dir
/conf$$.
file
15085 mkdir conf$$.dir
2>/dev
/null
15087 if (echo >conf$$.
file) 2>/dev
/null
; then
15088 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15090 # ... but there are two gotchas:
15091 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15092 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15093 # In both cases, we have to default to `cp -pR'.
15094 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15096 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15104 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15105 rmdir conf$$.dir
2>/dev
/null
15110 # Create "$as_dir" as a directory, including parents if necessary.
15115 -*) as_dir
=.
/$as_dir;;
15117 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15121 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15122 *) as_qdir
=$as_dir;;
15124 as_dirs
="'$as_qdir' $as_dirs"
15125 as_dir
=`$as_dirname -- "$as_dir" ||
15126 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15127 X"$as_dir" : 'X\(//\)[^/]' \| \
15128 X"$as_dir" : 'X\(//\)$' \| \
15129 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15130 $as_echo X"$as_dir" |
15131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15135 /^X\(\/\/\)[^/].*/{
15148 test -d "$as_dir" && break
15150 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15151 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15155 if mkdir
-p .
2>/dev
/null
; then
15156 as_mkdir_p
='mkdir -p "$as_dir"'
15158 test -d .
/-p && rmdir .
/-p
15163 # as_fn_executable_p FILE
15164 # -----------------------
15165 # Test if FILE is an executable regular file.
15166 as_fn_executable_p
()
15168 test -f "$1" && test -x "$1"
15169 } # as_fn_executable_p
15170 as_test_x
='test -x'
15171 as_executable_p
=as_fn_executable_p
15173 # Sed expression to map a string onto a valid CPP name.
15174 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15176 # Sed expression to map a string onto a valid variable name.
15177 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15181 ## ----------------------------------- ##
15182 ## Main body of $CONFIG_STATUS script. ##
15183 ## ----------------------------------- ##
15185 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15188 # Save the log message, to keep $0 and so on meaningful, and to
15189 # report actual input values of CONFIG_FILES etc. instead of their
15190 # values after options handling.
15192 This file was extended by $as_me, which was
15193 generated by GNU Autoconf 2.69. Invocation command line was
15195 CONFIG_FILES = $CONFIG_FILES
15196 CONFIG_HEADERS = $CONFIG_HEADERS
15197 CONFIG_LINKS = $CONFIG_LINKS
15198 CONFIG_COMMANDS = $CONFIG_COMMANDS
15201 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15206 case $ac_config_files in *"
15207 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15210 case $ac_config_headers in *"
15211 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15216 # Files that config.status was made for.
15217 config_files="$ac_config_files"
15218 config_headers="$ac_config_headers"
15219 config_commands="$ac_config_commands"
15223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15225 \`$as_me' instantiates files and other configuration actions
15226 from templates according to the current configuration. Unless the files
15227 and actions are specified as TAGs, all are instantiated by default.
15229 Usage: $0 [OPTION]... [TAG]...
15231 -h, --help print this help, then exit
15232 -V, --version print version number and configuration settings, then exit
15233 --config print configuration, then exit
15234 -q, --quiet, --silent
15235 do not print progress messages
15236 -d, --debug don't remove temporary files
15237 --recheck update $as_me by reconfiguring in the same conditions
15238 --file=FILE[:TEMPLATE]
15239 instantiate the configuration file FILE
15240 --header=FILE[:TEMPLATE]
15241 instantiate the configuration header FILE
15243 Configuration files:
15246 Configuration headers:
15249 Configuration commands:
15252 Report bugs to the package provider."
15255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15256 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15259 configured by $0, generated by GNU Autoconf 2.69,
15260 with options \\"\$ac_cs_config\\"
15262 Copyright (C) 2012 Free Software Foundation, Inc.
15263 This config.status script is free software; the Free Software Foundation
15264 gives unlimited permission to copy, distribute and modify it."
15268 test -n "\$AWK" || AWK=awk
15271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15272 # The default lists apply if the user does not specify any file.
15278 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15279 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15283 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15295 # Handling of the options.
15296 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15298 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15299 $as_echo "$ac_cs_version"; exit ;;
15300 --config |
--confi |
--conf |
--con |
--co |
--c )
15301 $as_echo "$ac_cs_config"; exit ;;
15302 --debug |
--debu |
--deb |
--de |
--d |
-d )
15304 --file |
--fil |
--fi |
--f )
15307 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15308 '') as_fn_error $?
"missing file argument" ;;
15310 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15311 ac_need_defaults
=false
;;
15312 --header |
--heade |
--head |
--hea )
15315 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15317 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15318 ac_need_defaults
=false
;;
15320 # Conflict between --help and --header
15321 as_fn_error $?
"ambiguous option: \`$1'
15322 Try \`$0 --help' for more information.";;
15323 --help |
--hel |
-h )
15324 $as_echo "$ac_cs_usage"; exit ;;
15325 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15326 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15329 # This is an error.
15330 -*) as_fn_error $?
"unrecognized option: \`$1'
15331 Try \`$0 --help' for more information." ;;
15333 *) as_fn_append ac_config_targets
" $1"
15334 ac_need_defaults
=false
;;
15340 ac_configure_extra_args
=
15342 if $ac_cs_silent; then
15344 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15349 if \$ac_cs_recheck; then
15350 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15352 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15353 CONFIG_SHELL='$SHELL'
15354 export CONFIG_SHELL
15359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15363 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15364 ## Running $as_me. ##
15370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15375 aros_host_exe_suffix=${aros_host_exe_suffix}
15376 aros_tools_dir=${aros_tools_dir}
15377 aros_target_cpu=${aros_target_cpu}
15378 aros_target_arch=${aros_target_arch}
15379 aros_target_suffix=${aros_target_suffix}
15380 orig_target_nm=${orig_target_nm}
15381 orig_target_as=${orig_target_as}
15382 orig_target_ar=${orig_target_ar}
15383 orig_target_ranlib=${orig_target_ranlib}
15384 orig_target_objdump=${orig_target_objdump}
15385 orig_target_objcopy=${orig_target_objcopy}
15386 orig_target_strip=${orig_target_strip}
15387 aros_kernel_ld=${aros_kernel_ld}
15390 aros_tools_dir=${aros_tools_dir}
15395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15397 # Handling of arguments.
15398 for ac_config_target
in $ac_config_targets
15400 case $ac_config_target in
15401 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15402 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15403 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15404 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15405 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15406 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15407 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15408 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15409 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15410 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15411 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15412 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15413 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15414 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15415 "${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" ;;
15416 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15417 "${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" ;;
15418 "${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" ;;
15419 "${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" ;;
15420 "${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" ;;
15421 "${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" ;;
15423 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15428 # If the user did not use the arguments to specify the items to instantiate,
15429 # then the envvar interface is used. Set only those that are not.
15430 # We use the long form for the default assignment because of an extremely
15431 # bizarre bug on SunOS 4.1.3.
15432 if $ac_need_defaults; then
15433 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15434 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15435 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15438 # Have a temporary directory for convenience. Make it in the build tree
15439 # simply because there is no reason against having it here, and in addition,
15440 # creating and moving files from /tmp can sometimes cause problems.
15441 # Hook for its removal unless debugging.
15442 # Note that there is a small window in which the directory will not be cleaned:
15443 # after its creation but before its name has been assigned to `$tmp'.
15447 trap 'exit_status=$?
15448 : "${ac_tmp:=$tmp}"
15449 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15451 trap 'as_fn_exit 1' 1 2 13 15
15453 # Create a (secure) tmp directory for tmp files.
15456 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15460 tmp
=.
/conf$$
-$RANDOM
15461 (umask 077 && mkdir
"$tmp")
15462 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15465 # Set up the scripts for CONFIG_FILES section.
15466 # No need to generate them if there are no CONFIG_FILES.
15467 # This happens for instance with `./config.status config.h'.
15468 if test -n "$CONFIG_FILES"; then
15471 ac_cr
=`echo X | tr X '\015'`
15472 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15473 # But we know of no other shell where ac_cr would be empty at this
15474 # point, so we can use a bashism as a fallback.
15475 if test "x$ac_cr" = x
; then
15476 eval ac_cr
=\$
\'\\r
\'
15478 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15479 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15482 ac_cs_awk_cr
=$ac_cr
15485 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15490 echo "cat >conf$$subs.awk <<_ACEOF" &&
15491 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15493 } >conf$$subs.sh ||
15494 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15495 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15497 for ac_last_try in false false false false false :; do
15498 . ./conf$$subs.sh ||
15499 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15501 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15502 if test $ac_delim_n = $ac_delim_num; then
15504 elif $ac_last_try; then
15505 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15507 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15510 rm -f conf$$subs.sh
15512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15513 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15517 s/^/S["/; s
/!.
*/"]=/
15527 s/\(.\{148\}\)..*/\1/
15529 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15534 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15541 s/\(.\{148\}\)..*/\1/
15543 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15547 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15552 ' <conf$$subs.awk | sed '
15557 ' >>$CONFIG_STATUS || ac_write_fail=1
15558 rm -f conf$$subs.awk
15559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15561 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15562 for (key in S) S_is_set[key] = 1
15568 nfields = split(line, field, "@
")
15570 len = length(field[1])
15571 for (i = 2; i < nfields; i++) {
15573 keylen = length(key)
15574 if (S_is_set[key]) {
15576 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15577 len += length(value) + length(field[++i])
15588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15589 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15590 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15593 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15594 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15597 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15598 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15599 # trailing colons and then remove the whole line if VPATH becomes empty
15600 # (actually we leave an empty line to preserve line numbers).
15601 if test "x
$srcdir" = x.; then
15602 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15621 fi # test -n "$CONFIG_FILES"
15623 # Set up the scripts for CONFIG_HEADERS section.
15624 # No need to generate them if there are no CONFIG_HEADERS.
15625 # This happens for instance with `./config.status Makefile'.
15626 if test -n "$CONFIG_HEADERS"; then
15627 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15631 # Transform confdefs.h into an awk script `defines.awk', embedded as
15632 # here-document in config.status, that substitutes the proper values into
15633 # config.h.in to produce config.h.
15635 # Create a delimiter string that does not exist in confdefs.h, to ease
15636 # handling of long lines.
15638 for ac_last_try in false false :; do
15639 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15640 if test -z "$ac_tt"; then
15642 elif $ac_last_try; then
15643 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15645 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15649 # For the awk script, D is an array of macro values keyed by name,
15650 # likewise P contains macro parameters if any. Preserve backslash
15651 # newline sequences.
15653 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15655 s/.\{148\}/&'"$ac_delim"'/g
15658 s/^[ ]*#[ ]*define[ ][ ]*/ /
15665 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15667 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15671 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15672 D["\
1"]=" \
3\\\\\\n
"\\/p
15674 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15679 s/.\{148\}/&'"$ac_delim"'/g
15684 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15687 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15689 ' <confdefs.h | sed '
15690 s/'"$ac_delim"'/"\\\
15691 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15694 for (key in D) D_is_set[key] = 1
15697 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15699 split(line, arg, " ")
15700 if (arg[1] == "#") {
15704 defundef
= substr
(arg
[1], 2)
15707 split(mac1
, mac2
, "(") #)
15709 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15710 if (D_is_set
[macro
]) {
15711 # Preserve the white space surrounding the "#".
15712 print prefix
"define", macro P
[macro
] D
[macro
]
15715 # Replace #undef with comments. This is necessary, for example,
15716 # in the case of _POSIX_SOURCE, which is predefined and required
15717 # on some systems where configure will not decide to define it.
15718 if (defundef
== "undef") {
15719 print
"/*", prefix defundef
, macro
, "*/"
15727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15728 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15729 fi # test -n "$CONFIG_HEADERS"
15732 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15737 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15739 case $ac_mode$ac_tag in
15741 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15742 :[FH
]-) ac_tag
=-:-;;
15743 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15760 -) ac_f
="$ac_tmp/stdin";;
15761 *) # Look for the file first in the build tree, then in the source tree
15762 # (if the path is not absolute). The absolute path cannot be DOS-style,
15763 # because $ac_f cannot contain `:'.
15767 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15769 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15771 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15772 as_fn_append ac_file_inputs
" '$ac_f'"
15775 # Let's still pretend it is `configure' which instantiates (i.e., don't
15776 # use $as_me), people would be surprised to read:
15777 # /* config.h. Generated by config.status. */
15778 configure_input
='Generated from '`
15779 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15781 if test x
"$ac_file" != x-
; then
15782 configure_input
="$ac_file. $configure_input"
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15784 $as_echo "$as_me: creating $ac_file" >&6;}
15786 # Neutralize special characters interpreted by sed in replacement strings.
15787 case $configure_input in #(
15788 *\
&* |
*\|
* |
*\\* )
15789 ac_sed_conf_input
=`$as_echo "$configure_input" |
15790 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15791 *) ac_sed_conf_input
=$configure_input;;
15795 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15796 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15801 ac_dir
=`$as_dirname -- "$ac_file" ||
15802 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15803 X"$ac_file" : 'X\(//\)[^/]' \| \
15804 X"$ac_file" : 'X\(//\)$' \| \
15805 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15806 $as_echo X"$ac_file" |
15807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15811 /^X\(\/\/\)[^/].*/{
15824 as_dir
="$ac_dir"; as_fn_mkdir_p
15828 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15830 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15831 # A ".." for each directory in $ac_dir_suffix.
15832 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15833 case $ac_top_builddir_sub in
15834 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15835 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15838 ac_abs_top_builddir
=$ac_pwd
15839 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15840 # for backward compatibility:
15841 ac_top_builddir
=$ac_top_build_prefix
15844 .
) # We are building in place.
15846 ac_top_srcdir
=$ac_top_builddir_sub
15847 ac_abs_top_srcdir
=$ac_pwd ;;
15848 [\\/]* | ?
:[\\/]* ) # Absolute name.
15849 ac_srcdir
=$srcdir$ac_dir_suffix;
15850 ac_top_srcdir
=$srcdir
15851 ac_abs_top_srcdir
=$srcdir ;;
15852 *) # Relative name.
15853 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15854 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15855 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15857 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15869 # If the template does not know about datarootdir, expand it.
15870 # FIXME: This hack should be removed a few years after 2.60.
15871 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15882 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15883 *datarootdir
*) ac_datarootdir_seen
=yes;;
15884 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15886 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15889 ac_datarootdir_hack='
15890 s&@datadir@&$datadir&g
15891 s&@docdir@&$docdir&g
15892 s&@infodir@&$infodir&g
15893 s&@localedir@&$localedir&g
15894 s&@mandir@&$mandir&g
15895 s&\\\${datarootdir}&$datarootdir&g' ;;
15899 # Neutralize VPATH when `$srcdir' = `.'.
15900 # Shell code in configure.ac might set extrasub.
15901 # FIXME: do we really want to maintain this feature?
15902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15903 ac_sed_extra="$ac_vpsub
15906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15908 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15909 s|@configure_input@|
$ac_sed_conf_input|
;t t
15910 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15911 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15912 s
&@srcdir@
&$ac_srcdir&;t t
15913 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15914 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15915 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15916 s
&@builddir@
&$ac_builddir&;t t
15917 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15918 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15919 $ac_datarootdir_hack
15921 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15922 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15924 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15925 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15926 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15927 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15929 which seems to be undefined. Please make sure it is defined" >&5
15930 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15931 which seems to be undefined. Please make sure it is defined" >&2;}
15933 rm -f "$ac_tmp/stdin"
15935 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15936 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15938 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15944 if test x"$ac_file" != x-; then
15946 $as_echo "/* $configure_input */" \
15947 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15948 } >"$ac_tmp/config.h" \
15949 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15950 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15952 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15955 mv "$ac_tmp/config.h" "$ac_file" \
15956 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15959 $as_echo "/* $configure_input */" \
15960 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15961 || as_fn_error $? "could not create -" "$LINENO" 5
15965 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15966 $as_echo "$as_me: executing $ac_file commands" >&6;}
15971 case $ac_file$ac_mode in
15972 "compiler_executable":C)
15973 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15975 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15976 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15978 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15980 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15981 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15982 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15983 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15984 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15985 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15986 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15988 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15990 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15998 ac_clean_files=$ac_clean_files_save
16000 test $ac_write_fail = 0 ||
16001 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16004 # configure is writing to config.log, and then calls config.status.
16005 # config.status does its own redirection, appending to config.log.
16006 # Unfortunately, on DOS this fails, as config.log is still kept open
16007 # by configure, so config.status won't be able to
write to it
; its
16008 # output is simply discarded. So we exec the FD to /dev/null,
16009 # effectively closing config.log, so it can be properly (re)opened and
16010 # appended to by config.status. When coming back to configure, we
16011 # need to make the FD available again.
16012 if test "$no_create" != yes; then
16014 ac_config_status_args
=
16015 test "$silent" = yes &&
16016 ac_config_status_args
="$ac_config_status_args --quiet"
16018 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16020 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16021 # would make configure fail if this is the last instruction.
16022 $ac_cs_success || as_fn_exit
1
16024 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16026 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16031 #XXX compatability...
16032 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
16034 if test -n "$aros_shared_cflags" ; then
16035 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
16036 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg