2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev
/null
; then :
181 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
186 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir
=.
193 for as_base
in sh bash ksh sh5
; do
194 # Try only shells that exist, to save several forks.
195 as_shell
=$as_dir/$as_base
196 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
198 CONFIG_SHELL
=$as_shell as_have_required
=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
207 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
209 CONFIG_SHELL
=$SHELL as_have_required
=yes
214 if test "x$CONFIG_SHELL" != x
; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
224 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status
=$1; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 ac_default_prefix
=/usr
/local
550 ac_config_libobj_dir
=.
557 # Identity of this package.
565 ac_unique_file
="mmakefile"
566 # Factoring default headers for most tests.
567 ac_includes_default
="\
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
579 # ifdef HAVE_STDLIB_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
603 ac_subst_vars
='LTLIBOBJS
605 ignore_undefined_symbols
621 aros_nesting_supervisor
626 aros_host_x11_libdirs
627 aros_host_x11_includes
631 aros_default_wbheight
637 aros_cflags_format_security
638 aros_cflags_strict_overflow
639 aros_cflags_enum_compare
640 aros_cflags_array_bounds
641 aros_cflags_unused_but_set_variable
642 crosstools_cxx_target
644 aros_target_strip_flags
651 aros_kernel_objcflags
670 aros_target_cc_includes
685 aros_target_bootloader
705 aros_amigaos_compliance
711 aros_target_toolchain
720 aros_cflags_iquote_end
722 kernel_cflags_iquote_end
724 host_cflags_iquote_end
726 aros_target_nostdlib_ldflags
727 aros_target_detach_ldflags
728 aros_target_nix_ldflags
729 aros_target_nostartup_ldflags
730 aros_target_nostdinc_cflags
847 program_transform_name
860 enable_option_checking
868 enable_target_variant
874 enable_amigaos_compliance
875 with_kernel_toolchain_prefix
876 with_elf_toolchain_prefix
877 with_aros_toolchain_prefix
879 with_aros_toolchain_install
890 enable_palm_debug_hack
891 enable_nesting_supervisor
903 ac_precious_vars
='build_alias
918 # Initialize some variables set by options.
920 ac_init_version
=false
921 ac_unrecognized_opts
=
923 # The variables have the same names as the options, with
924 # dashes changed to underlines.
932 program_transform_name
=s
,x
,x
,
940 # Installation directory options.
941 # These are left unexpanded so users can "make install exec_prefix=/foo"
942 # and all the variables that are supposed to be based on exec_prefix
943 # by default will actually change.
944 # Use braces instead of parens because sh, perl, etc. also accept them.
945 # (The list follows the same order as the GNU Coding Standards.)
946 bindir
='${exec_prefix}/bin'
947 sbindir
='${exec_prefix}/sbin'
948 libexecdir
='${exec_prefix}/libexec'
949 datarootdir
='${prefix}/share'
950 datadir
='${datarootdir}'
951 sysconfdir
='${prefix}/etc'
952 sharedstatedir
='${prefix}/com'
953 localstatedir
='${prefix}/var'
954 includedir
='${prefix}/include'
955 oldincludedir
='/usr/include'
956 docdir
='${datarootdir}/doc/${PACKAGE}'
957 infodir
='${datarootdir}/info'
962 libdir
='${exec_prefix}/lib'
963 localedir
='${datarootdir}/locale'
964 mandir
='${datarootdir}/man'
970 # If the previous option needs an argument, assign it.
971 if test -n "$ac_prev"; then
972 eval $ac_prev=\
$ac_option
978 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
983 # Accept the important Cygnus configure options, so we can diagnose typos.
985 case $ac_dashdash$ac_option in
989 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
991 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
994 -build |
--build |
--buil |
--bui |
--bu)
995 ac_prev
=build_alias
;;
996 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
997 build_alias
=$ac_optarg ;;
999 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1000 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1001 ac_prev
=cache_file
;;
1002 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1003 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1004 cache_file
=$ac_optarg ;;
1006 --config-cache |
-C)
1007 cache_file
=config.cache
;;
1009 -datadir |
--datadir |
--datadi |
--datad)
1011 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1012 datadir
=$ac_optarg ;;
1014 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1015 |
--dataroo |
--dataro |
--datar)
1016 ac_prev
=datarootdir
;;
1017 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1018 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1019 datarootdir
=$ac_optarg ;;
1021 -disable-* |
--disable-*)
1022 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1025 as_fn_error $?
"invalid feature name: $ac_useropt"
1026 ac_useropt_orig
=$ac_useropt
1027 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028 case $ac_user_opts in
1030 "enable_
$ac_useropt"
1032 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1033 ac_unrecognized_sep
=', ';;
1035 eval enable_
$ac_useropt=no
;;
1037 -docdir |
--docdir |
--docdi |
--doc |
--do)
1039 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1040 docdir
=$ac_optarg ;;
1042 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1044 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1045 dvidir
=$ac_optarg ;;
1047 -enable-* |
--enable-*)
1048 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1049 # Reject names that are not valid shell variable names.
1050 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1051 as_fn_error $?
"invalid feature name: $ac_useropt"
1052 ac_useropt_orig
=$ac_useropt
1053 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1054 case $ac_user_opts in
1056 "enable_
$ac_useropt"
1058 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1059 ac_unrecognized_sep
=', ';;
1061 eval enable_
$ac_useropt=\
$ac_optarg ;;
1063 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1064 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1065 |
--exec |
--exe |
--ex)
1066 ac_prev
=exec_prefix
;;
1067 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1068 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1069 |
--exec=* |
--exe=* |
--ex=*)
1070 exec_prefix
=$ac_optarg ;;
1072 -gas |
--gas |
--ga |
--g)
1073 # Obsolete; use --with-gas.
1076 -help |
--help |
--hel |
--he |
-h)
1077 ac_init_help
=long
;;
1078 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1079 ac_init_help
=recursive
;;
1080 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1081 ac_init_help
=short
;;
1083 -host |
--host |
--hos |
--ho)
1084 ac_prev
=host_alias
;;
1085 -host=* |
--host=* |
--hos=* |
--ho=*)
1086 host_alias
=$ac_optarg ;;
1088 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1090 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1092 htmldir
=$ac_optarg ;;
1094 -includedir |
--includedir |
--includedi |
--included |
--include \
1095 |
--includ |
--inclu |
--incl |
--inc)
1096 ac_prev
=includedir
;;
1097 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1098 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1099 includedir
=$ac_optarg ;;
1101 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1103 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1104 infodir
=$ac_optarg ;;
1106 -libdir |
--libdir |
--libdi |
--libd)
1108 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1109 libdir
=$ac_optarg ;;
1111 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1112 |
--libexe |
--libex |
--libe)
1113 ac_prev
=libexecdir
;;
1114 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1115 |
--libexe=* |
--libex=* |
--libe=*)
1116 libexecdir
=$ac_optarg ;;
1118 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1119 ac_prev
=localedir
;;
1120 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1121 localedir
=$ac_optarg ;;
1123 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1124 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1125 ac_prev
=localstatedir
;;
1126 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1127 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1128 localstatedir
=$ac_optarg ;;
1130 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1132 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1133 mandir
=$ac_optarg ;;
1135 -nfp |
--nfp |
--nf)
1136 # Obsolete; use --without-fp.
1139 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1140 |
--no-cr |
--no-c |
-n)
1143 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1144 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1147 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1148 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1149 |
--oldin |
--oldi |
--old |
--ol |
--o)
1150 ac_prev
=oldincludedir
;;
1151 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1152 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1153 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1154 oldincludedir
=$ac_optarg ;;
1156 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1158 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1159 prefix
=$ac_optarg ;;
1161 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1162 |
--program-pre |
--program-pr |
--program-p)
1163 ac_prev
=program_prefix
;;
1164 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1165 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1166 program_prefix
=$ac_optarg ;;
1168 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1169 |
--program-suf |
--program-su |
--program-s)
1170 ac_prev
=program_suffix
;;
1171 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1172 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1173 program_suffix
=$ac_optarg ;;
1175 -program-transform-name |
--program-transform-name \
1176 |
--program-transform-nam |
--program-transform-na \
1177 |
--program-transform-n |
--program-transform- \
1178 |
--program-transform |
--program-transfor \
1179 |
--program-transfo |
--program-transf \
1180 |
--program-trans |
--program-tran \
1181 |
--progr-tra |
--program-tr |
--program-t)
1182 ac_prev
=program_transform_name
;;
1183 -program-transform-name=* |
--program-transform-name=* \
1184 |
--program-transform-nam=* |
--program-transform-na=* \
1185 |
--program-transform-n=* |
--program-transform-=* \
1186 |
--program-transform=* |
--program-transfor=* \
1187 |
--program-transfo=* |
--program-transf=* \
1188 |
--program-trans=* |
--program-tran=* \
1189 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1190 program_transform_name
=$ac_optarg ;;
1192 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1194 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1195 pdfdir
=$ac_optarg ;;
1197 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1199 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1202 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1203 |
-silent |
--silent |
--silen |
--sile |
--sil)
1206 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1208 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1210 sbindir
=$ac_optarg ;;
1212 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1213 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1214 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1216 ac_prev
=sharedstatedir
;;
1217 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1218 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1219 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1221 sharedstatedir
=$ac_optarg ;;
1223 -site |
--site |
--sit)
1225 -site=* |
--site=* |
--sit=*)
1228 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1230 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1231 srcdir
=$ac_optarg ;;
1233 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1234 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1235 ac_prev
=sysconfdir
;;
1236 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1237 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1238 sysconfdir
=$ac_optarg ;;
1240 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1241 ac_prev
=target_alias
;;
1242 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1243 target_alias
=$ac_optarg ;;
1245 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1248 -version |
--version |
--versio |
--versi |
--vers |
-V)
1249 ac_init_version
=: ;;
1252 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1255 as_fn_error $?
"invalid package name: $ac_useropt"
1256 ac_useropt_orig
=$ac_useropt
1257 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258 case $ac_user_opts in
1262 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1263 ac_unrecognized_sep
=', ';;
1265 eval with_
$ac_useropt=\
$ac_optarg ;;
1267 -without-* |
--without-*)
1268 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1269 # Reject names that are not valid shell variable names.
1270 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1271 as_fn_error $?
"invalid package name: $ac_useropt"
1272 ac_useropt_orig
=$ac_useropt
1273 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1274 case $ac_user_opts in
1278 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1279 ac_unrecognized_sep
=', ';;
1281 eval with_
$ac_useropt=no
;;
1284 # Obsolete; use --with-x.
1287 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1288 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1289 ac_prev
=x_includes
;;
1290 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1291 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1292 x_includes
=$ac_optarg ;;
1294 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1295 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1296 ac_prev
=x_libraries
;;
1297 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1298 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1299 x_libraries
=$ac_optarg ;;
1301 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1302 Try \`$0 --help' for more information"
1306 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1307 # Reject names that are not valid shell variable names.
1308 case $ac_envvar in #(
1309 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1310 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1312 eval $ac_envvar=\
$ac_optarg
1313 export $ac_envvar ;;
1316 # FIXME: should be removed in autoconf 3.0.
1317 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1318 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1319 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1320 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1326 if test -n "$ac_prev"; then
1327 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1328 as_fn_error $?
"missing argument to $ac_option"
1331 if test -n "$ac_unrecognized_opts"; then
1332 case $enable_option_checking in
1334 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1335 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1339 # Check all directory arguments for consistency.
1340 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1341 datadir sysconfdir sharedstatedir localstatedir includedir \
1342 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1343 libdir localedir mandir
1345 eval ac_val
=\$
$ac_var
1346 # Remove trailing slashes.
1349 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1350 eval $ac_var=\
$ac_val;;
1352 # Be sure to have absolute directory names.
1354 [\\/$
]* | ?
:[\\/]* ) continue;;
1355 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1357 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1360 # There might be people who depend on the old broken behavior: `$host'
1361 # used to hold the argument of --host etc.
1362 # FIXME: To remove some day.
1365 target
=$target_alias
1367 # FIXME: To remove some day.
1368 if test "x$host_alias" != x
; then
1369 if test "x$build_alias" = x
; then
1370 cross_compiling
=maybe
1371 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1372 If a cross compiler is detected then cross compile mode will be used" >&2
1373 elif test "x$build_alias" != "x$host_alias"; then
1379 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1381 test "$silent" = yes && exec 6>/dev
/null
1384 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1385 ac_ls_di
=`ls -di .` &&
1386 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1387 as_fn_error $?
"working directory cannot be determined"
1388 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1389 as_fn_error $?
"pwd does not report name of working directory"
1392 # Find the source files, if location was not specified.
1393 if test -z "$srcdir"; then
1394 ac_srcdir_defaulted
=yes
1395 # Try the directory containing this script, then the parent directory.
1396 ac_confdir
=`$as_dirname -- "$as_myself" ||
1397 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1398 X"$as_myself" : 'X\(//\)[^/]' \| \
1399 X"$as_myself" : 'X\(//\)$' \| \
1400 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1401 $as_echo X"$as_myself" |
1402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1420 if test ! -r "$srcdir/$ac_unique_file"; then
1424 ac_srcdir_defaulted
=no
1426 if test ! -r "$srcdir/$ac_unique_file"; then
1427 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1428 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1430 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1432 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1434 # When building in place, set srcdir=.
1435 if test "$ac_abs_confdir" = "$ac_pwd"; then
1438 # Remove unnecessary trailing slashes from srcdir.
1439 # Double slashes in file names in object file debugging info
1440 # mess up M-x gdb in Emacs.
1442 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1444 for ac_var
in $ac_precious_vars; do
1445 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1446 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1447 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1448 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1452 # Report the --help message.
1454 if test "$ac_init_help" = "long"; then
1455 # Omit some internal or obsolete options to make the list less imposing.
1456 # This message is too long to be a string in the A/UX 3.1 sh.
1458 \`configure' configures this package to adapt to many kinds of systems.
1460 Usage: $0 [OPTION]... [VAR=VALUE]...
1462 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1463 VAR=VALUE. See below for descriptions of some of the useful variables.
1465 Defaults for the options are specified in brackets.
1468 -h, --help display this help and exit
1469 --help=short display options specific to this package
1470 --help=recursive display the short help of all the included packages
1471 -V, --version display version information and exit
1472 -q, --quiet, --silent do not print \`checking ...' messages
1473 --cache-file=FILE cache test results in FILE [disabled]
1474 -C, --config-cache alias for \`--cache-file=config.cache'
1475 -n, --no-create do not create output files
1476 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1478 Installation directories:
1479 --prefix=PREFIX install architecture-independent files in PREFIX
1480 [$ac_default_prefix]
1481 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1484 By default, \`make install' will install all the files in
1485 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1486 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1487 for instance \`--prefix=\$HOME'.
1489 For better control, use the options below.
1491 Fine tuning of the installation directories:
1492 --bindir=DIR user executables [EPREFIX/bin]
1493 --sbindir=DIR system admin executables [EPREFIX/sbin]
1494 --libexecdir=DIR program executables [EPREFIX/libexec]
1495 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1496 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1497 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1498 --libdir=DIR object code libraries [EPREFIX/lib]
1499 --includedir=DIR C header files [PREFIX/include]
1500 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1501 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1502 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1503 --infodir=DIR info documentation [DATAROOTDIR/info]
1504 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1505 --mandir=DIR man documentation [DATAROOTDIR/man]
1506 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1507 --htmldir=DIR html documentation [DOCDIR]
1508 --dvidir=DIR dvi documentation [DOCDIR]
1509 --pdfdir=DIR pdf documentation [DOCDIR]
1510 --psdir=DIR ps documentation [DOCDIR]
1516 --x-includes=DIR X include files are
in DIR
1517 --x-libraries=DIR X library files are
in DIR
1520 --build=BUILD configure
for building on BUILD
[guessed
]
1521 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1525 if test -n "$ac_init_help"; then
1530 --disable-option-checking ignore unrecognized
--enable/--with options
1531 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1532 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1533 --enable-build-type=TYPE
1534 Select the build
type. Available types are
:
1535 personal
, nightly
, snapshot
, milestone
, release. Do
1536 NOT use this option unless you know what you are
1537 doing
! (default
=personal
)
1538 --enable-debug=list Enable different types of debug. Commas or
1539 whitespaces can be used to separate the items
in the
1540 list. Available types of debug are
: all
, none
,
1541 messages
, stack
, mungwall
, modules
, symbols. If no
1542 list is provided
then "all" is assumed.
1544 --enable-distcc Use distcc as a front end to the compiler
1546 --enable-ccache Use ccache as a front end to the compiler
1548 --enable-target-variant=NAME
1549 Enable a specific target variant
(default
=none
)
1550 --enable-amigaos-compliance=VERSION
1551 Enforce userspace AmigaOS compliance to a specific
1552 KickStart version
(default
=none
).
1553 --disable-crosstools Do not build cross-compiler toolchain
1554 --enable-palm-debug-hack
1555 Enable palm debug output hack
in palm native
1557 --enable-nesting-supervisor
1558 Enable nesting supervisor support
in unix
1560 --disable-mmu Disable MMU support
(default
=enabled
)
1561 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1562 --enable-x11-shm use X11 shared memory
(default
=auto
)
1563 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1564 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1565 --disable-sdltest Do not try to compile and run a
test SDL program
1566 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1569 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1570 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1571 --with-kernel-gcc-version=VERSION
1572 Use
host gcc-VERSION
for building AROS
1573 --with-gcc-version=VERSION
1574 Use
host gcc-VERSION
for building AROS
1575 --with-optimization=FLAGS
1576 Use optimization flags FLAGS
(default
=-O2).
1577 --with-paranoia=FLAGS CC flags to
enable paranoia
1578 --with-xcode=PATH Specify XCode path
for iOS targets
1579 (default
=/Developer
).
1580 --with-sdk-version=VERSION
1581 Use iOS SDK version VERSION
(default
=4.1).
1582 --with-sdk=PATH Specify Android SDK path
1583 (default
=$default_android_sdk).
1584 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1585 --with-sdk-version=LEVEL
1586 Use Android SDK
for API LEVEL
(default
=12).
1587 --with-ndk-version=LEVEL
1588 Use Android NDK
for API LEVEL
(default
=9).
1589 --with-kernel-toolchain-prefix=...
1590 Specify crosscompile toolchain prefix
for kernel
1592 --with-elf-toolchain-prefix=...
1593 Specify crosscompile toolchain prefix to wrap
for
1595 --with-aros-toolchain-prefix=...
1596 Specify prebuilt AROS toolchain
1597 --with-aros-toolchain-install=DIR
1598 Where to
install or search
for cross tools binaries
1599 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1600 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1601 --with-float=<spec
> Specify floating point ABI
1602 (default
=$gcc_default_float_abi).
1603 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1604 --with-portssources=DIR Where to download sourcecode
for external ports
1605 --with-bootloader=NAME Use a specific bootloader
1606 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1607 --with-theme=NAME Use a specific GUI Theme
1608 --with-resolution=XRESxYRESxDEPTH
1609 Default resolution of the initial WorkbenchScreen
1610 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1611 --with-x use the X Window System
1612 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1613 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1615 Some influential environment variables
:
1616 CC C compiler
command
1617 CFLAGS C compiler flags
1618 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1619 nonstandard directory
<lib dir
>
1620 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1621 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1622 you have headers
in a nonstandard directory
<include dir
>
1623 CXX C
++ compiler
command
1624 CXXFLAGS C
++ compiler flags
1626 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1628 Use these variables to override the choices made by
`configure' or to help
1629 it to find libraries and programs with nonstandard names/locations.
1631 Report bugs to the package provider.
1636 if test "$ac_init_help" = "recursive"; then
1637 # If there are subdirs, report their specific --help.
1638 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1639 test -d "$ac_dir" ||
1640 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1645 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1647 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1648 # A ".." for each directory in $ac_dir_suffix.
1649 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1650 case $ac_top_builddir_sub in
1651 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1652 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1655 ac_abs_top_builddir=$ac_pwd
1656 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1657 # for backward compatibility:
1658 ac_top_builddir=$ac_top_build_prefix
1661 .) # We are building in place.
1663 ac_top_srcdir=$ac_top_builddir_sub
1664 ac_abs_top_srcdir=$ac_pwd ;;
1665 [\\/]* | ?:[\\/]* ) # Absolute name.
1666 ac_srcdir=$srcdir$ac_dir_suffix;
1667 ac_top_srcdir=$srcdir
1668 ac_abs_top_srcdir=$srcdir ;;
1670 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1671 ac_top_srcdir=$ac_top_build_prefix$srcdir
1672 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1674 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1676 cd "$ac_dir" || { ac_status=$?; continue; }
1677 # Check for guested configure.
1678 if test -f "$ac_srcdir/configure.gnu"; then
1680 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1681 elif test -f "$ac_srcdir/configure"; then
1683 $SHELL "$ac_srcdir/configure" --help=recursive
1685 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1687 cd "$ac_pwd" || { ac_status=$?; break; }
1691 test -n "$ac_init_help" && exit $ac_status
1692 if $ac_init_version; then
1695 generated by GNU Autoconf 2.68
1697 Copyright (C) 2010 Free Software Foundation, Inc.
1698 This configure script is free software; the Free Software Foundation
1699 gives unlimited permission to copy, distribute and modify it.
1704 ## ------------------------ ##
1705 ## Autoconf initialization. ##
1706 ## ------------------------ ##
1708 # ac_fn_c_try_compile LINENO
1709 # --------------------------
1710 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1711 ac_fn_c_try_compile ()
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 rm -f conftest.$ac_objext
1715 if { { ac_try="$ac_compile"
1717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1718 *) ac_try_echo
=$ac_try;;
1720 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_compile") 2>conftest.err
1724 if test -s conftest.err
; then
1725 grep -v '^ *+' conftest.err
>conftest.er1
1726 cat conftest.er1
>&5
1727 mv -f conftest.er1 conftest.err
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; } && {
1731 test -z "$ac_c_werror_flag" ||
1732 test ! -s conftest.err
1733 } && test -s conftest.
$ac_objext; then :
1736 $as_echo "$as_me: failed program was:" >&5
1737 sed 's/^/| /' conftest.
$ac_ext >&5
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742 as_fn_set_status
$ac_retval
1744 } # ac_fn_c_try_compile
1746 # ac_fn_cxx_try_compile LINENO
1747 # ----------------------------
1748 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1749 ac_fn_cxx_try_compile
()
1751 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1752 rm -f conftest.
$ac_objext
1753 if { { ac_try
="$ac_compile"
1755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1756 *) ac_try_echo=$ac_try;;
1758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1759 $as_echo "$ac_try_echo"; } >&5
1760 (eval "$ac_compile") 2>conftest.err
1762 if test -s conftest.err; then
1763 grep -v '^ *+' conftest.err >conftest.er1
1764 cat conftest.er1 >&5
1765 mv -f conftest.er1 conftest.err
1767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1768 test $ac_status = 0; } && {
1769 test -z "$ac_cxx_werror_flag" ||
1770 test ! -s conftest.err
1771 } && test -s conftest.$ac_objext; then :
1774 $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.$ac_ext >&5
1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780 as_fn_set_status $ac_retval
1782 } # ac_fn_cxx_try_compile
1784 # ac_fn_c_try_cpp LINENO
1785 # ----------------------
1786 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 if { { ac_try="$ac_cpp conftest.$ac_ext"
1792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1793 *) ac_try_echo
=$ac_try;;
1795 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1799 if test -s conftest.err
; then
1800 grep -v '^ *+' conftest.err
>conftest.er1
1801 cat conftest.er1
>&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } > conftest.i
&& {
1806 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1807 test ! -s conftest.err
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.
$ac_ext >&5
1816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817 as_fn_set_status
$ac_retval
1821 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1822 # -------------------------------------------------------
1823 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1824 # the include files in INCLUDES and setting the cache variable VAR
1826 ac_fn_c_check_header_mongrel
()
1828 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1829 if eval \
${$3+:} false
; then :
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1831 $as_echo_n "checking for $2... " >&6; }
1832 if eval \
${$3+:} false
; then :
1833 $as_echo_n "(cached) " >&6
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837 $as_echo "$ac_res" >&6; }
1839 # Is the header compilable?
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1841 $as_echo_n "checking $2 usability... " >&6; }
1842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1843 /* end confdefs.h. */
1847 if ac_fn_c_try_compile
"$LINENO"; then :
1848 ac_header_compiler
=yes
1850 ac_header_compiler
=no
1852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1854 $as_echo "$ac_header_compiler" >&6; }
1856 # Is the header present?
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1858 $as_echo_n "checking $2 presence... " >&6; }
1859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1860 /* end confdefs.h. */
1863 if ac_fn_c_try_cpp
"$LINENO"; then :
1864 ac_header_preproc
=yes
1866 ac_header_preproc
=no
1868 rm -f conftest.err conftest.i conftest.
$ac_ext
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1870 $as_echo "$ac_header_preproc" >&6; }
1872 # So? What about this header?
1873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1876 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1878 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1882 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1884 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1886 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1888 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1890 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894 $as_echo_n "checking for $2... " >&6; }
1895 if eval \
${$3+:} false
; then :
1896 $as_echo_n "(cached) " >&6
1898 eval "$3=\$ac_header_compiler"
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1902 $as_echo "$ac_res" >&6; }
1904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1906 } # ac_fn_c_check_header_mongrel
1908 # ac_fn_c_try_run LINENO
1909 # ----------------------
1910 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1911 # that executables *can* be run.
1914 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1915 if { { ac_try
="$ac_link"
1917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1918 *) ac_try_echo=$ac_try;;
1920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1921 $as_echo "$ac_try_echo"; } >&5
1922 (eval "$ac_link") 2>&5
1924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1925 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1926 { { case "(($ac_try" in
1927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1928 *) ac_try_echo
=$ac_try;;
1930 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1931 $as_echo "$ac_try_echo"; } >&5
1932 (eval "$ac_try") 2>&5
1934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1935 test $ac_status = 0; }; }; then :
1938 $as_echo "$as_me: program exited with status $ac_status" >&5
1939 $as_echo "$as_me: failed program was:" >&5
1940 sed 's/^/| /' conftest.
$ac_ext >&5
1942 ac_retval
=$ac_status
1944 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1945 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1946 as_fn_set_status
$ac_retval
1950 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1951 # -------------------------------------------------------
1952 # Tests whether HEADER exists and can be compiled using the include files in
1953 # INCLUDES, setting the cache variable VAR accordingly.
1954 ac_fn_c_check_header_compile
()
1956 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1958 $as_echo_n "checking for $2... " >&6; }
1959 if eval \
${$3+:} false
; then :
1960 $as_echo_n "(cached) " >&6
1962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1963 /* end confdefs.h. */
1967 if ac_fn_c_try_compile
"$LINENO"; then :
1972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976 $as_echo "$ac_res" >&6; }
1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1979 } # ac_fn_c_check_header_compile
1981 # ac_fn_c_try_link LINENO
1982 # -----------------------
1983 # Try to link conftest.$ac_ext, and return whether this succeeded.
1986 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1987 rm -f conftest.
$ac_objext conftest
$ac_exeext
1988 if { { ac_try
="$ac_link"
1990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1991 *) ac_try_echo=$ac_try;;
1993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1994 $as_echo "$ac_try_echo"; } >&5
1995 (eval "$ac_link") 2>conftest.err
1997 if test -s conftest.err; then
1998 grep -v '^ *+' conftest.err >conftest.er1
1999 cat conftest.er1 >&5
2000 mv -f conftest.er1 conftest.err
2002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2003 test $ac_status = 0; } && {
2004 test -z "$ac_c_werror_flag" ||
2005 test ! -s conftest.err
2006 } && test -s conftest$ac_exeext && {
2007 test "$cross_compiling" = yes ||
2008 $as_test_x conftest$ac_exeext
2012 $as_echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.$ac_ext >&5
2017 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2018 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2019 # interfere with the next link command; also delete a directory that is
2020 # left behind by Apple's compiler. We do this before executing the actions.
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
2025 } # ac_fn_c_try_link
2027 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2028 # ----------------------------------------------------
2029 # Tries to find if the field MEMBER exists in type AGGR, after including
2030 # INCLUDES, setting cache variable VAR accordingly.
2031 ac_fn_c_check_member ()
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.$3" >&5
2035 $as_echo_n "checking for $2.$3... " >&6; }
2036 if eval \${$4+:} false; then :
2037 $as_echo_n "(cached) " >&6
2039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040 /* end confdefs.h. */
2052 if ac_fn_c_try_compile "$LINENO"; then :
2055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2056 /* end confdefs.h. */
2062 if (sizeof ac_aggr.$3)
2068 if ac_fn_c_try_compile "$LINENO"; then :
2073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2079 $as_echo "$ac_res" >&6; }
2080 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2082 } # ac_fn_c_check_member
2084 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2085 # ---------------------------------------------
2086 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2088 ac_fn_c_check_decl ()
2090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2092 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2094 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2095 if eval \${$3+:} false; then :
2096 $as_echo_n "(cached) " >&6
2098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2099 /* end confdefs.h. */
2104 #ifndef $as_decl_name
2106 (void) $as_decl_use;
2108 (void) $as_decl_name;
2116 if ac_fn_c_try_compile "$LINENO"; then :
2121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2125 $as_echo "$ac_res" >&6; }
2126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2128 } # ac_fn_c_check_decl
2130 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2131 # -------------------------------------------
2132 # Tests whether TYPE exists after having included INCLUDES, setting cache
2133 # variable VAR accordingly.
2134 ac_fn_c_check_type ()
2136 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2138 $as_echo_n "checking for $2... " >&6; }
2139 if eval \${$3+:} false; then :
2140 $as_echo_n "(cached) " >&6
2143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2144 /* end confdefs.h. */
2155 if ac_fn_c_try_compile "$LINENO"; then :
2156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2157 /* end confdefs.h. */
2168 if ac_fn_c_try_compile "$LINENO"; then :
2173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2180 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2182 } # ac_fn_c_check_type
2184 # ac_fn_c_check_func LINENO FUNC VAR
2185 # ----------------------------------
2186 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2187 ac_fn_c_check_func ()
2189 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2191 $as_echo_n "checking for $2... " >&6; }
2192 if eval \${$3+:} false; then :
2193 $as_echo_n "(cached) " >&6
2195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2196 /* end confdefs.h. */
2197 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2199 #define $2 innocuous_$2
2201 /* System header to define __stub macros and hopefully few prototypes,
2202 which can conflict with char $2 (); below.
2203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2204 <limits.h> exists even on freestanding compilers. */
2207 # include <limits.h>
2209 # include <assert.h>
2214 /* Override any GCC internal prototype to avoid an error.
2215 Use char because int might match the return type of a GCC
2216 builtin and then its argument prototype would still apply. */
2221 /* The GNU C library defines this for functions which it implements
2222 to always fail with ENOSYS. Some functions are actually named
2223 something starting with __ and the normal name is an alias. */
2224 #if defined __stub_$2 || defined __stub___$2
2236 if ac_fn_c_try_link "$LINENO"; then :
2241 rm -f core conftest.err conftest.$ac_objext \
2242 conftest$ac_exeext conftest.$ac_ext
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2246 $as_echo "$ac_res" >&6; }
2247 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2249 } # ac_fn_c_check_func
2250 cat >config.log <<_ACEOF
2251 This file contains any messages produced by compilers while
2252 running configure, to aid debugging if configure makes a mistake.
2254 It was created by $as_me, which was
2255 generated by GNU Autoconf 2.68. Invocation command line was
2267 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2268 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2269 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2270 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2271 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2273 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2274 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2276 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2277 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2278 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2279 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2280 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2281 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2282 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290 test -z "$as_dir" && as_dir=.
2291 $as_echo "PATH: $as_dir"
2307 # Keep a trace of the command line.
2308 # Strip out --no-create and --no-recursion so they do not pile up.
2309 # Strip out --silent because we don't want to record it for future runs.
2310 # Also quote any args containing shell meta-characters.
2311 # Make two passes to allow for proper duplicate-argument suppression.
2315 ac_must_keep_next=false
2321 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2323 | -silent | --silent | --silen | --sile | --sil)
2326 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2329 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2331 as_fn_append ac_configure_args1 " '$ac_arg'"
2332 if test $ac_must_keep_next = true; then
2333 ac_must_keep_next=false # Got value, back to normal.
2336 *=* | --config-cache | -C | -disable-* | --disable-* \
2337 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2338 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2339 | -with-* | --with-* | -without-* | --without-* | --x)
2340 case "$ac_configure_args0 " in
2341 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2344 -* ) ac_must_keep_next=true ;;
2347 as_fn_append ac_configure_args " '$ac_arg'"
2352 { ac_configure_args0=; unset ac_configure_args0;}
2353 { ac_configure_args1=; unset ac_configure_args1;}
2355 # When interrupted or exit'd, cleanup temporary files, and complete
2356 # config.log. We remove comments because anyway the quotes in there
2357 # would cause problems or look ugly.
2358 # WARNING: Use '\'' to represent an apostrophe within the trap.
2359 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2360 trap 'exit_status=$?
2361 # Save into config.log some information that might help in debugging.
2365 $as_echo "## ---------------- ##
2366 ## Cache variables. ##
2367 ## ---------------- ##"
2369 # The following way of writing the cache mishandles newlines in values,
2371 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2372 eval ac_val=\$$ac_var
2376 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2377 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2380 _ | IFS | as_nl) ;; #(
2381 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2382 *) { eval $ac_var=; unset $ac_var;} ;;
2387 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2388 *${as_nl}ac_space=\ *)
2390 "s/'\''/'\''\\\\'\'''\''/g;
2391 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2394 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2401 $as_echo "## ----------------- ##
2402 ## Output variables. ##
2403 ## ----------------- ##"
2405 for ac_var in $ac_subst_vars
2407 eval ac_val=\$$ac_var
2409 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2411 $as_echo "$ac_var='\''$ac_val'\''"
2415 if test -n "$ac_subst_files"; then
2416 $as_echo "## ------------------- ##
2417 ## File substitutions. ##
2418 ## ------------------- ##"
2420 for ac_var in $ac_subst_files
2422 eval ac_val=\$$ac_var
2424 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2426 $as_echo "$ac_var='\''$ac_val'\''"
2431 if test -s confdefs.h; then
2432 $as_echo "## ----------- ##
2439 test "$ac_signal" != 0 &&
2440 $as_echo "$as_me: caught signal $ac_signal"
2441 $as_echo "$as_me: exit $exit_status"
2443 rm -f core *.core core.conftest.* &&
2444 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2447 for ac_signal in 1 2 13 15; do
2448 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2452 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2453 rm -f -r conftest* confdefs.h
2455 $as_echo "/* confdefs.h */" > confdefs.h
2457 # Predefined preprocessor variables.
2459 cat >>confdefs.h <<_ACEOF
2460 #define PACKAGE_NAME "$PACKAGE_NAME"
2463 cat >>confdefs.h <<_ACEOF
2464 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2467 cat >>confdefs.h <<_ACEOF
2468 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2471 cat >>confdefs.h <<_ACEOF
2472 #define PACKAGE_STRING "$PACKAGE_STRING"
2475 cat >>confdefs.h <<_ACEOF
2476 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2479 cat >>confdefs.h <<_ACEOF
2480 #define PACKAGE_URL "$PACKAGE_URL"
2484 # Let the site file select an alternate cache file if it wants to.
2485 # Prefer an explicitly selected file to automatically selected ones.
2488 if test -n "$CONFIG_SITE"; then
2489 # We do not want a PATH search for config.site.
2490 case $CONFIG_SITE in #((
2491 -*) ac_site_file1=./$CONFIG_SITE;;
2492 */*) ac_site_file1=$CONFIG_SITE;;
2493 *) ac_site_file1=./$CONFIG_SITE;;
2495 elif test "x$prefix" != xNONE; then
2496 ac_site_file1=$prefix/share/config.site
2497 ac_site_file2=$prefix/etc/config.site
2499 ac_site_file1=$ac_default_prefix/share/config.site
2500 ac_site_file2=$ac_default_prefix/etc/config.site
2502 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2504 test "x$ac_site_file" = xNONE && continue
2505 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2507 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2508 sed 's/^/| /' "$ac_site_file" >&5
2510 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2512 as_fn_error $? "failed to load site
script $ac_site_file
2513 See \
`config.log' for more details" "$LINENO" 5; }
2517 if test -r "$cache_file"; then
2518 # Some versions of bash will fail to source /dev/null (special files
2519 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2520 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2522 $as_echo "$as_me: loading cache $cache_file" >&6;}
2524 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2525 *) . "./$cache_file";;
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2530 $as_echo "$as_me: creating cache $cache_file" >&6;}
2534 as_fn_append ac_header_list " stdlib.h"
2535 as_fn_append ac_header_list " unistd.h"
2536 as_fn_append ac_header_list " sys/param.h"
2537 # Check that the precious variables saved in the cache have kept the same
2539 ac_cache_corrupted=false
2540 for ac_var in $ac_precious_vars; do
2541 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2542 eval ac_new_set=\$ac_env_${ac_var}_set
2543 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2544 eval ac_new_val=\$ac_env_${ac_var}_value
2545 case $ac_old_set,$ac_new_set in
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2548 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2549 ac_cache_corrupted=: ;;
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2552 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2553 ac_cache_corrupted=: ;;
2556 if test "x$ac_old_val" != "x$ac_new_val"; then
2557 # differences in whitespace do not lead to failure.
2558 ac_old_val_w=`echo x
$ac_old_val`
2559 ac_new_val_w=`echo x
$ac_new_val`
2560 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2562 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2563 ac_cache_corrupted=:
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2566 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2567 eval $ac_var=\$ac_old_val
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2570 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2572 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2575 # Pass precious variables to config.status.
2576 if test "$ac_new_set" = set; then
2578 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2579 *) ac_arg=$ac_var=$ac_new_val ;;
2581 case " $ac_configure_args " in
2582 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2583 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2587 if $ac_cache_corrupted; then
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2591 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2592 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2594 ## -------------------- ##
2595 ## Main body of script. ##
2596 ## -------------------- ##
2599 ac_cpp='$CPP $CPPFLAGS'
2600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2607 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2608 if test -f "$ac_dir/install-sh"; then
2610 ac_install_sh="$ac_aux_dir/install-sh -c"
2612 elif test -f "$ac_dir/install.sh"; then
2614 ac_install_sh="$ac_aux_dir/install.sh -c"
2616 elif test -f "$ac_dir/shtool"; then
2618 ac_install_sh="$ac_aux_dir/shtool install -c"
2622 if test -z "$ac_aux_dir"; then
2623 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2626 # These three variables are undocumented and unsupported,
2627 # and are intended to be withdrawn in a future Autoconf release.
2628 # They can cause serious problems if a builder's source tree is in a directory
2629 # whose full name contains unusual characters.
2630 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2631 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2632 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2636 # Check what host we are running on.
2637 # If a target is not suggested, we use this one.
2638 # Note that what we call a target, Autoconf calls a host.
2639 # Make sure we can run config.sub.
2640 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2641 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2644 $as_echo_n "checking build system type... " >&6; }
2645 if ${ac_cv_build+:} false; then :
2646 $as_echo_n "(cached) " >&6
2648 ac_build_alias=$build_alias
2649 test "x$ac_build_alias" = x &&
2650 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2651 test "x$ac_build_alias" = x &&
2652 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2653 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2654 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2658 $as_echo "$ac_cv_build" >&6; }
2659 case $ac_cv_build in
2661 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2664 ac_save_IFS=$IFS; IFS='-'
2670 # Remember, the first character of IFS is used to create $*,
2671 # except with old shells:
2674 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2678 $as_echo_n "checking host system type... " >&6; }
2679 if ${ac_cv_host+:} false; then :
2680 $as_echo_n "(cached) " >&6
2682 if test "x$host_alias" = x; then
2683 ac_cv_host=$ac_cv_build
2685 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2686 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2691 $as_echo "$ac_cv_host" >&6; }
2694 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2697 ac_save_IFS=$IFS; IFS='-'
2703 # Remember, the first character of IFS is used to create $*,
2704 # except with old shells:
2707 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2711 # The AROS target is slightly different to the normal GNU style
2712 # format. We don't have the middle part, and we reverse the order
2713 # of the $(CPU) and $(OS) bits.
2715 # Don't strip the version of the target yet, it might be
2716 # useful on some systems.
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2719 $as_echo_n "checking for AROS style target... " >&6; }
2721 if test "$target" = "NONE" ; then
2722 target=$host_os-$host_cpu
2724 if test "$target" = "" ; then
2725 target=$host_os-$host_cpu
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2729 $as_echo "$target" >&6; }
2731 if test "$host_os" = "mingw32" ; then
2735 # Don't know where else to put this...
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2737 $as_echo_n "checking building AROS in... " >&6; }
2738 AROS_BUILDDIR=`${PWDCMD-pwd}`
2739 AROS_BUILDDIR_UNIX=${PWD}
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2741 $as_echo "$AROS_BUILDDIR" >&6; }
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2744 $as_echo_n "checking AROS source in... " >&6; }
2745 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2748 $as_echo "$SRCDIR" >&6; }
2750 # Parse the target field into something useful.
2752 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2753 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2756 # Some debug output, to be removed again.
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2758 $as_echo_n "checking for target system (debug output)... " >&6; }
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2760 $as_echo "$target_os" >&6; }
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2762 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2764 $as_echo "$target_cpu" >&6; }
2766 aros_default_wbwidth=800
2767 aros_default_wbheight=600
2768 aros_default_wbdepth=4
2771 # The first step is to find the host binaries.
2772 # Check for a compiler.
2774 ac_cpp='$CPP $CPPFLAGS'
2775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2778 if test -n "$ac_tool_prefix"; then
2779 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2780 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2782 $as_echo_n "checking for $ac_word... " >&6; }
2783 if ${ac_cv_prog_CC+:} false; then :
2784 $as_echo_n "(cached) " >&6
2786 if test -n "$CC"; then
2787 ac_cv_prog_CC="$CC" # Let the user override the test.
2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir=.
2794 for ac_exec_ext in '' $ac_executable_extensions; do
2795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2796 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 if test -n "$CC"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2809 $as_echo "$CC" >&6; }
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2812 $as_echo "no" >&6; }
2817 if test -z "$ac_cv_prog_CC"; then
2819 # Extract the first word of "gcc", so it can be a program name with args.
2820 set dummy gcc; ac_word=$2
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2822 $as_echo_n "checking for $ac_word... " >&6; }
2823 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2824 $as_echo_n "(cached) " >&6
2826 if test -n "$ac_ct_CC"; then
2827 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833 test -z "$as_dir" && as_dir=.
2834 for ac_exec_ext in '' $ac_executable_extensions; do
2835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2836 ac_cv_prog_ac_ct_CC="gcc"
2837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2846 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2847 if test -n "$ac_ct_CC"; then
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2849 $as_echo "$ac_ct_CC" >&6; }
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2852 $as_echo "no" >&6; }
2855 if test "x$ac_ct_CC" = x; then
2858 case $cross_compiling:$ac_tool_warned in
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2862 ac_tool_warned=yes ;;
2870 if test -z "$CC"; then
2871 if test -n "$ac_tool_prefix"; then
2872 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2873 set dummy ${ac_tool_prefix}cc; ac_word=$2
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2875 $as_echo_n "checking for $ac_word... " >&6; }
2876 if ${ac_cv_prog_CC+:} false; then :
2877 $as_echo_n "(cached) " >&6
2879 if test -n "$CC"; then
2880 ac_cv_prog_CC="$CC" # Let the user override the test.
2882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2886 test -z "$as_dir" && as_dir=.
2887 for ac_exec_ext in '' $ac_executable_extensions; do
2888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2889 ac_cv_prog_CC="${ac_tool_prefix}cc"
2890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 if test -n "$CC"; then
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2902 $as_echo "$CC" >&6; }
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2905 $as_echo "no" >&6; }
2911 if test -z "$CC"; then
2912 # Extract the first word of "cc", so it can be a program name with args.
2913 set dummy cc; ac_word=$2
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2915 $as_echo_n "checking for $ac_word... " >&6; }
2916 if ${ac_cv_prog_CC+:} false; then :
2917 $as_echo_n "(cached) " >&6
2919 if test -n "$CC"; then
2920 ac_cv_prog_CC="$CC" # Let the user override the test.
2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2927 test -z "$as_dir" && as_dir=.
2928 for ac_exec_ext in '' $ac_executable_extensions; do
2929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2930 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2931 ac_prog_rejected=yes
2935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2942 if test $ac_prog_rejected = yes; then
2943 # We found a bogon in the path, so make sure we never use it.
2944 set dummy $ac_cv_prog_CC
2946 if test $# != 0; then
2947 # We chose a different compiler from the bogus one.
2948 # However, it has the same basename, so the bogon will be chosen
2949 # first if we set CC to just the basename; use the full file name.
2951 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2957 if test -n "$CC"; then
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2959 $as_echo "$CC" >&6; }
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2962 $as_echo "no" >&6; }
2967 if test -z "$CC"; then
2968 if test -n "$ac_tool_prefix"; then
2969 for ac_prog in cl.exe
2971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2972 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2974 $as_echo_n "checking for $ac_word... " >&6; }
2975 if ${ac_cv_prog_CC+:} false; then :
2976 $as_echo_n "(cached) " >&6
2978 if test -n "$CC"; then
2979 ac_cv_prog_CC="$CC" # Let the user override the test.
2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2985 test -z "$as_dir" && as_dir=.
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2988 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2999 if test -n "$CC"; then
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3001 $as_echo "$CC" >&6; }
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3004 $as_echo "no" >&6; }
3008 test -n "$CC" && break
3011 if test -z "$CC"; then
3013 for ac_prog in cl.exe
3015 # Extract the first word of "$ac_prog", so it can be a program name with args.
3016 set dummy $ac_prog; ac_word=$2
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3018 $as_echo_n "checking for $ac_word... " >&6; }
3019 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3020 $as_echo_n "(cached) " >&6
3022 if test -n "$ac_ct_CC"; then
3023 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3029 test -z "$as_dir" && as_dir=.
3030 for ac_exec_ext in '' $ac_executable_extensions; do
3031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3032 ac_cv_prog_ac_ct_CC="$ac_prog"
3033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3042 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3043 if test -n "$ac_ct_CC"; then
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3045 $as_echo "$ac_ct_CC" >&6; }
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3048 $as_echo "no" >&6; }
3052 test -n "$ac_ct_CC" && break
3055 if test "x$ac_ct_CC" = x; then
3058 case $cross_compiling:$ac_tool_warned in
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3062 ac_tool_warned=yes ;;
3071 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3073 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3074 See \
`config.log' for more details" "$LINENO" 5; }
3076 # Provide some information about the compiler.
3077 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3080 for ac_option in --version -v -V -qversion; do
3081 { { ac_try="$ac_compiler $ac_option >&5"
3083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3084 *) ac_try_echo
=$ac_try;;
3086 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3087 $as_echo "$ac_try_echo"; } >&5
3088 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3090 if test -s conftest.err
; then
3092 ... rest of stderr output deleted ...
3093 10q' conftest.err
>conftest.er1
3094 cat conftest.er1
>&5
3096 rm -f conftest.er1 conftest.err
3097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3098 test $ac_status = 0; }
3101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3112 ac_clean_files_save
=$ac_clean_files
3113 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3114 # Try to create an executable without -o first, disregard a.out.
3115 # It will help us diagnose broken compilers, and finding out an intuition
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3118 $as_echo_n "checking whether the C compiler works... " >&6; }
3119 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3121 # The possible output files:
3122 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3125 for ac_file
in $ac_files
3128 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3129 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3134 if { { ac_try
="$ac_link_default"
3136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3140 $as_echo "$ac_try_echo"; } >&5
3141 (eval "$ac_link_default") 2>&5
3143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3144 test $ac_status = 0; }; then :
3145 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3146 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3147 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3148 # so that the user can short-circuit this test for compilers unknown to
3150 for ac_file in $ac_files ''
3152 test -f "$ac_file" || continue
3154 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3157 # We found the default executable, but exeext='' is most
3161 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3163 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3165 # We set ac_cv_exeext here because the later test for it is not
3166 # safe: cross compilers may not add the suffix if given an `-o'
3167 # argument, so we may need to know it at that point already.
3168 # Even if this section looks crufty: it has the advantage of
3175 test "$ac_cv_exeext" = no && ac_cv_exeext=
3180 if test -z "$ac_file"; then :
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3182 $as_echo "no" >&6; }
3183 $as_echo "$as_me: failed program was:" >&5
3184 sed 's
/^
/|
/' conftest.$ac_ext >&5
3186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3187 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3188 as_fn_error 77 "C compiler cannot create executables
3189 See \`config.log
' for more details" "$LINENO" 5; }
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3192 $as_echo "yes" >&6; }
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3195 $as_echo_n "checking for C compiler default output file name... " >&6; }
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3197 $as_echo "$ac_file" >&6; }
3198 ac_exeext=$ac_cv_exeext
3200 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3201 ac_clean_files=$ac_clean_files_save
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3203 $as_echo_n "checking for suffix of executables... " >&6; }
3204 if { { ac_try="$ac_link"
3206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3207 *) ac_try_echo=$ac_try;;
3209 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3210 $as_echo "$ac_try_echo"; } >&5
3211 (eval "$ac_link") 2>&5
3213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3214 test $ac_status = 0; }; then :
3215 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3216 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3217 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3219 for ac_file
in conftest.exe conftest conftest.
*; do
3220 test -f "$ac_file" ||
continue
3222 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3223 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3231 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3232 See \`config.log' for more details" "$LINENO" 5; }
3234 rm -f conftest conftest
$ac_cv_exeext
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3236 $as_echo "$ac_cv_exeext" >&6; }
3238 rm -f conftest.
$ac_ext
3239 EXEEXT
=$ac_cv_exeext
3241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3242 /* end confdefs.h. */
3247 FILE *f = fopen ("conftest.out", "w");
3248 return ferror (f) || fclose (f) != 0;
3254 ac_clean_files
="$ac_clean_files conftest.out"
3255 # Check that the compiler produces executables we can run. If not, either
3256 # the compiler is broken, or we cross compile.
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3258 $as_echo_n "checking whether we are cross compiling... " >&6; }
3259 if test "$cross_compiling" != yes; then
3260 { { ac_try
="$ac_link"
3262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3263 *) ac_try_echo=$ac_try;;
3265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3266 $as_echo "$ac_try_echo"; } >&5
3267 (eval "$ac_link") 2>&5
3269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3270 test $ac_status = 0; }
3271 if { ac_try='./conftest$ac_cv_exeext'
3272 { { case "(($ac_try" in
3273 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3274 *) ac_try_echo
=$ac_try;;
3276 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3277 $as_echo "$ac_try_echo"; } >&5
3278 (eval "$ac_try") 2>&5
3280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3281 test $ac_status = 0; }; }; then
3284 if test "$cross_compiling" = maybe
; then
3287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3289 as_fn_error $?
"cannot run C compiled programs.
3290 If you meant to cross compile, use \`--host'.
3291 See \`config.log' for more details" "$LINENO" 5; }
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3296 $as_echo "$cross_compiling" >&6; }
3298 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3299 ac_clean_files
=$ac_clean_files_save
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3301 $as_echo_n "checking for suffix of object files... " >&6; }
3302 if ${ac_cv_objext+:} false
; then :
3303 $as_echo_n "(cached) " >&6
3305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3316 rm -f conftest.o conftest.obj
3317 if { { ac_try
="$ac_compile"
3319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3320 *) ac_try_echo=$ac_try;;
3322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3323 $as_echo "$ac_try_echo"; } >&5
3324 (eval "$ac_compile") 2>&5
3326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3327 test $ac_status = 0; }; then :
3328 for ac_file in conftest.o conftest.obj conftest.*; do
3329 test -f "$ac_file" || continue;
3331 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3332 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3337 $as_echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.$ac_ext >&5
3340 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3342 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3343 See \
`config.log' for more details" "$LINENO" 5; }
3345 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3348 $as_echo "$ac_cv_objext" >&6; }
3349 OBJEXT=$ac_cv_objext
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3352 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3353 if ${ac_cv_c_compiler_gnu+:} false; then :
3354 $as_echo_n "(cached) " >&6
3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3370 if ac_fn_c_try_compile "$LINENO"; then :
3375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3376 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3380 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3381 if test $ac_compiler_gnu = yes; then
3386 ac_test_CFLAGS=${CFLAGS+set}
3387 ac_save_CFLAGS=$CFLAGS
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3389 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3390 if ${ac_cv_prog_cc_g+:} false; then :
3391 $as_echo_n "(cached) " >&6
3393 ac_save_c_werror_flag=$ac_c_werror_flag
3394 ac_c_werror_flag=yes
3397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3408 if ac_fn_c_try_compile "$LINENO"; then :
3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3423 if ac_fn_c_try_compile "$LINENO"; then :
3426 ac_c_werror_flag=$ac_save_c_werror_flag
3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3439 if ac_fn_c_try_compile "$LINENO"; then :
3442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3447 ac_c_werror_flag=$ac_save_c_werror_flag
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3450 $as_echo "$ac_cv_prog_cc_g" >&6; }
3451 if test "$ac_test_CFLAGS" = set; then
3452 CFLAGS=$ac_save_CFLAGS
3453 elif test $ac_cv_prog_cc_g = yes; then
3454 if test "$GCC" = yes; then
3460 if test "$GCC" = yes; then
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3467 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3468 if ${ac_cv_prog_cc_c89+:} false; then :
3469 $as_echo_n "(cached) " >&6
3471 ac_cv_prog_cc_c89=no
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h. */
3477 #include <sys/types.h>
3478 #include <sys/stat.h>
3479 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3480 struct buf { int x; };
3481 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3482 static char *e (p, i)
3488 static char *f (char * (*g) (char **, int), char **p, ...)
3493 s = g (p, va_arg (v,int));
3498 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3499 function prototypes and stuff, but not '\xHH' hex character constants.
3500 These don't provoke an error unfortunately, instead are silently treated
3501 as 'x'. The following induces an error, until -std is added to get
3502 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3503 array size at least. It's necessary to write '\x00'==0 to get something
3504 that's true only with -std. */
3505 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3507 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3508 inside strings and character constants. */
3510 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3512 int test (int i, double x);
3513 struct s1 {int (*f) (int a);};
3514 struct s2 {int (*f) (double a);};
3515 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3521 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3526 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3527 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3529 CC="$ac_save_CC $ac_arg"
3530 if ac_fn_c_try_compile "$LINENO"; then :
3531 ac_cv_prog_cc_c89=$ac_arg
3533 rm -f core conftest.err conftest.$ac_objext
3534 test "x$ac_cv_prog_cc_c89" != "xno" && break
3536 rm -f conftest.$ac_ext
3541 case "x$ac_cv_prog_cc_c89" in
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3544 $as_echo "none needed" >&6; } ;;
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3547 $as_echo "unsupported" >&6; } ;;
3549 CC="$CC $ac_cv_prog_cc_c89"
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3551 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3553 if test "x$ac_cv_prog_cc_c89" != xno; then :
3558 ac_cpp='$CPP $CPPFLAGS'
3559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 case $ac_cv_prog_cc_stdc in #(
3565 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3568 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3569 if ${ac_cv_prog_cc_c99+:} false; then :
3570 $as_echo_n "(cached) " >&6
3572 ac_cv_prog_cc_c99=no
3574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3575 /* end confdefs.h. */
3577 #include <stdbool.h>
3582 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3583 #define debug(...) fprintf (stderr, __VA_ARGS__)
3584 #define showlist(...) puts (#__VA_ARGS__)
3585 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3587 test_varargs_macros (void)
3592 debug ("X = %d\n", x);
3593 showlist (The first, second, and third items.);
3594 report (x>y, "x is %d but y is %d", x, y);
3597 // Check long long types.
3598 #define BIG64 18446744073709551615ull
3599 #define BIG32 4294967295ul
3600 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3602 your preprocessor is broken;
3606 your preprocessor is broken;
3608 static long long int bignum = -9223372036854775807LL;
3609 static unsigned long long int ubignum = BIG64;
3611 struct incomplete_array
3619 const wchar_t *name;
3623 typedef const char *ccp;
3626 test_restrict (ccp restrict text)
3628 // See if C++-style comments work.
3629 // Iterate through items via the restricted pointer.
3630 // Also check for declarations in for loops.
3631 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3636 // Check varargs and va_copy.
3638 test_varargs (const char *format, ...)
3641 va_start (args, format);
3643 va_copy (args_copy, args);
3654 str = va_arg (args_copy, const char *);
3657 number = va_arg (args_copy, int);
3660 fnumber = va_arg (args_copy, double);
3675 _Bool success = false;
3678 if (test_restrict ("String literal") == 0)
3680 char *restrict newvar = "Another string";
3683 test_varargs ("s, d' f .", "string", 65, 34.234);
3684 test_varargs_macros ();
3686 // Check flexible array members.
3687 struct incomplete_array *ia =
3688 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3690 for (int i = 0; i < ia->datasize; ++i)
3691 ia->data[i] = i * 1.234;
3693 // Check named initializers.
3694 struct named_init ni = {
3696 .name = L"Test wide string",
3697 .average = 543.34343,
3702 int dynamic_array[ni.number];
3703 dynamic_array[ni.number - 1] = 543;
3705 // work around unused variable warnings
3706 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3707 || dynamic_array[ni.number - 1] != 543);
3713 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3715 CC="$ac_save_CC $ac_arg"
3716 if ac_fn_c_try_compile "$LINENO"; then :
3717 ac_cv_prog_cc_c99=$ac_arg
3719 rm -f core conftest.err conftest.$ac_objext
3720 test "x$ac_cv_prog_cc_c99" != "xno" && break
3722 rm -f conftest.$ac_ext
3727 case "x$ac_cv_prog_cc_c99" in
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3730 $as_echo "none needed" >&6; } ;;
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3733 $as_echo "unsupported" >&6; } ;;
3735 CC="$CC $ac_cv_prog_cc_c99"
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3737 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3739 if test "x$ac_cv_prog_cc_c99" != xno; then :
3740 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3743 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3744 if ${ac_cv_prog_cc_c89+:} false; then :
3745 $as_echo_n "(cached) " >&6
3747 ac_cv_prog_cc_c89=no
3749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h. */
3753 #include <sys/types.h>
3754 #include <sys/stat.h>
3755 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3756 struct buf { int x; };
3757 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3758 static char *e (p, i)
3764 static char *f (char * (*g) (char **, int), char **p, ...)
3769 s = g (p, va_arg (v,int));
3774 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3775 function prototypes and stuff, but not '\xHH' hex character constants.
3776 These don't provoke an error unfortunately, instead are silently treated
3777 as 'x'. The following induces an error, until -std is added to get
3778 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3779 array size at least. It's necessary to write '\x00'==0 to get something
3780 that's true only with -std. */
3781 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3783 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3784 inside strings and character constants. */
3786 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3788 int test (int i, double x);
3789 struct s1 {int (*f) (int a);};
3790 struct s2 {int (*f) (double a);};
3791 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3797 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3802 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3803 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3805 CC="$ac_save_CC $ac_arg"
3806 if ac_fn_c_try_compile "$LINENO"; then :
3807 ac_cv_prog_cc_c89=$ac_arg
3809 rm -f core conftest.err conftest.$ac_objext
3810 test "x$ac_cv_prog_cc_c89" != "xno" && break
3812 rm -f conftest.$ac_ext
3817 case "x$ac_cv_prog_cc_c89" in
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3820 $as_echo "none needed" >&6; } ;;
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3823 $as_echo "unsupported" >&6; } ;;
3825 CC="$CC $ac_cv_prog_cc_c89"
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3827 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3829 if test "x$ac_cv_prog_cc_c89" != xno; then :
3830 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3832 ac_cv_prog_cc_stdc=no
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3839 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3840 if ${ac_cv_prog_cc_stdc+:} false; then :
3841 $as_echo_n "(cached) " >&6
3844 case $ac_cv_prog_cc_stdc in #(
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3847 $as_echo "unsupported" >&6; } ;; #(
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3850 $as_echo "none needed" >&6; } ;; #(
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3853 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3857 ac_cpp='$CXXCPP $CPPFLAGS'
3858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3861 if test -z "$CXX"; then
3862 if test -n "$CCC"; then
3865 if test -n "$ac_tool_prefix"; then
3866 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3868 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3869 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3871 $as_echo_n "checking for $ac_word... " >&6; }
3872 if ${ac_cv_prog_CXX+:} false; then :
3873 $as_echo_n "(cached) " >&6
3875 if test -n "$CXX"; then
3876 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 test -z "$as_dir" && as_dir=.
3883 for ac_exec_ext in '' $ac_executable_extensions; do
3884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3885 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3896 if test -n "$CXX"; then
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3898 $as_echo "$CXX" >&6; }
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3901 $as_echo "no" >&6; }
3905 test -n "$CXX" && break
3908 if test -z "$CXX"; then
3910 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3912 # Extract the first word of "$ac_prog", so it can be a program name with args.
3913 set dummy $ac_prog; ac_word=$2
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3915 $as_echo_n "checking for $ac_word... " >&6; }
3916 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3917 $as_echo_n "(cached) " >&6
3919 if test -n "$ac_ct_CXX"; then
3920 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3926 test -z "$as_dir" && as_dir=.
3927 for ac_exec_ext in '' $ac_executable_extensions; do
3928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3929 ac_cv_prog_ac_ct_CXX="$ac_prog"
3930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3939 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3940 if test -n "$ac_ct_CXX"; then
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3942 $as_echo "$ac_ct_CXX" >&6; }
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3945 $as_echo "no" >&6; }
3949 test -n "$ac_ct_CXX" && break
3952 if test "x$ac_ct_CXX" = x; then
3955 case $cross_compiling:$ac_tool_warned in
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3959 ac_tool_warned=yes ;;
3967 # Provide some information about the compiler.
3968 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3971 for ac_option in --version -v -V -qversion; do
3972 { { ac_try="$ac_compiler $ac_option >&5"
3974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3975 *) ac_try_echo
=$ac_try;;
3977 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3978 $as_echo "$ac_try_echo"; } >&5
3979 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3981 if test -s conftest.err
; then
3983 ... rest of stderr output deleted ...
3984 10q' conftest.err
>conftest.er1
3985 cat conftest.er1
>&5
3987 rm -f conftest.er1 conftest.err
3988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3989 test $ac_status = 0; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3993 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3994 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3995 $as_echo_n "(cached) " >&6
3997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3998 /* end confdefs.h. */
4011 if ac_fn_cxx_try_compile
"$LINENO"; then :
4016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4017 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4021 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4022 if test $ac_compiler_gnu = yes; then
4027 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4028 ac_save_CXXFLAGS
=$CXXFLAGS
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4030 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4031 if ${ac_cv_prog_cxx_g+:} false
; then :
4032 $as_echo_n "(cached) " >&6
4034 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4035 ac_cxx_werror_flag
=yes
4038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4039 /* end confdefs.h. */
4049 if ac_fn_cxx_try_compile
"$LINENO"; then :
4050 ac_cv_prog_cxx_g
=yes
4053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4054 /* end confdefs.h. */
4064 if ac_fn_cxx_try_compile
"$LINENO"; then :
4067 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */
4080 if ac_fn_cxx_try_compile
"$LINENO"; then :
4081 ac_cv_prog_cxx_g
=yes
4083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4088 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4091 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4092 if test "$ac_test_CXXFLAGS" = set; then
4093 CXXFLAGS
=$ac_save_CXXFLAGS
4094 elif test $ac_cv_prog_cxx_g = yes; then
4095 if test "$GXX" = yes; then
4101 if test "$GXX" = yes; then
4108 ac_cpp
='$CPP $CPPFLAGS'
4109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4114 ac_cpp
='$CPP $CPPFLAGS'
4115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4119 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4120 # On Suns, sometimes $CPP names a directory.
4121 if test -n "$CPP" && test -d "$CPP"; then
4124 if test -z "$CPP"; then
4125 if ${ac_cv_prog_CPP+:} false
; then :
4126 $as_echo_n "(cached) " >&6
4128 # Double quotes because CPP needs to be expanded
4129 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4132 for ac_c_preproc_warn_flag
in '' yes
4134 # Use a header file that comes with gcc, so configuring glibc
4135 # with a fresh cross-compiler works.
4136 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4137 # <limits.h> exists even on freestanding compilers.
4138 # On the NeXT, cc -E runs the code through the compiler's parser,
4139 # not just through cpp. "Syntax error" is here to catch this case.
4140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4141 /* end confdefs.h. */
4143 # include <limits.h>
4145 # include <assert.h>
4149 if ac_fn_c_try_cpp
"$LINENO"; then :
4152 # Broken: fails on valid input.
4155 rm -f conftest.err conftest.i conftest.
$ac_ext
4157 # OK, works on sane cases. Now check whether nonexistent headers
4158 # can be detected and how.
4159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h. */
4161 #include <ac_nonexistent.h>
4163 if ac_fn_c_try_cpp
"$LINENO"; then :
4164 # Broken: success on invalid input.
4167 # Passes both tests.
4171 rm -f conftest.err conftest.i conftest.
$ac_ext
4174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4175 rm -f conftest.i conftest.err conftest.
$ac_ext
4176 if $ac_preproc_ok; then :
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4189 $as_echo "$CPP" >&6; }
4191 for ac_c_preproc_warn_flag
in '' yes
4193 # Use a header file that comes with gcc, so configuring glibc
4194 # with a fresh cross-compiler works.
4195 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4196 # <limits.h> exists even on freestanding compilers.
4197 # On the NeXT, cc -E runs the code through the compiler's parser,
4198 # not just through cpp. "Syntax error" is here to catch this case.
4199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4202 # include <limits.h>
4204 # include <assert.h>
4208 if ac_fn_c_try_cpp
"$LINENO"; then :
4211 # Broken: fails on valid input.
4214 rm -f conftest.err conftest.i conftest.
$ac_ext
4216 # OK, works on sane cases. Now check whether nonexistent headers
4217 # can be detected and how.
4218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4220 #include <ac_nonexistent.h>
4222 if ac_fn_c_try_cpp
"$LINENO"; then :
4223 # Broken: success on invalid input.
4226 # Passes both tests.
4230 rm -f conftest.err conftest.i conftest.
$ac_ext
4233 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4234 rm -f conftest.i conftest.err conftest.
$ac_ext
4235 if $ac_preproc_ok; then :
4238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4240 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4241 See \`config.log' for more details" "$LINENO" 5; }
4245 ac_cpp
='$CPP $CPPFLAGS'
4246 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4247 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4248 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4251 # Check for a compatible awk
4252 for ac_prog
in gawk nawk
4254 # Extract the first word of "$ac_prog", so it can be a program name with args.
4255 set dummy
$ac_prog; ac_word
=$2
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4257 $as_echo_n "checking for $ac_word... " >&6; }
4258 if ${ac_cv_prog_AWK+:} false
; then :
4259 $as_echo_n "(cached) " >&6
4261 if test -n "$AWK"; then
4262 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4268 test -z "$as_dir" && as_dir
=.
4269 for ac_exec_ext
in '' $ac_executable_extensions; do
4270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4271 ac_cv_prog_AWK
="$ac_prog"
4272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4282 if test -n "$AWK"; then
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4284 $as_echo "$AWK" >&6; }
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4287 $as_echo "no" >&6; }
4291 test -n "$AWK" && break
4294 if test "$AWK" = ""; then
4295 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4297 # Extract the first word of "mmake", so it can be a program name with args.
4298 set dummy mmake
; ac_word
=$2
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4300 $as_echo_n "checking for $ac_word... " >&6; }
4301 if ${ac_cv_prog_MMAKE+:} false
; then :
4302 $as_echo_n "(cached) " >&6
4304 if test -n "$MMAKE"; then
4305 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4311 test -z "$as_dir" && as_dir
=.
4312 for ac_exec_ext
in '' $ac_executable_extensions; do
4313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4314 ac_cv_prog_MMAKE
="mmake "
4315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4324 MMAKE
=$ac_cv_prog_MMAKE
4325 if test -n "$MMAKE"; then
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4327 $as_echo "$MMAKE" >&6; }
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4330 $as_echo "no" >&6; }
4335 # Perform some default variable assignments. Note all of these will be
4336 # Regenerated from the script, so there is no need to cache them.
4338 aros_host_cpp
="$CPP"
4340 aros_host_cxx
="$CXX"
4341 if test "$GCC" = "yes"; then
4342 aros_gcc_ld
=`$CC -print-prog-name=ld`
4343 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4344 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4346 $as_echo_n "checking for $ac_word... " >&6; }
4347 if ${ac_cv_path_aros_host_ld+:} false
; then :
4348 $as_echo_n "(cached) " >&6
4350 case $aros_host_ld in
4352 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4356 for as_dir
in `dirname $aros_gcc_ld`
4359 test -z "$as_dir" && as_dir
=.
4360 for ac_exec_ext
in '' $ac_executable_extensions; do
4361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4362 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4373 aros_host_ld
=$ac_cv_path_aros_host_ld
4374 if test -n "$aros_host_ld"; then
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4376 $as_echo "$aros_host_ld" >&6; }
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4379 $as_echo "no" >&6; }
4384 if test "$aros_host_ld" = ""; then
4385 # Extract the first word of "ld", so it can be a program name with args.
4386 set dummy ld
; ac_word
=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if ${ac_cv_path_aros_host_ld+:} false
; then :
4390 $as_echo_n "(cached) " >&6
4392 case $aros_host_ld in
4394 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4401 test -z "$as_dir" && as_dir
=.
4402 for ac_exec_ext
in '' $ac_executable_extensions; do
4403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4404 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4415 aros_host_ld
=$ac_cv_path_aros_host_ld
4416 if test -n "$aros_host_ld"; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4418 $as_echo "$aros_host_ld" >&6; }
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421 $as_echo "no" >&6; }
4426 if test "$aros_host_ld" = ""; then
4427 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4429 aros_host_make
="make"
4430 aros_host_cflags
=$CFLAGS
4431 aros_host_cxxflags
=$CXXFLAGS
4432 aros_host_ldflags
=$LDFLAGS
4433 aros_host_debug
="-g -O0"
4434 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4435 aros_host_mkargs
="--no-print-directory"
4436 aros_host_exe_suffix
="$EXEEXT"
4437 aros_host_lib_suffix
=""
4439 # Ignore all compliance, AROS ROMs = 0
4440 # KickStart v1.0 = 30
4441 # KickStart v1.3 = 34
4442 # KickStart v2.0 = 37
4443 # KickStart v3.0 = 39
4444 # KickStart v3.1 = 40
4446 aros_amigaos_compliance
=0
4448 for ac_prog
in aclocal aclocal19 aclocal-1.9
4450 # Extract the first word of "$ac_prog", so it can be a program name with args.
4451 set dummy
$ac_prog; ac_word
=$2
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453 $as_echo_n "checking for $ac_word... " >&6; }
4454 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4455 $as_echo_n "(cached) " >&6
4457 if test -n "$aros_host_aclocal"; then
4458 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4464 test -z "$as_dir" && as_dir
=.
4465 for ac_exec_ext
in '' $ac_executable_extensions; do
4466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4467 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4477 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4478 if test -n "$aros_host_aclocal"; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4480 $as_echo "$aros_host_aclocal" >&6; }
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4487 test -n "$aros_host_aclocal" && break
4490 for ac_prog
in autoconf autoconf259 autoconf253
4492 # Extract the first word of "$ac_prog", so it can be a program name with args.
4493 set dummy
$ac_prog; ac_word
=$2
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4495 $as_echo_n "checking for $ac_word... " >&6; }
4496 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4497 $as_echo_n "(cached) " >&6
4499 if test -n "$aros_host_autoconf"; then
4500 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4506 test -z "$as_dir" && as_dir
=.
4507 for ac_exec_ext
in '' $ac_executable_extensions; do
4508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4509 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4519 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4520 if test -n "$aros_host_autoconf"; then
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4522 $as_echo "$aros_host_autoconf" >&6; }
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4525 $as_echo "no" >&6; }
4529 test -n "$aros_host_autoconf" && break
4532 for ac_prog
in autoheader autoheader259 autoheader253
4534 # Extract the first word of "$ac_prog", so it can be a program name with args.
4535 set dummy
$ac_prog; ac_word
=$2
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4537 $as_echo_n "checking for $ac_word... " >&6; }
4538 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4539 $as_echo_n "(cached) " >&6
4541 if test -n "$aros_host_autoheader"; then
4542 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4548 test -z "$as_dir" && as_dir
=.
4549 for ac_exec_ext
in '' $ac_executable_extensions; do
4550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4551 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4562 if test -n "$aros_host_autoheader"; then
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4564 $as_echo "$aros_host_autoheader" >&6; }
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567 $as_echo "no" >&6; }
4571 test -n "$aros_host_autoheader" && break
4574 for ac_prog
in automake automake19 automake-1.9
4576 # Extract the first word of "$ac_prog", so it can be a program name with args.
4577 set dummy
$ac_prog; ac_word
=$2
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4579 $as_echo_n "checking for $ac_word... " >&6; }
4580 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4581 $as_echo_n "(cached) " >&6
4583 if test -n "$aros_host_automake"; then
4584 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4590 test -z "$as_dir" && as_dir
=.
4591 for ac_exec_ext
in '' $ac_executable_extensions; do
4592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4593 ac_cv_prog_aros_host_automake
="$ac_prog"
4594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4603 aros_host_automake
=$ac_cv_prog_aros_host_automake
4604 if test -n "$aros_host_automake"; then
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4606 $as_echo "$aros_host_automake" >&6; }
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4609 $as_echo "no" >&6; }
4613 test -n "$aros_host_automake" && break
4617 if test "$aros_host_aclocal" = ""; then
4618 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4620 if test "$aros_host_automake" = ""; then
4621 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4624 case "$aros_host_cc" in
4626 aros_host_cc_pipe
="-pipe"
4629 aros_host_cc_pipe
=""
4632 aros_host_cc_pipe
=""
4636 aros_kernel_cc_includes
=""
4637 aros_target_cc_includes
=""
4639 # ----------------------------------------------------------------------------------------
4640 # Host-specific defaults
4642 # This is the main host configuration section. It is where the host
4643 # can change the values of any variables it needs to change. We do
4644 # not look at anything that compiles to the target yet, we'll get
4649 aros_host_arch
="aros"
4650 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4653 aros_host_cpu
="i386"
4656 aros_host_cpu
="x86_64"
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4663 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4664 aros_host_cpu
="$host_cpu"
4670 aros_host_arch
="linux"
4671 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4672 android_build_os
="linux-x86"
4673 android_tool
="android"
4674 default_android_sdk
="/opt/android-sdk-linux_x86"
4677 aros_host_cpu
="i386"
4680 aros_host_cpu
="x86_64"
4683 aros_host_cpu
="m68k"
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4693 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4694 aros_host_cpu
="$host_cpu"
4700 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4701 aros_host_make
="gmake"
4702 aros_host_arch
="freebsd"
4703 aros_host_cpu
="i386"
4705 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4709 aros_object_format
="elf_i386"
4713 aros_object_format
="elf_i386_fbsd"
4720 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4721 aros_host_arch
="darwin"
4722 android_build_os
="darwin-x86"
4723 android_tool
="android"
4724 default_android_sdk
="/android-sdk-mac_x86"
4727 aros_host_cpu
="i386"
4730 aros_host_cpu
="x86_64"
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4737 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4738 aros_host_cpu
="$host_cpu"
4742 aros_host_ldflags
="$aros_host_ldflags -liconv"
4747 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4748 aros_host_make
="gmake"
4749 aros_host_arch
="dragonfly"
4752 aros_host_cpu
="i386"
4755 aros_host_cpu
="x86_64"
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4759 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4760 aros_host_cpu
="$host_cpu"
4766 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4767 aros_host_make
="gmake"
4768 aros_host_arch
="netbsd"
4771 aros_host_cpu
="i386"
4774 aros_host_cpu
="m68k"
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4778 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4779 aros_host_cpu
="$host_cpu"
4782 aros_host_lib_suffix
=".0.0"
4786 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4787 aros_host_make
="gmake"
4788 aros_host_arch
="openbsd"
4791 aros_host_cpu
="i386"
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4795 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4796 aros_host_cpu
="$host_cpu"
4802 aros_host_arch
="solaris"
4803 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4806 aros_host_cpu
="i386"
4809 aros_host_cpu
="sparc"
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4813 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4814 aros_host_cpu
="$host_cpu"
4820 aros_host_arch
="morphos"
4825 aros_host_arch
="amiga"
4830 TOUCH
="/gg/bin/touch"
4833 aros_host_cpu
="m68k"
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4840 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4841 aros_host_cpu
="$host_cpu"
4847 aros_host_arch
="cygwin"
4848 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4849 android_build_os
="windows"
4850 android_tool
="android.bat"
4851 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4855 aros_host_cpu
="i386"
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4859 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4860 aros_host_cpu
="$host_cpu"
4866 aros_host_arch
="mingw32"
4867 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4868 android_build_os
="windows"
4869 android_tool
="android.bat"
4870 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4876 $as_echo_n "checking for Windows native gcc target... " >&6; }
4877 host_cpu
=`gcc -dumpmachine`
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4879 $as_echo "$host_cpu" >&6; }
4886 aros_host_cpu
="i386"
4890 aros_host_cpu
="i386"
4894 aros_host_cpu
="x86_64"
4895 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4900 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4901 aros_host_cpu
="$host_cpu"
4906 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4910 # Extract the first word of "ar", so it can be a program name with args.
4911 set dummy
ar; ac_word
=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4915 $as_echo_n "(cached) " >&6
4917 if test -n "$aros_host_ar"; then
4918 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4924 test -z "$as_dir" && as_dir
=.
4925 for ac_exec_ext
in '' $ac_executable_extensions; do
4926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4927 ac_cv_prog_aros_host_ar
="ar cr"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 aros_host_ar
=$ac_cv_prog_aros_host_ar
4938 if test -n "$aros_host_ar"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4940 $as_echo "$aros_host_ar" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4947 if test "$aros_host_ar" = ""; then
4948 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4950 # Extract the first word of "ranlib", so it can be a program name with args.
4951 set dummy ranlib
; ac_word
=$2
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953 $as_echo_n "checking for $ac_word... " >&6; }
4954 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4955 $as_echo_n "(cached) " >&6
4957 if test -n "$aros_host_ranlib"; then
4958 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4964 test -z "$as_dir" && as_dir
=.
4965 for ac_exec_ext
in '' $ac_executable_extensions; do
4966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4967 ac_cv_prog_aros_host_ranlib
="ranlib "
4968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4977 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4978 if test -n "$aros_host_ranlib"; then
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4980 $as_echo "$aros_host_ranlib" >&6; }
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 $as_echo "no" >&6; }
4987 if test "$aros_host_ranlib" = ""; then
4988 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4990 # Extract the first word of "strip", so it can be a program name with args.
4991 set dummy strip
; ac_word
=$2
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4993 $as_echo_n "checking for $ac_word... " >&6; }
4994 if ${ac_cv_prog_aros_host_strip+:} false
; then :
4995 $as_echo_n "(cached) " >&6
4997 if test -n "$aros_host_strip"; then
4998 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5004 test -z "$as_dir" && as_dir
=.
5005 for ac_exec_ext
in '' $ac_executable_extensions; do
5006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5007 ac_cv_prog_aros_host_strip
="strip "
5008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5017 aros_host_strip
=$ac_cv_prog_aros_host_strip
5018 if test -n "$aros_host_strip"; then
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5020 $as_echo "$aros_host_strip" >&6; }
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5023 $as_echo "no" >&6; }
5027 if test "$aros_host_strip" = ""; then
5028 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5031 # Extract the first word of "rm", so it can be a program name with args.
5032 set dummy
rm; ac_word
=$2
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 $as_echo_n "checking for $ac_word... " >&6; }
5035 if ${ac_cv_prog_RM+:} false
; then :
5036 $as_echo_n "(cached) " >&6
5038 if test -n "$RM"; then
5039 ac_cv_prog_RM
="$RM" # Let the user override the test.
5041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5045 test -z "$as_dir" && as_dir
=.
5046 for ac_exec_ext
in '' $ac_executable_extensions; do
5047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5048 ac_cv_prog_RM
="rm -rf"
5049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5059 if test -n "$RM"; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5061 $as_echo "$RM" >&6; }
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 $as_echo "no" >&6; }
5068 if test "$RM" = ""; then
5069 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5071 # Extract the first word of "cp", so it can be a program name with args.
5072 set dummy
cp; ac_word
=$2
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5074 $as_echo_n "checking for $ac_word... " >&6; }
5075 if ${ac_cv_prog_CP+:} false
; then :
5076 $as_echo_n "(cached) " >&6
5078 if test -n "$CP"; then
5079 ac_cv_prog_CP
="$CP" # Let the user override the test.
5081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5085 test -z "$as_dir" && as_dir
=.
5086 for ac_exec_ext
in '' $ac_executable_extensions; do
5087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 if test -n "$CP"; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5101 $as_echo "$CP" >&6; }
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 $as_echo "no" >&6; }
5108 if test "$CP" = ""; then
5109 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5111 # Extract the first word of "mv", so it can be a program name with args.
5112 set dummy
mv; ac_word
=$2
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114 $as_echo_n "checking for $ac_word... " >&6; }
5115 if ${ac_cv_prog_MV+:} false
; then :
5116 $as_echo_n "(cached) " >&6
5118 if test -n "$MV"; then
5119 ac_cv_prog_MV
="$MV" # Let the user override the test.
5121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5125 test -z "$as_dir" && as_dir
=.
5126 for ac_exec_ext
in '' $ac_executable_extensions; do
5127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 if test -n "$MV"; then
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5141 $as_echo "$MV" >&6; }
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 $as_echo "no" >&6; }
5148 if test "$MV" = ""; then
5149 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5151 # Extract the first word of "echo", so it can be a program name with args.
5152 set dummy
echo; ac_word
=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5154 $as_echo_n "checking for $ac_word... " >&6; }
5155 if ${ac_cv_prog_ECHO+:} false
; then :
5156 $as_echo_n "(cached) " >&6
5158 if test -n "$ECHO"; then
5159 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5165 test -z "$as_dir" && as_dir
=.
5166 for ac_exec_ext
in '' $ac_executable_extensions; do
5167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5168 ac_cv_prog_ECHO
="echo "
5169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5178 ECHO
=$ac_cv_prog_ECHO
5179 if test -n "$ECHO"; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5181 $as_echo "$ECHO" >&6; }
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5184 $as_echo "no" >&6; }
5188 if test "$ECHO" = ""; then
5189 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5191 # Extract the first word of "mkdir", so it can be a program name with args.
5192 set dummy mkdir
; ac_word
=$2
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5194 $as_echo_n "checking for $ac_word... " >&6; }
5195 if ${ac_cv_prog_MKDIR+:} false
; then :
5196 $as_echo_n "(cached) " >&6
5198 if test -n "$MKDIR"; then
5199 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5205 test -z "$as_dir" && as_dir
=.
5206 for ac_exec_ext
in '' $ac_executable_extensions; do
5207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5208 ac_cv_prog_MKDIR
="mkdir -p"
5209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5218 MKDIR
=$ac_cv_prog_MKDIR
5219 if test -n "$MKDIR"; then
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5221 $as_echo "$MKDIR" >&6; }
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5224 $as_echo "no" >&6; }
5228 if test "$MKDIR" = ""; then
5229 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5231 # Extract the first word of "touch", so it can be a program name with args.
5232 set dummy
touch; ac_word
=$2
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5234 $as_echo_n "checking for $ac_word... " >&6; }
5235 if ${ac_cv_prog_TOUCH+:} false
; then :
5236 $as_echo_n "(cached) " >&6
5238 if test -n "$TOUCH"; then
5239 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5245 test -z "$as_dir" && as_dir
=.
5246 for ac_exec_ext
in '' $ac_executable_extensions; do
5247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5248 ac_cv_prog_TOUCH
="touch "
5249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 TOUCH
=$ac_cv_prog_TOUCH
5259 if test -n "$TOUCH"; then
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5261 $as_echo "$TOUCH" >&6; }
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5264 $as_echo "no" >&6; }
5268 if test "$TOUCH" = ""; then
5269 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5271 # Extract the first word of "sort", so it can be a program name with args.
5272 set dummy
sort; ac_word
=$2
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5274 $as_echo_n "checking for $ac_word... " >&6; }
5275 if ${ac_cv_prog_SORT+:} false
; then :
5276 $as_echo_n "(cached) " >&6
5278 if test -n "$SORT"; then
5279 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5285 test -z "$as_dir" && as_dir
=.
5286 for ac_exec_ext
in '' $ac_executable_extensions; do
5287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5288 ac_cv_prog_SORT
="sort "
5289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 SORT
=$ac_cv_prog_SORT
5299 if test -n "$SORT"; then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5301 $as_echo "$SORT" >&6; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5304 $as_echo "no" >&6; }
5308 if test "$SORT" = ""; then
5309 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5311 # Extract the first word of "uniq", so it can be a program name with args.
5312 set dummy
uniq; ac_word
=$2
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5314 $as_echo_n "checking for $ac_word... " >&6; }
5315 if ${ac_cv_prog_UNIQ+:} false
; then :
5316 $as_echo_n "(cached) " >&6
5318 if test -n "$UNIQ"; then
5319 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5325 test -z "$as_dir" && as_dir
=.
5326 for ac_exec_ext
in '' $ac_executable_extensions; do
5327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5328 ac_cv_prog_UNIQ
="uniq "
5329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 UNIQ
=$ac_cv_prog_UNIQ
5339 if test -n "$UNIQ"; then
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5341 $as_echo "$UNIQ" >&6; }
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344 $as_echo "no" >&6; }
5348 if test "$UNIQ" = ""; then
5349 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5351 # Extract the first word of "true", so it can be a program name with args.
5352 set dummy true
; ac_word
=$2
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5354 $as_echo_n "checking for $ac_word... " >&6; }
5355 if ${ac_cv_prog_NOP+:} false
; then :
5356 $as_echo_n "(cached) " >&6
5358 if test -n "$NOP"; then
5359 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5365 test -z "$as_dir" && as_dir
=.
5366 for ac_exec_ext
in '' $ac_executable_extensions; do
5367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5368 ac_cv_prog_NOP
="true "
5369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 if test -n "$NOP"; then
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5381 $as_echo "$NOP" >&6; }
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5384 $as_echo "no" >&6; }
5388 if test "$NOP" = ""; then
5389 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5391 # Extract the first word of "cat", so it can be a program name with args.
5392 set dummy
cat; ac_word
=$2
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394 $as_echo_n "checking for $ac_word... " >&6; }
5395 if ${ac_cv_prog_CAT+:} false
; then :
5396 $as_echo_n "(cached) " >&6
5398 if test -n "$CAT"; then
5399 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5405 test -z "$as_dir" && as_dir
=.
5406 for ac_exec_ext
in '' $ac_executable_extensions; do
5407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5408 ac_cv_prog_CAT
="cat "
5409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 if test -n "$CAT"; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5421 $as_echo "$CAT" >&6; }
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5424 $as_echo "no" >&6; }
5428 if test "$CAT" = ""; then
5429 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5431 # Extract the first word of "bison", so it can be a program name with args.
5432 set dummy bison
; ac_word
=$2
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434 $as_echo_n "checking for $ac_word... " >&6; }
5435 if ${ac_cv_prog_BISON+:} false
; then :
5436 $as_echo_n "(cached) " >&6
5438 if test -n "$BISON"; then
5439 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5445 test -z "$as_dir" && as_dir
=.
5446 for ac_exec_ext
in '' $ac_executable_extensions; do
5447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5448 ac_cv_prog_BISON
="bison "
5449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5458 BISON
=$ac_cv_prog_BISON
5459 if test -n "$BISON"; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5461 $as_echo "$BISON" >&6; }
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464 $as_echo "no" >&6; }
5468 if test "$BISON" = ""; then
5469 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5471 # Extract the first word of "flex", so it can be a program name with args.
5472 set dummy flex
; ac_word
=$2
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5474 $as_echo_n "checking for $ac_word... " >&6; }
5475 if ${ac_cv_prog_FLEX+:} false
; then :
5476 $as_echo_n "(cached) " >&6
5478 if test -n "$FLEX"; then
5479 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5485 test -z "$as_dir" && as_dir
=.
5486 for ac_exec_ext
in '' $ac_executable_extensions; do
5487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5488 ac_cv_prog_FLEX
="flex "
5489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5498 FLEX
=$ac_cv_prog_FLEX
5499 if test -n "$FLEX"; then
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5501 $as_echo "$FLEX" >&6; }
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5508 if test "$FLEX" = ""; then
5509 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5511 # Extract the first word of "pngtopnm", so it can be a program name with args.
5512 set dummy pngtopnm
; ac_word
=$2
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5514 $as_echo_n "checking for $ac_word... " >&6; }
5515 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5516 $as_echo_n "(cached) " >&6
5518 if test -n "$PNGTOPNM"; then
5519 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5525 test -z "$as_dir" && as_dir
=.
5526 for ac_exec_ext
in '' $ac_executable_extensions; do
5527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5528 ac_cv_prog_PNGTOPNM
="pngtopnm "
5529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5538 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5539 if test -n "$PNGTOPNM"; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5541 $as_echo "$PNGTOPNM" >&6; }
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5548 if test "$PNGTOPNM" = ""; then
5549 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5551 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5552 set dummy ppmtoilbm
; ac_word
=$2
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554 $as_echo_n "checking for $ac_word... " >&6; }
5555 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5556 $as_echo_n "(cached) " >&6
5558 if test -n "$PPMTOILBM"; then
5559 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5565 test -z "$as_dir" && as_dir
=.
5566 for ac_exec_ext
in '' $ac_executable_extensions; do
5567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5568 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5578 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5579 if test -n "$PPMTOILBM"; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5581 $as_echo "$PPMTOILBM" >&6; }
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5584 $as_echo "no" >&6; }
5588 if test "$PPMTOILBM" = ""; then
5589 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5591 # Extract the first word of "sed", so it can be a program name with args.
5592 set dummy
sed; ac_word
=$2
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5594 $as_echo_n "checking for $ac_word... " >&6; }
5595 if ${ac_cv_prog_SED+:} false
; then :
5596 $as_echo_n "(cached) " >&6
5598 if test -n "$SED"; then
5599 ac_cv_prog_SED
="$SED" # Let the user override the test.
5601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5605 test -z "$as_dir" && as_dir
=.
5606 for ac_exec_ext
in '' $ac_executable_extensions; do
5607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5608 ac_cv_prog_SED
="sed "
5609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5619 if test -n "$SED"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5621 $as_echo "$SED" >&6; }
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5628 if test "$SED" = ""; then
5629 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5631 # Extract the first word of "chmod", so it can be a program name with args.
5632 set dummy
chmod; ac_word
=$2
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5634 $as_echo_n "checking for $ac_word... " >&6; }
5635 if ${ac_cv_prog_CHMOD+:} false
; then :
5636 $as_echo_n "(cached) " >&6
5638 if test -n "$CHMOD"; then
5639 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5645 test -z "$as_dir" && as_dir
=.
5646 for ac_exec_ext
in '' $ac_executable_extensions; do
5647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5648 ac_cv_prog_CHMOD
="chmod "
5649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5658 CHMOD
=$ac_cv_prog_CHMOD
5659 if test -n "$CHMOD"; then
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5661 $as_echo "$CHMOD" >&6; }
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5664 $as_echo "no" >&6; }
5668 if test "$CHMOD" = ""; then
5669 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5671 # Extract the first word of "patch", so it can be a program name with args.
5672 set dummy
patch; ac_word
=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if ${ac_cv_prog_PATCH+:} false
; then :
5676 $as_echo_n "(cached) " >&6
5678 if test -n "$PATCH"; then
5679 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5685 test -z "$as_dir" && as_dir
=.
5686 for ac_exec_ext
in '' $ac_executable_extensions; do
5687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5688 ac_cv_prog_PATCH
="patch "
5689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 PATCH
=$ac_cv_prog_PATCH
5699 if test -n "$PATCH"; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5701 $as_echo "$PATCH" >&6; }
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5708 if test "$PATCH" = ""; then
5709 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5716 if test -n "$PYTHON"; then
5717 # If the user set $PYTHON, use it and don't search something else.
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5719 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5720 prog
="import sys, string
5721 # split strings by '.' and convert to numeric. Append some zeros
5722 # because we need at least 4 digits for the hex conversion.
5723 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5725 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5726 sys.exit(sys.hexversion < minverhex)"
5727 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5728 ($PYTHON -c "$prog") >&5 2>&5
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); }; then :
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5733 $as_echo "yes" >&6; }
5735 as_fn_error $?
"too old" "$LINENO" 5
5737 am_display_PYTHON
=$PYTHON
5739 # Otherwise, try each interpreter until we find one that satisfies
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5742 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5743 if ${am_cv_pathless_PYTHON+:} false
; then :
5744 $as_echo_n "(cached) " >&6
5747 for am_cv_pathless_PYTHON
in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none
; do
5748 test "$am_cv_pathless_PYTHON" = none
&& break
5749 prog
="import sys, string
5750 # split strings by '.' and convert to numeric. Append some zeros
5751 # because we need at least 4 digits for the hex conversion.
5752 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5754 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5755 sys.exit(sys.hexversion < minverhex)"
5756 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5757 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5760 (exit $ac_status); }; then :
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5766 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5767 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5768 if test "$am_cv_pathless_PYTHON" = none
; then
5771 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5772 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5774 $as_echo_n "checking for $ac_word... " >&6; }
5775 if ${ac_cv_path_PYTHON+:} false
; then :
5776 $as_echo_n "(cached) " >&6
5780 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5787 test -z "$as_dir" && as_dir
=.
5788 for ac_exec_ext
in '' $ac_executable_extensions; do
5789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5790 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5801 PYTHON
=$ac_cv_path_PYTHON
5802 if test -n "$PYTHON"; then
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5804 $as_echo "$PYTHON" >&6; }
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807 $as_echo "no" >&6; }
5812 am_display_PYTHON
=$am_cv_pathless_PYTHON
5816 if test "$PYTHON" = :; then
5817 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5822 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5823 if ${am_cv_python_version+:} false
; then :
5824 $as_echo_n "(cached) " >&6
5826 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5829 $as_echo "$am_cv_python_version" >&6; }
5830 PYTHON_VERSION
=$am_cv_python_version
5834 PYTHON_PREFIX
='${prefix}'
5836 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5841 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5842 if ${am_cv_python_platform+:} false
; then :
5843 $as_echo_n "(cached) " >&6
5845 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5848 $as_echo "$am_cv_python_platform" >&6; }
5849 PYTHON_PLATFORM
=$am_cv_python_platform
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5855 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5856 if ${am_cv_python_pythondir+:} false
; then :
5857 $as_echo_n "(cached) " >&6
5859 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5860 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5863 $as_echo "$am_cv_python_pythondir" >&6; }
5864 pythondir
=$am_cv_python_pythondir
5868 pkgpythondir
=\
${pythondir}/$PACKAGE
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5872 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5873 if ${am_cv_python_pyexecdir+:} false
; then :
5874 $as_echo_n "(cached) " >&6
5876 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5877 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5880 $as_echo "$am_cv_python_pyexecdir" >&6; }
5881 pyexecdir
=$am_cv_python_pyexecdir
5885 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5903 # Check for some includes for the X11 HIDD and the kernel
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5907 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5908 if ${ac_cv_path_GREP+:} false
; then :
5909 $as_echo_n "(cached) " >&6
5911 if test -z "$GREP"; then
5912 ac_path_GREP_found
=false
5913 # Loop through the user's path and test for each of PROGNAME-LIST
5914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5915 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5918 test -z "$as_dir" && as_dir
=.
5919 for ac_prog
in grep ggrep
; do
5920 for ac_exec_ext
in '' $ac_executable_extensions; do
5921 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5922 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5923 # Check for GNU ac_path_GREP and select it if it is found.
5924 # Check for GNU $ac_path_GREP
5925 case `"$ac_path_GREP" --version 2>&1` in
5927 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5930 $as_echo_n 0123456789 >"conftest.in"
5933 cat "conftest.in" "conftest.in" >"conftest.tmp"
5934 mv "conftest.tmp" "conftest.in"
5935 cp "conftest.in" "conftest.nl"
5936 $as_echo 'GREP' >> "conftest.nl"
5937 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5938 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5939 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5940 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5941 # Best one so far, save it but keep looking for a better one
5942 ac_cv_path_GREP
="$ac_path_GREP"
5943 ac_path_GREP_max
=$ac_count
5945 # 10*(2^10) chars as input seems more than enough
5946 test $ac_count -gt 10 && break
5948 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5951 $ac_path_GREP_found && break 3
5956 if test -z "$ac_cv_path_GREP"; then
5957 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5960 ac_cv_path_GREP
=$GREP
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5965 $as_echo "$ac_cv_path_GREP" >&6; }
5966 GREP
="$ac_cv_path_GREP"
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5970 $as_echo_n "checking for egrep... " >&6; }
5971 if ${ac_cv_path_EGREP+:} false
; then :
5972 $as_echo_n "(cached) " >&6
5974 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5975 then ac_cv_path_EGREP
="$GREP -E"
5977 if test -z "$EGREP"; then
5978 ac_path_EGREP_found
=false
5979 # Loop through the user's path and test for each of PROGNAME-LIST
5980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5981 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5984 test -z "$as_dir" && as_dir
=.
5985 for ac_prog
in egrep; do
5986 for ac_exec_ext
in '' $ac_executable_extensions; do
5987 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5988 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5989 # Check for GNU ac_path_EGREP and select it if it is found.
5990 # Check for GNU $ac_path_EGREP
5991 case `"$ac_path_EGREP" --version 2>&1` in
5993 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5996 $as_echo_n 0123456789 >"conftest.in"
5999 cat "conftest.in" "conftest.in" >"conftest.tmp"
6000 mv "conftest.tmp" "conftest.in"
6001 cp "conftest.in" "conftest.nl"
6002 $as_echo 'EGREP' >> "conftest.nl"
6003 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6004 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6005 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6006 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6007 # Best one so far, save it but keep looking for a better one
6008 ac_cv_path_EGREP
="$ac_path_EGREP"
6009 ac_path_EGREP_max
=$ac_count
6011 # 10*(2^10) chars as input seems more than enough
6012 test $ac_count -gt 10 && break
6014 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6017 $ac_path_EGREP_found && break 3
6022 if test -z "$ac_cv_path_EGREP"; then
6023 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6026 ac_cv_path_EGREP
=$EGREP
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6032 $as_echo "$ac_cv_path_EGREP" >&6; }
6033 EGREP
="$ac_cv_path_EGREP"
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6037 $as_echo_n "checking for ANSI C header files... " >&6; }
6038 if ${ac_cv_header_stdc+:} false
; then :
6039 $as_echo_n "(cached) " >&6
6041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6042 /* end confdefs.h. */
6056 if ac_fn_c_try_compile
"$LINENO"; then :
6057 ac_cv_header_stdc
=yes
6059 ac_cv_header_stdc
=no
6061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6063 if test $ac_cv_header_stdc = yes; then
6064 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6066 /* end confdefs.h. */
6070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6071 $EGREP "memchr" >/dev
/null
2>&1; then :
6074 ac_cv_header_stdc
=no
6080 if test $ac_cv_header_stdc = yes; then
6081 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6083 /* end confdefs.h. */
6087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6088 $EGREP "free" >/dev
/null
2>&1; then :
6091 ac_cv_header_stdc
=no
6097 if test $ac_cv_header_stdc = yes; then
6098 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6099 if test "$cross_compiling" = yes; then :
6102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6103 /* end confdefs.h. */
6106 #if ((' ' & 0x0FF) == 0x020)
6107 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6108 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6110 # define ISLOWER(c) \
6111 (('a' <= (c) && (c) <= 'i') \
6112 || ('j' <= (c) && (c) <= 'r') \
6113 || ('s' <= (c) && (c) <= 'z'))
6114 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6117 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6122 for (i = 0; i < 256; i++)
6123 if (XOR (islower (i), ISLOWER (i))
6124 || toupper (i) != TOUPPER (i))
6129 if ac_fn_c_try_run
"$LINENO"; then :
6132 ac_cv_header_stdc
=no
6134 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6135 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6141 $as_echo "$ac_cv_header_stdc" >&6; }
6142 if test $ac_cv_header_stdc = yes; then
6144 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6148 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6149 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6150 inttypes.h stdint.h unistd.h
6152 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6153 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6155 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6156 cat >>confdefs.h
<<_ACEOF
6157 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6165 for ac_header
in sys
/ipc.h sys
/shm.h \
6166 sys
/mmap.h sys
/mman.h sysexits.h \
6167 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6170 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6171 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6172 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6173 cat >>confdefs.h
<<_ACEOF
6174 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6182 for ac_header
in sys
/mount.h
6184 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6186 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6187 cat >>confdefs.h
<<_ACEOF
6188 #define HAVE_SYS_MOUNT_H 1
6197 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6198 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6200 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6201 if eval \
${$as_ac_Header+:} false
; then :
6202 $as_echo_n "(cached) " >&6
6204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6205 /* end confdefs.h. */
6206 #include <sys/types.h>
6218 if ac_fn_c_try_compile
"$LINENO"; then :
6219 eval "$as_ac_Header=yes"
6221 eval "$as_ac_Header=no"
6223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6225 eval ac_res
=\$
$as_ac_Header
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6227 $as_echo "$ac_res" >&6; }
6228 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6229 cat >>confdefs.h
<<_ACEOF
6230 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6233 ac_header_dirent
=$ac_hdr; break
6237 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6238 if test $ac_header_dirent = dirent.h
; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6240 $as_echo_n "checking for library containing opendir... " >&6; }
6241 if ${ac_cv_search_opendir+:} false
; then :
6242 $as_echo_n "(cached) " >&6
6244 ac_func_search_save_LIBS
=$LIBS
6245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6246 /* end confdefs.h. */
6248 /* Override any GCC internal prototype to avoid an error.
6249 Use char because int might match the return type of a GCC
6250 builtin and then its argument prototype would still apply. */
6263 for ac_lib
in '' dir
; do
6264 if test -z "$ac_lib"; then
6265 ac_res
="none required"
6268 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6270 if ac_fn_c_try_link
"$LINENO"; then :
6271 ac_cv_search_opendir
=$ac_res
6273 rm -f core conftest.err conftest.
$ac_objext \
6275 if ${ac_cv_search_opendir+:} false
; then :
6279 if ${ac_cv_search_opendir+:} false
; then :
6282 ac_cv_search_opendir
=no
6285 LIBS
=$ac_func_search_save_LIBS
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6288 $as_echo "$ac_cv_search_opendir" >&6; }
6289 ac_res
=$ac_cv_search_opendir
6290 if test "$ac_res" != no
; then :
6291 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6297 $as_echo_n "checking for library containing opendir... " >&6; }
6298 if ${ac_cv_search_opendir+:} false
; then :
6299 $as_echo_n "(cached) " >&6
6301 ac_func_search_save_LIBS
=$LIBS
6302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6303 /* end confdefs.h. */
6305 /* Override any GCC internal prototype to avoid an error.
6306 Use char because int might match the return type of a GCC
6307 builtin and then its argument prototype would still apply. */
6320 for ac_lib
in '' x
; do
6321 if test -z "$ac_lib"; then
6322 ac_res
="none required"
6325 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6327 if ac_fn_c_try_link
"$LINENO"; then :
6328 ac_cv_search_opendir
=$ac_res
6330 rm -f core conftest.err conftest.
$ac_objext \
6332 if ${ac_cv_search_opendir+:} false
; then :
6336 if ${ac_cv_search_opendir+:} false
; then :
6339 ac_cv_search_opendir
=no
6342 LIBS
=$ac_func_search_save_LIBS
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6345 $as_echo "$ac_cv_search_opendir" >&6; }
6346 ac_res
=$ac_cv_search_opendir
6347 if test "$ac_res" != no
; then :
6348 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6355 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6356 if ${ac_cv_header_stat_broken+:} false
; then :
6357 $as_echo_n "(cached) " >&6
6359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6361 #include <sys/types.h>
6362 #include <sys/stat.h>
6364 #if defined S_ISBLK && defined S_IFDIR
6365 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6368 #if defined S_ISBLK && defined S_IFCHR
6369 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6372 #if defined S_ISLNK && defined S_IFREG
6373 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6376 #if defined S_ISSOCK && defined S_IFREG
6377 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6381 if ac_fn_c_try_compile
"$LINENO"; then :
6382 ac_cv_header_stat_broken
=no
6384 ac_cv_header_stat_broken
=yes
6386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6389 $as_echo "$ac_cv_header_stat_broken" >&6; }
6390 if test $ac_cv_header_stat_broken = yes; then
6392 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6397 $as_echo_n "checking for ANSI C header files... " >&6; }
6398 if ${ac_cv_header_stdc+:} false
; then :
6399 $as_echo_n "(cached) " >&6
6401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6402 /* end confdefs.h. */
6416 if ac_fn_c_try_compile
"$LINENO"; then :
6417 ac_cv_header_stdc
=yes
6419 ac_cv_header_stdc
=no
6421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6423 if test $ac_cv_header_stdc = yes; then
6424 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6426 /* end confdefs.h. */
6430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6431 $EGREP "memchr" >/dev
/null
2>&1; then :
6434 ac_cv_header_stdc
=no
6440 if test $ac_cv_header_stdc = yes; then
6441 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6443 /* end confdefs.h. */
6447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6448 $EGREP "free" >/dev
/null
2>&1; then :
6451 ac_cv_header_stdc
=no
6457 if test $ac_cv_header_stdc = yes; then
6458 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6459 if test "$cross_compiling" = yes; then :
6462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6463 /* end confdefs.h. */
6466 #if ((' ' & 0x0FF) == 0x020)
6467 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6468 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6470 # define ISLOWER(c) \
6471 (('a' <= (c) && (c) <= 'i') \
6472 || ('j' <= (c) && (c) <= 'r') \
6473 || ('s' <= (c) && (c) <= 'z'))
6474 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6477 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6482 for (i = 0; i < 256; i++)
6483 if (XOR (islower (i), ISLOWER (i))
6484 || toupper (i) != TOUPPER (i))
6489 if ac_fn_c_try_run
"$LINENO"; then :
6492 ac_cv_header_stdc
=no
6494 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6495 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6501 $as_echo "$ac_cv_header_stdc" >&6; }
6502 if test $ac_cv_header_stdc = yes; then
6504 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6509 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6510 if ${ac_cv_header_sys_wait_h+:} false
; then :
6511 $as_echo_n "(cached) " >&6
6513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6514 /* end confdefs.h. */
6515 #include <sys/types.h>
6516 #include <sys/wait.h>
6518 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6521 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6529 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6534 if ac_fn_c_try_compile
"$LINENO"; then :
6535 ac_cv_header_sys_wait_h
=yes
6537 ac_cv_header_sys_wait_h
=no
6539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6542 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6543 if test $ac_cv_header_sys_wait_h = yes; then
6545 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6550 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6551 if ${ac_cv_header_time+:} false
; then :
6552 $as_echo_n "(cached) " >&6
6554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6555 /* end confdefs.h. */
6556 #include <sys/types.h>
6557 #include <sys/time.h>
6563 if ((struct tm *) 0)
6569 if ac_fn_c_try_compile
"$LINENO"; then :
6570 ac_cv_header_time
=yes
6572 ac_cv_header_time
=no
6574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6577 $as_echo "$ac_cv_header_time" >&6; }
6578 if test $ac_cv_header_time = yes; then
6580 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6584 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6585 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6587 cat >>confdefs.h
<<_ACEOF
6588 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6592 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6597 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6598 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6600 cat >>confdefs.h
<<_ACEOF
6601 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6605 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6608 case " $LIBOBJS " in
6609 *" fileblocks.$ac_objext "* ) ;;
6610 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6617 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6618 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6620 cat >>confdefs.h
<<_ACEOF
6621 #define HAVE_STRUCT_STAT_ST_RDEV 1
6625 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6631 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6632 if ${ac_cv_struct_tm+:} false
; then :
6633 $as_echo_n "(cached) " >&6
6635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6636 /* end confdefs.h. */
6637 #include <sys/types.h>
6644 int *p = &tm.tm_sec;
6650 if ac_fn_c_try_compile
"$LINENO"; then :
6651 ac_cv_struct_tm
=time.h
6653 ac_cv_struct_tm
=sys
/time.h
6655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6658 $as_echo "$ac_cv_struct_tm" >&6; }
6659 if test $ac_cv_struct_tm = sys
/time.h
; then
6661 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6665 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6666 #include <$ac_cv_struct_tm>
6669 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6671 cat >>confdefs.h
<<_ACEOF
6672 #define HAVE_STRUCT_TM_TM_ZONE 1
6678 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6680 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6683 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6685 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6691 cat >>confdefs.h
<<_ACEOF
6692 #define HAVE_DECL_TZNAME $ac_have_decl
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6696 $as_echo_n "checking for tzname... " >&6; }
6697 if ${ac_cv_var_tzname+:} false
; then :
6698 $as_echo_n "(cached) " >&6
6700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6701 /* end confdefs.h. */
6703 #if !HAVE_DECL_TZNAME
6704 extern char *tzname[];
6710 return tzname[0][0];
6715 if ac_fn_c_try_link
"$LINENO"; then :
6716 ac_cv_var_tzname
=yes
6720 rm -f core conftest.err conftest.
$ac_objext \
6721 conftest
$ac_exeext conftest.
$ac_ext
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6724 $as_echo "$ac_cv_var_tzname" >&6; }
6725 if test $ac_cv_var_tzname = yes; then
6727 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6732 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6733 if test "x$ac_cv_type_off_t" = xyes
; then :
6737 cat >>confdefs.h
<<_ACEOF
6738 #define off_t long int
6743 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6744 if test "x$ac_cv_type_pid_t" = xyes
; then :
6748 cat >>confdefs.h
<<_ACEOF
6754 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6755 if test "x$ac_cv_type_size_t" = xyes
; then :
6759 cat >>confdefs.h
<<_ACEOF
6760 #define size_t unsigned int
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6766 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6767 if ${ac_cv_type_uid_t+:} false
; then :
6768 $as_echo_n "(cached) " >&6
6770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6771 /* end confdefs.h. */
6772 #include <sys/types.h>
6775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6776 $EGREP "uid_t" >/dev
/null
2>&1; then :
6777 ac_cv_type_uid_t
=yes
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6785 $as_echo "$ac_cv_type_uid_t" >&6; }
6786 if test $ac_cv_type_uid_t = no
; then
6788 $as_echo "#define uid_t int" >>confdefs.h
6791 $as_echo "#define gid_t int" >>confdefs.h
6796 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6797 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6799 cat >>confdefs.h
<<_ACEOF
6800 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6807 # Look for some functions
6808 for ac_func
in getpagesize kqueue statfs statvfs \
6809 clone kse_create rfork_thread thr_create sa_register \
6810 getcontext makecontext setcontext sigaltstack swapcontext
6812 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6813 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6814 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6815 cat >>confdefs.h
<<_ACEOF
6816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6826 for ac_header
in $ac_header_list
6828 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6829 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6831 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6832 cat >>confdefs.h
<<_ACEOF
6833 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6847 for ac_func
in getpagesize
6849 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6850 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6851 cat >>confdefs.h
<<_ACEOF
6852 #define HAVE_GETPAGESIZE 1
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6859 $as_echo_n "checking for working mmap... " >&6; }
6860 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6861 $as_echo_n "(cached) " >&6
6863 if test "$cross_compiling" = yes; then :
6864 ac_cv_func_mmap_fixed_mapped
=no
6866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6867 /* end confdefs.h. */
6868 $ac_includes_default
6869 /* malloc might have been renamed as rpl_malloc. */
6872 /* Thanks to Mike Haertel and Jim Avera for this test.
6873 Here is a matrix of mmap possibilities:
6874 mmap private not fixed
6875 mmap private fixed at somewhere currently unmapped
6876 mmap private fixed at somewhere already mapped
6877 mmap shared not fixed
6878 mmap shared fixed at somewhere currently unmapped
6879 mmap shared fixed at somewhere already mapped
6880 For private mappings, we should verify that changes cannot be read()
6881 back from the file, nor mmap's back from the file at a different
6882 address. (There have been systems where private was not correctly
6883 implemented like the infamous i386 svr4.0, and systems where the
6884 VM page cache was not coherent with the file system buffer cache
6885 like early versions of FreeBSD and possibly contemporary NetBSD.)
6886 For shared mappings, we should conversely verify that changes get
6887 propagated back to all the places they're supposed to be.
6889 Grep wants private fixed already mapped.
6890 The main things grep needs to know about mmap are:
6891 * does it exist and is it safe to write into the mmap'd area
6892 * how to use it (BSD variants) */
6895 #include <sys/mman.h>
6897 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6901 /* This mess was copied from the GNU getpagesize.h. */
6902 #ifndef HAVE_GETPAGESIZE
6903 # ifdef _SC_PAGESIZE
6904 # define getpagesize() sysconf(_SC_PAGESIZE)
6905 # else /* no _SC_PAGESIZE */
6906 # ifdef HAVE_SYS_PARAM_H
6907 # include <sys/param.h>
6908 # ifdef EXEC_PAGESIZE
6909 # define getpagesize() EXEC_PAGESIZE
6910 # else /* no EXEC_PAGESIZE */
6912 # define getpagesize() NBPG * CLSIZE
6915 # endif /* no CLSIZE */
6916 # else /* no NBPG */
6918 # define getpagesize() NBPC
6919 # else /* no NBPC */
6921 # define getpagesize() PAGESIZE
6922 # endif /* PAGESIZE */
6923 # endif /* no NBPC */
6924 # endif /* no NBPG */
6925 # endif /* no EXEC_PAGESIZE */
6926 # else /* no HAVE_SYS_PARAM_H */
6927 # define getpagesize() 8192 /* punt totally */
6928 # endif /* no HAVE_SYS_PARAM_H */
6929 # endif /* no _SC_PAGESIZE */
6931 #endif /* no HAVE_GETPAGESIZE */
6936 char *data, *data2, *data3;
6941 pagesize = getpagesize ();
6943 /* First, make a file with some known garbage in it. */
6944 data = (char *) malloc (pagesize);
6947 for (i = 0; i < pagesize; ++i)
6948 *(data + i) = rand ();
6950 fd = creat ("conftest.mmap", 0600);
6953 if (write (fd, data, pagesize) != pagesize)
6957 /* Next, check that the tail of a page is zero-filled. File must have
6958 non-zero length, otherwise we risk SIGBUS for entire page. */
6959 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6963 if (write (fd2, cdata2, 1) != 1)
6965 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6966 if (data2 == MAP_FAILED)
6968 for (i = 0; i < pagesize; ++i)
6972 if (munmap (data2, pagesize))
6975 /* Next, try to mmap the file at a fixed address which already has
6976 something else allocated at it. If we can, also make sure that
6977 we see the same garbage. */
6978 fd = open ("conftest.mmap", O_RDWR);
6981 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6982 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6984 for (i = 0; i < pagesize; ++i)
6985 if (*(data + i) != *(data2 + i))
6988 /* Finally, make sure that changes to the mapped area do not
6989 percolate back to the file as seen by read(). (This is a bug on
6990 some variants of i386 svr4.0.) */
6991 for (i = 0; i < pagesize; ++i)
6992 *(data2 + i) = *(data2 + i) + 1;
6993 data3 = (char *) malloc (pagesize);
6996 if (read (fd, data3, pagesize) != pagesize)
6998 for (i = 0; i < pagesize; ++i)
6999 if (*(data + i) != *(data3 + i))
7005 if ac_fn_c_try_run
"$LINENO"; then :
7006 ac_cv_func_mmap_fixed_mapped
=yes
7008 ac_cv_func_mmap_fixed_mapped
=no
7010 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7011 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7016 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7017 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7019 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7022 rm -f conftest.mmap conftest.txt
7027 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7028 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7029 aros_config_ldflags
=""
7031 aros_shared_default
=yes
7033 aros_shared_cflags
="-fPIC"
7034 aros_shared_aflags
=""
7035 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7036 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7038 aros_kernel_ar_flags
="cr"
7039 aros_target_ar_flags
="cr"
7040 aros_target_nm_flags
="-C -ul"
7041 aros_target_strip_flags
="--strip-unneeded -R.comment"
7046 aros_target_genmap
="-Wl,-Map -Xlinker"
7048 # Native flavour stuff
7049 aros_serial_debug
="0"
7051 # Palm native flavour stuff
7052 aros_palm_debug_hack
="0"
7054 # Unix flavour stuff
7055 aros_nesting_supervisor
="0"
7057 # Collect-aros stuff: "-ius" to ignore undefined symbols
7058 ignore_undefined_symbols
=""
7060 # Check for X11 by default
7063 #-----------------------------------------------------------------------------
7066 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7067 # it switched on by default, and we use the host compiler, so it compiles AROS
7068 # code with this enabled resulting in link failures as we don't have support
7071 # We use two methods to disable it. For the host compiler (used to compile
7072 # some hosted modules), we test to see if the compiler supports stack
7073 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7074 # work on all platforms.
7076 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7077 # (this is done unconditionally, as it should have no effect on compilers
7078 # without the stack protection feature). This may be specific to the way that
7079 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7080 # strong enough to disable it in a generic way though, so we'll live with it
7081 # until another vendor ships GCC with it enabled in a different way, and deal
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7086 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7087 save_cflags
="$CFLAGS"
7088 CFLAGS
="$CFLAGS -fno-stack-protector"
7089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7090 /* end confdefs.h. */
7100 if ac_fn_c_try_compile
"$LINENO"; then :
7101 use_no_stack_protector
="yes"
7103 use_no_stack_protector
="no"
7105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7107 $as_echo "$use_no_stack_protector" >&6; }
7108 if test "x-$use_no_stack_protector" = "x-yes" ; then
7109 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7111 CFLAGS
="$save_cflags"
7113 #-----------------------------------------------------------------------------
7115 # Disable pointer-signedness warnings if the compiler recognises the option
7116 # (this only works for the host compiler at the moment)
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7119 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7120 save_cflags
="$CFLAGS"
7121 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7123 /* end confdefs.h. */
7133 if ac_fn_c_try_compile
"$LINENO"; then :
7134 use_no_sign_warning
="yes"
7136 use_no_sign_warning
="no"
7138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7140 $as_echo "$use_no_sign_warning" >&6; }
7141 if test "x-$use_no_sign_warning" = "x-yes" ; then
7142 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7144 CFLAGS
="$save_cflags"
7146 #-----------------------------------------------------------------------------
7148 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7151 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7152 save_cflags
="$CFLAGS"
7153 CFLAGS
="$CFLAGS -fgnu89-inline"
7154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7155 /* end confdefs.h. */
7165 if ac_fn_c_try_compile
"$LINENO"; then :
7166 use_gnu89_inline
="yes"
7168 use_gnu89_inline
="no"
7170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7172 $as_echo "$use_gnu89_inline" >&6; }
7173 if test "x-$use_gnu89_inline" = "x-yes" ; then
7174 gnu89_inline
="-fgnu89-inline"
7176 CFLAGS
="$save_cflags"
7178 #-----------------------------------------------------------------------------
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7181 $as_echo_n "checking for type of build... " >&6; }
7182 # Check whether --enable-build_type was given.
7183 if test "${enable_build_type+set}" = set; then :
7184 enableval
=$enable_build_type; build_type
=$enableval
7186 build_type
="personal"
7190 if test "$build_type" = "nightly"; then
7191 build_type_string
="NIGHTLY"
7192 elif test "$build_type" = "snapshot"; then
7193 build_type_string
="SNAPSHOT"
7194 elif test "$build_type" = "milestone"; then
7195 build_type_string
="MILESTONE"
7196 elif test "$build_type" = "release"; then
7197 build_type_string
="RELEASE"
7199 build_type_string
="PERSONAL"
7200 build_type
="personal"
7203 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7206 $as_echo "$build_type" >&6; }
7208 #-----------------------------------------------------------------------------
7209 all_debug_types
="messages stack modules mungwall symbols"
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7212 $as_echo_n "checking which debug types to enable... " >&6; }
7213 # Check whether --enable-debug was given.
7214 if test "${enable_debug+set}" = set; then :
7215 enableval
=$enable_debug; debug
="$enableval"
7221 if test "$debug" = "" -o "$debug" = "no"; then
7223 elif test "$debug" = "yes"; then
7227 if test "$debug" = "all" ; then
7228 debug
="messages stack modules symbols"
7229 for d
in $all_debug_types; do
7230 export aros_
${d}_debug
="1"
7233 for d
in $all_debug_types; do
7234 export aros_
${d}_debug
="0"
7238 if test "$debug" != "none"; then
7239 debug
=`echo $debug | sed s/,/\ /g`
7242 for d2
in $all_debug_types; do
7243 if test "$d2" = "$d"; then
7248 if test "$found" = "0"; then
7249 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7251 export aros_
${d}_debug
="1"
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7256 $as_echo "$debug" >&6; }
7258 if test "$aros_messages_debug" = "1"; then
7259 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7261 aros_messages_debug
=""
7263 if test "$aros_symbols_debug" = "1"; then
7264 aros_symbols_debug
="-g"
7266 aros_symbols_debug
=""
7269 # These are the flags to pass when compiling debugged programs
7270 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7271 aros_debug_aflags
=""
7272 aros_debug_ldflags
="$aros_symbols_debug"
7274 #-----------------------------------------------------------------------------
7275 # Checking for distcc and ccache.
7277 # Always apply the transforms in this particular order. Basically you should
7278 # always run 'ccache distcc compiler' in that order for the best performance.
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7281 $as_echo_n "checking whether to enable distcc... " >&6; }
7282 # Check whether --enable-distcc was given.
7283 if test "${enable_distcc+set}" = set; then :
7284 enableval
=$enable_distcc; distcc
="$enableval"
7289 if test "$distcc" != "" -a "$distcc" != "no"; then
7290 # AC_CHECK_PROG will print out the result in this case
7291 # Extract the first word of "distcc", so it can be a program name with args.
7292 set dummy distcc
; ac_word
=$2
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7294 $as_echo_n "checking for $ac_word... " >&6; }
7295 if ${ac_cv_path_DISTCC+:} false
; then :
7296 $as_echo_n "(cached) " >&6
7300 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7307 test -z "$as_dir" && as_dir
=.
7308 for ac_exec_ext
in '' $ac_executable_extensions; do
7309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7310 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7318 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7322 DISTCC
=$ac_cv_path_DISTCC
7323 if test -n "$DISTCC"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7325 $as_echo "$DISTCC" >&6; }
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7334 $as_echo "no" >&6; }
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7338 $as_echo_n "checking whether to enable ccache... " >&6; }
7339 # Check whether --enable-ccache was given.
7340 if test "${enable_ccache+set}" = set; then :
7341 enableval
=$enable_ccache; ccache
="$enableval"
7346 if test "$ccache" != "" -a "$ccache" != "no"; then
7347 # AC_CHECK_PROG will print out the result in this case
7348 # Extract the first word of "ccache", so it can be a program name with args.
7349 set dummy ccache
; ac_word
=$2
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7351 $as_echo_n "checking for $ac_word... " >&6; }
7352 if ${ac_cv_prog_CCACHE+:} false
; then :
7353 $as_echo_n "(cached) " >&6
7355 if test -n "$CCACHE"; then
7356 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7362 test -z "$as_dir" && as_dir
=.
7363 for ac_exec_ext
in '' $ac_executable_extensions; do
7364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7365 ac_cv_prog_CCACHE
="ccache"
7366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7375 CCACHE
=$ac_cv_prog_CCACHE
7376 if test -n "$CCACHE"; then
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7378 $as_echo "$CCACHE" >&6; }
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7381 $as_echo "no" >&6; }
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7387 $as_echo "no" >&6; }
7390 #-----------------------------------------------------------------------------
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7392 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7394 # Check whether --with-gcc-version was given.
7395 if test "${with_gcc_version+set}" = set; then :
7396 withval
=$with_gcc_version; kernel_tool_version
="$withval"
7398 kernel_tool_version
="default"
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7402 $as_echo "$kernel_tool_version" >&6; }
7404 #-----------------------------------------------------------------------------
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7406 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7408 # Check whether --with-gcc-version was given.
7409 if test "${with_gcc_version+set}" = set; then :
7410 withval
=$with_gcc_version; target_tool_version
="$withval"
7412 target_tool_version
="default"
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7416 $as_echo "$target_tool_version" >&6; }
7418 #-----------------------------------------------------------------------------
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7420 $as_echo_n "checking what optimization flags to use... " >&6; }
7422 # Check whether --with-optimization was given.
7423 if test "${with_optimization+set}" = set; then :
7424 withval
=$with_optimization; optimization
="$withval"
7426 optimization
="unknown"
7429 if test "$optimization" = "unknown"; then
7430 if test "$debug" != "none"; then
7436 aros_config_cflags
="$aros_config_cflags $optimization"
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7438 $as_echo "$optimization" >&6; }
7440 #-----------------------------------------------------------------------------
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7442 $as_echo_n "checking what paranoia flags to use... " >&6; }
7444 # Check whether --with-paranoia was given.
7445 if test "${with_paranoia+set}" = set; then :
7446 withval
=$with_paranoia; paranoia_flags
="$withval"
7448 paranoia_flags
="default"
7451 if test "$paranoia_flags" = "default"; then
7453 else if test "$paranoia_flags" = "yes"; then
7454 paranoia_flags
="-Wall -Werror"
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7457 $as_echo "$paranoia_flags" >&6; }
7458 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7460 #-----------------------------------------------------------------------------
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7462 $as_echo_n "checking what target variant to enable... " >&6; }
7463 # Check whether --enable-target_variant was given.
7464 if test "${enable_target_variant+set}" = set; then :
7465 enableval
=$enable_target_variant; target_variant
=$enableval
7470 if test "$target_variant" = ""; then
7471 aros_target_variant
=""
7472 aros_target_suffix
=""
7475 aros_target_variant
="$target_variant"
7476 aros_target_suffix
="-$target_variant"
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7479 $as_echo "$enableval" >&6; }
7481 #-----------------------------------------------------------------------------
7482 # Target-specific defaults. You can override then on a per-target basis.
7484 # Bootloader name. Currently used by PC target.
7485 target_bootloader
="none"
7487 #-----------------------------------------------------------------------------
7488 # Additional options for some specific targets
7490 case "$aros_target_variant" in
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7493 $as_echo_n "checking XCode path... " >&6; }
7495 # Check whether --with-xcode was given.
7496 if test "${with_xcode+set}" = set; then :
7497 withval
=$with_xcode; aros_xcode_path
="$withval"
7499 aros_xcode_path
="/Developer"
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7503 $as_echo "$aros_xcode_path" >&6; }
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7506 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7508 # Check whether --with-sdk-version was given.
7509 if test "${with_sdk_version+set}" = set; then :
7510 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7512 aros_sdk_version
="4.1"
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7516 $as_echo "$aros_sdk_version" >&6; }
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7522 $as_echo_n "checking Android SDK path... " >&6; }
7524 # Check whether --with-sdk was given.
7525 if test "${with_sdk+set}" = set; then :
7526 withval
=$with_sdk; aros_android_sdk
="$withval"
7528 aros_android_sdk
=$default_android_sdk
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7532 $as_echo "$aros_android_sdk" >&6; }
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7535 $as_echo_n "checking Android NDK path... " >&6; }
7537 # Check whether --with-ndk was given.
7538 if test "${with_ndk+set}" = set; then :
7539 withval
=$with_ndk; aros_android_ndk
="$withval"
7541 aros_android_ndk
="none"
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7545 $as_echo "$aros_android_ndk" >&6; }
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7548 $as_echo_n "checking what Android SDK version to use... " >&6; }
7550 # Check whether --with-sdk-version was given.
7551 if test "${with_sdk_version+set}" = set; then :
7552 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7554 aros_sdk_version
="12"
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7558 $as_echo "$aros_sdk_version" >&6; }
7560 if test "$aros_android_ndk" != "none"; then
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7562 $as_echo_n "checking what Android NDK version to use... " >&6; }
7564 # Check whether --with-ndk-version was given.
7565 if test "${with_ndk_version+set}" = set; then :
7566 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7568 aros_ndk_version
="9"
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7572 $as_echo "$aros_ndk_version" >&6; }
7575 export PATH
="$aros_android_sdk/tools:$PATH"
7576 # Extract the first word of "$android_tool", so it can be a program name with args.
7577 set dummy
$android_tool; ac_word
=$2
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7579 $as_echo_n "checking for $ac_word... " >&6; }
7580 if ${ac_cv_path_android_tool+:} false
; then :
7581 $as_echo_n "(cached) " >&6
7583 case $android_tool in
7585 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7592 test -z "$as_dir" && as_dir
=.
7593 for ac_exec_ext
in '' $ac_executable_extensions; do
7594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7595 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7606 android_tool
=$ac_cv_path_android_tool
7607 if test -n "$android_tool"; then
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7609 $as_echo "$android_tool" >&6; }
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7612 $as_echo "no" >&6; }
7616 if test "$android_tool" = ""; then
7617 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7620 aros_android_level
=android-
$aros_sdk_version
7621 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7622 echo "Platform $aros_android_level is not installed in your SDK"
7623 echo "Use --with-sdk-version=<API level number> to select another platform version"
7624 echo "You can check what plaform versions are installed in your SDK"
7625 echo "by examining contents of $aros_android_sdk/platforms directory"
7626 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7629 # Extract the first word of "ant", so it can be a program name with args.
7630 set dummy ant
; ac_word
=$2
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7632 $as_echo_n "checking for $ac_word... " >&6; }
7633 if ${ac_cv_path_ant+:} false
; then :
7634 $as_echo_n "(cached) " >&6
7638 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7645 test -z "$as_dir" && as_dir
=.
7646 for ac_exec_ext
in '' $ac_executable_extensions; do
7647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7648 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7660 if test -n "$ant"; then
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7662 $as_echo "$ant" >&6; }
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7665 $as_echo "no" >&6; }
7669 if test "$ant" = ""; then
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7671 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7674 if test "$host_os" = "mingw32"; then
7675 android_tool
="cmd //c $android_tool"
7681 #-----------------------------------------------------------------------------
7682 # External toolchains
7683 kernel_tool_prefix
="none"
7684 aros_tool_prefix
="none"
7685 elf_tool_prefix
="${target_cpu}-elf-"
7687 # This is the target configuration switch.
7688 case "$target_os" in
7690 aros_target_arch
="linux"
7691 aros_target_family
="unix"
7692 case "$target_cpu" in
7694 aros_target_cpu
="m68k"
7695 aros_object_format
="m68kelf"
7696 aros_flavour
="emulcompat"
7697 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7698 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7699 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7700 gcc_target_cpu
="mc68000"
7703 aros_target_cpu
="i386"
7704 aros_object_format
="elf_i386"
7705 aros_flavour
="emulation"
7706 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7707 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7708 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7709 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7710 aros_config_ldflags
="-m32 -march=i486"
7711 aros_kernel_ldflags
="-melf_i386"
7712 aros_default_wbdepth
=8
7713 gcc_target_cpu
="i386"
7714 pci_hidd_target
="hidd-pci-linux"
7715 android_tool_dir_prefix
="x86"
7716 android_tool_prefix
="i686-android-linux"
7717 android_ndk_arch
="x86"
7720 aros_target_cpu
="x86_64"
7721 aros_object_format
="elf_x86_64"
7722 aros_flavour
="emulation"
7723 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7724 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7725 aros_default_wbdepth
=8
7726 pci_hidd_target
="hidd-pci-linux"
7729 aros_target_cpu
="ppc"
7730 aros_object_format
="elf32ppc"
7731 aros_flavour
="emulation"
7732 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7733 aros_default_wbdepth
=8
7734 gcc_target_cpu
="ppc"
7737 # Same as powerpc, but I need this for the nightly build to work again.
7738 # Actually, the nightly should be made working with powerpc target.
7739 # That just was too much work for the moment, another week or two.
7741 aros_target_cpu
="ppc"
7742 aros_object_format
="elf32ppc"
7743 aros_flavour
="emulation"
7744 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7745 aros_default_wbdepth
=8
7746 gcc_target_cpu
="ppc"
7749 aros_target_cpu
="arm"
7750 aros_object_format
="armelf_linux_eabi"
7751 aros_flavour
="emulation"
7752 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7753 gcc_target_cpu
="arm"
7754 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7755 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7756 aros_arch_libs
="-laeabi"
7757 android_tool_dir_prefix
="arm-linux-androideabi"
7758 android_tool_prefix
="arm-linux-androideabi"
7759 android_ndk_arch
="arm"
7760 if test "$aros_host_cpu" != "arm" ; then
7761 kernel_tool_prefix
="arm-linux-gnueabi-"
7765 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7768 case "$aros_target_variant" in
7771 if test "$android_ndk_arch" = ""; then
7772 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7775 aros_default_wbwidth
=320
7776 aros_default_wbheight
=480
7777 if test "$aros_android_ndk" = "none"; then
7778 aros_kernel_cflags
="-mandroid"
7779 aros_kernel_ldflags
="-mandroid"
7782 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7783 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7784 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7785 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7786 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7787 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7790 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7791 # Disable implicit PIC mode
7792 aros_target_cflags
="$aros_target_cflags -fno-pic"
7793 kernel_tool_prefix
="$android_tool_prefix-"
7799 aros_target_arch
="pc"
7800 aros_shared_default
="no"
7801 target_bootloader
="grub2"
7802 case "$target_cpu" in
7804 aros_target_cpu
="i386"
7807 if test "$aros_object_format" = "" ; then
7808 aros_object_format
="elf_i386"
7810 aros_flavour
="standalone"
7811 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7812 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7813 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7814 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7815 aros_config_ldflags
="-m32 -march=i486"
7816 aros_kernel_ldflags
="-melf_i386"
7817 aros_default_wbwidth
=640
7818 aros_default_wbheight
=480
7819 gcc_target_cpu
="i386"
7822 aros_target_cpu
="x86_64"
7824 if test "$aros_object_format" = "" ; then
7825 aros_object_format
="elf_x86_64"
7827 aros_flavour
="standalone"
7828 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7829 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7830 aros_kernel_ldflags
=""
7831 aros_default_wbwidth
=640
7832 aros_default_wbheight
=480
7835 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7841 aros_target_arch
="prep"
7842 aros_shared_default
="no"
7843 aros_target_cpu
="ppc"
7844 aros_object_format
="elf32ppc"
7845 aros_flavour
="ppcnative"
7846 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7847 aros_kernel_ldflags
=""
7848 aros_default_wbwidth
=640
7849 aros_default_wbheight
=480
7850 gcc_target_cpu
="ppc"
7854 aros_target_arch
="freebsd"
7855 aros_target_family
="unix"
7856 aros_target_cpu
="i386"
7857 aros_flavour
="emulation"
7858 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7859 gcc_target_cpu
="i386"
7861 aros_target_strip_flags
="-x"
7865 aros_target_arch
="darwin"
7866 aros_target_family
="unix"
7867 aros_flavour
="emulation"
7868 case "$target_cpu" in
7870 aros_ios_platform
="iPhoneSimulator"
7871 aros_target_cpu
="i386"
7872 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7873 aros_kernel_ldflags
=""
7874 aros_macosx_version
="10.4"
7875 aros_default_wbdepth
=8
7876 gcc_target_cpu
="i386"
7877 aros_object_format
="elf_i386"
7878 aros_kernel_ar_flags
="-cr"
7879 aros_target_strip_flags
="-x"
7880 kernel_tool_flags
="-m32"
7883 aros_target_cpu
="x86_64"
7884 aros_object_format
="elf_x86_64"
7885 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7886 aros_macosx_version
="10.6"
7887 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7888 aros_kernel_cflags
="-m64"
7889 aros_kernel_ldflags
="-m64"
7890 aros_target_cflags
="-mcmodel=large"
7891 aros_default_wbdepth
=8
7893 aros_kernel_ar_flags
="-cr"
7895 aros_kernel_ranlib
="ranlib"
7898 aros_target_cpu
="ppc"
7899 aros_object_format
="elf32ppc"
7900 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7901 aros_kernel_ldflags
=""
7902 aros_macosx_version
="10.0"
7903 aros_default_wbdepth
=8
7904 gcc_target_cpu
="ppc"
7906 aros_kernel_ar_flags
="-cr"
7907 aros_kernel_ld
="ld -arch ppc"
7908 aros_kernel_ranlib
="ranlib -arch ppc"
7909 kernel_tool_prefix
="powerpc-apple-darwin10-"
7912 aros_ios_platform
="iPhoneOS"
7913 aros_target_cpu
="arm"
7914 aros_object_format
="armelf_linux_eabi"
7915 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7916 aros_arch_libs
="-laeabi"
7917 aros_default_wbdepth
=8
7918 gcc_target_cpu
="arm"
7920 aros_kernel_ar_flags
="-cr"
7921 aros_kernel_ld
="ld -arch arm"
7922 aros_kernel_ranlib
="ranlib -arch arm"
7923 kernel_tool_prefix
="arm-apple-darwin10-"
7924 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7927 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7930 case "$aros_target_variant" in
7932 aros_ios_version
="3.0"
7933 aros_default_wbwidth
=320
7934 aros_default_wbheight
=480
7935 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
7936 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
7937 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7939 # This is here because it may depend on iOS or SDK version
7940 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7941 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7942 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7945 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7946 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7952 aros_target_arch
="dragonfly"
7953 aros_target_family
="unix"
7954 aros_flavour
="emulation"
7955 case "$target_cpu" in
7957 aros_target_cpu
="i386"
7958 aros_object_format
="elf_i386"
7959 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7962 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7963 aros_target_cpu
="x86_64"
7964 aros_object_format
="elf_x86_64"
7965 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7968 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7974 aros_target_arch
="netbsd"
7975 aros_target_family
="unix"
7976 case "$target_cpu" in
7978 aros_target_cpu
="m68k"
7979 aros_object_format
="m68kelf"
7980 aros_flavour
="emulcompat"
7981 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7982 gcc_target_cpu
="mc68000"
7985 aros_target_cpu
="i386"
7986 aros_object_format
="elf_i386"
7987 aros_flavour
="emulation"
7988 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7989 aros_default_wbdepth
=8
7990 gcc_target_cpu
="i386"
7993 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7996 aros_target_genmap
="-Wl,-M -Xlinker >"
7997 aros_flavour
="emulation"
7998 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8002 aros_target_arch
="openbsd"
8003 aros_target_family
="unix"
8004 case "$target_cpu" in
8006 aros_target_cpu
="i386"
8007 aros_object_format
="elf_i386"
8008 aros_flavour
="emulation"
8009 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8010 gcc_target_cpu
="i386"
8013 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8016 aros_target_genmap
="-Wl,-M -Xlinker >"
8017 aros_target_nm_flags
="-u"
8018 aros_flavour
="emulation"
8022 aros_target_arch
="solaris"
8023 aros_target_family
="unix"
8024 case "$target_cpu" in
8026 aros_target_cpu
="i386"
8027 aros_object_format
="elf_i386"
8028 aros_flavour
="emulation"
8029 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8030 aros_default_wbdepth
=8
8031 gcc_target_cpu
="i386"
8034 aros_target_cpu
="sparc"
8035 aros_object_format
="elf_sparc"
8036 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8037 gcc_target_cpu
="sparc"
8040 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8043 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8044 aros_flavour
="emulation"
8048 aros_target_arch
="morphos"
8049 aros_shared_default
="no"
8050 aros_target_cpu
="ppc"
8051 aros_object_format
="elf_ppc"
8052 aros_flavour
="nativecompat"
8053 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8054 gcc_target_cpu
="ppc"
8058 aros_target_arch
="sam440"
8059 aros_shared_default
="no"
8060 aros_target_cpu
="ppc"
8061 aros_object_format
="elf32ppc"
8062 aros_flavour
="ppcnative"
8063 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8064 aros_kernel_ldflags
=""
8065 aros_default_wbwidth
=1024
8066 aros_default_wbheight
=768
8067 aros_default_wbdepth
=24
8068 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8069 gcc_target_cpu
="powerpc"
8073 aros_target_arch
="efika"
8074 aros_shared_default
="no"
8075 aros_target_cpu
="arm"
8076 aros_object_format
="armelf_linux_eabi"
8077 aros_flavour
="standalone"
8078 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8079 aros_kernel_ldflags
=""
8080 aros_default_wbwidth
=1024
8081 aros_default_wbheight
=600
8082 aros_arch_libs
="-laeabi"
8083 gcc_default_cpu
="armv7-a"
8084 gcc_default_fpu
="vfpv3"
8085 gcc_default_float_abi
="softfp"
8086 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8087 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8091 aros_target_arch
="chrp"
8092 aros_shared_default
="no"
8093 aros_target_cpu
="ppc"
8094 aros_object_format
="elf32ppc"
8095 aros_flavour
="ppcnative"
8096 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8097 aros_kernel_ldflags
=""
8098 aros_default_wbwidth
=640
8099 aros_default_wbheight
=480
8100 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8101 gcc_target_cpu
="powerpc"
8102 case "$aros_target_variant" in
8104 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8110 aros_target_arch
="amiga"
8111 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8112 aros_shared_default
="no"
8114 case "$target_cpu" in
8116 # Check whether --enable-amigaos_compliance was given.
8117 if test "${enable_amigaos_compliance+set}" = set; then :
8118 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8122 aros_target_cpu
="m68k"
8123 aros_object_format
="m68kelf"
8124 aros_flavour
="standcompat"
8125 gcc_target_cpu
="m68000"
8126 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -Os"
8127 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
8128 # Needed to get the correct multilib
8129 aros_config_ldflags
="-${gcc_target_cpu}"
8130 aros_shared_ldflags
="-${gcc_target_cpu}"
8131 aros_kernel_ldflags
="-${gcc_target_cpu}"
8132 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
8133 aros_target_strip_flags
="-R.comment --strip-debug"
8134 aros_default_wbwidth
=640
8135 aros_default_wbheight
=256
8136 aros_default_wbdepth
=2
8140 aros_flavour
="native"
8141 gcc_target_cpu
="ppc"
8144 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8150 aros_target_arch
="mingw32"
8151 aros_shared_default
="no"
8152 aros_flavour
="emulation"
8153 aros_shared_cflags
=""
8154 need_crosstools
="yes"
8157 case "$target_cpu" in
8159 aros_target_cpu
="i386"
8160 aros_object_format
="elf_i386"
8161 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8162 aros_default_wbdepth
=8
8163 gcc_target_cpu
="i386"
8165 kernel_tool_prefix
="i386-mingw32-"
8168 aros_target_cpu
="x86_64"
8169 aros_object_format
="elf_x86_64"
8170 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8171 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8172 aros_default_wbdepth
=8
8173 kernel_tool_prefix
="x86_64-w64-mingw32-"
8176 aros_target_cpu
="arm"
8177 aros_object_format
="armelf_linux_eabi"
8178 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8179 aros_arch_libs
="-laeabi"
8180 aros_default_wbdepth
=8
8181 gcc_target_cpu
="arm"
8182 gcc_default_float_abi
="soft"
8183 kernel_tool_prefix
="arm-mingw32ce-"
8184 aros_default_wbwidth
=160
8185 aros_default_wbheight
=160
8188 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8191 if test $host_os = "cygwin"; then
8192 aros_kernel_cflags
="-mno-cygwin"
8196 aros_target_arch
="pp"
8197 aros_shared_default
="no"
8198 case "$target_cpu" in
8200 aros_target_cpu
="m68k"
8201 aros_object_format
="m68kelf"
8202 aros_flavour
="palmnative"
8203 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8204 aros_default_wbwidth
=160
8205 aros_default_wbheight
=160
8206 aros_default_wbdepth
=1
8207 aros_target_ar_flags
="cru"
8208 aros_compiler_libs
="-lgcc1"
8209 aros_shared_default
=no
8210 aros_shared_cflags
="-fpic"
8211 aros_shared_aflags
=""
8212 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8213 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8214 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8215 aros_debug_aflags
=""
8216 aros_debug_ldflags
="$aros_symbols_debug"
8217 aros_mungwall_debug
="0"
8218 aros_modules_debug
="0"
8219 gcc_target_cpu
="mc68000"
8220 ignore_undefined_symbols
="-ius"
8223 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8229 aros_target_arch
="mac"
8230 aros_shared_default
="no"
8231 case "$target_cpu" in
8233 aros_target_cpu
="m68k"
8234 aros_object_format
="m68kelf"
8235 aros_flavour
="mac68knative"
8236 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8237 aros_default_wbwidth
=512
8238 aros_default_wbheight
=384
8239 aros_default_wbdepth
=8
8240 aros_target_ar_flags
="cru"
8241 aros_compiler_libs
="-lgcc1"
8242 aros_shared_default
=no
8243 aros_shared_cflags
="-fpic"
8244 aros_shared_aflags
=""
8245 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8246 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8247 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000"
8248 aros_debug_aflags
=""
8249 aros_debug_ldflags
="$aros_symbols_debug"
8250 aros_mungwall_debug
="0"
8251 aros_modules_debug
="0"
8252 gcc_target_cpu
="mc68000"
8253 ignore_undefined_symbols
="-ius"
8256 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8262 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8266 #-----------------------------------------------------------------------------
8267 crosstools_guess
=yes
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8270 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8272 # Check whether --with-kernel-toolchain-prefix was given.
8273 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8274 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8278 $as_echo "$kernel_tool_prefix" >&6; }
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8281 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8283 # Check whether --with-elf-toolchain-prefix was given.
8284 if test "${with_elf_toolchain_prefix+set}" = set; then :
8285 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8290 $as_echo "$elf_tool_prefix" >&6; }
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8293 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8295 # Check whether --with-aros-toolchain-prefix was given.
8296 if test "${with_aros_toolchain_prefix+set}" = set; then :
8297 withval
=$with_aros_toolchain_prefix; aros_tool_prefix
="$withval"
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8302 $as_echo "$aros_tool_prefix" >&6; }
8304 #-----------------------------------------------------------------------------
8305 # Checking if we should build crosstools..
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8307 $as_echo_n "checking whether to build crosstools... " >&6; }
8308 # Check whether --enable-crosstools was given.
8309 if test "${enable_crosstools+set}" = set; then :
8310 enableval
=$enable_crosstools; crosstools
="$enableval"
8312 crosstools
="$crosstools_guess"
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8316 $as_echo "$crosstools" >&6; }
8318 if test "${crosstools}" = "yes"; then
8319 if test "${crosstools_guess}" = "no"; then
8320 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8324 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8326 # Check whether --with-aros-toolchain-install was given.
8327 if test "${with_aros_toolchain_install+set}" = set; then :
8328 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8331 if test "x$aros_toolchain_install" = "x"; then
8332 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8334 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8335 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8338 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8342 # Now process extra architecture-specific options.
8343 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8344 # as well as floating-point ABI.
8345 case "$aros_target_cpu" in
8347 if test "$gcc_default_cpu" = ""; then
8348 gcc_default_cpu
="armv6"
8350 if test "$gcc_default_fpu" = ""; then
8351 gcc_default_fpu
="vfp"
8353 if test "$gcc_default_float_abi" = ""; then
8354 gcc_default_float_abi
="softfp"
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8358 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8360 # Check whether --with-cpu was given.
8361 if test "${with_cpu+set}" = set; then :
8362 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8364 aros_gcc_cpu
=$gcc_default_cpu
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8368 $as_echo "$aros_gcc_cpu" >&6; }
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8371 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8373 # Check whether --with-fpu was given.
8374 if test "${with_fpu+set}" = set; then :
8375 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8377 aros_gcc_fpu
=$gcc_default_fpu
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8381 $as_echo "$aros_gcc_fpu" >&6; }
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8384 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8386 # Check whether --with-float was given.
8387 if test "${with_float+set}" = set; then :
8388 withval
=$with_float; aros_gcc_float_abi
="$withval"
8390 aros_gcc_float_abi
=$gcc_default_float_abi
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8394 $as_echo "$aros_gcc_float_abi" >&6; }
8396 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"
8397 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"
8401 # Some formats need custom ELF specs.
8402 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8403 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8404 elf_specs_in
=config
/${aros_object_format}-specs.
in
8406 elf_specs_in
=config
/elf-specs.
in
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8410 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8412 # Check whether --with-aros-gcc was given.
8413 if test "${with_aros_gcc+set}" = set; then :
8414 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8420 $as_echo "$aros_gcc_version" >&6; }
8422 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8423 # Since we override specs, we may need to put these defines there
8424 if test "$gcc_target_cpu" != ""; then
8425 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8429 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8431 # Check whether --with-portssources was given.
8432 if test "${with_portssources+set}" = set; then :
8433 withval
=$with_portssources; with_portssrcdir
=$withval
8435 with_portssrcdir
="default"
8438 if test "$with_portssrcdir" = "default"; then
8439 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8441 AROS_PORTSSRCDIR
="$with_portssrcdir"
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8444 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8447 $as_echo_n "checking which bootloader to use... " >&6; }
8449 # Check whether --with-bootloader was given.
8450 if test "${with_bootloader+set}" = set; then :
8451 withval
=$with_bootloader; target_bootloader
=$withval
8453 target_bootloader
=$target_bootloader
8456 if test "$target_bootloader" = "none"; then
8457 aros_target_bootloader
=""
8459 aros_target_bootloader
="$target_bootloader"
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8462 $as_echo "$target_bootloader" >&6; }
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8465 $as_echo_n "checking which icon-set to use... " >&6; }
8467 # Check whether --with-iconset was given.
8468 if test "${with_iconset+set}" = set; then :
8469 withval
=$with_iconset; target_iconset
=$withval
8471 target_iconset
="default"
8474 if test "$target_iconset" = "default"; then
8475 aros_target_iconset
="Gorilla"
8476 target_iconset
="default (Gorilla)"
8478 aros_target_iconset
="$target_iconset"
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8481 $as_echo "$target_iconset" >&6; }
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8484 $as_echo_n "checking which GUI Theme to use... " >&6; }
8486 # Check whether --with-theme was given.
8487 if test "${with_theme+set}" = set; then :
8488 withval
=$with_theme; target_guitheme
=$withval
8490 target_guitheme
="default"
8493 if test "$target_guitheme" = "default"; then
8494 aros_target_guitheme
="Ice"
8496 aros_target_guitheme
="$target_guitheme"
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8499 $as_echo "$aros_target_guitheme" >&6; }
8501 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8504 if test "$aros_host_cpu" = "$aros_target_cpu" ; then
8505 # If host = target CPU, let's try to use the
8506 # host's toolchains if no others were requested
8507 if test "$kernel_tool_prefix" = "none" ; then
8508 kernel_tool_prefix
=""
8514 if test "$aros_host_cpu" == "x86_64" ; then
8515 if test "$aros_target_cpu" == "i386" ; then
8516 if test "$aros_target_arch" != "mingw32"; then
8518 kernel_tool_prefix
=""
8523 if test "$aros_host_arch" == "darwin" ; then
8524 if test "$aros_target_arch" != "darwin" ; then
8528 kernel_tool_prefix
=""
8532 if test "$aros_host_arch" == "mingw32" ; then
8533 if test "$aros_target_arch" != "mingw32" ; then
8537 kernel_tool_prefix
=""
8541 #######################################################################
8542 ## Compute what toolchains to use, and their paths ##
8543 #######################################################################
8545 # This takes, as input:
8546 # crosstools {yes,no}
8547 # aros_gcc_version {default,[version]}
8548 # kernel_tool_prefix {none,[some-arch-os-]}
8549 # aros_tool_prefix ${target_cpu}-aros-
8552 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8553 # Where the 'kernel' binaries are located
8554 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8555 # Where the 'target' binaries are located
8556 # (not the symlink farm - that is aros_target_*!)
8559 # if crosstools then
8560 # if kernel_tools_prefix = "no-kernel-prefix-"
8561 # aros_kernel_* = crosstools cc paths
8562 # aros_kernel_cc = elf cc wrapper around crosstools cc
8564 # VALIDATE(${kernel_tools_prefix}*)
8565 # aros_kernel_* = ${kernel_tools_prefix}*
8566 # if ${kernel_tools_prefix}cc is an AROS gcc
8567 # aros_kernel_cc = ${kernel_tools_prefix}cc
8569 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8573 # orig_target_* = aros built crosstools
8574 # orig_target_cc = elf cc wrapper around crosstools cc
8576 # VALIDATE(${kernel_tools_prefix}*)
8578 # orig_target_* = aros_kernel_*
8579 # if aros_kernel_cc is an AROS gcc
8580 # orig_target_cc = aros_kernel_cc
8582 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8586 target_tool_prefix
="${target_cpu}-aros-"
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8589 $as_echo_n "checking which kernel tools... " >&6; }
8590 if test "$kernel_tool_prefix" = "none" ; then
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: target" >&5
8592 $as_echo "target" >&6; };
8593 # We are building AROS crosstools, and no kernel
8594 # tools specified - assume target tools == kernel tools
8595 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
8596 aros_kernel_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
8597 aros_kernel_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
8598 aros_kernel_cpp
="${tmp_tool_prefix}cpp"
8599 aros_kernel_ld
="${tmp_tool_prefix}ld"
8600 aros_kernel_as
="${tmp_tool_prefix}as"
8601 aros_kernel_ar
="${tmp_tool_prefix}ar"
8602 aros_kernel_ranlib
="${tmp_tool_prefix}ranlib"
8603 aros_kernel_nm
="${tmp_tool_prefix}nm"
8604 aros_kernel_strip
="${tmp_tool_prefix}strip"
8605 aros_kernel_objcopy
="${tmp_tool_prefix}objcopy"
8606 aros_kernel_objdump
="${tmp_tool_prefix}objdump"
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8609 $as_echo "$kernel_tool_prefix" >&6; };
8610 # Kernel tools required - find them
8611 # Note that 'normally', aros_kernel_* overrides will
8612 # empty, unless specified in the per-arch sections above.
8614 if test "$aros_kernel_cpp" = ""; then
8615 if test "$cross_compiling" = "yes" ; then
8616 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8617 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8619 $as_echo_n "checking for $ac_word... " >&6; }
8620 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8621 $as_echo_n "(cached) " >&6
8623 case $aros_kernel_cpp in
8625 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8632 test -z "$as_dir" && as_dir
=.
8633 for ac_exec_ext
in '' $ac_executable_extensions; do
8634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8635 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8646 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8647 if test -n "$aros_kernel_cpp"; then
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8649 $as_echo "$aros_kernel_cpp" >&6; }
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8652 $as_echo "no" >&6; }
8657 if test "$GCC" = "yes"; then
8658 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8659 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8660 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8662 $as_echo_n "checking for $ac_word... " >&6; }
8663 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8664 $as_echo_n "(cached) " >&6
8666 case $aros_kernel_cpp in
8668 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8672 for as_dir
in `dirname $aros_gcc_cpp`
8675 test -z "$as_dir" && as_dir
=.
8676 for ac_exec_ext
in '' $ac_executable_extensions; do
8677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8678 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8689 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8690 if test -n "$aros_kernel_cpp"; then
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8692 $as_echo "$aros_kernel_cpp" >&6; }
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8695 $as_echo "no" >&6; }
8700 if test "$aros_kernel_cpp" = ""; then
8701 # Extract the first word of "cpp", so it can be a program name with args.
8702 set dummy cpp
; ac_word
=$2
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8704 $as_echo_n "checking for $ac_word... " >&6; }
8705 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8706 $as_echo_n "(cached) " >&6
8708 case $aros_kernel_cpp in
8710 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8717 test -z "$as_dir" && as_dir
=.
8718 for ac_exec_ext
in '' $ac_executable_extensions; do
8719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8720 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8731 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8732 if test -n "$aros_kernel_cpp"; then
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8734 $as_echo "$aros_kernel_cpp" >&6; }
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8737 $as_echo "no" >&6; }
8744 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
8745 set dummy
$aros_kernel_cpp; ac_word
=$2
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8747 $as_echo_n "checking for $ac_word... " >&6; }
8748 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8749 $as_echo_n "(cached) " >&6
8751 case $aros_kernel_cpp in
8753 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8760 test -z "$as_dir" && as_dir
=.
8761 for ac_exec_ext
in '' $ac_executable_extensions; do
8762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8763 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8774 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8775 if test -n "$aros_kernel_cpp"; then
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8777 $as_echo "$aros_kernel_cpp" >&6; }
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8780 $as_echo "no" >&6; }
8786 if test "$aros_kernel_cpp" = ""; then
8787 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8789 if test "x$aros_kernel_cc" = "x"; then
8790 aros_kernel_cc
=${kernel_tool_prefix}gcc
8793 if test "$aros_kernel_cc${aros_gcc_version}" = ""; then
8794 if test "$cross_compiling" = "yes" ; then
8795 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8796 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8798 $as_echo_n "checking for $ac_word... " >&6; }
8799 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8800 $as_echo_n "(cached) " >&6
8802 case $aros_kernel_cc in
8804 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8811 test -z "$as_dir" && as_dir
=.
8812 for ac_exec_ext
in '' $ac_executable_extensions; do
8813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8814 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8825 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8826 if test -n "$aros_kernel_cc"; then
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8828 $as_echo "$aros_kernel_cc" >&6; }
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8831 $as_echo "no" >&6; }
8836 if test "$GCC" = "yes"; then
8837 aros_gcc_cc
=`$CC -print-prog-name=cc`
8838 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8839 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8841 $as_echo_n "checking for $ac_word... " >&6; }
8842 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8843 $as_echo_n "(cached) " >&6
8845 case $aros_kernel_cc in
8847 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8851 for as_dir
in `dirname $aros_gcc_cc`
8854 test -z "$as_dir" && as_dir
=.
8855 for ac_exec_ext
in '' $ac_executable_extensions; do
8856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8857 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8868 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8869 if test -n "$aros_kernel_cc"; then
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8871 $as_echo "$aros_kernel_cc" >&6; }
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8874 $as_echo "no" >&6; }
8879 if test "$aros_kernel_cc" = ""; then
8880 # Extract the first word of "cc", so it can be a program name with args.
8881 set dummy cc
; ac_word
=$2
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8883 $as_echo_n "checking for $ac_word... " >&6; }
8884 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8885 $as_echo_n "(cached) " >&6
8887 case $aros_kernel_cc in
8889 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8896 test -z "$as_dir" && as_dir
=.
8897 for ac_exec_ext
in '' $ac_executable_extensions; do
8898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8899 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8910 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8911 if test -n "$aros_kernel_cc"; then
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8913 $as_echo "$aros_kernel_cc" >&6; }
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8916 $as_echo "no" >&6; }
8923 # Extract the first word of "$aros_kernel_cc${aros_gcc_version}", so it can be a program name with args.
8924 set dummy
$aros_kernel_cc${aros_gcc_version}; ac_word
=$2
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8926 $as_echo_n "checking for $ac_word... " >&6; }
8927 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8928 $as_echo_n "(cached) " >&6
8930 case $aros_kernel_cc in
8932 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8939 test -z "$as_dir" && as_dir
=.
8940 for ac_exec_ext
in '' $ac_executable_extensions; do
8941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8942 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8953 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8954 if test -n "$aros_kernel_cc"; then
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8956 $as_echo "$aros_kernel_cc" >&6; }
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8959 $as_echo "no" >&6; }
8965 if test "$aros_kernel_cc" = ""; then
8966 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
8968 if test "x$aros_kernel_cxx" = "x"; then
8969 aros_kernel_cxx
=${kernel_tool_prefix}g
++
8972 if test "$aros_kernel_cxx${aros_gcc_version}" = ""; then
8973 if test "$cross_compiling" = "yes" ; then
8974 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
8975 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8977 $as_echo_n "checking for $ac_word... " >&6; }
8978 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
8979 $as_echo_n "(cached) " >&6
8981 case $aros_kernel_cxx in
8983 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
8986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8990 test -z "$as_dir" && as_dir
=.
8991 for ac_exec_ext
in '' $ac_executable_extensions; do
8992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8993 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
8994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9004 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9005 if test -n "$aros_kernel_cxx"; then
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9007 $as_echo "$aros_kernel_cxx" >&6; }
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9010 $as_echo "no" >&6; }
9015 if test "$GCC" = "yes"; then
9016 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9017 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9018 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9020 $as_echo_n "checking for $ac_word... " >&6; }
9021 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9022 $as_echo_n "(cached) " >&6
9024 case $aros_kernel_cxx in
9026 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9030 for as_dir
in `dirname $aros_gcc_cxx`
9033 test -z "$as_dir" && as_dir
=.
9034 for ac_exec_ext
in '' $ac_executable_extensions; do
9035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9036 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9047 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9048 if test -n "$aros_kernel_cxx"; then
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9050 $as_echo "$aros_kernel_cxx" >&6; }
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9053 $as_echo "no" >&6; }
9058 if test "$aros_kernel_cxx" = ""; then
9059 # Extract the first word of "cxx", so it can be a program name with args.
9060 set dummy cxx
; ac_word
=$2
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9062 $as_echo_n "checking for $ac_word... " >&6; }
9063 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9064 $as_echo_n "(cached) " >&6
9066 case $aros_kernel_cxx in
9068 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9075 test -z "$as_dir" && as_dir
=.
9076 for ac_exec_ext
in '' $ac_executable_extensions; do
9077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9078 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9089 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9090 if test -n "$aros_kernel_cxx"; then
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9092 $as_echo "$aros_kernel_cxx" >&6; }
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9095 $as_echo "no" >&6; }
9102 # Extract the first word of "$aros_kernel_cxx${aros_gcc_version}", so it can be a program name with args.
9103 set dummy
$aros_kernel_cxx${aros_gcc_version}; ac_word
=$2
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9105 $as_echo_n "checking for $ac_word... " >&6; }
9106 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9107 $as_echo_n "(cached) " >&6
9109 case $aros_kernel_cxx in
9111 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9118 test -z "$as_dir" && as_dir
=.
9119 for ac_exec_ext
in '' $ac_executable_extensions; do
9120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9121 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9132 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9133 if test -n "$aros_kernel_cxx"; then
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9135 $as_echo "$aros_kernel_cxx" >&6; }
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9138 $as_echo "no" >&6; }
9144 # If it's set, make sure it's really there
9145 if test "x$aros_kernel_cxx" != "x" ; then
9146 if test "$aros_kernel_cxx" = ""; then
9147 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9151 if test "$aros_kernel_ld" = ""; then
9152 if test "$cross_compiling" = "yes" ; then
9153 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9154 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9156 $as_echo_n "checking for $ac_word... " >&6; }
9157 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9158 $as_echo_n "(cached) " >&6
9160 case $aros_kernel_ld in
9162 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9169 test -z "$as_dir" && as_dir
=.
9170 for ac_exec_ext
in '' $ac_executable_extensions; do
9171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9172 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9183 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9184 if test -n "$aros_kernel_ld"; then
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9186 $as_echo "$aros_kernel_ld" >&6; }
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9189 $as_echo "no" >&6; }
9194 if test "$GCC" = "yes"; then
9195 aros_gcc_ld
=`$CC -print-prog-name=ld`
9196 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9197 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9199 $as_echo_n "checking for $ac_word... " >&6; }
9200 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9201 $as_echo_n "(cached) " >&6
9203 case $aros_kernel_ld in
9205 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9209 for as_dir
in `dirname $aros_gcc_ld`
9212 test -z "$as_dir" && as_dir
=.
9213 for ac_exec_ext
in '' $ac_executable_extensions; do
9214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9215 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9226 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9227 if test -n "$aros_kernel_ld"; then
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9229 $as_echo "$aros_kernel_ld" >&6; }
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9232 $as_echo "no" >&6; }
9237 if test "$aros_kernel_ld" = ""; then
9238 # Extract the first word of "ld", so it can be a program name with args.
9239 set dummy ld
; ac_word
=$2
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9241 $as_echo_n "checking for $ac_word... " >&6; }
9242 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9243 $as_echo_n "(cached) " >&6
9245 case $aros_kernel_ld in
9247 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9254 test -z "$as_dir" && as_dir
=.
9255 for ac_exec_ext
in '' $ac_executable_extensions; do
9256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9257 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9268 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9269 if test -n "$aros_kernel_ld"; then
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9271 $as_echo "$aros_kernel_ld" >&6; }
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9274 $as_echo "no" >&6; }
9281 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9282 set dummy
$aros_kernel_ld; ac_word
=$2
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9284 $as_echo_n "checking for $ac_word... " >&6; }
9285 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9286 $as_echo_n "(cached) " >&6
9288 case $aros_kernel_ld in
9290 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9297 test -z "$as_dir" && as_dir
=.
9298 for ac_exec_ext
in '' $ac_executable_extensions; do
9299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9300 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9311 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9312 if test -n "$aros_kernel_ld"; then
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9314 $as_echo "$aros_kernel_ld" >&6; }
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9317 $as_echo "no" >&6; }
9323 if test "$aros_kernel_ld" = ""; then
9324 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9327 if test "$aros_kernel_as" = ""; then
9328 if test "$cross_compiling" = "yes" ; then
9329 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9330 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9332 $as_echo_n "checking for $ac_word... " >&6; }
9333 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9334 $as_echo_n "(cached) " >&6
9336 case $aros_kernel_as in
9338 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9345 test -z "$as_dir" && as_dir
=.
9346 for ac_exec_ext
in '' $ac_executable_extensions; do
9347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9348 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9359 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9360 if test -n "$aros_kernel_as"; then
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9362 $as_echo "$aros_kernel_as" >&6; }
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9365 $as_echo "no" >&6; }
9370 if test "$GCC" = "yes"; then
9371 aros_gcc_as
=`$CC -print-prog-name=as`
9372 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9373 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9375 $as_echo_n "checking for $ac_word... " >&6; }
9376 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9377 $as_echo_n "(cached) " >&6
9379 case $aros_kernel_as in
9381 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9385 for as_dir
in `dirname $aros_gcc_as`
9388 test -z "$as_dir" && as_dir
=.
9389 for ac_exec_ext
in '' $ac_executable_extensions; do
9390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9391 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9402 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9403 if test -n "$aros_kernel_as"; then
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9405 $as_echo "$aros_kernel_as" >&6; }
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9408 $as_echo "no" >&6; }
9413 if test "$aros_kernel_as" = ""; then
9414 # Extract the first word of "as", so it can be a program name with args.
9415 set dummy as
; ac_word
=$2
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9417 $as_echo_n "checking for $ac_word... " >&6; }
9418 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9419 $as_echo_n "(cached) " >&6
9421 case $aros_kernel_as in
9423 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9430 test -z "$as_dir" && as_dir
=.
9431 for ac_exec_ext
in '' $ac_executable_extensions; do
9432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9433 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9444 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9445 if test -n "$aros_kernel_as"; then
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9447 $as_echo "$aros_kernel_as" >&6; }
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9450 $as_echo "no" >&6; }
9457 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9458 set dummy
$aros_kernel_as; ac_word
=$2
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9460 $as_echo_n "checking for $ac_word... " >&6; }
9461 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9462 $as_echo_n "(cached) " >&6
9464 case $aros_kernel_as in
9466 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9473 test -z "$as_dir" && as_dir
=.
9474 for ac_exec_ext
in '' $ac_executable_extensions; do
9475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9476 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9487 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9488 if test -n "$aros_kernel_as"; then
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9490 $as_echo "$aros_kernel_as" >&6; }
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9493 $as_echo "no" >&6; }
9499 if test "$aros_kernel_as" = ""; then
9500 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9503 if test "$aros_kernel_ar" = ""; then
9504 if test "$cross_compiling" = "yes" ; then
9505 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9506 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9508 $as_echo_n "checking for $ac_word... " >&6; }
9509 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9510 $as_echo_n "(cached) " >&6
9512 case $aros_kernel_ar in
9514 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9521 test -z "$as_dir" && as_dir
=.
9522 for ac_exec_ext
in '' $ac_executable_extensions; do
9523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9524 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9535 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9536 if test -n "$aros_kernel_ar"; then
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9538 $as_echo "$aros_kernel_ar" >&6; }
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9541 $as_echo "no" >&6; }
9546 if test "$GCC" = "yes"; then
9547 aros_gcc_ar
=`$CC -print-prog-name=ar`
9548 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9549 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9551 $as_echo_n "checking for $ac_word... " >&6; }
9552 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9553 $as_echo_n "(cached) " >&6
9555 case $aros_kernel_ar in
9557 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9561 for as_dir
in `dirname $aros_gcc_ar`
9564 test -z "$as_dir" && as_dir
=.
9565 for ac_exec_ext
in '' $ac_executable_extensions; do
9566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9567 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9578 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9579 if test -n "$aros_kernel_ar"; then
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9581 $as_echo "$aros_kernel_ar" >&6; }
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9584 $as_echo "no" >&6; }
9589 if test "$aros_kernel_ar" = ""; then
9590 # Extract the first word of "ar", so it can be a program name with args.
9591 set dummy
ar; ac_word
=$2
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9593 $as_echo_n "checking for $ac_word... " >&6; }
9594 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9595 $as_echo_n "(cached) " >&6
9597 case $aros_kernel_ar in
9599 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9606 test -z "$as_dir" && as_dir
=.
9607 for ac_exec_ext
in '' $ac_executable_extensions; do
9608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9609 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9620 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9621 if test -n "$aros_kernel_ar"; then
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9623 $as_echo "$aros_kernel_ar" >&6; }
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9626 $as_echo "no" >&6; }
9633 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9634 set dummy
$aros_kernel_ar; ac_word
=$2
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9636 $as_echo_n "checking for $ac_word... " >&6; }
9637 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9638 $as_echo_n "(cached) " >&6
9640 case $aros_kernel_ar in
9642 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9649 test -z "$as_dir" && as_dir
=.
9650 for ac_exec_ext
in '' $ac_executable_extensions; do
9651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9652 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9663 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9664 if test -n "$aros_kernel_ar"; then
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9666 $as_echo "$aros_kernel_ar" >&6; }
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9669 $as_echo "no" >&6; }
9675 if test "$aros_kernel_ar" = ""; then
9676 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9679 if test "$aros_kernel_ranlib" = ""; then
9680 if test "$cross_compiling" = "yes" ; then
9681 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9682 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9684 $as_echo_n "checking for $ac_word... " >&6; }
9685 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9686 $as_echo_n "(cached) " >&6
9688 case $aros_kernel_ranlib in
9690 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9697 test -z "$as_dir" && as_dir
=.
9698 for ac_exec_ext
in '' $ac_executable_extensions; do
9699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9700 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9711 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9712 if test -n "$aros_kernel_ranlib"; then
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9714 $as_echo "$aros_kernel_ranlib" >&6; }
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9717 $as_echo "no" >&6; }
9722 if test "$GCC" = "yes"; then
9723 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9724 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9725 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9727 $as_echo_n "checking for $ac_word... " >&6; }
9728 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9729 $as_echo_n "(cached) " >&6
9731 case $aros_kernel_ranlib in
9733 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9737 for as_dir
in `dirname $aros_gcc_ranlib`
9740 test -z "$as_dir" && as_dir
=.
9741 for ac_exec_ext
in '' $ac_executable_extensions; do
9742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9743 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9754 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9755 if test -n "$aros_kernel_ranlib"; then
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9757 $as_echo "$aros_kernel_ranlib" >&6; }
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9760 $as_echo "no" >&6; }
9765 if test "$aros_kernel_ranlib" = ""; then
9766 # Extract the first word of "ranlib", so it can be a program name with args.
9767 set dummy ranlib
; ac_word
=$2
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9769 $as_echo_n "checking for $ac_word... " >&6; }
9770 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9771 $as_echo_n "(cached) " >&6
9773 case $aros_kernel_ranlib in
9775 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9782 test -z "$as_dir" && as_dir
=.
9783 for ac_exec_ext
in '' $ac_executable_extensions; do
9784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9785 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9796 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9797 if test -n "$aros_kernel_ranlib"; then
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9799 $as_echo "$aros_kernel_ranlib" >&6; }
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9802 $as_echo "no" >&6; }
9809 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9810 set dummy
$aros_kernel_ranlib; ac_word
=$2
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9812 $as_echo_n "checking for $ac_word... " >&6; }
9813 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9814 $as_echo_n "(cached) " >&6
9816 case $aros_kernel_ranlib in
9818 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9825 test -z "$as_dir" && as_dir
=.
9826 for ac_exec_ext
in '' $ac_executable_extensions; do
9827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9828 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9839 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9840 if test -n "$aros_kernel_ranlib"; then
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9842 $as_echo "$aros_kernel_ranlib" >&6; }
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9845 $as_echo "no" >&6; }
9851 if test "$aros_kernel_ranlib" = ""; then
9852 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9855 if test "$aros_kernel_nm" = ""; then
9856 if test "$cross_compiling" = "yes" ; then
9857 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9858 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9860 $as_echo_n "checking for $ac_word... " >&6; }
9861 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9862 $as_echo_n "(cached) " >&6
9864 case $aros_kernel_nm in
9866 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9873 test -z "$as_dir" && as_dir
=.
9874 for ac_exec_ext
in '' $ac_executable_extensions; do
9875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9876 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9887 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9888 if test -n "$aros_kernel_nm"; then
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9890 $as_echo "$aros_kernel_nm" >&6; }
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9893 $as_echo "no" >&6; }
9898 if test "$GCC" = "yes"; then
9899 aros_gcc_nm
=`$CC -print-prog-name=nm`
9900 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9901 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9903 $as_echo_n "checking for $ac_word... " >&6; }
9904 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9905 $as_echo_n "(cached) " >&6
9907 case $aros_kernel_nm in
9909 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9913 for as_dir
in `dirname $aros_gcc_nm`
9916 test -z "$as_dir" && as_dir
=.
9917 for ac_exec_ext
in '' $ac_executable_extensions; do
9918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9919 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9930 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9931 if test -n "$aros_kernel_nm"; then
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9933 $as_echo "$aros_kernel_nm" >&6; }
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9936 $as_echo "no" >&6; }
9941 if test "$aros_kernel_nm" = ""; then
9942 # Extract the first word of "nm", so it can be a program name with args.
9943 set dummy nm
; ac_word
=$2
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9945 $as_echo_n "checking for $ac_word... " >&6; }
9946 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9947 $as_echo_n "(cached) " >&6
9949 case $aros_kernel_nm in
9951 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9958 test -z "$as_dir" && as_dir
=.
9959 for ac_exec_ext
in '' $ac_executable_extensions; do
9960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9961 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9972 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9973 if test -n "$aros_kernel_nm"; then
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9975 $as_echo "$aros_kernel_nm" >&6; }
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9978 $as_echo "no" >&6; }
9985 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
9986 set dummy
$aros_kernel_nm; ac_word
=$2
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9988 $as_echo_n "checking for $ac_word... " >&6; }
9989 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9990 $as_echo_n "(cached) " >&6
9992 case $aros_kernel_nm in
9994 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10001 test -z "$as_dir" && as_dir
=.
10002 for ac_exec_ext
in '' $ac_executable_extensions; do
10003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10004 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10015 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10016 if test -n "$aros_kernel_nm"; then
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10018 $as_echo "$aros_kernel_nm" >&6; }
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10021 $as_echo "no" >&6; }
10027 if test "$aros_kernel_nm" = ""; then
10028 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10031 if test "$aros_kernel_strip" = ""; then
10032 if test "$cross_compiling" = "yes" ; then
10033 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10034 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10036 $as_echo_n "checking for $ac_word... " >&6; }
10037 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10038 $as_echo_n "(cached) " >&6
10040 case $aros_kernel_strip in
10042 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10046 for as_dir
in $PATH
10049 test -z "$as_dir" && as_dir
=.
10050 for ac_exec_ext
in '' $ac_executable_extensions; do
10051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10052 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10063 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10064 if test -n "$aros_kernel_strip"; then
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10066 $as_echo "$aros_kernel_strip" >&6; }
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10069 $as_echo "no" >&6; }
10074 if test "$GCC" = "yes"; then
10075 aros_gcc_strip
=`$CC -print-prog-name=strip`
10076 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10077 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10079 $as_echo_n "checking for $ac_word... " >&6; }
10080 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10081 $as_echo_n "(cached) " >&6
10083 case $aros_kernel_strip in
10085 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10089 for as_dir
in `dirname $aros_gcc_strip`
10092 test -z "$as_dir" && as_dir
=.
10093 for ac_exec_ext
in '' $ac_executable_extensions; do
10094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10095 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10106 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10107 if test -n "$aros_kernel_strip"; then
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10109 $as_echo "$aros_kernel_strip" >&6; }
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10112 $as_echo "no" >&6; }
10117 if test "$aros_kernel_strip" = ""; then
10118 # Extract the first word of "strip", so it can be a program name with args.
10119 set dummy strip
; ac_word
=$2
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10121 $as_echo_n "checking for $ac_word... " >&6; }
10122 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10123 $as_echo_n "(cached) " >&6
10125 case $aros_kernel_strip in
10127 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10131 for as_dir
in $PATH
10134 test -z "$as_dir" && as_dir
=.
10135 for ac_exec_ext
in '' $ac_executable_extensions; do
10136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10137 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10148 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10149 if test -n "$aros_kernel_strip"; then
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10151 $as_echo "$aros_kernel_strip" >&6; }
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10154 $as_echo "no" >&6; }
10161 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10162 set dummy
$aros_kernel_strip; ac_word
=$2
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10164 $as_echo_n "checking for $ac_word... " >&6; }
10165 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10166 $as_echo_n "(cached) " >&6
10168 case $aros_kernel_strip in
10170 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10174 for as_dir
in $PATH
10177 test -z "$as_dir" && as_dir
=.
10178 for ac_exec_ext
in '' $ac_executable_extensions; do
10179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10180 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10191 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10192 if test -n "$aros_kernel_strip"; then
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10194 $as_echo "$aros_kernel_strip" >&6; }
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10197 $as_echo "no" >&6; }
10203 if test "$aros_kernel_strip" = ""; then
10204 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10207 # Objcopy and objdump are not required for the kernel
10208 # toolchain on many architectures.
10209 # So we'll look for them, but not make them strictly required.
10211 if test "$aros_kernel_objcopy" = ""; then
10212 if test "$cross_compiling" = "yes" ; then
10213 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10214 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10216 $as_echo_n "checking for $ac_word... " >&6; }
10217 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10218 $as_echo_n "(cached) " >&6
10220 case $aros_kernel_objcopy in
10222 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10226 for as_dir
in $PATH
10229 test -z "$as_dir" && as_dir
=.
10230 for ac_exec_ext
in '' $ac_executable_extensions; do
10231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10232 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10243 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10244 if test -n "$aros_kernel_objcopy"; then
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10246 $as_echo "$aros_kernel_objcopy" >&6; }
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10249 $as_echo "no" >&6; }
10254 if test "$GCC" = "yes"; then
10255 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10256 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10257 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10259 $as_echo_n "checking for $ac_word... " >&6; }
10260 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10261 $as_echo_n "(cached) " >&6
10263 case $aros_kernel_objcopy in
10265 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10269 for as_dir
in `dirname $aros_gcc_objcopy`
10272 test -z "$as_dir" && as_dir
=.
10273 for ac_exec_ext
in '' $ac_executable_extensions; do
10274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10275 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10286 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10287 if test -n "$aros_kernel_objcopy"; then
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10289 $as_echo "$aros_kernel_objcopy" >&6; }
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10292 $as_echo "no" >&6; }
10297 if test "$aros_kernel_objcopy" = ""; then
10298 # Extract the first word of "objcopy", so it can be a program name with args.
10299 set dummy objcopy
; ac_word
=$2
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10301 $as_echo_n "checking for $ac_word... " >&6; }
10302 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10303 $as_echo_n "(cached) " >&6
10305 case $aros_kernel_objcopy in
10307 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10311 for as_dir
in $PATH
10314 test -z "$as_dir" && as_dir
=.
10315 for ac_exec_ext
in '' $ac_executable_extensions; do
10316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10317 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10328 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10329 if test -n "$aros_kernel_objcopy"; then
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10331 $as_echo "$aros_kernel_objcopy" >&6; }
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10334 $as_echo "no" >&6; }
10341 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10342 set dummy
$aros_kernel_objcopy; ac_word
=$2
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10344 $as_echo_n "checking for $ac_word... " >&6; }
10345 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10346 $as_echo_n "(cached) " >&6
10348 case $aros_kernel_objcopy in
10350 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10354 for as_dir
in $PATH
10357 test -z "$as_dir" && as_dir
=.
10358 for ac_exec_ext
in '' $ac_executable_extensions; do
10359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10360 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10371 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10372 if test -n "$aros_kernel_objcopy"; then
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10374 $as_echo "$aros_kernel_objcopy" >&6; }
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10377 $as_echo "no" >&6; }
10384 if test "$aros_kernel_objdump" = ""; then
10385 if test "$cross_compiling" = "yes" ; then
10386 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10387 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10389 $as_echo_n "checking for $ac_word... " >&6; }
10390 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10391 $as_echo_n "(cached) " >&6
10393 case $aros_kernel_objdump in
10395 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10399 for as_dir
in $PATH
10402 test -z "$as_dir" && as_dir
=.
10403 for ac_exec_ext
in '' $ac_executable_extensions; do
10404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10405 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10416 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10417 if test -n "$aros_kernel_objdump"; then
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10419 $as_echo "$aros_kernel_objdump" >&6; }
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10422 $as_echo "no" >&6; }
10427 if test "$GCC" = "yes"; then
10428 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10429 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10430 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10432 $as_echo_n "checking for $ac_word... " >&6; }
10433 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10434 $as_echo_n "(cached) " >&6
10436 case $aros_kernel_objdump in
10438 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10442 for as_dir
in `dirname $aros_gcc_objdump`
10445 test -z "$as_dir" && as_dir
=.
10446 for ac_exec_ext
in '' $ac_executable_extensions; do
10447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10448 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10459 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10460 if test -n "$aros_kernel_objdump"; then
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10462 $as_echo "$aros_kernel_objdump" >&6; }
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10465 $as_echo "no" >&6; }
10470 if test "$aros_kernel_objdump" = ""; then
10471 # Extract the first word of "objdump", so it can be a program name with args.
10472 set dummy objdump
; ac_word
=$2
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10474 $as_echo_n "checking for $ac_word... " >&6; }
10475 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10476 $as_echo_n "(cached) " >&6
10478 case $aros_kernel_objdump in
10480 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10484 for as_dir
in $PATH
10487 test -z "$as_dir" && as_dir
=.
10488 for ac_exec_ext
in '' $ac_executable_extensions; do
10489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10490 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10501 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10502 if test -n "$aros_kernel_objdump"; then
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10504 $as_echo "$aros_kernel_objdump" >&6; }
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10507 $as_echo "no" >&6; }
10514 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10515 set dummy
$aros_kernel_objdump; ac_word
=$2
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10517 $as_echo_n "checking for $ac_word... " >&6; }
10518 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10519 $as_echo_n "(cached) " >&6
10521 case $aros_kernel_objdump in
10523 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10527 for as_dir
in $PATH
10530 test -z "$as_dir" && as_dir
=.
10531 for ac_exec_ext
in '' $ac_executable_extensions; do
10532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10533 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10544 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10545 if test -n "$aros_kernel_objdump"; then
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10547 $as_echo "$aros_kernel_objdump" >&6; }
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10550 $as_echo "no" >&6; }
10556 if test "x${crosstools}" != "xyes" ; then
10557 if test "$aros_kernel_objcopy" = ""; then
10558 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10560 if test "$aros_kernel_objdump" = ""; then
10561 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10567 $as_echo_n "checking which target tools to use... " >&6; }
10568 if test "$crosstools" = "yes"; then
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10570 $as_echo "$target_tool_prefix" >&6; }
10571 # We are are building AROS crosstools
10572 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10573 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10574 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10575 orig_target_cpp
="${tmp_tool_prefix}cpp"
10576 orig_target_ld
="${tmp_tool_prefix}ld"
10577 orig_target_as
="${tmp_tool_prefix}as"
10578 orig_target_ar
="${tmp_tool_prefix}ar"
10579 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10580 orig_target_nm
="${tmp_tool_prefix}nm"
10581 orig_target_strip
="${tmp_tool_prefix}strip"
10582 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10583 orig_target_objdump
="${tmp_tool_prefix}objdump"
10585 # Determine whether AROS or ELF tools should be used
10586 if test "$aros_tool_prefix" = "none"; then
10587 aros_tool_prefix
="${elf_tool_prefix}"
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10591 $as_echo "$aros_tool_prefix" >&6; }
10592 # We are *not* building AROS crosstools - use the AROS or ELF tools
10594 if test "${aros_tool_prefix}cpp" = ""; then
10595 if test "$cross_compiling" = "yes" ; then
10596 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10597 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10599 $as_echo_n "checking for $ac_word... " >&6; }
10600 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10601 $as_echo_n "(cached) " >&6
10603 case $orig_target_cpp in
10605 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10609 for as_dir
in $PATH
10612 test -z "$as_dir" && as_dir
=.
10613 for ac_exec_ext
in '' $ac_executable_extensions; do
10614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10615 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10626 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10627 if test -n "$orig_target_cpp"; then
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10629 $as_echo "$orig_target_cpp" >&6; }
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10632 $as_echo "no" >&6; }
10637 if test "$GCC" = "yes"; then
10638 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10639 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10640 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10642 $as_echo_n "checking for $ac_word... " >&6; }
10643 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10644 $as_echo_n "(cached) " >&6
10646 case $orig_target_cpp in
10648 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10652 for as_dir
in `dirname $aros_gcc_cpp`
10655 test -z "$as_dir" && as_dir
=.
10656 for ac_exec_ext
in '' $ac_executable_extensions; do
10657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10658 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10669 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10670 if test -n "$orig_target_cpp"; then
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10672 $as_echo "$orig_target_cpp" >&6; }
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10675 $as_echo "no" >&6; }
10680 if test "$orig_target_cpp" = ""; then
10681 # Extract the first word of "cpp", so it can be a program name with args.
10682 set dummy cpp
; ac_word
=$2
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10684 $as_echo_n "checking for $ac_word... " >&6; }
10685 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10686 $as_echo_n "(cached) " >&6
10688 case $orig_target_cpp in
10690 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10694 for as_dir
in $PATH
10697 test -z "$as_dir" && as_dir
=.
10698 for ac_exec_ext
in '' $ac_executable_extensions; do
10699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10700 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10711 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10712 if test -n "$orig_target_cpp"; then
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10714 $as_echo "$orig_target_cpp" >&6; }
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10717 $as_echo "no" >&6; }
10724 # Extract the first word of "${aros_tool_prefix}cpp", so it can be a program name with args.
10725 set dummy
${aros_tool_prefix}cpp
; ac_word
=$2
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10727 $as_echo_n "checking for $ac_word... " >&6; }
10728 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10729 $as_echo_n "(cached) " >&6
10731 case $orig_target_cpp in
10733 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10737 for as_dir
in $PATH
10740 test -z "$as_dir" && as_dir
=.
10741 for ac_exec_ext
in '' $ac_executable_extensions; do
10742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10743 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10754 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10755 if test -n "$orig_target_cpp"; then
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10757 $as_echo "$orig_target_cpp" >&6; }
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10760 $as_echo "no" >&6; }
10766 if test "$orig_target_cpp" = ""; then
10767 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10770 if test "${aros_tool_prefix}gcc" = ""; then
10771 if test "$cross_compiling" = "yes" ; then
10772 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10773 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10775 $as_echo_n "checking for $ac_word... " >&6; }
10776 if ${ac_cv_path_orig_target_cc+:} false
; then :
10777 $as_echo_n "(cached) " >&6
10779 case $orig_target_cc in
10781 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10785 for as_dir
in $PATH
10788 test -z "$as_dir" && as_dir
=.
10789 for ac_exec_ext
in '' $ac_executable_extensions; do
10790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10791 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10802 orig_target_cc
=$ac_cv_path_orig_target_cc
10803 if test -n "$orig_target_cc"; then
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10805 $as_echo "$orig_target_cc" >&6; }
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10808 $as_echo "no" >&6; }
10813 if test "$GCC" = "yes"; then
10814 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10815 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10816 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10818 $as_echo_n "checking for $ac_word... " >&6; }
10819 if ${ac_cv_path_orig_target_cc+:} false
; then :
10820 $as_echo_n "(cached) " >&6
10822 case $orig_target_cc in
10824 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10828 for as_dir
in `dirname $aros_gcc_gcc`
10831 test -z "$as_dir" && as_dir
=.
10832 for ac_exec_ext
in '' $ac_executable_extensions; do
10833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10834 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10845 orig_target_cc
=$ac_cv_path_orig_target_cc
10846 if test -n "$orig_target_cc"; then
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10848 $as_echo "$orig_target_cc" >&6; }
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10851 $as_echo "no" >&6; }
10856 if test "$orig_target_cc" = ""; then
10857 # Extract the first word of "gcc", so it can be a program name with args.
10858 set dummy gcc
; ac_word
=$2
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10860 $as_echo_n "checking for $ac_word... " >&6; }
10861 if ${ac_cv_path_orig_target_cc+:} false
; then :
10862 $as_echo_n "(cached) " >&6
10864 case $orig_target_cc in
10866 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10870 for as_dir
in $PATH
10873 test -z "$as_dir" && as_dir
=.
10874 for ac_exec_ext
in '' $ac_executable_extensions; do
10875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10876 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10887 orig_target_cc
=$ac_cv_path_orig_target_cc
10888 if test -n "$orig_target_cc"; then
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10890 $as_echo "$orig_target_cc" >&6; }
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10893 $as_echo "no" >&6; }
10900 # Extract the first word of "${aros_tool_prefix}gcc", so it can be a program name with args.
10901 set dummy
${aros_tool_prefix}gcc
; ac_word
=$2
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10903 $as_echo_n "checking for $ac_word... " >&6; }
10904 if ${ac_cv_path_orig_target_cc+:} false
; then :
10905 $as_echo_n "(cached) " >&6
10907 case $orig_target_cc in
10909 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10913 for as_dir
in $PATH
10916 test -z "$as_dir" && as_dir
=.
10917 for ac_exec_ext
in '' $ac_executable_extensions; do
10918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10919 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10930 orig_target_cc
=$ac_cv_path_orig_target_cc
10931 if test -n "$orig_target_cc"; then
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10933 $as_echo "$orig_target_cc" >&6; }
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10936 $as_echo "no" >&6; }
10942 if test "$orig_target_cc" = ""; then
10943 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
10945 if test "x$orig_target_cxx" != "x" ; then
10947 if test "${aros_tool_prefix}g++" = ""; then
10948 if test "$cross_compiling" = "yes" ; then
10949 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
10950 set dummy
${target_tool_prefix}g
++; ac_word
=$2
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10952 $as_echo_n "checking for $ac_word... " >&6; }
10953 if ${ac_cv_path_orig_target_cxx+:} false
; then :
10954 $as_echo_n "(cached) " >&6
10956 case $orig_target_cxx in
10958 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
10961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10962 for as_dir
in $PATH
10965 test -z "$as_dir" && as_dir
=.
10966 for ac_exec_ext
in '' $ac_executable_extensions; do
10967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10968 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
10969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10979 orig_target_cxx
=$ac_cv_path_orig_target_cxx
10980 if test -n "$orig_target_cxx"; then
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
10982 $as_echo "$orig_target_cxx" >&6; }
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10985 $as_echo "no" >&6; }
10990 if test "$GCC" = "yes"; then
10991 aros_gcc_g
++=`$CC -print-prog-name=g++`
10992 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
10993 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10995 $as_echo_n "checking for $ac_word... " >&6; }
10996 if ${ac_cv_path_orig_target_cxx+:} false
; then :
10997 $as_echo_n "(cached) " >&6
10999 case $orig_target_cxx in
11001 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11005 for as_dir
in `dirname $aros_gcc_g++`
11008 test -z "$as_dir" && as_dir
=.
11009 for ac_exec_ext
in '' $ac_executable_extensions; do
11010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11011 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11022 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11023 if test -n "$orig_target_cxx"; then
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11025 $as_echo "$orig_target_cxx" >&6; }
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11028 $as_echo "no" >&6; }
11033 if test "$orig_target_cxx" = ""; then
11034 # Extract the first word of "g++", so it can be a program name with args.
11035 set dummy g
++; ac_word
=$2
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11037 $as_echo_n "checking for $ac_word... " >&6; }
11038 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11039 $as_echo_n "(cached) " >&6
11041 case $orig_target_cxx in
11043 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11047 for as_dir
in $PATH
11050 test -z "$as_dir" && as_dir
=.
11051 for ac_exec_ext
in '' $ac_executable_extensions; do
11052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11053 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11064 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11065 if test -n "$orig_target_cxx"; then
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11067 $as_echo "$orig_target_cxx" >&6; }
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11070 $as_echo "no" >&6; }
11077 # Extract the first word of "${aros_tool_prefix}g++", so it can be a program name with args.
11078 set dummy
${aros_tool_prefix}g
++; ac_word
=$2
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11080 $as_echo_n "checking for $ac_word... " >&6; }
11081 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11082 $as_echo_n "(cached) " >&6
11084 case $orig_target_cxx in
11086 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11090 for as_dir
in $PATH
11093 test -z "$as_dir" && as_dir
=.
11094 for ac_exec_ext
in '' $ac_executable_extensions; do
11095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11096 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11107 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11108 if test -n "$orig_target_cxx"; then
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11110 $as_echo "$orig_target_cxx" >&6; }
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11113 $as_echo "no" >&6; }
11119 if test "$orig_target_cxx" = ""; then
11120 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11124 if test "${aros_tool_prefix}ld" = ""; then
11125 if test "$cross_compiling" = "yes" ; then
11126 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11127 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11129 $as_echo_n "checking for $ac_word... " >&6; }
11130 if ${ac_cv_path_orig_target_ld+:} false
; then :
11131 $as_echo_n "(cached) " >&6
11133 case $orig_target_ld in
11135 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11139 for as_dir
in $PATH
11142 test -z "$as_dir" && as_dir
=.
11143 for ac_exec_ext
in '' $ac_executable_extensions; do
11144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11145 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11156 orig_target_ld
=$ac_cv_path_orig_target_ld
11157 if test -n "$orig_target_ld"; then
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11159 $as_echo "$orig_target_ld" >&6; }
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11162 $as_echo "no" >&6; }
11167 if test "$GCC" = "yes"; then
11168 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11169 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11170 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11172 $as_echo_n "checking for $ac_word... " >&6; }
11173 if ${ac_cv_path_orig_target_ld+:} false
; then :
11174 $as_echo_n "(cached) " >&6
11176 case $orig_target_ld in
11178 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11182 for as_dir
in `dirname $aros_gcc_gcc`
11185 test -z "$as_dir" && as_dir
=.
11186 for ac_exec_ext
in '' $ac_executable_extensions; do
11187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11188 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11199 orig_target_ld
=$ac_cv_path_orig_target_ld
11200 if test -n "$orig_target_ld"; then
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11202 $as_echo "$orig_target_ld" >&6; }
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11205 $as_echo "no" >&6; }
11210 if test "$orig_target_ld" = ""; then
11211 # Extract the first word of "gcc", so it can be a program name with args.
11212 set dummy gcc
; ac_word
=$2
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11214 $as_echo_n "checking for $ac_word... " >&6; }
11215 if ${ac_cv_path_orig_target_ld+:} false
; then :
11216 $as_echo_n "(cached) " >&6
11218 case $orig_target_ld in
11220 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11224 for as_dir
in $PATH
11227 test -z "$as_dir" && as_dir
=.
11228 for ac_exec_ext
in '' $ac_executable_extensions; do
11229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11230 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11241 orig_target_ld
=$ac_cv_path_orig_target_ld
11242 if test -n "$orig_target_ld"; then
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11244 $as_echo "$orig_target_ld" >&6; }
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11247 $as_echo "no" >&6; }
11254 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11255 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11257 $as_echo_n "checking for $ac_word... " >&6; }
11258 if ${ac_cv_path_orig_target_ld+:} false
; then :
11259 $as_echo_n "(cached) " >&6
11261 case $orig_target_ld in
11263 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11267 for as_dir
in $PATH
11270 test -z "$as_dir" && as_dir
=.
11271 for ac_exec_ext
in '' $ac_executable_extensions; do
11272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11273 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11284 orig_target_ld
=$ac_cv_path_orig_target_ld
11285 if test -n "$orig_target_ld"; then
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11287 $as_echo "$orig_target_ld" >&6; }
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11290 $as_echo "no" >&6; }
11296 if test "$orig_target_ld" = ""; then
11297 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11300 if test "${aros_tool_prefix}as" = ""; then
11301 if test "$cross_compiling" = "yes" ; then
11302 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11303 set dummy
${target_tool_prefix}as
; ac_word
=$2
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11305 $as_echo_n "checking for $ac_word... " >&6; }
11306 if ${ac_cv_path_orig_target_as+:} false
; then :
11307 $as_echo_n "(cached) " >&6
11309 case $orig_target_as in
11311 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11315 for as_dir
in $PATH
11318 test -z "$as_dir" && as_dir
=.
11319 for ac_exec_ext
in '' $ac_executable_extensions; do
11320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11321 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11332 orig_target_as
=$ac_cv_path_orig_target_as
11333 if test -n "$orig_target_as"; then
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11335 $as_echo "$orig_target_as" >&6; }
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11338 $as_echo "no" >&6; }
11343 if test "$GCC" = "yes"; then
11344 aros_gcc_as
=`$CC -print-prog-name=as`
11345 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11346 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11348 $as_echo_n "checking for $ac_word... " >&6; }
11349 if ${ac_cv_path_orig_target_as+:} false
; then :
11350 $as_echo_n "(cached) " >&6
11352 case $orig_target_as in
11354 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11358 for as_dir
in `dirname $aros_gcc_as`
11361 test -z "$as_dir" && as_dir
=.
11362 for ac_exec_ext
in '' $ac_executable_extensions; do
11363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11364 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11375 orig_target_as
=$ac_cv_path_orig_target_as
11376 if test -n "$orig_target_as"; then
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11378 $as_echo "$orig_target_as" >&6; }
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11381 $as_echo "no" >&6; }
11386 if test "$orig_target_as" = ""; then
11387 # Extract the first word of "as", so it can be a program name with args.
11388 set dummy as
; ac_word
=$2
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11390 $as_echo_n "checking for $ac_word... " >&6; }
11391 if ${ac_cv_path_orig_target_as+:} false
; then :
11392 $as_echo_n "(cached) " >&6
11394 case $orig_target_as in
11396 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11400 for as_dir
in $PATH
11403 test -z "$as_dir" && as_dir
=.
11404 for ac_exec_ext
in '' $ac_executable_extensions; do
11405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11406 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11417 orig_target_as
=$ac_cv_path_orig_target_as
11418 if test -n "$orig_target_as"; then
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11420 $as_echo "$orig_target_as" >&6; }
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11423 $as_echo "no" >&6; }
11430 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11431 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11433 $as_echo_n "checking for $ac_word... " >&6; }
11434 if ${ac_cv_path_orig_target_as+:} false
; then :
11435 $as_echo_n "(cached) " >&6
11437 case $orig_target_as in
11439 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11443 for as_dir
in $PATH
11446 test -z "$as_dir" && as_dir
=.
11447 for ac_exec_ext
in '' $ac_executable_extensions; do
11448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11449 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11460 orig_target_as
=$ac_cv_path_orig_target_as
11461 if test -n "$orig_target_as"; then
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11463 $as_echo "$orig_target_as" >&6; }
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11466 $as_echo "no" >&6; }
11472 if test "$orig_target_as" = ""; then
11473 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11476 if test "${aros_tool_prefix}ar" = ""; then
11477 if test "$cross_compiling" = "yes" ; then
11478 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11479 set dummy
${target_tool_prefix}ar; ac_word
=$2
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11481 $as_echo_n "checking for $ac_word... " >&6; }
11482 if ${ac_cv_path_orig_target_ar+:} false
; then :
11483 $as_echo_n "(cached) " >&6
11485 case $orig_target_ar in
11487 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11491 for as_dir
in $PATH
11494 test -z "$as_dir" && as_dir
=.
11495 for ac_exec_ext
in '' $ac_executable_extensions; do
11496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11497 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11508 orig_target_ar
=$ac_cv_path_orig_target_ar
11509 if test -n "$orig_target_ar"; then
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11511 $as_echo "$orig_target_ar" >&6; }
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11514 $as_echo "no" >&6; }
11519 if test "$GCC" = "yes"; then
11520 aros_gcc_ar
=`$CC -print-prog-name=ar`
11521 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11522 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11524 $as_echo_n "checking for $ac_word... " >&6; }
11525 if ${ac_cv_path_orig_target_ar+:} false
; then :
11526 $as_echo_n "(cached) " >&6
11528 case $orig_target_ar in
11530 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11534 for as_dir
in `dirname $aros_gcc_ar`
11537 test -z "$as_dir" && as_dir
=.
11538 for ac_exec_ext
in '' $ac_executable_extensions; do
11539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11540 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11551 orig_target_ar
=$ac_cv_path_orig_target_ar
11552 if test -n "$orig_target_ar"; then
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11554 $as_echo "$orig_target_ar" >&6; }
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11557 $as_echo "no" >&6; }
11562 if test "$orig_target_ar" = ""; then
11563 # Extract the first word of "ar", so it can be a program name with args.
11564 set dummy
ar; ac_word
=$2
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11566 $as_echo_n "checking for $ac_word... " >&6; }
11567 if ${ac_cv_path_orig_target_ar+:} false
; then :
11568 $as_echo_n "(cached) " >&6
11570 case $orig_target_ar in
11572 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11576 for as_dir
in $PATH
11579 test -z "$as_dir" && as_dir
=.
11580 for ac_exec_ext
in '' $ac_executable_extensions; do
11581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11582 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11593 orig_target_ar
=$ac_cv_path_orig_target_ar
11594 if test -n "$orig_target_ar"; then
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11596 $as_echo "$orig_target_ar" >&6; }
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11599 $as_echo "no" >&6; }
11606 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11607 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11609 $as_echo_n "checking for $ac_word... " >&6; }
11610 if ${ac_cv_path_orig_target_ar+:} false
; then :
11611 $as_echo_n "(cached) " >&6
11613 case $orig_target_ar in
11615 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11619 for as_dir
in $PATH
11622 test -z "$as_dir" && as_dir
=.
11623 for ac_exec_ext
in '' $ac_executable_extensions; do
11624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11625 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11636 orig_target_ar
=$ac_cv_path_orig_target_ar
11637 if test -n "$orig_target_ar"; then
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11639 $as_echo "$orig_target_ar" >&6; }
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11642 $as_echo "no" >&6; }
11648 if test "$orig_target_ar" = ""; then
11649 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11652 if test "${aros_tool_prefix}ranlib" = ""; then
11653 if test "$cross_compiling" = "yes" ; then
11654 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11655 set dummy
${target_tool_prefix}ar; ac_word
=$2
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11657 $as_echo_n "checking for $ac_word... " >&6; }
11658 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11659 $as_echo_n "(cached) " >&6
11661 case $orig_target_ranlib in
11663 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11667 for as_dir
in $PATH
11670 test -z "$as_dir" && as_dir
=.
11671 for ac_exec_ext
in '' $ac_executable_extensions; do
11672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11673 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11684 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11685 if test -n "$orig_target_ranlib"; then
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11687 $as_echo "$orig_target_ranlib" >&6; }
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11690 $as_echo "no" >&6; }
11695 if test "$GCC" = "yes"; then
11696 aros_gcc_ar
=`$CC -print-prog-name=ar`
11697 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11698 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11700 $as_echo_n "checking for $ac_word... " >&6; }
11701 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11702 $as_echo_n "(cached) " >&6
11704 case $orig_target_ranlib in
11706 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11710 for as_dir
in `dirname $aros_gcc_ar`
11713 test -z "$as_dir" && as_dir
=.
11714 for ac_exec_ext
in '' $ac_executable_extensions; do
11715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11716 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11727 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11728 if test -n "$orig_target_ranlib"; then
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11730 $as_echo "$orig_target_ranlib" >&6; }
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11733 $as_echo "no" >&6; }
11738 if test "$orig_target_ranlib" = ""; then
11739 # Extract the first word of "ar", so it can be a program name with args.
11740 set dummy
ar; ac_word
=$2
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11742 $as_echo_n "checking for $ac_word... " >&6; }
11743 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11744 $as_echo_n "(cached) " >&6
11746 case $orig_target_ranlib in
11748 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11752 for as_dir
in $PATH
11755 test -z "$as_dir" && as_dir
=.
11756 for ac_exec_ext
in '' $ac_executable_extensions; do
11757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11758 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11769 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11770 if test -n "$orig_target_ranlib"; then
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11772 $as_echo "$orig_target_ranlib" >&6; }
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11775 $as_echo "no" >&6; }
11782 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11783 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11785 $as_echo_n "checking for $ac_word... " >&6; }
11786 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11787 $as_echo_n "(cached) " >&6
11789 case $orig_target_ranlib in
11791 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11795 for as_dir
in $PATH
11798 test -z "$as_dir" && as_dir
=.
11799 for ac_exec_ext
in '' $ac_executable_extensions; do
11800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11801 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11812 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11813 if test -n "$orig_target_ranlib"; then
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11815 $as_echo "$orig_target_ranlib" >&6; }
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11818 $as_echo "no" >&6; }
11824 if test "$orig_target_ranlib" = ""; then
11825 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11828 if test "${aros_tool_prefix}nm" = ""; then
11829 if test "$cross_compiling" = "yes" ; then
11830 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
11831 set dummy
${target_tool_prefix}nm
; ac_word
=$2
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11833 $as_echo_n "checking for $ac_word... " >&6; }
11834 if ${ac_cv_path_orig_target_nm+:} false
; then :
11835 $as_echo_n "(cached) " >&6
11837 case $orig_target_nm in
11839 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11843 for as_dir
in $PATH
11846 test -z "$as_dir" && as_dir
=.
11847 for ac_exec_ext
in '' $ac_executable_extensions; do
11848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11849 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11860 orig_target_nm
=$ac_cv_path_orig_target_nm
11861 if test -n "$orig_target_nm"; then
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11863 $as_echo "$orig_target_nm" >&6; }
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11866 $as_echo "no" >&6; }
11871 if test "$GCC" = "yes"; then
11872 aros_gcc_nm
=`$CC -print-prog-name=nm`
11873 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11874 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11876 $as_echo_n "checking for $ac_word... " >&6; }
11877 if ${ac_cv_path_orig_target_nm+:} false
; then :
11878 $as_echo_n "(cached) " >&6
11880 case $orig_target_nm in
11882 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11886 for as_dir
in `dirname $aros_gcc_nm`
11889 test -z "$as_dir" && as_dir
=.
11890 for ac_exec_ext
in '' $ac_executable_extensions; do
11891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11892 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11903 orig_target_nm
=$ac_cv_path_orig_target_nm
11904 if test -n "$orig_target_nm"; then
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11906 $as_echo "$orig_target_nm" >&6; }
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11909 $as_echo "no" >&6; }
11914 if test "$orig_target_nm" = ""; then
11915 # Extract the first word of "nm", so it can be a program name with args.
11916 set dummy nm
; ac_word
=$2
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11918 $as_echo_n "checking for $ac_word... " >&6; }
11919 if ${ac_cv_path_orig_target_nm+:} false
; then :
11920 $as_echo_n "(cached) " >&6
11922 case $orig_target_nm in
11924 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11928 for as_dir
in $PATH
11931 test -z "$as_dir" && as_dir
=.
11932 for ac_exec_ext
in '' $ac_executable_extensions; do
11933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11934 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11945 orig_target_nm
=$ac_cv_path_orig_target_nm
11946 if test -n "$orig_target_nm"; then
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11948 $as_echo "$orig_target_nm" >&6; }
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11951 $as_echo "no" >&6; }
11958 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
11959 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11961 $as_echo_n "checking for $ac_word... " >&6; }
11962 if ${ac_cv_path_orig_target_nm+:} false
; then :
11963 $as_echo_n "(cached) " >&6
11965 case $orig_target_nm in
11967 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11971 for as_dir
in $PATH
11974 test -z "$as_dir" && as_dir
=.
11975 for ac_exec_ext
in '' $ac_executable_extensions; do
11976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11977 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11988 orig_target_nm
=$ac_cv_path_orig_target_nm
11989 if test -n "$orig_target_nm"; then
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11991 $as_echo "$orig_target_nm" >&6; }
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11994 $as_echo "no" >&6; }
12000 if test "$orig_target_nm" = ""; then
12001 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12004 if test "${aros_tool_prefix}strip" = ""; then
12005 if test "$cross_compiling" = "yes" ; then
12006 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12007 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12009 $as_echo_n "checking for $ac_word... " >&6; }
12010 if ${ac_cv_path_orig_target_strip+:} false
; then :
12011 $as_echo_n "(cached) " >&6
12013 case $orig_target_strip in
12015 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12019 for as_dir
in $PATH
12022 test -z "$as_dir" && as_dir
=.
12023 for ac_exec_ext
in '' $ac_executable_extensions; do
12024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12025 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12036 orig_target_strip
=$ac_cv_path_orig_target_strip
12037 if test -n "$orig_target_strip"; then
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12039 $as_echo "$orig_target_strip" >&6; }
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12042 $as_echo "no" >&6; }
12047 if test "$GCC" = "yes"; then
12048 aros_gcc_strip
=`$CC -print-prog-name=strip`
12049 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12050 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12052 $as_echo_n "checking for $ac_word... " >&6; }
12053 if ${ac_cv_path_orig_target_strip+:} false
; then :
12054 $as_echo_n "(cached) " >&6
12056 case $orig_target_strip in
12058 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12062 for as_dir
in `dirname $aros_gcc_strip`
12065 test -z "$as_dir" && as_dir
=.
12066 for ac_exec_ext
in '' $ac_executable_extensions; do
12067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12068 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12079 orig_target_strip
=$ac_cv_path_orig_target_strip
12080 if test -n "$orig_target_strip"; then
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12082 $as_echo "$orig_target_strip" >&6; }
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12085 $as_echo "no" >&6; }
12090 if test "$orig_target_strip" = ""; then
12091 # Extract the first word of "strip", so it can be a program name with args.
12092 set dummy strip
; ac_word
=$2
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12094 $as_echo_n "checking for $ac_word... " >&6; }
12095 if ${ac_cv_path_orig_target_strip+:} false
; then :
12096 $as_echo_n "(cached) " >&6
12098 case $orig_target_strip in
12100 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12104 for as_dir
in $PATH
12107 test -z "$as_dir" && as_dir
=.
12108 for ac_exec_ext
in '' $ac_executable_extensions; do
12109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12110 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12121 orig_target_strip
=$ac_cv_path_orig_target_strip
12122 if test -n "$orig_target_strip"; then
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12124 $as_echo "$orig_target_strip" >&6; }
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12127 $as_echo "no" >&6; }
12134 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12135 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12137 $as_echo_n "checking for $ac_word... " >&6; }
12138 if ${ac_cv_path_orig_target_strip+:} false
; then :
12139 $as_echo_n "(cached) " >&6
12141 case $orig_target_strip in
12143 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12147 for as_dir
in $PATH
12150 test -z "$as_dir" && as_dir
=.
12151 for ac_exec_ext
in '' $ac_executable_extensions; do
12152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12153 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12164 orig_target_strip
=$ac_cv_path_orig_target_strip
12165 if test -n "$orig_target_strip"; then
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12167 $as_echo "$orig_target_strip" >&6; }
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12170 $as_echo "no" >&6; }
12176 if test "$orig_target_strip" = ""; then
12177 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12180 if test "${aros_tool_prefix}objcopy" = ""; then
12181 if test "$cross_compiling" = "yes" ; then
12182 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12183 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12185 $as_echo_n "checking for $ac_word... " >&6; }
12186 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12187 $as_echo_n "(cached) " >&6
12189 case $orig_target_objcopy in
12191 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12195 for as_dir
in $PATH
12198 test -z "$as_dir" && as_dir
=.
12199 for ac_exec_ext
in '' $ac_executable_extensions; do
12200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12201 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12212 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12213 if test -n "$orig_target_objcopy"; then
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12215 $as_echo "$orig_target_objcopy" >&6; }
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12218 $as_echo "no" >&6; }
12223 if test "$GCC" = "yes"; then
12224 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12225 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12226 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12228 $as_echo_n "checking for $ac_word... " >&6; }
12229 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12230 $as_echo_n "(cached) " >&6
12232 case $orig_target_objcopy in
12234 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12238 for as_dir
in `dirname $aros_gcc_objcopy`
12241 test -z "$as_dir" && as_dir
=.
12242 for ac_exec_ext
in '' $ac_executable_extensions; do
12243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12244 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12255 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12256 if test -n "$orig_target_objcopy"; then
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12258 $as_echo "$orig_target_objcopy" >&6; }
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12261 $as_echo "no" >&6; }
12266 if test "$orig_target_objcopy" = ""; then
12267 # Extract the first word of "objcopy", so it can be a program name with args.
12268 set dummy objcopy
; ac_word
=$2
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12270 $as_echo_n "checking for $ac_word... " >&6; }
12271 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12272 $as_echo_n "(cached) " >&6
12274 case $orig_target_objcopy in
12276 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12280 for as_dir
in $PATH
12283 test -z "$as_dir" && as_dir
=.
12284 for ac_exec_ext
in '' $ac_executable_extensions; do
12285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12286 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12297 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12298 if test -n "$orig_target_objcopy"; then
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12300 $as_echo "$orig_target_objcopy" >&6; }
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12303 $as_echo "no" >&6; }
12310 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12311 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12313 $as_echo_n "checking for $ac_word... " >&6; }
12314 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12315 $as_echo_n "(cached) " >&6
12317 case $orig_target_objcopy in
12319 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12323 for as_dir
in $PATH
12326 test -z "$as_dir" && as_dir
=.
12327 for ac_exec_ext
in '' $ac_executable_extensions; do
12328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12329 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12340 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12341 if test -n "$orig_target_objcopy"; then
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12343 $as_echo "$orig_target_objcopy" >&6; }
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12346 $as_echo "no" >&6; }
12352 if test "$orig_target_objcopy" = ""; then
12353 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12356 if test "${aros_tool_prefix}objdump" = ""; then
12357 if test "$cross_compiling" = "yes" ; then
12358 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12359 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12361 $as_echo_n "checking for $ac_word... " >&6; }
12362 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12363 $as_echo_n "(cached) " >&6
12365 case $orig_target_objdump in
12367 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12371 for as_dir
in $PATH
12374 test -z "$as_dir" && as_dir
=.
12375 for ac_exec_ext
in '' $ac_executable_extensions; do
12376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12377 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12388 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12389 if test -n "$orig_target_objdump"; then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12391 $as_echo "$orig_target_objdump" >&6; }
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12394 $as_echo "no" >&6; }
12399 if test "$GCC" = "yes"; then
12400 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12401 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12402 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12404 $as_echo_n "checking for $ac_word... " >&6; }
12405 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12406 $as_echo_n "(cached) " >&6
12408 case $orig_target_objdump in
12410 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12414 for as_dir
in `dirname $aros_gcc_objdump`
12417 test -z "$as_dir" && as_dir
=.
12418 for ac_exec_ext
in '' $ac_executable_extensions; do
12419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12420 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12431 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12432 if test -n "$orig_target_objdump"; then
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12434 $as_echo "$orig_target_objdump" >&6; }
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12437 $as_echo "no" >&6; }
12442 if test "$orig_target_objdump" = ""; then
12443 # Extract the first word of "objdump", so it can be a program name with args.
12444 set dummy objdump
; ac_word
=$2
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12446 $as_echo_n "checking for $ac_word... " >&6; }
12447 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12448 $as_echo_n "(cached) " >&6
12450 case $orig_target_objdump in
12452 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12456 for as_dir
in $PATH
12459 test -z "$as_dir" && as_dir
=.
12460 for ac_exec_ext
in '' $ac_executable_extensions; do
12461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12462 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12473 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12474 if test -n "$orig_target_objdump"; then
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12476 $as_echo "$orig_target_objdump" >&6; }
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12479 $as_echo "no" >&6; }
12486 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12487 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12489 $as_echo_n "checking for $ac_word... " >&6; }
12490 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12491 $as_echo_n "(cached) " >&6
12493 case $orig_target_objdump in
12495 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12499 for as_dir
in $PATH
12502 test -z "$as_dir" && as_dir
=.
12503 for ac_exec_ext
in '' $ac_executable_extensions; do
12504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12505 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12516 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12517 if test -n "$orig_target_objdump"; then
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12519 $as_echo "$orig_target_objdump" >&6; }
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12522 $as_echo "no" >&6; }
12528 if test "$orig_target_objdump" = ""; then
12529 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12533 # At this point, all aros_kernel_* and aros_target_*
12534 # tools should be set up correctly
12536 CC
="$aros_kernel_cc $kernel_tool_flags"
12537 CPP
="$aros_kernel_cpp"
12539 #-----------------------------------------------------------------------------
12541 # Disable pointer-signedness warnings if the compiler recognises the option
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12544 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12545 save_cflags
="$CFLAGS"
12546 if test "$crosstools" != "yes" ; then
12547 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12549 /* end confdefs.h. */
12559 if ac_fn_c_try_compile
"$LINENO"; then :
12560 use_no_sign_warning
="yes"
12562 use_no_sign_warning
="no"
12564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12566 # we do know it is supported for the smallest version of gcc we are going to build
12567 # we assume it's also supported by later versions
12568 use_no_sign_warning
=yes
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12571 $as_echo "$use_no_sign_warning" >&6; }
12572 if test "x-$use_no_sign_warning" = "x-yes" ; then
12573 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12575 CFLAGS
="$save_cflags"
12577 #-----------------------------------------------------------------------------
12579 # Find all the tools we need to compile. This could be cross-compiling
12580 # though! If that is the case we use the GNU form of the target and
12581 # simply add this to the front of the binary name. This is rather simple,
12582 # but it should work under most circumstances.
12584 # The default tools are to use the same as the host, but only if the
12585 # host and target CPU are the same. With GCC this is normally enough.
12589 aros_shared_ld
="$aros_host_ld"
12591 aros_target_mkdep
="$aros_host_mkdep"
12593 # The default tools executables to be linked to.
12594 if test "$rescomp" != ""; then
12595 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12596 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12598 $as_echo_n "checking for $ac_word... " >&6; }
12599 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12600 $as_echo_n "(cached) " >&6
12602 case $aros_kernel_rescomp in
12604 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12608 for as_dir
in $PATH
12611 test -z "$as_dir" && as_dir
=.
12612 for ac_exec_ext
in '' $ac_executable_extensions; do
12613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12614 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12625 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12626 if test -n "$aros_kernel_rescomp"; then
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12628 $as_echo "$aros_kernel_rescomp" >&6; }
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12631 $as_echo "no" >&6; }
12635 if test "$aros_kernel_rescomp" = ""; then
12636 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12640 # Set up the sources for the symlink farm
12641 if test "$crosstools" = "yes"; then
12642 crosstools_target
=tools-crosstools
12644 crosstools_cxx_target
=tools-crosstools
12647 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12648 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12651 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12652 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12653 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12654 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12655 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12656 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12657 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12659 # aros_cc_pre is a variable that is added to the front of the compiler name
12660 # in the generated aros-gcc shell script. We need this to enable the cache
12661 # to work across cleaned builds. Also, support DISTCC using the correct
12662 # environment variable.
12665 if test "x${DISTCC}" != "x" ; then
12666 if test "x${CCACHE}" != "x" ; then
12667 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12669 aros_cc_pre
="${DISTCC} "
12672 if test "x${CCACHE}" != "x" ; then
12673 aros_cc_pre
="${CCACHE} "
12677 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12679 aros_target_nostdinc_cflags
=-nostdinc
12681 aros_target_nostartup_ldflags
=-nostartfiles
12683 aros_target_nix_ldflags
=-nix
12685 aros_target_detach_ldflags
=-detach
12687 aros_target_nostdlib_ldflags
=-nostdlib
12691 if test "$crosstools" != "yes"; then
12692 if test "$GCC" = "yes"; then
12693 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12696 # We do not know which gcc version we are going to build and what we need to know
12697 # here is different for different versions so this will be set later during the
12698 # build of crosstools.
12699 aros_target_cc_path
=@aros_target_cc_path@
12701 aros_target_cpp
="${prefix}cpp"
12702 aros_target_cc
="${prefix}gcc"
12703 aros_target_cxx
="${prefix}g++"
12704 aros_target_as
="${prefix}as"
12705 aros_target_ld
="${prefix}ld"
12706 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12707 aros_target_objcopy
="${prefix}objcopy"
12708 aros_target_objdump
="${prefix}objdump"
12709 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12710 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12711 aros_target_strip
="${prefix}strip"
12712 aros_plain_nm
="${prefix}nm"
12713 aros_plain_ar
="${prefix}ar"
12715 if test "$aros_kernel_includes" != "" ; then
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12717 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12718 if test "$aros_kernel_cc_includes" = "" ; then
12719 # Try to guess where the directory is.
12720 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12721 if test -d $aros_kernel_cc_includes; then
12722 # Check if there is also an include-fixed directory and add it
12723 # to kernel compiler's include path as it may contain some of
12724 # the headers we need.
12725 if test -d "$aros_kernel_cc_includes"-fixed; then
12726 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12728 # Check for specific includes directory. Neede for Ubuntu 11.10
12729 if test -d "/usr/include/i386-linux-gnu"; then
12730 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12733 # The directory doesn't exist, we need to do some more work.
12734 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12736 # These are the headers we're looking for.
12737 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12738 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12742 for h
in $headers; do
12743 # Which other headers are needed by each of the above?
12744 deps
=$
(echo "#include <$h>" | \
12745 $aros_kernel_cc -E -M - 2>/dev
/null | \
12746 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12748 # Copy all the needed headers to a directory beneath gendir.
12751 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12752 sed -n "s,^.*/include\(/.*\),\1,p")
12753 ! test -d $dir && mkdir
-p $dir
12754 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12760 $as_echo "$aros_kernel_cc_includes" >&6; }
12761 # Adding -nostdinc to kernel includes as they are always used together.
12762 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12765 if test "$crosstools" != "yes"; then
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12767 $as_echo_n "checking for the target compiler's include path... " >&6; }
12768 if test "$aros_target_cc_includes" = "" ; then
12769 #try to guess where the directory is
12770 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12771 if ! test -d $aros_target_cc_includes; then
12772 #the directory doesn't exist, we need to do some more work
12773 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12775 #these are the headers we're looking for
12776 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12777 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12781 for h
in $headers; do
12782 #which other headers each of the above headers needs?
12783 deps
=$
(echo "#include <$h>" | \
12784 $orig_target_cc -E -M - 2>/dev
/null | \
12785 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12787 #copy all the needed headers to a directory beneath gendir
12790 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
12791 sed -n "s,^.*/include\(/.*\),\1,p")
12792 ! test -d $dir && mkdir
-p $dir
12793 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
12799 $as_echo "$aros_target_cc_includes" >&6; }
12801 # We do not know which gcc version we are going to build and what we need to know
12802 # here is different for different versions so this will be set later during the
12803 # build of crosstools.
12804 aros_target_cc_includes
=@aros_target_cc_includes@
12808 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
12809 # On GCC >= 4.0 -iquote should be used
12813 save_cflags
="$CFLAGS"
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12816 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12817 if test "x-$crosstools" != "x-yes"; then
12818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12819 /* end confdefs.h. */
12829 if ac_fn_c_try_compile
"$LINENO"; then :
12834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12836 # we do know it is supported for the smallest version of gcc we are going to build
12837 # we assume it's also supported by later versions
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12841 $as_echo "$has_iquote" >&6; }
12842 if test "x-$has_iquote" = "x-yes" ; then
12843 host_cflags_iquote
=-iquote
12844 host_cflags_iquote_end
=
12846 host_cflags_iquote
=-I
12847 host_cflags_iquote_end
=-I-
12849 kernel_cflags_iquote
=$host_cflags_iquote
12850 kernel_cflags_iquote_end
=$host_cflags_iquote_end
12851 if test "x-$cross_compiling" = "x-yes"; then
12852 CC
="$aros_kernel_cc"
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
12854 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
12855 if test "x-$crosstools" != "x-yes"; then
12856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12857 /* end confdefs.h. */
12867 if ac_fn_c_try_compile
"$LINENO"; then :
12868 use_no_stack_protector
="yes"
12870 use_no_stack_protector
="no"
12872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12874 # we do know it is supported for the smallest version of gcc we are going to build
12875 # we assume it's also supported by later versions
12876 use_no_stack_protector
=yes
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
12879 $as_echo "$use_no_stack_protector" >&6; }
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12881 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12882 if test "x-$crosstools" != "x-yes"; then
12883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12884 /* end confdefs.h. */
12894 if ac_fn_c_try_compile
"$LINENO"; then :
12899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12901 # we do know it is supported for the smallest version of gcc we are going to build
12902 # we assume it's also supported by later versions
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12906 $as_echo "$has_iquote" >&6; }
12907 if test "x-$has_iquote" = "x-yes" ; then
12908 kernel_cflags_iquote
=-iquote
12909 kernel_cflags_iquote_end
=
12911 kernel_cflags_iquote
=-I
12912 kernel_cflags_iquote_end
=-I-
12915 aros_cflags_iquote
=$kernel_cflags_iquote
12916 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
12917 if test "$orig_target_cc" != "$aros_kernel_cc"; then
12918 CC
="$orig_target_cc"
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12920 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12921 if test "x-$crosstools" != "x-yes"; then
12922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12923 /* end confdefs.h. */
12933 if ac_fn_c_try_compile
"$LINENO"; then :
12938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12940 # we do know it is supported for the smallest version of gcc we are going to build
12941 # we assume it's also supported by later versions
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12945 $as_echo "$has_iquote" >&6; }
12946 if test "x-$has_iquote" = "x-yes" ; then
12947 aros_cflags_iquote
=-iquote
12948 aros_cflags_iquote_end
=
12950 aros_cflags_iquote
=-I
12951 aros_cflags_iquote_end
=-I-
12954 if test "x-$use_no_stack_protector" = "x-yes" ; then
12955 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
12959 #-----------------------------------------------------------------------------
12961 # Check if the target compiler supports some options used for delinting:
12962 # -Wunused-but-set-variable
12965 # -Wstrict-overflow
12966 # -Wformat-security
12968 if test "x-$crosstools" != "x-yes"; then
12969 if test "$orig_target_cc" != "$aros_kernel_cc"; then
12970 CC
="$orig_target_cc"
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
12973 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
12974 CFLAGS
=-Wunused-but-set-variable
12975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12976 /* end confdefs.h. */
12986 if ac_fn_c_try_compile
"$LINENO"; then :
12987 aros_unused_but_set_variable
="yes"
12989 aros_unused_but_set_variable
="no"
12991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
12993 $as_echo "$aros_unused_but_set_variable" >&6; }
12994 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
12995 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
12999 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13000 CFLAGS
=-Warray-bounds
13001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13002 /* end confdefs.h. */
13012 if ac_fn_c_try_compile
"$LINENO"; then :
13013 aros_array_bounds
="yes"
13015 aros_array_bounds
="no"
13017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13019 $as_echo "$aros_array_bounds" >&6; }
13020 if test "x-$aros_array_bounds" = "x-yes" ; then
13021 aros_cflags_array_bounds
=-Wno-array-bounds
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13025 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13026 CFLAGS
=-Wenum-compare
13027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13028 /* end confdefs.h. */
13038 if ac_fn_c_try_compile
"$LINENO"; then :
13039 aros_enum_compare
="yes"
13041 aros_enum_compare
="no"
13043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13045 $as_echo "$aros_enum_compare" >&6; }
13046 if test "x-$aros_enum_compare" = "x-yes" ; then
13047 aros_cflags_enum_compare
=-Wno-enum-compare
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13051 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13052 CFLAGS
=-Wstrict-overflow
13053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13054 /* end confdefs.h. */
13064 if ac_fn_c_try_compile
"$LINENO"; then :
13065 aros_strict_overflow
="yes"
13067 aros_strict_overflow
="no"
13069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13071 $as_echo "$aros_strict_overflow" >&6; }
13072 if test "x-$aros_strict_overflow" = "x-yes" ; then
13073 aros_cflags_strict_overflow
=-Wno-strict-overflow
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13077 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13078 CFLAGS
=-Wformat-security
13079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13080 /* end confdefs.h. */
13090 if ac_fn_c_try_compile
"$LINENO"; then :
13091 aros_format_security
="yes"
13093 aros_format_security
="no"
13095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13097 $as_echo "$aros_format_security" >&6; }
13098 if test "x-$aros_format_security" = "x-yes" ; then
13099 aros_cflags_format_security
=-Wno-format-security
13102 # We do not know which gcc version we are going to build and what we need to know
13103 # here is different for different versions so this will be set later during the
13104 # build of crosstools.
13105 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13106 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13107 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13108 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13109 aros_cflags_format_security
=@aros_cflags_format_security@
13112 #-----------------------------------------------------------------------------
13114 # Check if we can explicitly choose older version of symbol hashing
13116 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13117 CC
="$aros_kernel_cc"
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13119 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13121 /* end confdefs.h. */
13131 if ac_fn_c_try_link
"$LINENO"; then :
13132 use_hash_style
="yes"
13134 use_hash_style
="no"
13136 rm -f core conftest.err conftest.
$ac_objext \
13137 conftest
$ac_exeext conftest.
$ac_ext
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13139 $as_echo "$use_hash_style" >&6; }
13140 if test "x-$use_hash_style" = "x-yes" ; then
13141 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13144 CFLAGS
="$save_cflags"
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13155 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13157 # Check whether --with-resolution was given.
13158 if test "${with_resolution+set}" = set; then :
13159 withval
=$with_resolution; resolution
=$withval
13164 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13165 if test "$resolution" = "yes" ; then
13168 if test "$resolution" = "no" ; then
13171 if test "$resolution" != "none" ; then
13172 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13173 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13174 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13177 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13178 aros_cv_default_wbwidth
=$aros_default_wbwidth
13179 aros_cv_default_wbheight
=$aros_default_wbheight
13180 aros_cv_default_wbdepth
=$aros_default_wbdepth
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13183 $as_echo_n "checking if serial debug is enabled... " >&6; }
13185 # Check whether --with-serial-debug was given.
13186 if test "${with_serial_debug+set}" = set; then :
13187 withval
=$with_serial_debug; serial_debug
=$withval
13192 if test "$aros_serial_debug" = 0 ; then
13193 serial_debug_forced
=""
13194 if test "$serial_debug" = "yes" ; then
13197 if test "$serial_debug" = "no" ; then
13198 serial_debug
="none"
13201 serial_debug_forced
="(forced)"
13202 serial_debug
=$aros_serial_debug
13204 if test "$serial_debug" != "none" ; then
13205 aros_serial_debug
=$serial_debug
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13207 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13210 $as_echo "no" >&6; }
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13214 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13215 # Check whether --enable-palm_debug_hack was given.
13216 if test "${enable_palm_debug_hack+set}" = set; then :
13217 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13219 palm_debug_hack
="no"
13222 if test "$palm_debug_hack" = "yes" ; then
13223 aros_palm_debug_hack
="1"
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13226 $as_echo "$palm_debug_hack" >&6; }
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13229 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13230 # Check whether --enable-nesting_supervisor was given.
13231 if test "${enable_nesting_supervisor+set}" = set; then :
13232 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13234 nesting_supervisor
="no"
13237 if test "$nesting_supervisor" = "yes" ; then
13238 aros_nesting_supervisor
="1"
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13241 $as_echo "$nesting_supervisor" >&6; }
13243 if test "$aros_enable_mmu" = "" ; then
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13245 $as_echo_n "checking if MMU support is enabled... " >&6; }
13246 # Check whether --enable-mmu was given.
13247 if test "${enable_mmu+set}" = set; then :
13248 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13250 aros_enable_mmu
="yes"
13253 if test "$aros_enable_mmu" = "" ; then
13254 aros_enable_mmu
="yes"
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13257 $as_echo "$aros_enable_mmu" >&6; }
13259 if test "$aros_enable_mmu" = "no" ; then
13260 aros_enable_mmu
="0"
13262 aros_enable_mmu
="1"
13266 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13268 if test "x-$need_dlopen" != "x-no" ; then
13269 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13270 if test "x$ac_cv_func_dlopen" = xyes
; then :
13276 if test "x-$have_dl" = "x-no" ; then
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13278 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13279 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13280 $as_echo_n "(cached) " >&6
13282 ac_check_lib_save_LIBS
=$LIBS
13284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h. */
13287 /* Override any GCC internal prototype to avoid an error.
13288 Use char because int might match the return type of a GCC
13289 builtin and then its argument prototype would still apply. */
13302 if ac_fn_c_try_link
"$LINENO"; then :
13303 ac_cv_lib_dl_dlopen
=yes
13305 ac_cv_lib_dl_dlopen
=no
13307 rm -f core conftest.err conftest.
$ac_objext \
13308 conftest
$ac_exeext conftest.
$ac_ext
13309 LIBS
=$ac_check_lib_save_LIBS
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13312 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13313 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13315 aros_host_ldflags
="$aros_host_ldflags -ldl"
13321 if test "x-$have_dl" = "x-no" ; then
13322 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13327 # Check whether --enable-x11_hidd was given.
13328 if test "${enable_x11_hidd+set}" = set; then :
13329 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13331 x11_hidd
="$need_x11"
13334 case "x-$x11_hidd" in
13335 x-yes|x-no|x-auto
) ;;
13336 *) x11_hidd
="$need_x11" ;;
13341 if test "x-$x11_hidd" != "x-no" ; then
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13344 $as_echo_n "checking for X... " >&6; }
13347 # Check whether --with-x was given.
13348 if test "${with_x+set}" = set; then :
13352 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13353 if test "x$with_x" = xno
; then
13354 # The user explicitly disabled X.
13357 case $x_includes,$x_libraries in #(
13358 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13359 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13360 $as_echo_n "(cached) " >&6
13362 # One or both of the vars are not set, and there is no cached value.
13363 ac_x_includes
=no ac_x_libraries
=no
13364 rm -f -r conftest.dir
13365 if mkdir conftest.dir
; then
13367 cat >Imakefile
<<'_ACEOF'
13369 @echo incroot='${INCROOT}'
13371 @echo usrlibdir='${USRLIBDIR}'
13373 @echo libdir='${LIBDIR}'
13375 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13376 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13377 for ac_var
in incroot usrlibdir libdir
; do
13378 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13380 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13381 for ac_extension
in a so sl dylib la dll
; do
13382 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13383 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13384 ac_im_usrlibdir
=$ac_im_libdir; break
13387 # Screen out bogus values from the imake configuration. They are
13388 # bogus both because they are the default anyway, and because
13389 # using them would break gcc on systems where it needs fixed includes.
13390 case $ac_im_incroot in
13391 /usr
/include
) ac_x_includes
= ;;
13392 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13394 case $ac_im_usrlibdir in
13395 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13396 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13400 rm -f -r conftest.dir
13403 # Standard set of common directories for X headers.
13404 # Check X11 before X11Rn because it is often a symlink to the current release.
13418 /usr/local/X11/include
13419 /usr/local/X11R7/include
13420 /usr/local/X11R6/include
13421 /usr/local/X11R5/include
13422 /usr/local/X11R4/include
13424 /usr/local/include/X11
13425 /usr/local/include/X11R7
13426 /usr/local/include/X11R6
13427 /usr/local/include/X11R5
13428 /usr/local/include/X11R4
13432 /usr/XFree86/include/X11
13436 /usr/unsupported/include
13437 /usr/athena/include
13438 /usr/local/x11r5/include
13439 /usr/lpp/Xamples/include
13441 /usr/openwin/include
13442 /usr/openwin/share/include'
13444 if test "$ac_x_includes" = no
; then
13445 # Guess where to find include files, by looking for Xlib.h.
13446 # First, try using that file with no special directory specified.
13447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13448 /* end confdefs.h. */
13449 #include <X11/Xlib.h>
13451 if ac_fn_c_try_cpp
"$LINENO"; then :
13452 # We can compile using X headers with no special include directory.
13455 for ac_dir
in $ac_x_header_dirs; do
13456 if test -r "$ac_dir/X11/Xlib.h"; then
13457 ac_x_includes
=$ac_dir
13462 rm -f conftest.err conftest.i conftest.
$ac_ext
13463 fi # $ac_x_includes = no
13465 if test "$ac_x_libraries" = no
; then
13466 # Check for the libraries.
13467 # See if we find them without any special options.
13468 # Don't add to $LIBS permanently.
13471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13472 /* end confdefs.h. */
13473 #include <X11/Xlib.h>
13482 if ac_fn_c_try_link
"$LINENO"; then :
13484 # We can link X programs with no special library path.
13488 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13490 # Don't even attempt the hair of trying to link an X program!
13491 for ac_extension
in a so sl dylib la dll
; do
13492 if test -r "$ac_dir/libX11.$ac_extension"; then
13493 ac_x_libraries
=$ac_dir
13499 rm -f core conftest.err conftest.
$ac_objext \
13500 conftest
$ac_exeext conftest.
$ac_ext
13501 fi # $ac_x_libraries = no
13503 case $ac_x_includes,$ac_x_libraries in #(
13504 no
,* |
*,no |
*\'*)
13505 # Didn't find X, or a directory has "'" in its name.
13506 ac_cv_have_x
="have_x=no";; #(
13508 # Record where we found X for the cache.
13509 ac_cv_have_x
="have_x=yes\
13510 ac_x_includes='$ac_x_includes'\
13511 ac_x_libraries='$ac_x_libraries'"
13517 eval "$ac_cv_have_x"
13520 if test "$have_x" != yes; then
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13522 $as_echo "$have_x" >&6; }
13525 # If each of the values was on the command line, it overrides each guess.
13526 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13527 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13528 # Update the cache value to reflect the command line values.
13529 ac_cv_have_x
="have_x=yes\
13530 ac_x_includes='$x_includes'\
13531 ac_x_libraries='$x_libraries'"
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13533 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13538 for path
in $x_libraries
13540 x_cflags
="$x_cflags -L$path"
13543 for path
in $x_includes
13545 x_cflags
="$x_cflags -I$path"
13548 if test "x-$no_x" = "x-yes" ; then
13550 if test "x-$x11_hidd" != "x-auto" ; then
13551 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13555 x11_hidd_target
=kernel-x11gfx-kobj
13558 # Check whether --enable-x11_shm was given.
13559 if test "${enable_x11_shm+set}" = set; then :
13560 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13562 x11_hidd_shm
="auto"
13565 case "x-$x11_hidd_shm" in
13566 x-yes|x-no|x-auto
) ;;
13567 *) x11_hidd_shm
="auto" ;;
13572 if test "x-$x11_hidd_shm" != "x-no" ; then
13574 for ac_header
in sys
/ipc.h
13576 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13577 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13578 cat >>confdefs.h
<<_ACEOF
13579 #define HAVE_SYS_IPC_H 1
13586 for ac_header
in sys
/shm.h
13588 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13589 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13590 cat >>confdefs.h
<<_ACEOF
13591 #define HAVE_SYS_SHM_H 1
13599 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13601 save_cflags
="$CFLAGS"
13602 CFLAGS
="$CFLAGS $x_cflags"
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13604 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13605 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13606 $as_echo_n "(cached) " >&6
13608 ac_check_lib_save_LIBS
=$LIBS
13609 LIBS
="-lXext $LIBS"
13610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13611 /* end confdefs.h. */
13613 /* Override any GCC internal prototype to avoid an error.
13614 Use char because int might match the return type of a GCC
13615 builtin and then its argument prototype would still apply. */
13619 char XShmQueryExtension ();
13623 return XShmQueryExtension ();
13628 if ac_fn_c_try_link
"$LINENO"; then :
13629 ac_cv_lib_Xext_XShmQueryExtension
=yes
13631 ac_cv_lib_Xext_XShmQueryExtension
=no
13633 rm -f core conftest.err conftest.
$ac_objext \
13634 conftest
$ac_exeext conftest.
$ac_ext
13635 LIBS
=$ac_check_lib_save_LIBS
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13638 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13639 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13643 CFLAGS
="$save_cflags"
13647 if test "x-$have_xshm" = "x-yes" ; then
13648 DO_XSHM_SUPPORT
="1"
13649 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13650 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13652 DO_XSHM_SUPPORT
="0"
13656 # Check whether --enable-x11_vidmode was given.
13657 if test "${enable_x11_vidmode+set}" = set; then :
13658 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13660 x11_hidd_vidmode
="auto"
13663 case "x-$x11_hidd_vidmode" in
13664 x-yes|x-no|x-auto
) ;;
13665 *) x11_hidd_vidmode
="auto" ;;
13670 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13672 save_cflags
="$CFLAGS"
13673 CFLAGS
="$CFLAGS $x_cflags"
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13675 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13676 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13677 $as_echo_n "(cached) " >&6
13679 ac_check_lib_save_LIBS
=$LIBS
13680 LIBS
="-lXxf86vm $LIBS"
13681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13682 /* end confdefs.h. */
13684 /* Override any GCC internal prototype to avoid an error.
13685 Use char because int might match the return type of a GCC
13686 builtin and then its argument prototype would still apply. */
13690 char XF86VidModeQueryExtension ();
13694 return XF86VidModeQueryExtension ();
13699 if ac_fn_c_try_link
"$LINENO"; then :
13700 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13702 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13704 rm -f core conftest.err conftest.
$ac_objext \
13705 conftest
$ac_exeext conftest.
$ac_ext
13706 LIBS
=$ac_check_lib_save_LIBS
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13709 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13710 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13714 CFLAGS
="$save_cflags"
13717 if test "x-$have_vidmode" = "x-yes" ; then
13718 DO_VIDMODE_SUPPORT
="1"
13719 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13720 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13722 DO_VIDMODE_SUPPORT
="0"
13726 aros_host_x11_includes
=$x_includes
13727 aros_host_x11_libdirs
=$x_libraries
13731 # Check whether --enable-sdl_hidd was given.
13732 if test "${enable_sdl_hidd+set}" = set; then :
13733 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13738 case "x-$sdl_hidd" in
13739 x-yes|x-no|x-auto
) ;;
13740 *) sdl_hidd
="auto" ;;
13743 if test "x-$sdl_hidd" != "x-no" ; then
13746 # Check whether --with-sdl-prefix was given.
13747 if test "${with_sdl_prefix+set}" = set; then :
13748 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13754 # Check whether --with-sdl-exec-prefix was given.
13755 if test "${with_sdl_exec_prefix+set}" = set; then :
13756 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13761 # Check whether --enable-sdltest was given.
13762 if test "${enable_sdltest+set}" = set; then :
13763 enableval
=$enable_sdltest;
13769 if test x
$sdl_exec_prefix != x
; then
13770 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
13771 if test x
${SDL_CONFIG+set} != xset
; then
13772 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
13775 if test x
$sdl_prefix != x
; then
13776 sdl_args
="$sdl_args --prefix=$sdl_prefix"
13777 if test x
${SDL_CONFIG+set} != xset
; then
13778 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
13782 if test "x$prefix" != xNONE
; then
13783 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
13785 # Extract the first word of "sdl-config", so it can be a program name with args.
13786 set dummy sdl-config
; ac_word
=$2
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13788 $as_echo_n "checking for $ac_word... " >&6; }
13789 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
13790 $as_echo_n "(cached) " >&6
13792 case $SDL_CONFIG in
13794 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
13797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13798 for as_dir
in $PATH
13801 test -z "$as_dir" && as_dir
=.
13802 for ac_exec_ext
in '' $ac_executable_extensions; do
13803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13804 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13812 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
13816 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
13817 if test -n "$SDL_CONFIG"; then
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
13819 $as_echo "$SDL_CONFIG" >&6; }
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13822 $as_echo "no" >&6; }
13826 min_sdl_version
=1.2.10
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
13828 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
13830 if test "$SDL_CONFIG" = "no" ; then
13833 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
13834 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
13836 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
13837 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13838 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
13839 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13840 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
13841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13842 if test "x$enable_sdltest" = "xyes" ; then
13843 ac_save_CFLAGS
="$CFLAGS"
13844 ac_save_CXXFLAGS
="$CXXFLAGS"
13845 ac_save_LIBS
="$LIBS"
13846 CFLAGS
="$CFLAGS $SDL_CFLAGS"
13847 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
13848 LIBS
="$LIBS $SDL_LIBS"
13850 if test "$cross_compiling" = yes; then :
13851 echo $ac_n "cross compiling; assumed OK... $ac_c"
13853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13854 /* end confdefs.h. */
13857 #include <stdlib.h>
13858 #include <string.h>
13862 my_strdup (char *str)
13868 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
13869 strcpy (new_str, str);
13877 int main (int argc, char *argv[])
13879 int major, minor, micro;
13882 /* This hangs on some systems (?)
13883 system ("touch conf.sdltest");
13885 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
13887 /* HP/UX 9 (%@#!) writes to sscanf strings */
13888 tmp_version = my_strdup("$min_sdl_version");
13889 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
13890 printf("%s, bad version string\n", "$min_sdl_version");
13894 if (($sdl_major_version > major) ||
13895 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
13896 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
13902 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
13903 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
13904 printf("*** best to upgrade to the required version.\n");
13905 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
13906 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
13907 printf("*** config.cache before re-running configure\n");
13914 if ac_fn_c_try_run
"$LINENO"; then :
13919 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13920 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13923 CFLAGS
="$ac_save_CFLAGS"
13924 CXXFLAGS
="$ac_save_CXXFLAGS"
13925 LIBS
="$ac_save_LIBS"
13928 if test "x$no_sdl" = x
; then
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13930 $as_echo "yes" >&6; }
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13934 $as_echo "no" >&6; }
13935 if test "$SDL_CONFIG" = "no" ; then
13936 echo "*** The sdl-config script installed by SDL could not be found"
13937 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
13938 echo "*** your path, or set the SDL_CONFIG environment variable to the"
13939 echo "*** full path to sdl-config."
13941 if test -f conf.sdltest
; then
13944 echo "*** Could not run SDL test program, checking why..."
13945 CFLAGS
="$CFLAGS $SDL_CFLAGS"
13946 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
13947 LIBS
="$LIBS $SDL_LIBS"
13948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13954 int main(int argc, char *argv[])
13957 #define main K_and_R_C_main
13967 if ac_fn_c_try_link
"$LINENO"; then :
13968 echo "*** The test program compiled, but did not run. This usually means"
13969 echo "*** that the run-time linker is not finding SDL or finding the wrong"
13970 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
13971 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13972 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13973 echo "*** is required on your system"
13975 echo "*** If you have an old version installed, it is best to remove it, although"
13976 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13978 echo "*** The test program failed to compile or link. See the file config.log for the"
13979 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
13980 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
13981 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
13983 rm -f core conftest.err conftest.
$ac_objext \
13984 conftest
$ac_exeext conftest.
$ac_ext
13985 CFLAGS
="$ac_save_CFLAGS"
13986 CXXFLAGS
="$ac_save_CXXFLAGS"
13987 LIBS
="$ac_save_LIBS"
13999 if test "x-$have_sdl" != "x-yes" ; then
14001 if test "x-$sdl_hidd" != "x-auto" ; then
14002 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14006 sdl_hidd_target
=kernel-hidd-sdl
14007 aros_host_sdl_cflags
=SDL_CFLAGS
14008 aros_host_sdl_libs
=SDL_LIBS
14012 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14013 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14018 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14019 oss_library_target
=workbench-libs-oss-unix
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14025 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14026 # Check whether --enable-dbus was given.
14027 if test "${enable_dbus+set}" = set; then :
14028 enableval
=$enable_dbus; dbus
="yes"
14033 if test "$dbus" = "yes" ; then
14035 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14036 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14037 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14038 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14043 $as_echo "$dbus" >&6; }
14045 if test "$use_kernel_cc_wrapper" = "yes" ; then
14046 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14049 if test "${crosstools}" != "yes" ; then
14050 aros_target_toolchain
=no
14052 aros_target_toolchain
=yes
14068 # Compatability with other Amiga-like operation systems
14163 # Delinting target compiler flags
14187 # Native version related
14190 # Palm native version related
14193 # Unix/Hosted version related
14199 # Apple iOS related
14224 # Collect-aros stuff: "-ius" to ignore undefined symbols
14227 # C compiler related
14230 case "$aros_flavour" in
14231 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14232 aros_flavour
="emulation" ;;
14233 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14234 aros_flavour
="emulation" ;;
14235 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14236 aros_flavour
="standalone";;
14237 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14238 aros_flavour
="standalone";;
14239 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14240 aros_flavour
="native" ;;
14241 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14242 aros_flavour
="native" ;;
14243 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14244 aros_flavour
="linklib" ;;
14245 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14246 aros_flavour
="palmnative" ;;
14247 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14248 aros_flavour
="mac68knative" ;;
14249 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14250 aros_flavour
="ppcnative" ;;
14253 if test ! -d ${aros_inc_dir} ; then
14254 ${MKDIR} ${aros_inc_dir}
14256 if test ! -d ${aros_geninc_dir} ; then
14257 ${MKDIR} ${aros_geninc_dir}
14259 if test ! -d ${aros_hostcfg_dir} ; then
14260 ${MKDIR} ${aros_hostcfg_dir}
14262 if test ! -d ${aros_targetcfg_dir} ; then
14263 ${MKDIR} ${aros_targetcfg_dir}
14265 if test ! -d ${aros_tools_dir} ; then
14266 ${MKDIR} ${aros_tools_dir}
14268 if test ! -d ${aros_scripts_dir} ; then
14269 ${MKDIR} ${aros_scripts_dir}
14272 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14275 ac_config_commands
="$ac_config_commands compiler_executable"
14277 ac_config_commands
="$ac_config_commands genmf_executable"
14280 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"
14283 cat >confcache
<<\_ACEOF
14284 # This file is a shell script that caches the results of configure
14285 # tests run on this system so they can be shared between configure
14286 # scripts and configure runs, see configure's option --config-cache.
14287 # It is not useful on other systems. If it contains results you don't
14288 # want to keep, you may remove or edit it.
14290 # config.status only pays attention to the cache file if you give it
14291 # the --recheck option to rerun configure.
14293 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14294 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14295 # following values.
14299 # The following way of writing the cache mishandles newlines in values,
14300 # but we know of no workaround that is simple, portable, and efficient.
14301 # So, we kill variables containing newlines.
14302 # Ultrix sh set writes to stderr and can't be redirected directly,
14303 # and sets the high bit in the cache file unless we assign to the vars.
14305 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14306 eval ac_val
=\$
$ac_var
14310 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14311 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14314 _ | IFS | as_nl
) ;; #(
14315 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14316 *) { eval $ac_var=; unset $ac_var;} ;;
14322 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14323 *${as_nl}ac_space
=\
*)
14324 # `set' does not quote correctly, so add quotes: double-quote
14325 # substitution turns \\\\ into \\, and sed turns \\ into \.
14328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14331 # `set' quotes correctly as required by POSIX, so do not add quotes.
14332 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14341 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14343 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14345 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14346 if test -w "$cache_file"; then
14347 if test "x$cache_file" != "x/dev/null"; then
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14349 $as_echo "$as_me: updating cache $cache_file" >&6;}
14350 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14351 cat confcache
>"$cache_file"
14353 case $cache_file in #(
14355 mv -f confcache
"$cache_file"$$
&&
14356 mv -f "$cache_file"$$
"$cache_file" ;; #(
14358 mv -f confcache
"$cache_file" ;;
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14364 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14369 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14370 # Let make expand exec_prefix.
14371 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14373 DEFS
=-DHAVE_CONFIG_H
14378 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14379 # 1. Remove the extension, and $U if already installed.
14380 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14381 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14382 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14383 # will be set to the directory where LIBOBJS objects are built.
14384 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14385 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14387 LIBOBJS
=$ac_libobjs
14389 LTLIBOBJS
=$ac_ltlibobjs
14393 : "${CONFIG_STATUS=./config.status}"
14395 ac_clean_files_save
=$ac_clean_files
14396 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14398 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14400 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14402 # Generated by $as_me.
14403 # Run this file to recreate the current configuration.
14404 # Compiler output produced by configure, useful for debugging
14405 # configure, is in config.log if it exists.
14408 ac_cs_recheck=false
14411 SHELL=\${CONFIG_SHELL-$SHELL}
14414 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14415 ## -------------------- ##
14416 ## M4sh Initialization. ##
14417 ## -------------------- ##
14419 # Be more Bourne compatible
14420 DUALCASE
=1; export DUALCASE
# for MKS sh
14421 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14424 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14425 # is contrary to our usage. Disable this feature.
14426 alias -g '${1+"$@"}'='"$@"'
14427 setopt NO_GLOB_SUBST
14429 case `(set -o) 2>/dev/null` in #(
14441 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14442 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14443 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14444 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14445 # Prefer a ksh shell builtin over an external printf program on Solaris,
14446 # but without wasting forks for bash or zsh.
14447 if test -z "$BASH_VERSION$ZSH_VERSION" \
14448 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14449 as_echo='print
-r --'
14450 as_echo_n='print
-rn --'
14451 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14452 as_echo='printf %s
\n'
14453 as_echo_n='printf %s
'
14455 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14456 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14457 as_echo_n='/usr
/ucb
/echo -n'
14459 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14460 as_echo_n_body='eval
14464 expr "X$arg" : "X\\(.*\\)$as_nl";
14465 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14467 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14469 export as_echo_n_body
14470 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14472 export as_echo_body
14473 as_echo='sh
-c $as_echo_body as_echo
'
14476 # The user is always right.
14477 if test "${PATH_SEPARATOR+set}" != set; then
14479 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14480 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14487 # We need space, tab and new line, in precisely that order. Quoting is
14488 # there to prevent editors from complaining about space-tab.
14489 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14490 # splitting by setting IFS to empty value.)
14493 # Find who we are. Look in the path if we contain no directory separator.
14496 *[\\/]* ) as_myself=$0 ;;
14497 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14498 for as_dir in $PATH
14501 test -z "$as_dir" && as_dir=.
14502 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14508 # We did not find ourselves, most probably we were run as `sh COMMAND'
14509 # in which case we are not to be found in the path.
14510 if test "x$as_myself" = x
; then
14513 if test ! -f "$as_myself"; then
14514 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14518 # Unset variables that we do not need and which cause bugs (e.g. in
14519 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14520 # suppresses any "Segmentation fault" message there. '((' could
14521 # trigger a bug in pdksh 5.2.14.
14522 for as_var
in BASH_ENV ENV MAIL MAILPATH
14523 do eval test x\
${$as_var+set} = xset \
14524 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14537 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14540 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14541 # ----------------------------------------
14542 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14543 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14544 # script with STATUS, using 1 if that was 0.
14547 as_status
=$1; test $as_status -eq 0 && as_status
=1
14549 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14550 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14552 $as_echo "$as_me: error: $2" >&2
14553 as_fn_exit
$as_status
14557 # as_fn_set_status STATUS
14558 # -----------------------
14559 # Set $? to STATUS, without forking.
14560 as_fn_set_status
()
14563 } # as_fn_set_status
14565 # as_fn_exit STATUS
14566 # -----------------
14567 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14571 as_fn_set_status
$1
14577 # Portably unset VAR.
14580 { eval $1=; unset $1;}
14582 as_unset
=as_fn_unset
14583 # as_fn_append VAR VALUE
14584 # ----------------------
14585 # Append the text in VALUE to the end of the definition contained in VAR. Take
14586 # advantage of any shell optimizations that allow amortized linear growth over
14587 # repeated appends, instead of the typical quadratic growth present in naive
14589 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14590 eval 'as_fn_append ()
14601 # as_fn_arith ARG...
14602 # ------------------
14603 # Perform arithmetic evaluation on the ARGs, and store the result in the
14604 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14605 # must be portable across $(()) and expr.
14606 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14607 eval 'as_fn_arith ()
14614 as_val
=`expr "$@" || test $? -eq 1`
14619 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14620 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14626 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14627 as_basename
=basename
14632 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14638 as_me
=`$as_basename -- "$0" ||
14639 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14640 X"$0" : 'X\(//\)$' \| \
14641 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14643 sed '/^.*\/\([^/][^/]*\)\/*$/{
14657 # Avoid depending upon Character Ranges.
14658 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14659 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14660 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14661 as_cr_digits
='0123456789'
14662 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14664 ECHO_C
= ECHO_N
= ECHO_T
=
14665 case `echo -n x` in #(((((
14667 case `echo 'xy\c'` in
14668 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14670 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14677 rm -f conf$$ conf$$.exe conf$$.
file
14678 if test -d conf$$.dir
; then
14679 rm -f conf$$.dir
/conf$$.
file
14682 mkdir conf$$.dir
2>/dev
/null
14684 if (echo >conf$$.
file) 2>/dev
/null
; then
14685 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14687 # ... but there are two gotchas:
14688 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14689 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14690 # In both cases, we have to default to `cp -p'.
14691 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14693 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14701 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14702 rmdir conf$$.dir
2>/dev
/null
14707 # Create "$as_dir" as a directory, including parents if necessary.
14712 -*) as_dir
=.
/$as_dir;;
14714 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14718 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14719 *) as_qdir
=$as_dir;;
14721 as_dirs
="'$as_qdir' $as_dirs"
14722 as_dir
=`$as_dirname -- "$as_dir" ||
14723 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14724 X"$as_dir" : 'X\(//\)[^/]' \| \
14725 X"$as_dir" : 'X\(//\)$' \| \
14726 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14727 $as_echo X"$as_dir" |
14728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14732 /^X\(\/\/\)[^/].*/{
14745 test -d "$as_dir" && break
14747 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14748 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14752 if mkdir
-p .
2>/dev
/null
; then
14753 as_mkdir_p
='mkdir -p "$as_dir"'
14755 test -d .
/-p && rmdir .
/-p
14759 if test -x / >/dev
/null
2>&1; then
14760 as_test_x
='test -x'
14762 if ls -dL / >/dev
/null
2>&1; then
14769 if test -d "$1"; then
14775 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14776 ???[sx]*):;;*)false;;esac;fi
14780 as_executable_p
=$as_test_x
14782 # Sed expression to map a string onto a valid CPP name.
14783 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14785 # Sed expression to map a string onto a valid variable name.
14786 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14790 ## ----------------------------------- ##
14791 ## Main body of $CONFIG_STATUS script. ##
14792 ## ----------------------------------- ##
14794 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14797 # Save the log message, to keep $0 and so on meaningful, and to
14798 # report actual input values of CONFIG_FILES etc. instead of their
14799 # values after options handling.
14801 This file was extended by $as_me, which was
14802 generated by GNU Autoconf 2.68. Invocation command line was
14804 CONFIG_FILES = $CONFIG_FILES
14805 CONFIG_HEADERS = $CONFIG_HEADERS
14806 CONFIG_LINKS = $CONFIG_LINKS
14807 CONFIG_COMMANDS = $CONFIG_COMMANDS
14810 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14815 case $ac_config_files in *"
14816 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14819 case $ac_config_headers in *"
14820 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14825 # Files that config.status was made for.
14826 config_files="$ac_config_files"
14827 config_headers="$ac_config_headers"
14828 config_commands="$ac_config_commands"
14832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14834 \`$as_me' instantiates files and other configuration actions
14835 from templates according to the current configuration. Unless the files
14836 and actions are specified as TAGs, all are instantiated by default.
14838 Usage: $0 [OPTION]... [TAG]...
14840 -h, --help print this help, then exit
14841 -V, --version print version number and configuration settings, then exit
14842 --config print configuration, then exit
14843 -q, --quiet, --silent
14844 do not print progress messages
14845 -d, --debug don't remove temporary files
14846 --recheck update $as_me by reconfiguring in the same conditions
14847 --file=FILE[:TEMPLATE]
14848 instantiate the configuration file FILE
14849 --header=FILE[:TEMPLATE]
14850 instantiate the configuration header FILE
14852 Configuration files:
14855 Configuration headers:
14858 Configuration commands:
14861 Report bugs to the package provider."
14864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14865 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14868 configured by $0, generated by GNU Autoconf 2.68,
14869 with options \\"\$ac_cs_config\\"
14871 Copyright (C) 2010 Free Software Foundation, Inc.
14872 This config.status script is free software; the Free Software Foundation
14873 gives unlimited permission to copy, distribute and modify it."
14877 test -n "\$AWK" || AWK=awk
14880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14881 # The default lists apply if the user does not specify any file.
14887 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14888 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14892 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14904 # Handling of the options.
14905 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14907 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14908 $as_echo "$ac_cs_version"; exit ;;
14909 --config |
--confi |
--conf |
--con |
--co |
--c )
14910 $as_echo "$ac_cs_config"; exit ;;
14911 --debug |
--debu |
--deb |
--de |
--d |
-d )
14913 --file |
--fil |
--fi |
--f )
14916 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14917 '') as_fn_error $?
"missing file argument" ;;
14919 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14920 ac_need_defaults
=false
;;
14921 --header |
--heade |
--head |
--hea )
14924 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14926 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14927 ac_need_defaults
=false
;;
14929 # Conflict between --help and --header
14930 as_fn_error $?
"ambiguous option: \`$1'
14931 Try \`$0 --help' for more information.";;
14932 --help |
--hel |
-h )
14933 $as_echo "$ac_cs_usage"; exit ;;
14934 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14935 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14938 # This is an error.
14939 -*) as_fn_error $?
"unrecognized option: \`$1'
14940 Try \`$0 --help' for more information." ;;
14942 *) as_fn_append ac_config_targets
" $1"
14943 ac_need_defaults
=false
;;
14949 ac_configure_extra_args
=
14951 if $ac_cs_silent; then
14953 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14958 if \$ac_cs_recheck; then
14959 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14961 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14962 CONFIG_SHELL='$SHELL'
14963 export CONFIG_SHELL
14968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14972 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14973 ## Running $as_me. ##
14979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14984 aros_host_exe_suffix=${aros_host_exe_suffix}
14985 aros_tools_dir=${aros_tools_dir}
14986 aros_target_cpu=${aros_target_cpu}
14987 aros_target_arch=${aros_target_arch}
14988 aros_target_suffix=${aros_target_suffix}
14989 orig_target_nm=${orig_target_nm}
14990 orig_target_as=${orig_target_as}
14991 orig_target_ar=${orig_target_ar}
14992 orig_target_ranlib=${orig_target_ranlib}
14993 orig_target_objdump=${orig_target_objdump}
14994 orig_target_objcopy=${orig_target_objcopy}
14995 orig_target_strip=${orig_target_strip}
14996 aros_kernel_ld=${aros_kernel_ld}
14999 aros_tools_dir=${aros_tools_dir}
15004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15006 # Handling of arguments.
15007 for ac_config_target
in $ac_config_targets
15009 case $ac_config_target in
15010 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15011 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15012 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15013 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15014 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15015 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15016 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15017 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15018 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15019 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15020 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15021 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15022 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15023 "${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" ;;
15024 "${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" ;;
15025 "${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" ;;
15026 "${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" ;;
15027 "${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" ;;
15028 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15029 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15030 "${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" ;;
15032 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15037 # If the user did not use the arguments to specify the items to instantiate,
15038 # then the envvar interface is used. Set only those that are not.
15039 # We use the long form for the default assignment because of an extremely
15040 # bizarre bug on SunOS 4.1.3.
15041 if $ac_need_defaults; then
15042 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15043 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15044 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15047 # Have a temporary directory for convenience. Make it in the build tree
15048 # simply because there is no reason against having it here, and in addition,
15049 # creating and moving files from /tmp can sometimes cause problems.
15050 # Hook for its removal unless debugging.
15051 # Note that there is a small window in which the directory will not be cleaned:
15052 # after its creation but before its name has been assigned to `$tmp'.
15056 trap 'exit_status=$?
15057 : "${ac_tmp:=$tmp}"
15058 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15060 trap 'as_fn_exit 1' 1 2 13 15
15062 # Create a (secure) tmp directory for tmp files.
15065 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15069 tmp
=.
/conf$$
-$RANDOM
15070 (umask 077 && mkdir
"$tmp")
15071 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15074 # Set up the scripts for CONFIG_FILES section.
15075 # No need to generate them if there are no CONFIG_FILES.
15076 # This happens for instance with `./config.status config.h'.
15077 if test -n "$CONFIG_FILES"; then
15080 ac_cr
=`echo X | tr X '\015'`
15081 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15082 # But we know of no other shell where ac_cr would be empty at this
15083 # point, so we can use a bashism as a fallback.
15084 if test "x$ac_cr" = x
; then
15085 eval ac_cr
=\$
\'\\r
\'
15087 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15088 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15091 ac_cs_awk_cr
=$ac_cr
15094 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15099 echo "cat >conf$$subs.awk <<_ACEOF" &&
15100 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15102 } >conf$$subs.sh ||
15103 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15104 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15106 for ac_last_try in false false false false false :; do
15107 . ./conf$$subs.sh ||
15108 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15110 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15111 if test $ac_delim_n = $ac_delim_num; then
15113 elif $ac_last_try; then
15114 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15116 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15119 rm -f conf$$subs.sh
15121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15122 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15126 s/^/S["/; s
/!.
*/"]=/
15136 s/\(.\{148\}\)..*/\1/
15138 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15143 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15150 s/\(.\{148\}\)..*/\1/
15152 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15156 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15161 ' <conf$$subs.awk | sed '
15166 ' >>$CONFIG_STATUS || ac_write_fail=1
15167 rm -f conf$$subs.awk
15168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15170 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15171 for (key in S) S_is_set[key] = 1
15177 nfields = split(line, field, "@
")
15179 len = length(field[1])
15180 for (i = 2; i < nfields; i++) {
15182 keylen = length(key)
15183 if (S_is_set[key]) {
15185 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15186 len += length(value) + length(field[++i])
15197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15198 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15199 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15202 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15203 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15206 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15207 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15208 # trailing colons and then remove the whole line if VPATH becomes empty
15209 # (actually we leave an empty line to preserve line numbers).
15210 if test "x
$srcdir" = x.; then
15211 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15230 fi # test -n "$CONFIG_FILES"
15232 # Set up the scripts for CONFIG_HEADERS section.
15233 # No need to generate them if there are no CONFIG_HEADERS.
15234 # This happens for instance with `./config.status Makefile'.
15235 if test -n "$CONFIG_HEADERS"; then
15236 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15240 # Transform confdefs.h into an awk script `defines.awk', embedded as
15241 # here-document in config.status, that substitutes the proper values into
15242 # config.h.in to produce config.h.
15244 # Create a delimiter string that does not exist in confdefs.h, to ease
15245 # handling of long lines.
15247 for ac_last_try in false false :; do
15248 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15249 if test -z "$ac_tt"; then
15251 elif $ac_last_try; then
15252 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15254 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15258 # For the awk script, D is an array of macro values keyed by name,
15259 # likewise P contains macro parameters if any. Preserve backslash
15260 # newline sequences.
15262 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15264 s/.\{148\}/&'"$ac_delim"'/g
15267 s/^[ ]*#[ ]*define[ ][ ]*/ /
15274 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15276 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15280 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15281 D["\
1"]=" \
3\\\\\\n
"\\/p
15283 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15288 s/.\{148\}/&'"$ac_delim"'/g
15293 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15296 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15298 ' <confdefs.h | sed '
15299 s/'"$ac_delim"'/"\\\
15300 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15303 for (key in D) D_is_set[key] = 1
15306 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15308 split(line, arg, " ")
15309 if (arg[1] == "#") {
15313 defundef
= substr
(arg
[1], 2)
15316 split(mac1
, mac2
, "(") #)
15318 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15319 if (D_is_set
[macro
]) {
15320 # Preserve the white space surrounding the "#".
15321 print prefix
"define", macro P
[macro
] D
[macro
]
15324 # Replace #undef with comments. This is necessary, for example,
15325 # in the case of _POSIX_SOURCE, which is predefined and required
15326 # on some systems where configure will not decide to define it.
15327 if (defundef
== "undef") {
15328 print
"/*", prefix defundef
, macro
, "*/"
15336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15337 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15338 fi # test -n "$CONFIG_HEADERS"
15341 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15346 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15348 case $ac_mode$ac_tag in
15350 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15351 :[FH
]-) ac_tag
=-:-;;
15352 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15369 -) ac_f
="$ac_tmp/stdin";;
15370 *) # Look for the file first in the build tree, then in the source tree
15371 # (if the path is not absolute). The absolute path cannot be DOS-style,
15372 # because $ac_f cannot contain `:'.
15376 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15378 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15380 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15381 as_fn_append ac_file_inputs
" '$ac_f'"
15384 # Let's still pretend it is `configure' which instantiates (i.e., don't
15385 # use $as_me), people would be surprised to read:
15386 # /* config.h. Generated by config.status. */
15387 configure_input
='Generated from '`
15388 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15390 if test x
"$ac_file" != x-
; then
15391 configure_input
="$ac_file. $configure_input"
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15393 $as_echo "$as_me: creating $ac_file" >&6;}
15395 # Neutralize special characters interpreted by sed in replacement strings.
15396 case $configure_input in #(
15397 *\
&* |
*\|
* |
*\\* )
15398 ac_sed_conf_input
=`$as_echo "$configure_input" |
15399 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15400 *) ac_sed_conf_input
=$configure_input;;
15404 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15405 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15410 ac_dir
=`$as_dirname -- "$ac_file" ||
15411 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15412 X"$ac_file" : 'X\(//\)[^/]' \| \
15413 X"$ac_file" : 'X\(//\)$' \| \
15414 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15415 $as_echo X"$ac_file" |
15416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15420 /^X\(\/\/\)[^/].*/{
15433 as_dir
="$ac_dir"; as_fn_mkdir_p
15437 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15439 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15440 # A ".." for each directory in $ac_dir_suffix.
15441 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15442 case $ac_top_builddir_sub in
15443 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15444 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15447 ac_abs_top_builddir
=$ac_pwd
15448 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15449 # for backward compatibility:
15450 ac_top_builddir
=$ac_top_build_prefix
15453 .
) # We are building in place.
15455 ac_top_srcdir
=$ac_top_builddir_sub
15456 ac_abs_top_srcdir
=$ac_pwd ;;
15457 [\\/]* | ?
:[\\/]* ) # Absolute name.
15458 ac_srcdir
=$srcdir$ac_dir_suffix;
15459 ac_top_srcdir
=$srcdir
15460 ac_abs_top_srcdir
=$srcdir ;;
15461 *) # Relative name.
15462 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15463 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15464 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15466 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15478 # If the template does not know about datarootdir, expand it.
15479 # FIXME: This hack should be removed a few years after 2.60.
15480 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15491 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15492 *datarootdir
*) ac_datarootdir_seen
=yes;;
15493 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15495 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15498 ac_datarootdir_hack='
15499 s&@datadir@&$datadir&g
15500 s&@docdir@&$docdir&g
15501 s&@infodir@&$infodir&g
15502 s&@localedir@&$localedir&g
15503 s&@mandir@&$mandir&g
15504 s&\\\${datarootdir}&$datarootdir&g' ;;
15508 # Neutralize VPATH when `$srcdir' = `.'.
15509 # Shell code in configure.ac might set extrasub.
15510 # FIXME: do we really want to maintain this feature?
15511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15512 ac_sed_extra="$ac_vpsub
15515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15517 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15518 s|@configure_input@|
$ac_sed_conf_input|
;t t
15519 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15520 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15521 s
&@srcdir@
&$ac_srcdir&;t t
15522 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15523 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15524 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15525 s
&@builddir@
&$ac_builddir&;t t
15526 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15527 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15528 $ac_datarootdir_hack
15530 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15531 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15533 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15534 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15535 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15536 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15538 which seems to be undefined. Please make sure it is defined" >&5
15539 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15540 which seems to be undefined. Please make sure it is defined" >&2;}
15542 rm -f "$ac_tmp/stdin"
15544 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15545 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15547 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15553 if test x"$ac_file" != x-; then
15555 $as_echo "/* $configure_input */" \
15556 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15557 } >"$ac_tmp/config.h" \
15558 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15559 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15561 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15564 mv "$ac_tmp/config.h" "$ac_file" \
15565 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15568 $as_echo "/* $configure_input */" \
15569 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15570 || as_fn_error $? "could not create -" "$LINENO" 5
15574 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15575 $as_echo "$as_me: executing $ac_file commands" >&6;}
15580 case $ac_file$ac_mode in
15581 "compiler_executable":C)
15582 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15584 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15585 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15589 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15591 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15592 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15593 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15594 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15595 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15596 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15597 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15599 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15601 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15609 ac_clean_files=$ac_clean_files_save
15611 test $ac_write_fail = 0 ||
15612 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15615 # configure is writing to config.log, and then calls config.status.
15616 # config.status does its own redirection, appending to config.log.
15617 # Unfortunately, on DOS this fails, as config.log is still kept open
15618 # by configure, so config.status won't be able to
write to it
; its
15619 # output is simply discarded. So we exec the FD to /dev/null,
15620 # effectively closing config.log, so it can be properly (re)opened and
15621 # appended to by config.status. When coming back to configure, we
15622 # need to make the FD available again.
15623 if test "$no_create" != yes; then
15625 ac_config_status_args
=
15626 test "$silent" = yes &&
15627 ac_config_status_args
="$ac_config_status_args --quiet"
15629 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15631 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15632 # would make configure fail if this is the last instruction.
15633 $ac_cs_success || as_fn_exit
1
15635 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15637 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15642 #XXX compatability...
15643 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15645 if test -n "$aros_shared_cflags" ; then
15646 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15647 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg