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
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 cross_compile_native
=yes
4723 android_build_os
="darwin-x86"
4724 android_tool
="android"
4725 default_android_sdk
="/android-sdk-mac_x86"
4728 aros_host_cpu
="i386"
4731 aros_host_cpu
="x86_64"
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4738 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4739 aros_host_cpu
="$host_cpu"
4743 aros_host_ldflags
="$aros_host_ldflags -liconv"
4748 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4749 aros_host_make
="gmake"
4750 aros_host_arch
="dragonfly"
4753 aros_host_cpu
="i386"
4756 aros_host_cpu
="x86_64"
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4760 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4761 aros_host_cpu
="$host_cpu"
4767 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4768 aros_host_make
="gmake"
4769 aros_host_arch
="netbsd"
4772 aros_host_cpu
="i386"
4775 aros_host_cpu
="m68k"
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4779 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4780 aros_host_cpu
="$host_cpu"
4783 aros_host_lib_suffix
=".0.0"
4787 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4788 aros_host_make
="gmake"
4789 aros_host_arch
="openbsd"
4792 aros_host_cpu
="i386"
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4796 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4797 aros_host_cpu
="$host_cpu"
4803 aros_host_arch
="solaris"
4804 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4807 aros_host_cpu
="i386"
4810 aros_host_cpu
="sparc"
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4814 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4815 aros_host_cpu
="$host_cpu"
4821 aros_host_arch
="morphos"
4823 cross_compile_native
=yes
4827 aros_host_arch
="amiga"
4828 cross_compile_native
=yes
4833 TOUCH
="/gg/bin/touch"
4836 aros_host_cpu
="m68k"
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4843 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4844 aros_host_cpu
="$host_cpu"
4850 aros_host_arch
="cygwin"
4851 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4852 cross_compile_native
=yes
4853 android_build_os
="windows"
4854 android_tool
="android.bat"
4855 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4859 aros_host_cpu
="i386"
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4863 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4864 aros_host_cpu
="$host_cpu"
4870 aros_host_arch
="mingw32"
4871 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4872 cross_compile_native
=yes
4873 android_build_os
="windows"
4874 android_tool
="android.bat"
4875 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4881 $as_echo_n "checking for Windows native gcc target... " >&6; }
4882 host_cpu
=`gcc -dumpmachine`
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4884 $as_echo "$host_cpu" >&6; }
4891 aros_host_cpu
="i386"
4895 aros_host_cpu
="i386"
4899 aros_host_cpu
="x86_64"
4900 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4905 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4906 aros_host_cpu
="$host_cpu"
4911 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4915 # Extract the first word of "ar", so it can be a program name with args.
4916 set dummy
ar; ac_word
=$2
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 $as_echo_n "checking for $ac_word... " >&6; }
4919 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4920 $as_echo_n "(cached) " >&6
4922 if test -n "$aros_host_ar"; then
4923 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4929 test -z "$as_dir" && as_dir
=.
4930 for ac_exec_ext
in '' $ac_executable_extensions; do
4931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4932 ac_cv_prog_aros_host_ar
="ar cr"
4933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 aros_host_ar
=$ac_cv_prog_aros_host_ar
4943 if test -n "$aros_host_ar"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4945 $as_echo "$aros_host_ar" >&6; }
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 $as_echo "no" >&6; }
4952 if test "$aros_host_ar" = ""; then
4953 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4955 # Extract the first word of "ranlib", so it can be a program name with args.
4956 set dummy ranlib
; ac_word
=$2
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4958 $as_echo_n "checking for $ac_word... " >&6; }
4959 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4960 $as_echo_n "(cached) " >&6
4962 if test -n "$aros_host_ranlib"; then
4963 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4969 test -z "$as_dir" && as_dir
=.
4970 for ac_exec_ext
in '' $ac_executable_extensions; do
4971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4972 ac_cv_prog_aros_host_ranlib
="ranlib "
4973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4982 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4983 if test -n "$aros_host_ranlib"; then
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4985 $as_echo "$aros_host_ranlib" >&6; }
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4988 $as_echo "no" >&6; }
4992 if test "$aros_host_ranlib" = ""; then
4993 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4995 # Extract the first word of "strip", so it can be a program name with args.
4996 set dummy strip
; ac_word
=$2
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998 $as_echo_n "checking for $ac_word... " >&6; }
4999 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5000 $as_echo_n "(cached) " >&6
5002 if test -n "$aros_host_strip"; then
5003 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5009 test -z "$as_dir" && as_dir
=.
5010 for ac_exec_ext
in '' $ac_executable_extensions; do
5011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5012 ac_cv_prog_aros_host_strip
="strip "
5013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5022 aros_host_strip
=$ac_cv_prog_aros_host_strip
5023 if test -n "$aros_host_strip"; then
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5025 $as_echo "$aros_host_strip" >&6; }
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5032 if test "$aros_host_strip" = ""; then
5033 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5036 # Extract the first word of "rm", so it can be a program name with args.
5037 set dummy
rm; ac_word
=$2
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039 $as_echo_n "checking for $ac_word... " >&6; }
5040 if ${ac_cv_prog_RM+:} false
; then :
5041 $as_echo_n "(cached) " >&6
5043 if test -n "$RM"; then
5044 ac_cv_prog_RM
="$RM" # Let the user override the test.
5046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5050 test -z "$as_dir" && as_dir
=.
5051 for ac_exec_ext
in '' $ac_executable_extensions; do
5052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5053 ac_cv_prog_RM
="rm -rf"
5054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5064 if test -n "$RM"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5066 $as_echo "$RM" >&6; }
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5073 if test "$RM" = ""; then
5074 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5076 # Extract the first word of "cp", so it can be a program name with args.
5077 set dummy
cp; ac_word
=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if ${ac_cv_prog_CP+:} false
; then :
5081 $as_echo_n "(cached) " >&6
5083 if test -n "$CP"; then
5084 ac_cv_prog_CP
="$CP" # Let the user override the test.
5086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5090 test -z "$as_dir" && as_dir
=.
5091 for ac_exec_ext
in '' $ac_executable_extensions; do
5092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5104 if test -n "$CP"; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5106 $as_echo "$CP" >&6; }
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5113 if test "$CP" = ""; then
5114 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5116 # Extract the first word of "mv", so it can be a program name with args.
5117 set dummy
mv; ac_word
=$2
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 $as_echo_n "checking for $ac_word... " >&6; }
5120 if ${ac_cv_prog_MV+:} false
; then :
5121 $as_echo_n "(cached) " >&6
5123 if test -n "$MV"; then
5124 ac_cv_prog_MV
="$MV" # Let the user override the test.
5126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5130 test -z "$as_dir" && as_dir
=.
5131 for ac_exec_ext
in '' $ac_executable_extensions; do
5132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5144 if test -n "$MV"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5146 $as_echo "$MV" >&6; }
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5153 if test "$MV" = ""; then
5154 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5156 # Extract the first word of "echo", so it can be a program name with args.
5157 set dummy
echo; ac_word
=$2
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5160 if ${ac_cv_prog_ECHO+:} false
; then :
5161 $as_echo_n "(cached) " >&6
5163 if test -n "$ECHO"; then
5164 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5170 test -z "$as_dir" && as_dir
=.
5171 for ac_exec_ext
in '' $ac_executable_extensions; do
5172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5173 ac_cv_prog_ECHO
="echo "
5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 ECHO
=$ac_cv_prog_ECHO
5184 if test -n "$ECHO"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5186 $as_echo "$ECHO" >&6; }
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5193 if test "$ECHO" = ""; then
5194 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5196 # Extract the first word of "mkdir", so it can be a program name with args.
5197 set dummy mkdir
; ac_word
=$2
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5199 $as_echo_n "checking for $ac_word... " >&6; }
5200 if ${ac_cv_prog_MKDIR+:} false
; then :
5201 $as_echo_n "(cached) " >&6
5203 if test -n "$MKDIR"; then
5204 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5210 test -z "$as_dir" && as_dir
=.
5211 for ac_exec_ext
in '' $ac_executable_extensions; do
5212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5213 ac_cv_prog_MKDIR
="mkdir -p"
5214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 MKDIR
=$ac_cv_prog_MKDIR
5224 if test -n "$MKDIR"; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5226 $as_echo "$MKDIR" >&6; }
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5229 $as_echo "no" >&6; }
5233 if test "$MKDIR" = ""; then
5234 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5236 # Extract the first word of "touch", so it can be a program name with args.
5237 set dummy
touch; ac_word
=$2
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5239 $as_echo_n "checking for $ac_word... " >&6; }
5240 if ${ac_cv_prog_TOUCH+:} false
; then :
5241 $as_echo_n "(cached) " >&6
5243 if test -n "$TOUCH"; then
5244 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5250 test -z "$as_dir" && as_dir
=.
5251 for ac_exec_ext
in '' $ac_executable_extensions; do
5252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5253 ac_cv_prog_TOUCH
="touch "
5254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5263 TOUCH
=$ac_cv_prog_TOUCH
5264 if test -n "$TOUCH"; then
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5266 $as_echo "$TOUCH" >&6; }
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 $as_echo "no" >&6; }
5273 if test "$TOUCH" = ""; then
5274 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5276 # Extract the first word of "sort", so it can be a program name with args.
5277 set dummy
sort; ac_word
=$2
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5279 $as_echo_n "checking for $ac_word... " >&6; }
5280 if ${ac_cv_prog_SORT+:} false
; then :
5281 $as_echo_n "(cached) " >&6
5283 if test -n "$SORT"; then
5284 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5290 test -z "$as_dir" && as_dir
=.
5291 for ac_exec_ext
in '' $ac_executable_extensions; do
5292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5293 ac_cv_prog_SORT
="sort "
5294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5303 SORT
=$ac_cv_prog_SORT
5304 if test -n "$SORT"; then
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5306 $as_echo "$SORT" >&6; }
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5309 $as_echo "no" >&6; }
5313 if test "$SORT" = ""; then
5314 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5316 # Extract the first word of "uniq", so it can be a program name with args.
5317 set dummy
uniq; ac_word
=$2
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5319 $as_echo_n "checking for $ac_word... " >&6; }
5320 if ${ac_cv_prog_UNIQ+:} false
; then :
5321 $as_echo_n "(cached) " >&6
5323 if test -n "$UNIQ"; then
5324 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5330 test -z "$as_dir" && as_dir
=.
5331 for ac_exec_ext
in '' $ac_executable_extensions; do
5332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5333 ac_cv_prog_UNIQ
="uniq "
5334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5343 UNIQ
=$ac_cv_prog_UNIQ
5344 if test -n "$UNIQ"; then
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5346 $as_echo "$UNIQ" >&6; }
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5349 $as_echo "no" >&6; }
5353 if test "$UNIQ" = ""; then
5354 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5356 # Extract the first word of "true", so it can be a program name with args.
5357 set dummy true
; ac_word
=$2
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5359 $as_echo_n "checking for $ac_word... " >&6; }
5360 if ${ac_cv_prog_NOP+:} false
; then :
5361 $as_echo_n "(cached) " >&6
5363 if test -n "$NOP"; then
5364 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5370 test -z "$as_dir" && as_dir
=.
5371 for ac_exec_ext
in '' $ac_executable_extensions; do
5372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5373 ac_cv_prog_NOP
="true "
5374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5384 if test -n "$NOP"; then
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5386 $as_echo "$NOP" >&6; }
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5389 $as_echo "no" >&6; }
5393 if test "$NOP" = ""; then
5394 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5396 # Extract the first word of "cat", so it can be a program name with args.
5397 set dummy
cat; ac_word
=$2
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5399 $as_echo_n "checking for $ac_word... " >&6; }
5400 if ${ac_cv_prog_CAT+:} false
; then :
5401 $as_echo_n "(cached) " >&6
5403 if test -n "$CAT"; then
5404 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5410 test -z "$as_dir" && as_dir
=.
5411 for ac_exec_ext
in '' $ac_executable_extensions; do
5412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5413 ac_cv_prog_CAT
="cat "
5414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 if test -n "$CAT"; then
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5426 $as_echo "$CAT" >&6; }
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5429 $as_echo "no" >&6; }
5433 if test "$CAT" = ""; then
5434 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5436 # Extract the first word of "bison", so it can be a program name with args.
5437 set dummy bison
; ac_word
=$2
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5439 $as_echo_n "checking for $ac_word... " >&6; }
5440 if ${ac_cv_prog_BISON+:} false
; then :
5441 $as_echo_n "(cached) " >&6
5443 if test -n "$BISON"; then
5444 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5450 test -z "$as_dir" && as_dir
=.
5451 for ac_exec_ext
in '' $ac_executable_extensions; do
5452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5453 ac_cv_prog_BISON
="bison "
5454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5463 BISON
=$ac_cv_prog_BISON
5464 if test -n "$BISON"; then
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5466 $as_echo "$BISON" >&6; }
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5469 $as_echo "no" >&6; }
5473 if test "$BISON" = ""; then
5474 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5476 # Extract the first word of "flex", so it can be a program name with args.
5477 set dummy flex
; ac_word
=$2
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5479 $as_echo_n "checking for $ac_word... " >&6; }
5480 if ${ac_cv_prog_FLEX+:} false
; then :
5481 $as_echo_n "(cached) " >&6
5483 if test -n "$FLEX"; then
5484 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5490 test -z "$as_dir" && as_dir
=.
5491 for ac_exec_ext
in '' $ac_executable_extensions; do
5492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5493 ac_cv_prog_FLEX
="flex "
5494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5503 FLEX
=$ac_cv_prog_FLEX
5504 if test -n "$FLEX"; then
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5506 $as_echo "$FLEX" >&6; }
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5509 $as_echo "no" >&6; }
5513 if test "$FLEX" = ""; then
5514 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5516 # Extract the first word of "pngtopnm", so it can be a program name with args.
5517 set dummy pngtopnm
; ac_word
=$2
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5519 $as_echo_n "checking for $ac_word... " >&6; }
5520 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5521 $as_echo_n "(cached) " >&6
5523 if test -n "$PNGTOPNM"; then
5524 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5530 test -z "$as_dir" && as_dir
=.
5531 for ac_exec_ext
in '' $ac_executable_extensions; do
5532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5533 ac_cv_prog_PNGTOPNM
="pngtopnm "
5534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5543 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5544 if test -n "$PNGTOPNM"; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5546 $as_echo "$PNGTOPNM" >&6; }
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }
5553 if test "$PNGTOPNM" = ""; then
5554 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5556 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5557 set dummy ppmtoilbm
; ac_word
=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559 $as_echo_n "checking for $ac_word... " >&6; }
5560 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5561 $as_echo_n "(cached) " >&6
5563 if test -n "$PPMTOILBM"; then
5564 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5570 test -z "$as_dir" && as_dir
=.
5571 for ac_exec_ext
in '' $ac_executable_extensions; do
5572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5573 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5584 if test -n "$PPMTOILBM"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5586 $as_echo "$PPMTOILBM" >&6; }
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5589 $as_echo "no" >&6; }
5593 if test "$PPMTOILBM" = ""; then
5594 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5596 # Extract the first word of "sed", so it can be a program name with args.
5597 set dummy
sed; ac_word
=$2
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599 $as_echo_n "checking for $ac_word... " >&6; }
5600 if ${ac_cv_prog_SED+:} false
; then :
5601 $as_echo_n "(cached) " >&6
5603 if test -n "$SED"; then
5604 ac_cv_prog_SED
="$SED" # Let the user override the test.
5606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5610 test -z "$as_dir" && as_dir
=.
5611 for ac_exec_ext
in '' $ac_executable_extensions; do
5612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5613 ac_cv_prog_SED
="sed "
5614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5624 if test -n "$SED"; then
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5626 $as_echo "$SED" >&6; }
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629 $as_echo "no" >&6; }
5633 if test "$SED" = ""; then
5634 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5636 # Extract the first word of "chmod", so it can be a program name with args.
5637 set dummy
chmod; ac_word
=$2
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639 $as_echo_n "checking for $ac_word... " >&6; }
5640 if ${ac_cv_prog_CHMOD+:} false
; then :
5641 $as_echo_n "(cached) " >&6
5643 if test -n "$CHMOD"; then
5644 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5650 test -z "$as_dir" && as_dir
=.
5651 for ac_exec_ext
in '' $ac_executable_extensions; do
5652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5653 ac_cv_prog_CHMOD
="chmod "
5654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5663 CHMOD
=$ac_cv_prog_CHMOD
5664 if test -n "$CHMOD"; then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5666 $as_echo "$CHMOD" >&6; }
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 $as_echo "no" >&6; }
5673 if test "$CHMOD" = ""; then
5674 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5676 # Extract the first word of "patch", so it can be a program name with args.
5677 set dummy
patch; ac_word
=$2
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5679 $as_echo_n "checking for $ac_word... " >&6; }
5680 if ${ac_cv_prog_PATCH+:} false
; then :
5681 $as_echo_n "(cached) " >&6
5683 if test -n "$PATCH"; then
5684 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir
=.
5691 for ac_exec_ext
in '' $ac_executable_extensions; do
5692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5693 ac_cv_prog_PATCH
="patch "
5694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5703 PATCH
=$ac_cv_prog_PATCH
5704 if test -n "$PATCH"; then
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5706 $as_echo "$PATCH" >&6; }
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5709 $as_echo "no" >&6; }
5713 if test "$PATCH" = ""; then
5714 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5721 if test -n "$PYTHON"; then
5722 # If the user set $PYTHON, use it and don't search something else.
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5724 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5725 prog
="import sys, string
5726 # split strings by '.' and convert to numeric. Append some zeros
5727 # because we need at least 4 digits for the hex conversion.
5728 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5730 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5731 sys.exit(sys.hexversion < minverhex)"
5732 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5733 ($PYTHON -c "$prog") >&5 2>&5
5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); }; then :
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5738 $as_echo "yes" >&6; }
5740 as_fn_error $?
"too old" "$LINENO" 5
5742 am_display_PYTHON
=$PYTHON
5744 # Otherwise, try each interpreter until we find one that satisfies
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5747 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5748 if ${am_cv_pathless_PYTHON+:} false
; then :
5749 $as_echo_n "(cached) " >&6
5752 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
5753 test "$am_cv_pathless_PYTHON" = none
&& break
5754 prog
="import sys, string
5755 # split strings by '.' and convert to numeric. Append some zeros
5756 # because we need at least 4 digits for the hex conversion.
5757 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5759 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5760 sys.exit(sys.hexversion < minverhex)"
5761 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5762 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); }; then :
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5771 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5772 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5773 if test "$am_cv_pathless_PYTHON" = none
; then
5776 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5777 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if ${ac_cv_path_PYTHON+:} false
; then :
5781 $as_echo_n "(cached) " >&6
5785 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5792 test -z "$as_dir" && as_dir
=.
5793 for ac_exec_ext
in '' $ac_executable_extensions; do
5794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5795 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5806 PYTHON
=$ac_cv_path_PYTHON
5807 if test -n "$PYTHON"; then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5809 $as_echo "$PYTHON" >&6; }
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5812 $as_echo "no" >&6; }
5817 am_display_PYTHON
=$am_cv_pathless_PYTHON
5821 if test "$PYTHON" = :; then
5822 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5827 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5828 if ${am_cv_python_version+:} false
; then :
5829 $as_echo_n "(cached) " >&6
5831 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5834 $as_echo "$am_cv_python_version" >&6; }
5835 PYTHON_VERSION
=$am_cv_python_version
5839 PYTHON_PREFIX
='${prefix}'
5841 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5846 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5847 if ${am_cv_python_platform+:} false
; then :
5848 $as_echo_n "(cached) " >&6
5850 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5853 $as_echo "$am_cv_python_platform" >&6; }
5854 PYTHON_PLATFORM
=$am_cv_python_platform
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5860 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5861 if ${am_cv_python_pythondir+:} false
; then :
5862 $as_echo_n "(cached) " >&6
5864 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5865 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5868 $as_echo "$am_cv_python_pythondir" >&6; }
5869 pythondir
=$am_cv_python_pythondir
5873 pkgpythondir
=\
${pythondir}/$PACKAGE
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5877 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5878 if ${am_cv_python_pyexecdir+:} false
; then :
5879 $as_echo_n "(cached) " >&6
5881 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5882 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5885 $as_echo "$am_cv_python_pyexecdir" >&6; }
5886 pyexecdir
=$am_cv_python_pyexecdir
5890 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5908 # Check for some includes for the X11 HIDD and the kernel
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5912 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5913 if ${ac_cv_path_GREP+:} false
; then :
5914 $as_echo_n "(cached) " >&6
5916 if test -z "$GREP"; then
5917 ac_path_GREP_found
=false
5918 # Loop through the user's path and test for each of PROGNAME-LIST
5919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5920 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5923 test -z "$as_dir" && as_dir
=.
5924 for ac_prog
in grep ggrep
; do
5925 for ac_exec_ext
in '' $ac_executable_extensions; do
5926 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5927 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5928 # Check for GNU ac_path_GREP and select it if it is found.
5929 # Check for GNU $ac_path_GREP
5930 case `"$ac_path_GREP" --version 2>&1` in
5932 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5935 $as_echo_n 0123456789 >"conftest.in"
5938 cat "conftest.in" "conftest.in" >"conftest.tmp"
5939 mv "conftest.tmp" "conftest.in"
5940 cp "conftest.in" "conftest.nl"
5941 $as_echo 'GREP' >> "conftest.nl"
5942 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5943 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5944 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5945 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5946 # Best one so far, save it but keep looking for a better one
5947 ac_cv_path_GREP
="$ac_path_GREP"
5948 ac_path_GREP_max
=$ac_count
5950 # 10*(2^10) chars as input seems more than enough
5951 test $ac_count -gt 10 && break
5953 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5956 $ac_path_GREP_found && break 3
5961 if test -z "$ac_cv_path_GREP"; then
5962 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5965 ac_cv_path_GREP
=$GREP
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5970 $as_echo "$ac_cv_path_GREP" >&6; }
5971 GREP
="$ac_cv_path_GREP"
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5975 $as_echo_n "checking for egrep... " >&6; }
5976 if ${ac_cv_path_EGREP+:} false
; then :
5977 $as_echo_n "(cached) " >&6
5979 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5980 then ac_cv_path_EGREP
="$GREP -E"
5982 if test -z "$EGREP"; then
5983 ac_path_EGREP_found
=false
5984 # Loop through the user's path and test for each of PROGNAME-LIST
5985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5986 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5989 test -z "$as_dir" && as_dir
=.
5990 for ac_prog
in egrep; do
5991 for ac_exec_ext
in '' $ac_executable_extensions; do
5992 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5993 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5994 # Check for GNU ac_path_EGREP and select it if it is found.
5995 # Check for GNU $ac_path_EGREP
5996 case `"$ac_path_EGREP" --version 2>&1` in
5998 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6001 $as_echo_n 0123456789 >"conftest.in"
6004 cat "conftest.in" "conftest.in" >"conftest.tmp"
6005 mv "conftest.tmp" "conftest.in"
6006 cp "conftest.in" "conftest.nl"
6007 $as_echo 'EGREP' >> "conftest.nl"
6008 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6009 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6010 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6011 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6012 # Best one so far, save it but keep looking for a better one
6013 ac_cv_path_EGREP
="$ac_path_EGREP"
6014 ac_path_EGREP_max
=$ac_count
6016 # 10*(2^10) chars as input seems more than enough
6017 test $ac_count -gt 10 && break
6019 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6022 $ac_path_EGREP_found && break 3
6027 if test -z "$ac_cv_path_EGREP"; then
6028 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6031 ac_cv_path_EGREP
=$EGREP
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6037 $as_echo "$ac_cv_path_EGREP" >&6; }
6038 EGREP
="$ac_cv_path_EGREP"
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6042 $as_echo_n "checking for ANSI C header files... " >&6; }
6043 if ${ac_cv_header_stdc+:} false
; then :
6044 $as_echo_n "(cached) " >&6
6046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6047 /* end confdefs.h. */
6061 if ac_fn_c_try_compile
"$LINENO"; then :
6062 ac_cv_header_stdc
=yes
6064 ac_cv_header_stdc
=no
6066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6068 if test $ac_cv_header_stdc = yes; then
6069 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6071 /* end confdefs.h. */
6075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6076 $EGREP "memchr" >/dev
/null
2>&1; then :
6079 ac_cv_header_stdc
=no
6085 if test $ac_cv_header_stdc = yes; then
6086 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6088 /* end confdefs.h. */
6092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6093 $EGREP "free" >/dev
/null
2>&1; then :
6096 ac_cv_header_stdc
=no
6102 if test $ac_cv_header_stdc = yes; then
6103 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6104 if test "$cross_compiling" = yes; then :
6107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6108 /* end confdefs.h. */
6111 #if ((' ' & 0x0FF) == 0x020)
6112 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6113 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6115 # define ISLOWER(c) \
6116 (('a' <= (c) && (c) <= 'i') \
6117 || ('j' <= (c) && (c) <= 'r') \
6118 || ('s' <= (c) && (c) <= 'z'))
6119 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6122 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6127 for (i = 0; i < 256; i++)
6128 if (XOR (islower (i), ISLOWER (i))
6129 || toupper (i) != TOUPPER (i))
6134 if ac_fn_c_try_run
"$LINENO"; then :
6137 ac_cv_header_stdc
=no
6139 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6140 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6146 $as_echo "$ac_cv_header_stdc" >&6; }
6147 if test $ac_cv_header_stdc = yes; then
6149 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6153 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6154 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6155 inttypes.h stdint.h unistd.h
6157 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6158 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6160 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6161 cat >>confdefs.h
<<_ACEOF
6162 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6170 for ac_header
in sys
/ipc.h sys
/shm.h \
6171 sys
/mmap.h sys
/mman.h sysexits.h \
6172 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6175 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6176 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6177 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6178 cat >>confdefs.h
<<_ACEOF
6179 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6187 for ac_header
in sys
/mount.h
6189 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6191 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6192 cat >>confdefs.h
<<_ACEOF
6193 #define HAVE_SYS_MOUNT_H 1
6202 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6203 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6205 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6206 if eval \
${$as_ac_Header+:} false
; then :
6207 $as_echo_n "(cached) " >&6
6209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6210 /* end confdefs.h. */
6211 #include <sys/types.h>
6223 if ac_fn_c_try_compile
"$LINENO"; then :
6224 eval "$as_ac_Header=yes"
6226 eval "$as_ac_Header=no"
6228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6230 eval ac_res
=\$
$as_ac_Header
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6232 $as_echo "$ac_res" >&6; }
6233 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6234 cat >>confdefs.h
<<_ACEOF
6235 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6238 ac_header_dirent
=$ac_hdr; break
6242 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6243 if test $ac_header_dirent = dirent.h
; then
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6245 $as_echo_n "checking for library containing opendir... " >&6; }
6246 if ${ac_cv_search_opendir+:} false
; then :
6247 $as_echo_n "(cached) " >&6
6249 ac_func_search_save_LIBS
=$LIBS
6250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6251 /* end confdefs.h. */
6253 /* Override any GCC internal prototype to avoid an error.
6254 Use char because int might match the return type of a GCC
6255 builtin and then its argument prototype would still apply. */
6268 for ac_lib
in '' dir
; do
6269 if test -z "$ac_lib"; then
6270 ac_res
="none required"
6273 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6275 if ac_fn_c_try_link
"$LINENO"; then :
6276 ac_cv_search_opendir
=$ac_res
6278 rm -f core conftest.err conftest.
$ac_objext \
6280 if ${ac_cv_search_opendir+:} false
; then :
6284 if ${ac_cv_search_opendir+:} false
; then :
6287 ac_cv_search_opendir
=no
6290 LIBS
=$ac_func_search_save_LIBS
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6293 $as_echo "$ac_cv_search_opendir" >&6; }
6294 ac_res
=$ac_cv_search_opendir
6295 if test "$ac_res" != no
; then :
6296 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6302 $as_echo_n "checking for library containing opendir... " >&6; }
6303 if ${ac_cv_search_opendir+:} false
; then :
6304 $as_echo_n "(cached) " >&6
6306 ac_func_search_save_LIBS
=$LIBS
6307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6308 /* end confdefs.h. */
6310 /* Override any GCC internal prototype to avoid an error.
6311 Use char because int might match the return type of a GCC
6312 builtin and then its argument prototype would still apply. */
6325 for ac_lib
in '' x
; do
6326 if test -z "$ac_lib"; then
6327 ac_res
="none required"
6330 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6332 if ac_fn_c_try_link
"$LINENO"; then :
6333 ac_cv_search_opendir
=$ac_res
6335 rm -f core conftest.err conftest.
$ac_objext \
6337 if ${ac_cv_search_opendir+:} false
; then :
6341 if ${ac_cv_search_opendir+:} false
; then :
6344 ac_cv_search_opendir
=no
6347 LIBS
=$ac_func_search_save_LIBS
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6350 $as_echo "$ac_cv_search_opendir" >&6; }
6351 ac_res
=$ac_cv_search_opendir
6352 if test "$ac_res" != no
; then :
6353 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6360 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6361 if ${ac_cv_header_stat_broken+:} false
; then :
6362 $as_echo_n "(cached) " >&6
6364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6366 #include <sys/types.h>
6367 #include <sys/stat.h>
6369 #if defined S_ISBLK && defined S_IFDIR
6370 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6373 #if defined S_ISBLK && defined S_IFCHR
6374 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6377 #if defined S_ISLNK && defined S_IFREG
6378 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6381 #if defined S_ISSOCK && defined S_IFREG
6382 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6386 if ac_fn_c_try_compile
"$LINENO"; then :
6387 ac_cv_header_stat_broken
=no
6389 ac_cv_header_stat_broken
=yes
6391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6394 $as_echo "$ac_cv_header_stat_broken" >&6; }
6395 if test $ac_cv_header_stat_broken = yes; then
6397 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6402 $as_echo_n "checking for ANSI C header files... " >&6; }
6403 if ${ac_cv_header_stdc+:} false
; then :
6404 $as_echo_n "(cached) " >&6
6406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6407 /* end confdefs.h. */
6421 if ac_fn_c_try_compile
"$LINENO"; then :
6422 ac_cv_header_stdc
=yes
6424 ac_cv_header_stdc
=no
6426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6428 if test $ac_cv_header_stdc = yes; then
6429 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6431 /* end confdefs.h. */
6435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6436 $EGREP "memchr" >/dev
/null
2>&1; then :
6439 ac_cv_header_stdc
=no
6445 if test $ac_cv_header_stdc = yes; then
6446 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6448 /* end confdefs.h. */
6452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6453 $EGREP "free" >/dev
/null
2>&1; then :
6456 ac_cv_header_stdc
=no
6462 if test $ac_cv_header_stdc = yes; then
6463 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6464 if test "$cross_compiling" = yes; then :
6467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6468 /* end confdefs.h. */
6471 #if ((' ' & 0x0FF) == 0x020)
6472 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6473 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6475 # define ISLOWER(c) \
6476 (('a' <= (c) && (c) <= 'i') \
6477 || ('j' <= (c) && (c) <= 'r') \
6478 || ('s' <= (c) && (c) <= 'z'))
6479 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6482 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6487 for (i = 0; i < 256; i++)
6488 if (XOR (islower (i), ISLOWER (i))
6489 || toupper (i) != TOUPPER (i))
6494 if ac_fn_c_try_run
"$LINENO"; then :
6497 ac_cv_header_stdc
=no
6499 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6500 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6506 $as_echo "$ac_cv_header_stdc" >&6; }
6507 if test $ac_cv_header_stdc = yes; then
6509 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6514 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6515 if ${ac_cv_header_sys_wait_h+:} false
; then :
6516 $as_echo_n "(cached) " >&6
6518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6519 /* end confdefs.h. */
6520 #include <sys/types.h>
6521 #include <sys/wait.h>
6523 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6526 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6534 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6539 if ac_fn_c_try_compile
"$LINENO"; then :
6540 ac_cv_header_sys_wait_h
=yes
6542 ac_cv_header_sys_wait_h
=no
6544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6547 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6548 if test $ac_cv_header_sys_wait_h = yes; then
6550 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6555 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6556 if ${ac_cv_header_time+:} false
; then :
6557 $as_echo_n "(cached) " >&6
6559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6560 /* end confdefs.h. */
6561 #include <sys/types.h>
6562 #include <sys/time.h>
6568 if ((struct tm *) 0)
6574 if ac_fn_c_try_compile
"$LINENO"; then :
6575 ac_cv_header_time
=yes
6577 ac_cv_header_time
=no
6579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6582 $as_echo "$ac_cv_header_time" >&6; }
6583 if test $ac_cv_header_time = yes; then
6585 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6589 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6590 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6592 cat >>confdefs.h
<<_ACEOF
6593 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6597 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6602 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6603 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6605 cat >>confdefs.h
<<_ACEOF
6606 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6610 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6613 case " $LIBOBJS " in
6614 *" fileblocks.$ac_objext "* ) ;;
6615 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6622 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6623 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6625 cat >>confdefs.h
<<_ACEOF
6626 #define HAVE_STRUCT_STAT_ST_RDEV 1
6630 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6636 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6637 if ${ac_cv_struct_tm+:} false
; then :
6638 $as_echo_n "(cached) " >&6
6640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6641 /* end confdefs.h. */
6642 #include <sys/types.h>
6649 int *p = &tm.tm_sec;
6655 if ac_fn_c_try_compile
"$LINENO"; then :
6656 ac_cv_struct_tm
=time.h
6658 ac_cv_struct_tm
=sys
/time.h
6660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6663 $as_echo "$ac_cv_struct_tm" >&6; }
6664 if test $ac_cv_struct_tm = sys
/time.h
; then
6666 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6670 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6671 #include <$ac_cv_struct_tm>
6674 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6676 cat >>confdefs.h
<<_ACEOF
6677 #define HAVE_STRUCT_TM_TM_ZONE 1
6683 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6685 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6688 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6690 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6696 cat >>confdefs.h
<<_ACEOF
6697 #define HAVE_DECL_TZNAME $ac_have_decl
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6701 $as_echo_n "checking for tzname... " >&6; }
6702 if ${ac_cv_var_tzname+:} false
; then :
6703 $as_echo_n "(cached) " >&6
6705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6706 /* end confdefs.h. */
6708 #if !HAVE_DECL_TZNAME
6709 extern char *tzname[];
6715 return tzname[0][0];
6720 if ac_fn_c_try_link
"$LINENO"; then :
6721 ac_cv_var_tzname
=yes
6725 rm -f core conftest.err conftest.
$ac_objext \
6726 conftest
$ac_exeext conftest.
$ac_ext
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6729 $as_echo "$ac_cv_var_tzname" >&6; }
6730 if test $ac_cv_var_tzname = yes; then
6732 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6737 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6738 if test "x$ac_cv_type_off_t" = xyes
; then :
6742 cat >>confdefs.h
<<_ACEOF
6743 #define off_t long int
6748 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6749 if test "x$ac_cv_type_pid_t" = xyes
; then :
6753 cat >>confdefs.h
<<_ACEOF
6759 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6760 if test "x$ac_cv_type_size_t" = xyes
; then :
6764 cat >>confdefs.h
<<_ACEOF
6765 #define size_t unsigned int
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6771 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6772 if ${ac_cv_type_uid_t+:} false
; then :
6773 $as_echo_n "(cached) " >&6
6775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6776 /* end confdefs.h. */
6777 #include <sys/types.h>
6780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6781 $EGREP "uid_t" >/dev
/null
2>&1; then :
6782 ac_cv_type_uid_t
=yes
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6790 $as_echo "$ac_cv_type_uid_t" >&6; }
6791 if test $ac_cv_type_uid_t = no
; then
6793 $as_echo "#define uid_t int" >>confdefs.h
6796 $as_echo "#define gid_t int" >>confdefs.h
6801 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6802 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6804 cat >>confdefs.h
<<_ACEOF
6805 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6812 # Look for some functions
6813 for ac_func
in getpagesize kqueue statfs statvfs \
6814 clone kse_create rfork_thread thr_create sa_register \
6815 getcontext makecontext setcontext sigaltstack swapcontext
6817 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6818 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6819 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6820 cat >>confdefs.h
<<_ACEOF
6821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6831 for ac_header
in $ac_header_list
6833 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6834 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6836 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6837 cat >>confdefs.h
<<_ACEOF
6838 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6852 for ac_func
in getpagesize
6854 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6855 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6856 cat >>confdefs.h
<<_ACEOF
6857 #define HAVE_GETPAGESIZE 1
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6864 $as_echo_n "checking for working mmap... " >&6; }
6865 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6866 $as_echo_n "(cached) " >&6
6868 if test "$cross_compiling" = yes; then :
6869 ac_cv_func_mmap_fixed_mapped
=no
6871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6872 /* end confdefs.h. */
6873 $ac_includes_default
6874 /* malloc might have been renamed as rpl_malloc. */
6877 /* Thanks to Mike Haertel and Jim Avera for this test.
6878 Here is a matrix of mmap possibilities:
6879 mmap private not fixed
6880 mmap private fixed at somewhere currently unmapped
6881 mmap private fixed at somewhere already mapped
6882 mmap shared not fixed
6883 mmap shared fixed at somewhere currently unmapped
6884 mmap shared fixed at somewhere already mapped
6885 For private mappings, we should verify that changes cannot be read()
6886 back from the file, nor mmap's back from the file at a different
6887 address. (There have been systems where private was not correctly
6888 implemented like the infamous i386 svr4.0, and systems where the
6889 VM page cache was not coherent with the file system buffer cache
6890 like early versions of FreeBSD and possibly contemporary NetBSD.)
6891 For shared mappings, we should conversely verify that changes get
6892 propagated back to all the places they're supposed to be.
6894 Grep wants private fixed already mapped.
6895 The main things grep needs to know about mmap are:
6896 * does it exist and is it safe to write into the mmap'd area
6897 * how to use it (BSD variants) */
6900 #include <sys/mman.h>
6902 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6906 /* This mess was copied from the GNU getpagesize.h. */
6907 #ifndef HAVE_GETPAGESIZE
6908 # ifdef _SC_PAGESIZE
6909 # define getpagesize() sysconf(_SC_PAGESIZE)
6910 # else /* no _SC_PAGESIZE */
6911 # ifdef HAVE_SYS_PARAM_H
6912 # include <sys/param.h>
6913 # ifdef EXEC_PAGESIZE
6914 # define getpagesize() EXEC_PAGESIZE
6915 # else /* no EXEC_PAGESIZE */
6917 # define getpagesize() NBPG * CLSIZE
6920 # endif /* no CLSIZE */
6921 # else /* no NBPG */
6923 # define getpagesize() NBPC
6924 # else /* no NBPC */
6926 # define getpagesize() PAGESIZE
6927 # endif /* PAGESIZE */
6928 # endif /* no NBPC */
6929 # endif /* no NBPG */
6930 # endif /* no EXEC_PAGESIZE */
6931 # else /* no HAVE_SYS_PARAM_H */
6932 # define getpagesize() 8192 /* punt totally */
6933 # endif /* no HAVE_SYS_PARAM_H */
6934 # endif /* no _SC_PAGESIZE */
6936 #endif /* no HAVE_GETPAGESIZE */
6941 char *data, *data2, *data3;
6946 pagesize = getpagesize ();
6948 /* First, make a file with some known garbage in it. */
6949 data = (char *) malloc (pagesize);
6952 for (i = 0; i < pagesize; ++i)
6953 *(data + i) = rand ();
6955 fd = creat ("conftest.mmap", 0600);
6958 if (write (fd, data, pagesize) != pagesize)
6962 /* Next, check that the tail of a page is zero-filled. File must have
6963 non-zero length, otherwise we risk SIGBUS for entire page. */
6964 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6968 if (write (fd2, cdata2, 1) != 1)
6970 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6971 if (data2 == MAP_FAILED)
6973 for (i = 0; i < pagesize; ++i)
6977 if (munmap (data2, pagesize))
6980 /* Next, try to mmap the file at a fixed address which already has
6981 something else allocated at it. If we can, also make sure that
6982 we see the same garbage. */
6983 fd = open ("conftest.mmap", O_RDWR);
6986 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6987 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6989 for (i = 0; i < pagesize; ++i)
6990 if (*(data + i) != *(data2 + i))
6993 /* Finally, make sure that changes to the mapped area do not
6994 percolate back to the file as seen by read(). (This is a bug on
6995 some variants of i386 svr4.0.) */
6996 for (i = 0; i < pagesize; ++i)
6997 *(data2 + i) = *(data2 + i) + 1;
6998 data3 = (char *) malloc (pagesize);
7001 if (read (fd, data3, pagesize) != pagesize)
7003 for (i = 0; i < pagesize; ++i)
7004 if (*(data + i) != *(data3 + i))
7010 if ac_fn_c_try_run
"$LINENO"; then :
7011 ac_cv_func_mmap_fixed_mapped
=yes
7013 ac_cv_func_mmap_fixed_mapped
=no
7015 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7016 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7021 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7022 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7024 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7027 rm -f conftest.mmap conftest.txt
7032 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7033 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7034 aros_config_ldflags
=""
7036 aros_shared_default
=yes
7038 aros_shared_cflags
="-fPIC"
7039 aros_shared_aflags
=""
7040 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7041 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7043 aros_kernel_ar_flags
="cr"
7044 aros_target_ar_flags
="cr"
7045 aros_target_nm_flags
="-C -ul"
7046 aros_target_strip_flags
="--strip-unneeded -R.comment"
7051 aros_target_genmap
="-Wl,-Map -Xlinker"
7053 # Native flavour stuff
7054 aros_serial_debug
="0"
7056 # Palm native flavour stuff
7057 aros_palm_debug_hack
="0"
7059 # Unix flavour stuff
7060 aros_nesting_supervisor
="0"
7062 # Collect-aros stuff: "-ius" to ignore undefined symbols
7063 ignore_undefined_symbols
=""
7065 # Check for X11 by default
7068 #-----------------------------------------------------------------------------
7071 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7072 # it switched on by default, and we use the host compiler, so it compiles AROS
7073 # code with this enabled resulting in link failures as we don't have support
7076 # We use two methods to disable it. For the host compiler (used to compile
7077 # some hosted modules), we test to see if the compiler supports stack
7078 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7079 # work on all platforms.
7081 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7082 # (this is done unconditionally, as it should have no effect on compilers
7083 # without the stack protection feature). This may be specific to the way that
7084 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7085 # strong enough to disable it in a generic way though, so we'll live with it
7086 # until another vendor ships GCC with it enabled in a different way, and deal
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7091 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7092 save_cflags
="$CFLAGS"
7093 CFLAGS
="$CFLAGS -fno-stack-protector"
7094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7095 /* end confdefs.h. */
7105 if ac_fn_c_try_compile
"$LINENO"; then :
7106 use_no_stack_protector
="yes"
7108 use_no_stack_protector
="no"
7110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7112 $as_echo "$use_no_stack_protector" >&6; }
7113 if test "x-$use_no_stack_protector" = "x-yes" ; then
7114 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7116 CFLAGS
="$save_cflags"
7118 #-----------------------------------------------------------------------------
7120 # Disable pointer-signedness warnings if the compiler recognises the option
7121 # (this only works for the host compiler at the moment)
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7124 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7125 save_cflags
="$CFLAGS"
7126 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7128 /* end confdefs.h. */
7138 if ac_fn_c_try_compile
"$LINENO"; then :
7139 use_no_sign_warning
="yes"
7141 use_no_sign_warning
="no"
7143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7145 $as_echo "$use_no_sign_warning" >&6; }
7146 if test "x-$use_no_sign_warning" = "x-yes" ; then
7147 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7149 CFLAGS
="$save_cflags"
7151 #-----------------------------------------------------------------------------
7153 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7156 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7157 save_cflags
="$CFLAGS"
7158 CFLAGS
="$CFLAGS -fgnu89-inline"
7159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7160 /* end confdefs.h. */
7170 if ac_fn_c_try_compile
"$LINENO"; then :
7171 use_gnu89_inline
="yes"
7173 use_gnu89_inline
="no"
7175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7177 $as_echo "$use_gnu89_inline" >&6; }
7178 if test "x-$use_gnu89_inline" = "x-yes" ; then
7179 gnu89_inline
="-fgnu89-inline"
7181 CFLAGS
="$save_cflags"
7183 #-----------------------------------------------------------------------------
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7186 $as_echo_n "checking for type of build... " >&6; }
7187 # Check whether --enable-build_type was given.
7188 if test "${enable_build_type+set}" = set; then :
7189 enableval
=$enable_build_type; build_type
=$enableval
7191 build_type
="personal"
7195 if test "$build_type" = "nightly"; then
7196 build_type_string
="NIGHTLY"
7197 elif test "$build_type" = "snapshot"; then
7198 build_type_string
="SNAPSHOT"
7199 elif test "$build_type" = "milestone"; then
7200 build_type_string
="MILESTONE"
7201 elif test "$build_type" = "release"; then
7202 build_type_string
="RELEASE"
7204 build_type_string
="PERSONAL"
7205 build_type
="personal"
7208 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7211 $as_echo "$build_type" >&6; }
7213 #-----------------------------------------------------------------------------
7214 all_debug_types
="messages stack modules mungwall symbols"
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7217 $as_echo_n "checking which debug types to enable... " >&6; }
7218 # Check whether --enable-debug was given.
7219 if test "${enable_debug+set}" = set; then :
7220 enableval
=$enable_debug; debug
="$enableval"
7226 if test "$debug" = "" -o "$debug" = "no"; then
7228 elif test "$debug" = "yes"; then
7232 if test "$debug" = "all" ; then
7233 debug
="messages stack modules symbols"
7234 for d
in $all_debug_types; do
7235 export aros_
${d}_debug
="1"
7238 for d
in $all_debug_types; do
7239 export aros_
${d}_debug
="0"
7243 if test "$debug" != "none"; then
7244 debug
=`echo $debug | sed s/,/\ /g`
7247 for d2
in $all_debug_types; do
7248 if test "$d2" = "$d"; then
7253 if test "$found" = "0"; then
7254 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7256 export aros_
${d}_debug
="1"
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7261 $as_echo "$debug" >&6; }
7263 if test "$aros_messages_debug" = "1"; then
7264 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7266 aros_messages_debug
=""
7268 if test "$aros_symbols_debug" = "1"; then
7269 aros_symbols_debug
="-g"
7271 aros_symbols_debug
=""
7274 # These are the flags to pass when compiling debugged programs
7275 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7276 aros_debug_aflags
=""
7277 aros_debug_ldflags
="$aros_symbols_debug"
7279 #-----------------------------------------------------------------------------
7280 # Checking for distcc and ccache.
7282 # Always apply the transforms in this particular order. Basically you should
7283 # always run 'ccache distcc compiler' in that order for the best performance.
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7286 $as_echo_n "checking whether to enable distcc... " >&6; }
7287 # Check whether --enable-distcc was given.
7288 if test "${enable_distcc+set}" = set; then :
7289 enableval
=$enable_distcc; distcc
="$enableval"
7294 if test "$distcc" != "" -a "$distcc" != "no"; then
7295 # AC_CHECK_PROG will print out the result in this case
7296 # Extract the first word of "distcc", so it can be a program name with args.
7297 set dummy distcc
; ac_word
=$2
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7299 $as_echo_n "checking for $ac_word... " >&6; }
7300 if ${ac_cv_path_DISTCC+:} false
; then :
7301 $as_echo_n "(cached) " >&6
7305 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7312 test -z "$as_dir" && as_dir
=.
7313 for ac_exec_ext
in '' $ac_executable_extensions; do
7314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7315 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7323 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7327 DISTCC
=$ac_cv_path_DISTCC
7328 if test -n "$DISTCC"; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7330 $as_echo "$DISTCC" >&6; }
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7333 $as_echo "no" >&6; }
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7339 $as_echo "no" >&6; }
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7343 $as_echo_n "checking whether to enable ccache... " >&6; }
7344 # Check whether --enable-ccache was given.
7345 if test "${enable_ccache+set}" = set; then :
7346 enableval
=$enable_ccache; ccache
="$enableval"
7351 if test "$ccache" != "" -a "$ccache" != "no"; then
7352 # AC_CHECK_PROG will print out the result in this case
7353 # Extract the first word of "ccache", so it can be a program name with args.
7354 set dummy ccache
; ac_word
=$2
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7356 $as_echo_n "checking for $ac_word... " >&6; }
7357 if ${ac_cv_prog_CCACHE+:} false
; then :
7358 $as_echo_n "(cached) " >&6
7360 if test -n "$CCACHE"; then
7361 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7367 test -z "$as_dir" && as_dir
=.
7368 for ac_exec_ext
in '' $ac_executable_extensions; do
7369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7370 ac_cv_prog_CCACHE
="ccache"
7371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7380 CCACHE
=$ac_cv_prog_CCACHE
7381 if test -n "$CCACHE"; then
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7383 $as_echo "$CCACHE" >&6; }
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386 $as_echo "no" >&6; }
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7392 $as_echo "no" >&6; }
7395 #-----------------------------------------------------------------------------
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7397 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7399 # Check whether --with-gcc-version was given.
7400 if test "${with_gcc_version+set}" = set; then :
7401 withval
=$with_gcc_version; kernel_tool_version
="$withval"
7403 kernel_tool_version
="default"
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7407 $as_echo "$kernel_tool_version" >&6; }
7409 #-----------------------------------------------------------------------------
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7411 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7413 # Check whether --with-gcc-version was given.
7414 if test "${with_gcc_version+set}" = set; then :
7415 withval
=$with_gcc_version; target_tool_version
="$withval"
7417 target_tool_version
="default"
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7421 $as_echo "$target_tool_version" >&6; }
7423 #-----------------------------------------------------------------------------
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7425 $as_echo_n "checking what optimization flags to use... " >&6; }
7427 # Check whether --with-optimization was given.
7428 if test "${with_optimization+set}" = set; then :
7429 withval
=$with_optimization; optimization
="$withval"
7431 optimization
="unknown"
7434 if test "$optimization" = "unknown"; then
7435 if test "$debug" != "none"; then
7441 aros_config_cflags
="$aros_config_cflags $optimization"
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7443 $as_echo "$optimization" >&6; }
7445 #-----------------------------------------------------------------------------
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7447 $as_echo_n "checking what paranoia flags to use... " >&6; }
7449 # Check whether --with-paranoia was given.
7450 if test "${with_paranoia+set}" = set; then :
7451 withval
=$with_paranoia; paranoia_flags
="$withval"
7453 paranoia_flags
="default"
7456 if test "$paranoia_flags" = "default"; then
7458 else if test "$paranoia_flags" = "yes"; then
7459 paranoia_flags
="-Wall -Werror"
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7462 $as_echo "$paranoia_flags" >&6; }
7463 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7465 #-----------------------------------------------------------------------------
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7467 $as_echo_n "checking what target variant to enable... " >&6; }
7468 # Check whether --enable-target_variant was given.
7469 if test "${enable_target_variant+set}" = set; then :
7470 enableval
=$enable_target_variant; target_variant
=$enableval
7475 if test "$target_variant" = ""; then
7476 aros_target_variant
=""
7477 aros_target_suffix
=""
7480 aros_target_variant
="$target_variant"
7481 aros_target_suffix
="-$target_variant"
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7484 $as_echo "$enableval" >&6; }
7486 #-----------------------------------------------------------------------------
7487 # Target-specific defaults. You can override then on a per-target basis.
7489 # Bootloader name. Currently used by PC target.
7490 target_bootloader
="none"
7492 #-----------------------------------------------------------------------------
7493 # Additional options for some specific targets
7495 case "$aros_target_variant" in
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7498 $as_echo_n "checking XCode path... " >&6; }
7500 # Check whether --with-xcode was given.
7501 if test "${with_xcode+set}" = set; then :
7502 withval
=$with_xcode; aros_xcode_path
="$withval"
7504 aros_xcode_path
="/Developer"
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7508 $as_echo "$aros_xcode_path" >&6; }
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7511 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7513 # Check whether --with-sdk-version was given.
7514 if test "${with_sdk_version+set}" = set; then :
7515 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7517 aros_sdk_version
="4.1"
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7521 $as_echo "$aros_sdk_version" >&6; }
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7527 $as_echo_n "checking Android SDK path... " >&6; }
7529 # Check whether --with-sdk was given.
7530 if test "${with_sdk+set}" = set; then :
7531 withval
=$with_sdk; aros_android_sdk
="$withval"
7533 aros_android_sdk
=$default_android_sdk
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7537 $as_echo "$aros_android_sdk" >&6; }
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7540 $as_echo_n "checking Android NDK path... " >&6; }
7542 # Check whether --with-ndk was given.
7543 if test "${with_ndk+set}" = set; then :
7544 withval
=$with_ndk; aros_android_ndk
="$withval"
7546 aros_android_ndk
="none"
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7550 $as_echo "$aros_android_ndk" >&6; }
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7553 $as_echo_n "checking what Android SDK version to use... " >&6; }
7555 # Check whether --with-sdk-version was given.
7556 if test "${with_sdk_version+set}" = set; then :
7557 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7559 aros_sdk_version
="12"
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7563 $as_echo "$aros_sdk_version" >&6; }
7565 if test "$aros_android_ndk" != "none"; then
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7567 $as_echo_n "checking what Android NDK version to use... " >&6; }
7569 # Check whether --with-ndk-version was given.
7570 if test "${with_ndk_version+set}" = set; then :
7571 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7573 aros_ndk_version
="9"
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7577 $as_echo "$aros_ndk_version" >&6; }
7580 export PATH
="$aros_android_sdk/tools:$PATH"
7581 # Extract the first word of "$android_tool", so it can be a program name with args.
7582 set dummy
$android_tool; ac_word
=$2
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7584 $as_echo_n "checking for $ac_word... " >&6; }
7585 if ${ac_cv_path_android_tool+:} false
; then :
7586 $as_echo_n "(cached) " >&6
7588 case $android_tool in
7590 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7597 test -z "$as_dir" && as_dir
=.
7598 for ac_exec_ext
in '' $ac_executable_extensions; do
7599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7600 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7611 android_tool
=$ac_cv_path_android_tool
7612 if test -n "$android_tool"; then
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7614 $as_echo "$android_tool" >&6; }
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7617 $as_echo "no" >&6; }
7621 if test "$android_tool" = ""; then
7622 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7625 aros_android_level
=android-
$aros_sdk_version
7626 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7627 echo "Platform $aros_android_level is not installed in your SDK"
7628 echo "Use --with-sdk-version=<API level number> to select another platform version"
7629 echo "You can check what plaform versions are installed in your SDK"
7630 echo "by examining contents of $aros_android_sdk/platforms directory"
7631 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7634 # Extract the first word of "ant", so it can be a program name with args.
7635 set dummy ant
; ac_word
=$2
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7637 $as_echo_n "checking for $ac_word... " >&6; }
7638 if ${ac_cv_path_ant+:} false
; then :
7639 $as_echo_n "(cached) " >&6
7643 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7650 test -z "$as_dir" && as_dir
=.
7651 for ac_exec_ext
in '' $ac_executable_extensions; do
7652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7665 if test -n "$ant"; then
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7667 $as_echo "$ant" >&6; }
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7670 $as_echo "no" >&6; }
7674 if test "$ant" = ""; then
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7676 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7679 if test "$host_os" = "mingw32"; then
7680 android_tool
="cmd //c $android_tool"
7686 #-----------------------------------------------------------------------------
7687 # External toolchains
7688 kernel_tool_prefix
="none"
7689 aros_tool_prefix
="none"
7690 elf_tool_prefix
="${target_cpu}-elf-"
7692 # This is the target configuration switch.
7693 case "$target_os" in
7695 aros_target_arch
="linux"
7696 aros_target_family
="unix"
7697 case "$target_cpu" in
7699 aros_target_cpu
="m68k"
7700 aros_object_format
="m68kelf"
7701 aros_flavour
="emulcompat"
7702 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7703 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7704 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7705 gcc_target_cpu
="mc68000"
7708 aros_target_cpu
="i386"
7709 aros_object_format
="elf_i386"
7710 aros_flavour
="emulation"
7711 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7712 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7713 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7714 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7715 aros_config_ldflags
="-m32 -march=i486"
7716 aros_kernel_ldflags
="-melf_i386"
7717 aros_default_wbdepth
=8
7718 gcc_target_cpu
="i386"
7719 pci_hidd_target
="hidd-pci-linux"
7720 android_tool_dir_prefix
="x86"
7721 android_tool_prefix
="i686-android-linux"
7722 android_ndk_arch
="x86"
7725 aros_target_cpu
="x86_64"
7726 aros_object_format
="elf_x86_64"
7727 aros_flavour
="emulation"
7728 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7729 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7730 aros_default_wbdepth
=8
7731 pci_hidd_target
="hidd-pci-linux"
7734 aros_target_cpu
="ppc"
7735 aros_object_format
="elf32ppc"
7736 aros_flavour
="emulation"
7737 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7738 aros_default_wbdepth
=8
7739 gcc_target_cpu
="ppc"
7742 # Same as powerpc, but I need this for the nightly build to work again.
7743 # Actually, the nightly should be made working with powerpc target.
7744 # That just was too much work for the moment, another week or two.
7746 aros_target_cpu
="ppc"
7747 aros_object_format
="elf32ppc"
7748 aros_flavour
="emulation"
7749 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7750 aros_default_wbdepth
=8
7751 gcc_target_cpu
="ppc"
7754 aros_target_cpu
="arm"
7755 aros_object_format
="armelf_linux_eabi"
7756 aros_flavour
="emulation"
7757 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7758 gcc_target_cpu
="arm"
7759 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7760 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7761 aros_arch_libs
="-laeabi"
7762 android_tool_dir_prefix
="arm-linux-androideabi"
7763 android_tool_prefix
="arm-linux-androideabi"
7764 android_ndk_arch
="arm"
7765 kernel_tool_prefix
="arm-linux-gnueabi-"
7768 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7771 case "$aros_target_variant" in
7774 if test "$android_ndk_arch" = ""; then
7775 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7778 aros_default_wbwidth
=320
7779 aros_default_wbheight
=480
7780 if test "$aros_android_ndk" = "none"; then
7781 aros_kernel_cflags
="-mandroid"
7782 aros_kernel_ldflags
="-mandroid"
7785 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7786 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7787 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7788 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7789 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7790 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7793 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7794 # Disable implicit PIC mode
7795 aros_target_cflags
="$aros_target_cflags -fno-pic"
7796 kernel_tool_prefix
="$android_tool_prefix-"
7802 aros_target_arch
="pc"
7803 aros_shared_default
="no"
7804 target_bootloader
="grub2"
7805 case "$target_cpu" in
7807 aros_target_cpu
="i386"
7810 if test "$aros_object_format" = "" ; then
7811 aros_object_format
="elf_i386"
7813 aros_flavour
="standalone"
7814 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7815 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7816 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7817 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7818 aros_config_ldflags
="-m32 -march=i486"
7819 aros_kernel_ldflags
="-melf_i386"
7820 aros_default_wbwidth
=640
7821 aros_default_wbheight
=480
7822 gcc_target_cpu
="i386"
7825 aros_target_cpu
="x86_64"
7827 if test "$aros_object_format" = "" ; then
7828 aros_object_format
="elf_x86_64"
7830 aros_flavour
="standalone"
7831 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7832 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7833 aros_kernel_ldflags
=""
7834 aros_default_wbwidth
=640
7835 aros_default_wbheight
=480
7838 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7844 aros_target_arch
="prep"
7845 aros_shared_default
="no"
7846 aros_target_cpu
="ppc"
7847 aros_object_format
="elf32ppc"
7848 aros_flavour
="ppcnative"
7849 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7850 aros_kernel_ldflags
=""
7851 aros_default_wbwidth
=640
7852 aros_default_wbheight
=480
7853 gcc_target_cpu
="ppc"
7857 aros_target_arch
="freebsd"
7858 aros_target_family
="unix"
7859 aros_target_cpu
="i386"
7860 aros_flavour
="emulation"
7861 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7862 gcc_target_cpu
="i386"
7864 aros_target_strip_flags
="-x"
7868 aros_target_arch
="darwin"
7869 aros_target_family
="unix"
7870 aros_flavour
="emulation"
7871 case "$target_cpu" in
7873 aros_ios_platform
="iPhoneSimulator"
7874 aros_target_cpu
="i386"
7875 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7876 aros_kernel_ldflags
=""
7877 aros_macosx_version
="10.4"
7878 aros_default_wbdepth
=8
7879 gcc_target_cpu
="i386"
7880 aros_object_format
="elf_i386"
7881 aros_kernel_ar_flags
="-cr"
7882 aros_target_strip_flags
="-x"
7883 kernel_tool_flags
="-m32"
7886 aros_target_cpu
="x86_64"
7887 aros_object_format
="elf_x86_64"
7888 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7889 aros_macosx_version
="10.6"
7890 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7891 aros_kernel_cflags
="-m64"
7892 aros_kernel_ldflags
="-m64"
7893 aros_target_cflags
="-mcmodel=large"
7894 aros_default_wbdepth
=8
7896 aros_kernel_ar_flags
="-cr"
7898 aros_kernel_ranlib
="ranlib"
7901 aros_target_cpu
="ppc"
7902 aros_object_format
="elf32ppc"
7903 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7904 aros_kernel_ldflags
=""
7905 aros_macosx_version
="10.0"
7906 aros_default_wbdepth
=8
7907 gcc_target_cpu
="ppc"
7909 aros_kernel_ar_flags
="-cr"
7910 aros_kernel_ld
="ld -arch ppc"
7911 aros_kernel_ranlib
="ranlib -arch ppc"
7912 kernel_tool_prefix
="powerpc-apple-darwin10-"
7915 aros_ios_platform
="iPhoneOS"
7916 aros_target_cpu
="arm"
7917 aros_object_format
="armelf_linux_eabi"
7918 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7919 aros_arch_libs
="-laeabi"
7920 aros_default_wbdepth
=8
7921 gcc_target_cpu
="arm"
7923 aros_kernel_ar_flags
="-cr"
7924 aros_kernel_ld
="ld -arch arm"
7925 aros_kernel_ranlib
="ranlib -arch arm"
7926 kernel_tool_prefix
="arm-apple-darwin10-"
7927 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7930 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7933 case "$aros_target_variant" in
7935 aros_ios_version
="3.0"
7936 aros_default_wbwidth
=320
7937 aros_default_wbheight
=480
7938 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
7939 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
7940 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7942 # This is here because it may depend on iOS or SDK version
7943 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7944 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7945 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7948 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7949 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7955 aros_target_arch
="dragonfly"
7956 aros_target_family
="unix"
7957 aros_flavour
="emulation"
7958 case "$target_cpu" in
7960 aros_target_cpu
="i386"
7961 aros_object_format
="elf_i386"
7962 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7965 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7966 aros_target_cpu
="x86_64"
7967 aros_object_format
="elf_x86_64"
7968 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7971 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7977 aros_target_arch
="netbsd"
7978 aros_target_family
="unix"
7979 case "$target_cpu" in
7981 aros_target_cpu
="m68k"
7982 aros_object_format
="m68kelf"
7983 aros_flavour
="emulcompat"
7984 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7985 gcc_target_cpu
="mc68000"
7988 aros_target_cpu
="i386"
7989 aros_object_format
="elf_i386"
7990 aros_flavour
="emulation"
7991 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7992 aros_default_wbdepth
=8
7993 gcc_target_cpu
="i386"
7996 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7999 aros_target_genmap
="-Wl,-M -Xlinker >"
8000 aros_flavour
="emulation"
8001 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8005 aros_target_arch
="openbsd"
8006 aros_target_family
="unix"
8007 case "$target_cpu" in
8009 aros_target_cpu
="i386"
8010 aros_object_format
="elf_i386"
8011 aros_flavour
="emulation"
8012 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8013 gcc_target_cpu
="i386"
8016 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8019 aros_target_genmap
="-Wl,-M -Xlinker >"
8020 aros_target_nm_flags
="-u"
8021 aros_flavour
="emulation"
8025 aros_target_arch
="solaris"
8026 aros_target_family
="unix"
8027 case "$target_cpu" in
8029 aros_target_cpu
="i386"
8030 aros_object_format
="elf_i386"
8031 aros_flavour
="emulation"
8032 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8033 aros_default_wbdepth
=8
8034 gcc_target_cpu
="i386"
8037 aros_target_cpu
="sparc"
8038 aros_object_format
="elf_sparc"
8039 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8040 gcc_target_cpu
="sparc"
8043 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8046 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8047 aros_flavour
="emulation"
8051 aros_target_arch
="morphos"
8052 aros_shared_default
="no"
8053 aros_target_cpu
="ppc"
8054 aros_object_format
="elf_ppc"
8055 aros_flavour
="nativecompat"
8056 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8057 gcc_target_cpu
="ppc"
8061 aros_target_arch
="sam440"
8062 aros_shared_default
="no"
8063 aros_target_cpu
="ppc"
8064 aros_object_format
="elf32ppc"
8065 aros_flavour
="ppcnative"
8066 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8067 aros_kernel_ldflags
=""
8068 aros_default_wbwidth
=1024
8069 aros_default_wbheight
=768
8070 aros_default_wbdepth
=24
8071 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8072 gcc_target_cpu
="powerpc"
8076 aros_target_arch
="efika"
8077 aros_shared_default
="no"
8078 aros_target_cpu
="arm"
8079 aros_object_format
="armelf_linux_eabi"
8080 aros_flavour
="standalone"
8081 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8082 aros_kernel_ldflags
=""
8083 aros_default_wbwidth
=1024
8084 aros_default_wbheight
=600
8085 aros_arch_libs
="-laeabi"
8086 gcc_default_cpu
="armv7-a"
8087 gcc_default_fpu
="vfpv3"
8088 gcc_default_float_abi
="softfp"
8089 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8090 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8094 aros_target_arch
="chrp"
8095 aros_shared_default
="no"
8096 aros_target_cpu
="ppc"
8097 aros_object_format
="elf32ppc"
8098 aros_flavour
="ppcnative"
8099 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8100 aros_kernel_ldflags
=""
8101 aros_default_wbwidth
=640
8102 aros_default_wbheight
=480
8103 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8104 gcc_target_cpu
="powerpc"
8105 case "$aros_target_variant" in
8107 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8113 aros_target_arch
="amiga"
8114 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8115 aros_shared_default
="no"
8117 case "$target_cpu" in
8119 # Check whether --enable-amigaos_compliance was given.
8120 if test "${enable_amigaos_compliance+set}" = set; then :
8121 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8125 aros_target_cpu
="m68k"
8126 aros_object_format
="m68kelf"
8127 aros_flavour
="standcompat"
8128 gcc_target_cpu
="m68000"
8129 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -Os"
8130 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
8131 # Needed to get the correct multilib
8132 aros_config_ldflags
="-${gcc_target_cpu}"
8133 aros_shared_ldflags
="-${gcc_target_cpu}"
8134 aros_kernel_ldflags
="-${gcc_target_cpu}"
8135 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
8136 aros_target_strip_flags
="-R.comment --strip-debug"
8137 aros_default_wbwidth
=640
8138 aros_default_wbheight
=256
8139 aros_default_wbdepth
=2
8143 aros_flavour
="native"
8144 gcc_target_cpu
="ppc"
8147 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8153 aros_target_arch
="mingw32"
8154 aros_shared_default
="no"
8155 aros_flavour
="emulation"
8156 aros_shared_cflags
=""
8157 need_crosstools
="yes"
8160 case "$target_cpu" in
8162 aros_target_cpu
="i386"
8163 aros_object_format
="elf_i386"
8164 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8165 aros_default_wbdepth
=8
8166 gcc_target_cpu
="i386"
8168 kernel_tool_prefix
="i386-mingw32-"
8171 aros_target_cpu
="x86_64"
8172 aros_object_format
="elf_x86_64"
8173 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8174 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8175 aros_default_wbdepth
=8
8176 kernel_tool_prefix
="x86_64-w64-mingw32-"
8179 aros_target_cpu
="arm"
8180 aros_object_format
="armelf_linux_eabi"
8181 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8182 aros_arch_libs
="-laeabi"
8183 aros_default_wbdepth
=8
8184 gcc_target_cpu
="arm"
8185 gcc_default_float_abi
="soft"
8186 kernel_tool_prefix
="arm-mingw32ce-"
8187 aros_default_wbwidth
=160
8188 aros_default_wbheight
=160
8191 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8194 if test $host_os = "cygwin"; then
8195 aros_kernel_cflags
="-mno-cygwin"
8199 aros_target_arch
="pp"
8200 aros_shared_default
="no"
8201 case "$target_cpu" in
8203 aros_target_cpu
="m68k"
8204 aros_object_format
="m68kelf"
8205 aros_flavour
="palmnative"
8206 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8207 aros_default_wbwidth
=160
8208 aros_default_wbheight
=160
8209 aros_default_wbdepth
=1
8210 aros_target_ar_flags
="cru"
8211 aros_compiler_libs
="-lgcc1"
8212 aros_shared_default
=no
8213 aros_shared_cflags
="-fpic"
8214 aros_shared_aflags
=""
8215 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8216 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8217 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8218 aros_debug_aflags
=""
8219 aros_debug_ldflags
="$aros_symbols_debug"
8220 aros_mungwall_debug
="0"
8221 aros_modules_debug
="0"
8222 gcc_target_cpu
="mc68000"
8223 ignore_undefined_symbols
="-ius"
8226 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8232 aros_target_arch
="mac"
8233 aros_shared_default
="no"
8234 case "$target_cpu" in
8236 aros_target_cpu
="m68k"
8237 aros_object_format
="m68kelf"
8238 aros_flavour
="mac68knative"
8239 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8240 aros_default_wbwidth
=512
8241 aros_default_wbheight
=384
8242 aros_default_wbdepth
=8
8243 aros_target_ar_flags
="cru"
8244 aros_compiler_libs
="-lgcc1"
8245 aros_shared_default
=no
8246 aros_shared_cflags
="-fpic"
8247 aros_shared_aflags
=""
8248 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8249 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8250 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000"
8251 aros_debug_aflags
=""
8252 aros_debug_ldflags
="$aros_symbols_debug"
8253 aros_mungwall_debug
="0"
8254 aros_modules_debug
="0"
8255 gcc_target_cpu
="mc68000"
8256 ignore_undefined_symbols
="-ius"
8259 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8265 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8269 #-----------------------------------------------------------------------------
8270 crosstools_guess
=yes
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8273 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8275 # Check whether --with-kernel-toolchain-prefix was given.
8276 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8277 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8281 $as_echo "$kernel_tool_prefix" >&6; }
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8284 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8286 # Check whether --with-elf-toolchain-prefix was given.
8287 if test "${with_elf_toolchain_prefix+set}" = set; then :
8288 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8293 $as_echo "$elf_tool_prefix" >&6; }
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8296 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8298 # Check whether --with-aros-toolchain was given.
8299 if test "${with_aros_toolchain+set}" = set; then :
8300 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8304 if test "$aros_tool_prefix" = "yes" ; then
8305 aros_tool_prefix
=$aros_target_cpu-aros-
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8308 $as_echo "$aros_tool_prefix" >&6; }
8310 #-----------------------------------------------------------------------------
8311 # Checking if we should build crosstools..
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8313 $as_echo_n "checking whether to build crosstools... " >&6; }
8314 # Check whether --enable-crosstools was given.
8315 if test "${enable_crosstools+set}" = set; then :
8316 enableval
=$enable_crosstools; crosstools
="$enableval"
8318 crosstools
="$crosstools_guess"
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8322 $as_echo "$crosstools" >&6; }
8324 if test "${crosstools}" = "yes"; then
8325 if test "${crosstools_guess}" = "no"; then
8326 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8330 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8332 # Check whether --with-aros-toolchain-install was given.
8333 if test "${with_aros_toolchain_install+set}" = set; then :
8334 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8337 if test "x$aros_toolchain_install" = "x"; then
8338 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8340 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8341 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8344 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8348 # Now process extra architecture-specific options.
8349 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8350 # as well as floating-point ABI.
8351 case "$aros_target_cpu" in
8353 if test "$gcc_default_cpu" = ""; then
8354 gcc_default_cpu
="armv6"
8356 if test "$gcc_default_fpu" = ""; then
8357 gcc_default_fpu
="vfp"
8359 if test "$gcc_default_float_abi" = ""; then
8360 gcc_default_float_abi
="softfp"
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8364 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8366 # Check whether --with-cpu was given.
8367 if test "${with_cpu+set}" = set; then :
8368 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8370 aros_gcc_cpu
=$gcc_default_cpu
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8374 $as_echo "$aros_gcc_cpu" >&6; }
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8377 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8379 # Check whether --with-fpu was given.
8380 if test "${with_fpu+set}" = set; then :
8381 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8383 aros_gcc_fpu
=$gcc_default_fpu
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8387 $as_echo "$aros_gcc_fpu" >&6; }
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8390 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8392 # Check whether --with-float was given.
8393 if test "${with_float+set}" = set; then :
8394 withval
=$with_float; aros_gcc_float_abi
="$withval"
8396 aros_gcc_float_abi
=$gcc_default_float_abi
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8400 $as_echo "$aros_gcc_float_abi" >&6; }
8402 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"
8403 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"
8407 # Some formats need custom ELF specs.
8408 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8409 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8410 elf_specs_in
=config
/${aros_object_format}-specs.
in
8412 elf_specs_in
=config
/elf-specs.
in
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8416 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8418 # Check whether --with-aros-gcc was given.
8419 if test "${with_aros_gcc+set}" = set; then :
8420 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8426 $as_echo "$aros_gcc_version" >&6; }
8428 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8429 # Since we override specs, we may need to put these defines there
8430 if test "$gcc_target_cpu" != ""; then
8431 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8435 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8437 # Check whether --with-portssources was given.
8438 if test "${with_portssources+set}" = set; then :
8439 withval
=$with_portssources; with_portssrcdir
=$withval
8441 with_portssrcdir
="default"
8444 if test "$with_portssrcdir" = "default"; then
8445 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8447 AROS_PORTSSRCDIR
="$with_portssrcdir"
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8450 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8453 $as_echo_n "checking which bootloader to use... " >&6; }
8455 # Check whether --with-bootloader was given.
8456 if test "${with_bootloader+set}" = set; then :
8457 withval
=$with_bootloader; target_bootloader
=$withval
8459 target_bootloader
=$target_bootloader
8462 if test "$target_bootloader" = "none"; then
8463 aros_target_bootloader
=""
8465 aros_target_bootloader
="$target_bootloader"
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8468 $as_echo "$target_bootloader" >&6; }
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8471 $as_echo_n "checking which icon-set to use... " >&6; }
8473 # Check whether --with-iconset was given.
8474 if test "${with_iconset+set}" = set; then :
8475 withval
=$with_iconset; target_iconset
=$withval
8477 target_iconset
="default"
8480 if test "$target_iconset" = "default"; then
8481 aros_target_iconset
="Gorilla"
8482 target_iconset
="default (Gorilla)"
8484 aros_target_iconset
="$target_iconset"
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8487 $as_echo "$target_iconset" >&6; }
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8490 $as_echo_n "checking which GUI Theme to use... " >&6; }
8492 # Check whether --with-theme was given.
8493 if test "${with_theme+set}" = set; then :
8494 withval
=$with_theme; target_guitheme
=$withval
8496 target_guitheme
="default"
8499 if test "$target_guitheme" = "default"; then
8500 aros_target_guitheme
="Ice"
8502 aros_target_guitheme
="$target_guitheme"
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8505 $as_echo "$aros_target_guitheme" >&6; }
8507 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8511 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8515 if test "$aros_host_cpu" == "x86_64" ; then
8516 if test "$aros_target_cpu" == "i386" ; then
8521 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8522 if test "$aros_host_arch" != "$aros_target_arch" ; then
8526 if test "$cross_compile_native" ; then
8531 if test "$cross_compiling" = "no" ; then
8532 kernel_tool_prefix
=""
8535 #######################################################################
8536 ## Compute what toolchains to use, and their paths ##
8537 #######################################################################
8539 # This takes, as input:
8540 # crosstools {yes,no}
8541 # aros_gcc_version {default,[version]}
8542 # kernel_tool_prefix {none,[some-arch-os-]}
8543 # aros_tool_prefix ${target_cpu}-aros-
8546 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8547 # Where the 'kernel' binaries are located
8548 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8549 # Where the 'target' binaries are located
8550 # (not the symlink farm - that is aros_target_*!)
8553 # if crosstools then
8554 # if kernel_tools_prefix = "no-kernel-prefix-"
8555 # aros_kernel_* = crosstools cc paths
8556 # aros_kernel_cc = elf cc wrapper around crosstools cc
8558 # VALIDATE(${kernel_tools_prefix}*)
8559 # aros_kernel_* = ${kernel_tools_prefix}*
8560 # if ${kernel_tools_prefix}cc is an AROS gcc
8561 # aros_kernel_cc = ${kernel_tools_prefix}cc
8563 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8567 # orig_target_* = aros built crosstools
8568 # orig_target_cc = elf cc wrapper around crosstools cc
8570 # VALIDATE(${kernel_tools_prefix}*)
8572 # orig_target_* = aros_kernel_*
8573 # if aros_kernel_cc is an AROS gcc
8574 # orig_target_cc = aros_kernel_cc
8576 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8580 target_tool_prefix
="${target_cpu}-aros-"
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8583 $as_echo_n "checking which kernel tools... " >&6; }
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8585 $as_echo "$kernel_tool_prefix" >&6; };
8587 if test "$kernel_tool_prefix" = "none" ; then
8588 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8589 as_fn_error $?
"--with-kernel-tool-prefix= is required for this arch" "$LINENO" 5
8592 # Kernel tools required - find them
8593 # Note that 'normally', aros_kernel_* overrides will
8594 # empty, unless specified in the per-arch sections above.
8596 if test "$aros_kernel_cpp" = ""; then
8597 if test "$cross_compiling" = "yes" ; then
8598 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8599 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8601 $as_echo_n "checking for $ac_word... " >&6; }
8602 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8603 $as_echo_n "(cached) " >&6
8605 case $aros_kernel_cpp in
8607 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8614 test -z "$as_dir" && as_dir
=.
8615 for ac_exec_ext
in '' $ac_executable_extensions; do
8616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8617 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8628 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8629 if test -n "$aros_kernel_cpp"; then
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8631 $as_echo "$aros_kernel_cpp" >&6; }
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8634 $as_echo "no" >&6; }
8639 if test "$GCC" = "yes"; then
8640 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8641 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8642 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8644 $as_echo_n "checking for $ac_word... " >&6; }
8645 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8646 $as_echo_n "(cached) " >&6
8648 case $aros_kernel_cpp in
8650 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8654 for as_dir
in `dirname $aros_gcc_cpp`
8657 test -z "$as_dir" && as_dir
=.
8658 for ac_exec_ext
in '' $ac_executable_extensions; do
8659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8660 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8671 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8672 if test -n "$aros_kernel_cpp"; then
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8674 $as_echo "$aros_kernel_cpp" >&6; }
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8677 $as_echo "no" >&6; }
8682 if test "$aros_kernel_cpp" = ""; then
8683 # Extract the first word of "cpp", so it can be a program name with args.
8684 set dummy cpp
; ac_word
=$2
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8686 $as_echo_n "checking for $ac_word... " >&6; }
8687 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8688 $as_echo_n "(cached) " >&6
8690 case $aros_kernel_cpp in
8692 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8699 test -z "$as_dir" && as_dir
=.
8700 for ac_exec_ext
in '' $ac_executable_extensions; do
8701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8702 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8713 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8714 if test -n "$aros_kernel_cpp"; then
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8716 $as_echo "$aros_kernel_cpp" >&6; }
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8719 $as_echo "no" >&6; }
8726 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
8727 set dummy
$aros_kernel_cpp; ac_word
=$2
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8729 $as_echo_n "checking for $ac_word... " >&6; }
8730 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8731 $as_echo_n "(cached) " >&6
8733 case $aros_kernel_cpp in
8735 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8742 test -z "$as_dir" && as_dir
=.
8743 for ac_exec_ext
in '' $ac_executable_extensions; do
8744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8745 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8756 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8757 if test -n "$aros_kernel_cpp"; then
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8759 $as_echo "$aros_kernel_cpp" >&6; }
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8762 $as_echo "no" >&6; }
8768 if test "$aros_kernel_cpp" = ""; then
8769 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8771 if test "x$aros_kernel_cc" = "x"; then
8772 aros_kernel_cc
=${kernel_tool_prefix}gcc
8775 if test "$aros_kernel_cc${aros_gcc_version}" = ""; then
8776 if test "$cross_compiling" = "yes" ; then
8777 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8778 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8780 $as_echo_n "checking for $ac_word... " >&6; }
8781 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8782 $as_echo_n "(cached) " >&6
8784 case $aros_kernel_cc in
8786 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8793 test -z "$as_dir" && as_dir
=.
8794 for ac_exec_ext
in '' $ac_executable_extensions; do
8795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8796 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8807 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8808 if test -n "$aros_kernel_cc"; then
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8810 $as_echo "$aros_kernel_cc" >&6; }
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8813 $as_echo "no" >&6; }
8818 if test "$GCC" = "yes"; then
8819 aros_gcc_cc
=`$CC -print-prog-name=cc`
8820 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8821 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8823 $as_echo_n "checking for $ac_word... " >&6; }
8824 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8825 $as_echo_n "(cached) " >&6
8827 case $aros_kernel_cc in
8829 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8833 for as_dir
in `dirname $aros_gcc_cc`
8836 test -z "$as_dir" && as_dir
=.
8837 for ac_exec_ext
in '' $ac_executable_extensions; do
8838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8839 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8850 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8851 if test -n "$aros_kernel_cc"; then
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8853 $as_echo "$aros_kernel_cc" >&6; }
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8856 $as_echo "no" >&6; }
8861 if test "$aros_kernel_cc" = ""; then
8862 # Extract the first word of "cc", so it can be a program name with args.
8863 set dummy cc
; ac_word
=$2
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8865 $as_echo_n "checking for $ac_word... " >&6; }
8866 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8867 $as_echo_n "(cached) " >&6
8869 case $aros_kernel_cc in
8871 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8878 test -z "$as_dir" && as_dir
=.
8879 for ac_exec_ext
in '' $ac_executable_extensions; do
8880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8881 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8892 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8893 if test -n "$aros_kernel_cc"; then
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8895 $as_echo "$aros_kernel_cc" >&6; }
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8898 $as_echo "no" >&6; }
8905 # Extract the first word of "$aros_kernel_cc${aros_gcc_version}", so it can be a program name with args.
8906 set dummy
$aros_kernel_cc${aros_gcc_version}; ac_word
=$2
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8908 $as_echo_n "checking for $ac_word... " >&6; }
8909 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8910 $as_echo_n "(cached) " >&6
8912 case $aros_kernel_cc in
8914 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8921 test -z "$as_dir" && as_dir
=.
8922 for ac_exec_ext
in '' $ac_executable_extensions; do
8923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8924 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8935 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8936 if test -n "$aros_kernel_cc"; then
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8938 $as_echo "$aros_kernel_cc" >&6; }
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8941 $as_echo "no" >&6; }
8947 if test "$aros_kernel_cc" = ""; then
8948 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
8950 if test "x$aros_kernel_cxx" = "x"; then
8951 aros_kernel_cxx
=${kernel_tool_prefix}g
++
8954 if test "$aros_kernel_cxx${aros_gcc_version}" = ""; then
8955 if test "$cross_compiling" = "yes" ; then
8956 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
8957 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8959 $as_echo_n "checking for $ac_word... " >&6; }
8960 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
8961 $as_echo_n "(cached) " >&6
8963 case $aros_kernel_cxx in
8965 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
8968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8972 test -z "$as_dir" && as_dir
=.
8973 for ac_exec_ext
in '' $ac_executable_extensions; do
8974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8975 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
8976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8986 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
8987 if test -n "$aros_kernel_cxx"; then
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
8989 $as_echo "$aros_kernel_cxx" >&6; }
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8992 $as_echo "no" >&6; }
8997 if test "$GCC" = "yes"; then
8998 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
8999 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9000 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9002 $as_echo_n "checking for $ac_word... " >&6; }
9003 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9004 $as_echo_n "(cached) " >&6
9006 case $aros_kernel_cxx in
9008 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9012 for as_dir
in `dirname $aros_gcc_cxx`
9015 test -z "$as_dir" && as_dir
=.
9016 for ac_exec_ext
in '' $ac_executable_extensions; do
9017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9018 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9029 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9030 if test -n "$aros_kernel_cxx"; then
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9032 $as_echo "$aros_kernel_cxx" >&6; }
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9035 $as_echo "no" >&6; }
9040 if test "$aros_kernel_cxx" = ""; then
9041 # Extract the first word of "cxx", so it can be a program name with args.
9042 set dummy cxx
; ac_word
=$2
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9044 $as_echo_n "checking for $ac_word... " >&6; }
9045 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9046 $as_echo_n "(cached) " >&6
9048 case $aros_kernel_cxx in
9050 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9057 test -z "$as_dir" && as_dir
=.
9058 for ac_exec_ext
in '' $ac_executable_extensions; do
9059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9060 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9071 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9072 if test -n "$aros_kernel_cxx"; then
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9074 $as_echo "$aros_kernel_cxx" >&6; }
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9077 $as_echo "no" >&6; }
9084 # Extract the first word of "$aros_kernel_cxx${aros_gcc_version}", so it can be a program name with args.
9085 set dummy
$aros_kernel_cxx${aros_gcc_version}; ac_word
=$2
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9087 $as_echo_n "checking for $ac_word... " >&6; }
9088 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9089 $as_echo_n "(cached) " >&6
9091 case $aros_kernel_cxx in
9093 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9100 test -z "$as_dir" && as_dir
=.
9101 for ac_exec_ext
in '' $ac_executable_extensions; do
9102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9103 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9114 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9115 if test -n "$aros_kernel_cxx"; then
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9117 $as_echo "$aros_kernel_cxx" >&6; }
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9120 $as_echo "no" >&6; }
9126 # If it's set, make sure it's really there
9127 if test "x$aros_kernel_cxx" != "x" ; then
9128 if test "$aros_kernel_cxx" = ""; then
9129 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9133 if test "$aros_kernel_ld" = ""; then
9134 if test "$cross_compiling" = "yes" ; then
9135 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9136 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9138 $as_echo_n "checking for $ac_word... " >&6; }
9139 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9140 $as_echo_n "(cached) " >&6
9142 case $aros_kernel_ld in
9144 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9151 test -z "$as_dir" && as_dir
=.
9152 for ac_exec_ext
in '' $ac_executable_extensions; do
9153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9154 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9165 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9166 if test -n "$aros_kernel_ld"; then
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9168 $as_echo "$aros_kernel_ld" >&6; }
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9171 $as_echo "no" >&6; }
9176 if test "$GCC" = "yes"; then
9177 aros_gcc_ld
=`$CC -print-prog-name=ld`
9178 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9179 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9181 $as_echo_n "checking for $ac_word... " >&6; }
9182 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9183 $as_echo_n "(cached) " >&6
9185 case $aros_kernel_ld in
9187 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9191 for as_dir
in `dirname $aros_gcc_ld`
9194 test -z "$as_dir" && as_dir
=.
9195 for ac_exec_ext
in '' $ac_executable_extensions; do
9196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9197 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9208 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9209 if test -n "$aros_kernel_ld"; then
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9211 $as_echo "$aros_kernel_ld" >&6; }
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9214 $as_echo "no" >&6; }
9219 if test "$aros_kernel_ld" = ""; then
9220 # Extract the first word of "ld", so it can be a program name with args.
9221 set dummy ld
; ac_word
=$2
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9223 $as_echo_n "checking for $ac_word... " >&6; }
9224 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9225 $as_echo_n "(cached) " >&6
9227 case $aros_kernel_ld in
9229 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9236 test -z "$as_dir" && as_dir
=.
9237 for ac_exec_ext
in '' $ac_executable_extensions; do
9238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9239 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9250 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9251 if test -n "$aros_kernel_ld"; then
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9253 $as_echo "$aros_kernel_ld" >&6; }
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9256 $as_echo "no" >&6; }
9263 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9264 set dummy
$aros_kernel_ld; ac_word
=$2
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9266 $as_echo_n "checking for $ac_word... " >&6; }
9267 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9268 $as_echo_n "(cached) " >&6
9270 case $aros_kernel_ld in
9272 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9279 test -z "$as_dir" && as_dir
=.
9280 for ac_exec_ext
in '' $ac_executable_extensions; do
9281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9282 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9293 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9294 if test -n "$aros_kernel_ld"; then
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9296 $as_echo "$aros_kernel_ld" >&6; }
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9299 $as_echo "no" >&6; }
9305 if test "$aros_kernel_ld" = ""; then
9306 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9309 if test "$aros_kernel_as" = ""; then
9310 if test "$cross_compiling" = "yes" ; then
9311 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9312 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9314 $as_echo_n "checking for $ac_word... " >&6; }
9315 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9316 $as_echo_n "(cached) " >&6
9318 case $aros_kernel_as in
9320 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9327 test -z "$as_dir" && as_dir
=.
9328 for ac_exec_ext
in '' $ac_executable_extensions; do
9329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9330 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9341 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9342 if test -n "$aros_kernel_as"; then
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9344 $as_echo "$aros_kernel_as" >&6; }
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9347 $as_echo "no" >&6; }
9352 if test "$GCC" = "yes"; then
9353 aros_gcc_as
=`$CC -print-prog-name=as`
9354 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9355 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9357 $as_echo_n "checking for $ac_word... " >&6; }
9358 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9359 $as_echo_n "(cached) " >&6
9361 case $aros_kernel_as in
9363 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9367 for as_dir
in `dirname $aros_gcc_as`
9370 test -z "$as_dir" && as_dir
=.
9371 for ac_exec_ext
in '' $ac_executable_extensions; do
9372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9373 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9384 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9385 if test -n "$aros_kernel_as"; then
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9387 $as_echo "$aros_kernel_as" >&6; }
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9390 $as_echo "no" >&6; }
9395 if test "$aros_kernel_as" = ""; then
9396 # Extract the first word of "as", so it can be a program name with args.
9397 set dummy as
; ac_word
=$2
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9399 $as_echo_n "checking for $ac_word... " >&6; }
9400 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9401 $as_echo_n "(cached) " >&6
9403 case $aros_kernel_as in
9405 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9412 test -z "$as_dir" && as_dir
=.
9413 for ac_exec_ext
in '' $ac_executable_extensions; do
9414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9415 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9426 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9427 if test -n "$aros_kernel_as"; then
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9429 $as_echo "$aros_kernel_as" >&6; }
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9432 $as_echo "no" >&6; }
9439 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9440 set dummy
$aros_kernel_as; ac_word
=$2
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9442 $as_echo_n "checking for $ac_word... " >&6; }
9443 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9444 $as_echo_n "(cached) " >&6
9446 case $aros_kernel_as in
9448 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9455 test -z "$as_dir" && as_dir
=.
9456 for ac_exec_ext
in '' $ac_executable_extensions; do
9457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9458 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9469 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9470 if test -n "$aros_kernel_as"; then
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9472 $as_echo "$aros_kernel_as" >&6; }
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9475 $as_echo "no" >&6; }
9481 if test "$aros_kernel_as" = ""; then
9482 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9485 if test "$aros_kernel_ar" = ""; then
9486 if test "$cross_compiling" = "yes" ; then
9487 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9488 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9490 $as_echo_n "checking for $ac_word... " >&6; }
9491 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9492 $as_echo_n "(cached) " >&6
9494 case $aros_kernel_ar in
9496 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9503 test -z "$as_dir" && as_dir
=.
9504 for ac_exec_ext
in '' $ac_executable_extensions; do
9505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9506 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9517 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9518 if test -n "$aros_kernel_ar"; then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9520 $as_echo "$aros_kernel_ar" >&6; }
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9523 $as_echo "no" >&6; }
9528 if test "$GCC" = "yes"; then
9529 aros_gcc_ar
=`$CC -print-prog-name=ar`
9530 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9531 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9533 $as_echo_n "checking for $ac_word... " >&6; }
9534 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9535 $as_echo_n "(cached) " >&6
9537 case $aros_kernel_ar in
9539 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9543 for as_dir
in `dirname $aros_gcc_ar`
9546 test -z "$as_dir" && as_dir
=.
9547 for ac_exec_ext
in '' $ac_executable_extensions; do
9548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9549 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9560 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9561 if test -n "$aros_kernel_ar"; then
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9563 $as_echo "$aros_kernel_ar" >&6; }
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9566 $as_echo "no" >&6; }
9571 if test "$aros_kernel_ar" = ""; then
9572 # Extract the first word of "ar", so it can be a program name with args.
9573 set dummy
ar; ac_word
=$2
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9575 $as_echo_n "checking for $ac_word... " >&6; }
9576 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9577 $as_echo_n "(cached) " >&6
9579 case $aros_kernel_ar in
9581 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9588 test -z "$as_dir" && as_dir
=.
9589 for ac_exec_ext
in '' $ac_executable_extensions; do
9590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9591 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9602 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9603 if test -n "$aros_kernel_ar"; then
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9605 $as_echo "$aros_kernel_ar" >&6; }
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9608 $as_echo "no" >&6; }
9615 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9616 set dummy
$aros_kernel_ar; ac_word
=$2
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9618 $as_echo_n "checking for $ac_word... " >&6; }
9619 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9620 $as_echo_n "(cached) " >&6
9622 case $aros_kernel_ar in
9624 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9631 test -z "$as_dir" && as_dir
=.
9632 for ac_exec_ext
in '' $ac_executable_extensions; do
9633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9634 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9645 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9646 if test -n "$aros_kernel_ar"; then
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9648 $as_echo "$aros_kernel_ar" >&6; }
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9651 $as_echo "no" >&6; }
9657 if test "$aros_kernel_ar" = ""; then
9658 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9661 if test "$aros_kernel_ranlib" = ""; then
9662 if test "$cross_compiling" = "yes" ; then
9663 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9664 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9666 $as_echo_n "checking for $ac_word... " >&6; }
9667 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9668 $as_echo_n "(cached) " >&6
9670 case $aros_kernel_ranlib in
9672 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9679 test -z "$as_dir" && as_dir
=.
9680 for ac_exec_ext
in '' $ac_executable_extensions; do
9681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9682 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9693 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9694 if test -n "$aros_kernel_ranlib"; then
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9696 $as_echo "$aros_kernel_ranlib" >&6; }
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9699 $as_echo "no" >&6; }
9704 if test "$GCC" = "yes"; then
9705 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9706 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9707 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9709 $as_echo_n "checking for $ac_word... " >&6; }
9710 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9711 $as_echo_n "(cached) " >&6
9713 case $aros_kernel_ranlib in
9715 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9719 for as_dir
in `dirname $aros_gcc_ranlib`
9722 test -z "$as_dir" && as_dir
=.
9723 for ac_exec_ext
in '' $ac_executable_extensions; do
9724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9725 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9736 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9737 if test -n "$aros_kernel_ranlib"; then
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9739 $as_echo "$aros_kernel_ranlib" >&6; }
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9742 $as_echo "no" >&6; }
9747 if test "$aros_kernel_ranlib" = ""; then
9748 # Extract the first word of "ranlib", so it can be a program name with args.
9749 set dummy ranlib
; ac_word
=$2
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9751 $as_echo_n "checking for $ac_word... " >&6; }
9752 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9753 $as_echo_n "(cached) " >&6
9755 case $aros_kernel_ranlib in
9757 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9764 test -z "$as_dir" && as_dir
=.
9765 for ac_exec_ext
in '' $ac_executable_extensions; do
9766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9767 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9778 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9779 if test -n "$aros_kernel_ranlib"; then
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9781 $as_echo "$aros_kernel_ranlib" >&6; }
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9784 $as_echo "no" >&6; }
9791 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9792 set dummy
$aros_kernel_ranlib; ac_word
=$2
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9794 $as_echo_n "checking for $ac_word... " >&6; }
9795 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9796 $as_echo_n "(cached) " >&6
9798 case $aros_kernel_ranlib in
9800 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9807 test -z "$as_dir" && as_dir
=.
9808 for ac_exec_ext
in '' $ac_executable_extensions; do
9809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9810 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9821 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9822 if test -n "$aros_kernel_ranlib"; then
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9824 $as_echo "$aros_kernel_ranlib" >&6; }
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9827 $as_echo "no" >&6; }
9833 if test "$aros_kernel_ranlib" = ""; then
9834 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9837 if test "$aros_kernel_nm" = ""; then
9838 if test "$cross_compiling" = "yes" ; then
9839 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9840 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9842 $as_echo_n "checking for $ac_word... " >&6; }
9843 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9844 $as_echo_n "(cached) " >&6
9846 case $aros_kernel_nm in
9848 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9855 test -z "$as_dir" && as_dir
=.
9856 for ac_exec_ext
in '' $ac_executable_extensions; do
9857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9858 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9869 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9870 if test -n "$aros_kernel_nm"; then
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9872 $as_echo "$aros_kernel_nm" >&6; }
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9875 $as_echo "no" >&6; }
9880 if test "$GCC" = "yes"; then
9881 aros_gcc_nm
=`$CC -print-prog-name=nm`
9882 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9883 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9885 $as_echo_n "checking for $ac_word... " >&6; }
9886 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9887 $as_echo_n "(cached) " >&6
9889 case $aros_kernel_nm in
9891 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9895 for as_dir
in `dirname $aros_gcc_nm`
9898 test -z "$as_dir" && as_dir
=.
9899 for ac_exec_ext
in '' $ac_executable_extensions; do
9900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9901 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9912 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9913 if test -n "$aros_kernel_nm"; then
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9915 $as_echo "$aros_kernel_nm" >&6; }
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9918 $as_echo "no" >&6; }
9923 if test "$aros_kernel_nm" = ""; then
9924 # Extract the first word of "nm", so it can be a program name with args.
9925 set dummy nm
; ac_word
=$2
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9927 $as_echo_n "checking for $ac_word... " >&6; }
9928 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9929 $as_echo_n "(cached) " >&6
9931 case $aros_kernel_nm in
9933 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9940 test -z "$as_dir" && as_dir
=.
9941 for ac_exec_ext
in '' $ac_executable_extensions; do
9942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9943 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9954 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9955 if test -n "$aros_kernel_nm"; then
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9957 $as_echo "$aros_kernel_nm" >&6; }
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9960 $as_echo "no" >&6; }
9967 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
9968 set dummy
$aros_kernel_nm; ac_word
=$2
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9970 $as_echo_n "checking for $ac_word... " >&6; }
9971 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9972 $as_echo_n "(cached) " >&6
9974 case $aros_kernel_nm in
9976 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9983 test -z "$as_dir" && as_dir
=.
9984 for ac_exec_ext
in '' $ac_executable_extensions; do
9985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9986 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9997 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9998 if test -n "$aros_kernel_nm"; then
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10000 $as_echo "$aros_kernel_nm" >&6; }
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10003 $as_echo "no" >&6; }
10009 if test "$aros_kernel_nm" = ""; then
10010 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10013 if test "$aros_kernel_strip" = ""; then
10014 if test "$cross_compiling" = "yes" ; then
10015 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10016 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10018 $as_echo_n "checking for $ac_word... " >&6; }
10019 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10020 $as_echo_n "(cached) " >&6
10022 case $aros_kernel_strip in
10024 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10028 for as_dir
in $PATH
10031 test -z "$as_dir" && as_dir
=.
10032 for ac_exec_ext
in '' $ac_executable_extensions; do
10033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10034 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10045 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10046 if test -n "$aros_kernel_strip"; then
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10048 $as_echo "$aros_kernel_strip" >&6; }
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10051 $as_echo "no" >&6; }
10056 if test "$GCC" = "yes"; then
10057 aros_gcc_strip
=`$CC -print-prog-name=strip`
10058 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10059 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10061 $as_echo_n "checking for $ac_word... " >&6; }
10062 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10063 $as_echo_n "(cached) " >&6
10065 case $aros_kernel_strip in
10067 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10071 for as_dir
in `dirname $aros_gcc_strip`
10074 test -z "$as_dir" && as_dir
=.
10075 for ac_exec_ext
in '' $ac_executable_extensions; do
10076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10077 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10088 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10089 if test -n "$aros_kernel_strip"; then
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10091 $as_echo "$aros_kernel_strip" >&6; }
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10094 $as_echo "no" >&6; }
10099 if test "$aros_kernel_strip" = ""; then
10100 # Extract the first word of "strip", so it can be a program name with args.
10101 set dummy strip
; ac_word
=$2
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10103 $as_echo_n "checking for $ac_word... " >&6; }
10104 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10105 $as_echo_n "(cached) " >&6
10107 case $aros_kernel_strip in
10109 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10113 for as_dir
in $PATH
10116 test -z "$as_dir" && as_dir
=.
10117 for ac_exec_ext
in '' $ac_executable_extensions; do
10118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10119 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10130 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10131 if test -n "$aros_kernel_strip"; then
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10133 $as_echo "$aros_kernel_strip" >&6; }
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10136 $as_echo "no" >&6; }
10143 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10144 set dummy
$aros_kernel_strip; ac_word
=$2
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10146 $as_echo_n "checking for $ac_word... " >&6; }
10147 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10148 $as_echo_n "(cached) " >&6
10150 case $aros_kernel_strip in
10152 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10156 for as_dir
in $PATH
10159 test -z "$as_dir" && as_dir
=.
10160 for ac_exec_ext
in '' $ac_executable_extensions; do
10161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10162 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10173 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10174 if test -n "$aros_kernel_strip"; then
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10176 $as_echo "$aros_kernel_strip" >&6; }
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10179 $as_echo "no" >&6; }
10185 if test "$aros_kernel_strip" = ""; then
10186 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10189 # Objcopy and objdump are not required for the kernel
10190 # toolchain on many architectures.
10191 # So we'll look for them, but not make them strictly required.
10193 if test "$aros_kernel_objcopy" = ""; then
10194 if test "$cross_compiling" = "yes" ; then
10195 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10196 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10198 $as_echo_n "checking for $ac_word... " >&6; }
10199 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10200 $as_echo_n "(cached) " >&6
10202 case $aros_kernel_objcopy in
10204 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10208 for as_dir
in $PATH
10211 test -z "$as_dir" && as_dir
=.
10212 for ac_exec_ext
in '' $ac_executable_extensions; do
10213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10214 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10225 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10226 if test -n "$aros_kernel_objcopy"; then
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10228 $as_echo "$aros_kernel_objcopy" >&6; }
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10231 $as_echo "no" >&6; }
10236 if test "$GCC" = "yes"; then
10237 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10238 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10239 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10241 $as_echo_n "checking for $ac_word... " >&6; }
10242 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10243 $as_echo_n "(cached) " >&6
10245 case $aros_kernel_objcopy in
10247 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10251 for as_dir
in `dirname $aros_gcc_objcopy`
10254 test -z "$as_dir" && as_dir
=.
10255 for ac_exec_ext
in '' $ac_executable_extensions; do
10256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10257 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10268 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10269 if test -n "$aros_kernel_objcopy"; then
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10271 $as_echo "$aros_kernel_objcopy" >&6; }
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10274 $as_echo "no" >&6; }
10279 if test "$aros_kernel_objcopy" = ""; then
10280 # Extract the first word of "objcopy", so it can be a program name with args.
10281 set dummy objcopy
; ac_word
=$2
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10283 $as_echo_n "checking for $ac_word... " >&6; }
10284 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10285 $as_echo_n "(cached) " >&6
10287 case $aros_kernel_objcopy in
10289 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10293 for as_dir
in $PATH
10296 test -z "$as_dir" && as_dir
=.
10297 for ac_exec_ext
in '' $ac_executable_extensions; do
10298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10299 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10310 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10311 if test -n "$aros_kernel_objcopy"; then
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10313 $as_echo "$aros_kernel_objcopy" >&6; }
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10316 $as_echo "no" >&6; }
10323 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10324 set dummy
$aros_kernel_objcopy; ac_word
=$2
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10326 $as_echo_n "checking for $ac_word... " >&6; }
10327 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10328 $as_echo_n "(cached) " >&6
10330 case $aros_kernel_objcopy in
10332 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10336 for as_dir
in $PATH
10339 test -z "$as_dir" && as_dir
=.
10340 for ac_exec_ext
in '' $ac_executable_extensions; do
10341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10342 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10353 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10354 if test -n "$aros_kernel_objcopy"; then
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10356 $as_echo "$aros_kernel_objcopy" >&6; }
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10359 $as_echo "no" >&6; }
10366 if test "$aros_kernel_objdump" = ""; then
10367 if test "$cross_compiling" = "yes" ; then
10368 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10369 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10371 $as_echo_n "checking for $ac_word... " >&6; }
10372 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10373 $as_echo_n "(cached) " >&6
10375 case $aros_kernel_objdump in
10377 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10381 for as_dir
in $PATH
10384 test -z "$as_dir" && as_dir
=.
10385 for ac_exec_ext
in '' $ac_executable_extensions; do
10386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10387 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10398 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10399 if test -n "$aros_kernel_objdump"; then
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10401 $as_echo "$aros_kernel_objdump" >&6; }
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10404 $as_echo "no" >&6; }
10409 if test "$GCC" = "yes"; then
10410 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10411 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10412 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10414 $as_echo_n "checking for $ac_word... " >&6; }
10415 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10416 $as_echo_n "(cached) " >&6
10418 case $aros_kernel_objdump in
10420 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10424 for as_dir
in `dirname $aros_gcc_objdump`
10427 test -z "$as_dir" && as_dir
=.
10428 for ac_exec_ext
in '' $ac_executable_extensions; do
10429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10430 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10441 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10442 if test -n "$aros_kernel_objdump"; then
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10444 $as_echo "$aros_kernel_objdump" >&6; }
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10447 $as_echo "no" >&6; }
10452 if test "$aros_kernel_objdump" = ""; then
10453 # Extract the first word of "objdump", so it can be a program name with args.
10454 set dummy objdump
; ac_word
=$2
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10456 $as_echo_n "checking for $ac_word... " >&6; }
10457 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10458 $as_echo_n "(cached) " >&6
10460 case $aros_kernel_objdump in
10462 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10466 for as_dir
in $PATH
10469 test -z "$as_dir" && as_dir
=.
10470 for ac_exec_ext
in '' $ac_executable_extensions; do
10471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10472 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10483 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10484 if test -n "$aros_kernel_objdump"; then
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10486 $as_echo "$aros_kernel_objdump" >&6; }
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10489 $as_echo "no" >&6; }
10496 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10497 set dummy
$aros_kernel_objdump; ac_word
=$2
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10499 $as_echo_n "checking for $ac_word... " >&6; }
10500 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10501 $as_echo_n "(cached) " >&6
10503 case $aros_kernel_objdump in
10505 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10509 for as_dir
in $PATH
10512 test -z "$as_dir" && as_dir
=.
10513 for ac_exec_ext
in '' $ac_executable_extensions; do
10514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10515 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10526 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10527 if test -n "$aros_kernel_objdump"; then
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10529 $as_echo "$aros_kernel_objdump" >&6; }
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10532 $as_echo "no" >&6; }
10538 if test "x${crosstools}" != "xyes" ; then
10539 if test "$aros_kernel_objcopy" = ""; then
10540 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10542 if test "$aros_kernel_objdump" = ""; then
10543 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10549 $as_echo_n "checking which target tools to use... " >&6; }
10550 if test "$crosstools" = "yes"; then
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10552 $as_echo "$target_tool_prefix" >&6; }
10553 # We are are building AROS crosstools
10554 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10555 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10556 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10557 orig_target_cpp
="${tmp_tool_prefix}cpp"
10558 orig_target_ld
="${tmp_tool_prefix}ld"
10559 orig_target_as
="${tmp_tool_prefix}as"
10560 orig_target_ar
="${tmp_tool_prefix}ar"
10561 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10562 orig_target_nm
="${tmp_tool_prefix}nm"
10563 orig_target_strip
="${tmp_tool_prefix}strip"
10564 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10565 orig_target_objdump
="${tmp_tool_prefix}objdump"
10567 # Determine whether AROS or ELF tools should be used
10568 if test "$aros_tool_prefix" = "none"; then
10569 aros_tool_prefix
="${elf_tool_prefix}"
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10573 $as_echo "$aros_tool_prefix" >&6; }
10574 # We are *not* building AROS crosstools - use the AROS or ELF tools
10576 if test "${aros_tool_prefix}cpp" = ""; then
10577 if test "$cross_compiling" = "yes" ; then
10578 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10579 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10581 $as_echo_n "checking for $ac_word... " >&6; }
10582 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10583 $as_echo_n "(cached) " >&6
10585 case $orig_target_cpp in
10587 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10591 for as_dir
in $PATH
10594 test -z "$as_dir" && as_dir
=.
10595 for ac_exec_ext
in '' $ac_executable_extensions; do
10596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10597 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10608 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10609 if test -n "$orig_target_cpp"; then
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10611 $as_echo "$orig_target_cpp" >&6; }
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10614 $as_echo "no" >&6; }
10619 if test "$GCC" = "yes"; then
10620 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10621 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10622 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10624 $as_echo_n "checking for $ac_word... " >&6; }
10625 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10626 $as_echo_n "(cached) " >&6
10628 case $orig_target_cpp in
10630 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10634 for as_dir
in `dirname $aros_gcc_cpp`
10637 test -z "$as_dir" && as_dir
=.
10638 for ac_exec_ext
in '' $ac_executable_extensions; do
10639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10640 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10651 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10652 if test -n "$orig_target_cpp"; then
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10654 $as_echo "$orig_target_cpp" >&6; }
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10657 $as_echo "no" >&6; }
10662 if test "$orig_target_cpp" = ""; then
10663 # Extract the first word of "cpp", so it can be a program name with args.
10664 set dummy cpp
; ac_word
=$2
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10666 $as_echo_n "checking for $ac_word... " >&6; }
10667 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10668 $as_echo_n "(cached) " >&6
10670 case $orig_target_cpp in
10672 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10676 for as_dir
in $PATH
10679 test -z "$as_dir" && as_dir
=.
10680 for ac_exec_ext
in '' $ac_executable_extensions; do
10681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10682 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10693 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10694 if test -n "$orig_target_cpp"; then
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10696 $as_echo "$orig_target_cpp" >&6; }
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10699 $as_echo "no" >&6; }
10706 # Extract the first word of "${aros_tool_prefix}cpp", so it can be a program name with args.
10707 set dummy
${aros_tool_prefix}cpp
; ac_word
=$2
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10709 $as_echo_n "checking for $ac_word... " >&6; }
10710 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10711 $as_echo_n "(cached) " >&6
10713 case $orig_target_cpp in
10715 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10719 for as_dir
in $PATH
10722 test -z "$as_dir" && as_dir
=.
10723 for ac_exec_ext
in '' $ac_executable_extensions; do
10724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10725 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10736 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10737 if test -n "$orig_target_cpp"; then
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10739 $as_echo "$orig_target_cpp" >&6; }
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10742 $as_echo "no" >&6; }
10748 if test "$orig_target_cpp" = ""; then
10749 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10752 if test "${aros_tool_prefix}gcc" = ""; then
10753 if test "$cross_compiling" = "yes" ; then
10754 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10755 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10757 $as_echo_n "checking for $ac_word... " >&6; }
10758 if ${ac_cv_path_orig_target_cc+:} false
; then :
10759 $as_echo_n "(cached) " >&6
10761 case $orig_target_cc in
10763 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10767 for as_dir
in $PATH
10770 test -z "$as_dir" && as_dir
=.
10771 for ac_exec_ext
in '' $ac_executable_extensions; do
10772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10773 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10784 orig_target_cc
=$ac_cv_path_orig_target_cc
10785 if test -n "$orig_target_cc"; then
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10787 $as_echo "$orig_target_cc" >&6; }
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10790 $as_echo "no" >&6; }
10795 if test "$GCC" = "yes"; then
10796 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10797 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10798 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10800 $as_echo_n "checking for $ac_word... " >&6; }
10801 if ${ac_cv_path_orig_target_cc+:} false
; then :
10802 $as_echo_n "(cached) " >&6
10804 case $orig_target_cc in
10806 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10810 for as_dir
in `dirname $aros_gcc_gcc`
10813 test -z "$as_dir" && as_dir
=.
10814 for ac_exec_ext
in '' $ac_executable_extensions; do
10815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10816 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10827 orig_target_cc
=$ac_cv_path_orig_target_cc
10828 if test -n "$orig_target_cc"; then
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10830 $as_echo "$orig_target_cc" >&6; }
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10833 $as_echo "no" >&6; }
10838 if test "$orig_target_cc" = ""; then
10839 # Extract the first word of "gcc", so it can be a program name with args.
10840 set dummy gcc
; ac_word
=$2
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10842 $as_echo_n "checking for $ac_word... " >&6; }
10843 if ${ac_cv_path_orig_target_cc+:} false
; then :
10844 $as_echo_n "(cached) " >&6
10846 case $orig_target_cc in
10848 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10852 for as_dir
in $PATH
10855 test -z "$as_dir" && as_dir
=.
10856 for ac_exec_ext
in '' $ac_executable_extensions; do
10857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10858 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10869 orig_target_cc
=$ac_cv_path_orig_target_cc
10870 if test -n "$orig_target_cc"; then
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10872 $as_echo "$orig_target_cc" >&6; }
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10875 $as_echo "no" >&6; }
10882 # Extract the first word of "${aros_tool_prefix}gcc", so it can be a program name with args.
10883 set dummy
${aros_tool_prefix}gcc
; ac_word
=$2
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10885 $as_echo_n "checking for $ac_word... " >&6; }
10886 if ${ac_cv_path_orig_target_cc+:} false
; then :
10887 $as_echo_n "(cached) " >&6
10889 case $orig_target_cc in
10891 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10895 for as_dir
in $PATH
10898 test -z "$as_dir" && as_dir
=.
10899 for ac_exec_ext
in '' $ac_executable_extensions; do
10900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10901 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10912 orig_target_cc
=$ac_cv_path_orig_target_cc
10913 if test -n "$orig_target_cc"; then
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10915 $as_echo "$orig_target_cc" >&6; }
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10918 $as_echo "no" >&6; }
10924 if test "$orig_target_cc" = ""; then
10925 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
10927 if test "x$orig_target_cxx" != "x" ; then
10929 if test "${aros_tool_prefix}g++" = ""; then
10930 if test "$cross_compiling" = "yes" ; then
10931 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
10932 set dummy
${target_tool_prefix}g
++; ac_word
=$2
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10934 $as_echo_n "checking for $ac_word... " >&6; }
10935 if ${ac_cv_path_orig_target_cxx+:} false
; then :
10936 $as_echo_n "(cached) " >&6
10938 case $orig_target_cxx in
10940 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
10943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10944 for as_dir
in $PATH
10947 test -z "$as_dir" && as_dir
=.
10948 for ac_exec_ext
in '' $ac_executable_extensions; do
10949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10950 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
10951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10961 orig_target_cxx
=$ac_cv_path_orig_target_cxx
10962 if test -n "$orig_target_cxx"; then
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
10964 $as_echo "$orig_target_cxx" >&6; }
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10967 $as_echo "no" >&6; }
10972 if test "$GCC" = "yes"; then
10973 aros_gcc_g
++=`$CC -print-prog-name=g++`
10974 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
10975 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10977 $as_echo_n "checking for $ac_word... " >&6; }
10978 if ${ac_cv_path_orig_target_cxx+:} false
; then :
10979 $as_echo_n "(cached) " >&6
10981 case $orig_target_cxx in
10983 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
10986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10987 for as_dir
in `dirname $aros_gcc_g++`
10990 test -z "$as_dir" && as_dir
=.
10991 for ac_exec_ext
in '' $ac_executable_extensions; do
10992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10993 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
10994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11004 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11005 if test -n "$orig_target_cxx"; then
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11007 $as_echo "$orig_target_cxx" >&6; }
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11010 $as_echo "no" >&6; }
11015 if test "$orig_target_cxx" = ""; then
11016 # Extract the first word of "g++", so it can be a program name with args.
11017 set dummy g
++; ac_word
=$2
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11019 $as_echo_n "checking for $ac_word... " >&6; }
11020 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11021 $as_echo_n "(cached) " >&6
11023 case $orig_target_cxx in
11025 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11029 for as_dir
in $PATH
11032 test -z "$as_dir" && as_dir
=.
11033 for ac_exec_ext
in '' $ac_executable_extensions; do
11034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11035 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11046 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11047 if test -n "$orig_target_cxx"; then
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11049 $as_echo "$orig_target_cxx" >&6; }
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11052 $as_echo "no" >&6; }
11059 # Extract the first word of "${aros_tool_prefix}g++", so it can be a program name with args.
11060 set dummy
${aros_tool_prefix}g
++; ac_word
=$2
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11062 $as_echo_n "checking for $ac_word... " >&6; }
11063 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11064 $as_echo_n "(cached) " >&6
11066 case $orig_target_cxx in
11068 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11072 for as_dir
in $PATH
11075 test -z "$as_dir" && as_dir
=.
11076 for ac_exec_ext
in '' $ac_executable_extensions; do
11077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11078 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11089 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11090 if test -n "$orig_target_cxx"; then
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11092 $as_echo "$orig_target_cxx" >&6; }
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11095 $as_echo "no" >&6; }
11101 if test "$orig_target_cxx" = ""; then
11102 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11106 if test "${aros_tool_prefix}ld" = ""; then
11107 if test "$cross_compiling" = "yes" ; then
11108 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11109 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11111 $as_echo_n "checking for $ac_word... " >&6; }
11112 if ${ac_cv_path_orig_target_ld+:} false
; then :
11113 $as_echo_n "(cached) " >&6
11115 case $orig_target_ld in
11117 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11121 for as_dir
in $PATH
11124 test -z "$as_dir" && as_dir
=.
11125 for ac_exec_ext
in '' $ac_executable_extensions; do
11126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11127 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11138 orig_target_ld
=$ac_cv_path_orig_target_ld
11139 if test -n "$orig_target_ld"; then
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11141 $as_echo "$orig_target_ld" >&6; }
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11144 $as_echo "no" >&6; }
11149 if test "$GCC" = "yes"; then
11150 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11151 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11152 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11154 $as_echo_n "checking for $ac_word... " >&6; }
11155 if ${ac_cv_path_orig_target_ld+:} false
; then :
11156 $as_echo_n "(cached) " >&6
11158 case $orig_target_ld in
11160 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11164 for as_dir
in `dirname $aros_gcc_gcc`
11167 test -z "$as_dir" && as_dir
=.
11168 for ac_exec_ext
in '' $ac_executable_extensions; do
11169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11170 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11181 orig_target_ld
=$ac_cv_path_orig_target_ld
11182 if test -n "$orig_target_ld"; then
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11184 $as_echo "$orig_target_ld" >&6; }
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11187 $as_echo "no" >&6; }
11192 if test "$orig_target_ld" = ""; then
11193 # Extract the first word of "gcc", so it can be a program name with args.
11194 set dummy gcc
; ac_word
=$2
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11196 $as_echo_n "checking for $ac_word... " >&6; }
11197 if ${ac_cv_path_orig_target_ld+:} false
; then :
11198 $as_echo_n "(cached) " >&6
11200 case $orig_target_ld in
11202 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11206 for as_dir
in $PATH
11209 test -z "$as_dir" && as_dir
=.
11210 for ac_exec_ext
in '' $ac_executable_extensions; do
11211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11212 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11223 orig_target_ld
=$ac_cv_path_orig_target_ld
11224 if test -n "$orig_target_ld"; then
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11226 $as_echo "$orig_target_ld" >&6; }
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11229 $as_echo "no" >&6; }
11236 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11237 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11239 $as_echo_n "checking for $ac_word... " >&6; }
11240 if ${ac_cv_path_orig_target_ld+:} false
; then :
11241 $as_echo_n "(cached) " >&6
11243 case $orig_target_ld in
11245 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11249 for as_dir
in $PATH
11252 test -z "$as_dir" && as_dir
=.
11253 for ac_exec_ext
in '' $ac_executable_extensions; do
11254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11255 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11266 orig_target_ld
=$ac_cv_path_orig_target_ld
11267 if test -n "$orig_target_ld"; then
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11269 $as_echo "$orig_target_ld" >&6; }
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11272 $as_echo "no" >&6; }
11278 if test "$orig_target_ld" = ""; then
11279 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11282 if test "${aros_tool_prefix}as" = ""; then
11283 if test "$cross_compiling" = "yes" ; then
11284 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11285 set dummy
${target_tool_prefix}as
; ac_word
=$2
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11287 $as_echo_n "checking for $ac_word... " >&6; }
11288 if ${ac_cv_path_orig_target_as+:} false
; then :
11289 $as_echo_n "(cached) " >&6
11291 case $orig_target_as in
11293 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11297 for as_dir
in $PATH
11300 test -z "$as_dir" && as_dir
=.
11301 for ac_exec_ext
in '' $ac_executable_extensions; do
11302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11303 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11314 orig_target_as
=$ac_cv_path_orig_target_as
11315 if test -n "$orig_target_as"; then
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11317 $as_echo "$orig_target_as" >&6; }
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11320 $as_echo "no" >&6; }
11325 if test "$GCC" = "yes"; then
11326 aros_gcc_as
=`$CC -print-prog-name=as`
11327 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11328 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11330 $as_echo_n "checking for $ac_word... " >&6; }
11331 if ${ac_cv_path_orig_target_as+:} false
; then :
11332 $as_echo_n "(cached) " >&6
11334 case $orig_target_as in
11336 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11340 for as_dir
in `dirname $aros_gcc_as`
11343 test -z "$as_dir" && as_dir
=.
11344 for ac_exec_ext
in '' $ac_executable_extensions; do
11345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11346 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11357 orig_target_as
=$ac_cv_path_orig_target_as
11358 if test -n "$orig_target_as"; then
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11360 $as_echo "$orig_target_as" >&6; }
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11363 $as_echo "no" >&6; }
11368 if test "$orig_target_as" = ""; then
11369 # Extract the first word of "as", so it can be a program name with args.
11370 set dummy as
; ac_word
=$2
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11372 $as_echo_n "checking for $ac_word... " >&6; }
11373 if ${ac_cv_path_orig_target_as+:} false
; then :
11374 $as_echo_n "(cached) " >&6
11376 case $orig_target_as in
11378 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11382 for as_dir
in $PATH
11385 test -z "$as_dir" && as_dir
=.
11386 for ac_exec_ext
in '' $ac_executable_extensions; do
11387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11388 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11399 orig_target_as
=$ac_cv_path_orig_target_as
11400 if test -n "$orig_target_as"; then
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11402 $as_echo "$orig_target_as" >&6; }
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11405 $as_echo "no" >&6; }
11412 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11413 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11415 $as_echo_n "checking for $ac_word... " >&6; }
11416 if ${ac_cv_path_orig_target_as+:} false
; then :
11417 $as_echo_n "(cached) " >&6
11419 case $orig_target_as in
11421 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11425 for as_dir
in $PATH
11428 test -z "$as_dir" && as_dir
=.
11429 for ac_exec_ext
in '' $ac_executable_extensions; do
11430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11431 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11442 orig_target_as
=$ac_cv_path_orig_target_as
11443 if test -n "$orig_target_as"; then
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11445 $as_echo "$orig_target_as" >&6; }
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11448 $as_echo "no" >&6; }
11454 if test "$orig_target_as" = ""; then
11455 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11458 if test "${aros_tool_prefix}ar" = ""; then
11459 if test "$cross_compiling" = "yes" ; then
11460 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11461 set dummy
${target_tool_prefix}ar; ac_word
=$2
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11463 $as_echo_n "checking for $ac_word... " >&6; }
11464 if ${ac_cv_path_orig_target_ar+:} false
; then :
11465 $as_echo_n "(cached) " >&6
11467 case $orig_target_ar in
11469 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11473 for as_dir
in $PATH
11476 test -z "$as_dir" && as_dir
=.
11477 for ac_exec_ext
in '' $ac_executable_extensions; do
11478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11479 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11490 orig_target_ar
=$ac_cv_path_orig_target_ar
11491 if test -n "$orig_target_ar"; then
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11493 $as_echo "$orig_target_ar" >&6; }
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11496 $as_echo "no" >&6; }
11501 if test "$GCC" = "yes"; then
11502 aros_gcc_ar
=`$CC -print-prog-name=ar`
11503 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11504 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11506 $as_echo_n "checking for $ac_word... " >&6; }
11507 if ${ac_cv_path_orig_target_ar+:} false
; then :
11508 $as_echo_n "(cached) " >&6
11510 case $orig_target_ar in
11512 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11516 for as_dir
in `dirname $aros_gcc_ar`
11519 test -z "$as_dir" && as_dir
=.
11520 for ac_exec_ext
in '' $ac_executable_extensions; do
11521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11522 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11533 orig_target_ar
=$ac_cv_path_orig_target_ar
11534 if test -n "$orig_target_ar"; then
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11536 $as_echo "$orig_target_ar" >&6; }
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11539 $as_echo "no" >&6; }
11544 if test "$orig_target_ar" = ""; then
11545 # Extract the first word of "ar", so it can be a program name with args.
11546 set dummy
ar; ac_word
=$2
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11548 $as_echo_n "checking for $ac_word... " >&6; }
11549 if ${ac_cv_path_orig_target_ar+:} false
; then :
11550 $as_echo_n "(cached) " >&6
11552 case $orig_target_ar in
11554 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11558 for as_dir
in $PATH
11561 test -z "$as_dir" && as_dir
=.
11562 for ac_exec_ext
in '' $ac_executable_extensions; do
11563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11564 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11575 orig_target_ar
=$ac_cv_path_orig_target_ar
11576 if test -n "$orig_target_ar"; then
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11578 $as_echo "$orig_target_ar" >&6; }
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11581 $as_echo "no" >&6; }
11588 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11589 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11591 $as_echo_n "checking for $ac_word... " >&6; }
11592 if ${ac_cv_path_orig_target_ar+:} false
; then :
11593 $as_echo_n "(cached) " >&6
11595 case $orig_target_ar in
11597 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11601 for as_dir
in $PATH
11604 test -z "$as_dir" && as_dir
=.
11605 for ac_exec_ext
in '' $ac_executable_extensions; do
11606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11607 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11618 orig_target_ar
=$ac_cv_path_orig_target_ar
11619 if test -n "$orig_target_ar"; then
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11621 $as_echo "$orig_target_ar" >&6; }
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11624 $as_echo "no" >&6; }
11630 if test "$orig_target_ar" = ""; then
11631 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11634 if test "${aros_tool_prefix}ranlib" = ""; then
11635 if test "$cross_compiling" = "yes" ; then
11636 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11637 set dummy
${target_tool_prefix}ar; ac_word
=$2
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11639 $as_echo_n "checking for $ac_word... " >&6; }
11640 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11641 $as_echo_n "(cached) " >&6
11643 case $orig_target_ranlib in
11645 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11649 for as_dir
in $PATH
11652 test -z "$as_dir" && as_dir
=.
11653 for ac_exec_ext
in '' $ac_executable_extensions; do
11654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11655 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11666 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11667 if test -n "$orig_target_ranlib"; then
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11669 $as_echo "$orig_target_ranlib" >&6; }
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11672 $as_echo "no" >&6; }
11677 if test "$GCC" = "yes"; then
11678 aros_gcc_ar
=`$CC -print-prog-name=ar`
11679 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11680 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11682 $as_echo_n "checking for $ac_word... " >&6; }
11683 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11684 $as_echo_n "(cached) " >&6
11686 case $orig_target_ranlib in
11688 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11692 for as_dir
in `dirname $aros_gcc_ar`
11695 test -z "$as_dir" && as_dir
=.
11696 for ac_exec_ext
in '' $ac_executable_extensions; do
11697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11698 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11709 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11710 if test -n "$orig_target_ranlib"; then
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11712 $as_echo "$orig_target_ranlib" >&6; }
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11715 $as_echo "no" >&6; }
11720 if test "$orig_target_ranlib" = ""; then
11721 # Extract the first word of "ar", so it can be a program name with args.
11722 set dummy
ar; ac_word
=$2
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11724 $as_echo_n "checking for $ac_word... " >&6; }
11725 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11726 $as_echo_n "(cached) " >&6
11728 case $orig_target_ranlib in
11730 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11734 for as_dir
in $PATH
11737 test -z "$as_dir" && as_dir
=.
11738 for ac_exec_ext
in '' $ac_executable_extensions; do
11739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11740 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11751 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11752 if test -n "$orig_target_ranlib"; then
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11754 $as_echo "$orig_target_ranlib" >&6; }
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11757 $as_echo "no" >&6; }
11764 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11765 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11767 $as_echo_n "checking for $ac_word... " >&6; }
11768 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11769 $as_echo_n "(cached) " >&6
11771 case $orig_target_ranlib in
11773 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11777 for as_dir
in $PATH
11780 test -z "$as_dir" && as_dir
=.
11781 for ac_exec_ext
in '' $ac_executable_extensions; do
11782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11783 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11794 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11795 if test -n "$orig_target_ranlib"; then
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11797 $as_echo "$orig_target_ranlib" >&6; }
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11800 $as_echo "no" >&6; }
11806 if test "$orig_target_ranlib" = ""; then
11807 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11810 if test "${aros_tool_prefix}nm" = ""; then
11811 if test "$cross_compiling" = "yes" ; then
11812 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
11813 set dummy
${target_tool_prefix}nm
; ac_word
=$2
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11815 $as_echo_n "checking for $ac_word... " >&6; }
11816 if ${ac_cv_path_orig_target_nm+:} false
; then :
11817 $as_echo_n "(cached) " >&6
11819 case $orig_target_nm in
11821 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11825 for as_dir
in $PATH
11828 test -z "$as_dir" && as_dir
=.
11829 for ac_exec_ext
in '' $ac_executable_extensions; do
11830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11831 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11842 orig_target_nm
=$ac_cv_path_orig_target_nm
11843 if test -n "$orig_target_nm"; then
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11845 $as_echo "$orig_target_nm" >&6; }
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11848 $as_echo "no" >&6; }
11853 if test "$GCC" = "yes"; then
11854 aros_gcc_nm
=`$CC -print-prog-name=nm`
11855 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11856 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11858 $as_echo_n "checking for $ac_word... " >&6; }
11859 if ${ac_cv_path_orig_target_nm+:} false
; then :
11860 $as_echo_n "(cached) " >&6
11862 case $orig_target_nm in
11864 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11868 for as_dir
in `dirname $aros_gcc_nm`
11871 test -z "$as_dir" && as_dir
=.
11872 for ac_exec_ext
in '' $ac_executable_extensions; do
11873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11874 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11885 orig_target_nm
=$ac_cv_path_orig_target_nm
11886 if test -n "$orig_target_nm"; then
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11888 $as_echo "$orig_target_nm" >&6; }
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11891 $as_echo "no" >&6; }
11896 if test "$orig_target_nm" = ""; then
11897 # Extract the first word of "nm", so it can be a program name with args.
11898 set dummy nm
; ac_word
=$2
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11900 $as_echo_n "checking for $ac_word... " >&6; }
11901 if ${ac_cv_path_orig_target_nm+:} false
; then :
11902 $as_echo_n "(cached) " >&6
11904 case $orig_target_nm in
11906 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11910 for as_dir
in $PATH
11913 test -z "$as_dir" && as_dir
=.
11914 for ac_exec_ext
in '' $ac_executable_extensions; do
11915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11916 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11927 orig_target_nm
=$ac_cv_path_orig_target_nm
11928 if test -n "$orig_target_nm"; then
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11930 $as_echo "$orig_target_nm" >&6; }
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11933 $as_echo "no" >&6; }
11940 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
11941 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11943 $as_echo_n "checking for $ac_word... " >&6; }
11944 if ${ac_cv_path_orig_target_nm+:} false
; then :
11945 $as_echo_n "(cached) " >&6
11947 case $orig_target_nm in
11949 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11953 for as_dir
in $PATH
11956 test -z "$as_dir" && as_dir
=.
11957 for ac_exec_ext
in '' $ac_executable_extensions; do
11958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11959 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11970 orig_target_nm
=$ac_cv_path_orig_target_nm
11971 if test -n "$orig_target_nm"; then
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11973 $as_echo "$orig_target_nm" >&6; }
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11976 $as_echo "no" >&6; }
11982 if test "$orig_target_nm" = ""; then
11983 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
11986 if test "${aros_tool_prefix}strip" = ""; then
11987 if test "$cross_compiling" = "yes" ; then
11988 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
11989 set dummy
${target_tool_prefix}strip
; ac_word
=$2
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11991 $as_echo_n "checking for $ac_word... " >&6; }
11992 if ${ac_cv_path_orig_target_strip+:} false
; then :
11993 $as_echo_n "(cached) " >&6
11995 case $orig_target_strip in
11997 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12001 for as_dir
in $PATH
12004 test -z "$as_dir" && as_dir
=.
12005 for ac_exec_ext
in '' $ac_executable_extensions; do
12006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12007 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12018 orig_target_strip
=$ac_cv_path_orig_target_strip
12019 if test -n "$orig_target_strip"; then
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12021 $as_echo "$orig_target_strip" >&6; }
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12024 $as_echo "no" >&6; }
12029 if test "$GCC" = "yes"; then
12030 aros_gcc_strip
=`$CC -print-prog-name=strip`
12031 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12032 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12034 $as_echo_n "checking for $ac_word... " >&6; }
12035 if ${ac_cv_path_orig_target_strip+:} false
; then :
12036 $as_echo_n "(cached) " >&6
12038 case $orig_target_strip in
12040 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12044 for as_dir
in `dirname $aros_gcc_strip`
12047 test -z "$as_dir" && as_dir
=.
12048 for ac_exec_ext
in '' $ac_executable_extensions; do
12049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12050 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12061 orig_target_strip
=$ac_cv_path_orig_target_strip
12062 if test -n "$orig_target_strip"; then
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12064 $as_echo "$orig_target_strip" >&6; }
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12067 $as_echo "no" >&6; }
12072 if test "$orig_target_strip" = ""; then
12073 # Extract the first word of "strip", so it can be a program name with args.
12074 set dummy strip
; ac_word
=$2
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12076 $as_echo_n "checking for $ac_word... " >&6; }
12077 if ${ac_cv_path_orig_target_strip+:} false
; then :
12078 $as_echo_n "(cached) " >&6
12080 case $orig_target_strip in
12082 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12086 for as_dir
in $PATH
12089 test -z "$as_dir" && as_dir
=.
12090 for ac_exec_ext
in '' $ac_executable_extensions; do
12091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12092 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12103 orig_target_strip
=$ac_cv_path_orig_target_strip
12104 if test -n "$orig_target_strip"; then
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12106 $as_echo "$orig_target_strip" >&6; }
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12109 $as_echo "no" >&6; }
12116 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12117 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12119 $as_echo_n "checking for $ac_word... " >&6; }
12120 if ${ac_cv_path_orig_target_strip+:} false
; then :
12121 $as_echo_n "(cached) " >&6
12123 case $orig_target_strip in
12125 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12129 for as_dir
in $PATH
12132 test -z "$as_dir" && as_dir
=.
12133 for ac_exec_ext
in '' $ac_executable_extensions; do
12134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12135 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12146 orig_target_strip
=$ac_cv_path_orig_target_strip
12147 if test -n "$orig_target_strip"; then
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12149 $as_echo "$orig_target_strip" >&6; }
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12152 $as_echo "no" >&6; }
12158 if test "$orig_target_strip" = ""; then
12159 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12162 if test "${aros_tool_prefix}objcopy" = ""; then
12163 if test "$cross_compiling" = "yes" ; then
12164 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12165 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12167 $as_echo_n "checking for $ac_word... " >&6; }
12168 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12169 $as_echo_n "(cached) " >&6
12171 case $orig_target_objcopy in
12173 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12177 for as_dir
in $PATH
12180 test -z "$as_dir" && as_dir
=.
12181 for ac_exec_ext
in '' $ac_executable_extensions; do
12182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12183 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12194 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12195 if test -n "$orig_target_objcopy"; then
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12197 $as_echo "$orig_target_objcopy" >&6; }
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12200 $as_echo "no" >&6; }
12205 if test "$GCC" = "yes"; then
12206 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12207 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12208 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12210 $as_echo_n "checking for $ac_word... " >&6; }
12211 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12212 $as_echo_n "(cached) " >&6
12214 case $orig_target_objcopy in
12216 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12220 for as_dir
in `dirname $aros_gcc_objcopy`
12223 test -z "$as_dir" && as_dir
=.
12224 for ac_exec_ext
in '' $ac_executable_extensions; do
12225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12226 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12237 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12238 if test -n "$orig_target_objcopy"; then
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12240 $as_echo "$orig_target_objcopy" >&6; }
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12243 $as_echo "no" >&6; }
12248 if test "$orig_target_objcopy" = ""; then
12249 # Extract the first word of "objcopy", so it can be a program name with args.
12250 set dummy objcopy
; ac_word
=$2
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12252 $as_echo_n "checking for $ac_word... " >&6; }
12253 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12254 $as_echo_n "(cached) " >&6
12256 case $orig_target_objcopy in
12258 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12262 for as_dir
in $PATH
12265 test -z "$as_dir" && as_dir
=.
12266 for ac_exec_ext
in '' $ac_executable_extensions; do
12267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12268 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12279 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12280 if test -n "$orig_target_objcopy"; then
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12282 $as_echo "$orig_target_objcopy" >&6; }
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12285 $as_echo "no" >&6; }
12292 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12293 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12295 $as_echo_n "checking for $ac_word... " >&6; }
12296 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12297 $as_echo_n "(cached) " >&6
12299 case $orig_target_objcopy in
12301 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12305 for as_dir
in $PATH
12308 test -z "$as_dir" && as_dir
=.
12309 for ac_exec_ext
in '' $ac_executable_extensions; do
12310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12311 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12322 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12323 if test -n "$orig_target_objcopy"; then
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12325 $as_echo "$orig_target_objcopy" >&6; }
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12328 $as_echo "no" >&6; }
12334 if test "$orig_target_objcopy" = ""; then
12335 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12338 if test "${aros_tool_prefix}objdump" = ""; then
12339 if test "$cross_compiling" = "yes" ; then
12340 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12341 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12343 $as_echo_n "checking for $ac_word... " >&6; }
12344 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12345 $as_echo_n "(cached) " >&6
12347 case $orig_target_objdump in
12349 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12353 for as_dir
in $PATH
12356 test -z "$as_dir" && as_dir
=.
12357 for ac_exec_ext
in '' $ac_executable_extensions; do
12358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12359 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12370 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12371 if test -n "$orig_target_objdump"; then
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12373 $as_echo "$orig_target_objdump" >&6; }
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12376 $as_echo "no" >&6; }
12381 if test "$GCC" = "yes"; then
12382 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12383 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12384 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12386 $as_echo_n "checking for $ac_word... " >&6; }
12387 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12388 $as_echo_n "(cached) " >&6
12390 case $orig_target_objdump in
12392 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12396 for as_dir
in `dirname $aros_gcc_objdump`
12399 test -z "$as_dir" && as_dir
=.
12400 for ac_exec_ext
in '' $ac_executable_extensions; do
12401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12402 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12413 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12414 if test -n "$orig_target_objdump"; then
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12416 $as_echo "$orig_target_objdump" >&6; }
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12419 $as_echo "no" >&6; }
12424 if test "$orig_target_objdump" = ""; then
12425 # Extract the first word of "objdump", so it can be a program name with args.
12426 set dummy objdump
; ac_word
=$2
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12428 $as_echo_n "checking for $ac_word... " >&6; }
12429 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12430 $as_echo_n "(cached) " >&6
12432 case $orig_target_objdump in
12434 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12438 for as_dir
in $PATH
12441 test -z "$as_dir" && as_dir
=.
12442 for ac_exec_ext
in '' $ac_executable_extensions; do
12443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12444 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12455 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12456 if test -n "$orig_target_objdump"; then
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12458 $as_echo "$orig_target_objdump" >&6; }
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12461 $as_echo "no" >&6; }
12468 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12469 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12471 $as_echo_n "checking for $ac_word... " >&6; }
12472 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12473 $as_echo_n "(cached) " >&6
12475 case $orig_target_objdump in
12477 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12481 for as_dir
in $PATH
12484 test -z "$as_dir" && as_dir
=.
12485 for ac_exec_ext
in '' $ac_executable_extensions; do
12486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12487 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12498 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12499 if test -n "$orig_target_objdump"; then
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12501 $as_echo "$orig_target_objdump" >&6; }
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12504 $as_echo "no" >&6; }
12510 if test "$orig_target_objdump" = ""; then
12511 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12515 if test "$kernel_tool_prefix" = "none" ; then
12516 # No kernel tools specified
12517 # Assume target tools == kernel tools with ELF wrapper
12518 aros_kernel_cc
=$orig_target_cc
12519 aros_kernel_cxx
=$orig_target_cxx
12520 aros_kernel_cpp
=$orig_target_cpp
12521 aros_kernel_ld
=$orig_target_ld
12522 aros_kernel_as
=$orig_target_as
12523 aros_kernel_ar
=$orig_target_ar
12524 aros_kernel_ranlib
=$orig_target_ranlib
12525 aros_kernel_nm
=$orig_target_nm
12526 aros_kernel_strip
=$orig_target_strip
12527 aros_kernel_objcopy
=$orig_target_objcopy
12528 aros_kernel_objdump
=$orig_target_objdump
12529 use_kernel_cc_wrapper
=yes
12532 # At this point, all aros_kernel_* and aros_target_*
12533 # tools should be set up correctly
12535 CC
="$aros_kernel_cc $kernel_tool_flags"
12536 CPP
="$aros_kernel_cpp"
12538 #-----------------------------------------------------------------------------
12540 # Disable pointer-signedness warnings if the compiler recognises the option
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12543 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12544 save_cflags
="$CFLAGS"
12545 if test "$crosstools" != "yes" ; then
12546 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12548 /* end confdefs.h. */
12558 if ac_fn_c_try_compile
"$LINENO"; then :
12559 use_no_sign_warning
="yes"
12561 use_no_sign_warning
="no"
12563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12565 # we do know it is supported for the smallest version of gcc we are going to build
12566 # we assume it's also supported by later versions
12567 use_no_sign_warning
=yes
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12570 $as_echo "$use_no_sign_warning" >&6; }
12571 if test "x-$use_no_sign_warning" = "x-yes" ; then
12572 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12574 CFLAGS
="$save_cflags"
12576 #-----------------------------------------------------------------------------
12578 # Find all the tools we need to compile. This could be cross-compiling
12579 # though! If that is the case we use the GNU form of the target and
12580 # simply add this to the front of the binary name. This is rather simple,
12581 # but it should work under most circumstances.
12583 # The default tools are to use the same as the host, but only if the
12584 # host and target CPU are the same. With GCC this is normally enough.
12588 aros_shared_ld
="$aros_host_ld"
12590 aros_target_mkdep
="$aros_host_mkdep"
12592 # The default tools executables to be linked to.
12593 if test "$rescomp" != ""; then
12594 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12595 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12597 $as_echo_n "checking for $ac_word... " >&6; }
12598 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12599 $as_echo_n "(cached) " >&6
12601 case $aros_kernel_rescomp in
12603 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12607 for as_dir
in $PATH
12610 test -z "$as_dir" && as_dir
=.
12611 for ac_exec_ext
in '' $ac_executable_extensions; do
12612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12613 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12624 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12625 if test -n "$aros_kernel_rescomp"; then
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12627 $as_echo "$aros_kernel_rescomp" >&6; }
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12630 $as_echo "no" >&6; }
12634 if test "$aros_kernel_rescomp" = ""; then
12635 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12639 # Set up the sources for the symlink farm
12640 if test "$crosstools" = "yes"; then
12641 crosstools_target
=tools-crosstools
12643 crosstools_cxx_target
=tools-crosstools
12646 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12647 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12650 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12651 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12652 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12653 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12654 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12655 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12656 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12658 # aros_cc_pre is a variable that is added to the front of the compiler name
12659 # in the generated aros-gcc shell script. We need this to enable the cache
12660 # to work across cleaned builds. Also, support DISTCC using the correct
12661 # environment variable.
12664 if test "x${DISTCC}" != "x" ; then
12665 if test "x${CCACHE}" != "x" ; then
12666 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12668 aros_cc_pre
="${DISTCC} "
12671 if test "x${CCACHE}" != "x" ; then
12672 aros_cc_pre
="${CCACHE} "
12676 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12678 aros_target_nostdinc_cflags
=-nostdinc
12680 aros_target_nostartup_ldflags
=-nostartfiles
12682 aros_target_nix_ldflags
=-nix
12684 aros_target_detach_ldflags
=-detach
12686 aros_target_nostdlib_ldflags
=-nostdlib
12690 if test "$crosstools" != "yes"; then
12691 if test "$GCC" = "yes"; then
12692 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12695 # We do not know which gcc version we are going to build and what we need to know
12696 # here is different for different versions so this will be set later during the
12697 # build of crosstools.
12698 aros_target_cc_path
=@aros_target_cc_path@
12700 aros_target_cpp
="${prefix}cpp"
12701 aros_target_cc
="${prefix}gcc"
12702 aros_target_cxx
="${prefix}g++"
12703 aros_target_as
="${prefix}as"
12704 aros_target_ld
="${prefix}ld"
12705 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12706 aros_target_objcopy
="${prefix}objcopy"
12707 aros_target_objdump
="${prefix}objdump"
12708 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12709 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12710 aros_target_strip
="${prefix}strip"
12711 aros_plain_nm
="${prefix}nm"
12712 aros_plain_ar
="${prefix}ar"
12714 if test "$aros_kernel_includes" != "" ; then
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12716 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12717 if test "$aros_kernel_cc_includes" = "" ; then
12718 # Try to guess where the directory is.
12719 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12720 if test -d $aros_kernel_cc_includes; then
12721 # Check if there is also an include-fixed directory and add it
12722 # to kernel compiler's include path as it may contain some of
12723 # the headers we need.
12724 if test -d "$aros_kernel_cc_includes"-fixed; then
12725 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12727 # Check for specific includes directory. Neede for Ubuntu 11.10
12728 if test -d "/usr/include/i386-linux-gnu"; then
12729 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12732 # The directory doesn't exist, we need to do some more work.
12733 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12735 # These are the headers we're looking for.
12736 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12737 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12741 for h
in $headers; do
12742 # Which other headers are needed by each of the above?
12743 deps
=$
(echo "#include <$h>" | \
12744 $aros_kernel_cc -E -M - 2>/dev
/null | \
12745 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12747 # Copy all the needed headers to a directory beneath gendir.
12750 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12751 sed -n "s,^.*/include\(/.*\),\1,p")
12752 ! test -d $dir && mkdir
-p $dir
12753 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12759 $as_echo "$aros_kernel_cc_includes" >&6; }
12760 # Adding -nostdinc to kernel includes as they are always used together.
12761 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12764 if test "$crosstools" != "yes"; then
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12766 $as_echo_n "checking for the target compiler's include path... " >&6; }
12767 if test "$aros_target_cc_includes" = "" ; then
12768 #try to guess where the directory is
12769 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12770 if ! test -d $aros_target_cc_includes; then
12771 #the directory doesn't exist, we need to do some more work
12772 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12774 #these are the headers we're looking for
12775 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12776 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12780 for h
in $headers; do
12781 #which other headers each of the above headers needs?
12782 deps
=$
(echo "#include <$h>" | \
12783 $orig_target_cc -E -M - 2>/dev
/null | \
12784 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12786 #copy all the needed headers to a directory beneath gendir
12789 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
12790 sed -n "s,^.*/include\(/.*\),\1,p")
12791 ! test -d $dir && mkdir
-p $dir
12792 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
12798 $as_echo "$aros_target_cc_includes" >&6; }
12800 # We do not know which gcc version we are going to build and what we need to know
12801 # here is different for different versions so this will be set later during the
12802 # build of crosstools.
12803 aros_target_cc_includes
=@aros_target_cc_includes@
12807 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
12808 # On GCC >= 4.0 -iquote should be used
12812 save_cflags
="$CFLAGS"
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12815 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12816 if test "x-$crosstools" != "x-yes"; then
12817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12828 if ac_fn_c_try_compile
"$LINENO"; then :
12833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12835 # we do know it is supported for the smallest version of gcc we are going to build
12836 # we assume it's also supported by later versions
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12840 $as_echo "$has_iquote" >&6; }
12841 if test "x-$has_iquote" = "x-yes" ; then
12842 host_cflags_iquote
=-iquote
12843 host_cflags_iquote_end
=
12845 host_cflags_iquote
=-I
12846 host_cflags_iquote_end
=-I-
12848 kernel_cflags_iquote
=$host_cflags_iquote
12849 kernel_cflags_iquote_end
=$host_cflags_iquote_end
12850 if test "x-$cross_compiling" = "x-yes"; then
12851 CC
="$aros_kernel_cc"
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
12853 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
12854 if test "x-$crosstools" != "x-yes"; then
12855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12856 /* end confdefs.h. */
12866 if ac_fn_c_try_compile
"$LINENO"; then :
12867 use_no_stack_protector
="yes"
12869 use_no_stack_protector
="no"
12871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12873 # we do know it is supported for the smallest version of gcc we are going to build
12874 # we assume it's also supported by later versions
12875 use_no_stack_protector
=yes
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
12878 $as_echo "$use_no_stack_protector" >&6; }
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12880 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12881 if test "x-$crosstools" != "x-yes"; then
12882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12883 /* end confdefs.h. */
12893 if ac_fn_c_try_compile
"$LINENO"; then :
12898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12900 # we do know it is supported for the smallest version of gcc we are going to build
12901 # we assume it's also supported by later versions
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12905 $as_echo "$has_iquote" >&6; }
12906 if test "x-$has_iquote" = "x-yes" ; then
12907 kernel_cflags_iquote
=-iquote
12908 kernel_cflags_iquote_end
=
12910 kernel_cflags_iquote
=-I
12911 kernel_cflags_iquote_end
=-I-
12914 aros_cflags_iquote
=$kernel_cflags_iquote
12915 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
12916 if test "$orig_target_cc" != "$aros_kernel_cc"; then
12917 CC
="$orig_target_cc"
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12919 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12920 if test "x-$crosstools" != "x-yes"; then
12921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12922 /* end confdefs.h. */
12932 if ac_fn_c_try_compile
"$LINENO"; then :
12937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12939 # we do know it is supported for the smallest version of gcc we are going to build
12940 # we assume it's also supported by later versions
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12944 $as_echo "$has_iquote" >&6; }
12945 if test "x-$has_iquote" = "x-yes" ; then
12946 aros_cflags_iquote
=-iquote
12947 aros_cflags_iquote_end
=
12949 aros_cflags_iquote
=-I
12950 aros_cflags_iquote_end
=-I-
12953 if test "x-$use_no_stack_protector" = "x-yes" ; then
12954 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
12958 #-----------------------------------------------------------------------------
12960 # Check if the target compiler supports some options used for delinting:
12961 # -Wunused-but-set-variable
12964 # -Wstrict-overflow
12965 # -Wformat-security
12967 if test "x-$crosstools" != "x-yes"; then
12968 if test "$orig_target_cc" != "$aros_kernel_cc"; then
12969 CC
="$orig_target_cc"
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
12972 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
12973 CFLAGS
=-Wunused-but-set-variable
12974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12975 /* end confdefs.h. */
12985 if ac_fn_c_try_compile
"$LINENO"; then :
12986 aros_unused_but_set_variable
="yes"
12988 aros_unused_but_set_variable
="no"
12990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
12992 $as_echo "$aros_unused_but_set_variable" >&6; }
12993 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
12994 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
12998 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
12999 CFLAGS
=-Warray-bounds
13000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13001 /* end confdefs.h. */
13011 if ac_fn_c_try_compile
"$LINENO"; then :
13012 aros_array_bounds
="yes"
13014 aros_array_bounds
="no"
13016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13018 $as_echo "$aros_array_bounds" >&6; }
13019 if test "x-$aros_array_bounds" = "x-yes" ; then
13020 aros_cflags_array_bounds
=-Wno-array-bounds
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13024 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13025 CFLAGS
=-Wenum-compare
13026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13027 /* end confdefs.h. */
13037 if ac_fn_c_try_compile
"$LINENO"; then :
13038 aros_enum_compare
="yes"
13040 aros_enum_compare
="no"
13042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13044 $as_echo "$aros_enum_compare" >&6; }
13045 if test "x-$aros_enum_compare" = "x-yes" ; then
13046 aros_cflags_enum_compare
=-Wno-enum-compare
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13050 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13051 CFLAGS
=-Wstrict-overflow
13052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13053 /* end confdefs.h. */
13063 if ac_fn_c_try_compile
"$LINENO"; then :
13064 aros_strict_overflow
="yes"
13066 aros_strict_overflow
="no"
13068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13070 $as_echo "$aros_strict_overflow" >&6; }
13071 if test "x-$aros_strict_overflow" = "x-yes" ; then
13072 aros_cflags_strict_overflow
=-Wno-strict-overflow
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13076 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13077 CFLAGS
=-Wformat-security
13078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13079 /* end confdefs.h. */
13089 if ac_fn_c_try_compile
"$LINENO"; then :
13090 aros_format_security
="yes"
13092 aros_format_security
="no"
13094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13096 $as_echo "$aros_format_security" >&6; }
13097 if test "x-$aros_format_security" = "x-yes" ; then
13098 aros_cflags_format_security
=-Wno-format-security
13101 # We do not know which gcc version we are going to build and what we need to know
13102 # here is different for different versions so this will be set later during the
13103 # build of crosstools.
13104 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13105 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13106 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13107 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13108 aros_cflags_format_security
=@aros_cflags_format_security@
13111 #-----------------------------------------------------------------------------
13113 # Check if we can explicitly choose older version of symbol hashing
13115 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13116 CC
="$aros_kernel_cc"
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13118 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13120 /* end confdefs.h. */
13130 if ac_fn_c_try_link
"$LINENO"; then :
13131 use_hash_style
="yes"
13133 use_hash_style
="no"
13135 rm -f core conftest.err conftest.
$ac_objext \
13136 conftest
$ac_exeext conftest.
$ac_ext
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13138 $as_echo "$use_hash_style" >&6; }
13139 if test "x-$use_hash_style" = "x-yes" ; then
13140 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13143 CFLAGS
="$save_cflags"
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13154 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13156 # Check whether --with-resolution was given.
13157 if test "${with_resolution+set}" = set; then :
13158 withval
=$with_resolution; resolution
=$withval
13163 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13164 if test "$resolution" = "yes" ; then
13167 if test "$resolution" = "no" ; then
13170 if test "$resolution" != "none" ; then
13171 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13172 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13173 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13176 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13177 aros_cv_default_wbwidth
=$aros_default_wbwidth
13178 aros_cv_default_wbheight
=$aros_default_wbheight
13179 aros_cv_default_wbdepth
=$aros_default_wbdepth
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13182 $as_echo_n "checking if serial debug is enabled... " >&6; }
13184 # Check whether --with-serial-debug was given.
13185 if test "${with_serial_debug+set}" = set; then :
13186 withval
=$with_serial_debug; serial_debug
=$withval
13191 if test "$aros_serial_debug" = 0 ; then
13192 serial_debug_forced
=""
13193 if test "$serial_debug" = "yes" ; then
13196 if test "$serial_debug" = "no" ; then
13197 serial_debug
="none"
13200 serial_debug_forced
="(forced)"
13201 serial_debug
=$aros_serial_debug
13203 if test "$serial_debug" != "none" ; then
13204 aros_serial_debug
=$serial_debug
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13206 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13209 $as_echo "no" >&6; }
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13213 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13214 # Check whether --enable-palm_debug_hack was given.
13215 if test "${enable_palm_debug_hack+set}" = set; then :
13216 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13218 palm_debug_hack
="no"
13221 if test "$palm_debug_hack" = "yes" ; then
13222 aros_palm_debug_hack
="1"
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13225 $as_echo "$palm_debug_hack" >&6; }
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13228 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13229 # Check whether --enable-nesting_supervisor was given.
13230 if test "${enable_nesting_supervisor+set}" = set; then :
13231 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13233 nesting_supervisor
="no"
13236 if test "$nesting_supervisor" = "yes" ; then
13237 aros_nesting_supervisor
="1"
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13240 $as_echo "$nesting_supervisor" >&6; }
13242 if test "$aros_enable_mmu" = "" ; then
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13244 $as_echo_n "checking if MMU support is enabled... " >&6; }
13245 # Check whether --enable-mmu was given.
13246 if test "${enable_mmu+set}" = set; then :
13247 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13249 aros_enable_mmu
="yes"
13252 if test "$aros_enable_mmu" = "" ; then
13253 aros_enable_mmu
="yes"
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13256 $as_echo "$aros_enable_mmu" >&6; }
13258 if test "$aros_enable_mmu" = "no" ; then
13259 aros_enable_mmu
="0"
13261 aros_enable_mmu
="1"
13265 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13267 if test "x-$need_dlopen" != "x-no" ; then
13268 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13269 if test "x$ac_cv_func_dlopen" = xyes
; then :
13275 if test "x-$have_dl" = "x-no" ; then
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13277 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13278 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13279 $as_echo_n "(cached) " >&6
13281 ac_check_lib_save_LIBS
=$LIBS
13283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13284 /* end confdefs.h. */
13286 /* Override any GCC internal prototype to avoid an error.
13287 Use char because int might match the return type of a GCC
13288 builtin and then its argument prototype would still apply. */
13301 if ac_fn_c_try_link
"$LINENO"; then :
13302 ac_cv_lib_dl_dlopen
=yes
13304 ac_cv_lib_dl_dlopen
=no
13306 rm -f core conftest.err conftest.
$ac_objext \
13307 conftest
$ac_exeext conftest.
$ac_ext
13308 LIBS
=$ac_check_lib_save_LIBS
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13311 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13312 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13314 aros_host_ldflags
="$aros_host_ldflags -ldl"
13320 if test "x-$have_dl" = "x-no" ; then
13321 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13326 # Check whether --enable-x11_hidd was given.
13327 if test "${enable_x11_hidd+set}" = set; then :
13328 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13330 x11_hidd
="$need_x11"
13333 case "x-$x11_hidd" in
13334 x-yes|x-no|x-auto
) ;;
13335 *) x11_hidd
="$need_x11" ;;
13340 if test "x-$x11_hidd" != "x-no" ; then
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13343 $as_echo_n "checking for X... " >&6; }
13346 # Check whether --with-x was given.
13347 if test "${with_x+set}" = set; then :
13351 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13352 if test "x$with_x" = xno
; then
13353 # The user explicitly disabled X.
13356 case $x_includes,$x_libraries in #(
13357 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5 ;; #(
13358 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13359 $as_echo_n "(cached) " >&6
13361 # One or both of the vars are not set, and there is no cached value.
13362 ac_x_includes
=no ac_x_libraries
=no
13363 rm -f -r conftest.dir
13364 if mkdir conftest.dir
; then
13366 cat >Imakefile
<<'_ACEOF'
13368 @echo incroot='${INCROOT}'
13370 @echo usrlibdir='${USRLIBDIR}'
13372 @echo libdir='${LIBDIR}'
13374 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13375 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13376 for ac_var
in incroot usrlibdir libdir
; do
13377 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13379 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13380 for ac_extension
in a so sl dylib la dll
; do
13381 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13382 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13383 ac_im_usrlibdir
=$ac_im_libdir; break
13386 # Screen out bogus values from the imake configuration. They are
13387 # bogus both because they are the default anyway, and because
13388 # using them would break gcc on systems where it needs fixed includes.
13389 case $ac_im_incroot in
13390 /usr
/include
) ac_x_includes
= ;;
13391 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13393 case $ac_im_usrlibdir in
13394 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13395 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13399 rm -f -r conftest.dir
13402 # Standard set of common directories for X headers.
13403 # Check X11 before X11Rn because it is often a symlink to the current release.
13417 /usr/local/X11/include
13418 /usr/local/X11R7/include
13419 /usr/local/X11R6/include
13420 /usr/local/X11R5/include
13421 /usr/local/X11R4/include
13423 /usr/local/include/X11
13424 /usr/local/include/X11R7
13425 /usr/local/include/X11R6
13426 /usr/local/include/X11R5
13427 /usr/local/include/X11R4
13431 /usr/XFree86/include/X11
13435 /usr/unsupported/include
13436 /usr/athena/include
13437 /usr/local/x11r5/include
13438 /usr/lpp/Xamples/include
13440 /usr/openwin/include
13441 /usr/openwin/share/include'
13443 if test "$ac_x_includes" = no
; then
13444 # Guess where to find include files, by looking for Xlib.h.
13445 # First, try using that file with no special directory specified.
13446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13447 /* end confdefs.h. */
13448 #include <X11/Xlib.h>
13450 if ac_fn_c_try_cpp
"$LINENO"; then :
13451 # We can compile using X headers with no special include directory.
13454 for ac_dir
in $ac_x_header_dirs; do
13455 if test -r "$ac_dir/X11/Xlib.h"; then
13456 ac_x_includes
=$ac_dir
13461 rm -f conftest.err conftest.i conftest.
$ac_ext
13462 fi # $ac_x_includes = no
13464 if test "$ac_x_libraries" = no
; then
13465 # Check for the libraries.
13466 # See if we find them without any special options.
13467 # Don't add to $LIBS permanently.
13470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13471 /* end confdefs.h. */
13472 #include <X11/Xlib.h>
13481 if ac_fn_c_try_link
"$LINENO"; then :
13483 # We can link X programs with no special library path.
13487 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13489 # Don't even attempt the hair of trying to link an X program!
13490 for ac_extension
in a so sl dylib la dll
; do
13491 if test -r "$ac_dir/libX11.$ac_extension"; then
13492 ac_x_libraries
=$ac_dir
13498 rm -f core conftest.err conftest.
$ac_objext \
13499 conftest
$ac_exeext conftest.
$ac_ext
13500 fi # $ac_x_libraries = no
13502 case $ac_x_includes,$ac_x_libraries in #(
13503 no
,* |
*,no |
*\'*)
13504 # Didn't find X, or a directory has "'" in its name.
13505 ac_cv_have_x
="have_x=no";; #(
13507 # Record where we found X for the cache.
13508 ac_cv_have_x
="have_x=yes\
13509 ac_x_includes='$ac_x_includes'\
13510 ac_x_libraries='$ac_x_libraries'"
13516 eval "$ac_cv_have_x"
13519 if test "$have_x" != yes; then
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13521 $as_echo "$have_x" >&6; }
13524 # If each of the values was on the command line, it overrides each guess.
13525 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13526 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13527 # Update the cache value to reflect the command line values.
13528 ac_cv_have_x
="have_x=yes\
13529 ac_x_includes='$x_includes'\
13530 ac_x_libraries='$x_libraries'"
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13532 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13537 for path
in $x_libraries
13539 x_cflags
="$x_cflags -L$path"
13542 for path
in $x_includes
13544 x_cflags
="$x_cflags -I$path"
13547 if test "x-$no_x" = "x-yes" ; then
13549 if test "x-$x11_hidd" != "x-auto" ; then
13550 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13554 x11_hidd_target
=kernel-x11gfx-kobj
13557 # Check whether --enable-x11_shm was given.
13558 if test "${enable_x11_shm+set}" = set; then :
13559 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13561 x11_hidd_shm
="auto"
13564 case "x-$x11_hidd_shm" in
13565 x-yes|x-no|x-auto
) ;;
13566 *) x11_hidd_shm
="auto" ;;
13571 if test "x-$x11_hidd_shm" != "x-no" ; then
13573 for ac_header
in sys
/ipc.h
13575 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13576 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13577 cat >>confdefs.h
<<_ACEOF
13578 #define HAVE_SYS_IPC_H 1
13585 for ac_header
in sys
/shm.h
13587 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13588 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13589 cat >>confdefs.h
<<_ACEOF
13590 #define HAVE_SYS_SHM_H 1
13598 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13600 save_cflags
="$CFLAGS"
13601 CFLAGS
="$CFLAGS $x_cflags"
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13603 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13604 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13605 $as_echo_n "(cached) " >&6
13607 ac_check_lib_save_LIBS
=$LIBS
13608 LIBS
="-lXext $LIBS"
13609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13610 /* end confdefs.h. */
13612 /* Override any GCC internal prototype to avoid an error.
13613 Use char because int might match the return type of a GCC
13614 builtin and then its argument prototype would still apply. */
13618 char XShmQueryExtension ();
13622 return XShmQueryExtension ();
13627 if ac_fn_c_try_link
"$LINENO"; then :
13628 ac_cv_lib_Xext_XShmQueryExtension
=yes
13630 ac_cv_lib_Xext_XShmQueryExtension
=no
13632 rm -f core conftest.err conftest.
$ac_objext \
13633 conftest
$ac_exeext conftest.
$ac_ext
13634 LIBS
=$ac_check_lib_save_LIBS
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13637 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13638 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13642 CFLAGS
="$save_cflags"
13646 if test "x-$have_xshm" = "x-yes" ; then
13647 DO_XSHM_SUPPORT
="1"
13648 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13649 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13651 DO_XSHM_SUPPORT
="0"
13655 # Check whether --enable-x11_vidmode was given.
13656 if test "${enable_x11_vidmode+set}" = set; then :
13657 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13659 x11_hidd_vidmode
="auto"
13662 case "x-$x11_hidd_vidmode" in
13663 x-yes|x-no|x-auto
) ;;
13664 *) x11_hidd_vidmode
="auto" ;;
13669 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13671 save_cflags
="$CFLAGS"
13672 CFLAGS
="$CFLAGS $x_cflags"
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13674 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13675 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13676 $as_echo_n "(cached) " >&6
13678 ac_check_lib_save_LIBS
=$LIBS
13679 LIBS
="-lXxf86vm $LIBS"
13680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13683 /* Override any GCC internal prototype to avoid an error.
13684 Use char because int might match the return type of a GCC
13685 builtin and then its argument prototype would still apply. */
13689 char XF86VidModeQueryExtension ();
13693 return XF86VidModeQueryExtension ();
13698 if ac_fn_c_try_link
"$LINENO"; then :
13699 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13701 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13703 rm -f core conftest.err conftest.
$ac_objext \
13704 conftest
$ac_exeext conftest.
$ac_ext
13705 LIBS
=$ac_check_lib_save_LIBS
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13708 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13709 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13713 CFLAGS
="$save_cflags"
13716 if test "x-$have_vidmode" = "x-yes" ; then
13717 DO_VIDMODE_SUPPORT
="1"
13718 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13719 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13721 DO_VIDMODE_SUPPORT
="0"
13725 aros_host_x11_includes
=$x_includes
13726 aros_host_x11_libdirs
=$x_libraries
13730 # Check whether --enable-sdl_hidd was given.
13731 if test "${enable_sdl_hidd+set}" = set; then :
13732 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13737 case "x-$sdl_hidd" in
13738 x-yes|x-no|x-auto
) ;;
13739 *) sdl_hidd
="auto" ;;
13742 if test "x-$sdl_hidd" != "x-no" ; then
13745 # Check whether --with-sdl-prefix was given.
13746 if test "${with_sdl_prefix+set}" = set; then :
13747 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13753 # Check whether --with-sdl-exec-prefix was given.
13754 if test "${with_sdl_exec_prefix+set}" = set; then :
13755 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13760 # Check whether --enable-sdltest was given.
13761 if test "${enable_sdltest+set}" = set; then :
13762 enableval
=$enable_sdltest;
13768 if test x
$sdl_exec_prefix != x
; then
13769 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
13770 if test x
${SDL_CONFIG+set} != xset
; then
13771 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
13774 if test x
$sdl_prefix != x
; then
13775 sdl_args
="$sdl_args --prefix=$sdl_prefix"
13776 if test x
${SDL_CONFIG+set} != xset
; then
13777 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
13781 if test "x$prefix" != xNONE
; then
13782 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
13784 # Extract the first word of "sdl-config", so it can be a program name with args.
13785 set dummy sdl-config
; ac_word
=$2
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13787 $as_echo_n "checking for $ac_word... " >&6; }
13788 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
13789 $as_echo_n "(cached) " >&6
13791 case $SDL_CONFIG in
13793 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
13796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13797 for as_dir
in $PATH
13800 test -z "$as_dir" && as_dir
=.
13801 for ac_exec_ext
in '' $ac_executable_extensions; do
13802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13803 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13811 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
13815 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
13816 if test -n "$SDL_CONFIG"; then
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
13818 $as_echo "$SDL_CONFIG" >&6; }
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13821 $as_echo "no" >&6; }
13825 min_sdl_version
=1.2.10
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
13827 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
13829 if test "$SDL_CONFIG" = "no" ; then
13832 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
13833 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
13835 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
13836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13837 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
13838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13839 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
13840 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13841 if test "x$enable_sdltest" = "xyes" ; then
13842 ac_save_CFLAGS
="$CFLAGS"
13843 ac_save_CXXFLAGS
="$CXXFLAGS"
13844 ac_save_LIBS
="$LIBS"
13845 CFLAGS
="$CFLAGS $SDL_CFLAGS"
13846 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
13847 LIBS
="$LIBS $SDL_LIBS"
13849 if test "$cross_compiling" = yes; then :
13850 echo $ac_n "cross compiling; assumed OK... $ac_c"
13852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13853 /* end confdefs.h. */
13856 #include <stdlib.h>
13857 #include <string.h>
13861 my_strdup (char *str)
13867 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
13868 strcpy (new_str, str);
13876 int main (int argc, char *argv[])
13878 int major, minor, micro;
13881 /* This hangs on some systems (?)
13882 system ("touch conf.sdltest");
13884 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
13886 /* HP/UX 9 (%@#!) writes to sscanf strings */
13887 tmp_version = my_strdup("$min_sdl_version");
13888 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
13889 printf("%s, bad version string\n", "$min_sdl_version");
13893 if (($sdl_major_version > major) ||
13894 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
13895 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
13901 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
13902 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
13903 printf("*** best to upgrade to the required version.\n");
13904 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
13905 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
13906 printf("*** config.cache before re-running configure\n");
13913 if ac_fn_c_try_run
"$LINENO"; then :
13918 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13919 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13922 CFLAGS
="$ac_save_CFLAGS"
13923 CXXFLAGS
="$ac_save_CXXFLAGS"
13924 LIBS
="$ac_save_LIBS"
13927 if test "x$no_sdl" = x
; then
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13929 $as_echo "yes" >&6; }
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13933 $as_echo "no" >&6; }
13934 if test "$SDL_CONFIG" = "no" ; then
13935 echo "*** The sdl-config script installed by SDL could not be found"
13936 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
13937 echo "*** your path, or set the SDL_CONFIG environment variable to the"
13938 echo "*** full path to sdl-config."
13940 if test -f conf.sdltest
; then
13943 echo "*** Could not run SDL test program, checking why..."
13944 CFLAGS
="$CFLAGS $SDL_CFLAGS"
13945 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
13946 LIBS
="$LIBS $SDL_LIBS"
13947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13953 int main(int argc, char *argv[])
13956 #define main K_and_R_C_main
13966 if ac_fn_c_try_link
"$LINENO"; then :
13967 echo "*** The test program compiled, but did not run. This usually means"
13968 echo "*** that the run-time linker is not finding SDL or finding the wrong"
13969 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
13970 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13971 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13972 echo "*** is required on your system"
13974 echo "*** If you have an old version installed, it is best to remove it, although"
13975 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13977 echo "*** The test program failed to compile or link. See the file config.log for the"
13978 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
13979 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
13980 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
13982 rm -f core conftest.err conftest.
$ac_objext \
13983 conftest
$ac_exeext conftest.
$ac_ext
13984 CFLAGS
="$ac_save_CFLAGS"
13985 CXXFLAGS
="$ac_save_CXXFLAGS"
13986 LIBS
="$ac_save_LIBS"
13998 if test "x-$have_sdl" != "x-yes" ; then
14000 if test "x-$sdl_hidd" != "x-auto" ; then
14001 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14005 sdl_hidd_target
=kernel-hidd-sdl
14006 aros_host_sdl_cflags
=SDL_CFLAGS
14007 aros_host_sdl_libs
=SDL_LIBS
14011 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14012 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14017 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14018 oss_library_target
=workbench-libs-oss-unix
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14024 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14025 # Check whether --enable-dbus was given.
14026 if test "${enable_dbus+set}" = set; then :
14027 enableval
=$enable_dbus; dbus
="yes"
14032 if test "$dbus" = "yes" ; then
14034 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14035 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14036 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14037 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14042 $as_echo "$dbus" >&6; }
14044 if test "$use_kernel_cc_wrapper" = "yes" ; then
14045 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14048 if test "${crosstools}" != "yes" ; then
14049 aros_target_toolchain
=no
14051 aros_target_toolchain
=yes
14067 # Compatability with other Amiga-like operation systems
14162 # Delinting target compiler flags
14186 # Native version related
14189 # Palm native version related
14192 # Unix/Hosted version related
14198 # Apple iOS related
14223 # Collect-aros stuff: "-ius" to ignore undefined symbols
14226 # C compiler related
14229 case "$aros_flavour" in
14230 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14231 aros_flavour
="emulation" ;;
14232 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14233 aros_flavour
="emulation" ;;
14234 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14235 aros_flavour
="standalone";;
14236 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14237 aros_flavour
="standalone";;
14238 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14239 aros_flavour
="native" ;;
14240 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14241 aros_flavour
="native" ;;
14242 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14243 aros_flavour
="linklib" ;;
14244 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14245 aros_flavour
="palmnative" ;;
14246 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14247 aros_flavour
="mac68knative" ;;
14248 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14249 aros_flavour
="ppcnative" ;;
14252 if test ! -d ${aros_inc_dir} ; then
14253 ${MKDIR} ${aros_inc_dir}
14255 if test ! -d ${aros_geninc_dir} ; then
14256 ${MKDIR} ${aros_geninc_dir}
14258 if test ! -d ${aros_hostcfg_dir} ; then
14259 ${MKDIR} ${aros_hostcfg_dir}
14261 if test ! -d ${aros_targetcfg_dir} ; then
14262 ${MKDIR} ${aros_targetcfg_dir}
14264 if test ! -d ${aros_tools_dir} ; then
14265 ${MKDIR} ${aros_tools_dir}
14267 if test ! -d ${aros_scripts_dir} ; then
14268 ${MKDIR} ${aros_scripts_dir}
14271 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14274 ac_config_commands
="$ac_config_commands compiler_executable"
14276 ac_config_commands
="$ac_config_commands genmf_executable"
14279 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"
14282 cat >confcache
<<\_ACEOF
14283 # This file is a shell script that caches the results of configure
14284 # tests run on this system so they can be shared between configure
14285 # scripts and configure runs, see configure's option --config-cache.
14286 # It is not useful on other systems. If it contains results you don't
14287 # want to keep, you may remove or edit it.
14289 # config.status only pays attention to the cache file if you give it
14290 # the --recheck option to rerun configure.
14292 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14293 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14294 # following values.
14298 # The following way of writing the cache mishandles newlines in values,
14299 # but we know of no workaround that is simple, portable, and efficient.
14300 # So, we kill variables containing newlines.
14301 # Ultrix sh set writes to stderr and can't be redirected directly,
14302 # and sets the high bit in the cache file unless we assign to the vars.
14304 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14305 eval ac_val
=\$
$ac_var
14309 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14310 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14313 _ | IFS | as_nl
) ;; #(
14314 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14315 *) { eval $ac_var=; unset $ac_var;} ;;
14321 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14322 *${as_nl}ac_space
=\
*)
14323 # `set' does not quote correctly, so add quotes: double-quote
14324 # substitution turns \\\\ into \\, and sed turns \\ into \.
14327 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14330 # `set' quotes correctly as required by POSIX, so do not add quotes.
14331 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14340 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14342 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14344 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14345 if test -w "$cache_file"; then
14346 if test "x$cache_file" != "x/dev/null"; then
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14348 $as_echo "$as_me: updating cache $cache_file" >&6;}
14349 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14350 cat confcache
>"$cache_file"
14352 case $cache_file in #(
14354 mv -f confcache
"$cache_file"$$
&&
14355 mv -f "$cache_file"$$
"$cache_file" ;; #(
14357 mv -f confcache
"$cache_file" ;;
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14363 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14368 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14369 # Let make expand exec_prefix.
14370 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14372 DEFS
=-DHAVE_CONFIG_H
14377 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14378 # 1. Remove the extension, and $U if already installed.
14379 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14380 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14381 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14382 # will be set to the directory where LIBOBJS objects are built.
14383 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14384 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14386 LIBOBJS
=$ac_libobjs
14388 LTLIBOBJS
=$ac_ltlibobjs
14392 : "${CONFIG_STATUS=./config.status}"
14394 ac_clean_files_save
=$ac_clean_files
14395 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14397 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14399 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14401 # Generated by $as_me.
14402 # Run this file to recreate the current configuration.
14403 # Compiler output produced by configure, useful for debugging
14404 # configure, is in config.log if it exists.
14407 ac_cs_recheck=false
14410 SHELL=\${CONFIG_SHELL-$SHELL}
14413 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14414 ## -------------------- ##
14415 ## M4sh Initialization. ##
14416 ## -------------------- ##
14418 # Be more Bourne compatible
14419 DUALCASE
=1; export DUALCASE
# for MKS sh
14420 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14423 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14424 # is contrary to our usage. Disable this feature.
14425 alias -g '${1+"$@"}'='"$@"'
14426 setopt NO_GLOB_SUBST
14428 case `(set -o) 2>/dev/null` in #(
14440 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14441 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14442 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14443 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14444 # Prefer a ksh shell builtin over an external printf program on Solaris,
14445 # but without wasting forks for bash or zsh.
14446 if test -z "$BASH_VERSION$ZSH_VERSION" \
14447 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14448 as_echo='print
-r --'
14449 as_echo_n='print
-rn --'
14450 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14451 as_echo='printf %s
\n'
14452 as_echo_n='printf %s
'
14454 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14455 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14456 as_echo_n='/usr
/ucb
/echo -n'
14458 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14459 as_echo_n_body='eval
14463 expr "X$arg" : "X\\(.*\\)$as_nl";
14464 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14466 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14468 export as_echo_n_body
14469 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14471 export as_echo_body
14472 as_echo='sh
-c $as_echo_body as_echo
'
14475 # The user is always right.
14476 if test "${PATH_SEPARATOR+set}" != set; then
14478 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14479 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14486 # We need space, tab and new line, in precisely that order. Quoting is
14487 # there to prevent editors from complaining about space-tab.
14488 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14489 # splitting by setting IFS to empty value.)
14492 # Find who we are. Look in the path if we contain no directory separator.
14495 *[\\/]* ) as_myself=$0 ;;
14496 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14497 for as_dir in $PATH
14500 test -z "$as_dir" && as_dir=.
14501 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14507 # We did not find ourselves, most probably we were run as `sh COMMAND'
14508 # in which case we are not to be found in the path.
14509 if test "x$as_myself" = x
; then
14512 if test ! -f "$as_myself"; then
14513 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14517 # Unset variables that we do not need and which cause bugs (e.g. in
14518 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14519 # suppresses any "Segmentation fault" message there. '((' could
14520 # trigger a bug in pdksh 5.2.14.
14521 for as_var
in BASH_ENV ENV MAIL MAILPATH
14522 do eval test x\
${$as_var+set} = xset \
14523 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14536 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14539 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14540 # ----------------------------------------
14541 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14542 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14543 # script with STATUS, using 1 if that was 0.
14546 as_status
=$1; test $as_status -eq 0 && as_status
=1
14548 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14549 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14551 $as_echo "$as_me: error: $2" >&2
14552 as_fn_exit
$as_status
14556 # as_fn_set_status STATUS
14557 # -----------------------
14558 # Set $? to STATUS, without forking.
14559 as_fn_set_status
()
14562 } # as_fn_set_status
14564 # as_fn_exit STATUS
14565 # -----------------
14566 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14570 as_fn_set_status
$1
14576 # Portably unset VAR.
14579 { eval $1=; unset $1;}
14581 as_unset
=as_fn_unset
14582 # as_fn_append VAR VALUE
14583 # ----------------------
14584 # Append the text in VALUE to the end of the definition contained in VAR. Take
14585 # advantage of any shell optimizations that allow amortized linear growth over
14586 # repeated appends, instead of the typical quadratic growth present in naive
14588 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14589 eval 'as_fn_append ()
14600 # as_fn_arith ARG...
14601 # ------------------
14602 # Perform arithmetic evaluation on the ARGs, and store the result in the
14603 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14604 # must be portable across $(()) and expr.
14605 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14606 eval 'as_fn_arith ()
14613 as_val
=`expr "$@" || test $? -eq 1`
14618 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14619 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14625 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14626 as_basename
=basename
14631 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14637 as_me
=`$as_basename -- "$0" ||
14638 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14639 X"$0" : 'X\(//\)$' \| \
14640 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14642 sed '/^.*\/\([^/][^/]*\)\/*$/{
14656 # Avoid depending upon Character Ranges.
14657 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14658 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14659 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14660 as_cr_digits
='0123456789'
14661 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14663 ECHO_C
= ECHO_N
= ECHO_T
=
14664 case `echo -n x` in #(((((
14666 case `echo 'xy\c'` in
14667 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14669 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14676 rm -f conf$$ conf$$.exe conf$$.
file
14677 if test -d conf$$.dir
; then
14678 rm -f conf$$.dir
/conf$$.
file
14681 mkdir conf$$.dir
2>/dev
/null
14683 if (echo >conf$$.
file) 2>/dev
/null
; then
14684 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14686 # ... but there are two gotchas:
14687 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14688 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14689 # In both cases, we have to default to `cp -p'.
14690 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14692 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14700 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14701 rmdir conf$$.dir
2>/dev
/null
14706 # Create "$as_dir" as a directory, including parents if necessary.
14711 -*) as_dir
=.
/$as_dir;;
14713 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14717 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14718 *) as_qdir
=$as_dir;;
14720 as_dirs
="'$as_qdir' $as_dirs"
14721 as_dir
=`$as_dirname -- "$as_dir" ||
14722 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14723 X"$as_dir" : 'X\(//\)[^/]' \| \
14724 X"$as_dir" : 'X\(//\)$' \| \
14725 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14726 $as_echo X"$as_dir" |
14727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14731 /^X\(\/\/\)[^/].*/{
14744 test -d "$as_dir" && break
14746 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14747 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14751 if mkdir
-p .
2>/dev
/null
; then
14752 as_mkdir_p
='mkdir -p "$as_dir"'
14754 test -d .
/-p && rmdir .
/-p
14758 if test -x / >/dev
/null
2>&1; then
14759 as_test_x
='test -x'
14761 if ls -dL / >/dev
/null
2>&1; then
14768 if test -d "$1"; then
14774 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14775 ???[sx]*):;;*)false;;esac;fi
14779 as_executable_p
=$as_test_x
14781 # Sed expression to map a string onto a valid CPP name.
14782 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14784 # Sed expression to map a string onto a valid variable name.
14785 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14789 ## ----------------------------------- ##
14790 ## Main body of $CONFIG_STATUS script. ##
14791 ## ----------------------------------- ##
14793 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14796 # Save the log message, to keep $0 and so on meaningful, and to
14797 # report actual input values of CONFIG_FILES etc. instead of their
14798 # values after options handling.
14800 This file was extended by $as_me, which was
14801 generated by GNU Autoconf 2.68. Invocation command line was
14803 CONFIG_FILES = $CONFIG_FILES
14804 CONFIG_HEADERS = $CONFIG_HEADERS
14805 CONFIG_LINKS = $CONFIG_LINKS
14806 CONFIG_COMMANDS = $CONFIG_COMMANDS
14809 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14814 case $ac_config_files in *"
14815 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14818 case $ac_config_headers in *"
14819 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14824 # Files that config.status was made for.
14825 config_files="$ac_config_files"
14826 config_headers="$ac_config_headers"
14827 config_commands="$ac_config_commands"
14831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14833 \`$as_me' instantiates files and other configuration actions
14834 from templates according to the current configuration. Unless the files
14835 and actions are specified as TAGs, all are instantiated by default.
14837 Usage: $0 [OPTION]... [TAG]...
14839 -h, --help print this help, then exit
14840 -V, --version print version number and configuration settings, then exit
14841 --config print configuration, then exit
14842 -q, --quiet, --silent
14843 do not print progress messages
14844 -d, --debug don't remove temporary files
14845 --recheck update $as_me by reconfiguring in the same conditions
14846 --file=FILE[:TEMPLATE]
14847 instantiate the configuration file FILE
14848 --header=FILE[:TEMPLATE]
14849 instantiate the configuration header FILE
14851 Configuration files:
14854 Configuration headers:
14857 Configuration commands:
14860 Report bugs to the package provider."
14863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14864 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14867 configured by $0, generated by GNU Autoconf 2.68,
14868 with options \\"\$ac_cs_config\\"
14870 Copyright (C) 2010 Free Software Foundation, Inc.
14871 This config.status script is free software; the Free Software Foundation
14872 gives unlimited permission to copy, distribute and modify it."
14876 test -n "\$AWK" || AWK=awk
14879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14880 # The default lists apply if the user does not specify any file.
14886 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14887 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14891 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14903 # Handling of the options.
14904 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14906 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14907 $as_echo "$ac_cs_version"; exit ;;
14908 --config |
--confi |
--conf |
--con |
--co |
--c )
14909 $as_echo "$ac_cs_config"; exit ;;
14910 --debug |
--debu |
--deb |
--de |
--d |
-d )
14912 --file |
--fil |
--fi |
--f )
14915 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14916 '') as_fn_error $?
"missing file argument" ;;
14918 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14919 ac_need_defaults
=false
;;
14920 --header |
--heade |
--head |
--hea )
14923 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14925 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14926 ac_need_defaults
=false
;;
14928 # Conflict between --help and --header
14929 as_fn_error $?
"ambiguous option: \`$1'
14930 Try \`$0 --help' for more information.";;
14931 --help |
--hel |
-h )
14932 $as_echo "$ac_cs_usage"; exit ;;
14933 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14934 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14937 # This is an error.
14938 -*) as_fn_error $?
"unrecognized option: \`$1'
14939 Try \`$0 --help' for more information." ;;
14941 *) as_fn_append ac_config_targets
" $1"
14942 ac_need_defaults
=false
;;
14948 ac_configure_extra_args
=
14950 if $ac_cs_silent; then
14952 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14957 if \$ac_cs_recheck; then
14958 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14960 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14961 CONFIG_SHELL='$SHELL'
14962 export CONFIG_SHELL
14967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14971 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14972 ## Running $as_me. ##
14978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14983 aros_host_exe_suffix=${aros_host_exe_suffix}
14984 aros_tools_dir=${aros_tools_dir}
14985 aros_target_cpu=${aros_target_cpu}
14986 aros_target_arch=${aros_target_arch}
14987 aros_target_suffix=${aros_target_suffix}
14988 orig_target_nm=${orig_target_nm}
14989 orig_target_as=${orig_target_as}
14990 orig_target_ar=${orig_target_ar}
14991 orig_target_ranlib=${orig_target_ranlib}
14992 orig_target_objdump=${orig_target_objdump}
14993 orig_target_objcopy=${orig_target_objcopy}
14994 orig_target_strip=${orig_target_strip}
14995 aros_kernel_ld=${aros_kernel_ld}
14998 aros_tools_dir=${aros_tools_dir}
15003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15005 # Handling of arguments.
15006 for ac_config_target
in $ac_config_targets
15008 case $ac_config_target in
15009 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15010 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15011 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15012 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15013 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15014 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15015 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15016 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15017 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15018 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15019 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15020 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15021 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15022 "${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" ;;
15023 "${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" ;;
15024 "${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" ;;
15025 "${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" ;;
15026 "${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" ;;
15027 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15028 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15029 "${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" ;;
15031 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
15036 # If the user did not use the arguments to specify the items to instantiate,
15037 # then the envvar interface is used. Set only those that are not.
15038 # We use the long form for the default assignment because of an extremely
15039 # bizarre bug on SunOS 4.1.3.
15040 if $ac_need_defaults; then
15041 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15042 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15043 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15046 # Have a temporary directory for convenience. Make it in the build tree
15047 # simply because there is no reason against having it here, and in addition,
15048 # creating and moving files from /tmp can sometimes cause problems.
15049 # Hook for its removal unless debugging.
15050 # Note that there is a small window in which the directory will not be cleaned:
15051 # after its creation but before its name has been assigned to `$tmp'.
15055 trap 'exit_status=$?
15056 : "${ac_tmp:=$tmp}"
15057 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15059 trap 'as_fn_exit 1' 1 2 13 15
15061 # Create a (secure) tmp directory for tmp files.
15064 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15068 tmp
=.
/conf$$
-$RANDOM
15069 (umask 077 && mkdir
"$tmp")
15070 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15073 # Set up the scripts for CONFIG_FILES section.
15074 # No need to generate them if there are no CONFIG_FILES.
15075 # This happens for instance with `./config.status config.h'.
15076 if test -n "$CONFIG_FILES"; then
15079 ac_cr
=`echo X | tr X '\015'`
15080 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15081 # But we know of no other shell where ac_cr would be empty at this
15082 # point, so we can use a bashism as a fallback.
15083 if test "x$ac_cr" = x
; then
15084 eval ac_cr
=\$
\'\\r
\'
15086 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15087 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15090 ac_cs_awk_cr
=$ac_cr
15093 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15098 echo "cat >conf$$subs.awk <<_ACEOF" &&
15099 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15101 } >conf$$subs.sh ||
15102 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15103 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15105 for ac_last_try in false false false false false :; do
15106 . ./conf$$subs.sh ||
15107 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15109 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15110 if test $ac_delim_n = $ac_delim_num; then
15112 elif $ac_last_try; then
15113 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15115 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15118 rm -f conf$$subs.sh
15120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15121 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15125 s/^/S["/; s
/!.
*/"]=/
15135 s/\(.\{148\}\)..*/\1/
15137 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15142 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15149 s/\(.\{148\}\)..*/\1/
15151 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15155 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15160 ' <conf$$subs.awk | sed '
15165 ' >>$CONFIG_STATUS || ac_write_fail=1
15166 rm -f conf$$subs.awk
15167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15169 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15170 for (key in S) S_is_set[key] = 1
15176 nfields = split(line, field, "@
")
15178 len = length(field[1])
15179 for (i = 2; i < nfields; i++) {
15181 keylen = length(key)
15182 if (S_is_set[key]) {
15184 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15185 len += length(value) + length(field[++i])
15196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15197 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15198 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15201 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15202 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15205 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15206 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15207 # trailing colons and then remove the whole line if VPATH becomes empty
15208 # (actually we leave an empty line to preserve line numbers).
15209 if test "x
$srcdir" = x.; then
15210 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15229 fi # test -n "$CONFIG_FILES"
15231 # Set up the scripts for CONFIG_HEADERS section.
15232 # No need to generate them if there are no CONFIG_HEADERS.
15233 # This happens for instance with `./config.status Makefile'.
15234 if test -n "$CONFIG_HEADERS"; then
15235 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15239 # Transform confdefs.h into an awk script `defines.awk', embedded as
15240 # here-document in config.status, that substitutes the proper values into
15241 # config.h.in to produce config.h.
15243 # Create a delimiter string that does not exist in confdefs.h, to ease
15244 # handling of long lines.
15246 for ac_last_try in false false :; do
15247 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15248 if test -z "$ac_tt"; then
15250 elif $ac_last_try; then
15251 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15253 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15257 # For the awk script, D is an array of macro values keyed by name,
15258 # likewise P contains macro parameters if any. Preserve backslash
15259 # newline sequences.
15261 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15263 s/.\{148\}/&'"$ac_delim"'/g
15266 s/^[ ]*#[ ]*define[ ][ ]*/ /
15273 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15275 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15279 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15280 D["\
1"]=" \
3\\\\\\n
"\\/p
15282 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15287 s/.\{148\}/&'"$ac_delim"'/g
15292 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15295 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15297 ' <confdefs.h | sed '
15298 s/'"$ac_delim"'/"\\\
15299 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15302 for (key in D) D_is_set[key] = 1
15305 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15307 split(line, arg, " ")
15308 if (arg[1] == "#") {
15312 defundef
= substr
(arg
[1], 2)
15315 split(mac1
, mac2
, "(") #)
15317 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15318 if (D_is_set
[macro
]) {
15319 # Preserve the white space surrounding the "#".
15320 print prefix
"define", macro P
[macro
] D
[macro
]
15323 # Replace #undef with comments. This is necessary, for example,
15324 # in the case of _POSIX_SOURCE, which is predefined and required
15325 # on some systems where configure will not decide to define it.
15326 if (defundef
== "undef") {
15327 print
"/*", prefix defundef
, macro
, "*/"
15335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15336 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15337 fi # test -n "$CONFIG_HEADERS"
15340 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15345 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15347 case $ac_mode$ac_tag in
15349 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
15350 :[FH
]-) ac_tag
=-:-;;
15351 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15368 -) ac_f
="$ac_tmp/stdin";;
15369 *) # Look for the file first in the build tree, then in the source tree
15370 # (if the path is not absolute). The absolute path cannot be DOS-style,
15371 # because $ac_f cannot contain `:'.
15375 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15377 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
15379 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15380 as_fn_append ac_file_inputs
" '$ac_f'"
15383 # Let's still pretend it is `configure' which instantiates (i.e., don't
15384 # use $as_me), people would be surprised to read:
15385 # /* config.h. Generated by config.status. */
15386 configure_input
='Generated from '`
15387 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15389 if test x
"$ac_file" != x-
; then
15390 configure_input
="$ac_file. $configure_input"
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15392 $as_echo "$as_me: creating $ac_file" >&6;}
15394 # Neutralize special characters interpreted by sed in replacement strings.
15395 case $configure_input in #(
15396 *\
&* |
*\|
* |
*\\* )
15397 ac_sed_conf_input
=`$as_echo "$configure_input" |
15398 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15399 *) ac_sed_conf_input
=$configure_input;;
15403 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15404 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15409 ac_dir
=`$as_dirname -- "$ac_file" ||
15410 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15411 X"$ac_file" : 'X\(//\)[^/]' \| \
15412 X"$ac_file" : 'X\(//\)$' \| \
15413 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15414 $as_echo X"$ac_file" |
15415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15419 /^X\(\/\/\)[^/].*/{
15432 as_dir
="$ac_dir"; as_fn_mkdir_p
15436 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15438 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15439 # A ".." for each directory in $ac_dir_suffix.
15440 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15441 case $ac_top_builddir_sub in
15442 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15443 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15446 ac_abs_top_builddir
=$ac_pwd
15447 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15448 # for backward compatibility:
15449 ac_top_builddir
=$ac_top_build_prefix
15452 .
) # We are building in place.
15454 ac_top_srcdir
=$ac_top_builddir_sub
15455 ac_abs_top_srcdir
=$ac_pwd ;;
15456 [\\/]* | ?
:[\\/]* ) # Absolute name.
15457 ac_srcdir
=$srcdir$ac_dir_suffix;
15458 ac_top_srcdir
=$srcdir
15459 ac_abs_top_srcdir
=$srcdir ;;
15460 *) # Relative name.
15461 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15462 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15463 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15465 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15477 # If the template does not know about datarootdir, expand it.
15478 # FIXME: This hack should be removed a few years after 2.60.
15479 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15490 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15491 *datarootdir
*) ac_datarootdir_seen
=yes;;
15492 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15494 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15497 ac_datarootdir_hack='
15498 s&@datadir@&$datadir&g
15499 s&@docdir@&$docdir&g
15500 s&@infodir@&$infodir&g
15501 s&@localedir@&$localedir&g
15502 s&@mandir@&$mandir&g
15503 s&\\\${datarootdir}&$datarootdir&g' ;;
15507 # Neutralize VPATH when `$srcdir' = `.'.
15508 # Shell code in configure.ac might set extrasub.
15509 # FIXME: do we really want to maintain this feature?
15510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15511 ac_sed_extra="$ac_vpsub
15514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15516 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15517 s|@configure_input@|
$ac_sed_conf_input|
;t t
15518 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15519 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15520 s
&@srcdir@
&$ac_srcdir&;t t
15521 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15522 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15523 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15524 s
&@builddir@
&$ac_builddir&;t t
15525 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15526 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15527 $ac_datarootdir_hack
15529 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15530 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15532 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15533 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15534 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15535 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15537 which seems to be undefined. Please make sure it is defined" >&5
15538 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15539 which seems to be undefined. Please make sure it is defined" >&2;}
15541 rm -f "$ac_tmp/stdin"
15543 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15544 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15546 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15552 if test x"$ac_file" != x-; then
15554 $as_echo "/* $configure_input */" \
15555 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15556 } >"$ac_tmp/config.h" \
15557 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15558 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15560 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15563 mv "$ac_tmp/config.h" "$ac_file" \
15564 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15567 $as_echo "/* $configure_input */" \
15568 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15569 || as_fn_error $? "could not create -" "$LINENO" 5
15573 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15574 $as_echo "$as_me: executing $ac_file commands" >&6;}
15579 case $ac_file$ac_mode in
15580 "compiler_executable":C)
15581 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15583 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15584 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15588 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15590 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15591 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15592 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15593 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15594 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15595 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15596 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15598 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15600 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15608 ac_clean_files=$ac_clean_files_save
15610 test $ac_write_fail = 0 ||
15611 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15614 # configure is writing to config.log, and then calls config.status.
15615 # config.status does its own redirection, appending to config.log.
15616 # Unfortunately, on DOS this fails, as config.log is still kept open
15617 # by configure, so config.status won't be able to
write to it
; its
15618 # output is simply discarded. So we exec the FD to /dev/null,
15619 # effectively closing config.log, so it can be properly (re)opened and
15620 # appended to by config.status. When coming back to configure, we
15621 # need to make the FD available again.
15622 if test "$no_create" != yes; then
15624 ac_config_status_args
=
15625 test "$silent" = yes &&
15626 ac_config_status_args
="$ac_config_status_args --quiet"
15628 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15630 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15631 # would make configure fail if this is the last instruction.
15632 $ac_cs_success || as_fn_exit
1
15634 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15636 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15641 #XXX compatability...
15642 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15644 if test -n "$aros_shared_cflags" ; then
15645 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15646 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg