2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="mmakefile"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
623 ac_subst_vars
='LTLIBOBJS
627 ignore_undefined_symbols
639 gcc_default_float_abi
647 aros_nesting_supervisor
652 aros_host_x11_libdirs
653 aros_host_x11_includes
657 aros_default_wbheight
663 aros_cflags_format_security
664 aros_cflags_strict_overflow
665 aros_cflags_enum_compare
666 aros_cflags_array_bounds
667 aros_cflags_unused_but_set_variable
668 crosstools_cxx_target
670 aros_target_strip_flags
677 aros_kernel_objcflags
696 aros_target_cc_includes
711 aros_target_bootloader
731 aros_amigaos_compliance
737 aros_target_toolchain
746 aros_cflags_iquote_end
748 kernel_cflags_iquote_end
750 host_cflags_iquote_end
752 aros_target_nostdlib_ldflags
753 aros_target_detach_ldflags
754 aros_target_nix_ldflags
755 aros_target_nostartup_ldflags
756 aros_target_nostdinc_cflags
873 program_transform_name
886 enable_option_checking
891 with_kernel_gcc_version
895 enable_target_variant
901 enable_amigaos_compliance
902 with_kernel_toolchain_prefix
903 with_elf_toolchain_prefix
906 with_aros_toolchain_install
918 enable_palm_debug_hack
920 enable_nesting_supervisor
932 ac_precious_vars
='build_alias
948 # Initialize some variables set by options.
950 ac_init_version
=false
951 ac_unrecognized_opts
=
953 # The variables have the same names as the options, with
954 # dashes changed to underlines.
962 program_transform_name
=s
,x
,x
,
970 # Installation directory options.
971 # These are left unexpanded so users can "make install exec_prefix=/foo"
972 # and all the variables that are supposed to be based on exec_prefix
973 # by default will actually change.
974 # Use braces instead of parens because sh, perl, etc. also accept them.
975 # (The list follows the same order as the GNU Coding Standards.)
976 bindir
='${exec_prefix}/bin'
977 sbindir
='${exec_prefix}/sbin'
978 libexecdir
='${exec_prefix}/libexec'
979 datarootdir
='${prefix}/share'
980 datadir
='${datarootdir}'
981 sysconfdir
='${prefix}/etc'
982 sharedstatedir
='${prefix}/com'
983 localstatedir
='${prefix}/var'
984 includedir
='${prefix}/include'
985 oldincludedir
='/usr/include'
986 docdir
='${datarootdir}/doc/${PACKAGE}'
987 infodir
='${datarootdir}/info'
992 libdir
='${exec_prefix}/lib'
993 localedir
='${datarootdir}/locale'
994 mandir
='${datarootdir}/man'
1000 # If the previous option needs an argument, assign it.
1001 if test -n "$ac_prev"; then
1002 eval $ac_prev=\
$ac_option
1008 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1013 # Accept the important Cygnus configure options, so we can diagnose typos.
1015 case $ac_dashdash$ac_option in
1019 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1021 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1022 bindir
=$ac_optarg ;;
1024 -build |
--build |
--buil |
--bui |
--bu)
1025 ac_prev
=build_alias
;;
1026 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1027 build_alias
=$ac_optarg ;;
1029 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1030 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1031 ac_prev
=cache_file
;;
1032 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1033 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1034 cache_file
=$ac_optarg ;;
1036 --config-cache |
-C)
1037 cache_file
=config.cache
;;
1039 -datadir |
--datadir |
--datadi |
--datad)
1041 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1042 datadir
=$ac_optarg ;;
1044 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1045 |
--dataroo |
--dataro |
--datar)
1046 ac_prev
=datarootdir
;;
1047 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1048 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1049 datarootdir
=$ac_optarg ;;
1051 -disable-* |
--disable-*)
1052 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1055 as_fn_error $?
"invalid feature name: $ac_useropt"
1056 ac_useropt_orig
=$ac_useropt
1057 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 case $ac_user_opts in
1060 "enable_
$ac_useropt"
1062 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1063 ac_unrecognized_sep
=', ';;
1065 eval enable_
$ac_useropt=no
;;
1067 -docdir |
--docdir |
--docdi |
--doc |
--do)
1069 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1070 docdir
=$ac_optarg ;;
1072 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1074 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1075 dvidir
=$ac_optarg ;;
1077 -enable-* |
--enable-*)
1078 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1079 # Reject names that are not valid shell variable names.
1080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1081 as_fn_error $?
"invalid feature name: $ac_useropt"
1082 ac_useropt_orig
=$ac_useropt
1083 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1084 case $ac_user_opts in
1086 "enable_
$ac_useropt"
1088 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1089 ac_unrecognized_sep
=', ';;
1091 eval enable_
$ac_useropt=\
$ac_optarg ;;
1093 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1094 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1095 |
--exec |
--exe |
--ex)
1096 ac_prev
=exec_prefix
;;
1097 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1098 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1099 |
--exec=* |
--exe=* |
--ex=*)
1100 exec_prefix
=$ac_optarg ;;
1102 -gas |
--gas |
--ga |
--g)
1103 # Obsolete; use --with-gas.
1106 -help |
--help |
--hel |
--he |
-h)
1107 ac_init_help
=long
;;
1108 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1109 ac_init_help
=recursive
;;
1110 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1111 ac_init_help
=short
;;
1113 -host |
--host |
--hos |
--ho)
1114 ac_prev
=host_alias
;;
1115 -host=* |
--host=* |
--hos=* |
--ho=*)
1116 host_alias
=$ac_optarg ;;
1118 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1120 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1122 htmldir
=$ac_optarg ;;
1124 -includedir |
--includedir |
--includedi |
--included |
--include \
1125 |
--includ |
--inclu |
--incl |
--inc)
1126 ac_prev
=includedir
;;
1127 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1128 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1129 includedir
=$ac_optarg ;;
1131 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1133 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1134 infodir
=$ac_optarg ;;
1136 -libdir |
--libdir |
--libdi |
--libd)
1138 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1139 libdir
=$ac_optarg ;;
1141 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1142 |
--libexe |
--libex |
--libe)
1143 ac_prev
=libexecdir
;;
1144 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1145 |
--libexe=* |
--libex=* |
--libe=*)
1146 libexecdir
=$ac_optarg ;;
1148 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1149 ac_prev
=localedir
;;
1150 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1151 localedir
=$ac_optarg ;;
1153 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1154 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1155 ac_prev
=localstatedir
;;
1156 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1157 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1158 localstatedir
=$ac_optarg ;;
1160 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1162 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1163 mandir
=$ac_optarg ;;
1165 -nfp |
--nfp |
--nf)
1166 # Obsolete; use --without-fp.
1169 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1170 |
--no-cr |
--no-c |
-n)
1173 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1174 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1177 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1178 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1179 |
--oldin |
--oldi |
--old |
--ol |
--o)
1180 ac_prev
=oldincludedir
;;
1181 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1182 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1183 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1184 oldincludedir
=$ac_optarg ;;
1186 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1188 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1189 prefix
=$ac_optarg ;;
1191 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1192 |
--program-pre |
--program-pr |
--program-p)
1193 ac_prev
=program_prefix
;;
1194 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1195 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1196 program_prefix
=$ac_optarg ;;
1198 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1199 |
--program-suf |
--program-su |
--program-s)
1200 ac_prev
=program_suffix
;;
1201 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1202 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1203 program_suffix
=$ac_optarg ;;
1205 -program-transform-name |
--program-transform-name \
1206 |
--program-transform-nam |
--program-transform-na \
1207 |
--program-transform-n |
--program-transform- \
1208 |
--program-transform |
--program-transfor \
1209 |
--program-transfo |
--program-transf \
1210 |
--program-trans |
--program-tran \
1211 |
--progr-tra |
--program-tr |
--program-t)
1212 ac_prev
=program_transform_name
;;
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 program_transform_name
=$ac_optarg ;;
1222 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1224 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1225 pdfdir
=$ac_optarg ;;
1227 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1229 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1232 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1233 |
-silent |
--silent |
--silen |
--sile |
--sil)
1236 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1238 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1240 sbindir
=$ac_optarg ;;
1242 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1243 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1244 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1246 ac_prev
=sharedstatedir
;;
1247 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1248 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1249 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1251 sharedstatedir
=$ac_optarg ;;
1253 -site |
--site |
--sit)
1255 -site=* |
--site=* |
--sit=*)
1258 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1260 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1261 srcdir
=$ac_optarg ;;
1263 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1264 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1265 ac_prev
=sysconfdir
;;
1266 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1267 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1268 sysconfdir
=$ac_optarg ;;
1270 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1271 ac_prev
=target_alias
;;
1272 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1273 target_alias
=$ac_optarg ;;
1275 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1278 -version |
--version |
--versio |
--versi |
--vers |
-V)
1279 ac_init_version
=: ;;
1282 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1283 # Reject names that are not valid shell variable names.
1284 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1285 as_fn_error $?
"invalid package name: $ac_useropt"
1286 ac_useropt_orig
=$ac_useropt
1287 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1288 case $ac_user_opts in
1292 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1293 ac_unrecognized_sep
=', ';;
1295 eval with_
$ac_useropt=\
$ac_optarg ;;
1297 -without-* |
--without-*)
1298 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1299 # Reject names that are not valid shell variable names.
1300 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1301 as_fn_error $?
"invalid package name: $ac_useropt"
1302 ac_useropt_orig
=$ac_useropt
1303 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1304 case $ac_user_opts in
1308 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1309 ac_unrecognized_sep
=', ';;
1311 eval with_
$ac_useropt=no
;;
1314 # Obsolete; use --with-x.
1317 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1318 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1319 ac_prev
=x_includes
;;
1320 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1321 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1322 x_includes
=$ac_optarg ;;
1324 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1325 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1326 ac_prev
=x_libraries
;;
1327 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1328 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1329 x_libraries
=$ac_optarg ;;
1331 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1332 Try \`$0 --help' for more information"
1336 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1337 # Reject names that are not valid shell variable names.
1338 case $ac_envvar in #(
1339 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1340 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1342 eval $ac_envvar=\
$ac_optarg
1343 export $ac_envvar ;;
1346 # FIXME: should be removed in autoconf 3.0.
1347 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1348 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1349 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1350 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1356 if test -n "$ac_prev"; then
1357 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1358 as_fn_error $?
"missing argument to $ac_option"
1361 if test -n "$ac_unrecognized_opts"; then
1362 case $enable_option_checking in
1364 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1365 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1369 # Check all directory arguments for consistency.
1370 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1371 datadir sysconfdir sharedstatedir localstatedir includedir \
1372 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1373 libdir localedir mandir
1375 eval ac_val
=\$
$ac_var
1376 # Remove trailing slashes.
1379 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1380 eval $ac_var=\
$ac_val;;
1382 # Be sure to have absolute directory names.
1384 [\\/$
]* | ?
:[\\/]* ) continue;;
1385 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1387 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1390 # There might be people who depend on the old broken behavior: `$host'
1391 # used to hold the argument of --host etc.
1392 # FIXME: To remove some day.
1395 target
=$target_alias
1397 # FIXME: To remove some day.
1398 if test "x$host_alias" != x
; then
1399 if test "x$build_alias" = x
; then
1400 cross_compiling
=maybe
1401 elif test "x$build_alias" != "x$host_alias"; then
1407 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1409 test "$silent" = yes && exec 6>/dev
/null
1412 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1413 ac_ls_di
=`ls -di .` &&
1414 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1415 as_fn_error $?
"working directory cannot be determined"
1416 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1417 as_fn_error $?
"pwd does not report name of working directory"
1420 # Find the source files, if location was not specified.
1421 if test -z "$srcdir"; then
1422 ac_srcdir_defaulted
=yes
1423 # Try the directory containing this script, then the parent directory.
1424 ac_confdir
=`$as_dirname -- "$as_myself" ||
1425 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1426 X"$as_myself" : 'X\(//\)[^/]' \| \
1427 X"$as_myself" : 'X\(//\)$' \| \
1428 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1429 $as_echo X"$as_myself" |
1430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1448 if test ! -r "$srcdir/$ac_unique_file"; then
1452 ac_srcdir_defaulted
=no
1454 if test ! -r "$srcdir/$ac_unique_file"; then
1455 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1456 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1458 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1460 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1462 # When building in place, set srcdir=.
1463 if test "$ac_abs_confdir" = "$ac_pwd"; then
1466 # Remove unnecessary trailing slashes from srcdir.
1467 # Double slashes in file names in object file debugging info
1468 # mess up M-x gdb in Emacs.
1470 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1472 for ac_var
in $ac_precious_vars; do
1473 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1474 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1475 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1476 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1480 # Report the --help message.
1482 if test "$ac_init_help" = "long"; then
1483 # Omit some internal or obsolete options to make the list less imposing.
1484 # This message is too long to be a string in the A/UX 3.1 sh.
1486 \`configure' configures this package to adapt to many kinds of systems.
1488 Usage: $0 [OPTION]... [VAR=VALUE]...
1490 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1491 VAR=VALUE. See below for descriptions of some of the useful variables.
1493 Defaults for the options are specified in brackets.
1496 -h, --help display this help and exit
1497 --help=short display options specific to this package
1498 --help=recursive display the short help of all the included packages
1499 -V, --version display version information and exit
1500 -q, --quiet, --silent do not print \`checking ...' messages
1501 --cache-file=FILE cache test results in FILE [disabled]
1502 -C, --config-cache alias for \`--cache-file=config.cache'
1503 -n, --no-create do not create output files
1504 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1506 Installation directories:
1507 --prefix=PREFIX install architecture-independent files in PREFIX
1508 [$ac_default_prefix]
1509 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1512 By default, \`make install' will install all the files in
1513 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1514 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1515 for instance \`--prefix=\$HOME'.
1517 For better control, use the options below.
1519 Fine tuning of the installation directories:
1520 --bindir=DIR user executables [EPREFIX/bin]
1521 --sbindir=DIR system admin executables [EPREFIX/sbin]
1522 --libexecdir=DIR program executables [EPREFIX/libexec]
1523 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1524 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1525 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1526 --libdir=DIR object code libraries [EPREFIX/lib]
1527 --includedir=DIR C header files [PREFIX/include]
1528 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1529 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1530 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1531 --infodir=DIR info documentation [DATAROOTDIR/info]
1532 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1533 --mandir=DIR man documentation [DATAROOTDIR/man]
1534 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1535 --htmldir=DIR html documentation [DOCDIR]
1536 --dvidir=DIR dvi documentation [DOCDIR]
1537 --pdfdir=DIR pdf documentation [DOCDIR]
1538 --psdir=DIR ps documentation [DOCDIR]
1544 --x-includes=DIR X include files are
in DIR
1545 --x-libraries=DIR X library files are
in DIR
1548 --build=BUILD configure
for building on BUILD
[guessed
]
1549 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1553 if test -n "$ac_init_help"; then
1558 --disable-option-checking ignore unrecognized
--enable/--with options
1559 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1560 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1561 --enable-build-type=TYPE
1562 Select the build
type. Available types are
:
1563 personal
, nightly
, snapshot
, milestone
, release. Do
1564 NOT use this option unless you know what you are
1565 doing
! (default
=personal
)
1566 --enable-debug=list Enable different types of debug. Commas or
1567 whitespaces can be used to separate the items
in the
1568 list. Available types of debug are
: all
, none
,
1569 messages
, stack
, mungwall
, modules
, symbols. If no
1570 list is provided
then "all" is assumed.
1572 --enable-distcc Use distcc as a front end to the compiler
1574 --enable-ccache Use ccache as a front end to the compiler
1576 --enable-target-variant=NAME
1577 Enable a specific target variant
(default
=none
)
1578 --enable-amigaos-compliance=VERSION
1579 Enforce userspace AmigaOS compliance to a specific
1580 KickStart version
(default
=none
).
1581 --disable-crosstools Do not build cross-compiler toolchain
1582 --disable-objc Build without Objectve-C support
1583 --enable-includes=dir Alternative system include directory
1584 --enable-palm-debug-hack
1585 Enable palm debug output hack
in palm native
1587 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1588 --enable-nesting-supervisor
1589 Enable nesting supervisor support
in unix
1591 --disable-mmu Disable MMU support
(default
=enabled
)
1592 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1593 --enable-x11-shm use X11 shared memory
(default
=auto
)
1594 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1595 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1596 --disable-sdltest Do not try to compile and run a
test SDL program
1597 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1600 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1601 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1602 --with-kernel-gcc-version=VERSION
1603 Use gcc-VERSION
for building bootstrap
1604 --with-gcc-version=VERSION
1605 Use gcc-VERSION
for building AROS
1606 --with-optimization=FLAGS
1607 Use optimization flags FLAGS
(default
=-O2).
1608 --with-paranoia=FLAGS CC flags to
enable paranoia
1609 --with-xcode=PATH Specify XCode path
for iOS targets
1610 (default
=/Developer
).
1611 --with-sdk-version=VERSION
1612 Use iOS SDK version VERSION
(default
=4.1).
1613 --with-sdk=PATH Specify Android SDK path
1614 (default
=$default_android_sdk).
1615 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1616 --with-sdk-version=LEVEL
1617 Use Android SDK
for API LEVEL
(default
=12).
1618 --with-ndk-version=LEVEL
1619 Use Android NDK
for API LEVEL
(default
=9).
1620 --with-kernel-toolchain-prefix=...
1621 Specify crosscompile toolchain prefix
for kernel
1623 --with-elf-toolchain-prefix=...
1624 Specify crosscompile toolchain prefix to wrap
for
1626 --with-aros-toolchain=PREFIX
1627 Specify prebuilt AROS toolchain
1628 --with-aros-toolchain-install=DIR
1629 Where to
install or search
for cross tools binaries
1630 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1631 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1632 --with-float=<spec
> Specify floating point ABI
1633 (default
=$gcc_default_float_abi).
1634 --with-portssources=DIR Where to download sourcecode
for external ports
1635 --with-bootloader=NAME Use a specific bootloader
1636 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1637 --with-theme=NAME Use a specific GUI Theme
1638 --with-resolution=XRESxYRESxDEPTH
1639 Default resolution of the initial WorkbenchScreen
1640 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1641 --with-x use the X Window System
1642 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1643 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1645 Some influential environment variables
:
1646 CXX C
++ compiler
command
1647 CXXFLAGS C
++ compiler flags
1648 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1649 nonstandard directory
<lib dir
>
1650 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1651 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1652 you have headers
in a nonstandard directory
<include dir
>
1653 CC C compiler
command
1654 CFLAGS C compiler flags
1656 PYTHON the Python interpreter
1657 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1659 Use these variables to override the choices made by
`configure' or to help
1660 it to find libraries and programs with nonstandard names/locations.
1662 Report bugs to the package provider.
1667 if test "$ac_init_help" = "recursive"; then
1668 # If there are subdirs, report their specific --help.
1669 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1670 test -d "$ac_dir" ||
1671 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1676 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1678 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1679 # A ".." for each directory in $ac_dir_suffix.
1680 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1681 case $ac_top_builddir_sub in
1682 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1683 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1686 ac_abs_top_builddir=$ac_pwd
1687 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1688 # for backward compatibility:
1689 ac_top_builddir=$ac_top_build_prefix
1692 .) # We are building in place.
1694 ac_top_srcdir=$ac_top_builddir_sub
1695 ac_abs_top_srcdir=$ac_pwd ;;
1696 [\\/]* | ?:[\\/]* ) # Absolute name.
1697 ac_srcdir=$srcdir$ac_dir_suffix;
1698 ac_top_srcdir=$srcdir
1699 ac_abs_top_srcdir=$srcdir ;;
1701 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1702 ac_top_srcdir=$ac_top_build_prefix$srcdir
1703 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1705 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1707 cd "$ac_dir" || { ac_status=$?; continue; }
1708 # Check for guested configure.
1709 if test -f "$ac_srcdir/configure.gnu"; then
1711 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1712 elif test -f "$ac_srcdir/configure"; then
1714 $SHELL "$ac_srcdir/configure" --help=recursive
1716 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1718 cd "$ac_pwd" || { ac_status=$?; break; }
1722 test -n "$ac_init_help" && exit $ac_status
1723 if $ac_init_version; then
1726 generated by GNU Autoconf 2.69
1728 Copyright (C) 2012 Free Software Foundation, Inc.
1729 This configure script is free software; the Free Software Foundation
1730 gives unlimited permission to copy, distribute and modify it.
1735 ## ------------------------ ##
1736 ## Autoconf initialization. ##
1737 ## ------------------------ ##
1739 # ac_fn_cxx_try_compile LINENO
1740 # ----------------------------
1741 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1742 ac_fn_cxx_try_compile ()
1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745 rm -f conftest.$ac_objext
1746 if { { ac_try="$ac_compile"
1748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1749 *) ac_try_echo
=$ac_try;;
1751 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753 (eval "$ac_compile") 2>conftest.err
1755 if test -s conftest.err
; then
1756 grep -v '^ *+' conftest.err
>conftest.er1
1757 cat conftest.er1
>&5
1758 mv -f conftest.er1 conftest.err
1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761 test $ac_status = 0; } && {
1762 test -z "$ac_cxx_werror_flag" ||
1763 test ! -s conftest.err
1764 } && test -s conftest.
$ac_objext; then :
1767 $as_echo "$as_me: failed program was:" >&5
1768 sed 's/^/| /' conftest.
$ac_ext >&5
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 as_fn_set_status
$ac_retval
1775 } # ac_fn_cxx_try_compile
1777 # ac_fn_c_try_compile LINENO
1778 # --------------------------
1779 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1780 ac_fn_c_try_compile
()
1782 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1783 rm -f conftest.
$ac_objext
1784 if { { ac_try
="$ac_compile"
1786 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1787 *) ac_try_echo=$ac_try;;
1789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790 $as_echo "$ac_try_echo"; } >&5
1791 (eval "$ac_compile") 2>conftest.err
1793 if test -s conftest.err; then
1794 grep -v '^ *+' conftest.err >conftest.er1
1795 cat conftest.er1 >&5
1796 mv -f conftest.er1 conftest.err
1798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799 test $ac_status = 0; } && {
1800 test -z "$ac_c_werror_flag" ||
1801 test ! -s conftest.err
1802 } && test -s conftest.$ac_objext; then :
1805 $as_echo "$as_me: failed program was:" >&5
1806 sed 's/^/| /' conftest.$ac_ext >&5
1810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811 as_fn_set_status $ac_retval
1813 } # ac_fn_c_try_compile
1815 # ac_fn_c_try_cpp LINENO
1816 # ----------------------
1817 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 if { { ac_try="$ac_cpp conftest.$ac_ext"
1823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1824 *) ac_try_echo
=$ac_try;;
1826 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1830 if test -s conftest.err
; then
1831 grep -v '^ *+' conftest.err
>conftest.er1
1832 cat conftest.er1
>&5
1833 mv -f conftest.er1 conftest.err
1835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836 test $ac_status = 0; } > conftest.i
&& {
1837 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1838 test ! -s conftest.err
1842 $as_echo "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.
$ac_ext >&5
1847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848 as_fn_set_status
$ac_retval
1852 # ac_fn_c_try_link LINENO
1853 # -----------------------
1854 # Try to link conftest.$ac_ext, and return whether this succeeded.
1857 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1858 rm -f conftest.
$ac_objext conftest
$ac_exeext
1859 if { { ac_try
="$ac_link"
1861 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1862 *) ac_try_echo=$ac_try;;
1864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1865 $as_echo "$ac_try_echo"; } >&5
1866 (eval "$ac_link") 2>conftest.err
1868 if test -s conftest.err; then
1869 grep -v '^ *+' conftest.err >conftest.er1
1870 cat conftest.er1 >&5
1871 mv -f conftest.er1 conftest.err
1873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874 test $ac_status = 0; } && {
1875 test -z "$ac_c_werror_flag" ||
1876 test ! -s conftest.err
1877 } && test -s conftest$ac_exeext && {
1878 test "$cross_compiling" = yes ||
1879 test -x conftest$ac_exeext
1883 $as_echo "$as_me: failed program was:" >&5
1884 sed 's/^/| /' conftest.$ac_ext >&5
1888 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1889 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1890 # interfere with the next link command; also delete a directory that is
1891 # left behind by Apple's compiler. We do this before executing the actions.
1892 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894 as_fn_set_status $ac_retval
1896 } # ac_fn_c_try_link
1898 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1899 # -------------------------------------------------------
1900 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1901 # the include files in INCLUDES and setting the cache variable VAR
1903 ac_fn_c_check_header_mongrel ()
1905 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1906 if eval \${$3+:} false; then :
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1908 $as_echo_n "checking for $2... " >&6; }
1909 if eval \${$3+:} false; then :
1910 $as_echo_n "(cached) " >&6
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914 $as_echo "$ac_res" >&6; }
1916 # Is the header compilable?
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1918 $as_echo_n "checking $2 usability... " >&6; }
1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h. */
1924 if ac_fn_c_try_compile "$LINENO"; then :
1925 ac_header_compiler=yes
1927 ac_header_compiler=no
1929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1931 $as_echo "$ac_header_compiler" >&6; }
1933 # Is the header present?
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1935 $as_echo_n "checking $2 presence... " >&6; }
1936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h. */
1940 if ac_fn_c_try_cpp "$LINENO"; then :
1941 ac_header_preproc=yes
1943 ac_header_preproc=no
1945 rm -f conftest.err conftest.i conftest.$ac_ext
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1947 $as_echo "$ac_header_preproc" >&6; }
1949 # So? What about this header?
1950 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1953 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1955 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1959 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1961 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1963 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1965 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1967 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1971 $as_echo_n "checking for $2... " >&6; }
1972 if eval \${$3+:} false; then :
1973 $as_echo_n "(cached) " >&6
1975 eval "$3=\$ac_header_compiler"
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1979 $as_echo "$ac_res" >&6; }
1981 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1983 } # ac_fn_c_check_header_mongrel
1985 # ac_fn_c_try_run LINENO
1986 # ----------------------
1987 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1988 # that executables *can* be run.
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 if { { ac_try="$ac_link"
1994 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1995 *) ac_try_echo
=$ac_try;;
1997 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999 (eval "$ac_link") 2>&5
2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2003 { { case "(($ac_try" in
2004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2005 *) ac_try_echo=$ac_try;;
2007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2008 $as_echo "$ac_try_echo"; } >&5
2009 (eval "$ac_try") 2>&5
2011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2012 test $ac_status = 0; }; }; then :
2015 $as_echo "$as_me: program exited with status $ac_status" >&5
2016 $as_echo "$as_me: failed program was:" >&5
2017 sed 's/^/| /' conftest.$ac_ext >&5
2019 ac_retval=$ac_status
2021 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2023 as_fn_set_status $ac_retval
2027 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2028 # -------------------------------------------------------
2029 # Tests whether HEADER exists and can be compiled using the include files in
2030 # INCLUDES, setting the cache variable VAR accordingly.
2031 ac_fn_c_check_header_compile ()
2033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2035 $as_echo_n "checking for $2... " >&6; }
2036 if eval \${$3+:} false; then :
2037 $as_echo_n "(cached) " >&6
2039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040 /* end confdefs.h. */
2044 if ac_fn_c_try_compile "$LINENO"; then :
2049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2054 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2056 } # ac_fn_c_check_header_compile
2058 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2059 # ----------------------------------------------------
2060 # Tries to find if the field MEMBER exists in type AGGR, after including
2061 # INCLUDES, setting cache variable VAR accordingly.
2062 ac_fn_c_check_member ()
2064 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2066 $as_echo_n "checking for $2.$3... " >&6; }
2067 if eval \${$4+:} false; then :
2068 $as_echo_n "(cached) " >&6
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2083 if ac_fn_c_try_compile "$LINENO"; then :
2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h. */
2093 if (sizeof ac_aggr.$3)
2099 if ac_fn_c_try_compile "$LINENO"; then :
2104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2110 $as_echo "$ac_res" >&6; }
2111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2113 } # ac_fn_c_check_member
2115 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2116 # ---------------------------------------------
2117 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2119 ac_fn_c_check_decl ()
2121 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2122 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2123 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2125 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2126 if eval \${$3+:} false; then :
2127 $as_echo_n "(cached) " >&6
2129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2130 /* end confdefs.h. */
2135 #ifndef $as_decl_name
2137 (void) $as_decl_use;
2139 (void) $as_decl_name;
2147 if ac_fn_c_try_compile "$LINENO"; then :
2152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2156 $as_echo "$ac_res" >&6; }
2157 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2159 } # ac_fn_c_check_decl
2161 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2162 # -------------------------------------------
2163 # Tests whether TYPE exists after having included INCLUDES, setting cache
2164 # variable VAR accordingly.
2165 ac_fn_c_check_type ()
2167 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2169 $as_echo_n "checking for $2... " >&6; }
2170 if eval \${$3+:} false; then :
2171 $as_echo_n "(cached) " >&6
2174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2175 /* end confdefs.h. */
2186 if ac_fn_c_try_compile "$LINENO"; then :
2187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2188 /* end confdefs.h. */
2199 if ac_fn_c_try_compile "$LINENO"; then :
2204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2210 $as_echo "$ac_res" >&6; }
2211 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2213 } # ac_fn_c_check_type
2215 # ac_fn_c_check_func LINENO FUNC VAR
2216 # ----------------------------------
2217 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2218 ac_fn_c_check_func ()
2220 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2222 $as_echo_n "checking for $2... " >&6; }
2223 if eval \${$3+:} false; then :
2224 $as_echo_n "(cached) " >&6
2226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2227 /* end confdefs.h. */
2228 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2230 #define $2 innocuous_$2
2232 /* System header to define __stub macros and hopefully few prototypes,
2233 which can conflict with char $2 (); below.
2234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2235 <limits.h> exists even on freestanding compilers. */
2238 # include <limits.h>
2240 # include <assert.h>
2245 /* Override any GCC internal prototype to avoid an error.
2246 Use char because int might match the return type of a GCC
2247 builtin and then its argument prototype would still apply. */
2252 /* The GNU C library defines this for functions which it implements
2253 to always fail with ENOSYS. Some functions are actually named
2254 something starting with __ and the normal name is an alias. */
2255 #if defined __stub_$2 || defined __stub___$2
2267 if ac_fn_c_try_link "$LINENO"; then :
2272 rm -f core conftest.err conftest.$ac_objext \
2273 conftest$ac_exeext conftest.$ac_ext
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2277 $as_echo "$ac_res" >&6; }
2278 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2280 } # ac_fn_c_check_func
2281 cat >config.log <<_ACEOF
2282 This file contains any messages produced by compilers while
2283 running configure, to aid debugging if configure makes a mistake.
2285 It was created by $as_me, which was
2286 generated by GNU Autoconf 2.69. Invocation command line was
2298 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2299 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2300 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2301 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2302 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2304 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2305 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2307 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2308 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2309 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2310 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2311 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2312 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2313 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir=.
2322 $as_echo "PATH: $as_dir"
2338 # Keep a trace of the command line.
2339 # Strip out --no-create and --no-recursion so they do not pile up.
2340 # Strip out --silent because we don't want to record it for future runs.
2341 # Also quote any args containing shell meta-characters.
2342 # Make two passes to allow for proper duplicate-argument suppression.
2346 ac_must_keep_next=false
2352 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2353 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2354 | -silent | --silent | --silen | --sile | --sil)
2357 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2360 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2362 as_fn_append ac_configure_args1 " '$ac_arg'"
2363 if test $ac_must_keep_next = true; then
2364 ac_must_keep_next=false # Got value, back to normal.
2367 *=* | --config-cache | -C | -disable-* | --disable-* \
2368 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2369 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2370 | -with-* | --with-* | -without-* | --without-* | --x)
2371 case "$ac_configure_args0 " in
2372 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2375 -* ) ac_must_keep_next=true ;;
2378 as_fn_append ac_configure_args " '$ac_arg'"
2383 { ac_configure_args0=; unset ac_configure_args0;}
2384 { ac_configure_args1=; unset ac_configure_args1;}
2386 # When interrupted or exit'd, cleanup temporary files, and complete
2387 # config.log. We remove comments because anyway the quotes in there
2388 # would cause problems or look ugly.
2389 # WARNING: Use '\'' to represent an apostrophe within the trap.
2390 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2391 trap 'exit_status=$?
2392 # Save into config.log some information that might help in debugging.
2396 $as_echo "## ---------------- ##
2397 ## Cache variables. ##
2398 ## ---------------- ##"
2400 # The following way of writing the cache mishandles newlines in values,
2402 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2403 eval ac_val=\$$ac_var
2407 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2408 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2411 _ | IFS | as_nl) ;; #(
2412 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2413 *) { eval $ac_var=; unset $ac_var;} ;;
2418 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2419 *${as_nl}ac_space=\ *)
2421 "s/'\''/'\''\\\\'\'''\''/g;
2422 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2425 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2432 $as_echo "## ----------------- ##
2433 ## Output variables. ##
2434 ## ----------------- ##"
2436 for ac_var in $ac_subst_vars
2438 eval ac_val=\$$ac_var
2440 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2442 $as_echo "$ac_var='\''$ac_val'\''"
2446 if test -n "$ac_subst_files"; then
2447 $as_echo "## ------------------- ##
2448 ## File substitutions. ##
2449 ## ------------------- ##"
2451 for ac_var in $ac_subst_files
2453 eval ac_val=\$$ac_var
2455 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2457 $as_echo "$ac_var='\''$ac_val'\''"
2462 if test -s confdefs.h; then
2463 $as_echo "## ----------- ##
2470 test "$ac_signal" != 0 &&
2471 $as_echo "$as_me: caught signal $ac_signal"
2472 $as_echo "$as_me: exit $exit_status"
2474 rm -f core *.core core.conftest.* &&
2475 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2478 for ac_signal in 1 2 13 15; do
2479 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2483 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2484 rm -f -r conftest* confdefs.h
2486 $as_echo "/* confdefs.h */" > confdefs.h
2488 # Predefined preprocessor variables.
2490 cat >>confdefs.h <<_ACEOF
2491 #define PACKAGE_NAME "$PACKAGE_NAME"
2494 cat >>confdefs.h <<_ACEOF
2495 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2498 cat >>confdefs.h <<_ACEOF
2499 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2502 cat >>confdefs.h <<_ACEOF
2503 #define PACKAGE_STRING "$PACKAGE_STRING"
2506 cat >>confdefs.h <<_ACEOF
2507 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2510 cat >>confdefs.h <<_ACEOF
2511 #define PACKAGE_URL "$PACKAGE_URL"
2515 # Let the site file select an alternate cache file if it wants to.
2516 # Prefer an explicitly selected file to automatically selected ones.
2519 if test -n "$CONFIG_SITE"; then
2520 # We do not want a PATH search for config.site.
2521 case $CONFIG_SITE in #((
2522 -*) ac_site_file1=./$CONFIG_SITE;;
2523 */*) ac_site_file1=$CONFIG_SITE;;
2524 *) ac_site_file1=./$CONFIG_SITE;;
2526 elif test "x$prefix" != xNONE; then
2527 ac_site_file1=$prefix/share/config.site
2528 ac_site_file2=$prefix/etc/config.site
2530 ac_site_file1=$ac_default_prefix/share/config.site
2531 ac_site_file2=$ac_default_prefix/etc/config.site
2533 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2535 test "x$ac_site_file" = xNONE && continue
2536 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2538 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2539 sed 's/^/| /' "$ac_site_file" >&5
2541 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2543 as_fn_error $? "failed to load site
script $ac_site_file
2544 See \
`config.log' for more details" "$LINENO" 5; }
2548 if test -r "$cache_file"; then
2549 # Some versions of bash will fail to source /dev/null (special files
2550 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2551 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2553 $as_echo "$as_me: loading cache $cache_file" >&6;}
2555 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2556 *) . "./$cache_file";;
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2561 $as_echo "$as_me: creating cache $cache_file" >&6;}
2565 as_fn_append ac_header_list " stdlib.h"
2566 as_fn_append ac_header_list " unistd.h"
2567 as_fn_append ac_header_list " sys/param.h"
2568 # Check that the precious variables saved in the cache have kept the same
2570 ac_cache_corrupted=false
2571 for ac_var in $ac_precious_vars; do
2572 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2573 eval ac_new_set=\$ac_env_${ac_var}_set
2574 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2575 eval ac_new_val=\$ac_env_${ac_var}_value
2576 case $ac_old_set,$ac_new_set in
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2579 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2580 ac_cache_corrupted=: ;;
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2583 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2584 ac_cache_corrupted=: ;;
2587 if test "x$ac_old_val" != "x$ac_new_val"; then
2588 # differences in whitespace do not lead to failure.
2589 ac_old_val_w=`echo x
$ac_old_val`
2590 ac_new_val_w=`echo x
$ac_new_val`
2591 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2593 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2594 ac_cache_corrupted=:
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2597 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2598 eval $ac_var=\$ac_old_val
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2601 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2603 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2606 # Pass precious variables to config.status.
2607 if test "$ac_new_set" = set; then
2609 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2610 *) ac_arg=$ac_var=$ac_new_val ;;
2612 case " $ac_configure_args " in
2613 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2614 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2618 if $ac_cache_corrupted; then
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2622 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2623 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2625 ## -------------------- ##
2626 ## Main body of script. ##
2627 ## -------------------- ##
2630 ac_cpp='$CPP $CPPFLAGS'
2631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2638 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2639 if test -f "$ac_dir/install-sh"; then
2641 ac_install_sh="$ac_aux_dir/install-sh -c"
2643 elif test -f "$ac_dir/install.sh"; then
2645 ac_install_sh="$ac_aux_dir/install.sh -c"
2647 elif test -f "$ac_dir/shtool"; then
2649 ac_install_sh="$ac_aux_dir/shtool install -c"
2653 if test -z "$ac_aux_dir"; then
2654 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2657 # These three variables are undocumented and unsupported,
2658 # and are intended to be withdrawn in a future Autoconf release.
2659 # They can cause serious problems if a builder's source tree is in a directory
2660 # whose full name contains unusual characters.
2661 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2662 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2663 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2667 # Check what host we are running on.
2668 # If a target is not suggested, we use this one.
2669 # Note that what we call a target, Autoconf calls a host.
2670 # Make sure we can run config.sub.
2671 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2672 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2675 $as_echo_n "checking build system type... " >&6; }
2676 if ${ac_cv_build+:} false; then :
2677 $as_echo_n "(cached) " >&6
2679 ac_build_alias=$build_alias
2680 test "x$ac_build_alias" = x &&
2681 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2682 test "x$ac_build_alias" = x &&
2683 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2684 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2685 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2689 $as_echo "$ac_cv_build" >&6; }
2690 case $ac_cv_build in
2692 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2695 ac_save_IFS=$IFS; IFS='-'
2701 # Remember, the first character of IFS is used to create $*,
2702 # except with old shells:
2705 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2709 $as_echo_n "checking host system type... " >&6; }
2710 if ${ac_cv_host+:} false; then :
2711 $as_echo_n "(cached) " >&6
2713 if test "x$host_alias" = x; then
2714 ac_cv_host=$ac_cv_build
2716 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2717 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2722 $as_echo "$ac_cv_host" >&6; }
2725 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2728 ac_save_IFS=$IFS; IFS='-'
2734 # Remember, the first character of IFS is used to create $*,
2735 # except with old shells:
2738 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2742 # The AROS target is slightly different to the normal GNU style
2743 # format. We don't have the middle part, and we reverse the order
2744 # of the $(CPU) and $(OS) bits.
2746 # Don't strip the version of the target yet, it might be
2747 # useful on some systems.
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2750 $as_echo_n "checking for AROS style target... " >&6; }
2752 if test "$target" = "NONE" ; then
2753 target=$host_os-$host_cpu
2755 if test "$target" = "" ; then
2756 target=$host_os-$host_cpu
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2760 $as_echo "$target" >&6; }
2762 if test "$host_os" = "mingw32" ; then
2766 # Don't know where else to put this...
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2768 $as_echo_n "checking building AROS in... " >&6; }
2769 AROS_BUILDDIR=`${PWDCMD-pwd}`
2770 AROS_BUILDDIR_UNIX=${PWD}
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2772 $as_echo "$AROS_BUILDDIR" >&6; }
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2775 $as_echo_n "checking AROS source in... " >&6; }
2776 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2779 $as_echo "$SRCDIR" >&6; }
2781 # Parse the target field into something useful.
2783 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2784 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2787 # Some debug output, to be removed again.
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2789 $as_echo_n "checking for target system (debug output)... " >&6; }
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2791 $as_echo "$target_os" >&6; }
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2793 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2795 $as_echo "$target_cpu" >&6; }
2797 aros_default_wbwidth=800
2798 aros_default_wbheight=600
2799 aros_default_wbdepth=4
2802 # The first step is to find the host binaries.
2803 # Check for a compiler.
2804 # Due to a bug in autoconf check for c++ compiler first.
2805 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2807 ac_cpp='$CXXCPP $CPPFLAGS'
2808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2811 if test -z "$CXX"; then
2812 if test -n "$CCC"; then
2815 if test -n "$ac_tool_prefix"; then
2816 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2818 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2819 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2821 $as_echo_n "checking for $ac_word... " >&6; }
2822 if ${ac_cv_prog_CXX+:} false; then :
2823 $as_echo_n "(cached) " >&6
2825 if test -n "$CXX"; then
2826 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832 test -z "$as_dir" && as_dir=.
2833 for ac_exec_ext in '' $ac_executable_extensions; do
2834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2835 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2846 if test -n "$CXX"; then
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2848 $as_echo "$CXX" >&6; }
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2851 $as_echo "no" >&6; }
2855 test -n "$CXX" && break
2858 if test -z "$CXX"; then
2860 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2862 # Extract the first word of "$ac_prog", so it can be a program name with args.
2863 set dummy $ac_prog; ac_word=$2
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2865 $as_echo_n "checking for $ac_word... " >&6; }
2866 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2867 $as_echo_n "(cached) " >&6
2869 if test -n "$ac_ct_CXX"; then
2870 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir=.
2877 for ac_exec_ext in '' $ac_executable_extensions; do
2878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2879 ac_cv_prog_ac_ct_CXX="$ac_prog"
2880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2889 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2890 if test -n "$ac_ct_CXX"; then
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2892 $as_echo "$ac_ct_CXX" >&6; }
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
2899 test -n "$ac_ct_CXX" && break
2902 if test "x$ac_ct_CXX" = x; then
2905 case $cross_compiling:$ac_tool_warned in
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2909 ac_tool_warned=yes ;;
2917 # Provide some information about the compiler.
2918 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2921 for ac_option in --version -v -V -qversion; do
2922 { { ac_try="$ac_compiler $ac_option >&5"
2924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2925 *) ac_try_echo
=$ac_try;;
2927 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2928 $as_echo "$ac_try_echo"; } >&5
2929 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2931 if test -s conftest.err
; then
2933 ... rest of stderr output deleted ...
2934 10q' conftest.err
>conftest.er1
2935 cat conftest.er1
>&5
2937 rm -f conftest.er1 conftest.err
2938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2939 test $ac_status = 0; }
2942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2943 /* end confdefs.h. */
2953 ac_clean_files_save
=$ac_clean_files
2954 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2955 # Try to create an executable without -o first, disregard a.out.
2956 # It will help us diagnose broken compilers, and finding out an intuition
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2959 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2960 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2962 # The possible output files:
2963 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2966 for ac_file
in $ac_files
2969 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2970 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2975 if { { ac_try
="$ac_link_default"
2977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2978 *) ac_try_echo=$ac_try;;
2980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2981 $as_echo "$ac_try_echo"; } >&5
2982 (eval "$ac_link_default") 2>&5
2984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2985 test $ac_status = 0; }; then :
2986 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2987 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2988 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2989 # so that the user can short-circuit this test for compilers unknown to
2991 for ac_file in $ac_files ''
2993 test -f "$ac_file" || continue
2995 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2998 # We found the default executable, but exeext='' is most
3002 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3004 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3006 # We set ac_cv_exeext here because the later test for it is not
3007 # safe: cross compilers may not add the suffix if given an `-o'
3008 # argument, so we may need to know it at that point already.
3009 # Even if this section looks crufty: it has the advantage of
3016 test "$ac_cv_exeext" = no && ac_cv_exeext=
3021 if test -z "$ac_file"; then :
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3023 $as_echo "no" >&6; }
3024 $as_echo "$as_me: failed program was:" >&5
3025 sed 's
/^
/|
/' conftest.$ac_ext >&5
3027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3028 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3029 as_fn_error 77 "C++ compiler cannot create executables
3030 See \`config.log
' for more details" "$LINENO" 5; }
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3033 $as_echo "yes" >&6; }
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3036 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3038 $as_echo "$ac_file" >&6; }
3039 ac_exeext=$ac_cv_exeext
3041 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3042 ac_clean_files=$ac_clean_files_save
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3044 $as_echo_n "checking for suffix of executables... " >&6; }
3045 if { { ac_try="$ac_link"
3047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048 *) ac_try_echo=$ac_try;;
3050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3051 $as_echo "$ac_try_echo"; } >&5
3052 (eval "$ac_link") 2>&5
3054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3055 test $ac_status = 0; }; then :
3056 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3057 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3058 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3060 for ac_file
in conftest.exe conftest conftest.
*; do
3061 test -f "$ac_file" ||
continue
3063 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3064 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3072 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3073 See \`config.log' for more details" "$LINENO" 5; }
3075 rm -f conftest conftest
$ac_cv_exeext
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3077 $as_echo "$ac_cv_exeext" >&6; }
3079 rm -f conftest.
$ac_ext
3080 EXEEXT
=$ac_cv_exeext
3082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3083 /* end confdefs.h. */
3088 FILE *f = fopen ("conftest.out", "w");
3089 return ferror (f) || fclose (f) != 0;
3095 ac_clean_files
="$ac_clean_files conftest.out"
3096 # Check that the compiler produces executables we can run. If not, either
3097 # the compiler is broken, or we cross compile.
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3099 $as_echo_n "checking whether we are cross compiling... " >&6; }
3100 if test "$cross_compiling" != yes; then
3101 { { ac_try
="$ac_link"
3103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3104 *) ac_try_echo=$ac_try;;
3106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3107 $as_echo "$ac_try_echo"; } >&5
3108 (eval "$ac_link") 2>&5
3110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3111 test $ac_status = 0; }
3112 if { ac_try='./conftest$ac_cv_exeext'
3113 { { case "(($ac_try" in
3114 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3115 *) ac_try_echo
=$ac_try;;
3117 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3118 $as_echo "$ac_try_echo"; } >&5
3119 (eval "$ac_try") 2>&5
3121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3122 test $ac_status = 0; }; }; then
3125 if test "$cross_compiling" = maybe
; then
3128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3130 as_fn_error $?
"cannot run C++ compiled programs.
3131 If you meant to cross compile, use \`--host'.
3132 See \`config.log' for more details" "$LINENO" 5; }
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3137 $as_echo "$cross_compiling" >&6; }
3139 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3140 ac_clean_files
=$ac_clean_files_save
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3142 $as_echo_n "checking for suffix of object files... " >&6; }
3143 if ${ac_cv_objext+:} false
; then :
3144 $as_echo_n "(cached) " >&6
3146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3157 rm -f conftest.o conftest.obj
3158 if { { ac_try
="$ac_compile"
3160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3161 *) ac_try_echo=$ac_try;;
3163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3164 $as_echo "$ac_try_echo"; } >&5
3165 (eval "$ac_compile") 2>&5
3167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3168 test $ac_status = 0; }; then :
3169 for ac_file in conftest.o conftest.obj conftest.*; do
3170 test -f "$ac_file" || continue;
3172 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3173 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3178 $as_echo "$as_me: failed program was:" >&5
3179 sed 's/^/| /' conftest.$ac_ext >&5
3181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3183 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3184 See \
`config.log' for more details" "$LINENO" 5; }
3186 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3189 $as_echo "$ac_cv_objext" >&6; }
3190 OBJEXT=$ac_cv_objext
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3193 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3194 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3195 $as_echo_n "(cached) " >&6
3197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3198 /* end confdefs.h. */
3211 if ac_fn_cxx_try_compile "$LINENO"; then :
3216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3217 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3221 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3222 if test $ac_compiler_gnu = yes; then
3227 ac_test_CXXFLAGS=${CXXFLAGS+set}
3228 ac_save_CXXFLAGS=$CXXFLAGS
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3230 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3231 if ${ac_cv_prog_cxx_g+:} false; then :
3232 $as_echo_n "(cached) " >&6
3234 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3235 ac_cxx_werror_flag=yes
3238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3239 /* end confdefs.h. */
3249 if ac_fn_cxx_try_compile "$LINENO"; then :
3250 ac_cv_prog_cxx_g=yes
3253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254 /* end confdefs.h. */
3264 if ac_fn_cxx_try_compile "$LINENO"; then :
3267 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270 /* end confdefs.h. */
3280 if ac_fn_cxx_try_compile "$LINENO"; then :
3281 ac_cv_prog_cxx_g=yes
3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3288 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3291 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3292 if test "$ac_test_CXXFLAGS" = set; then
3293 CXXFLAGS=$ac_save_CXXFLAGS
3294 elif test $ac_cv_prog_cxx_g = yes; then
3295 if test "$GXX" = yes; then
3301 if test "$GXX" = yes; then
3308 ac_cpp='$CPP $CPPFLAGS'
3309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3314 ac_cpp='$CPP $CPPFLAGS'
3315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3318 if test -n "$ac_tool_prefix"; then
3319 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3320 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3322 $as_echo_n "checking for $ac_word... " >&6; }
3323 if ${ac_cv_prog_CC+:} false; then :
3324 $as_echo_n "(cached) " >&6
3326 if test -n "$CC"; then
3327 ac_cv_prog_CC="$CC" # Let the user override the test.
3329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3333 test -z "$as_dir" && as_dir=.
3334 for ac_exec_ext in '' $ac_executable_extensions; do
3335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3336 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3347 if test -n "$CC"; then
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3349 $as_echo "$CC" >&6; }
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3352 $as_echo "no" >&6; }
3357 if test -z "$ac_cv_prog_CC"; then
3359 # Extract the first word of "gcc", so it can be a program name with args.
3360 set dummy gcc; ac_word=$2
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3362 $as_echo_n "checking for $ac_word... " >&6; }
3363 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3364 $as_echo_n "(cached) " >&6
3366 if test -n "$ac_ct_CC"; then
3367 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373 test -z "$as_dir" && as_dir=.
3374 for ac_exec_ext in '' $ac_executable_extensions; do
3375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3376 ac_cv_prog_ac_ct_CC="gcc"
3377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3386 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3387 if test -n "$ac_ct_CC"; then
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3389 $as_echo "$ac_ct_CC" >&6; }
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3392 $as_echo "no" >&6; }
3395 if test "x$ac_ct_CC" = x; then
3398 case $cross_compiling:$ac_tool_warned in
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3401 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3402 ac_tool_warned=yes ;;
3410 if test -z "$CC"; then
3411 if test -n "$ac_tool_prefix"; then
3412 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3413 set dummy ${ac_tool_prefix}cc; ac_word=$2
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3415 $as_echo_n "checking for $ac_word... " >&6; }
3416 if ${ac_cv_prog_CC+:} false; then :
3417 $as_echo_n "(cached) " >&6
3419 if test -n "$CC"; then
3420 ac_cv_prog_CC="$CC" # Let the user override the test.
3422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3426 test -z "$as_dir" && as_dir=.
3427 for ac_exec_ext in '' $ac_executable_extensions; do
3428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3429 ac_cv_prog_CC="${ac_tool_prefix}cc"
3430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3440 if test -n "$CC"; then
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3442 $as_echo "$CC" >&6; }
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3445 $as_echo "no" >&6; }
3451 if test -z "$CC"; then
3452 # Extract the first word of "cc", so it can be a program name with args.
3453 set dummy cc; ac_word=$2
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3455 $as_echo_n "checking for $ac_word... " >&6; }
3456 if ${ac_cv_prog_CC+:} false; then :
3457 $as_echo_n "(cached) " >&6
3459 if test -n "$CC"; then
3460 ac_cv_prog_CC="$CC" # Let the user override the test.
3463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3467 test -z "$as_dir" && as_dir=.
3468 for ac_exec_ext in '' $ac_executable_extensions; do
3469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3470 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3471 ac_prog_rejected=yes
3475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3482 if test $ac_prog_rejected = yes; then
3483 # We found a bogon in the path, so make sure we never use it.
3484 set dummy $ac_cv_prog_CC
3486 if test $# != 0; then
3487 # We chose a different compiler from the bogus one.
3488 # However, it has the same basename, so the bogon will be chosen
3489 # first if we set CC to just the basename; use the full file name.
3491 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3497 if test -n "$CC"; then
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3499 $as_echo "$CC" >&6; }
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3502 $as_echo "no" >&6; }
3507 if test -z "$CC"; then
3508 if test -n "$ac_tool_prefix"; then
3509 for ac_prog in cl.exe
3511 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3512 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3514 $as_echo_n "checking for $ac_word... " >&6; }
3515 if ${ac_cv_prog_CC+:} false; then :
3516 $as_echo_n "(cached) " >&6
3518 if test -n "$CC"; then
3519 ac_cv_prog_CC="$CC" # Let the user override the test.
3521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525 test -z "$as_dir" && as_dir=.
3526 for ac_exec_ext in '' $ac_executable_extensions; do
3527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3528 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3539 if test -n "$CC"; then
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3541 $as_echo "$CC" >&6; }
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3544 $as_echo "no" >&6; }
3548 test -n "$CC" && break
3551 if test -z "$CC"; then
3553 for ac_prog in cl.exe
3555 # Extract the first word of "$ac_prog", so it can be a program name with args.
3556 set dummy $ac_prog; ac_word=$2
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3558 $as_echo_n "checking for $ac_word... " >&6; }
3559 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3560 $as_echo_n "(cached) " >&6
3562 if test -n "$ac_ct_CC"; then
3563 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3569 test -z "$as_dir" && as_dir=.
3570 for ac_exec_ext in '' $ac_executable_extensions; do
3571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3572 ac_cv_prog_ac_ct_CC="$ac_prog"
3573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3582 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3583 if test -n "$ac_ct_CC"; then
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3585 $as_echo "$ac_ct_CC" >&6; }
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588 $as_echo "no" >&6; }
3592 test -n "$ac_ct_CC" && break
3595 if test "x$ac_ct_CC" = x; then
3598 case $cross_compiling:$ac_tool_warned in
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3602 ac_tool_warned=yes ;;
3611 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3613 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3614 See \
`config.log' for more details" "$LINENO" 5; }
3616 # Provide some information about the compiler.
3617 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3620 for ac_option in --version -v -V -qversion; do
3621 { { ac_try="$ac_compiler $ac_option >&5"
3623 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3624 *) ac_try_echo
=$ac_try;;
3626 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3627 $as_echo "$ac_try_echo"; } >&5
3628 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3630 if test -s conftest.err
; then
3632 ... rest of stderr output deleted ...
3633 10q' conftest.err
>conftest.er1
3634 cat conftest.er1
>&5
3636 rm -f conftest.er1 conftest.err
3637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3638 test $ac_status = 0; }
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3642 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3643 if ${ac_cv_c_compiler_gnu+:} false
; then :
3644 $as_echo_n "(cached) " >&6
3646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3647 /* end confdefs.h. */
3660 if ac_fn_c_try_compile
"$LINENO"; then :
3665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3666 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3670 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3671 if test $ac_compiler_gnu = yes; then
3676 ac_test_CFLAGS
=${CFLAGS+set}
3677 ac_save_CFLAGS
=$CFLAGS
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3679 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3680 if ${ac_cv_prog_cc_g+:} false
; then :
3681 $as_echo_n "(cached) " >&6
3683 ac_save_c_werror_flag
=$ac_c_werror_flag
3684 ac_c_werror_flag
=yes
3687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3688 /* end confdefs.h. */
3698 if ac_fn_c_try_compile
"$LINENO"; then :
3702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3703 /* end confdefs.h. */
3713 if ac_fn_c_try_compile
"$LINENO"; then :
3716 ac_c_werror_flag
=$ac_save_c_werror_flag
3718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3719 /* end confdefs.h. */
3729 if ac_fn_c_try_compile
"$LINENO"; then :
3732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3737 ac_c_werror_flag
=$ac_save_c_werror_flag
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3740 $as_echo "$ac_cv_prog_cc_g" >&6; }
3741 if test "$ac_test_CFLAGS" = set; then
3742 CFLAGS
=$ac_save_CFLAGS
3743 elif test $ac_cv_prog_cc_g = yes; then
3744 if test "$GCC" = yes; then
3750 if test "$GCC" = yes; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3757 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3758 if ${ac_cv_prog_cc_c89+:} false
; then :
3759 $as_echo_n "(cached) " >&6
3761 ac_cv_prog_cc_c89
=no
3763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3764 /* end confdefs.h. */
3768 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3769 struct buf { int x; };
3770 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3771 static char *e (p, i)
3777 static char *f (char * (*g) (char **, int), char **p, ...)
3782 s = g (p, va_arg (v,int));
3787 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3788 function prototypes and stuff, but not '\xHH' hex character constants.
3789 These don't provoke an error unfortunately, instead are silently treated
3790 as 'x'. The following induces an error, until -std is added to get
3791 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3792 array size at least. It's necessary to write '\x00'==0 to get something
3793 that's true only with -std. */
3794 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3796 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3797 inside strings and character constants. */
3799 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3801 int test (int i, double x);
3802 struct s1 {int (*f) (int a);};
3803 struct s2 {int (*f) (double a);};
3804 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3810 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3815 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3816 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3818 CC
="$ac_save_CC $ac_arg"
3819 if ac_fn_c_try_compile
"$LINENO"; then :
3820 ac_cv_prog_cc_c89
=$ac_arg
3822 rm -f core conftest.err conftest.
$ac_objext
3823 test "x$ac_cv_prog_cc_c89" != "xno" && break
3825 rm -f conftest.
$ac_ext
3830 case "x$ac_cv_prog_cc_c89" in
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3833 $as_echo "none needed" >&6; } ;;
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3836 $as_echo "unsupported" >&6; } ;;
3838 CC
="$CC $ac_cv_prog_cc_c89"
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3840 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3842 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3847 ac_cpp
='$CPP $CPPFLAGS'
3848 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3849 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3850 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3852 case $ac_cv_prog_cc_stdc in #(
3854 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3857 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3858 if ${ac_cv_prog_cc_c99+:} false
; then :
3859 $as_echo_n "(cached) " >&6
3861 ac_cv_prog_cc_c99
=no
3863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3866 #include <stdbool.h>
3871 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3872 #define debug(...) fprintf (stderr, __VA_ARGS__)
3873 #define showlist(...) puts (#__VA_ARGS__)
3874 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3876 test_varargs_macros (void)
3881 debug ("X = %d\n", x);
3882 showlist (The first, second, and third items.);
3883 report (x>y, "x is %d but y is %d", x, y);
3886 // Check long long types.
3887 #define BIG64 18446744073709551615ull
3888 #define BIG32 4294967295ul
3889 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3891 your preprocessor is broken;
3895 your preprocessor is broken;
3897 static long long int bignum = -9223372036854775807LL;
3898 static unsigned long long int ubignum = BIG64;
3900 struct incomplete_array
3908 const wchar_t *name;
3912 typedef const char *ccp;
3915 test_restrict (ccp restrict text)
3917 // See if C++-style comments work.
3918 // Iterate through items via the restricted pointer.
3919 // Also check for declarations in for loops.
3920 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3925 // Check varargs and va_copy.
3927 test_varargs (const char *format, ...)
3930 va_start (args, format);
3932 va_copy (args_copy, args);
3943 str = va_arg (args_copy, const char *);
3946 number = va_arg (args_copy, int);
3949 fnumber = va_arg (args_copy, double);
3964 _Bool success = false;
3967 if (test_restrict ("String literal") == 0)
3969 char *restrict newvar = "Another string";
3972 test_varargs ("s, d' f .", "string", 65, 34.234);
3973 test_varargs_macros ();
3975 // Check flexible array members.
3976 struct incomplete_array *ia =
3977 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3979 for (int i = 0; i < ia->datasize; ++i)
3980 ia->data[i] = i * 1.234;
3982 // Check named initializers.
3983 struct named_init ni = {
3985 .name = L"Test wide string",
3986 .average = 543.34343,
3991 int dynamic_array[ni.number];
3992 dynamic_array[ni.number - 1] = 543;
3994 // work around unused variable warnings
3995 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3996 || dynamic_array[ni.number - 1] != 543);
4002 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4004 CC
="$ac_save_CC $ac_arg"
4005 if ac_fn_c_try_compile
"$LINENO"; then :
4006 ac_cv_prog_cc_c99
=$ac_arg
4008 rm -f core conftest.err conftest.
$ac_objext
4009 test "x$ac_cv_prog_cc_c99" != "xno" && break
4011 rm -f conftest.
$ac_ext
4016 case "x$ac_cv_prog_cc_c99" in
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4019 $as_echo "none needed" >&6; } ;;
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4022 $as_echo "unsupported" >&6; } ;;
4024 CC
="$CC $ac_cv_prog_cc_c99"
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4026 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4028 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4029 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4032 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4033 if ${ac_cv_prog_cc_c89+:} false
; then :
4034 $as_echo_n "(cached) " >&6
4036 ac_cv_prog_cc_c89
=no
4038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4039 /* end confdefs.h. */
4043 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4044 struct buf { int x; };
4045 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4046 static char *e (p, i)
4052 static char *f (char * (*g) (char **, int), char **p, ...)
4057 s = g (p, va_arg (v,int));
4062 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4063 function prototypes and stuff, but not '\xHH' hex character constants.
4064 These don't provoke an error unfortunately, instead are silently treated
4065 as 'x'. The following induces an error, until -std is added to get
4066 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4067 array size at least. It's necessary to write '\x00'==0 to get something
4068 that's true only with -std. */
4069 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4071 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4072 inside strings and character constants. */
4074 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4076 int test (int i, double x);
4077 struct s1 {int (*f) (int a);};
4078 struct s2 {int (*f) (double a);};
4079 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4085 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4090 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4091 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4093 CC
="$ac_save_CC $ac_arg"
4094 if ac_fn_c_try_compile
"$LINENO"; then :
4095 ac_cv_prog_cc_c89
=$ac_arg
4097 rm -f core conftest.err conftest.
$ac_objext
4098 test "x$ac_cv_prog_cc_c89" != "xno" && break
4100 rm -f conftest.
$ac_ext
4105 case "x$ac_cv_prog_cc_c89" in
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4108 $as_echo "none needed" >&6; } ;;
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4111 $as_echo "unsupported" >&6; } ;;
4113 CC
="$CC $ac_cv_prog_cc_c89"
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4115 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4117 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4118 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4120 ac_cv_prog_cc_stdc
=no
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4127 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4128 if ${ac_cv_prog_cc_stdc+:} false
; then :
4129 $as_echo_n "(cached) " >&6
4132 case $ac_cv_prog_cc_stdc in #(
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4135 $as_echo "unsupported" >&6; } ;; #(
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4138 $as_echo "none needed" >&6; } ;; #(
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4141 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4145 ac_cpp
='$CPP $CPPFLAGS'
4146 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4147 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4148 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4150 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4151 # On Suns, sometimes $CPP names a directory.
4152 if test -n "$CPP" && test -d "$CPP"; then
4155 if test -z "$CPP"; then
4156 if ${ac_cv_prog_CPP+:} false
; then :
4157 $as_echo_n "(cached) " >&6
4159 # Double quotes because CPP needs to be expanded
4160 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4163 for ac_c_preproc_warn_flag
in '' yes
4165 # Use a header file that comes with gcc, so configuring glibc
4166 # with a fresh cross-compiler works.
4167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4168 # <limits.h> exists even on freestanding compilers.
4169 # On the NeXT, cc -E runs the code through the compiler's parser,
4170 # not just through cpp. "Syntax error" is here to catch this case.
4171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4172 /* end confdefs.h. */
4174 # include <limits.h>
4176 # include <assert.h>
4180 if ac_fn_c_try_cpp
"$LINENO"; then :
4183 # Broken: fails on valid input.
4186 rm -f conftest.err conftest.i conftest.
$ac_ext
4188 # OK, works on sane cases. Now check whether nonexistent headers
4189 # can be detected and how.
4190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4191 /* end confdefs.h. */
4192 #include <ac_nonexistent.h>
4194 if ac_fn_c_try_cpp
"$LINENO"; then :
4195 # Broken: success on invalid input.
4198 # Passes both tests.
4202 rm -f conftest.err conftest.i conftest.
$ac_ext
4205 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4206 rm -f conftest.i conftest.err conftest.
$ac_ext
4207 if $ac_preproc_ok; then :
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4220 $as_echo "$CPP" >&6; }
4222 for ac_c_preproc_warn_flag
in '' yes
4224 # Use a header file that comes with gcc, so configuring glibc
4225 # with a fresh cross-compiler works.
4226 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4227 # <limits.h> exists even on freestanding compilers.
4228 # On the NeXT, cc -E runs the code through the compiler's parser,
4229 # not just through cpp. "Syntax error" is here to catch this case.
4230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4231 /* end confdefs.h. */
4233 # include <limits.h>
4235 # include <assert.h>
4239 if ac_fn_c_try_cpp
"$LINENO"; then :
4242 # Broken: fails on valid input.
4245 rm -f conftest.err conftest.i conftest.
$ac_ext
4247 # OK, works on sane cases. Now check whether nonexistent headers
4248 # can be detected and how.
4249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4250 /* end confdefs.h. */
4251 #include <ac_nonexistent.h>
4253 if ac_fn_c_try_cpp
"$LINENO"; then :
4254 # Broken: success on invalid input.
4257 # Passes both tests.
4261 rm -f conftest.err conftest.i conftest.
$ac_ext
4264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4265 rm -f conftest.i conftest.err conftest.
$ac_ext
4266 if $ac_preproc_ok; then :
4269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4271 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4272 See \`config.log' for more details" "$LINENO" 5; }
4276 ac_cpp
='$CPP $CPPFLAGS'
4277 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4278 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4279 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4282 # Check for a compatible awk
4283 for ac_prog
in gawk nawk
4285 # Extract the first word of "$ac_prog", so it can be a program name with args.
4286 set dummy
$ac_prog; ac_word
=$2
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4288 $as_echo_n "checking for $ac_word... " >&6; }
4289 if ${ac_cv_prog_AWK+:} false
; then :
4290 $as_echo_n "(cached) " >&6
4292 if test -n "$AWK"; then
4293 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4299 test -z "$as_dir" && as_dir
=.
4300 for ac_exec_ext
in '' $ac_executable_extensions; do
4301 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4302 ac_cv_prog_AWK
="$ac_prog"
4303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4313 if test -n "$AWK"; then
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4315 $as_echo "$AWK" >&6; }
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4318 $as_echo "no" >&6; }
4322 test -n "$AWK" && break
4325 if test "$AWK" = ""; then
4326 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4328 # Extract the first word of "mmake", so it can be a program name with args.
4329 set dummy mmake
; ac_word
=$2
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4331 $as_echo_n "checking for $ac_word... " >&6; }
4332 if ${ac_cv_prog_MMAKE+:} false
; then :
4333 $as_echo_n "(cached) " >&6
4335 if test -n "$MMAKE"; then
4336 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4342 test -z "$as_dir" && as_dir
=.
4343 for ac_exec_ext
in '' $ac_executable_extensions; do
4344 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4345 ac_cv_prog_MMAKE
="mmake "
4346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4355 MMAKE
=$ac_cv_prog_MMAKE
4356 if test -n "$MMAKE"; then
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4358 $as_echo "$MMAKE" >&6; }
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4361 $as_echo "no" >&6; }
4366 # Perform some default variable assignments. Note all of these will be
4367 # Regenerated from the script, so there is no need to cache them.
4369 aros_host_cpp
="$CPP"
4371 aros_host_cxx
="$CXX"
4372 if test "$GCC" = "yes"; then
4373 aros_gcc_ld
=`$CC -print-prog-name=ld`
4374 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4375 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4377 $as_echo_n "checking for $ac_word... " >&6; }
4378 if ${ac_cv_path_aros_host_ld+:} false
; then :
4379 $as_echo_n "(cached) " >&6
4381 case $aros_host_ld in
4383 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4387 for as_dir
in `dirname $aros_gcc_ld`
4390 test -z "$as_dir" && as_dir
=.
4391 for ac_exec_ext
in '' $ac_executable_extensions; do
4392 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4393 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4404 aros_host_ld
=$ac_cv_path_aros_host_ld
4405 if test -n "$aros_host_ld"; then
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4407 $as_echo "$aros_host_ld" >&6; }
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410 $as_echo "no" >&6; }
4415 if test "$aros_host_ld" = ""; then
4416 # Extract the first word of "ld", so it can be a program name with args.
4417 set dummy ld
; ac_word
=$2
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4419 $as_echo_n "checking for $ac_word... " >&6; }
4420 if ${ac_cv_path_aros_host_ld+:} false
; then :
4421 $as_echo_n "(cached) " >&6
4423 case $aros_host_ld in
4425 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4432 test -z "$as_dir" && as_dir
=.
4433 for ac_exec_ext
in '' $ac_executable_extensions; do
4434 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4435 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4446 aros_host_ld
=$ac_cv_path_aros_host_ld
4447 if test -n "$aros_host_ld"; then
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4449 $as_echo "$aros_host_ld" >&6; }
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4452 $as_echo "no" >&6; }
4457 if test "$aros_host_ld" = ""; then
4458 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4460 aros_host_make
="make"
4461 aros_host_cflags
=$CFLAGS
4462 aros_host_cxxflags
=$CXXFLAGS
4463 aros_host_ldflags
=$LDFLAGS
4464 aros_host_debug
="-g -O0"
4465 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4466 aros_host_mkargs
="--no-print-directory"
4467 aros_host_exe_suffix
="$EXEEXT"
4468 aros_host_lib_suffix
=""
4470 # Ignore all compliance, AROS ROMs = 0
4471 # KickStart v1.0 = 30
4472 # KickStart v1.3 = 34
4473 # KickStart v2.0 = 37
4474 # KickStart v3.0 = 39
4475 # KickStart v3.1 = 40
4477 aros_amigaos_compliance
=0
4479 for ac_prog
in aclocal aclocal19 aclocal-1.9
4481 # Extract the first word of "$ac_prog", so it can be a program name with args.
4482 set dummy
$ac_prog; ac_word
=$2
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4484 $as_echo_n "checking for $ac_word... " >&6; }
4485 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4486 $as_echo_n "(cached) " >&6
4488 if test -n "$aros_host_aclocal"; then
4489 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4495 test -z "$as_dir" && as_dir
=.
4496 for ac_exec_ext
in '' $ac_executable_extensions; do
4497 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4498 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4509 if test -n "$aros_host_aclocal"; then
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4511 $as_echo "$aros_host_aclocal" >&6; }
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4514 $as_echo "no" >&6; }
4518 test -n "$aros_host_aclocal" && break
4521 for ac_prog
in autoconf autoconf259 autoconf253
4523 # Extract the first word of "$ac_prog", so it can be a program name with args.
4524 set dummy
$ac_prog; ac_word
=$2
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4526 $as_echo_n "checking for $ac_word... " >&6; }
4527 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4528 $as_echo_n "(cached) " >&6
4530 if test -n "$aros_host_autoconf"; then
4531 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4537 test -z "$as_dir" && as_dir
=.
4538 for ac_exec_ext
in '' $ac_executable_extensions; do
4539 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4540 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4550 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4551 if test -n "$aros_host_autoconf"; then
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4553 $as_echo "$aros_host_autoconf" >&6; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556 $as_echo "no" >&6; }
4560 test -n "$aros_host_autoconf" && break
4563 for ac_prog
in autoheader autoheader259 autoheader253
4565 # Extract the first word of "$ac_prog", so it can be a program name with args.
4566 set dummy
$ac_prog; ac_word
=$2
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4568 $as_echo_n "checking for $ac_word... " >&6; }
4569 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4570 $as_echo_n "(cached) " >&6
4572 if test -n "$aros_host_autoheader"; then
4573 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4579 test -z "$as_dir" && as_dir
=.
4580 for ac_exec_ext
in '' $ac_executable_extensions; do
4581 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4582 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4593 if test -n "$aros_host_autoheader"; then
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4595 $as_echo "$aros_host_autoheader" >&6; }
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4598 $as_echo "no" >&6; }
4602 test -n "$aros_host_autoheader" && break
4605 for ac_prog
in automake automake19 automake-1.9
4607 # Extract the first word of "$ac_prog", so it can be a program name with args.
4608 set dummy
$ac_prog; ac_word
=$2
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4610 $as_echo_n "checking for $ac_word... " >&6; }
4611 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4612 $as_echo_n "(cached) " >&6
4614 if test -n "$aros_host_automake"; then
4615 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4621 test -z "$as_dir" && as_dir
=.
4622 for ac_exec_ext
in '' $ac_executable_extensions; do
4623 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4624 ac_cv_prog_aros_host_automake
="$ac_prog"
4625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4634 aros_host_automake
=$ac_cv_prog_aros_host_automake
4635 if test -n "$aros_host_automake"; then
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4637 $as_echo "$aros_host_automake" >&6; }
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4640 $as_echo "no" >&6; }
4644 test -n "$aros_host_automake" && break
4648 if test "$aros_host_aclocal" = ""; then
4649 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4651 if test "$aros_host_automake" = ""; then
4652 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4655 case "$aros_host_cc" in
4657 aros_host_cc_pipe
="-pipe"
4660 aros_host_cc_pipe
=""
4663 aros_host_cc_pipe
=""
4667 aros_kernel_cc_includes
=""
4668 aros_target_cc_includes
=""
4671 # ----------------------------------------------------------------------------------------
4672 # Host-specific defaults
4674 # This is the main host configuration section. It is where the host
4675 # can change the values of any variables it needs to change. We do
4676 # not look at anything that compiles to the target yet, we'll get
4681 aros_host_arch
="aros"
4682 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4685 aros_host_cpu
="i386"
4688 aros_host_cpu
="x86_64"
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4695 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4696 aros_host_cpu
="$host_cpu"
4702 aros_host_arch
="linux"
4703 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4704 android_build_os
="linux-x86"
4705 android_tool
="android"
4706 default_android_sdk
="/opt/android-sdk-linux_x86"
4709 aros_host_cpu
="i386"
4712 aros_host_cpu
="x86_64"
4715 aros_host_cpu
="m68k"
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4725 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4726 aros_host_cpu
="$host_cpu"
4732 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4733 aros_host_make
="gmake"
4734 aros_host_arch
="freebsd"
4735 aros_host_cpu
="i386"
4737 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4741 aros_object_format
="elf_i386"
4745 aros_object_format
="elf_i386_fbsd"
4752 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4753 aros_host_arch
="darwin"
4755 android_build_os
="darwin-x86"
4756 android_tool
="android"
4757 default_android_sdk
="/android-sdk-mac_x86"
4760 aros_host_cpu
="i386"
4763 aros_host_cpu
="x86_64"
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4770 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4771 aros_host_cpu
="$host_cpu"
4775 aros_host_ldflags
="$aros_host_ldflags -liconv"
4780 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4781 aros_host_make
="gmake"
4782 aros_host_arch
="dragonfly"
4785 aros_host_cpu
="i386"
4788 aros_host_cpu
="x86_64"
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4792 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4793 aros_host_cpu
="$host_cpu"
4799 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4800 aros_host_make
="gmake"
4801 aros_host_arch
="netbsd"
4804 aros_host_cpu
="i386"
4807 aros_host_cpu
="m68k"
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4811 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4812 aros_host_cpu
="$host_cpu"
4815 aros_host_lib_suffix
=".0.0"
4819 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4820 aros_host_make
="gmake"
4821 aros_host_arch
="openbsd"
4824 aros_host_cpu
="i386"
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4828 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4829 aros_host_cpu
="$host_cpu"
4835 aros_host_arch
="solaris"
4836 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4839 aros_host_cpu
="i386"
4842 aros_host_cpu
="sparc"
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4846 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4847 aros_host_cpu
="$host_cpu"
4853 aros_host_arch
="morphos"
4859 aros_host_arch
="amiga"
4865 TOUCH
="/gg/bin/touch"
4868 aros_host_cpu
="m68k"
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4875 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4876 aros_host_cpu
="$host_cpu"
4882 aros_host_arch
="cygwin"
4883 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4885 android_build_os
="windows"
4886 android_tool
="android.bat"
4887 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4891 aros_host_cpu
="i386"
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4895 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4896 aros_host_cpu
="$host_cpu"
4902 aros_host_arch
="mingw32"
4903 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4905 android_build_os
="windows"
4906 android_tool
="android.bat"
4907 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4913 $as_echo_n "checking for Windows native gcc target... " >&6; }
4914 host_cpu
=`gcc -dumpmachine`
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4916 $as_echo "$host_cpu" >&6; }
4923 aros_host_cpu
="i386"
4927 aros_host_cpu
="i386"
4931 aros_host_cpu
="x86_64"
4932 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4937 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4938 aros_host_cpu
="$host_cpu"
4943 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4947 # Extract the first word of "ar", so it can be a program name with args.
4948 set dummy
ar; ac_word
=$2
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950 $as_echo_n "checking for $ac_word... " >&6; }
4951 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4952 $as_echo_n "(cached) " >&6
4954 if test -n "$aros_host_ar"; then
4955 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4961 test -z "$as_dir" && as_dir
=.
4962 for ac_exec_ext
in '' $ac_executable_extensions; do
4963 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4964 ac_cv_prog_aros_host_ar
="ar cr"
4965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4974 aros_host_ar
=$ac_cv_prog_aros_host_ar
4975 if test -n "$aros_host_ar"; then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4977 $as_echo "$aros_host_ar" >&6; }
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4980 $as_echo "no" >&6; }
4984 if test "$aros_host_ar" = ""; then
4985 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4987 # Extract the first word of "ranlib", so it can be a program name with args.
4988 set dummy ranlib
; ac_word
=$2
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4990 $as_echo_n "checking for $ac_word... " >&6; }
4991 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4992 $as_echo_n "(cached) " >&6
4994 if test -n "$aros_host_ranlib"; then
4995 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5001 test -z "$as_dir" && as_dir
=.
5002 for ac_exec_ext
in '' $ac_executable_extensions; do
5003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5004 ac_cv_prog_aros_host_ranlib
="ranlib "
5005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5014 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
5015 if test -n "$aros_host_ranlib"; then
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
5017 $as_echo "$aros_host_ranlib" >&6; }
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5020 $as_echo "no" >&6; }
5024 if test "$aros_host_ranlib" = ""; then
5025 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5027 # Extract the first word of "strip", so it can be a program name with args.
5028 set dummy strip
; ac_word
=$2
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5030 $as_echo_n "checking for $ac_word... " >&6; }
5031 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5032 $as_echo_n "(cached) " >&6
5034 if test -n "$aros_host_strip"; then
5035 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5041 test -z "$as_dir" && as_dir
=.
5042 for ac_exec_ext
in '' $ac_executable_extensions; do
5043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5044 ac_cv_prog_aros_host_strip
="strip "
5045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 aros_host_strip
=$ac_cv_prog_aros_host_strip
5055 if test -n "$aros_host_strip"; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5057 $as_echo "$aros_host_strip" >&6; }
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5064 if test "$aros_host_strip" = ""; then
5065 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5068 # Extract the first word of "rm", so it can be a program name with args.
5069 set dummy
rm; ac_word
=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if ${ac_cv_prog_RM+:} false
; then :
5073 $as_echo_n "(cached) " >&6
5075 if test -n "$RM"; then
5076 ac_cv_prog_RM
="$RM" # Let the user override the test.
5078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5082 test -z "$as_dir" && as_dir
=.
5083 for ac_exec_ext
in '' $ac_executable_extensions; do
5084 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5085 ac_cv_prog_RM
="rm -rf"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5096 if test -n "$RM"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5098 $as_echo "$RM" >&6; }
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5105 if test "$RM" = ""; then
5106 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5108 # Extract the first word of "cp", so it can be a program name with args.
5109 set dummy
cp; ac_word
=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if ${ac_cv_prog_CP+:} false
; then :
5113 $as_echo_n "(cached) " >&6
5115 if test -n "$CP"; then
5116 ac_cv_prog_CP
="$CP" # Let the user override the test.
5118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5122 test -z "$as_dir" && as_dir
=.
5123 for ac_exec_ext
in '' $ac_executable_extensions; do
5124 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5136 if test -n "$CP"; then
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5138 $as_echo "$CP" >&6; }
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5145 if test "$CP" = ""; then
5146 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5148 # Extract the first word of "mv", so it can be a program name with args.
5149 set dummy
mv; ac_word
=$2
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151 $as_echo_n "checking for $ac_word... " >&6; }
5152 if ${ac_cv_prog_MV+:} false
; then :
5153 $as_echo_n "(cached) " >&6
5155 if test -n "$MV"; then
5156 ac_cv_prog_MV
="$MV" # Let the user override the test.
5158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5162 test -z "$as_dir" && as_dir
=.
5163 for ac_exec_ext
in '' $ac_executable_extensions; do
5164 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5176 if test -n "$MV"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5178 $as_echo "$MV" >&6; }
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5185 if test "$MV" = ""; then
5186 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5188 # Extract the first word of "echo", so it can be a program name with args.
5189 set dummy
echo; ac_word
=$2
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5191 $as_echo_n "checking for $ac_word... " >&6; }
5192 if ${ac_cv_prog_ECHO+:} false
; then :
5193 $as_echo_n "(cached) " >&6
5195 if test -n "$ECHO"; then
5196 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5202 test -z "$as_dir" && as_dir
=.
5203 for ac_exec_ext
in '' $ac_executable_extensions; do
5204 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_prog_ECHO
="echo "
5206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5215 ECHO
=$ac_cv_prog_ECHO
5216 if test -n "$ECHO"; then
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5218 $as_echo "$ECHO" >&6; }
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221 $as_echo "no" >&6; }
5225 if test "$ECHO" = ""; then
5226 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5228 # Extract the first word of "mkdir", so it can be a program name with args.
5229 set dummy mkdir
; ac_word
=$2
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5231 $as_echo_n "checking for $ac_word... " >&6; }
5232 if ${ac_cv_prog_MKDIR+:} false
; then :
5233 $as_echo_n "(cached) " >&6
5235 if test -n "$MKDIR"; then
5236 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5242 test -z "$as_dir" && as_dir
=.
5243 for ac_exec_ext
in '' $ac_executable_extensions; do
5244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5245 ac_cv_prog_MKDIR
="mkdir -p"
5246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5255 MKDIR
=$ac_cv_prog_MKDIR
5256 if test -n "$MKDIR"; then
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5258 $as_echo "$MKDIR" >&6; }
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261 $as_echo "no" >&6; }
5265 if test "$MKDIR" = ""; then
5266 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5268 # Extract the first word of "touch", so it can be a program name with args.
5269 set dummy
touch; ac_word
=$2
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271 $as_echo_n "checking for $ac_word... " >&6; }
5272 if ${ac_cv_prog_TOUCH+:} false
; then :
5273 $as_echo_n "(cached) " >&6
5275 if test -n "$TOUCH"; then
5276 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5282 test -z "$as_dir" && as_dir
=.
5283 for ac_exec_ext
in '' $ac_executable_extensions; do
5284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_prog_TOUCH
="touch "
5286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5295 TOUCH
=$ac_cv_prog_TOUCH
5296 if test -n "$TOUCH"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5298 $as_echo "$TOUCH" >&6; }
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5301 $as_echo "no" >&6; }
5305 if test "$TOUCH" = ""; then
5306 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5308 # Extract the first word of "sort", so it can be a program name with args.
5309 set dummy
sort; ac_word
=$2
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5311 $as_echo_n "checking for $ac_word... " >&6; }
5312 if ${ac_cv_prog_SORT+:} false
; then :
5313 $as_echo_n "(cached) " >&6
5315 if test -n "$SORT"; then
5316 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5322 test -z "$as_dir" && as_dir
=.
5323 for ac_exec_ext
in '' $ac_executable_extensions; do
5324 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5325 ac_cv_prog_SORT
="sort "
5326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 SORT
=$ac_cv_prog_SORT
5336 if test -n "$SORT"; then
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5338 $as_echo "$SORT" >&6; }
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5341 $as_echo "no" >&6; }
5345 if test "$SORT" = ""; then
5346 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5348 # Extract the first word of "uniq", so it can be a program name with args.
5349 set dummy
uniq; ac_word
=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351 $as_echo_n "checking for $ac_word... " >&6; }
5352 if ${ac_cv_prog_UNIQ+:} false
; then :
5353 $as_echo_n "(cached) " >&6
5355 if test -n "$UNIQ"; then
5356 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5362 test -z "$as_dir" && as_dir
=.
5363 for ac_exec_ext
in '' $ac_executable_extensions; do
5364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_UNIQ
="uniq "
5366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 UNIQ
=$ac_cv_prog_UNIQ
5376 if test -n "$UNIQ"; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5378 $as_echo "$UNIQ" >&6; }
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5385 if test "$UNIQ" = ""; then
5386 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5388 # Extract the first word of "true", so it can be a program name with args.
5389 set dummy true
; ac_word
=$2
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5391 $as_echo_n "checking for $ac_word... " >&6; }
5392 if ${ac_cv_prog_NOP+:} false
; then :
5393 $as_echo_n "(cached) " >&6
5395 if test -n "$NOP"; then
5396 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5402 test -z "$as_dir" && as_dir
=.
5403 for ac_exec_ext
in '' $ac_executable_extensions; do
5404 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5405 ac_cv_prog_NOP
="true "
5406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 if test -n "$NOP"; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5418 $as_echo "$NOP" >&6; }
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5425 if test "$NOP" = ""; then
5426 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5428 # Extract the first word of "cat", so it can be a program name with args.
5429 set dummy
cat; ac_word
=$2
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5431 $as_echo_n "checking for $ac_word... " >&6; }
5432 if ${ac_cv_prog_CAT+:} false
; then :
5433 $as_echo_n "(cached) " >&6
5435 if test -n "$CAT"; then
5436 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5442 test -z "$as_dir" && as_dir
=.
5443 for ac_exec_ext
in '' $ac_executable_extensions; do
5444 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5445 ac_cv_prog_CAT
="cat "
5446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5456 if test -n "$CAT"; then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5458 $as_echo "$CAT" >&6; }
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5461 $as_echo "no" >&6; }
5465 if test "$CAT" = ""; then
5466 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5468 # Extract the first word of "bison", so it can be a program name with args.
5469 set dummy bison
; ac_word
=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if ${ac_cv_prog_BISON+:} false
; then :
5473 $as_echo_n "(cached) " >&6
5475 if test -n "$BISON"; then
5476 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5482 test -z "$as_dir" && as_dir
=.
5483 for ac_exec_ext
in '' $ac_executable_extensions; do
5484 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5485 ac_cv_prog_BISON
="bison "
5486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5495 BISON
=$ac_cv_prog_BISON
5496 if test -n "$BISON"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5498 $as_echo "$BISON" >&6; }
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5505 if test "$BISON" = ""; then
5506 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5508 # Extract the first word of "flex", so it can be a program name with args.
5509 set dummy flex
; ac_word
=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5511 $as_echo_n "checking for $ac_word... " >&6; }
5512 if ${ac_cv_prog_FLEX+:} false
; then :
5513 $as_echo_n "(cached) " >&6
5515 if test -n "$FLEX"; then
5516 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5522 test -z "$as_dir" && as_dir
=.
5523 for ac_exec_ext
in '' $ac_executable_extensions; do
5524 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5525 ac_cv_prog_FLEX
="flex "
5526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5535 FLEX
=$ac_cv_prog_FLEX
5536 if test -n "$FLEX"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5538 $as_echo "$FLEX" >&6; }
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }
5545 if test "$FLEX" = ""; then
5546 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5548 # Extract the first word of "pngtopnm", so it can be a program name with args.
5549 set dummy pngtopnm
; ac_word
=$2
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5551 $as_echo_n "checking for $ac_word... " >&6; }
5552 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5553 $as_echo_n "(cached) " >&6
5555 if test -n "$PNGTOPNM"; then
5556 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5562 test -z "$as_dir" && as_dir
=.
5563 for ac_exec_ext
in '' $ac_executable_extensions; do
5564 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5565 ac_cv_prog_PNGTOPNM
="pngtopnm "
5566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5575 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5576 if test -n "$PNGTOPNM"; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5578 $as_echo "$PNGTOPNM" >&6; }
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5581 $as_echo "no" >&6; }
5585 if test "$PNGTOPNM" = ""; then
5586 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5588 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5589 set dummy ppmtoilbm
; ac_word
=$2
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5591 $as_echo_n "checking for $ac_word... " >&6; }
5592 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5593 $as_echo_n "(cached) " >&6
5595 if test -n "$PPMTOILBM"; then
5596 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5602 test -z "$as_dir" && as_dir
=.
5603 for ac_exec_ext
in '' $ac_executable_extensions; do
5604 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5605 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5615 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5616 if test -n "$PPMTOILBM"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5618 $as_echo "$PPMTOILBM" >&6; }
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5625 if test "$PPMTOILBM" = ""; then
5626 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5628 # Extract the first word of "sed", so it can be a program name with args.
5629 set dummy
sed; ac_word
=$2
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5631 $as_echo_n "checking for $ac_word... " >&6; }
5632 if ${ac_cv_prog_SED+:} false
; then :
5633 $as_echo_n "(cached) " >&6
5635 if test -n "$SED"; then
5636 ac_cv_prog_SED
="$SED" # Let the user override the test.
5638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5642 test -z "$as_dir" && as_dir
=.
5643 for ac_exec_ext
in '' $ac_executable_extensions; do
5644 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5645 ac_cv_prog_SED
="sed "
5646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 if test -n "$SED"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5658 $as_echo "$SED" >&6; }
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }
5665 if test "$SED" = ""; then
5666 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5668 # Extract the first word of "chmod", so it can be a program name with args.
5669 set dummy
chmod; ac_word
=$2
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5671 $as_echo_n "checking for $ac_word... " >&6; }
5672 if ${ac_cv_prog_CHMOD+:} false
; then :
5673 $as_echo_n "(cached) " >&6
5675 if test -n "$CHMOD"; then
5676 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5682 test -z "$as_dir" && as_dir
=.
5683 for ac_exec_ext
in '' $ac_executable_extensions; do
5684 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5685 ac_cv_prog_CHMOD
="chmod "
5686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5695 CHMOD
=$ac_cv_prog_CHMOD
5696 if test -n "$CHMOD"; then
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5698 $as_echo "$CHMOD" >&6; }
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5701 $as_echo "no" >&6; }
5705 if test "$CHMOD" = ""; then
5706 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5708 # Extract the first word of "patch", so it can be a program name with args.
5709 set dummy
patch; ac_word
=$2
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5711 $as_echo_n "checking for $ac_word... " >&6; }
5712 if ${ac_cv_prog_PATCH+:} false
; then :
5713 $as_echo_n "(cached) " >&6
5715 if test -n "$PATCH"; then
5716 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5722 test -z "$as_dir" && as_dir
=.
5723 for ac_exec_ext
in '' $ac_executable_extensions; do
5724 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5725 ac_cv_prog_PATCH
="patch "
5726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5735 PATCH
=$ac_cv_prog_PATCH
5736 if test -n "$PATCH"; then
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5738 $as_echo "$PATCH" >&6; }
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5741 $as_echo "no" >&6; }
5745 if test "$PATCH" = ""; then
5746 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5755 if test -n "$PYTHON"; then
5756 # If the user set $PYTHON, use it and don't search something else.
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5758 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5760 # split strings by '.' and convert to numeric. Append some zeros
5761 # because we need at least 4 digits for the hex conversion.
5762 # map returns an iterator in Python 3.0 and a list in 2.x
5763 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5765 # xrange is not present in Python 3.0 and range returns an iterator
5766 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5767 sys.exit(sys.hexversion < minverhex)"
5768 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5769 ($PYTHON -c "$prog") >&5 2>&5
5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772 (exit $ac_status); }; then :
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5774 $as_echo "yes" >&6; }
5776 as_fn_error $?
"too old" "$LINENO" 5
5778 am_display_PYTHON
=$PYTHON
5780 # Otherwise, try each interpreter until we find one that satisfies
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5783 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5784 if ${am_cv_pathless_PYTHON+:} false
; then :
5785 $as_echo_n "(cached) " >&6
5788 for am_cv_pathless_PYTHON
in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none
; do
5789 test "$am_cv_pathless_PYTHON" = none
&& break
5791 # split strings by '.' and convert to numeric. Append some zeros
5792 # because we need at least 4 digits for the hex conversion.
5793 # map returns an iterator in Python 3.0 and a list in 2.x
5794 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5796 # xrange is not present in Python 3.0 and range returns an iterator
5797 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5798 sys.exit(sys.hexversion < minverhex)"
5799 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5800 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); }; then :
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5809 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5810 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5811 if test "$am_cv_pathless_PYTHON" = none
; then
5814 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5815 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_path_PYTHON+:} false
; then :
5819 $as_echo_n "(cached) " >&6
5823 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5830 test -z "$as_dir" && as_dir
=.
5831 for ac_exec_ext
in '' $ac_executable_extensions; do
5832 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5833 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5844 PYTHON
=$ac_cv_path_PYTHON
5845 if test -n "$PYTHON"; then
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5847 $as_echo "$PYTHON" >&6; }
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5850 $as_echo "no" >&6; }
5855 am_display_PYTHON
=$am_cv_pathless_PYTHON
5859 if test "$PYTHON" = :; then
5860 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5865 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5866 if ${am_cv_python_version+:} false
; then :
5867 $as_echo_n "(cached) " >&6
5869 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5872 $as_echo "$am_cv_python_version" >&6; }
5873 PYTHON_VERSION
=$am_cv_python_version
5877 PYTHON_PREFIX
='${prefix}'
5879 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5884 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5885 if ${am_cv_python_platform+:} false
; then :
5886 $as_echo_n "(cached) " >&6
5888 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5891 $as_echo "$am_cv_python_platform" >&6; }
5892 PYTHON_PLATFORM
=$am_cv_python_platform
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5898 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5899 if ${am_cv_python_pythondir+:} false
; then :
5900 $as_echo_n "(cached) " >&6
5902 if test "x$prefix" = xNONE
5904 am_py_prefix
=$ac_default_prefix
5906 am_py_prefix
=$prefix
5908 am_cv_python_pythondir
=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
5909 case $am_cv_python_pythondir in
5911 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5912 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5915 case $am_py_prefix in
5918 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5926 $as_echo "$am_cv_python_pythondir" >&6; }
5927 pythondir
=$am_cv_python_pythondir
5931 pkgpythondir
=\
${pythondir}/$PACKAGE
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5935 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5936 if ${am_cv_python_pyexecdir+:} false
; then :
5937 $as_echo_n "(cached) " >&6
5939 if test "x$exec_prefix" = xNONE
5941 am_py_exec_prefix
=$am_py_prefix
5943 am_py_exec_prefix
=$exec_prefix
5945 am_cv_python_pyexecdir
=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
5946 case $am_cv_python_pyexecdir in
5947 $am_py_exec_prefix*)
5948 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5949 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5952 case $am_py_exec_prefix in
5955 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5963 $as_echo "$am_cv_python_pyexecdir" >&6; }
5964 pyexecdir
=$am_cv_python_pyexecdir
5968 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
5978 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
5979 if ${ac_cv_lib_png_png_read_png+:} false
; then :
5980 $as_echo_n "(cached) " >&6
5982 ac_check_lib_save_LIBS
=$LIBS
5984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5985 /* end confdefs.h. */
5987 /* Override any GCC internal prototype to avoid an error.
5988 Use char because int might match the return type of a GCC
5989 builtin and then its argument prototype would still apply. */
5993 char png_read_png ();
5997 return png_read_png ();
6002 if ac_fn_c_try_link
"$LINENO"; then :
6003 ac_cv_lib_png_png_read_png
=yes
6005 ac_cv_lib_png_png_read_png
=no
6007 rm -f core conftest.err conftest.
$ac_objext \
6008 conftest
$ac_exeext conftest.
$ac_ext
6009 LIBS
=$ac_check_lib_save_LIBS
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6012 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6013 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6014 cat >>confdefs.h
<<_ACEOF
6015 #define HAVE_LIBPNG 1
6022 if test "$ac_cv_lib_png_png_read_png" = ""; then
6023 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6036 # Check for some includes for the X11 HIDD and the kernel
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6039 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6040 if ${ac_cv_path_GREP+:} false
; then :
6041 $as_echo_n "(cached) " >&6
6043 if test -z "$GREP"; then
6044 ac_path_GREP_found
=false
6045 # Loop through the user's path and test for each of PROGNAME-LIST
6046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6047 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6050 test -z "$as_dir" && as_dir
=.
6051 for ac_prog
in grep ggrep
; do
6052 for ac_exec_ext
in '' $ac_executable_extensions; do
6053 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6054 as_fn_executable_p
"$ac_path_GREP" ||
continue
6055 # Check for GNU ac_path_GREP and select it if it is found.
6056 # Check for GNU $ac_path_GREP
6057 case `"$ac_path_GREP" --version 2>&1` in
6059 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6062 $as_echo_n 0123456789 >"conftest.in"
6065 cat "conftest.in" "conftest.in" >"conftest.tmp"
6066 mv "conftest.tmp" "conftest.in"
6067 cp "conftest.in" "conftest.nl"
6068 $as_echo 'GREP' >> "conftest.nl"
6069 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6070 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6071 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6072 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6073 # Best one so far, save it but keep looking for a better one
6074 ac_cv_path_GREP
="$ac_path_GREP"
6075 ac_path_GREP_max
=$ac_count
6077 # 10*(2^10) chars as input seems more than enough
6078 test $ac_count -gt 10 && break
6080 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6083 $ac_path_GREP_found && break 3
6088 if test -z "$ac_cv_path_GREP"; then
6089 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6092 ac_cv_path_GREP
=$GREP
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6097 $as_echo "$ac_cv_path_GREP" >&6; }
6098 GREP
="$ac_cv_path_GREP"
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6102 $as_echo_n "checking for egrep... " >&6; }
6103 if ${ac_cv_path_EGREP+:} false
; then :
6104 $as_echo_n "(cached) " >&6
6106 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6107 then ac_cv_path_EGREP
="$GREP -E"
6109 if test -z "$EGREP"; then
6110 ac_path_EGREP_found
=false
6111 # Loop through the user's path and test for each of PROGNAME-LIST
6112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6113 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6116 test -z "$as_dir" && as_dir
=.
6117 for ac_prog
in egrep; do
6118 for ac_exec_ext
in '' $ac_executable_extensions; do
6119 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6120 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6121 # Check for GNU ac_path_EGREP and select it if it is found.
6122 # Check for GNU $ac_path_EGREP
6123 case `"$ac_path_EGREP" --version 2>&1` in
6125 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6128 $as_echo_n 0123456789 >"conftest.in"
6131 cat "conftest.in" "conftest.in" >"conftest.tmp"
6132 mv "conftest.tmp" "conftest.in"
6133 cp "conftest.in" "conftest.nl"
6134 $as_echo 'EGREP' >> "conftest.nl"
6135 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6136 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6137 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6138 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6139 # Best one so far, save it but keep looking for a better one
6140 ac_cv_path_EGREP
="$ac_path_EGREP"
6141 ac_path_EGREP_max
=$ac_count
6143 # 10*(2^10) chars as input seems more than enough
6144 test $ac_count -gt 10 && break
6146 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6149 $ac_path_EGREP_found && break 3
6154 if test -z "$ac_cv_path_EGREP"; then
6155 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6158 ac_cv_path_EGREP
=$EGREP
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6164 $as_echo "$ac_cv_path_EGREP" >&6; }
6165 EGREP
="$ac_cv_path_EGREP"
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6169 $as_echo_n "checking for ANSI C header files... " >&6; }
6170 if ${ac_cv_header_stdc+:} false
; then :
6171 $as_echo_n "(cached) " >&6
6173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6174 /* end confdefs.h. */
6188 if ac_fn_c_try_compile
"$LINENO"; then :
6189 ac_cv_header_stdc
=yes
6191 ac_cv_header_stdc
=no
6193 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6195 if test $ac_cv_header_stdc = yes; then
6196 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6198 /* end confdefs.h. */
6202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6203 $EGREP "memchr" >/dev
/null
2>&1; then :
6206 ac_cv_header_stdc
=no
6212 if test $ac_cv_header_stdc = yes; then
6213 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6215 /* end confdefs.h. */
6219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6220 $EGREP "free" >/dev
/null
2>&1; then :
6223 ac_cv_header_stdc
=no
6229 if test $ac_cv_header_stdc = yes; then
6230 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6231 if test "$cross_compiling" = yes; then :
6234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6235 /* end confdefs.h. */
6238 #if ((' ' & 0x0FF) == 0x020)
6239 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6240 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6242 # define ISLOWER(c) \
6243 (('a' <= (c) && (c) <= 'i') \
6244 || ('j' <= (c) && (c) <= 'r') \
6245 || ('s' <= (c) && (c) <= 'z'))
6246 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6249 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6254 for (i = 0; i < 256; i++)
6255 if (XOR (islower (i), ISLOWER (i))
6256 || toupper (i) != TOUPPER (i))
6261 if ac_fn_c_try_run
"$LINENO"; then :
6264 ac_cv_header_stdc
=no
6266 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6267 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6273 $as_echo "$ac_cv_header_stdc" >&6; }
6274 if test $ac_cv_header_stdc = yes; then
6276 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6280 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6281 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6282 inttypes.h stdint.h unistd.h
6284 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6285 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6287 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6288 cat >>confdefs.h
<<_ACEOF
6289 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6297 for ac_header
in sys
/ipc.h sys
/shm.h \
6298 sys
/mmap.h sys
/mman.h sysexits.h \
6299 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6302 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6303 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6304 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6305 cat >>confdefs.h
<<_ACEOF
6306 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6314 for ac_header
in sys
/mount.h
6316 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6318 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6319 cat >>confdefs.h
<<_ACEOF
6320 #define HAVE_SYS_MOUNT_H 1
6329 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6330 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6332 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6333 if eval \
${$as_ac_Header+:} false
; then :
6334 $as_echo_n "(cached) " >&6
6336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6337 /* end confdefs.h. */
6338 #include <sys/types.h>
6350 if ac_fn_c_try_compile
"$LINENO"; then :
6351 eval "$as_ac_Header=yes"
6353 eval "$as_ac_Header=no"
6355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6357 eval ac_res
=\$
$as_ac_Header
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6359 $as_echo "$ac_res" >&6; }
6360 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6361 cat >>confdefs.h
<<_ACEOF
6362 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6365 ac_header_dirent
=$ac_hdr; break
6369 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6370 if test $ac_header_dirent = dirent.h
; then
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6372 $as_echo_n "checking for library containing opendir... " >&6; }
6373 if ${ac_cv_search_opendir+:} false
; then :
6374 $as_echo_n "(cached) " >&6
6376 ac_func_search_save_LIBS
=$LIBS
6377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6378 /* end confdefs.h. */
6380 /* Override any GCC internal prototype to avoid an error.
6381 Use char because int might match the return type of a GCC
6382 builtin and then its argument prototype would still apply. */
6395 for ac_lib
in '' dir
; do
6396 if test -z "$ac_lib"; then
6397 ac_res
="none required"
6400 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6402 if ac_fn_c_try_link
"$LINENO"; then :
6403 ac_cv_search_opendir
=$ac_res
6405 rm -f core conftest.err conftest.
$ac_objext \
6407 if ${ac_cv_search_opendir+:} false
; then :
6411 if ${ac_cv_search_opendir+:} false
; then :
6414 ac_cv_search_opendir
=no
6417 LIBS
=$ac_func_search_save_LIBS
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6420 $as_echo "$ac_cv_search_opendir" >&6; }
6421 ac_res
=$ac_cv_search_opendir
6422 if test "$ac_res" != no
; then :
6423 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6429 $as_echo_n "checking for library containing opendir... " >&6; }
6430 if ${ac_cv_search_opendir+:} false
; then :
6431 $as_echo_n "(cached) " >&6
6433 ac_func_search_save_LIBS
=$LIBS
6434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6435 /* end confdefs.h. */
6437 /* Override any GCC internal prototype to avoid an error.
6438 Use char because int might match the return type of a GCC
6439 builtin and then its argument prototype would still apply. */
6452 for ac_lib
in '' x
; do
6453 if test -z "$ac_lib"; then
6454 ac_res
="none required"
6457 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6459 if ac_fn_c_try_link
"$LINENO"; then :
6460 ac_cv_search_opendir
=$ac_res
6462 rm -f core conftest.err conftest.
$ac_objext \
6464 if ${ac_cv_search_opendir+:} false
; then :
6468 if ${ac_cv_search_opendir+:} false
; then :
6471 ac_cv_search_opendir
=no
6474 LIBS
=$ac_func_search_save_LIBS
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6477 $as_echo "$ac_cv_search_opendir" >&6; }
6478 ac_res
=$ac_cv_search_opendir
6479 if test "$ac_res" != no
; then :
6480 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6487 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6488 if ${ac_cv_header_stat_broken+:} false
; then :
6489 $as_echo_n "(cached) " >&6
6491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6493 #include <sys/types.h>
6494 #include <sys/stat.h>
6496 #if defined S_ISBLK && defined S_IFDIR
6497 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6500 #if defined S_ISBLK && defined S_IFCHR
6501 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6504 #if defined S_ISLNK && defined S_IFREG
6505 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6508 #if defined S_ISSOCK && defined S_IFREG
6509 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6513 if ac_fn_c_try_compile
"$LINENO"; then :
6514 ac_cv_header_stat_broken
=no
6516 ac_cv_header_stat_broken
=yes
6518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6521 $as_echo "$ac_cv_header_stat_broken" >&6; }
6522 if test $ac_cv_header_stat_broken = yes; then
6524 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6529 $as_echo_n "checking for ANSI C header files... " >&6; }
6530 if ${ac_cv_header_stdc+:} false
; then :
6531 $as_echo_n "(cached) " >&6
6533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6534 /* end confdefs.h. */
6548 if ac_fn_c_try_compile
"$LINENO"; then :
6549 ac_cv_header_stdc
=yes
6551 ac_cv_header_stdc
=no
6553 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6555 if test $ac_cv_header_stdc = yes; then
6556 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6558 /* end confdefs.h. */
6562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6563 $EGREP "memchr" >/dev
/null
2>&1; then :
6566 ac_cv_header_stdc
=no
6572 if test $ac_cv_header_stdc = yes; then
6573 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6575 /* end confdefs.h. */
6579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6580 $EGREP "free" >/dev
/null
2>&1; then :
6583 ac_cv_header_stdc
=no
6589 if test $ac_cv_header_stdc = yes; then
6590 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6591 if test "$cross_compiling" = yes; then :
6594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6595 /* end confdefs.h. */
6598 #if ((' ' & 0x0FF) == 0x020)
6599 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6600 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6602 # define ISLOWER(c) \
6603 (('a' <= (c) && (c) <= 'i') \
6604 || ('j' <= (c) && (c) <= 'r') \
6605 || ('s' <= (c) && (c) <= 'z'))
6606 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6609 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6614 for (i = 0; i < 256; i++)
6615 if (XOR (islower (i), ISLOWER (i))
6616 || toupper (i) != TOUPPER (i))
6621 if ac_fn_c_try_run
"$LINENO"; then :
6624 ac_cv_header_stdc
=no
6626 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6627 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6633 $as_echo "$ac_cv_header_stdc" >&6; }
6634 if test $ac_cv_header_stdc = yes; then
6636 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6641 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6642 if ${ac_cv_header_sys_wait_h+:} false
; then :
6643 $as_echo_n "(cached) " >&6
6645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6646 /* end confdefs.h. */
6647 #include <sys/types.h>
6648 #include <sys/wait.h>
6650 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6653 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6661 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6666 if ac_fn_c_try_compile
"$LINENO"; then :
6667 ac_cv_header_sys_wait_h
=yes
6669 ac_cv_header_sys_wait_h
=no
6671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6674 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6675 if test $ac_cv_header_sys_wait_h = yes; then
6677 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6682 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6683 if ${ac_cv_header_time+:} false
; then :
6684 $as_echo_n "(cached) " >&6
6686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6687 /* end confdefs.h. */
6688 #include <sys/types.h>
6689 #include <sys/time.h>
6695 if ((struct tm *) 0)
6701 if ac_fn_c_try_compile
"$LINENO"; then :
6702 ac_cv_header_time
=yes
6704 ac_cv_header_time
=no
6706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6709 $as_echo "$ac_cv_header_time" >&6; }
6710 if test $ac_cv_header_time = yes; then
6712 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6716 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6717 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6719 cat >>confdefs.h
<<_ACEOF
6720 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6724 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6729 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6730 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6732 cat >>confdefs.h
<<_ACEOF
6733 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6737 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6740 case " $LIBOBJS " in
6741 *" fileblocks.$ac_objext "* ) ;;
6742 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6749 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6750 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6752 cat >>confdefs.h
<<_ACEOF
6753 #define HAVE_STRUCT_STAT_ST_RDEV 1
6757 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6763 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6764 if ${ac_cv_struct_tm+:} false
; then :
6765 $as_echo_n "(cached) " >&6
6767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6768 /* end confdefs.h. */
6769 #include <sys/types.h>
6776 int *p = &tm.tm_sec;
6782 if ac_fn_c_try_compile
"$LINENO"; then :
6783 ac_cv_struct_tm
=time.h
6785 ac_cv_struct_tm
=sys
/time.h
6787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6790 $as_echo "$ac_cv_struct_tm" >&6; }
6791 if test $ac_cv_struct_tm = sys
/time.h
; then
6793 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6797 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6798 #include <$ac_cv_struct_tm>
6801 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6803 cat >>confdefs.h
<<_ACEOF
6804 #define HAVE_STRUCT_TM_TM_ZONE 1
6810 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6812 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6815 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6817 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6823 cat >>confdefs.h
<<_ACEOF
6824 #define HAVE_DECL_TZNAME $ac_have_decl
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6828 $as_echo_n "checking for tzname... " >&6; }
6829 if ${ac_cv_var_tzname+:} false
; then :
6830 $as_echo_n "(cached) " >&6
6832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6833 /* end confdefs.h. */
6835 #if !HAVE_DECL_TZNAME
6836 extern char *tzname[];
6842 return tzname[0][0];
6847 if ac_fn_c_try_link
"$LINENO"; then :
6848 ac_cv_var_tzname
=yes
6852 rm -f core conftest.err conftest.
$ac_objext \
6853 conftest
$ac_exeext conftest.
$ac_ext
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6856 $as_echo "$ac_cv_var_tzname" >&6; }
6857 if test $ac_cv_var_tzname = yes; then
6859 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6864 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6865 if test "x$ac_cv_type_off_t" = xyes
; then :
6869 cat >>confdefs.h
<<_ACEOF
6870 #define off_t long int
6875 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6876 if test "x$ac_cv_type_pid_t" = xyes
; then :
6880 cat >>confdefs.h
<<_ACEOF
6886 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6887 if test "x$ac_cv_type_size_t" = xyes
; then :
6891 cat >>confdefs.h
<<_ACEOF
6892 #define size_t unsigned int
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6898 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6899 if ${ac_cv_type_uid_t+:} false
; then :
6900 $as_echo_n "(cached) " >&6
6902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6903 /* end confdefs.h. */
6904 #include <sys/types.h>
6907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6908 $EGREP "uid_t" >/dev
/null
2>&1; then :
6909 ac_cv_type_uid_t
=yes
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6917 $as_echo "$ac_cv_type_uid_t" >&6; }
6918 if test $ac_cv_type_uid_t = no
; then
6920 $as_echo "#define uid_t int" >>confdefs.h
6923 $as_echo "#define gid_t int" >>confdefs.h
6928 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6929 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6931 cat >>confdefs.h
<<_ACEOF
6932 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6939 # Look for some functions
6940 for ac_func
in getpagesize kqueue statfs statvfs \
6941 clone kse_create rfork_thread thr_create sa_register \
6942 getcontext makecontext setcontext sigaltstack swapcontext
6944 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6945 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6946 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6947 cat >>confdefs.h
<<_ACEOF
6948 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6958 for ac_header
in $ac_header_list
6960 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6961 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6963 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6964 cat >>confdefs.h
<<_ACEOF
6965 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6979 for ac_func
in getpagesize
6981 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6982 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6983 cat >>confdefs.h
<<_ACEOF
6984 #define HAVE_GETPAGESIZE 1
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6991 $as_echo_n "checking for working mmap... " >&6; }
6992 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6993 $as_echo_n "(cached) " >&6
6995 if test "$cross_compiling" = yes; then :
6996 ac_cv_func_mmap_fixed_mapped
=no
6998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6999 /* end confdefs.h. */
7000 $ac_includes_default
7001 /* malloc might have been renamed as rpl_malloc. */
7004 /* Thanks to Mike Haertel and Jim Avera for this test.
7005 Here is a matrix of mmap possibilities:
7006 mmap private not fixed
7007 mmap private fixed at somewhere currently unmapped
7008 mmap private fixed at somewhere already mapped
7009 mmap shared not fixed
7010 mmap shared fixed at somewhere currently unmapped
7011 mmap shared fixed at somewhere already mapped
7012 For private mappings, we should verify that changes cannot be read()
7013 back from the file, nor mmap's back from the file at a different
7014 address. (There have been systems where private was not correctly
7015 implemented like the infamous i386 svr4.0, and systems where the
7016 VM page cache was not coherent with the file system buffer cache
7017 like early versions of FreeBSD and possibly contemporary NetBSD.)
7018 For shared mappings, we should conversely verify that changes get
7019 propagated back to all the places they're supposed to be.
7021 Grep wants private fixed already mapped.
7022 The main things grep needs to know about mmap are:
7023 * does it exist and is it safe to write into the mmap'd area
7024 * how to use it (BSD variants) */
7027 #include <sys/mman.h>
7029 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7033 /* This mess was copied from the GNU getpagesize.h. */
7034 #ifndef HAVE_GETPAGESIZE
7035 # ifdef _SC_PAGESIZE
7036 # define getpagesize() sysconf(_SC_PAGESIZE)
7037 # else /* no _SC_PAGESIZE */
7038 # ifdef HAVE_SYS_PARAM_H
7039 # include <sys/param.h>
7040 # ifdef EXEC_PAGESIZE
7041 # define getpagesize() EXEC_PAGESIZE
7042 # else /* no EXEC_PAGESIZE */
7044 # define getpagesize() NBPG * CLSIZE
7047 # endif /* no CLSIZE */
7048 # else /* no NBPG */
7050 # define getpagesize() NBPC
7051 # else /* no NBPC */
7053 # define getpagesize() PAGESIZE
7054 # endif /* PAGESIZE */
7055 # endif /* no NBPC */
7056 # endif /* no NBPG */
7057 # endif /* no EXEC_PAGESIZE */
7058 # else /* no HAVE_SYS_PARAM_H */
7059 # define getpagesize() 8192 /* punt totally */
7060 # endif /* no HAVE_SYS_PARAM_H */
7061 # endif /* no _SC_PAGESIZE */
7063 #endif /* no HAVE_GETPAGESIZE */
7068 char *data, *data2, *data3;
7073 pagesize = getpagesize ();
7075 /* First, make a file with some known garbage in it. */
7076 data = (char *) malloc (pagesize);
7079 for (i = 0; i < pagesize; ++i)
7080 *(data + i) = rand ();
7082 fd = creat ("conftest.mmap", 0600);
7085 if (write (fd, data, pagesize) != pagesize)
7089 /* Next, check that the tail of a page is zero-filled. File must have
7090 non-zero length, otherwise we risk SIGBUS for entire page. */
7091 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7095 if (write (fd2, cdata2, 1) != 1)
7097 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7098 if (data2 == MAP_FAILED)
7100 for (i = 0; i < pagesize; ++i)
7104 if (munmap (data2, pagesize))
7107 /* Next, try to mmap the file at a fixed address which already has
7108 something else allocated at it. If we can, also make sure that
7109 we see the same garbage. */
7110 fd = open ("conftest.mmap", O_RDWR);
7113 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7114 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7116 for (i = 0; i < pagesize; ++i)
7117 if (*(data + i) != *(data2 + i))
7120 /* Finally, make sure that changes to the mapped area do not
7121 percolate back to the file as seen by read(). (This is a bug on
7122 some variants of i386 svr4.0.) */
7123 for (i = 0; i < pagesize; ++i)
7124 *(data2 + i) = *(data2 + i) + 1;
7125 data3 = (char *) malloc (pagesize);
7128 if (read (fd, data3, pagesize) != pagesize)
7130 for (i = 0; i < pagesize; ++i)
7131 if (*(data + i) != *(data3 + i))
7137 if ac_fn_c_try_run
"$LINENO"; then :
7138 ac_cv_func_mmap_fixed_mapped
=yes
7140 ac_cv_func_mmap_fixed_mapped
=no
7142 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7143 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7148 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7149 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7151 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7154 rm -f conftest.mmap conftest.txt
7159 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7160 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7161 aros_config_ldflags
=""
7163 aros_shared_default
=yes
7165 aros_shared_cflags
="-fPIC"
7166 aros_shared_aflags
=""
7167 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7168 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7170 aros_kernel_ar_flags
="cr"
7171 aros_target_ar_flags
="cr"
7172 aros_target_nm_flags
="-C -ul"
7173 aros_target_strip_flags
="--strip-unneeded -R.comment"
7178 aros_target_genmap
="-Wl,-Map -Xlinker"
7180 # Native flavour stuff
7181 aros_serial_debug
="0"
7183 # Palm native flavour stuff
7184 aros_palm_debug_hack
="0"
7186 # Unix flavour stuff
7187 aros_nesting_supervisor
="0"
7189 # Collect-aros stuff: "-ius" to ignore undefined symbols
7190 ignore_undefined_symbols
=""
7192 # Check for X11 by default
7195 #-----------------------------------------------------------------------------
7198 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7199 # it switched on by default, and we use the host compiler, so it compiles AROS
7200 # code with this enabled resulting in link failures as we don't have support
7203 # We use two methods to disable it. For the host compiler (used to compile
7204 # some hosted modules), we test to see if the compiler supports stack
7205 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7206 # work on all platforms.
7208 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7209 # (this is done unconditionally, as it should have no effect on compilers
7210 # without the stack protection feature). This may be specific to the way that
7211 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7212 # strong enough to disable it in a generic way though, so we'll live with it
7213 # until another vendor ships GCC with it enabled in a different way, and deal
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7218 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7219 save_cflags
="$CFLAGS"
7220 CFLAGS
="$CFLAGS -fno-stack-protector"
7221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7222 /* end confdefs.h. */
7232 if ac_fn_c_try_compile
"$LINENO"; then :
7233 use_no_stack_protector
="yes"
7235 use_no_stack_protector
="no"
7237 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7239 $as_echo "$use_no_stack_protector" >&6; }
7240 if test "x-$use_no_stack_protector" = "x-yes" ; then
7241 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7243 CFLAGS
="$save_cflags"
7245 #-----------------------------------------------------------------------------
7247 # Disable pointer-signedness warnings if the compiler recognises the option
7248 # (this only works for the host compiler at the moment)
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7251 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7252 save_cflags
="$CFLAGS"
7253 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7255 /* end confdefs.h. */
7265 if ac_fn_c_try_compile
"$LINENO"; then :
7266 use_no_sign_warning
="yes"
7268 use_no_sign_warning
="no"
7270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7272 $as_echo "$use_no_sign_warning" >&6; }
7273 if test "x-$use_no_sign_warning" = "x-yes" ; then
7274 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7276 CFLAGS
="$save_cflags"
7278 #-----------------------------------------------------------------------------
7280 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7283 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7284 save_cflags
="$CFLAGS"
7285 CFLAGS
="$CFLAGS -fgnu89-inline"
7286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7287 /* end confdefs.h. */
7297 if ac_fn_c_try_compile
"$LINENO"; then :
7298 use_gnu89_inline
="yes"
7300 use_gnu89_inline
="no"
7302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7304 $as_echo "$use_gnu89_inline" >&6; }
7305 if test "x-$use_gnu89_inline" = "x-yes" ; then
7306 gnu89_inline
="-fgnu89-inline"
7308 CFLAGS
="$save_cflags"
7310 #-----------------------------------------------------------------------------
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7313 $as_echo_n "checking for type of build... " >&6; }
7314 # Check whether --enable-build_type was given.
7315 if test "${enable_build_type+set}" = set; then :
7316 enableval
=$enable_build_type; build_type
=$enableval
7318 build_type
="personal"
7322 if test "$build_type" = "nightly"; then
7323 build_type_string
="NIGHTLY"
7324 elif test "$build_type" = "snapshot"; then
7325 build_type_string
="SNAPSHOT"
7326 elif test "$build_type" = "milestone"; then
7327 build_type_string
="MILESTONE"
7328 elif test "$build_type" = "release"; then
7329 build_type_string
="RELEASE"
7331 build_type_string
="PERSONAL"
7332 build_type
="personal"
7335 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7338 $as_echo "$build_type" >&6; }
7340 #-----------------------------------------------------------------------------
7341 all_debug_types
="messages stack modules mungwall symbols"
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7344 $as_echo_n "checking which debug types to enable... " >&6; }
7345 # Check whether --enable-debug was given.
7346 if test "${enable_debug+set}" = set; then :
7347 enableval
=$enable_debug; debug
="$enableval"
7353 if test "$debug" = "" -o "$debug" = "no"; then
7355 elif test "$debug" = "yes"; then
7359 if test "$debug" = "all" ; then
7360 debug
="messages stack modules symbols"
7361 for d
in $all_debug_types; do
7362 export aros_
${d}_debug
="1"
7365 for d
in $all_debug_types; do
7366 export aros_
${d}_debug
="0"
7370 if test "$debug" != "none"; then
7371 debug
=`echo $debug | sed s/,/\ /g`
7374 for d2
in $all_debug_types; do
7375 if test "$d2" = "$d"; then
7380 if test "$found" = "0"; then
7381 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7383 export aros_
${d}_debug
="1"
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7388 $as_echo "$debug" >&6; }
7390 if test "$aros_messages_debug" = "1"; then
7391 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7393 aros_messages_debug
=""
7395 if test "$aros_symbols_debug" = "1"; then
7396 aros_symbols_debug
="-g"
7398 aros_symbols_debug
=""
7401 # These are the flags to pass when compiling debugged programs
7402 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7403 aros_debug_aflags
=""
7404 aros_debug_ldflags
="$aros_symbols_debug"
7406 #-----------------------------------------------------------------------------
7407 # Checking for distcc and ccache.
7409 # Always apply the transforms in this particular order. Basically you should
7410 # always run 'ccache distcc compiler' in that order for the best performance.
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7413 $as_echo_n "checking whether to enable distcc... " >&6; }
7414 # Check whether --enable-distcc was given.
7415 if test "${enable_distcc+set}" = set; then :
7416 enableval
=$enable_distcc; distcc
="$enableval"
7421 if test "$distcc" != "" -a "$distcc" != "no"; then
7422 # AC_CHECK_PROG will print out the result in this case
7423 # Extract the first word of "distcc", so it can be a program name with args.
7424 set dummy distcc
; ac_word
=$2
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426 $as_echo_n "checking for $ac_word... " >&6; }
7427 if ${ac_cv_path_DISTCC+:} false
; then :
7428 $as_echo_n "(cached) " >&6
7432 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7439 test -z "$as_dir" && as_dir
=.
7440 for ac_exec_ext
in '' $ac_executable_extensions; do
7441 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7442 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7450 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7454 DISTCC
=$ac_cv_path_DISTCC
7455 if test -n "$DISTCC"; then
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7457 $as_echo "$DISTCC" >&6; }
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 $as_echo "no" >&6; }
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7470 $as_echo_n "checking whether to enable ccache... " >&6; }
7471 # Check whether --enable-ccache was given.
7472 if test "${enable_ccache+set}" = set; then :
7473 enableval
=$enable_ccache; ccache
="$enableval"
7478 if test "$ccache" != "" -a "$ccache" != "no"; then
7479 # AC_CHECK_PROG will print out the result in this case
7480 # Extract the first word of "ccache", so it can be a program name with args.
7481 set dummy ccache
; ac_word
=$2
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7483 $as_echo_n "checking for $ac_word... " >&6; }
7484 if ${ac_cv_prog_CCACHE+:} false
; then :
7485 $as_echo_n "(cached) " >&6
7487 if test -n "$CCACHE"; then
7488 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7494 test -z "$as_dir" && as_dir
=.
7495 for ac_exec_ext
in '' $ac_executable_extensions; do
7496 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7497 ac_cv_prog_CCACHE
="ccache"
7498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7507 CCACHE
=$ac_cv_prog_CCACHE
7508 if test -n "$CCACHE"; then
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7510 $as_echo "$CCACHE" >&6; }
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7513 $as_echo "no" >&6; }
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 $as_echo "no" >&6; }
7522 #-----------------------------------------------------------------------------
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7524 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7526 # Check whether --with-kernel-gcc-version was given.
7527 if test "${with_kernel_gcc_version+set}" = set; then :
7528 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7530 kernel_tool_version
=""
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7534 $as_echo "$kernel_tool_version" >&6; }
7536 #-----------------------------------------------------------------------------
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7538 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7540 # Check whether --with-gcc-version was given.
7541 if test "${with_gcc_version+set}" = set; then :
7542 withval
=$with_gcc_version; target_tool_version
="$withval"
7544 target_tool_version
=""
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7548 $as_echo "$target_tool_version" >&6; }
7550 #-----------------------------------------------------------------------------
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7552 $as_echo_n "checking what optimization flags to use... " >&6; }
7554 # Check whether --with-optimization was given.
7555 if test "${with_optimization+set}" = set; then :
7556 withval
=$with_optimization; optimization
="$withval"
7558 optimization
="unknown"
7561 if test "$optimization" = "unknown"; then
7562 if test "$debug" != "none"; then
7568 aros_config_cflags
="$aros_config_cflags $optimization"
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7570 $as_echo "$optimization" >&6; }
7572 #-----------------------------------------------------------------------------
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7574 $as_echo_n "checking what paranoia flags to use... " >&6; }
7576 # Check whether --with-paranoia was given.
7577 if test "${with_paranoia+set}" = set; then :
7578 withval
=$with_paranoia; paranoia_flags
="$withval"
7580 paranoia_flags
="default"
7583 if test "$paranoia_flags" = "default"; then
7585 else if test "$paranoia_flags" = "yes"; then
7586 paranoia_flags
="-Wall -Werror"
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7589 $as_echo "$paranoia_flags" >&6; }
7590 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7592 #-----------------------------------------------------------------------------
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7594 $as_echo_n "checking what target variant to enable... " >&6; }
7595 # Check whether --enable-target_variant was given.
7596 if test "${enable_target_variant+set}" = set; then :
7597 enableval
=$enable_target_variant; target_variant
=$enableval
7602 if test "$target_variant" = ""; then
7603 aros_target_variant
=""
7604 aros_target_suffix
=""
7607 aros_target_variant
="$target_variant"
7608 aros_target_suffix
="-$target_variant"
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7611 $as_echo "$enableval" >&6; }
7613 #-----------------------------------------------------------------------------
7614 # Target-specific defaults. You can override then on a per-target basis.
7616 # Bootloader name. Currently used by PC target.
7617 target_bootloader
="none"
7619 #-----------------------------------------------------------------------------
7620 # Additional options for some specific targets
7622 case "$aros_target_variant" in
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7625 $as_echo_n "checking XCode path... " >&6; }
7627 # Check whether --with-xcode was given.
7628 if test "${with_xcode+set}" = set; then :
7629 withval
=$with_xcode; aros_xcode_path
="$withval"
7631 aros_xcode_path
="/Developer"
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7635 $as_echo "$aros_xcode_path" >&6; }
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7638 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7640 # Check whether --with-sdk-version was given.
7641 if test "${with_sdk_version+set}" = set; then :
7642 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7644 aros_sdk_version
="4.1"
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7648 $as_echo "$aros_sdk_version" >&6; }
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7654 $as_echo_n "checking Android SDK path... " >&6; }
7656 # Check whether --with-sdk was given.
7657 if test "${with_sdk+set}" = set; then :
7658 withval
=$with_sdk; aros_android_sdk
="$withval"
7660 aros_android_sdk
=$default_android_sdk
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7664 $as_echo "$aros_android_sdk" >&6; }
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7667 $as_echo_n "checking Android NDK path... " >&6; }
7669 # Check whether --with-ndk was given.
7670 if test "${with_ndk+set}" = set; then :
7671 withval
=$with_ndk; aros_android_ndk
="$withval"
7673 aros_android_ndk
="none"
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7677 $as_echo "$aros_android_ndk" >&6; }
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7680 $as_echo_n "checking what Android SDK version to use... " >&6; }
7682 # Check whether --with-sdk-version was given.
7683 if test "${with_sdk_version+set}" = set; then :
7684 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7686 aros_sdk_version
="12"
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7690 $as_echo "$aros_sdk_version" >&6; }
7692 if test "$aros_android_ndk" != "none"; then
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7694 $as_echo_n "checking what Android NDK version to use... " >&6; }
7696 # Check whether --with-ndk-version was given.
7697 if test "${with_ndk_version+set}" = set; then :
7698 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7700 aros_ndk_version
="9"
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7704 $as_echo "$aros_ndk_version" >&6; }
7707 export PATH
="$aros_android_sdk/tools:$PATH"
7708 # Extract the first word of "$android_tool", so it can be a program name with args.
7709 set dummy
$android_tool; ac_word
=$2
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7711 $as_echo_n "checking for $ac_word... " >&6; }
7712 if ${ac_cv_path_android_tool+:} false
; then :
7713 $as_echo_n "(cached) " >&6
7715 case $android_tool in
7717 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7724 test -z "$as_dir" && as_dir
=.
7725 for ac_exec_ext
in '' $ac_executable_extensions; do
7726 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7727 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7738 android_tool
=$ac_cv_path_android_tool
7739 if test -n "$android_tool"; then
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7741 $as_echo "$android_tool" >&6; }
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7744 $as_echo "no" >&6; }
7748 if test "$android_tool" = ""; then
7749 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7752 aros_android_level
=android-
$aros_sdk_version
7753 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7754 echo "Platform $aros_android_level is not installed in your SDK"
7755 echo "Use --with-sdk-version=<API level number> to select another platform version"
7756 echo "You can check what plaform versions are installed in your SDK"
7757 echo "by examining contents of $aros_android_sdk/platforms directory"
7758 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7761 # Extract the first word of "ant", so it can be a program name with args.
7762 set dummy ant
; ac_word
=$2
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7764 $as_echo_n "checking for $ac_word... " >&6; }
7765 if ${ac_cv_path_ant+:} false
; then :
7766 $as_echo_n "(cached) " >&6
7770 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7777 test -z "$as_dir" && as_dir
=.
7778 for ac_exec_ext
in '' $ac_executable_extensions; do
7779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7780 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7792 if test -n "$ant"; then
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7794 $as_echo "$ant" >&6; }
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7797 $as_echo "no" >&6; }
7801 if test "$ant" = ""; then
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7803 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7806 if test "$host_os" = "mingw32"; then
7807 android_tool
="cmd //c $android_tool"
7813 #-----------------------------------------------------------------------------
7814 # External toolchains
7815 kernel_tool_prefix
="none"
7816 aros_tool_prefix
="none"
7817 elf_tool_prefix
="${target_cpu}-elf-"
7819 # This is the target configuration switch.
7820 case "$target_os" in
7822 aros_target_arch
="linux"
7823 aros_target_family
="unix"
7824 case "$target_cpu" in
7826 aros_target_cpu
="m68k"
7827 aros_object_format
="m68kelf"
7828 aros_flavour
="emulcompat"
7829 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7830 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7831 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7832 gcc_target_cpu
="mc68000"
7835 aros_target_cpu
="i386"
7836 aros_object_format
="elf_i386"
7837 aros_flavour
="emulation"
7838 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7839 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7840 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7841 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7842 aros_config_ldflags
="-m32 -march=i486"
7843 aros_kernel_ldflags
="-Wl,-melf_i386"
7844 aros_default_wbdepth
=8
7845 gcc_target_cpu
="i386"
7846 pci_hidd_target
="hidd-pci-linux"
7847 android_tool_dir_prefix
="x86"
7848 android_tool_prefix
="i686-android-linux"
7849 android_ndk_arch
="x86"
7852 aros_target_cpu
="x86_64"
7853 aros_object_format
="elf_x86_64"
7854 aros_flavour
="emulation"
7855 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7856 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7857 aros_default_wbdepth
=8
7858 pci_hidd_target
="hidd-pci-linux"
7861 aros_target_cpu
="ppc"
7862 aros_object_format
="elf32ppc"
7863 aros_flavour
="emulation"
7864 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7865 aros_default_wbdepth
=8
7866 gcc_target_cpu
="ppc"
7869 # Same as powerpc, but I need this for the nightly build to work again.
7870 # Actually, the nightly should be made working with powerpc target.
7871 # That just was too much work for the moment, another week or two.
7873 aros_target_cpu
="ppc"
7874 aros_object_format
="elf32ppc"
7875 aros_flavour
="emulation"
7876 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7877 aros_default_wbdepth
=8
7878 gcc_target_cpu
="ppc"
7881 aros_target_cpu
="arm"
7883 aros_object_format
="armelf_linux_eabi"
7884 aros_flavour
="emulation"
7885 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7886 gcc_target_cpu
="arm"
7887 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7888 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7889 aros_arch_libs
="-laeabi"
7890 gcc_default_float_abi
="hard"
7891 android_tool_dir_prefix
="arm-linux-androideabi"
7892 android_tool_prefix
="arm-linux-androideabi"
7893 android_ndk_arch
="arm"
7894 kernel_tool_prefix
="arm-linux-gnueabihf-"
7897 aros_target_cpu
="arm"
7898 aros_object_format
="armelf_linux_eabi"
7899 aros_flavour
="emulation"
7900 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7901 gcc_target_cpu
="arm"
7902 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7903 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7904 aros_arch_libs
="-laeabi"
7905 android_tool_dir_prefix
="arm-linux-androideabi"
7906 android_tool_prefix
="arm-linux-androideabi"
7907 android_ndk_arch
="arm"
7908 kernel_tool_prefix
="arm-linux-gnueabi-"
7911 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7914 case "$aros_target_variant" in
7917 if test "$android_ndk_arch" = ""; then
7918 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7921 aros_default_wbwidth
=320
7922 aros_default_wbheight
=480
7923 if test "$aros_android_ndk" = "none"; then
7924 aros_kernel_cflags
="-mandroid"
7925 aros_kernel_ldflags
="-mandroid"
7928 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
7929 kernel_tool_version
=""
7930 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7931 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7932 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7933 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7934 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7937 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7938 # Disable implicit PIC mode
7939 aros_target_cflags
="$aros_target_cflags -fno-pic"
7940 kernel_tool_prefix
="$android_tool_prefix-"
7946 aros_target_arch
="pc"
7947 aros_shared_default
="no"
7948 target_bootloader
="grub2"
7949 case "$target_cpu" in
7951 aros_target_cpu
="i386"
7954 if test "$aros_object_format" = "" ; then
7955 aros_object_format
="elf_i386"
7957 aros_flavour
="standalone"
7958 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7959 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7960 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7961 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7962 aros_config_ldflags
="-m32 -march=i486"
7963 aros_kernel_ldflags
="-Wl,-melf_i386"
7964 aros_default_wbwidth
=640
7965 aros_default_wbheight
=480
7966 gcc_target_cpu
="i386"
7969 aros_target_cpu
="x86_64"
7971 if test "$aros_object_format" = "" ; then
7972 aros_object_format
="elf_x86_64"
7974 aros_flavour
="standalone"
7975 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7976 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7977 aros_kernel_ldflags
=""
7978 aros_default_wbwidth
=640
7979 aros_default_wbheight
=480
7982 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7988 aros_target_arch
="prep"
7989 aros_shared_default
="no"
7990 aros_target_cpu
="ppc"
7991 aros_object_format
="elf32ppc"
7992 aros_flavour
="ppcnative"
7993 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7994 aros_kernel_ldflags
=""
7995 aros_default_wbwidth
=640
7996 aros_default_wbheight
=480
7997 gcc_target_cpu
="ppc"
8001 aros_target_arch
="freebsd"
8002 aros_target_family
="unix"
8003 aros_target_cpu
="i386"
8004 aros_flavour
="emulation"
8005 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8006 gcc_target_cpu
="i386"
8008 aros_target_strip_flags
="-x"
8012 aros_target_arch
="darwin"
8013 aros_target_family
="unix"
8014 aros_flavour
="emulation"
8015 case "$target_cpu" in
8017 aros_ios_platform
="iPhoneSimulator"
8018 aros_target_cpu
="i386"
8019 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8020 aros_kernel_ldflags
=""
8021 aros_macosx_version
="10.4"
8022 aros_default_wbdepth
=8
8023 gcc_target_cpu
="i386"
8024 aros_object_format
="elf_i386"
8025 aros_kernel_ar_flags
="-cr"
8026 aros_target_strip_flags
="-x"
8027 kernel_tool_flags
="-m32"
8030 aros_target_cpu
="x86_64"
8031 aros_object_format
="elf_x86_64"
8032 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8033 aros_macosx_version
="10.6"
8034 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8035 aros_kernel_cflags
="-m64"
8036 aros_kernel_ldflags
="-m64"
8037 aros_target_cflags
="-mcmodel=large"
8038 aros_default_wbdepth
=8
8040 aros_kernel_ar_flags
="-cr"
8043 aros_kernel_ranlib
="ranlib"
8045 aros_kernel_strip
="strip"
8046 kernel_tool_prefix
="i686-apple-darwin10-"
8049 aros_target_cpu
="ppc"
8050 aros_object_format
="elf32ppc"
8051 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8052 aros_kernel_ldflags
=""
8053 aros_macosx_version
="10.0"
8054 aros_default_wbdepth
=8
8055 gcc_target_cpu
="ppc"
8057 aros_kernel_ar_flags
="-cr"
8058 aros_kernel_ld
="ld -arch ppc"
8059 aros_kernel_as
="as -arch ppc"
8060 aros_kernel_ranlib
="ranlib -arch ppc"
8061 aros_kernel_nm
="nm -arch ppc"
8062 aros_kernel_strip
="strip -arch ppc"
8063 kernel_tool_prefix
="powerpc-apple-darwin10-"
8066 aros_ios_platform
="iPhoneOS"
8067 aros_target_cpu
="arm"
8068 aros_object_format
="armelf_linux_eabi"
8069 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8070 aros_arch_libs
="-laeabi"
8071 aros_default_wbdepth
=8
8072 gcc_target_cpu
="arm"
8074 aros_kernel_ar_flags
="-cr"
8075 aros_kernel_ld
="ld -arch arm"
8076 aros_kernel_ranlib
="ranlib -arch arm"
8077 kernel_tool_prefix
="arm-apple-darwin10-"
8078 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8081 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8084 case "$aros_target_variant" in
8086 aros_ios_version
="3.0"
8087 aros_default_wbwidth
=320
8088 aros_default_wbheight
=480
8089 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8090 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8091 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8093 # This is here because it may depend on iOS or SDK version
8094 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8095 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8096 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8099 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8100 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8106 aros_target_arch
="dragonfly"
8107 aros_target_family
="unix"
8108 aros_flavour
="emulation"
8109 case "$target_cpu" in
8111 aros_target_cpu
="i386"
8112 aros_object_format
="elf_i386"
8113 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8116 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8117 aros_target_cpu
="x86_64"
8118 aros_object_format
="elf_x86_64"
8119 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8122 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8128 aros_target_arch
="netbsd"
8129 aros_target_family
="unix"
8130 case "$target_cpu" in
8132 aros_target_cpu
="m68k"
8133 aros_object_format
="m68kelf"
8134 aros_flavour
="emulcompat"
8135 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8136 gcc_target_cpu
="mc68000"
8139 aros_target_cpu
="i386"
8140 aros_object_format
="elf_i386"
8141 aros_flavour
="emulation"
8142 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8143 aros_default_wbdepth
=8
8144 gcc_target_cpu
="i386"
8147 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8150 aros_target_genmap
="-Wl,-M -Xlinker >"
8151 aros_flavour
="emulation"
8152 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8156 aros_target_arch
="openbsd"
8157 aros_target_family
="unix"
8158 case "$target_cpu" in
8160 aros_target_cpu
="i386"
8161 aros_object_format
="elf_i386"
8162 aros_flavour
="emulation"
8163 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8164 gcc_target_cpu
="i386"
8167 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8170 aros_target_genmap
="-Wl,-M -Xlinker >"
8171 aros_target_nm_flags
="-u"
8172 aros_flavour
="emulation"
8176 aros_target_arch
="solaris"
8177 aros_target_family
="unix"
8178 case "$target_cpu" in
8180 aros_target_cpu
="i386"
8181 aros_object_format
="elf_i386"
8182 aros_flavour
="emulation"
8183 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8184 aros_default_wbdepth
=8
8185 gcc_target_cpu
="i386"
8188 aros_target_cpu
="sparc"
8189 aros_object_format
="elf_sparc"
8190 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8191 gcc_target_cpu
="sparc"
8194 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8197 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8198 aros_flavour
="emulation"
8202 aros_target_arch
="morphos"
8203 aros_shared_default
="no"
8204 aros_target_cpu
="ppc"
8205 aros_object_format
="elf_ppc"
8206 aros_flavour
="nativecompat"
8207 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8208 gcc_target_cpu
="ppc"
8212 aros_target_arch
="sam440"
8213 aros_shared_default
="no"
8214 aros_target_cpu
="ppc"
8215 aros_object_format
="elf32ppc"
8216 aros_flavour
="ppcnative"
8217 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8218 aros_kernel_ldflags
=""
8219 aros_default_wbwidth
=1024
8220 aros_default_wbheight
=768
8221 aros_default_wbdepth
=24
8222 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8223 gcc_target_cpu
="powerpc"
8227 aros_target_arch
="efika"
8228 aros_shared_default
="no"
8229 aros_target_cpu
="arm"
8230 aros_object_format
="armelf_linux_eabi"
8231 aros_flavour
="standalone"
8232 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8233 aros_kernel_ldflags
=""
8234 aros_default_wbwidth
=1024
8235 aros_default_wbheight
=600
8236 aros_arch_libs
="-laeabi"
8237 gcc_default_cpu
="armv7-a"
8238 gcc_default_fpu
="vfpv3"
8239 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables -Os"
8240 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables -Os"
8241 case "$target_cpu" in
8243 gcc_default_float_abi
="hard"
8248 gcc_default_float_abi
="softfp"
8251 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8257 aros_target_arch
="chrp"
8258 aros_shared_default
="no"
8259 aros_target_cpu
="ppc"
8260 aros_object_format
="elf32ppc"
8261 aros_flavour
="ppcnative"
8262 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8263 aros_kernel_ldflags
=""
8264 aros_default_wbwidth
=640
8265 aros_default_wbheight
=480
8266 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8267 gcc_target_cpu
="powerpc"
8268 case "$aros_target_variant" in
8270 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8276 aros_flavour
="standalone"
8277 aros_target_arch
="raspi"
8278 aros_target_cpu
="arm"
8279 aros_object_format
="armelf_linux_eabi"
8280 aros_shared_default
="no"
8281 aros_arch_libs
="-laeabi"
8283 gcc_default_cpu
="armv6"
8284 gcc_default_cpu_tune
="arm1176jzf-s"
8285 case "$target_cpu" in
8287 gcc_default_float_abi
="hard"
8290 gcc_default_float_abi
="softfp"
8293 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8297 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8298 aros_config_cflags
="$aros_config_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8299 aros_config_aflags
="$aros_config_aflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8300 aros_kernel_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8301 aros_target_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8305 aros_target_arch
="amiga"
8306 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8307 aros_shared_default
="no"
8309 case "$target_cpu" in
8311 # Check whether --enable-amigaos_compliance was given.
8312 if test "${enable_amigaos_compliance+set}" = set; then :
8313 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8317 aros_target_cpu
="m68k"
8318 aros_object_format
="m68kelf"
8319 aros_flavour
="standcompat"
8320 gcc_target_cpu
="m68000"
8321 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -Os -DNOLIBINLINE"
8322 aros_config_aflags
="$aros_config_aflags"
8323 aros_target_strip_flags
="-R.comment --strip-debug"
8324 aros_default_wbwidth
=640
8325 aros_default_wbheight
=256
8326 aros_default_wbdepth
=2
8330 aros_flavour
="native"
8331 gcc_target_cpu
="ppc"
8334 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8340 aros_target_arch
="mingw32"
8341 aros_shared_default
="no"
8342 aros_flavour
="emulation"
8343 aros_shared_cflags
=""
8344 need_crosstools
="yes"
8347 case "$target_cpu" in
8349 aros_target_cpu
="i386"
8350 aros_object_format
="elf_i386"
8351 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8352 aros_default_wbdepth
=8
8353 gcc_target_cpu
="i386"
8355 kernel_tool_prefix
="i386-mingw32-"
8358 aros_target_cpu
="x86_64"
8359 aros_object_format
="elf_x86_64"
8360 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8361 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8362 aros_default_wbdepth
=8
8363 kernel_tool_prefix
="x86_64-w64-mingw32-"
8366 aros_target_cpu
="arm"
8367 aros_object_format
="armelf_linux_eabi"
8368 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8369 aros_arch_libs
="-laeabi"
8370 aros_default_wbdepth
=8
8371 gcc_target_cpu
="arm"
8372 gcc_default_float_abi
="soft"
8373 kernel_tool_prefix
="arm-mingw32ce-"
8374 aros_default_wbwidth
=160
8375 aros_default_wbheight
=160
8378 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8381 if test $host_os = "cygwin"; then
8382 aros_kernel_cflags
="-mno-cygwin"
8386 aros_target_arch
="pp"
8387 aros_shared_default
="no"
8388 case "$target_cpu" in
8390 aros_target_cpu
="m68k"
8391 aros_object_format
="m68kelf"
8392 aros_flavour
="palmnative"
8393 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8394 aros_default_wbwidth
=160
8395 aros_default_wbheight
=160
8396 aros_default_wbdepth
=1
8397 aros_target_ar_flags
="cru"
8398 aros_compiler_libs
="-lgcc1"
8399 aros_shared_default
=no
8400 aros_shared_cflags
="-fpic"
8401 aros_shared_aflags
=""
8402 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8403 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8404 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8405 aros_debug_aflags
=""
8406 aros_debug_ldflags
="$aros_symbols_debug"
8407 aros_mungwall_debug
="0"
8408 aros_modules_debug
="0"
8409 gcc_target_cpu
="mc68000"
8410 ignore_undefined_symbols
="-ius"
8413 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8419 aros_target_arch
="mac"
8420 aros_shared_default
="no"
8421 case "$target_cpu" in
8423 aros_target_cpu
="m68k"
8424 aros_object_format
="m68kelf"
8425 aros_flavour
="mac68knative"
8426 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8427 aros_default_wbwidth
=512
8428 aros_default_wbheight
=384
8429 aros_default_wbdepth
=8
8430 aros_target_ar_flags
="cru"
8431 aros_compiler_libs
="-lgcc1"
8432 aros_shared_default
=no
8433 aros_shared_cflags
="-fpic"
8434 aros_shared_aflags
=""
8435 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8436 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8437 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8438 aros_debug_aflags
=""
8439 aros_debug_ldflags
="$aros_symbols_debug"
8440 aros_mungwall_debug
="0"
8441 aros_modules_debug
="0"
8442 gcc_target_cpu
="mc68000"
8443 ignore_undefined_symbols
="-ius"
8446 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8452 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8456 #-----------------------------------------------------------------------------
8457 crosstools_guess
=yes
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8460 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8462 # Check whether --with-kernel-toolchain-prefix was given.
8463 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8464 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8468 $as_echo "$kernel_tool_prefix" >&6; }
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8471 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8473 # Check whether --with-elf-toolchain-prefix was given.
8474 if test "${with_elf_toolchain_prefix+set}" = set; then :
8475 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8480 $as_echo "$elf_tool_prefix" >&6; }
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8483 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8485 # Check whether --with-aros-toolchain was given.
8486 if test "${with_aros_toolchain+set}" = set; then :
8487 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8491 if test "$aros_tool_prefix" = "yes" ; then
8492 aros_tool_prefix
=$aros_target_cpu-aros-
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8495 $as_echo "$aros_tool_prefix" >&6; }
8497 #-----------------------------------------------------------------------------
8498 # Checking if we should build crosstools..
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8500 $as_echo_n "checking whether to build crosstools... " >&6; }
8501 # Check whether --enable-crosstools was given.
8502 if test "${enable_crosstools+set}" = set; then :
8503 enableval
=$enable_crosstools; crosstools
="$enableval"
8505 crosstools
="$crosstools_guess"
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8509 $as_echo "$crosstools" >&6; }
8511 if test "${crosstools}" = "yes"; then
8512 if test "${crosstools_guess}" = "no"; then
8513 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8518 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8520 # Check whether --with-aros-toolchain-install was given.
8521 if test "${with_aros_toolchain_install+set}" = set; then :
8522 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8525 if test "x$aros_toolchain_install" = "x"; then
8526 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8528 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8529 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8532 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include Objective-C suppport" >&5
8535 $as_echo_n "checking whether to include Objective-C suppport... " >&6; }
8536 # Check whether --enable-objc was given.
8537 if test "${enable_objc+set}" = set; then :
8538 enableval
=$enable_objc; objc
="$enableval"
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
8544 $as_echo "$objc" >&6; }
8545 if test "x$objc" = "xyes"; then
8548 objc_target
="no-objc"
8551 # Now process extra architecture-specific options.
8552 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8553 # as well as floating-point ABI.
8554 case "$aros_target_cpu" in
8556 if test "$gcc_default_cpu" = ""; then
8557 gcc_default_cpu
="armv6"
8559 if test "$gcc_default_fpu" = ""; then
8560 gcc_default_fpu
="vfp"
8562 if test "$gcc_default_float_abi" = ""; then
8563 gcc_default_float_abi
="softfp"
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8567 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8569 # Check whether --with-cpu was given.
8570 if test "${with_cpu+set}" = set; then :
8571 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8573 aros_gcc_cpu
=$gcc_default_cpu
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8577 $as_echo "$aros_gcc_cpu" >&6; }
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8580 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8582 # Check whether --with-fpu was given.
8583 if test "${with_fpu+set}" = set; then :
8584 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8586 aros_gcc_fpu
=$gcc_default_fpu
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8590 $as_echo "$aros_gcc_fpu" >&6; }
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8593 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8595 # Check whether --with-float was given.
8596 if test "${with_float+set}" = set; then :
8597 withval
=$with_float; aros_gcc_float_abi
="$withval"
8599 aros_gcc_float_abi
=$gcc_default_float_abi
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8603 $as_echo "$aros_gcc_float_abi" >&6; }
8605 aros_config_cflags
="$aros_config_cflags -marm -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi -fno-asynchronous-unwind-tables -fno-exceptions"
8606 aros_config_aflags
="$aros_config_aflags -marm -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi -fno-asynchronous-unwind-tables -fno-exceptions"
8610 # Some formats need custom ELF specs.
8611 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8612 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8613 elf_specs_in
=config
/${aros_object_format}-specs.
in
8615 elf_specs_in
=config
/elf-specs.
in
8618 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8619 # Since we override specs, we may need to put these defines there
8620 if test "$gcc_target_cpu" != ""; then
8621 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8625 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8627 # Check whether --with-portssources was given.
8628 if test "${with_portssources+set}" = set; then :
8629 withval
=$with_portssources; with_portssrcdir
=$withval
8631 with_portssrcdir
="default"
8634 if test "$with_portssrcdir" = "default"; then
8635 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8637 AROS_PORTSSRCDIR
="$with_portssrcdir"
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8640 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8643 $as_echo_n "checking which bootloader to use... " >&6; }
8645 # Check whether --with-bootloader was given.
8646 if test "${with_bootloader+set}" = set; then :
8647 withval
=$with_bootloader; target_bootloader
=$withval
8649 target_bootloader
=$target_bootloader
8652 if test "$target_bootloader" = "none"; then
8653 aros_target_bootloader
=""
8655 aros_target_bootloader
="$target_bootloader"
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8658 $as_echo "$target_bootloader" >&6; }
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8661 $as_echo_n "checking which icon-set to use... " >&6; }
8663 # Check whether --with-iconset was given.
8664 if test "${with_iconset+set}" = set; then :
8665 withval
=$with_iconset; target_iconset
=$withval
8667 target_iconset
="default"
8670 if test "$target_iconset" = "default"; then
8671 aros_target_iconset
="Gorilla"
8672 target_iconset
="default (Gorilla)"
8674 aros_target_iconset
="$target_iconset"
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8677 $as_echo "$target_iconset" >&6; }
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8680 $as_echo_n "checking which GUI Theme to use... " >&6; }
8682 # Check whether --with-theme was given.
8683 if test "${with_theme+set}" = set; then :
8684 withval
=$with_theme; target_guitheme
=$withval
8686 target_guitheme
="default"
8689 if test "$target_guitheme" = "default"; then
8690 aros_target_guitheme
="Ice"
8692 aros_target_guitheme
="$target_guitheme"
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8695 $as_echo "$aros_target_guitheme" >&6; }
8697 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8701 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8705 if test "$aros_host_cpu" == "x86_64" ; then
8706 if test "$aros_target_cpu" == "i386" ; then
8711 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8712 if test "$aros_host_arch" != "$aros_target_arch" ; then
8716 if test "$host_cc_elf" = "no" ; then
8721 if test "$cross_compiling" = "no" ; then
8722 kernel_tool_prefix
=""
8723 if test "$host_cc_elf" = "yes" ; then
8728 if test "$kernel_tool_version" != ""; then
8729 kernel_tool_version
="-$kernel_tool_version"
8731 if test "$target_tool_version" != ""; then
8732 target_tool_version
="-$target_tool_version"
8735 #######################################################################
8736 ## Compute what toolchains to use, and their paths ##
8737 #######################################################################
8739 # This takes, as input:
8740 # crosstools {yes,no}
8741 # kernel_tool_version {"",[version]}
8742 # target_tool_version {"",[version]}
8743 # kernel_tool_prefix {none,[some-arch-os-]}
8744 # target_tool_prefix ${aros_target_cpu}-aros-
8745 # aros_tool_prefix ${aros_target_cpu}-aros-
8748 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8749 # Where the 'kernel' binaries are located
8750 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8751 # Where the 'target' binaries are located
8752 # (not the symlink farm - that is aros_target_*!)
8755 # if crosstools then
8756 # if kernel_tools_prefix = "no-kernel-prefix-"
8757 # aros_kernel_* = crosstools cc paths
8758 # aros_kernel_cc = elf cc wrapper around crosstools cc
8760 # VALIDATE(${kernel_tools_prefix}*)
8761 # aros_kernel_* = ${kernel_tools_prefix}*
8762 # if ${kernel_tools_prefix}cc is an AROS gcc
8763 # aros_kernel_cc = ${kernel_tools_prefix}cc
8765 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8769 # orig_target_* = aros built crosstools
8770 # orig_target_cc = elf cc wrapper around crosstools cc
8772 # VALIDATE(${kernel_tools_prefix}*)
8774 # orig_target_* = aros_kernel_*
8775 # if aros_kernel_cc is an AROS gcc
8776 # orig_target_cc = aros_kernel_cc
8778 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8782 target_tool_prefix
="${aros_target_cpu}-aros-"
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8785 $as_echo_n "checking which kernel tools... " >&6; }
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8787 $as_echo "$kernel_tool_prefix" >&6; };
8789 if test "$kernel_tool_prefix" = "none" ; then
8790 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8791 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8794 # Kernel tools required - find them
8795 # Note that 'normally', aros_kernel_* overrides will be
8796 # empty, unless specified in the per-arch sections above.
8797 if test "x$aros_kernel_cpp" = "x"; then
8798 aros_kernel_cpp
=${kernel_tool_prefix}cpp
8801 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
8802 if test "$cross_compiling" = "yes" ; then
8803 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8804 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8806 $as_echo_n "checking for $ac_word... " >&6; }
8807 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8808 $as_echo_n "(cached) " >&6
8810 case $aros_kernel_cpp in
8812 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8819 test -z "$as_dir" && as_dir
=.
8820 for ac_exec_ext
in '' $ac_executable_extensions; do
8821 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8822 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8833 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8834 if test -n "$aros_kernel_cpp"; then
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8836 $as_echo "$aros_kernel_cpp" >&6; }
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8839 $as_echo "no" >&6; }
8844 if test "$GCC" = "yes"; then
8845 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8846 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8847 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8849 $as_echo_n "checking for $ac_word... " >&6; }
8850 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8851 $as_echo_n "(cached) " >&6
8853 case $aros_kernel_cpp in
8855 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8859 for as_dir
in `dirname $aros_gcc_cpp`
8862 test -z "$as_dir" && as_dir
=.
8863 for ac_exec_ext
in '' $ac_executable_extensions; do
8864 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8865 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8876 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8877 if test -n "$aros_kernel_cpp"; then
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8879 $as_echo "$aros_kernel_cpp" >&6; }
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8882 $as_echo "no" >&6; }
8887 if test "$aros_kernel_cpp" = ""; then
8888 # Extract the first word of "cpp", so it can be a program name with args.
8889 set dummy cpp
; ac_word
=$2
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8891 $as_echo_n "checking for $ac_word... " >&6; }
8892 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8893 $as_echo_n "(cached) " >&6
8895 case $aros_kernel_cpp in
8897 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8904 test -z "$as_dir" && as_dir
=.
8905 for ac_exec_ext
in '' $ac_executable_extensions; do
8906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8907 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8918 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8919 if test -n "$aros_kernel_cpp"; then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8921 $as_echo "$aros_kernel_cpp" >&6; }
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8924 $as_echo "no" >&6; }
8931 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
8932 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8934 $as_echo_n "checking for $ac_word... " >&6; }
8935 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8936 $as_echo_n "(cached) " >&6
8938 case $aros_kernel_cpp in
8940 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8947 test -z "$as_dir" && as_dir
=.
8948 for ac_exec_ext
in '' $ac_executable_extensions; do
8949 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8950 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8961 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8962 if test -n "$aros_kernel_cpp"; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8964 $as_echo "$aros_kernel_cpp" >&6; }
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8967 $as_echo "no" >&6; }
8973 if test "$aros_kernel_cpp" = ""; then
8974 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8976 if test "x$aros_kernel_cc" = "x"; then
8977 aros_kernel_cc
=${kernel_tool_prefix}gcc
8980 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
8981 if test "$cross_compiling" = "yes" ; then
8982 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8983 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8985 $as_echo_n "checking for $ac_word... " >&6; }
8986 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8987 $as_echo_n "(cached) " >&6
8989 case $aros_kernel_cc in
8991 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8998 test -z "$as_dir" && as_dir
=.
8999 for ac_exec_ext
in '' $ac_executable_extensions; do
9000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9001 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9012 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9013 if test -n "$aros_kernel_cc"; then
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9015 $as_echo "$aros_kernel_cc" >&6; }
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9018 $as_echo "no" >&6; }
9023 if test "$GCC" = "yes"; then
9024 aros_gcc_cc
=`$CC -print-prog-name=cc`
9025 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9026 set dummy
`basename $aros_gcc_cc`; 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_cc+:} false
; then :
9030 $as_echo_n "(cached) " >&6
9032 case $aros_kernel_cc in
9034 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9038 for as_dir
in `dirname $aros_gcc_cc`
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_cc
="$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_cc
=$ac_cv_path_aros_kernel_cc
9056 if test -n "$aros_kernel_cc"; then
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9058 $as_echo "$aros_kernel_cc" >&6; }
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9061 $as_echo "no" >&6; }
9066 if test "$aros_kernel_cc" = ""; then
9067 # Extract the first word of "cc", so it can be a program name with args.
9068 set dummy cc
; ac_word
=$2
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9070 $as_echo_n "checking for $ac_word... " >&6; }
9071 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9072 $as_echo_n "(cached) " >&6
9074 case $aros_kernel_cc in
9076 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9083 test -z "$as_dir" && as_dir
=.
9084 for ac_exec_ext
in '' $ac_executable_extensions; do
9085 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9086 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9097 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9098 if test -n "$aros_kernel_cc"; then
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9100 $as_echo "$aros_kernel_cc" >&6; }
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9103 $as_echo "no" >&6; }
9110 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9111 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9113 $as_echo_n "checking for $ac_word... " >&6; }
9114 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9115 $as_echo_n "(cached) " >&6
9117 case $aros_kernel_cc in
9119 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9126 test -z "$as_dir" && as_dir
=.
9127 for ac_exec_ext
in '' $ac_executable_extensions; do
9128 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9129 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9140 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9141 if test -n "$aros_kernel_cc"; then
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9143 $as_echo "$aros_kernel_cc" >&6; }
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9146 $as_echo "no" >&6; }
9152 if test "$aros_kernel_cc" = ""; then
9153 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9155 if test "x$aros_kernel_cxx" = "x"; then
9156 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9159 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9160 if test "$cross_compiling" = "yes" ; then
9161 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9162 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9164 $as_echo_n "checking for $ac_word... " >&6; }
9165 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9166 $as_echo_n "(cached) " >&6
9168 case $aros_kernel_cxx in
9170 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9177 test -z "$as_dir" && as_dir
=.
9178 for ac_exec_ext
in '' $ac_executable_extensions; do
9179 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9180 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9191 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9192 if test -n "$aros_kernel_cxx"; then
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9194 $as_echo "$aros_kernel_cxx" >&6; }
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9197 $as_echo "no" >&6; }
9202 if test "$GCC" = "yes"; then
9203 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9204 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9205 set dummy
`basename $aros_gcc_cxx`; 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_cxx+:} false
; then :
9209 $as_echo_n "(cached) " >&6
9211 case $aros_kernel_cxx in
9213 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9217 for as_dir
in `dirname $aros_gcc_cxx`
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_cxx
="$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_cxx
=$ac_cv_path_aros_kernel_cxx
9235 if test -n "$aros_kernel_cxx"; then
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9237 $as_echo "$aros_kernel_cxx" >&6; }
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9240 $as_echo "no" >&6; }
9245 if test "$aros_kernel_cxx" = ""; then
9246 # Extract the first word of "cxx", so it can be a program name with args.
9247 set dummy cxx
; ac_word
=$2
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9249 $as_echo_n "checking for $ac_word... " >&6; }
9250 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9251 $as_echo_n "(cached) " >&6
9253 case $aros_kernel_cxx in
9255 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9262 test -z "$as_dir" && as_dir
=.
9263 for ac_exec_ext
in '' $ac_executable_extensions; do
9264 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9265 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9276 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9277 if test -n "$aros_kernel_cxx"; then
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9279 $as_echo "$aros_kernel_cxx" >&6; }
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9282 $as_echo "no" >&6; }
9289 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9290 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9292 $as_echo_n "checking for $ac_word... " >&6; }
9293 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9294 $as_echo_n "(cached) " >&6
9296 case $aros_kernel_cxx in
9298 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9305 test -z "$as_dir" && as_dir
=.
9306 for ac_exec_ext
in '' $ac_executable_extensions; do
9307 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9308 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9319 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9320 if test -n "$aros_kernel_cxx"; then
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9322 $as_echo "$aros_kernel_cxx" >&6; }
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9325 $as_echo "no" >&6; }
9331 # If it's set, make sure it's really there
9332 if test "x$aros_kernel_cxx" != "x" ; then
9333 if test "$aros_kernel_cxx" = ""; then
9334 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9338 if test "$aros_kernel_ld" = ""; then
9339 if test "$cross_compiling" = "yes" ; then
9340 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9341 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9343 $as_echo_n "checking for $ac_word... " >&6; }
9344 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9345 $as_echo_n "(cached) " >&6
9347 case $aros_kernel_ld in
9349 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9356 test -z "$as_dir" && as_dir
=.
9357 for ac_exec_ext
in '' $ac_executable_extensions; do
9358 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9359 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9370 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9371 if test -n "$aros_kernel_ld"; then
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9373 $as_echo "$aros_kernel_ld" >&6; }
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9376 $as_echo "no" >&6; }
9381 if test "$GCC" = "yes"; then
9382 aros_gcc_ld
=`$CC -print-prog-name=ld`
9383 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9384 set dummy
`basename $aros_gcc_ld`; 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_ld+:} false
; then :
9388 $as_echo_n "(cached) " >&6
9390 case $aros_kernel_ld in
9392 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9396 for as_dir
in `dirname $aros_gcc_ld`
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_ld
="$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_ld
=$ac_cv_path_aros_kernel_ld
9414 if test -n "$aros_kernel_ld"; then
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9416 $as_echo "$aros_kernel_ld" >&6; }
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9419 $as_echo "no" >&6; }
9424 if test "$aros_kernel_ld" = ""; then
9425 # Extract the first word of "ld", so it can be a program name with args.
9426 set dummy ld
; ac_word
=$2
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9428 $as_echo_n "checking for $ac_word... " >&6; }
9429 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9430 $as_echo_n "(cached) " >&6
9432 case $aros_kernel_ld in
9434 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9441 test -z "$as_dir" && as_dir
=.
9442 for ac_exec_ext
in '' $ac_executable_extensions; do
9443 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9444 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9455 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9456 if test -n "$aros_kernel_ld"; then
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9458 $as_echo "$aros_kernel_ld" >&6; }
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9461 $as_echo "no" >&6; }
9468 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9469 set dummy
$aros_kernel_ld; ac_word
=$2
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9471 $as_echo_n "checking for $ac_word... " >&6; }
9472 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9473 $as_echo_n "(cached) " >&6
9475 case $aros_kernel_ld in
9477 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9484 test -z "$as_dir" && as_dir
=.
9485 for ac_exec_ext
in '' $ac_executable_extensions; do
9486 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9487 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9498 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9499 if test -n "$aros_kernel_ld"; then
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9501 $as_echo "$aros_kernel_ld" >&6; }
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9504 $as_echo "no" >&6; }
9510 if test "$aros_kernel_ld" = ""; then
9511 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9514 if test "$aros_kernel_as" = ""; then
9515 if test "$cross_compiling" = "yes" ; then
9516 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9517 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9519 $as_echo_n "checking for $ac_word... " >&6; }
9520 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9521 $as_echo_n "(cached) " >&6
9523 case $aros_kernel_as in
9525 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9532 test -z "$as_dir" && as_dir
=.
9533 for ac_exec_ext
in '' $ac_executable_extensions; do
9534 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9535 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9546 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9547 if test -n "$aros_kernel_as"; then
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9549 $as_echo "$aros_kernel_as" >&6; }
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9552 $as_echo "no" >&6; }
9557 if test "$GCC" = "yes"; then
9558 aros_gcc_as
=`$CC -print-prog-name=as`
9559 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9560 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9562 $as_echo_n "checking for $ac_word... " >&6; }
9563 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9564 $as_echo_n "(cached) " >&6
9566 case $aros_kernel_as in
9568 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9572 for as_dir
in `dirname $aros_gcc_as`
9575 test -z "$as_dir" && as_dir
=.
9576 for ac_exec_ext
in '' $ac_executable_extensions; do
9577 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9578 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9589 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9590 if test -n "$aros_kernel_as"; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9592 $as_echo "$aros_kernel_as" >&6; }
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9595 $as_echo "no" >&6; }
9600 if test "$aros_kernel_as" = ""; then
9601 # Extract the first word of "as", so it can be a program name with args.
9602 set dummy as
; ac_word
=$2
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9604 $as_echo_n "checking for $ac_word... " >&6; }
9605 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9606 $as_echo_n "(cached) " >&6
9608 case $aros_kernel_as in
9610 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9617 test -z "$as_dir" && as_dir
=.
9618 for ac_exec_ext
in '' $ac_executable_extensions; do
9619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9620 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9631 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9632 if test -n "$aros_kernel_as"; then
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9634 $as_echo "$aros_kernel_as" >&6; }
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9637 $as_echo "no" >&6; }
9644 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9645 set dummy
$aros_kernel_as; ac_word
=$2
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9647 $as_echo_n "checking for $ac_word... " >&6; }
9648 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9649 $as_echo_n "(cached) " >&6
9651 case $aros_kernel_as in
9653 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9660 test -z "$as_dir" && as_dir
=.
9661 for ac_exec_ext
in '' $ac_executable_extensions; do
9662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9663 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9674 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9675 if test -n "$aros_kernel_as"; then
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9677 $as_echo "$aros_kernel_as" >&6; }
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9680 $as_echo "no" >&6; }
9686 if test "$aros_kernel_as" = ""; then
9687 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9690 if test "$aros_kernel_ar" = ""; then
9691 if test "$cross_compiling" = "yes" ; then
9692 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9693 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9695 $as_echo_n "checking for $ac_word... " >&6; }
9696 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9697 $as_echo_n "(cached) " >&6
9699 case $aros_kernel_ar in
9701 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9708 test -z "$as_dir" && as_dir
=.
9709 for ac_exec_ext
in '' $ac_executable_extensions; do
9710 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9711 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9722 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9723 if test -n "$aros_kernel_ar"; then
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9725 $as_echo "$aros_kernel_ar" >&6; }
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9728 $as_echo "no" >&6; }
9733 if test "$GCC" = "yes"; then
9734 aros_gcc_ar
=`$CC -print-prog-name=ar`
9735 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9736 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9738 $as_echo_n "checking for $ac_word... " >&6; }
9739 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9740 $as_echo_n "(cached) " >&6
9742 case $aros_kernel_ar in
9744 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9748 for as_dir
in `dirname $aros_gcc_ar`
9751 test -z "$as_dir" && as_dir
=.
9752 for ac_exec_ext
in '' $ac_executable_extensions; do
9753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9754 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9765 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9766 if test -n "$aros_kernel_ar"; then
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9768 $as_echo "$aros_kernel_ar" >&6; }
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9771 $as_echo "no" >&6; }
9776 if test "$aros_kernel_ar" = ""; then
9777 # Extract the first word of "ar", so it can be a program name with args.
9778 set dummy
ar; ac_word
=$2
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9780 $as_echo_n "checking for $ac_word... " >&6; }
9781 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9782 $as_echo_n "(cached) " >&6
9784 case $aros_kernel_ar in
9786 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9793 test -z "$as_dir" && as_dir
=.
9794 for ac_exec_ext
in '' $ac_executable_extensions; do
9795 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9796 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9807 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9808 if test -n "$aros_kernel_ar"; then
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9810 $as_echo "$aros_kernel_ar" >&6; }
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9813 $as_echo "no" >&6; }
9820 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9821 set dummy
$aros_kernel_ar; ac_word
=$2
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9823 $as_echo_n "checking for $ac_word... " >&6; }
9824 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9825 $as_echo_n "(cached) " >&6
9827 case $aros_kernel_ar in
9829 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9836 test -z "$as_dir" && as_dir
=.
9837 for ac_exec_ext
in '' $ac_executable_extensions; do
9838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9839 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9850 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9851 if test -n "$aros_kernel_ar"; then
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9853 $as_echo "$aros_kernel_ar" >&6; }
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9856 $as_echo "no" >&6; }
9862 if test "$aros_kernel_ar" = ""; then
9863 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9866 if test "$aros_kernel_ranlib" = ""; then
9867 if test "$cross_compiling" = "yes" ; then
9868 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9869 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9871 $as_echo_n "checking for $ac_word... " >&6; }
9872 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9873 $as_echo_n "(cached) " >&6
9875 case $aros_kernel_ranlib in
9877 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9884 test -z "$as_dir" && as_dir
=.
9885 for ac_exec_ext
in '' $ac_executable_extensions; do
9886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9887 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9898 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9899 if test -n "$aros_kernel_ranlib"; then
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9901 $as_echo "$aros_kernel_ranlib" >&6; }
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9904 $as_echo "no" >&6; }
9909 if test "$GCC" = "yes"; then
9910 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9911 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9912 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9914 $as_echo_n "checking for $ac_word... " >&6; }
9915 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9916 $as_echo_n "(cached) " >&6
9918 case $aros_kernel_ranlib in
9920 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9924 for as_dir
in `dirname $aros_gcc_ranlib`
9927 test -z "$as_dir" && as_dir
=.
9928 for ac_exec_ext
in '' $ac_executable_extensions; do
9929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9930 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9941 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9942 if test -n "$aros_kernel_ranlib"; then
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9944 $as_echo "$aros_kernel_ranlib" >&6; }
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9947 $as_echo "no" >&6; }
9952 if test "$aros_kernel_ranlib" = ""; then
9953 # Extract the first word of "ranlib", so it can be a program name with args.
9954 set dummy ranlib
; ac_word
=$2
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9956 $as_echo_n "checking for $ac_word... " >&6; }
9957 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9958 $as_echo_n "(cached) " >&6
9960 case $aros_kernel_ranlib in
9962 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9969 test -z "$as_dir" && as_dir
=.
9970 for ac_exec_ext
in '' $ac_executable_extensions; do
9971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9972 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9983 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9984 if test -n "$aros_kernel_ranlib"; then
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9986 $as_echo "$aros_kernel_ranlib" >&6; }
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9989 $as_echo "no" >&6; }
9996 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9997 set dummy
$aros_kernel_ranlib; ac_word
=$2
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9999 $as_echo_n "checking for $ac_word... " >&6; }
10000 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10001 $as_echo_n "(cached) " >&6
10003 case $aros_kernel_ranlib in
10005 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10009 for as_dir
in $PATH
10012 test -z "$as_dir" && as_dir
=.
10013 for ac_exec_ext
in '' $ac_executable_extensions; do
10014 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10015 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10026 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10027 if test -n "$aros_kernel_ranlib"; then
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10029 $as_echo "$aros_kernel_ranlib" >&6; }
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10032 $as_echo "no" >&6; }
10038 if test "$aros_kernel_ranlib" = ""; then
10039 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10042 if test "$aros_kernel_nm" = ""; then
10043 if test "$cross_compiling" = "yes" ; then
10044 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10045 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10047 $as_echo_n "checking for $ac_word... " >&6; }
10048 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10049 $as_echo_n "(cached) " >&6
10051 case $aros_kernel_nm in
10053 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10057 for as_dir
in $PATH
10060 test -z "$as_dir" && as_dir
=.
10061 for ac_exec_ext
in '' $ac_executable_extensions; do
10062 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10063 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10074 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10075 if test -n "$aros_kernel_nm"; then
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10077 $as_echo "$aros_kernel_nm" >&6; }
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10080 $as_echo "no" >&6; }
10085 if test "$GCC" = "yes"; then
10086 aros_gcc_nm
=`$CC -print-prog-name=nm`
10087 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10088 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10090 $as_echo_n "checking for $ac_word... " >&6; }
10091 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10092 $as_echo_n "(cached) " >&6
10094 case $aros_kernel_nm in
10096 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10100 for as_dir
in `dirname $aros_gcc_nm`
10103 test -z "$as_dir" && as_dir
=.
10104 for ac_exec_ext
in '' $ac_executable_extensions; do
10105 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10106 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10117 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10118 if test -n "$aros_kernel_nm"; then
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10120 $as_echo "$aros_kernel_nm" >&6; }
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10123 $as_echo "no" >&6; }
10128 if test "$aros_kernel_nm" = ""; then
10129 # Extract the first word of "nm", so it can be a program name with args.
10130 set dummy nm
; ac_word
=$2
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10132 $as_echo_n "checking for $ac_word... " >&6; }
10133 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10134 $as_echo_n "(cached) " >&6
10136 case $aros_kernel_nm in
10138 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10142 for as_dir
in $PATH
10145 test -z "$as_dir" && as_dir
=.
10146 for ac_exec_ext
in '' $ac_executable_extensions; do
10147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10148 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10159 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10160 if test -n "$aros_kernel_nm"; then
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10162 $as_echo "$aros_kernel_nm" >&6; }
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10165 $as_echo "no" >&6; }
10172 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10173 set dummy
$aros_kernel_nm; ac_word
=$2
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10175 $as_echo_n "checking for $ac_word... " >&6; }
10176 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10177 $as_echo_n "(cached) " >&6
10179 case $aros_kernel_nm in
10181 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10185 for as_dir
in $PATH
10188 test -z "$as_dir" && as_dir
=.
10189 for ac_exec_ext
in '' $ac_executable_extensions; do
10190 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10191 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10202 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10203 if test -n "$aros_kernel_nm"; then
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10205 $as_echo "$aros_kernel_nm" >&6; }
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10208 $as_echo "no" >&6; }
10214 if test "$aros_kernel_nm" = ""; then
10215 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10218 if test "$aros_kernel_strip" = ""; then
10219 if test "$cross_compiling" = "yes" ; then
10220 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10221 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10223 $as_echo_n "checking for $ac_word... " >&6; }
10224 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10225 $as_echo_n "(cached) " >&6
10227 case $aros_kernel_strip in
10229 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10233 for as_dir
in $PATH
10236 test -z "$as_dir" && as_dir
=.
10237 for ac_exec_ext
in '' $ac_executable_extensions; do
10238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10239 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10250 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10251 if test -n "$aros_kernel_strip"; then
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10253 $as_echo "$aros_kernel_strip" >&6; }
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10256 $as_echo "no" >&6; }
10261 if test "$GCC" = "yes"; then
10262 aros_gcc_strip
=`$CC -print-prog-name=strip`
10263 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10264 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10266 $as_echo_n "checking for $ac_word... " >&6; }
10267 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10268 $as_echo_n "(cached) " >&6
10270 case $aros_kernel_strip in
10272 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10276 for as_dir
in `dirname $aros_gcc_strip`
10279 test -z "$as_dir" && as_dir
=.
10280 for ac_exec_ext
in '' $ac_executable_extensions; do
10281 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10282 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10293 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10294 if test -n "$aros_kernel_strip"; then
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10296 $as_echo "$aros_kernel_strip" >&6; }
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10299 $as_echo "no" >&6; }
10304 if test "$aros_kernel_strip" = ""; then
10305 # Extract the first word of "strip", so it can be a program name with args.
10306 set dummy strip
; ac_word
=$2
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10308 $as_echo_n "checking for $ac_word... " >&6; }
10309 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10310 $as_echo_n "(cached) " >&6
10312 case $aros_kernel_strip in
10314 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10318 for as_dir
in $PATH
10321 test -z "$as_dir" && as_dir
=.
10322 for ac_exec_ext
in '' $ac_executable_extensions; do
10323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10324 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10335 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10336 if test -n "$aros_kernel_strip"; then
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10338 $as_echo "$aros_kernel_strip" >&6; }
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10341 $as_echo "no" >&6; }
10348 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10349 set dummy
$aros_kernel_strip; ac_word
=$2
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10351 $as_echo_n "checking for $ac_word... " >&6; }
10352 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10353 $as_echo_n "(cached) " >&6
10355 case $aros_kernel_strip in
10357 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10361 for as_dir
in $PATH
10364 test -z "$as_dir" && as_dir
=.
10365 for ac_exec_ext
in '' $ac_executable_extensions; do
10366 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10367 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10378 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10379 if test -n "$aros_kernel_strip"; then
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10381 $as_echo "$aros_kernel_strip" >&6; }
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10384 $as_echo "no" >&6; }
10390 if test "$aros_kernel_strip" = ""; then
10391 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10394 # Objcopy and objdump are not required for the kernel
10395 # toolchain on many architectures.
10396 # So we'll look for them, but not make them strictly required.
10398 if test "$aros_kernel_objcopy" = ""; then
10399 if test "$cross_compiling" = "yes" ; then
10400 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10401 set dummy
${kernel_tool_prefix}objcopy
; 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_objcopy+:} false
; then :
10405 $as_echo_n "(cached) " >&6
10407 case $aros_kernel_objcopy in
10409 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10413 for as_dir
in $PATH
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_objcopy
="$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_objcopy
=$ac_cv_path_aros_kernel_objcopy
10431 if test -n "$aros_kernel_objcopy"; then
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10433 $as_echo "$aros_kernel_objcopy" >&6; }
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10436 $as_echo "no" >&6; }
10441 if test "$GCC" = "yes"; then
10442 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10443 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10444 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10446 $as_echo_n "checking for $ac_word... " >&6; }
10447 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10448 $as_echo_n "(cached) " >&6
10450 case $aros_kernel_objcopy in
10452 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10456 for as_dir
in `dirname $aros_gcc_objcopy`
10459 test -z "$as_dir" && as_dir
=.
10460 for ac_exec_ext
in '' $ac_executable_extensions; do
10461 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10462 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10473 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10474 if test -n "$aros_kernel_objcopy"; then
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10476 $as_echo "$aros_kernel_objcopy" >&6; }
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10479 $as_echo "no" >&6; }
10484 if test "$aros_kernel_objcopy" = ""; then
10485 # Extract the first word of "objcopy", so it can be a program name with args.
10486 set dummy objcopy
; 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_objcopy+:} false
; then :
10490 $as_echo_n "(cached) " >&6
10492 case $aros_kernel_objcopy in
10494 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # 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_objcopy
="$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_objcopy
=$ac_cv_path_aros_kernel_objcopy
10516 if test -n "$aros_kernel_objcopy"; then
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10518 $as_echo "$aros_kernel_objcopy" >&6; }
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10521 $as_echo "no" >&6; }
10528 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10529 set dummy
$aros_kernel_objcopy; ac_word
=$2
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10531 $as_echo_n "checking for $ac_word... " >&6; }
10532 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10533 $as_echo_n "(cached) " >&6
10535 case $aros_kernel_objcopy in
10537 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10541 for as_dir
in $PATH
10544 test -z "$as_dir" && as_dir
=.
10545 for ac_exec_ext
in '' $ac_executable_extensions; do
10546 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10547 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10558 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10559 if test -n "$aros_kernel_objcopy"; then
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10561 $as_echo "$aros_kernel_objcopy" >&6; }
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10564 $as_echo "no" >&6; }
10571 if test "$aros_kernel_objdump" = ""; then
10572 if test "$cross_compiling" = "yes" ; then
10573 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10574 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10576 $as_echo_n "checking for $ac_word... " >&6; }
10577 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10578 $as_echo_n "(cached) " >&6
10580 case $aros_kernel_objdump in
10582 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10586 for as_dir
in $PATH
10589 test -z "$as_dir" && as_dir
=.
10590 for ac_exec_ext
in '' $ac_executable_extensions; do
10591 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10592 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10603 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10604 if test -n "$aros_kernel_objdump"; then
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10606 $as_echo "$aros_kernel_objdump" >&6; }
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10609 $as_echo "no" >&6; }
10614 if test "$GCC" = "yes"; then
10615 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10616 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10617 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10619 $as_echo_n "checking for $ac_word... " >&6; }
10620 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10621 $as_echo_n "(cached) " >&6
10623 case $aros_kernel_objdump in
10625 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10629 for as_dir
in `dirname $aros_gcc_objdump`
10632 test -z "$as_dir" && as_dir
=.
10633 for ac_exec_ext
in '' $ac_executable_extensions; do
10634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10635 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10646 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10647 if test -n "$aros_kernel_objdump"; then
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10649 $as_echo "$aros_kernel_objdump" >&6; }
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10652 $as_echo "no" >&6; }
10657 if test "$aros_kernel_objdump" = ""; then
10658 # Extract the first word of "objdump", so it can be a program name with args.
10659 set dummy objdump
; ac_word
=$2
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10661 $as_echo_n "checking for $ac_word... " >&6; }
10662 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10663 $as_echo_n "(cached) " >&6
10665 case $aros_kernel_objdump in
10667 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10671 for as_dir
in $PATH
10674 test -z "$as_dir" && as_dir
=.
10675 for ac_exec_ext
in '' $ac_executable_extensions; do
10676 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10677 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10688 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10689 if test -n "$aros_kernel_objdump"; then
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10691 $as_echo "$aros_kernel_objdump" >&6; }
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10694 $as_echo "no" >&6; }
10701 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10702 set dummy
$aros_kernel_objdump; ac_word
=$2
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10704 $as_echo_n "checking for $ac_word... " >&6; }
10705 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10706 $as_echo_n "(cached) " >&6
10708 case $aros_kernel_objdump in
10710 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10714 for as_dir
in $PATH
10717 test -z "$as_dir" && as_dir
=.
10718 for ac_exec_ext
in '' $ac_executable_extensions; do
10719 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10720 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10731 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10732 if test -n "$aros_kernel_objdump"; then
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10734 $as_echo "$aros_kernel_objdump" >&6; }
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10737 $as_echo "no" >&6; }
10743 if test "x${crosstools}" != "xyes" ; then
10744 if test "$aros_kernel_objcopy" = ""; then
10745 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10747 if test "$aros_kernel_objdump" = ""; then
10748 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10754 $as_echo_n "checking which target tools to use... " >&6; }
10755 if test "$crosstools" = "yes"; then
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10757 $as_echo "$target_tool_prefix" >&6; }
10758 # We are are building AROS crosstools
10759 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10760 orig_target_cc
="${tmp_tool_prefix}gcc${target_tool_version}"
10761 orig_target_cxx
="${tmp_tool_prefix}g++${target_tool_version}"
10762 orig_target_cpp
="${tmp_tool_prefix}cpp"
10763 orig_target_ld
="${tmp_tool_prefix}ld"
10764 orig_target_as
="${tmp_tool_prefix}as"
10765 orig_target_ar
="${tmp_tool_prefix}ar"
10766 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10767 orig_target_nm
="${tmp_tool_prefix}nm"
10768 orig_target_strip
="${tmp_tool_prefix}strip"
10769 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10770 orig_target_objdump
="${tmp_tool_prefix}objdump"
10772 # Determine whether AROS or ELF tools should be used
10773 if test "$aros_tool_prefix" = "none"; then
10774 aros_tool_prefix
="${elf_tool_prefix}"
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10778 $as_echo "$aros_tool_prefix" >&6; }
10779 # We are *not* building AROS crosstools - use the AROS or ELF tools
10781 if test "${aros_tool_prefix}cpp${target_tool_version}" = ""; then
10782 if test "$cross_compiling" = "yes" ; then
10783 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10784 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10786 $as_echo_n "checking for $ac_word... " >&6; }
10787 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10788 $as_echo_n "(cached) " >&6
10790 case $orig_target_cpp in
10792 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10796 for as_dir
in $PATH
10799 test -z "$as_dir" && as_dir
=.
10800 for ac_exec_ext
in '' $ac_executable_extensions; do
10801 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10802 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10813 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10814 if test -n "$orig_target_cpp"; then
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10816 $as_echo "$orig_target_cpp" >&6; }
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10819 $as_echo "no" >&6; }
10824 if test "$GCC" = "yes"; then
10825 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10826 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10827 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10829 $as_echo_n "checking for $ac_word... " >&6; }
10830 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10831 $as_echo_n "(cached) " >&6
10833 case $orig_target_cpp in
10835 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10839 for as_dir
in `dirname $aros_gcc_cpp`
10842 test -z "$as_dir" && as_dir
=.
10843 for ac_exec_ext
in '' $ac_executable_extensions; do
10844 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10845 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10856 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10857 if test -n "$orig_target_cpp"; then
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10859 $as_echo "$orig_target_cpp" >&6; }
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10862 $as_echo "no" >&6; }
10867 if test "$orig_target_cpp" = ""; then
10868 # Extract the first word of "cpp", so it can be a program name with args.
10869 set dummy cpp
; ac_word
=$2
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10871 $as_echo_n "checking for $ac_word... " >&6; }
10872 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10873 $as_echo_n "(cached) " >&6
10875 case $orig_target_cpp in
10877 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10881 for as_dir
in $PATH
10884 test -z "$as_dir" && as_dir
=.
10885 for ac_exec_ext
in '' $ac_executable_extensions; do
10886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10887 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10898 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10899 if test -n "$orig_target_cpp"; then
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10901 $as_echo "$orig_target_cpp" >&6; }
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10904 $as_echo "no" >&6; }
10911 # Extract the first word of "${aros_tool_prefix}cpp${target_tool_version}", so it can be a program name with args.
10912 set dummy
${aros_tool_prefix}cpp
${target_tool_version}; ac_word
=$2
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10914 $as_echo_n "checking for $ac_word... " >&6; }
10915 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10916 $as_echo_n "(cached) " >&6
10918 case $orig_target_cpp in
10920 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10924 for as_dir
in $PATH
10927 test -z "$as_dir" && as_dir
=.
10928 for ac_exec_ext
in '' $ac_executable_extensions; do
10929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10930 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10941 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10942 if test -n "$orig_target_cpp"; then
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10944 $as_echo "$orig_target_cpp" >&6; }
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10947 $as_echo "no" >&6; }
10953 if test "$orig_target_cpp" = ""; then
10954 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10957 if test "${aros_tool_prefix}gcc${target_tool_version}" = ""; then
10958 if test "$cross_compiling" = "yes" ; then
10959 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10960 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10962 $as_echo_n "checking for $ac_word... " >&6; }
10963 if ${ac_cv_path_orig_target_cc+:} false
; then :
10964 $as_echo_n "(cached) " >&6
10966 case $orig_target_cc in
10968 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10972 for as_dir
in $PATH
10975 test -z "$as_dir" && as_dir
=.
10976 for ac_exec_ext
in '' $ac_executable_extensions; do
10977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10978 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10989 orig_target_cc
=$ac_cv_path_orig_target_cc
10990 if test -n "$orig_target_cc"; then
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10992 $as_echo "$orig_target_cc" >&6; }
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10995 $as_echo "no" >&6; }
11000 if test "$GCC" = "yes"; then
11001 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11002 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11003 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11005 $as_echo_n "checking for $ac_word... " >&6; }
11006 if ${ac_cv_path_orig_target_cc+:} false
; then :
11007 $as_echo_n "(cached) " >&6
11009 case $orig_target_cc in
11011 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11015 for as_dir
in `dirname $aros_gcc_gcc`
11018 test -z "$as_dir" && as_dir
=.
11019 for ac_exec_ext
in '' $ac_executable_extensions; do
11020 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11021 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11032 orig_target_cc
=$ac_cv_path_orig_target_cc
11033 if test -n "$orig_target_cc"; then
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11035 $as_echo "$orig_target_cc" >&6; }
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11038 $as_echo "no" >&6; }
11043 if test "$orig_target_cc" = ""; then
11044 # Extract the first word of "gcc", so it can be a program name with args.
11045 set dummy gcc
; ac_word
=$2
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11047 $as_echo_n "checking for $ac_word... " >&6; }
11048 if ${ac_cv_path_orig_target_cc+:} false
; then :
11049 $as_echo_n "(cached) " >&6
11051 case $orig_target_cc in
11053 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11057 for as_dir
in $PATH
11060 test -z "$as_dir" && as_dir
=.
11061 for ac_exec_ext
in '' $ac_executable_extensions; do
11062 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11063 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11074 orig_target_cc
=$ac_cv_path_orig_target_cc
11075 if test -n "$orig_target_cc"; then
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11077 $as_echo "$orig_target_cc" >&6; }
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11080 $as_echo "no" >&6; }
11087 # Extract the first word of "${aros_tool_prefix}gcc${target_tool_version}", so it can be a program name with args.
11088 set dummy
${aros_tool_prefix}gcc
${target_tool_version}; ac_word
=$2
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11090 $as_echo_n "checking for $ac_word... " >&6; }
11091 if ${ac_cv_path_orig_target_cc+:} false
; then :
11092 $as_echo_n "(cached) " >&6
11094 case $orig_target_cc in
11096 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11100 for as_dir
in $PATH
11103 test -z "$as_dir" && as_dir
=.
11104 for ac_exec_ext
in '' $ac_executable_extensions; do
11105 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11106 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11117 orig_target_cc
=$ac_cv_path_orig_target_cc
11118 if test -n "$orig_target_cc"; then
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11120 $as_echo "$orig_target_cc" >&6; }
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11123 $as_echo "no" >&6; }
11129 if test "$orig_target_cc" = ""; then
11130 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11133 if test "${aros_tool_prefix}g++${target_tool_version}" = ""; then
11134 if test "$cross_compiling" = "yes" ; then
11135 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11136 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11138 $as_echo_n "checking for $ac_word... " >&6; }
11139 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11140 $as_echo_n "(cached) " >&6
11142 case $orig_target_cxx in
11144 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11148 for as_dir
in $PATH
11151 test -z "$as_dir" && as_dir
=.
11152 for ac_exec_ext
in '' $ac_executable_extensions; do
11153 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11154 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11165 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11166 if test -n "$orig_target_cxx"; then
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11168 $as_echo "$orig_target_cxx" >&6; }
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11171 $as_echo "no" >&6; }
11176 if test "$GCC" = "yes"; then
11177 aros_gcc_g
++=`$CC -print-prog-name=g++`
11178 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11179 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11181 $as_echo_n "checking for $ac_word... " >&6; }
11182 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11183 $as_echo_n "(cached) " >&6
11185 case $orig_target_cxx in
11187 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11191 for as_dir
in `dirname $aros_gcc_g++`
11194 test -z "$as_dir" && as_dir
=.
11195 for ac_exec_ext
in '' $ac_executable_extensions; do
11196 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11197 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11208 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11209 if test -n "$orig_target_cxx"; then
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11211 $as_echo "$orig_target_cxx" >&6; }
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11214 $as_echo "no" >&6; }
11219 if test "$orig_target_cxx" = ""; then
11220 # Extract the first word of "g++", so it can be a program name with args.
11221 set dummy g
++; ac_word
=$2
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11223 $as_echo_n "checking for $ac_word... " >&6; }
11224 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11225 $as_echo_n "(cached) " >&6
11227 case $orig_target_cxx in
11229 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11233 for as_dir
in $PATH
11236 test -z "$as_dir" && as_dir
=.
11237 for ac_exec_ext
in '' $ac_executable_extensions; do
11238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11239 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11250 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11251 if test -n "$orig_target_cxx"; then
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11253 $as_echo "$orig_target_cxx" >&6; }
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11256 $as_echo "no" >&6; }
11263 # Extract the first word of "${aros_tool_prefix}g++${target_tool_version}", so it can be a program name with args.
11264 set dummy
${aros_tool_prefix}g
++${target_tool_version}; ac_word
=$2
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11266 $as_echo_n "checking for $ac_word... " >&6; }
11267 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11268 $as_echo_n "(cached) " >&6
11270 case $orig_target_cxx in
11272 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11276 for as_dir
in $PATH
11279 test -z "$as_dir" && as_dir
=.
11280 for ac_exec_ext
in '' $ac_executable_extensions; do
11281 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11282 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11293 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11294 if test -n "$orig_target_cxx"; then
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11296 $as_echo "$orig_target_cxx" >&6; }
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11299 $as_echo "no" >&6; }
11305 if test "$orig_target_cxx" = ""; then
11306 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11309 if test "${aros_tool_prefix}ld" = ""; then
11310 if test "$cross_compiling" = "yes" ; then
11311 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11312 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11314 $as_echo_n "checking for $ac_word... " >&6; }
11315 if ${ac_cv_path_orig_target_ld+:} false
; then :
11316 $as_echo_n "(cached) " >&6
11318 case $orig_target_ld in
11320 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11324 for as_dir
in $PATH
11327 test -z "$as_dir" && as_dir
=.
11328 for ac_exec_ext
in '' $ac_executable_extensions; do
11329 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11330 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11341 orig_target_ld
=$ac_cv_path_orig_target_ld
11342 if test -n "$orig_target_ld"; then
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11344 $as_echo "$orig_target_ld" >&6; }
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11347 $as_echo "no" >&6; }
11352 if test "$GCC" = "yes"; then
11353 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11354 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11355 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11357 $as_echo_n "checking for $ac_word... " >&6; }
11358 if ${ac_cv_path_orig_target_ld+:} false
; then :
11359 $as_echo_n "(cached) " >&6
11361 case $orig_target_ld in
11363 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11367 for as_dir
in `dirname $aros_gcc_gcc`
11370 test -z "$as_dir" && as_dir
=.
11371 for ac_exec_ext
in '' $ac_executable_extensions; do
11372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11373 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11384 orig_target_ld
=$ac_cv_path_orig_target_ld
11385 if test -n "$orig_target_ld"; then
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11387 $as_echo "$orig_target_ld" >&6; }
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11390 $as_echo "no" >&6; }
11395 if test "$orig_target_ld" = ""; then
11396 # Extract the first word of "gcc", so it can be a program name with args.
11397 set dummy gcc
; ac_word
=$2
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11399 $as_echo_n "checking for $ac_word... " >&6; }
11400 if ${ac_cv_path_orig_target_ld+:} false
; then :
11401 $as_echo_n "(cached) " >&6
11403 case $orig_target_ld in
11405 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11409 for as_dir
in $PATH
11412 test -z "$as_dir" && as_dir
=.
11413 for ac_exec_ext
in '' $ac_executable_extensions; do
11414 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11415 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11426 orig_target_ld
=$ac_cv_path_orig_target_ld
11427 if test -n "$orig_target_ld"; then
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11429 $as_echo "$orig_target_ld" >&6; }
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11432 $as_echo "no" >&6; }
11439 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11440 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11442 $as_echo_n "checking for $ac_word... " >&6; }
11443 if ${ac_cv_path_orig_target_ld+:} false
; then :
11444 $as_echo_n "(cached) " >&6
11446 case $orig_target_ld in
11448 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11452 for as_dir
in $PATH
11455 test -z "$as_dir" && as_dir
=.
11456 for ac_exec_ext
in '' $ac_executable_extensions; do
11457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11458 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11469 orig_target_ld
=$ac_cv_path_orig_target_ld
11470 if test -n "$orig_target_ld"; then
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11472 $as_echo "$orig_target_ld" >&6; }
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11475 $as_echo "no" >&6; }
11481 if test "$orig_target_ld" = ""; then
11482 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11485 if test "${aros_tool_prefix}as" = ""; then
11486 if test "$cross_compiling" = "yes" ; then
11487 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11488 set dummy
${target_tool_prefix}as
; ac_word
=$2
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11490 $as_echo_n "checking for $ac_word... " >&6; }
11491 if ${ac_cv_path_orig_target_as+:} false
; then :
11492 $as_echo_n "(cached) " >&6
11494 case $orig_target_as in
11496 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11500 for as_dir
in $PATH
11503 test -z "$as_dir" && as_dir
=.
11504 for ac_exec_ext
in '' $ac_executable_extensions; do
11505 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11506 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11517 orig_target_as
=$ac_cv_path_orig_target_as
11518 if test -n "$orig_target_as"; then
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11520 $as_echo "$orig_target_as" >&6; }
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11523 $as_echo "no" >&6; }
11528 if test "$GCC" = "yes"; then
11529 aros_gcc_as
=`$CC -print-prog-name=as`
11530 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11531 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11533 $as_echo_n "checking for $ac_word... " >&6; }
11534 if ${ac_cv_path_orig_target_as+:} false
; then :
11535 $as_echo_n "(cached) " >&6
11537 case $orig_target_as in
11539 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11543 for as_dir
in `dirname $aros_gcc_as`
11546 test -z "$as_dir" && as_dir
=.
11547 for ac_exec_ext
in '' $ac_executable_extensions; do
11548 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11549 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11560 orig_target_as
=$ac_cv_path_orig_target_as
11561 if test -n "$orig_target_as"; then
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11563 $as_echo "$orig_target_as" >&6; }
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11566 $as_echo "no" >&6; }
11571 if test "$orig_target_as" = ""; then
11572 # Extract the first word of "as", so it can be a program name with args.
11573 set dummy as
; ac_word
=$2
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11575 $as_echo_n "checking for $ac_word... " >&6; }
11576 if ${ac_cv_path_orig_target_as+:} false
; then :
11577 $as_echo_n "(cached) " >&6
11579 case $orig_target_as in
11581 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11585 for as_dir
in $PATH
11588 test -z "$as_dir" && as_dir
=.
11589 for ac_exec_ext
in '' $ac_executable_extensions; do
11590 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11591 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11602 orig_target_as
=$ac_cv_path_orig_target_as
11603 if test -n "$orig_target_as"; then
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11605 $as_echo "$orig_target_as" >&6; }
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11608 $as_echo "no" >&6; }
11615 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11616 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11618 $as_echo_n "checking for $ac_word... " >&6; }
11619 if ${ac_cv_path_orig_target_as+:} false
; then :
11620 $as_echo_n "(cached) " >&6
11622 case $orig_target_as in
11624 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11628 for as_dir
in $PATH
11631 test -z "$as_dir" && as_dir
=.
11632 for ac_exec_ext
in '' $ac_executable_extensions; do
11633 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11634 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11645 orig_target_as
=$ac_cv_path_orig_target_as
11646 if test -n "$orig_target_as"; then
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11648 $as_echo "$orig_target_as" >&6; }
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11651 $as_echo "no" >&6; }
11657 if test "$orig_target_as" = ""; then
11658 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11661 if test "${aros_tool_prefix}ar" = ""; then
11662 if test "$cross_compiling" = "yes" ; then
11663 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11664 set dummy
${target_tool_prefix}ar; ac_word
=$2
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11666 $as_echo_n "checking for $ac_word... " >&6; }
11667 if ${ac_cv_path_orig_target_ar+:} false
; then :
11668 $as_echo_n "(cached) " >&6
11670 case $orig_target_ar in
11672 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11676 for as_dir
in $PATH
11679 test -z "$as_dir" && as_dir
=.
11680 for ac_exec_ext
in '' $ac_executable_extensions; do
11681 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11682 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11693 orig_target_ar
=$ac_cv_path_orig_target_ar
11694 if test -n "$orig_target_ar"; then
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11696 $as_echo "$orig_target_ar" >&6; }
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11699 $as_echo "no" >&6; }
11704 if test "$GCC" = "yes"; then
11705 aros_gcc_ar
=`$CC -print-prog-name=ar`
11706 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11707 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11709 $as_echo_n "checking for $ac_word... " >&6; }
11710 if ${ac_cv_path_orig_target_ar+:} false
; then :
11711 $as_echo_n "(cached) " >&6
11713 case $orig_target_ar in
11715 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11719 for as_dir
in `dirname $aros_gcc_ar`
11722 test -z "$as_dir" && as_dir
=.
11723 for ac_exec_ext
in '' $ac_executable_extensions; do
11724 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11725 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11736 orig_target_ar
=$ac_cv_path_orig_target_ar
11737 if test -n "$orig_target_ar"; then
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11739 $as_echo "$orig_target_ar" >&6; }
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11742 $as_echo "no" >&6; }
11747 if test "$orig_target_ar" = ""; then
11748 # Extract the first word of "ar", so it can be a program name with args.
11749 set dummy
ar; ac_word
=$2
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11751 $as_echo_n "checking for $ac_word... " >&6; }
11752 if ${ac_cv_path_orig_target_ar+:} false
; then :
11753 $as_echo_n "(cached) " >&6
11755 case $orig_target_ar in
11757 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11761 for as_dir
in $PATH
11764 test -z "$as_dir" && as_dir
=.
11765 for ac_exec_ext
in '' $ac_executable_extensions; do
11766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11767 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11778 orig_target_ar
=$ac_cv_path_orig_target_ar
11779 if test -n "$orig_target_ar"; then
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11781 $as_echo "$orig_target_ar" >&6; }
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11784 $as_echo "no" >&6; }
11791 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11792 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11794 $as_echo_n "checking for $ac_word... " >&6; }
11795 if ${ac_cv_path_orig_target_ar+:} false
; then :
11796 $as_echo_n "(cached) " >&6
11798 case $orig_target_ar in
11800 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11804 for as_dir
in $PATH
11807 test -z "$as_dir" && as_dir
=.
11808 for ac_exec_ext
in '' $ac_executable_extensions; do
11809 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11810 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11821 orig_target_ar
=$ac_cv_path_orig_target_ar
11822 if test -n "$orig_target_ar"; then
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11824 $as_echo "$orig_target_ar" >&6; }
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11827 $as_echo "no" >&6; }
11833 if test "$orig_target_ar" = ""; then
11834 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11837 if test "${aros_tool_prefix}ranlib" = ""; then
11838 if test "$cross_compiling" = "yes" ; then
11839 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11840 set dummy
${target_tool_prefix}ar; ac_word
=$2
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11842 $as_echo_n "checking for $ac_word... " >&6; }
11843 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11844 $as_echo_n "(cached) " >&6
11846 case $orig_target_ranlib in
11848 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11852 for as_dir
in $PATH
11855 test -z "$as_dir" && as_dir
=.
11856 for ac_exec_ext
in '' $ac_executable_extensions; do
11857 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11858 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11869 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11870 if test -n "$orig_target_ranlib"; then
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11872 $as_echo "$orig_target_ranlib" >&6; }
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11875 $as_echo "no" >&6; }
11880 if test "$GCC" = "yes"; then
11881 aros_gcc_ar
=`$CC -print-prog-name=ar`
11882 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11883 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11885 $as_echo_n "checking for $ac_word... " >&6; }
11886 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11887 $as_echo_n "(cached) " >&6
11889 case $orig_target_ranlib in
11891 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11895 for as_dir
in `dirname $aros_gcc_ar`
11898 test -z "$as_dir" && as_dir
=.
11899 for ac_exec_ext
in '' $ac_executable_extensions; do
11900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11901 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11912 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11913 if test -n "$orig_target_ranlib"; then
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11915 $as_echo "$orig_target_ranlib" >&6; }
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11918 $as_echo "no" >&6; }
11923 if test "$orig_target_ranlib" = ""; then
11924 # Extract the first word of "ar", so it can be a program name with args.
11925 set dummy
ar; ac_word
=$2
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11927 $as_echo_n "checking for $ac_word... " >&6; }
11928 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11929 $as_echo_n "(cached) " >&6
11931 case $orig_target_ranlib in
11933 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11937 for as_dir
in $PATH
11940 test -z "$as_dir" && as_dir
=.
11941 for ac_exec_ext
in '' $ac_executable_extensions; do
11942 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11943 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11954 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11955 if test -n "$orig_target_ranlib"; then
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11957 $as_echo "$orig_target_ranlib" >&6; }
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11960 $as_echo "no" >&6; }
11967 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11968 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11970 $as_echo_n "checking for $ac_word... " >&6; }
11971 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11972 $as_echo_n "(cached) " >&6
11974 case $orig_target_ranlib in
11976 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11980 for as_dir
in $PATH
11983 test -z "$as_dir" && as_dir
=.
11984 for ac_exec_ext
in '' $ac_executable_extensions; do
11985 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11986 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11997 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11998 if test -n "$orig_target_ranlib"; then
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12000 $as_echo "$orig_target_ranlib" >&6; }
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12003 $as_echo "no" >&6; }
12009 if test "$orig_target_ranlib" = ""; then
12010 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12013 if test "${aros_tool_prefix}nm" = ""; then
12014 if test "$cross_compiling" = "yes" ; then
12015 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12016 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12018 $as_echo_n "checking for $ac_word... " >&6; }
12019 if ${ac_cv_path_orig_target_nm+:} false
; then :
12020 $as_echo_n "(cached) " >&6
12022 case $orig_target_nm in
12024 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12028 for as_dir
in $PATH
12031 test -z "$as_dir" && as_dir
=.
12032 for ac_exec_ext
in '' $ac_executable_extensions; do
12033 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12034 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12045 orig_target_nm
=$ac_cv_path_orig_target_nm
12046 if test -n "$orig_target_nm"; then
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12048 $as_echo "$orig_target_nm" >&6; }
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12051 $as_echo "no" >&6; }
12056 if test "$GCC" = "yes"; then
12057 aros_gcc_nm
=`$CC -print-prog-name=nm`
12058 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12059 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12061 $as_echo_n "checking for $ac_word... " >&6; }
12062 if ${ac_cv_path_orig_target_nm+:} false
; then :
12063 $as_echo_n "(cached) " >&6
12065 case $orig_target_nm in
12067 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12071 for as_dir
in `dirname $aros_gcc_nm`
12074 test -z "$as_dir" && as_dir
=.
12075 for ac_exec_ext
in '' $ac_executable_extensions; do
12076 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12077 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12088 orig_target_nm
=$ac_cv_path_orig_target_nm
12089 if test -n "$orig_target_nm"; then
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12091 $as_echo "$orig_target_nm" >&6; }
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12094 $as_echo "no" >&6; }
12099 if test "$orig_target_nm" = ""; then
12100 # Extract the first word of "nm", so it can be a program name with args.
12101 set dummy nm
; ac_word
=$2
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12103 $as_echo_n "checking for $ac_word... " >&6; }
12104 if ${ac_cv_path_orig_target_nm+:} false
; then :
12105 $as_echo_n "(cached) " >&6
12107 case $orig_target_nm in
12109 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12113 for as_dir
in $PATH
12116 test -z "$as_dir" && as_dir
=.
12117 for ac_exec_ext
in '' $ac_executable_extensions; do
12118 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12119 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12130 orig_target_nm
=$ac_cv_path_orig_target_nm
12131 if test -n "$orig_target_nm"; then
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12133 $as_echo "$orig_target_nm" >&6; }
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12136 $as_echo "no" >&6; }
12143 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12144 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12146 $as_echo_n "checking for $ac_word... " >&6; }
12147 if ${ac_cv_path_orig_target_nm+:} false
; then :
12148 $as_echo_n "(cached) " >&6
12150 case $orig_target_nm in
12152 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12156 for as_dir
in $PATH
12159 test -z "$as_dir" && as_dir
=.
12160 for ac_exec_ext
in '' $ac_executable_extensions; do
12161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12162 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12173 orig_target_nm
=$ac_cv_path_orig_target_nm
12174 if test -n "$orig_target_nm"; then
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12176 $as_echo "$orig_target_nm" >&6; }
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12179 $as_echo "no" >&6; }
12185 if test "$orig_target_nm" = ""; then
12186 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12189 if test "${aros_tool_prefix}strip" = ""; then
12190 if test "$cross_compiling" = "yes" ; then
12191 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12192 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12194 $as_echo_n "checking for $ac_word... " >&6; }
12195 if ${ac_cv_path_orig_target_strip+:} false
; then :
12196 $as_echo_n "(cached) " >&6
12198 case $orig_target_strip in
12200 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12204 for as_dir
in $PATH
12207 test -z "$as_dir" && as_dir
=.
12208 for ac_exec_ext
in '' $ac_executable_extensions; do
12209 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12210 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12221 orig_target_strip
=$ac_cv_path_orig_target_strip
12222 if test -n "$orig_target_strip"; then
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12224 $as_echo "$orig_target_strip" >&6; }
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12227 $as_echo "no" >&6; }
12232 if test "$GCC" = "yes"; then
12233 aros_gcc_strip
=`$CC -print-prog-name=strip`
12234 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12235 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12237 $as_echo_n "checking for $ac_word... " >&6; }
12238 if ${ac_cv_path_orig_target_strip+:} false
; then :
12239 $as_echo_n "(cached) " >&6
12241 case $orig_target_strip in
12243 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12247 for as_dir
in `dirname $aros_gcc_strip`
12250 test -z "$as_dir" && as_dir
=.
12251 for ac_exec_ext
in '' $ac_executable_extensions; do
12252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12253 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12264 orig_target_strip
=$ac_cv_path_orig_target_strip
12265 if test -n "$orig_target_strip"; then
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12267 $as_echo "$orig_target_strip" >&6; }
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12270 $as_echo "no" >&6; }
12275 if test "$orig_target_strip" = ""; then
12276 # Extract the first word of "strip", so it can be a program name with args.
12277 set dummy strip
; ac_word
=$2
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12279 $as_echo_n "checking for $ac_word... " >&6; }
12280 if ${ac_cv_path_orig_target_strip+:} false
; then :
12281 $as_echo_n "(cached) " >&6
12283 case $orig_target_strip in
12285 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12289 for as_dir
in $PATH
12292 test -z "$as_dir" && as_dir
=.
12293 for ac_exec_ext
in '' $ac_executable_extensions; do
12294 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12295 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12306 orig_target_strip
=$ac_cv_path_orig_target_strip
12307 if test -n "$orig_target_strip"; then
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12309 $as_echo "$orig_target_strip" >&6; }
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12312 $as_echo "no" >&6; }
12319 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12320 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12322 $as_echo_n "checking for $ac_word... " >&6; }
12323 if ${ac_cv_path_orig_target_strip+:} false
; then :
12324 $as_echo_n "(cached) " >&6
12326 case $orig_target_strip in
12328 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12332 for as_dir
in $PATH
12335 test -z "$as_dir" && as_dir
=.
12336 for ac_exec_ext
in '' $ac_executable_extensions; do
12337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12338 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12349 orig_target_strip
=$ac_cv_path_orig_target_strip
12350 if test -n "$orig_target_strip"; then
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12352 $as_echo "$orig_target_strip" >&6; }
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12355 $as_echo "no" >&6; }
12361 if test "$orig_target_strip" = ""; then
12362 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12365 if test "${aros_tool_prefix}objcopy" = ""; then
12366 if test "$cross_compiling" = "yes" ; then
12367 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12368 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12370 $as_echo_n "checking for $ac_word... " >&6; }
12371 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12372 $as_echo_n "(cached) " >&6
12374 case $orig_target_objcopy in
12376 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12380 for as_dir
in $PATH
12383 test -z "$as_dir" && as_dir
=.
12384 for ac_exec_ext
in '' $ac_executable_extensions; do
12385 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12386 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12397 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12398 if test -n "$orig_target_objcopy"; then
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12400 $as_echo "$orig_target_objcopy" >&6; }
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12403 $as_echo "no" >&6; }
12408 if test "$GCC" = "yes"; then
12409 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12410 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12411 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12413 $as_echo_n "checking for $ac_word... " >&6; }
12414 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12415 $as_echo_n "(cached) " >&6
12417 case $orig_target_objcopy in
12419 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12423 for as_dir
in `dirname $aros_gcc_objcopy`
12426 test -z "$as_dir" && as_dir
=.
12427 for ac_exec_ext
in '' $ac_executable_extensions; do
12428 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12429 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12440 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12441 if test -n "$orig_target_objcopy"; then
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12443 $as_echo "$orig_target_objcopy" >&6; }
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12446 $as_echo "no" >&6; }
12451 if test "$orig_target_objcopy" = ""; then
12452 # Extract the first word of "objcopy", so it can be a program name with args.
12453 set dummy objcopy
; ac_word
=$2
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12455 $as_echo_n "checking for $ac_word... " >&6; }
12456 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12457 $as_echo_n "(cached) " >&6
12459 case $orig_target_objcopy in
12461 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12465 for as_dir
in $PATH
12468 test -z "$as_dir" && as_dir
=.
12469 for ac_exec_ext
in '' $ac_executable_extensions; do
12470 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12471 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12482 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12483 if test -n "$orig_target_objcopy"; then
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12485 $as_echo "$orig_target_objcopy" >&6; }
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12488 $as_echo "no" >&6; }
12495 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12496 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12498 $as_echo_n "checking for $ac_word... " >&6; }
12499 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12500 $as_echo_n "(cached) " >&6
12502 case $orig_target_objcopy in
12504 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12508 for as_dir
in $PATH
12511 test -z "$as_dir" && as_dir
=.
12512 for ac_exec_ext
in '' $ac_executable_extensions; do
12513 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12514 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12525 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12526 if test -n "$orig_target_objcopy"; then
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12528 $as_echo "$orig_target_objcopy" >&6; }
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12531 $as_echo "no" >&6; }
12537 if test "$orig_target_objcopy" = ""; then
12538 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12541 if test "${aros_tool_prefix}objdump" = ""; then
12542 if test "$cross_compiling" = "yes" ; then
12543 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12544 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12546 $as_echo_n "checking for $ac_word... " >&6; }
12547 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12548 $as_echo_n "(cached) " >&6
12550 case $orig_target_objdump in
12552 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12556 for as_dir
in $PATH
12559 test -z "$as_dir" && as_dir
=.
12560 for ac_exec_ext
in '' $ac_executable_extensions; do
12561 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12562 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12573 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12574 if test -n "$orig_target_objdump"; then
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12576 $as_echo "$orig_target_objdump" >&6; }
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12579 $as_echo "no" >&6; }
12584 if test "$GCC" = "yes"; then
12585 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12586 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12587 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12589 $as_echo_n "checking for $ac_word... " >&6; }
12590 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12591 $as_echo_n "(cached) " >&6
12593 case $orig_target_objdump in
12595 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12599 for as_dir
in `dirname $aros_gcc_objdump`
12602 test -z "$as_dir" && as_dir
=.
12603 for ac_exec_ext
in '' $ac_executable_extensions; do
12604 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12605 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12616 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12617 if test -n "$orig_target_objdump"; then
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12619 $as_echo "$orig_target_objdump" >&6; }
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12622 $as_echo "no" >&6; }
12627 if test "$orig_target_objdump" = ""; then
12628 # Extract the first word of "objdump", so it can be a program name with args.
12629 set dummy objdump
; ac_word
=$2
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12631 $as_echo_n "checking for $ac_word... " >&6; }
12632 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12633 $as_echo_n "(cached) " >&6
12635 case $orig_target_objdump in
12637 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12641 for as_dir
in $PATH
12644 test -z "$as_dir" && as_dir
=.
12645 for ac_exec_ext
in '' $ac_executable_extensions; do
12646 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12647 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12658 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12659 if test -n "$orig_target_objdump"; then
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12661 $as_echo "$orig_target_objdump" >&6; }
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12664 $as_echo "no" >&6; }
12671 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12672 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12674 $as_echo_n "checking for $ac_word... " >&6; }
12675 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12676 $as_echo_n "(cached) " >&6
12678 case $orig_target_objdump in
12680 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12684 for as_dir
in $PATH
12687 test -z "$as_dir" && as_dir
=.
12688 for ac_exec_ext
in '' $ac_executable_extensions; do
12689 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12690 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12701 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12702 if test -n "$orig_target_objdump"; then
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12704 $as_echo "$orig_target_objdump" >&6; }
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12707 $as_echo "no" >&6; }
12713 if test "$orig_target_objdump" = ""; then
12714 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12718 if test "$kernel_tool_prefix" = "none" ; then
12719 # No kernel tools specified
12720 # Assume target tools == kernel tools with ELF wrapper
12721 aros_kernel_cc
=$orig_target_cc
12722 aros_kernel_cxx
=$orig_target_cxx
12723 aros_kernel_cpp
=$orig_target_cpp
12724 aros_kernel_ld
=$orig_target_ld
12725 aros_kernel_as
=$orig_target_as
12726 aros_kernel_ar
=$orig_target_ar
12727 aros_kernel_ranlib
=$orig_target_ranlib
12728 aros_kernel_nm
=$orig_target_nm
12729 aros_kernel_strip
=$orig_target_strip
12730 aros_kernel_objcopy
=$orig_target_objcopy
12731 aros_kernel_objdump
=$orig_target_objdump
12732 use_kernel_cc_wrapper
=yes
12735 # At this point, all aros_kernel_* and aros_target_*
12736 # tools should be set up correctly
12738 CC
="$aros_kernel_cc $kernel_tool_flags"
12739 CPP
="$aros_kernel_cpp"
12741 #-----------------------------------------------------------------------------
12743 # Disable pointer-signedness warnings if the compiler recognises the option
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12746 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12747 save_cflags
="$CFLAGS"
12748 if test "$crosstools" != "yes" ; then
12749 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12751 /* end confdefs.h. */
12761 if ac_fn_c_try_compile
"$LINENO"; then :
12762 use_no_sign_warning
="yes"
12764 use_no_sign_warning
="no"
12766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12768 # we do know it is supported for the smallest version of gcc we are going to build
12769 # we assume it's also supported by later versions
12770 use_no_sign_warning
=yes
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12773 $as_echo "$use_no_sign_warning" >&6; }
12774 if test "x-$use_no_sign_warning" = "x-yes" ; then
12775 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12777 CFLAGS
="$save_cflags"
12779 #-----------------------------------------------------------------------------
12781 # Find all the tools we need to compile. This could be cross-compiling
12782 # though! If that is the case we use the GNU form of the target and
12783 # simply add this to the front of the binary name. This is rather simple,
12784 # but it should work under most circumstances.
12786 # The default tools are to use the same as the host, but only if the
12787 # host and target CPU are the same. With GCC this is normally enough.
12791 aros_shared_ld
="$aros_host_ld"
12793 aros_target_mkdep
="$aros_host_mkdep"
12795 # The default tools executables to be linked to.
12796 if test "$rescomp" != ""; then
12797 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12798 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12800 $as_echo_n "checking for $ac_word... " >&6; }
12801 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12802 $as_echo_n "(cached) " >&6
12804 case $aros_kernel_rescomp in
12806 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12810 for as_dir
in $PATH
12813 test -z "$as_dir" && as_dir
=.
12814 for ac_exec_ext
in '' $ac_executable_extensions; do
12815 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12816 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12827 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12828 if test -n "$aros_kernel_rescomp"; then
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12830 $as_echo "$aros_kernel_rescomp" >&6; }
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12833 $as_echo "no" >&6; }
12837 if test "$aros_kernel_rescomp" = ""; then
12838 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12842 # Set up the sources for the symlink farm
12843 if test "$crosstools" = "yes"; then
12844 crosstools_target
=tools-crosstools
12847 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12848 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12851 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12852 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12853 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12854 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12855 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12856 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12857 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12859 # aros_cc_pre is a variable that is added to the front of the compiler name
12860 # in the generated aros-gcc shell script. We need this to enable the cache
12861 # to work across cleaned builds. Also, support DISTCC using the correct
12862 # environment variable.
12865 if test "x${DISTCC}" != "x" ; then
12866 if test "x${CCACHE}" != "x" ; then
12867 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12869 aros_cc_pre
="${DISTCC} "
12872 if test "x${CCACHE}" != "x" ; then
12873 aros_cc_pre
="${CCACHE} "
12877 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12879 aros_target_nostdinc_cflags
=-nostdinc
12881 aros_target_nostartup_ldflags
=-nostartfiles
12883 aros_target_nix_ldflags
=-nix
12885 aros_target_detach_ldflags
=-detach
12887 aros_target_nostdlib_ldflags
=-nostdlib
12891 if test "$crosstools" != "yes"; then
12892 if test "$GCC" = "yes"; then
12893 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12896 # We do not know which gcc version we are going to build and what we need to know
12897 # here is different for different versions so this will be set later during the
12898 # build of crosstools.
12899 aros_target_cc_path
=@aros_target_cc_path@
12901 aros_target_cpp
="${prefix}cpp"
12902 aros_target_cc
="${prefix}gcc"
12903 aros_target_cxx
="${prefix}g++"
12904 aros_target_as
="${prefix}as"
12905 aros_target_ld
="${prefix}ld"
12906 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12907 aros_target_objcopy
="${prefix}objcopy"
12908 aros_target_objdump
="${prefix}objdump"
12909 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12910 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12911 aros_target_strip
="${prefix}strip"
12912 aros_plain_nm
="${prefix}nm"
12913 aros_plain_ar
="${prefix}ar"
12915 # Check whether --enable-includes was given.
12916 if test "${enable_includes+set}" = set; then :
12917 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12919 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
12923 if test "$aros_kernel_includes" = ""; then
12924 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12925 aros_kernel_includes
="-isystem $aros_target_incl"
12929 if test "$aros_kernel_includes" != "" ; then
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12931 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12932 if test "$aros_kernel_cc_includes" = "" ; then
12933 # Try to guess where the directory is.
12934 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12935 if test -d $aros_kernel_cc_includes; then
12936 # Check if there is also an include-fixed directory and add it
12937 # to kernel compiler's include path as it may contain some of
12938 # the headers we need.
12939 if test -d "$aros_kernel_cc_includes"-fixed; then
12940 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12942 # Check for specific includes directory. Neede for Ubuntu 11.10
12943 if test -d "/usr/include/i386-linux-gnu"; then
12944 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12947 # The directory doesn't exist, we need to do some more work.
12948 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12950 # These are the headers we're looking for.
12951 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12952 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12956 for h
in $headers; do
12957 # Which other headers are needed by each of the above?
12958 deps
=$
(echo "#include <$h>" | \
12959 $aros_kernel_cc -E -M - 2>/dev
/null | \
12960 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12962 # Copy all the needed headers to a directory beneath gendir.
12965 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12966 sed -n "s,^.*/include\(/.*\),\1,p")
12967 ! test -d $dir && mkdir
-p $dir
12968 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12974 $as_echo "$aros_kernel_cc_includes" >&6; }
12975 # Adding -nostdinc to kernel includes as they are always used together.
12976 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12979 if test "$crosstools" != "yes"; then
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12981 $as_echo_n "checking for the target compiler's include path... " >&6; }
12982 if test "$aros_target_cc_includes" = "" ; then
12983 #try to guess where the directory is
12984 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12985 if ! test -d $aros_target_cc_includes; then
12986 #the directory doesn't exist, we need to do some more work
12987 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12989 #these are the headers we're looking for
12990 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12991 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12995 for h
in $headers; do
12996 #which other headers each of the above headers needs?
12997 deps
=$
(echo "#include <$h>" | \
12998 $orig_target_cc -E -M - 2>/dev
/null | \
12999 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13001 #copy all the needed headers to a directory beneath gendir
13004 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13005 sed -n "s,^.*/include\(/.*\),\1,p")
13006 ! test -d $dir && mkdir
-p $dir
13007 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13013 $as_echo "$aros_target_cc_includes" >&6; }
13015 # We do not know which gcc version we are going to build and what we need to know
13016 # here is different for different versions so this will be set later during the
13017 # build of crosstools.
13018 aros_target_cc_includes
=@aros_target_cc_includes@
13022 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13023 # On GCC >= 4.0 -iquote should be used
13027 save_cflags
="$CFLAGS"
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13030 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13031 if test "x-$crosstools" != "x-yes"; then
13032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13033 /* end confdefs.h. */
13043 if ac_fn_c_try_compile
"$LINENO"; then :
13048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13050 # we do know it is supported for the smallest version of gcc we are going to build
13051 # we assume it's also supported by later versions
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13055 $as_echo "$has_iquote" >&6; }
13056 if test "x-$has_iquote" = "x-yes" ; then
13057 host_cflags_iquote
=-iquote
13058 host_cflags_iquote_end
=
13060 host_cflags_iquote
=-I
13061 host_cflags_iquote_end
=-I-
13063 kernel_cflags_iquote
=$host_cflags_iquote
13064 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13065 if test "x-$cross_compiling" = "x-yes"; then
13066 CC
="$aros_kernel_cc"
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13068 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13069 if test "x-$crosstools" != "x-yes"; then
13070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13071 /* end confdefs.h. */
13081 if ac_fn_c_try_compile
"$LINENO"; then :
13082 use_no_stack_protector
="yes"
13084 use_no_stack_protector
="no"
13086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13088 # we do know it is supported for the smallest version of gcc we are going to build
13089 # we assume it's also supported by later versions
13090 use_no_stack_protector
=yes
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13093 $as_echo "$use_no_stack_protector" >&6; }
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13095 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13096 if test "x-$crosstools" != "x-yes"; then
13097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13098 /* end confdefs.h. */
13108 if ac_fn_c_try_compile
"$LINENO"; then :
13113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13115 # we do know it is supported for the smallest version of gcc we are going to build
13116 # we assume it's also supported by later versions
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13120 $as_echo "$has_iquote" >&6; }
13121 if test "x-$has_iquote" = "x-yes" ; then
13122 kernel_cflags_iquote
=-iquote
13123 kernel_cflags_iquote_end
=
13125 kernel_cflags_iquote
=-I
13126 kernel_cflags_iquote_end
=-I-
13129 aros_cflags_iquote
=$kernel_cflags_iquote
13130 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13131 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13132 CC
="$orig_target_cc"
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13134 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13135 if test "x-$crosstools" != "x-yes"; then
13136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13137 /* end confdefs.h. */
13147 if ac_fn_c_try_compile
"$LINENO"; then :
13152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13154 # we do know it is supported for the smallest version of gcc we are going to build
13155 # we assume it's also supported by later versions
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13159 $as_echo "$has_iquote" >&6; }
13160 if test "x-$has_iquote" = "x-yes" ; then
13161 aros_cflags_iquote
=-iquote
13162 aros_cflags_iquote_end
=
13164 aros_cflags_iquote
=-I
13165 aros_cflags_iquote_end
=-I-
13168 if test "x-$use_no_stack_protector" = "x-yes" ; then
13169 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13173 #-----------------------------------------------------------------------------
13175 # Check if the target compiler supports some options used for delinting:
13176 # -Wunused-but-set-variable
13179 # -Wstrict-overflow
13180 # -Wformat-security
13182 if test "x-$crosstools" != "x-yes"; then
13183 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13184 CC
="$orig_target_cc"
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13187 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13188 CFLAGS
=-Wunused-but-set-variable
13189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13190 /* end confdefs.h. */
13200 if ac_fn_c_try_compile
"$LINENO"; then :
13201 aros_unused_but_set_variable
="yes"
13203 aros_unused_but_set_variable
="no"
13205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13207 $as_echo "$aros_unused_but_set_variable" >&6; }
13208 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13209 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13213 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13214 CFLAGS
=-Warray-bounds
13215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13216 /* end confdefs.h. */
13226 if ac_fn_c_try_compile
"$LINENO"; then :
13227 aros_array_bounds
="yes"
13229 aros_array_bounds
="no"
13231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13233 $as_echo "$aros_array_bounds" >&6; }
13234 if test "x-$aros_array_bounds" = "x-yes" ; then
13235 aros_cflags_array_bounds
=-Wno-array-bounds
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13239 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13240 CFLAGS
=-Wenum-compare
13241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13242 /* end confdefs.h. */
13252 if ac_fn_c_try_compile
"$LINENO"; then :
13253 aros_enum_compare
="yes"
13255 aros_enum_compare
="no"
13257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13259 $as_echo "$aros_enum_compare" >&6; }
13260 if test "x-$aros_enum_compare" = "x-yes" ; then
13261 aros_cflags_enum_compare
=-Wno-enum-compare
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13265 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13266 CFLAGS
=-Wstrict-overflow
13267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13268 /* end confdefs.h. */
13278 if ac_fn_c_try_compile
"$LINENO"; then :
13279 aros_strict_overflow
="yes"
13281 aros_strict_overflow
="no"
13283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13285 $as_echo "$aros_strict_overflow" >&6; }
13286 if test "x-$aros_strict_overflow" = "x-yes" ; then
13287 aros_cflags_strict_overflow
=-Wno-strict-overflow
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13291 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13292 CFLAGS
=-Wformat-security
13293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13294 /* end confdefs.h. */
13304 if ac_fn_c_try_compile
"$LINENO"; then :
13305 aros_format_security
="yes"
13307 aros_format_security
="no"
13309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13311 $as_echo "$aros_format_security" >&6; }
13312 if test "x-$aros_format_security" = "x-yes" ; then
13313 aros_cflags_format_security
=-Wno-format-security
13316 # We do not know which gcc version we are going to build and what we need to know
13317 # here is different for different versions so this will be set later during the
13318 # build of crosstools.
13319 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13320 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13321 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13322 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13323 aros_cflags_format_security
=@aros_cflags_format_security@
13326 #-----------------------------------------------------------------------------
13328 # Check if we can explicitly choose older version of symbol hashing
13330 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13331 CC
="$aros_kernel_cc"
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13333 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13335 /* end confdefs.h. */
13345 if ac_fn_c_try_link
"$LINENO"; then :
13346 use_hash_style
="yes"
13348 use_hash_style
="no"
13350 rm -f core conftest.err conftest.
$ac_objext \
13351 conftest
$ac_exeext conftest.
$ac_ext
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13353 $as_echo "$use_hash_style" >&6; }
13354 if test "x-$use_hash_style" = "x-yes" ; then
13355 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13358 CFLAGS
="$save_cflags"
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13369 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13371 # Check whether --with-resolution was given.
13372 if test "${with_resolution+set}" = set; then :
13373 withval
=$with_resolution; resolution
=$withval
13378 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13379 if test "$resolution" = "yes" ; then
13382 if test "$resolution" = "no" ; then
13385 if test "$resolution" != "none" ; then
13386 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13387 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13388 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13391 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13392 aros_cv_default_wbwidth
=$aros_default_wbwidth
13393 aros_cv_default_wbheight
=$aros_default_wbheight
13394 aros_cv_default_wbdepth
=$aros_default_wbdepth
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13397 $as_echo_n "checking if serial debug is enabled... " >&6; }
13399 # Check whether --with-serial-debug was given.
13400 if test "${with_serial_debug+set}" = set; then :
13401 withval
=$with_serial_debug; serial_debug
=$withval
13406 if test "$aros_serial_debug" = 0 ; then
13407 serial_debug_forced
=""
13408 if test "$serial_debug" = "yes" ; then
13411 if test "$serial_debug" = "no" ; then
13412 serial_debug
="none"
13415 serial_debug_forced
="(forced)"
13416 serial_debug
=$aros_serial_debug
13418 if test "$serial_debug" != "none" ; then
13419 aros_serial_debug
=$serial_debug
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13421 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13424 $as_echo "no" >&6; }
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13428 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13429 # Check whether --enable-palm_debug_hack was given.
13430 if test "${enable_palm_debug_hack+set}" = set; then :
13431 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13433 palm_debug_hack
="no"
13436 if test "$palm_debug_hack" = "yes" ; then
13437 aros_palm_debug_hack
="1"
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13440 $as_echo "$palm_debug_hack" >&6; }
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
13443 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
13444 # Check whether --enable-usb30_code was given.
13445 if test "${enable_usb30_code+set}" = set; then :
13446 enableval
=$enable_usb30_code; usb30_code
="yes"
13451 if test "$usb30_code" = "yes" ; then
13452 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
13453 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
13456 $as_echo "$usb30_code" >&6; }
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13459 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13460 # Check whether --enable-nesting_supervisor was given.
13461 if test "${enable_nesting_supervisor+set}" = set; then :
13462 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13464 nesting_supervisor
="no"
13467 if test "$nesting_supervisor" = "yes" ; then
13468 aros_nesting_supervisor
="1"
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13471 $as_echo "$nesting_supervisor" >&6; }
13473 if test "$aros_enable_mmu" = "" ; then
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13475 $as_echo_n "checking if MMU support is enabled... " >&6; }
13476 # Check whether --enable-mmu was given.
13477 if test "${enable_mmu+set}" = set; then :
13478 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13480 aros_enable_mmu
="yes"
13483 if test "$aros_enable_mmu" = "" ; then
13484 aros_enable_mmu
="yes"
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13487 $as_echo "$aros_enable_mmu" >&6; }
13489 if test "$aros_enable_mmu" = "no" ; then
13490 aros_enable_mmu
="0"
13492 aros_enable_mmu
="1"
13496 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13498 if test "x-$need_dlopen" != "x-no" ; then
13501 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13502 if test "x$ac_cv_func_dlopen" = xyes
; then :
13508 if test "x-$have_dl" = "x-no" ; then
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13510 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13511 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13512 $as_echo_n "(cached) " >&6
13514 ac_check_lib_save_LIBS
=$LIBS
13516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13517 /* end confdefs.h. */
13519 /* Override any GCC internal prototype to avoid an error.
13520 Use char because int might match the return type of a GCC
13521 builtin and then its argument prototype would still apply. */
13534 if ac_fn_c_try_link
"$LINENO"; then :
13535 ac_cv_lib_dl_dlopen
=yes
13537 ac_cv_lib_dl_dlopen
=no
13539 rm -f core conftest.err conftest.
$ac_objext \
13540 conftest
$ac_exeext conftest.
$ac_ext
13541 LIBS
=$ac_check_lib_save_LIBS
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13544 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13545 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13547 aros_host_ldflags
="$aros_host_ldflags -ldl"
13553 if test "x-$have_dl" = "x-no" ; then
13554 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13560 # Check whether --enable-x11_hidd was given.
13561 if test "${enable_x11_hidd+set}" = set; then :
13562 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13564 x11_hidd
="$need_x11"
13567 case "x-$x11_hidd" in
13568 x-yes|x-no|x-auto
) ;;
13569 *) x11_hidd
="$need_x11" ;;
13574 if test "x-$x11_hidd" != "x-no" ; then
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13577 $as_echo_n "checking for X... " >&6; }
13580 # Check whether --with-x was given.
13581 if test "${with_x+set}" = set; then :
13585 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13586 if test "x$with_x" = xno
; then
13587 # The user explicitly disabled X.
13590 case $x_includes,$x_libraries in #(
13591 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13592 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13593 $as_echo_n "(cached) " >&6
13595 # One or both of the vars are not set, and there is no cached value.
13596 ac_x_includes
=no ac_x_libraries
=no
13597 rm -f -r conftest.dir
13598 if mkdir conftest.dir
; then
13600 cat >Imakefile
<<'_ACEOF'
13602 @echo incroot='${INCROOT}'
13604 @echo usrlibdir='${USRLIBDIR}'
13606 @echo libdir='${LIBDIR}'
13608 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13609 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13610 for ac_var
in incroot usrlibdir libdir
; do
13611 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13613 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13614 for ac_extension
in a so sl dylib la dll
; do
13615 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13616 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13617 ac_im_usrlibdir
=$ac_im_libdir; break
13620 # Screen out bogus values from the imake configuration. They are
13621 # bogus both because they are the default anyway, and because
13622 # using them would break gcc on systems where it needs fixed includes.
13623 case $ac_im_incroot in
13624 /usr
/include
) ac_x_includes
= ;;
13625 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13627 case $ac_im_usrlibdir in
13628 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13629 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13633 rm -f -r conftest.dir
13636 # Standard set of common directories for X headers.
13637 # Check X11 before X11Rn because it is often a symlink to the current release.
13651 /usr/local/X11/include
13652 /usr/local/X11R7/include
13653 /usr/local/X11R6/include
13654 /usr/local/X11R5/include
13655 /usr/local/X11R4/include
13657 /usr/local/include/X11
13658 /usr/local/include/X11R7
13659 /usr/local/include/X11R6
13660 /usr/local/include/X11R5
13661 /usr/local/include/X11R4
13665 /usr/XFree86/include/X11
13669 /usr/unsupported/include
13670 /usr/athena/include
13671 /usr/local/x11r5/include
13672 /usr/lpp/Xamples/include
13674 /usr/openwin/include
13675 /usr/openwin/share/include'
13677 if test "$ac_x_includes" = no
; then
13678 # Guess where to find include files, by looking for Xlib.h.
13679 # First, try using that file with no special directory specified.
13680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13682 #include <X11/Xlib.h>
13684 if ac_fn_c_try_cpp
"$LINENO"; then :
13685 # We can compile using X headers with no special include directory.
13688 for ac_dir
in $ac_x_header_dirs; do
13689 if test -r "$ac_dir/X11/Xlib.h"; then
13690 ac_x_includes
=$ac_dir
13695 rm -f conftest.err conftest.i conftest.
$ac_ext
13696 fi # $ac_x_includes = no
13698 if test "$ac_x_libraries" = no
; then
13699 # Check for the libraries.
13700 # See if we find them without any special options.
13701 # Don't add to $LIBS permanently.
13704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13705 /* end confdefs.h. */
13706 #include <X11/Xlib.h>
13715 if ac_fn_c_try_link
"$LINENO"; then :
13717 # We can link X programs with no special library path.
13721 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13723 # Don't even attempt the hair of trying to link an X program!
13724 for ac_extension
in a so sl dylib la dll
; do
13725 if test -r "$ac_dir/libX11.$ac_extension"; then
13726 ac_x_libraries
=$ac_dir
13732 rm -f core conftest.err conftest.
$ac_objext \
13733 conftest
$ac_exeext conftest.
$ac_ext
13734 fi # $ac_x_libraries = no
13736 case $ac_x_includes,$ac_x_libraries in #(
13737 no
,* |
*,no |
*\'*)
13738 # Didn't find X, or a directory has "'" in its name.
13739 ac_cv_have_x
="have_x=no";; #(
13741 # Record where we found X for the cache.
13742 ac_cv_have_x
="have_x=yes\
13743 ac_x_includes='$ac_x_includes'\
13744 ac_x_libraries='$ac_x_libraries'"
13750 eval "$ac_cv_have_x"
13753 if test "$have_x" != yes; then
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13755 $as_echo "$have_x" >&6; }
13758 # If each of the values was on the command line, it overrides each guess.
13759 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13760 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13761 # Update the cache value to reflect the command line values.
13762 ac_cv_have_x
="have_x=yes\
13763 ac_x_includes='$x_includes'\
13764 ac_x_libraries='$x_libraries'"
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13766 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13771 for path
in $x_libraries
13773 x_cflags
="$x_cflags -L$path"
13776 for path
in $x_includes
13778 x_cflags
="$x_cflags -I$path"
13781 if test "x-$no_x" = "x-yes" ; then
13783 if test "x-$x11_hidd" != "x-auto" ; then
13784 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13788 x11_hidd_target
=kernel-x11gfx-kobj
13791 # Check whether --enable-x11_shm was given.
13792 if test "${enable_x11_shm+set}" = set; then :
13793 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13795 x11_hidd_shm
="auto"
13798 case "x-$x11_hidd_shm" in
13799 x-yes|x-no|x-auto
) ;;
13800 *) x11_hidd_shm
="auto" ;;
13805 if test "x-$x11_hidd_shm" != "x-no" ; then
13807 for ac_header
in sys
/ipc.h
13809 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13810 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13811 cat >>confdefs.h
<<_ACEOF
13812 #define HAVE_SYS_IPC_H 1
13819 for ac_header
in sys
/shm.h
13821 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13822 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13823 cat >>confdefs.h
<<_ACEOF
13824 #define HAVE_SYS_SHM_H 1
13832 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13834 save_cflags
="$CFLAGS"
13835 CFLAGS
="$CFLAGS $x_cflags"
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13837 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13838 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13839 $as_echo_n "(cached) " >&6
13841 ac_check_lib_save_LIBS
=$LIBS
13842 LIBS
="-lXext $LIBS"
13843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13846 /* Override any GCC internal prototype to avoid an error.
13847 Use char because int might match the return type of a GCC
13848 builtin and then its argument prototype would still apply. */
13852 char XShmQueryExtension ();
13856 return XShmQueryExtension ();
13861 if ac_fn_c_try_link
"$LINENO"; then :
13862 ac_cv_lib_Xext_XShmQueryExtension
=yes
13864 ac_cv_lib_Xext_XShmQueryExtension
=no
13866 rm -f core conftest.err conftest.
$ac_objext \
13867 conftest
$ac_exeext conftest.
$ac_ext
13868 LIBS
=$ac_check_lib_save_LIBS
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13871 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13872 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13876 CFLAGS
="$save_cflags"
13880 if test "x-$have_xshm" = "x-yes" ; then
13881 DO_XSHM_SUPPORT
="1"
13882 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13883 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13885 DO_XSHM_SUPPORT
="0"
13889 # Check whether --enable-x11_vidmode was given.
13890 if test "${enable_x11_vidmode+set}" = set; then :
13891 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13893 x11_hidd_vidmode
="auto"
13896 case "x-$x11_hidd_vidmode" in
13897 x-yes|x-no|x-auto
) ;;
13898 *) x11_hidd_vidmode
="auto" ;;
13903 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13905 save_cflags
="$CFLAGS"
13906 CFLAGS
="$CFLAGS $x_cflags"
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13908 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13909 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13910 $as_echo_n "(cached) " >&6
13912 ac_check_lib_save_LIBS
=$LIBS
13913 LIBS
="-lXxf86vm $LIBS"
13914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13917 /* Override any GCC internal prototype to avoid an error.
13918 Use char because int might match the return type of a GCC
13919 builtin and then its argument prototype would still apply. */
13923 char XF86VidModeQueryExtension ();
13927 return XF86VidModeQueryExtension ();
13932 if ac_fn_c_try_link
"$LINENO"; then :
13933 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13935 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13937 rm -f core conftest.err conftest.
$ac_objext \
13938 conftest
$ac_exeext conftest.
$ac_ext
13939 LIBS
=$ac_check_lib_save_LIBS
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13942 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13943 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13947 CFLAGS
="$save_cflags"
13950 if test "x-$have_vidmode" = "x-yes" ; then
13951 DO_VIDMODE_SUPPORT
="1"
13952 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13953 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13955 DO_VIDMODE_SUPPORT
="0"
13959 aros_host_x11_includes
=$x_includes
13960 aros_host_x11_libdirs
=$x_libraries
13964 # Check whether --enable-sdl_hidd was given.
13965 if test "${enable_sdl_hidd+set}" = set; then :
13966 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13971 case "x-$sdl_hidd" in
13972 x-yes|x-no|x-auto
) ;;
13973 *) sdl_hidd
="auto" ;;
13976 if test "x-$sdl_hidd" != "x-no" ; then
13979 # Check whether --with-sdl-prefix was given.
13980 if test "${with_sdl_prefix+set}" = set; then :
13981 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13987 # Check whether --with-sdl-exec-prefix was given.
13988 if test "${with_sdl_exec_prefix+set}" = set; then :
13989 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13994 # Check whether --enable-sdltest was given.
13995 if test "${enable_sdltest+set}" = set; then :
13996 enableval
=$enable_sdltest;
14002 if test x
$sdl_exec_prefix != x
; then
14003 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14004 if test x
${SDL_CONFIG+set} != xset
; then
14005 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14008 if test x
$sdl_prefix != x
; then
14009 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14010 if test x
${SDL_CONFIG+set} != xset
; then
14011 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14015 as_save_PATH
="$PATH"
14016 if test "x$prefix" != xNONE
; then
14017 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14019 # Extract the first word of "sdl-config", so it can be a program name with args.
14020 set dummy sdl-config
; ac_word
=$2
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14022 $as_echo_n "checking for $ac_word... " >&6; }
14023 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14024 $as_echo_n "(cached) " >&6
14026 case $SDL_CONFIG in
14028 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14032 for as_dir
in $PATH
14035 test -z "$as_dir" && as_dir
=.
14036 for ac_exec_ext
in '' $ac_executable_extensions; do
14037 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14038 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14046 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14050 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14051 if test -n "$SDL_CONFIG"; then
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14053 $as_echo "$SDL_CONFIG" >&6; }
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14056 $as_echo "no" >&6; }
14060 PATH
="$as_save_PATH"
14061 min_sdl_version
=1.2.10
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14063 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14065 if test "$SDL_CONFIG" = "no" ; then
14068 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14069 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14071 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14072 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14073 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14074 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14075 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14076 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14077 if test "x$enable_sdltest" = "xyes" ; then
14078 ac_save_CFLAGS
="$CFLAGS"
14079 ac_save_CXXFLAGS
="$CXXFLAGS"
14080 ac_save_LIBS
="$LIBS"
14081 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14082 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14083 LIBS
="$LIBS $SDL_LIBS"
14085 if test "$cross_compiling" = yes; then :
14086 echo $ac_n "cross compiling; assumed OK... $ac_c"
14088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14089 /* end confdefs.h. */
14092 #include <stdlib.h>
14093 #include <string.h>
14097 my_strdup (char *str)
14103 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14104 strcpy (new_str, str);
14112 int main (int argc, char *argv[])
14114 int major, minor, micro;
14117 /* This hangs on some systems (?)
14118 system ("touch conf.sdltest");
14120 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14122 /* HP/UX 9 (%@#!) writes to sscanf strings */
14123 tmp_version = my_strdup("$min_sdl_version");
14124 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14125 printf("%s, bad version string\n", "$min_sdl_version");
14129 if (($sdl_major_version > major) ||
14130 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14131 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14137 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14138 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14139 printf("*** best to upgrade to the required version.\n");
14140 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14141 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14142 printf("*** config.cache before re-running configure\n");
14149 if ac_fn_c_try_run
"$LINENO"; then :
14154 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14155 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14158 CFLAGS
="$ac_save_CFLAGS"
14159 CXXFLAGS
="$ac_save_CXXFLAGS"
14160 LIBS
="$ac_save_LIBS"
14163 if test "x$no_sdl" = x
; then
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14165 $as_echo "yes" >&6; }
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14169 $as_echo "no" >&6; }
14170 if test "$SDL_CONFIG" = "no" ; then
14171 echo "*** The sdl-config script installed by SDL could not be found"
14172 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14173 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14174 echo "*** full path to sdl-config."
14176 if test -f conf.sdltest
; then
14179 echo "*** Could not run SDL test program, checking why..."
14180 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14181 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14182 LIBS
="$LIBS $SDL_LIBS"
14183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14184 /* end confdefs.h. */
14189 int main(int argc, char *argv[])
14192 #define main K_and_R_C_main
14202 if ac_fn_c_try_link
"$LINENO"; then :
14203 echo "*** The test program compiled, but did not run. This usually means"
14204 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14205 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14206 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14207 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14208 echo "*** is required on your system"
14210 echo "*** If you have an old version installed, it is best to remove it, although"
14211 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14213 echo "*** The test program failed to compile or link. See the file config.log for the"
14214 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14215 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14216 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14218 rm -f core conftest.err conftest.
$ac_objext \
14219 conftest
$ac_exeext conftest.
$ac_ext
14220 CFLAGS
="$ac_save_CFLAGS"
14221 CXXFLAGS
="$ac_save_CXXFLAGS"
14222 LIBS
="$ac_save_LIBS"
14234 if test "x-$have_sdl" != "x-yes" ; then
14236 if test "x-$sdl_hidd" != "x-auto" ; then
14237 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14241 sdl_hidd_target
=kernel-hidd-sdl
14242 aros_host_sdl_cflags
=SDL_CFLAGS
14243 aros_host_sdl_libs
=SDL_LIBS
14247 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14248 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14253 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14254 oss_library_target
=workbench-libs-oss-unix
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14260 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14261 # Check whether --enable-dbus was given.
14262 if test "${enable_dbus+set}" = set; then :
14263 enableval
=$enable_dbus; dbus
="yes"
14268 if test "$dbus" = "yes" ; then
14270 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14271 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14272 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14273 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14278 $as_echo "$dbus" >&6; }
14280 if test "$use_kernel_cc_wrapper" = "yes" ; then
14281 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14284 if test "${crosstools}" != "yes" ; then
14285 aros_target_toolchain
=no
14287 aros_target_toolchain
=yes
14303 # Compatability with other Amiga-like operation systems
14398 # Delinting target compiler flags
14422 # Native version related
14425 # Palm native version related
14428 # Unix/Hosted version related
14434 # Apple iOS related
14439 # ARM default GCC target related
14465 # Collect-aros stuff: "-ius" to ignore undefined symbols
14468 # C compiler related
14471 #ObjC compiler related
14477 case "$aros_flavour" in
14478 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14479 aros_flavour
="emulation" ;;
14480 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14481 aros_flavour
="emulation" ;;
14482 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14483 aros_flavour
="standalone";;
14484 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14485 aros_flavour
="standalone";;
14486 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14487 aros_flavour
="native" ;;
14488 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14489 aros_flavour
="native" ;;
14490 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14491 aros_flavour
="linklib" ;;
14492 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14493 aros_flavour
="palmnative" ;;
14494 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14495 aros_flavour
="mac68knative" ;;
14496 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14497 aros_flavour
="ppcnative" ;;
14500 if test ! -d ${aros_inc_dir} ; then
14501 ${MKDIR} ${aros_inc_dir}
14503 if test ! -d ${aros_geninc_dir} ; then
14504 ${MKDIR} ${aros_geninc_dir}
14506 if test ! -d ${aros_hostcfg_dir} ; then
14507 ${MKDIR} ${aros_hostcfg_dir}
14509 if test ! -d ${aros_targetcfg_dir} ; then
14510 ${MKDIR} ${aros_targetcfg_dir}
14512 if test ! -d ${aros_tools_dir} ; then
14513 ${MKDIR} ${aros_tools_dir}
14515 if test ! -d ${aros_scripts_dir} ; then
14516 ${MKDIR} ${aros_scripts_dir}
14519 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14522 ac_config_commands
="$ac_config_commands compiler_executable"
14524 ac_config_commands
="$ac_config_commands genmf_executable"
14527 ac_config_files
="$ac_config_files Makefile config/make.cfg ${aros_inc_dir}/config.h:config/config.h.in ${aros_geninc_dir}/config.h:config/config.h.in ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in mmake.config ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_targetcfg_dir}/specs:config/specs.in ${aros_targetcfg_dir}/elf-specs:${elf_specs_in} ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-cpp:scripts/aros-cpp.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-gcc:scripts/aros-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-g++:scripts/aros-g++.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc:scripts/elf-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py tools/collect-aros/env.h ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
14530 cat >confcache
<<\_ACEOF
14531 # This file is a shell script that caches the results of configure
14532 # tests run on this system so they can be shared between configure
14533 # scripts and configure runs, see configure's option --config-cache.
14534 # It is not useful on other systems. If it contains results you don't
14535 # want to keep, you may remove or edit it.
14537 # config.status only pays attention to the cache file if you give it
14538 # the --recheck option to rerun configure.
14540 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14541 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14542 # following values.
14546 # The following way of writing the cache mishandles newlines in values,
14547 # but we know of no workaround that is simple, portable, and efficient.
14548 # So, we kill variables containing newlines.
14549 # Ultrix sh set writes to stderr and can't be redirected directly,
14550 # and sets the high bit in the cache file unless we assign to the vars.
14552 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14553 eval ac_val
=\$
$ac_var
14557 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14558 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14561 _ | IFS | as_nl
) ;; #(
14562 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14563 *) { eval $ac_var=; unset $ac_var;} ;;
14569 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14570 *${as_nl}ac_space
=\
*)
14571 # `set' does not quote correctly, so add quotes: double-quote
14572 # substitution turns \\\\ into \\, and sed turns \\ into \.
14575 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14578 # `set' quotes correctly as required by POSIX, so do not add quotes.
14579 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14588 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14590 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14592 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14593 if test -w "$cache_file"; then
14594 if test "x$cache_file" != "x/dev/null"; then
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14596 $as_echo "$as_me: updating cache $cache_file" >&6;}
14597 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14598 cat confcache
>"$cache_file"
14600 case $cache_file in #(
14602 mv -f confcache
"$cache_file"$$
&&
14603 mv -f "$cache_file"$$
"$cache_file" ;; #(
14605 mv -f confcache
"$cache_file" ;;
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14611 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14616 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14617 # Let make expand exec_prefix.
14618 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14620 DEFS
=-DHAVE_CONFIG_H
14625 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14626 # 1. Remove the extension, and $U if already installed.
14627 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14628 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14629 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14630 # will be set to the directory where LIBOBJS objects are built.
14631 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14632 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14634 LIBOBJS
=$ac_libobjs
14636 LTLIBOBJS
=$ac_ltlibobjs
14640 : "${CONFIG_STATUS=./config.status}"
14642 ac_clean_files_save
=$ac_clean_files
14643 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14645 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14647 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14649 # Generated by $as_me.
14650 # Run this file to recreate the current configuration.
14651 # Compiler output produced by configure, useful for debugging
14652 # configure, is in config.log if it exists.
14655 ac_cs_recheck=false
14658 SHELL=\${CONFIG_SHELL-$SHELL}
14661 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14662 ## -------------------- ##
14663 ## M4sh Initialization. ##
14664 ## -------------------- ##
14666 # Be more Bourne compatible
14667 DUALCASE
=1; export DUALCASE
# for MKS sh
14668 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14671 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14672 # is contrary to our usage. Disable this feature.
14673 alias -g '${1+"$@"}'='"$@"'
14674 setopt NO_GLOB_SUBST
14676 case `(set -o) 2>/dev/null` in #(
14688 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14689 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14690 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14691 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14692 # Prefer a ksh shell builtin over an external printf program on Solaris,
14693 # but without wasting forks for bash or zsh.
14694 if test -z "$BASH_VERSION$ZSH_VERSION" \
14695 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14696 as_echo='print
-r --'
14697 as_echo_n='print
-rn --'
14698 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14699 as_echo='printf %s
\n'
14700 as_echo_n='printf %s
'
14702 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14703 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14704 as_echo_n='/usr
/ucb
/echo -n'
14706 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14707 as_echo_n_body='eval
14711 expr "X$arg" : "X\\(.*\\)$as_nl";
14712 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14714 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14716 export as_echo_n_body
14717 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14719 export as_echo_body
14720 as_echo='sh
-c $as_echo_body as_echo
'
14723 # The user is always right.
14724 if test "${PATH_SEPARATOR+set}" != set; then
14726 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14727 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14734 # We need space, tab and new line, in precisely that order. Quoting is
14735 # there to prevent editors from complaining about space-tab.
14736 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14737 # splitting by setting IFS to empty value.)
14740 # Find who we are. Look in the path if we contain no directory separator.
14743 *[\\/]* ) as_myself=$0 ;;
14744 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14745 for as_dir in $PATH
14748 test -z "$as_dir" && as_dir=.
14749 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14755 # We did not find ourselves, most probably we were run as `sh COMMAND'
14756 # in which case we are not to be found in the path.
14757 if test "x$as_myself" = x
; then
14760 if test ! -f "$as_myself"; then
14761 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14765 # Unset variables that we do not need and which cause bugs (e.g. in
14766 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14767 # suppresses any "Segmentation fault" message there. '((' could
14768 # trigger a bug in pdksh 5.2.14.
14769 for as_var
in BASH_ENV ENV MAIL MAILPATH
14770 do eval test x\
${$as_var+set} = xset \
14771 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14784 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14787 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14788 # ----------------------------------------
14789 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14790 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14791 # script with STATUS, using 1 if that was 0.
14794 as_status
=$1; test $as_status -eq 0 && as_status
=1
14796 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14797 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14799 $as_echo "$as_me: error: $2" >&2
14800 as_fn_exit
$as_status
14804 # as_fn_set_status STATUS
14805 # -----------------------
14806 # Set $? to STATUS, without forking.
14807 as_fn_set_status
()
14810 } # as_fn_set_status
14812 # as_fn_exit STATUS
14813 # -----------------
14814 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14818 as_fn_set_status
$1
14824 # Portably unset VAR.
14827 { eval $1=; unset $1;}
14829 as_unset
=as_fn_unset
14830 # as_fn_append VAR VALUE
14831 # ----------------------
14832 # Append the text in VALUE to the end of the definition contained in VAR. Take
14833 # advantage of any shell optimizations that allow amortized linear growth over
14834 # repeated appends, instead of the typical quadratic growth present in naive
14836 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14837 eval 'as_fn_append ()
14848 # as_fn_arith ARG...
14849 # ------------------
14850 # Perform arithmetic evaluation on the ARGs, and store the result in the
14851 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14852 # must be portable across $(()) and expr.
14853 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14854 eval 'as_fn_arith ()
14861 as_val
=`expr "$@" || test $? -eq 1`
14866 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14867 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14873 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14874 as_basename
=basename
14879 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14885 as_me
=`$as_basename -- "$0" ||
14886 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14887 X"$0" : 'X\(//\)$' \| \
14888 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14890 sed '/^.*\/\([^/][^/]*\)\/*$/{
14904 # Avoid depending upon Character Ranges.
14905 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14906 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14907 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14908 as_cr_digits
='0123456789'
14909 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14911 ECHO_C
= ECHO_N
= ECHO_T
=
14912 case `echo -n x` in #(((((
14914 case `echo 'xy\c'` in
14915 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14917 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14924 rm -f conf$$ conf$$.exe conf$$.
file
14925 if test -d conf$$.dir
; then
14926 rm -f conf$$.dir
/conf$$.
file
14929 mkdir conf$$.dir
2>/dev
/null
14931 if (echo >conf$$.
file) 2>/dev
/null
; then
14932 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14934 # ... but there are two gotchas:
14935 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14936 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14937 # In both cases, we have to default to `cp -pR'.
14938 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14940 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14948 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14949 rmdir conf$$.dir
2>/dev
/null
14954 # Create "$as_dir" as a directory, including parents if necessary.
14959 -*) as_dir
=.
/$as_dir;;
14961 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14965 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14966 *) as_qdir
=$as_dir;;
14968 as_dirs
="'$as_qdir' $as_dirs"
14969 as_dir
=`$as_dirname -- "$as_dir" ||
14970 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14971 X"$as_dir" : 'X\(//\)[^/]' \| \
14972 X"$as_dir" : 'X\(//\)$' \| \
14973 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14974 $as_echo X"$as_dir" |
14975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14979 /^X\(\/\/\)[^/].*/{
14992 test -d "$as_dir" && break
14994 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14995 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14999 if mkdir
-p .
2>/dev
/null
; then
15000 as_mkdir_p
='mkdir -p "$as_dir"'
15002 test -d .
/-p && rmdir .
/-p
15007 # as_fn_executable_p FILE
15008 # -----------------------
15009 # Test if FILE is an executable regular file.
15010 as_fn_executable_p
()
15012 test -f "$1" && test -x "$1"
15013 } # as_fn_executable_p
15014 as_test_x
='test -x'
15015 as_executable_p
=as_fn_executable_p
15017 # Sed expression to map a string onto a valid CPP name.
15018 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15020 # Sed expression to map a string onto a valid variable name.
15021 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15025 ## ----------------------------------- ##
15026 ## Main body of $CONFIG_STATUS script. ##
15027 ## ----------------------------------- ##
15029 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15032 # Save the log message, to keep $0 and so on meaningful, and to
15033 # report actual input values of CONFIG_FILES etc. instead of their
15034 # values after options handling.
15036 This file was extended by $as_me, which was
15037 generated by GNU Autoconf 2.69. Invocation command line was
15039 CONFIG_FILES = $CONFIG_FILES
15040 CONFIG_HEADERS = $CONFIG_HEADERS
15041 CONFIG_LINKS = $CONFIG_LINKS
15042 CONFIG_COMMANDS = $CONFIG_COMMANDS
15045 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15050 case $ac_config_files in *"
15051 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15054 case $ac_config_headers in *"
15055 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15060 # Files that config.status was made for.
15061 config_files="$ac_config_files"
15062 config_headers="$ac_config_headers"
15063 config_commands="$ac_config_commands"
15067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15069 \`$as_me' instantiates files and other configuration actions
15070 from templates according to the current configuration. Unless the files
15071 and actions are specified as TAGs, all are instantiated by default.
15073 Usage: $0 [OPTION]... [TAG]...
15075 -h, --help print this help, then exit
15076 -V, --version print version number and configuration settings, then exit
15077 --config print configuration, then exit
15078 -q, --quiet, --silent
15079 do not print progress messages
15080 -d, --debug don't remove temporary files
15081 --recheck update $as_me by reconfiguring in the same conditions
15082 --file=FILE[:TEMPLATE]
15083 instantiate the configuration file FILE
15084 --header=FILE[:TEMPLATE]
15085 instantiate the configuration header FILE
15087 Configuration files:
15090 Configuration headers:
15093 Configuration commands:
15096 Report bugs to the package provider."
15099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15100 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15103 configured by $0, generated by GNU Autoconf 2.69,
15104 with options \\"\$ac_cs_config\\"
15106 Copyright (C) 2012 Free Software Foundation, Inc.
15107 This config.status script is free software; the Free Software Foundation
15108 gives unlimited permission to copy, distribute and modify it."
15112 test -n "\$AWK" || AWK=awk
15115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15116 # The default lists apply if the user does not specify any file.
15122 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15123 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15127 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15139 # Handling of the options.
15140 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15142 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15143 $as_echo "$ac_cs_version"; exit ;;
15144 --config |
--confi |
--conf |
--con |
--co |
--c )
15145 $as_echo "$ac_cs_config"; exit ;;
15146 --debug |
--debu |
--deb |
--de |
--d |
-d )
15148 --file |
--fil |
--fi |
--f )
15151 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15152 '') as_fn_error $?
"missing file argument" ;;
15154 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15155 ac_need_defaults
=false
;;
15156 --header |
--heade |
--head |
--hea )
15159 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15161 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15162 ac_need_defaults
=false
;;
15164 # Conflict between --help and --header
15165 as_fn_error $?
"ambiguous option: \`$1'
15166 Try \`$0 --help' for more information.";;
15167 --help |
--hel |
-h )
15168 $as_echo "$ac_cs_usage"; exit ;;
15169 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15170 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15173 # This is an error.
15174 -*) as_fn_error $?
"unrecognized option: \`$1'
15175 Try \`$0 --help' for more information." ;;
15177 *) as_fn_append ac_config_targets
" $1"
15178 ac_need_defaults
=false
;;
15184 ac_configure_extra_args
=
15186 if $ac_cs_silent; then
15188 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15193 if \$ac_cs_recheck; then
15194 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15196 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15197 CONFIG_SHELL='$SHELL'
15198 export CONFIG_SHELL
15203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15207 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15208 ## Running $as_me. ##
15214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15219 aros_host_exe_suffix=${aros_host_exe_suffix}
15220 aros_tools_dir=${aros_tools_dir}
15221 aros_target_cpu=${aros_target_cpu}
15222 aros_target_arch=${aros_target_arch}
15223 aros_target_suffix=${aros_target_suffix}
15224 orig_target_nm=${orig_target_nm}
15225 orig_target_as=${orig_target_as}
15226 orig_target_ar=${orig_target_ar}
15227 orig_target_ranlib=${orig_target_ranlib}
15228 orig_target_objdump=${orig_target_objdump}
15229 orig_target_objcopy=${orig_target_objcopy}
15230 orig_target_strip=${orig_target_strip}
15231 aros_kernel_ld=${aros_kernel_ld}
15234 aros_tools_dir=${aros_tools_dir}
15239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15241 # Handling of arguments.
15242 for ac_config_target
in $ac_config_targets
15244 case $ac_config_target in
15245 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15246 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15247 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15248 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15249 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15250 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15251 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15252 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15253 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15254 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15255 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15256 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15257 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15258 "${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" ;;
15259 "${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" ;;
15260 "${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" ;;
15261 "${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" ;;
15262 "${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" ;;
15263 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15264 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15265 "${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" ;;
15267 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15272 # If the user did not use the arguments to specify the items to instantiate,
15273 # then the envvar interface is used. Set only those that are not.
15274 # We use the long form for the default assignment because of an extremely
15275 # bizarre bug on SunOS 4.1.3.
15276 if $ac_need_defaults; then
15277 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15278 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15279 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15282 # Have a temporary directory for convenience. Make it in the build tree
15283 # simply because there is no reason against having it here, and in addition,
15284 # creating and moving files from /tmp can sometimes cause problems.
15285 # Hook for its removal unless debugging.
15286 # Note that there is a small window in which the directory will not be cleaned:
15287 # after its creation but before its name has been assigned to `$tmp'.
15291 trap 'exit_status=$?
15292 : "${ac_tmp:=$tmp}"
15293 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15295 trap 'as_fn_exit 1' 1 2 13 15
15297 # Create a (secure) tmp directory for tmp files.
15300 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15304 tmp
=.
/conf$$
-$RANDOM
15305 (umask 077 && mkdir
"$tmp")
15306 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15309 # Set up the scripts for CONFIG_FILES section.
15310 # No need to generate them if there are no CONFIG_FILES.
15311 # This happens for instance with `./config.status config.h'.
15312 if test -n "$CONFIG_FILES"; then
15315 ac_cr
=`echo X | tr X '\015'`
15316 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15317 # But we know of no other shell where ac_cr would be empty at this
15318 # point, so we can use a bashism as a fallback.
15319 if test "x$ac_cr" = x
; then
15320 eval ac_cr
=\$
\'\\r
\'
15322 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15323 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15326 ac_cs_awk_cr
=$ac_cr
15329 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15334 echo "cat >conf$$subs.awk <<_ACEOF" &&
15335 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15337 } >conf$$subs.sh ||
15338 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15339 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15341 for ac_last_try in false false false false false :; do
15342 . ./conf$$subs.sh ||
15343 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15345 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15346 if test $ac_delim_n = $ac_delim_num; then
15348 elif $ac_last_try; then
15349 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15351 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15354 rm -f conf$$subs.sh
15356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15357 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15361 s/^/S["/; s
/!.
*/"]=/
15371 s/\(.\{148\}\)..*/\1/
15373 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15378 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15385 s/\(.\{148\}\)..*/\1/
15387 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15391 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15396 ' <conf$$subs.awk | sed '
15401 ' >>$CONFIG_STATUS || ac_write_fail=1
15402 rm -f conf$$subs.awk
15403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15405 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15406 for (key in S) S_is_set[key] = 1
15412 nfields = split(line, field, "@
")
15414 len = length(field[1])
15415 for (i = 2; i < nfields; i++) {
15417 keylen = length(key)
15418 if (S_is_set[key]) {
15420 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15421 len += length(value) + length(field[++i])
15432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15433 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15434 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15437 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15438 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15441 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15442 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15443 # trailing colons and then remove the whole line if VPATH becomes empty
15444 # (actually we leave an empty line to preserve line numbers).
15445 if test "x
$srcdir" = x.; then
15446 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15465 fi # test -n "$CONFIG_FILES"
15467 # Set up the scripts for CONFIG_HEADERS section.
15468 # No need to generate them if there are no CONFIG_HEADERS.
15469 # This happens for instance with `./config.status Makefile'.
15470 if test -n "$CONFIG_HEADERS"; then
15471 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15475 # Transform confdefs.h into an awk script `defines.awk', embedded as
15476 # here-document in config.status, that substitutes the proper values into
15477 # config.h.in to produce config.h.
15479 # Create a delimiter string that does not exist in confdefs.h, to ease
15480 # handling of long lines.
15482 for ac_last_try in false false :; do
15483 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15484 if test -z "$ac_tt"; then
15486 elif $ac_last_try; then
15487 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15489 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15493 # For the awk script, D is an array of macro values keyed by name,
15494 # likewise P contains macro parameters if any. Preserve backslash
15495 # newline sequences.
15497 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15499 s/.\{148\}/&'"$ac_delim"'/g
15502 s/^[ ]*#[ ]*define[ ][ ]*/ /
15509 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15511 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15515 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15516 D["\
1"]=" \
3\\\\\\n
"\\/p
15518 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15523 s/.\{148\}/&'"$ac_delim"'/g
15528 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15531 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15533 ' <confdefs.h | sed '
15534 s/'"$ac_delim"'/"\\\
15535 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15538 for (key in D) D_is_set[key] = 1
15541 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15543 split(line, arg, " ")
15544 if (arg[1] == "#") {
15548 defundef
= substr
(arg
[1], 2)
15551 split(mac1
, mac2
, "(") #)
15553 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15554 if (D_is_set
[macro
]) {
15555 # Preserve the white space surrounding the "#".
15556 print prefix
"define", macro P
[macro
] D
[macro
]
15559 # Replace #undef with comments. This is necessary, for example,
15560 # in the case of _POSIX_SOURCE, which is predefined and required
15561 # on some systems where configure will not decide to define it.
15562 if (defundef
== "undef") {
15563 print
"/*", prefix defundef
, macro
, "*/"
15571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15572 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15573 fi # test -n "$CONFIG_HEADERS"
15576 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15581 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15583 case $ac_mode$ac_tag in
15585 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15586 :[FH
]-) ac_tag
=-:-;;
15587 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15604 -) ac_f
="$ac_tmp/stdin";;
15605 *) # Look for the file first in the build tree, then in the source tree
15606 # (if the path is not absolute). The absolute path cannot be DOS-style,
15607 # because $ac_f cannot contain `:'.
15611 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15613 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15615 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15616 as_fn_append ac_file_inputs
" '$ac_f'"
15619 # Let's still pretend it is `configure' which instantiates (i.e., don't
15620 # use $as_me), people would be surprised to read:
15621 # /* config.h. Generated by config.status. */
15622 configure_input
='Generated from '`
15623 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15625 if test x
"$ac_file" != x-
; then
15626 configure_input
="$ac_file. $configure_input"
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15628 $as_echo "$as_me: creating $ac_file" >&6;}
15630 # Neutralize special characters interpreted by sed in replacement strings.
15631 case $configure_input in #(
15632 *\
&* |
*\|
* |
*\\* )
15633 ac_sed_conf_input
=`$as_echo "$configure_input" |
15634 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15635 *) ac_sed_conf_input
=$configure_input;;
15639 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15640 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15645 ac_dir
=`$as_dirname -- "$ac_file" ||
15646 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15647 X"$ac_file" : 'X\(//\)[^/]' \| \
15648 X"$ac_file" : 'X\(//\)$' \| \
15649 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15650 $as_echo X"$ac_file" |
15651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15655 /^X\(\/\/\)[^/].*/{
15668 as_dir
="$ac_dir"; as_fn_mkdir_p
15672 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15674 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15675 # A ".." for each directory in $ac_dir_suffix.
15676 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15677 case $ac_top_builddir_sub in
15678 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15679 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15682 ac_abs_top_builddir
=$ac_pwd
15683 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15684 # for backward compatibility:
15685 ac_top_builddir
=$ac_top_build_prefix
15688 .
) # We are building in place.
15690 ac_top_srcdir
=$ac_top_builddir_sub
15691 ac_abs_top_srcdir
=$ac_pwd ;;
15692 [\\/]* | ?
:[\\/]* ) # Absolute name.
15693 ac_srcdir
=$srcdir$ac_dir_suffix;
15694 ac_top_srcdir
=$srcdir
15695 ac_abs_top_srcdir
=$srcdir ;;
15696 *) # Relative name.
15697 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15698 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15699 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15701 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15713 # If the template does not know about datarootdir, expand it.
15714 # FIXME: This hack should be removed a few years after 2.60.
15715 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15726 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15727 *datarootdir
*) ac_datarootdir_seen
=yes;;
15728 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15730 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15733 ac_datarootdir_hack='
15734 s&@datadir@&$datadir&g
15735 s&@docdir@&$docdir&g
15736 s&@infodir@&$infodir&g
15737 s&@localedir@&$localedir&g
15738 s&@mandir@&$mandir&g
15739 s&\\\${datarootdir}&$datarootdir&g' ;;
15743 # Neutralize VPATH when `$srcdir' = `.'.
15744 # Shell code in configure.ac might set extrasub.
15745 # FIXME: do we really want to maintain this feature?
15746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15747 ac_sed_extra="$ac_vpsub
15750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15752 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15753 s|@configure_input@|
$ac_sed_conf_input|
;t t
15754 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15755 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15756 s
&@srcdir@
&$ac_srcdir&;t t
15757 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15758 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15759 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15760 s
&@builddir@
&$ac_builddir&;t t
15761 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15762 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15763 $ac_datarootdir_hack
15765 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15766 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15768 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15769 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15770 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15771 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15773 which seems to be undefined. Please make sure it is defined" >&5
15774 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15775 which seems to be undefined. Please make sure it is defined" >&2;}
15777 rm -f "$ac_tmp/stdin"
15779 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15780 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15782 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15788 if test x"$ac_file" != x-; then
15790 $as_echo "/* $configure_input */" \
15791 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15792 } >"$ac_tmp/config.h" \
15793 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15794 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15796 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15799 mv "$ac_tmp/config.h" "$ac_file" \
15800 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15803 $as_echo "/* $configure_input */" \
15804 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15805 || as_fn_error $? "could not create -" "$LINENO" 5
15809 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15810 $as_echo "$as_me: executing $ac_file commands" >&6;}
15815 case $ac_file$ac_mode in
15816 "compiler_executable":C)
15817 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15819 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15820 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15824 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15826 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15827 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15828 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15829 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15830 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15831 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15832 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15834 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15836 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15844 ac_clean_files=$ac_clean_files_save
15846 test $ac_write_fail = 0 ||
15847 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15850 # configure is writing to config.log, and then calls config.status.
15851 # config.status does its own redirection, appending to config.log.
15852 # Unfortunately, on DOS this fails, as config.log is still kept open
15853 # by configure, so config.status won't be able to
write to it
; its
15854 # output is simply discarded. So we exec the FD to /dev/null,
15855 # effectively closing config.log, so it can be properly (re)opened and
15856 # appended to by config.status. When coming back to configure, we
15857 # need to make the FD available again.
15858 if test "$no_create" != yes; then
15860 ac_config_status_args
=
15861 test "$silent" = yes &&
15862 ac_config_status_args
="$ac_config_status_args --quiet"
15864 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15866 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15867 # would make configure fail if this is the last instruction.
15868 $ac_cs_success || as_fn_exit
1
15870 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15872 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15877 #XXX compatability...
15878 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15880 if test -n "$aros_shared_cflags" ; then
15881 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15882 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg