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
891 enable_palm_debug_hack
892 enable_nesting_supervisor
904 ac_precious_vars
='build_alias
919 # Initialize some variables set by options.
921 ac_init_version
=false
922 ac_unrecognized_opts
=
924 # The variables have the same names as the options, with
925 # dashes changed to underlines.
933 program_transform_name
=s
,x
,x
,
941 # Installation directory options.
942 # These are left unexpanded so users can "make install exec_prefix=/foo"
943 # and all the variables that are supposed to be based on exec_prefix
944 # by default will actually change.
945 # Use braces instead of parens because sh, perl, etc. also accept them.
946 # (The list follows the same order as the GNU Coding Standards.)
947 bindir
='${exec_prefix}/bin'
948 sbindir
='${exec_prefix}/sbin'
949 libexecdir
='${exec_prefix}/libexec'
950 datarootdir
='${prefix}/share'
951 datadir
='${datarootdir}'
952 sysconfdir
='${prefix}/etc'
953 sharedstatedir
='${prefix}/com'
954 localstatedir
='${prefix}/var'
955 includedir
='${prefix}/include'
956 oldincludedir
='/usr/include'
957 docdir
='${datarootdir}/doc/${PACKAGE}'
958 infodir
='${datarootdir}/info'
963 libdir
='${exec_prefix}/lib'
964 localedir
='${datarootdir}/locale'
965 mandir
='${datarootdir}/man'
971 # If the previous option needs an argument, assign it.
972 if test -n "$ac_prev"; then
973 eval $ac_prev=\
$ac_option
979 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
984 # Accept the important Cygnus configure options, so we can diagnose typos.
986 case $ac_dashdash$ac_option in
990 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
992 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
995 -build |
--build |
--buil |
--bui |
--bu)
996 ac_prev
=build_alias
;;
997 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
998 build_alias
=$ac_optarg ;;
1000 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1001 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1002 ac_prev
=cache_file
;;
1003 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1004 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1005 cache_file
=$ac_optarg ;;
1007 --config-cache |
-C)
1008 cache_file
=config.cache
;;
1010 -datadir |
--datadir |
--datadi |
--datad)
1012 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1013 datadir
=$ac_optarg ;;
1015 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1016 |
--dataroo |
--dataro |
--datar)
1017 ac_prev
=datarootdir
;;
1018 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1019 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1020 datarootdir
=$ac_optarg ;;
1022 -disable-* |
--disable-*)
1023 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1026 as_fn_error $?
"invalid feature name: $ac_useropt"
1027 ac_useropt_orig
=$ac_useropt
1028 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029 case $ac_user_opts in
1031 "enable_
$ac_useropt"
1033 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1034 ac_unrecognized_sep
=', ';;
1036 eval enable_
$ac_useropt=no
;;
1038 -docdir |
--docdir |
--docdi |
--doc |
--do)
1040 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1041 docdir
=$ac_optarg ;;
1043 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1045 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1046 dvidir
=$ac_optarg ;;
1048 -enable-* |
--enable-*)
1049 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1052 as_fn_error $?
"invalid feature name: $ac_useropt"
1053 ac_useropt_orig
=$ac_useropt
1054 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055 case $ac_user_opts in
1057 "enable_
$ac_useropt"
1059 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1060 ac_unrecognized_sep
=', ';;
1062 eval enable_
$ac_useropt=\
$ac_optarg ;;
1064 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1065 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1066 |
--exec |
--exe |
--ex)
1067 ac_prev
=exec_prefix
;;
1068 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1069 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1070 |
--exec=* |
--exe=* |
--ex=*)
1071 exec_prefix
=$ac_optarg ;;
1073 -gas |
--gas |
--ga |
--g)
1074 # Obsolete; use --with-gas.
1077 -help |
--help |
--hel |
--he |
-h)
1078 ac_init_help
=long
;;
1079 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1080 ac_init_help
=recursive
;;
1081 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1082 ac_init_help
=short
;;
1084 -host |
--host |
--hos |
--ho)
1085 ac_prev
=host_alias
;;
1086 -host=* |
--host=* |
--hos=* |
--ho=*)
1087 host_alias
=$ac_optarg ;;
1089 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1091 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1093 htmldir
=$ac_optarg ;;
1095 -includedir |
--includedir |
--includedi |
--included |
--include \
1096 |
--includ |
--inclu |
--incl |
--inc)
1097 ac_prev
=includedir
;;
1098 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1099 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1100 includedir
=$ac_optarg ;;
1102 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1104 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1105 infodir
=$ac_optarg ;;
1107 -libdir |
--libdir |
--libdi |
--libd)
1109 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1110 libdir
=$ac_optarg ;;
1112 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1113 |
--libexe |
--libex |
--libe)
1114 ac_prev
=libexecdir
;;
1115 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1116 |
--libexe=* |
--libex=* |
--libe=*)
1117 libexecdir
=$ac_optarg ;;
1119 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1120 ac_prev
=localedir
;;
1121 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1122 localedir
=$ac_optarg ;;
1124 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1125 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1126 ac_prev
=localstatedir
;;
1127 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1128 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1129 localstatedir
=$ac_optarg ;;
1131 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1133 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1134 mandir
=$ac_optarg ;;
1136 -nfp |
--nfp |
--nf)
1137 # Obsolete; use --without-fp.
1140 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1141 |
--no-cr |
--no-c |
-n)
1144 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1145 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1148 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1149 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1150 |
--oldin |
--oldi |
--old |
--ol |
--o)
1151 ac_prev
=oldincludedir
;;
1152 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1153 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1154 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1155 oldincludedir
=$ac_optarg ;;
1157 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1159 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1160 prefix
=$ac_optarg ;;
1162 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1163 |
--program-pre |
--program-pr |
--program-p)
1164 ac_prev
=program_prefix
;;
1165 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1166 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1167 program_prefix
=$ac_optarg ;;
1169 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1170 |
--program-suf |
--program-su |
--program-s)
1171 ac_prev
=program_suffix
;;
1172 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1173 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1174 program_suffix
=$ac_optarg ;;
1176 -program-transform-name |
--program-transform-name \
1177 |
--program-transform-nam |
--program-transform-na \
1178 |
--program-transform-n |
--program-transform- \
1179 |
--program-transform |
--program-transfor \
1180 |
--program-transfo |
--program-transf \
1181 |
--program-trans |
--program-tran \
1182 |
--progr-tra |
--program-tr |
--program-t)
1183 ac_prev
=program_transform_name
;;
1184 -program-transform-name=* |
--program-transform-name=* \
1185 |
--program-transform-nam=* |
--program-transform-na=* \
1186 |
--program-transform-n=* |
--program-transform-=* \
1187 |
--program-transform=* |
--program-transfor=* \
1188 |
--program-transfo=* |
--program-transf=* \
1189 |
--program-trans=* |
--program-tran=* \
1190 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1191 program_transform_name
=$ac_optarg ;;
1193 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1195 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1196 pdfdir
=$ac_optarg ;;
1198 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1200 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1203 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1204 |
-silent |
--silent |
--silen |
--sile |
--sil)
1207 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1209 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1211 sbindir
=$ac_optarg ;;
1213 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1214 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1215 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1217 ac_prev
=sharedstatedir
;;
1218 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1219 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1220 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1222 sharedstatedir
=$ac_optarg ;;
1224 -site |
--site |
--sit)
1226 -site=* |
--site=* |
--sit=*)
1229 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1231 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1232 srcdir
=$ac_optarg ;;
1234 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1235 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1236 ac_prev
=sysconfdir
;;
1237 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1238 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1239 sysconfdir
=$ac_optarg ;;
1241 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1242 ac_prev
=target_alias
;;
1243 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1244 target_alias
=$ac_optarg ;;
1246 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1249 -version |
--version |
--versio |
--versi |
--vers |
-V)
1250 ac_init_version
=: ;;
1253 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1254 # Reject names that are not valid shell variable names.
1255 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1256 as_fn_error $?
"invalid package name: $ac_useropt"
1257 ac_useropt_orig
=$ac_useropt
1258 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1259 case $ac_user_opts in
1263 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1264 ac_unrecognized_sep
=', ';;
1266 eval with_
$ac_useropt=\
$ac_optarg ;;
1268 -without-* |
--without-*)
1269 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1270 # Reject names that are not valid shell variable names.
1271 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1272 as_fn_error $?
"invalid package name: $ac_useropt"
1273 ac_useropt_orig
=$ac_useropt
1274 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275 case $ac_user_opts in
1279 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1280 ac_unrecognized_sep
=', ';;
1282 eval with_
$ac_useropt=no
;;
1285 # Obsolete; use --with-x.
1288 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1289 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1290 ac_prev
=x_includes
;;
1291 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1292 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1293 x_includes
=$ac_optarg ;;
1295 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1296 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1297 ac_prev
=x_libraries
;;
1298 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1299 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1300 x_libraries
=$ac_optarg ;;
1302 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1303 Try \`$0 --help' for more information"
1307 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1308 # Reject names that are not valid shell variable names.
1309 case $ac_envvar in #(
1310 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1311 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1313 eval $ac_envvar=\
$ac_optarg
1314 export $ac_envvar ;;
1317 # FIXME: should be removed in autoconf 3.0.
1318 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1319 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1320 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1321 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1327 if test -n "$ac_prev"; then
1328 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1329 as_fn_error $?
"missing argument to $ac_option"
1332 if test -n "$ac_unrecognized_opts"; then
1333 case $enable_option_checking in
1335 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1336 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1340 # Check all directory arguments for consistency.
1341 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1342 datadir sysconfdir sharedstatedir localstatedir includedir \
1343 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1344 libdir localedir mandir
1346 eval ac_val
=\$
$ac_var
1347 # Remove trailing slashes.
1350 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1351 eval $ac_var=\
$ac_val;;
1353 # Be sure to have absolute directory names.
1355 [\\/$
]* | ?
:[\\/]* ) continue;;
1356 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1358 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1361 # There might be people who depend on the old broken behavior: `$host'
1362 # used to hold the argument of --host etc.
1363 # FIXME: To remove some day.
1366 target
=$target_alias
1368 # FIXME: To remove some day.
1369 if test "x$host_alias" != x
; then
1370 if test "x$build_alias" = x
; then
1371 cross_compiling
=maybe
1372 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1373 If a cross compiler is detected then cross compile mode will be used" >&2
1374 elif test "x$build_alias" != "x$host_alias"; then
1380 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1382 test "$silent" = yes && exec 6>/dev
/null
1385 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1386 ac_ls_di
=`ls -di .` &&
1387 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1388 as_fn_error $?
"working directory cannot be determined"
1389 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1390 as_fn_error $?
"pwd does not report name of working directory"
1393 # Find the source files, if location was not specified.
1394 if test -z "$srcdir"; then
1395 ac_srcdir_defaulted
=yes
1396 # Try the directory containing this script, then the parent directory.
1397 ac_confdir
=`$as_dirname -- "$as_myself" ||
1398 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1399 X"$as_myself" : 'X\(//\)[^/]' \| \
1400 X"$as_myself" : 'X\(//\)$' \| \
1401 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1402 $as_echo X"$as_myself" |
1403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1425 ac_srcdir_defaulted
=no
1427 if test ! -r "$srcdir/$ac_unique_file"; then
1428 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1429 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1431 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1433 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1435 # When building in place, set srcdir=.
1436 if test "$ac_abs_confdir" = "$ac_pwd"; then
1439 # Remove unnecessary trailing slashes from srcdir.
1440 # Double slashes in file names in object file debugging info
1441 # mess up M-x gdb in Emacs.
1443 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1445 for ac_var
in $ac_precious_vars; do
1446 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1447 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1448 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1449 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1453 # Report the --help message.
1455 if test "$ac_init_help" = "long"; then
1456 # Omit some internal or obsolete options to make the list less imposing.
1457 # This message is too long to be a string in the A/UX 3.1 sh.
1459 \`configure' configures this package to adapt to many kinds of systems.
1461 Usage: $0 [OPTION]... [VAR=VALUE]...
1463 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1464 VAR=VALUE. See below for descriptions of some of the useful variables.
1466 Defaults for the options are specified in brackets.
1469 -h, --help display this help and exit
1470 --help=short display options specific to this package
1471 --help=recursive display the short help of all the included packages
1472 -V, --version display version information and exit
1473 -q, --quiet, --silent do not print \`checking ...' messages
1474 --cache-file=FILE cache test results in FILE [disabled]
1475 -C, --config-cache alias for \`--cache-file=config.cache'
1476 -n, --no-create do not create output files
1477 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1479 Installation directories:
1480 --prefix=PREFIX install architecture-independent files in PREFIX
1481 [$ac_default_prefix]
1482 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1485 By default, \`make install' will install all the files in
1486 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1487 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1488 for instance \`--prefix=\$HOME'.
1490 For better control, use the options below.
1492 Fine tuning of the installation directories:
1493 --bindir=DIR user executables [EPREFIX/bin]
1494 --sbindir=DIR system admin executables [EPREFIX/sbin]
1495 --libexecdir=DIR program executables [EPREFIX/libexec]
1496 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1497 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1498 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1499 --libdir=DIR object code libraries [EPREFIX/lib]
1500 --includedir=DIR C header files [PREFIX/include]
1501 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1502 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1503 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1504 --infodir=DIR info documentation [DATAROOTDIR/info]
1505 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1506 --mandir=DIR man documentation [DATAROOTDIR/man]
1507 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1508 --htmldir=DIR html documentation [DOCDIR]
1509 --dvidir=DIR dvi documentation [DOCDIR]
1510 --pdfdir=DIR pdf documentation [DOCDIR]
1511 --psdir=DIR ps documentation [DOCDIR]
1517 --x-includes=DIR X include files are
in DIR
1518 --x-libraries=DIR X library files are
in DIR
1521 --build=BUILD configure
for building on BUILD
[guessed
]
1522 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1526 if test -n "$ac_init_help"; then
1531 --disable-option-checking ignore unrecognized
--enable/--with options
1532 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1533 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1534 --enable-build-type=TYPE
1535 Select the build
type. Available types are
:
1536 personal
, nightly
, snapshot
, milestone
, release. Do
1537 NOT use this option unless you know what you are
1538 doing
! (default
=personal
)
1539 --enable-debug=list Enable different types of debug. Commas or
1540 whitespaces can be used to separate the items
in the
1541 list. Available types of debug are
: all
, none
,
1542 messages
, stack
, mungwall
, modules
, symbols. If no
1543 list is provided
then "all" is assumed.
1545 --enable-distcc Use distcc as a front end to the compiler
1547 --enable-ccache Use ccache as a front end to the compiler
1549 --enable-target-variant=NAME
1550 Enable a specific target variant
(default
=none
)
1551 --enable-amigaos-compliance=VERSION
1552 Enforce userspace AmigaOS compliance to a specific
1553 KickStart version
(default
=none
).
1554 --disable-crosstools Do not build cross-compiler toolchain
1555 --enable-includes=dir Alternative system include directory
1556 --enable-palm-debug-hack
1557 Enable palm debug output hack
in palm native
1559 --enable-nesting-supervisor
1560 Enable nesting supervisor support
in unix
1562 --disable-mmu Disable MMU support
(default
=enabled
)
1563 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1564 --enable-x11-shm use X11 shared memory
(default
=auto
)
1565 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1566 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1567 --disable-sdltest Do not try to compile and run a
test SDL program
1568 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1571 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1572 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1573 --with-kernel-gcc-version=VERSION
1574 Use
host gcc-VERSION
for building AROS
1575 --with-gcc-version=VERSION
1576 Use
host gcc-VERSION
for building AROS
1577 --with-optimization=FLAGS
1578 Use optimization flags FLAGS
(default
=-O2).
1579 --with-paranoia=FLAGS CC flags to
enable paranoia
1580 --with-xcode=PATH Specify XCode path
for iOS targets
1581 (default
=/Developer
).
1582 --with-sdk-version=VERSION
1583 Use iOS SDK version VERSION
(default
=4.1).
1584 --with-sdk=PATH Specify Android SDK path
1585 (default
=$default_android_sdk).
1586 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1587 --with-sdk-version=LEVEL
1588 Use Android SDK
for API LEVEL
(default
=12).
1589 --with-ndk-version=LEVEL
1590 Use Android NDK
for API LEVEL
(default
=9).
1591 --with-kernel-toolchain-prefix=...
1592 Specify crosscompile toolchain prefix
for kernel
1594 --with-elf-toolchain-prefix=...
1595 Specify crosscompile toolchain prefix to wrap
for
1597 --with-aros-toolchain=PREFIX
1598 Specify prebuilt AROS toolchain
1599 --with-aros-toolchain-install=DIR
1600 Where to
install or search
for cross tools binaries
1601 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1602 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1603 --with-float=<spec
> Specify floating point ABI
1604 (default
=$gcc_default_float_abi).
1605 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1606 --with-portssources=DIR Where to download sourcecode
for external ports
1607 --with-bootloader=NAME Use a specific bootloader
1608 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1609 --with-theme=NAME Use a specific GUI Theme
1610 --with-resolution=XRESxYRESxDEPTH
1611 Default resolution of the initial WorkbenchScreen
1612 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1613 --with-x use the X Window System
1614 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1615 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1617 Some influential environment variables
:
1618 CC C compiler
command
1619 CFLAGS C compiler flags
1620 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1621 nonstandard directory
<lib dir
>
1622 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1623 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1624 you have headers
in a nonstandard directory
<include dir
>
1625 CXX C
++ compiler
command
1626 CXXFLAGS C
++ compiler flags
1628 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1630 Use these variables to override the choices made by
`configure' or to help
1631 it to find libraries and programs with nonstandard names/locations.
1633 Report bugs to the package provider.
1638 if test "$ac_init_help" = "recursive"; then
1639 # If there are subdirs, report their specific --help.
1640 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1641 test -d "$ac_dir" ||
1642 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1647 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1649 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1650 # A ".." for each directory in $ac_dir_suffix.
1651 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1652 case $ac_top_builddir_sub in
1653 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1654 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1657 ac_abs_top_builddir=$ac_pwd
1658 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1659 # for backward compatibility:
1660 ac_top_builddir=$ac_top_build_prefix
1663 .) # We are building in place.
1665 ac_top_srcdir=$ac_top_builddir_sub
1666 ac_abs_top_srcdir=$ac_pwd ;;
1667 [\\/]* | ?:[\\/]* ) # Absolute name.
1668 ac_srcdir=$srcdir$ac_dir_suffix;
1669 ac_top_srcdir=$srcdir
1670 ac_abs_top_srcdir=$srcdir ;;
1672 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1673 ac_top_srcdir=$ac_top_build_prefix$srcdir
1674 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1676 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1678 cd "$ac_dir" || { ac_status=$?; continue; }
1679 # Check for guested configure.
1680 if test -f "$ac_srcdir/configure.gnu"; then
1682 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1683 elif test -f "$ac_srcdir/configure"; then
1685 $SHELL "$ac_srcdir/configure" --help=recursive
1687 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1689 cd "$ac_pwd" || { ac_status=$?; break; }
1693 test -n "$ac_init_help" && exit $ac_status
1694 if $ac_init_version; then
1697 generated by GNU Autoconf 2.68
1699 Copyright (C) 2010 Free Software Foundation, Inc.
1700 This configure script is free software; the Free Software Foundation
1701 gives unlimited permission to copy, distribute and modify it.
1706 ## ------------------------ ##
1707 ## Autoconf initialization. ##
1708 ## ------------------------ ##
1710 # ac_fn_c_try_compile LINENO
1711 # --------------------------
1712 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1713 ac_fn_c_try_compile ()
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 rm -f conftest.$ac_objext
1717 if { { ac_try="$ac_compile"
1719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1720 *) ac_try_echo
=$ac_try;;
1722 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_compile") 2>conftest.err
1726 if test -s conftest.err
; then
1727 grep -v '^ *+' conftest.err
>conftest.er1
1728 cat conftest.er1
>&5
1729 mv -f conftest.er1 conftest.err
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; } && {
1733 test -z "$ac_c_werror_flag" ||
1734 test ! -s conftest.err
1735 } && test -s conftest.
$ac_objext; then :
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.
$ac_ext >&5
1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744 as_fn_set_status
$ac_retval
1746 } # ac_fn_c_try_compile
1748 # ac_fn_cxx_try_compile LINENO
1749 # ----------------------------
1750 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1751 ac_fn_cxx_try_compile
()
1753 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1754 rm -f conftest.
$ac_objext
1755 if { { ac_try
="$ac_compile"
1757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1758 *) ac_try_echo=$ac_try;;
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_compile") 2>conftest.err
1764 if test -s conftest.err; then
1765 grep -v '^ *+' conftest.err >conftest.er1
1766 cat conftest.er1 >&5
1767 mv -f conftest.er1 conftest.err
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } && {
1771 test -z "$ac_cxx_werror_flag" ||
1772 test ! -s conftest.err
1773 } && test -s conftest.$ac_objext; then :
1776 $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1782 as_fn_set_status $ac_retval
1784 } # ac_fn_cxx_try_compile
1786 # ac_fn_c_try_cpp LINENO
1787 # ----------------------
1788 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792 if { { ac_try="$ac_cpp conftest.$ac_ext"
1794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1795 *) ac_try_echo
=$ac_try;;
1797 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1801 if test -s conftest.err
; then
1802 grep -v '^ *+' conftest.err
>conftest.er1
1803 cat conftest.er1
>&5
1804 mv -f conftest.er1 conftest.err
1806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807 test $ac_status = 0; } > conftest.i
&& {
1808 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1809 test ! -s conftest.err
1813 $as_echo "$as_me: failed program was:" >&5
1814 sed 's/^/| /' conftest.
$ac_ext >&5
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1819 as_fn_set_status
$ac_retval
1823 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1824 # -------------------------------------------------------
1825 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1826 # the include files in INCLUDES and setting the cache variable VAR
1828 ac_fn_c_check_header_mongrel
()
1830 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1831 if eval \
${$3+:} false
; then :
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1833 $as_echo_n "checking for $2... " >&6; }
1834 if eval \
${$3+:} false
; then :
1835 $as_echo_n "(cached) " >&6
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1839 $as_echo "$ac_res" >&6; }
1841 # Is the header compilable?
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1843 $as_echo_n "checking $2 usability... " >&6; }
1844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1849 if ac_fn_c_try_compile
"$LINENO"; then :
1850 ac_header_compiler
=yes
1852 ac_header_compiler
=no
1854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1856 $as_echo "$ac_header_compiler" >&6; }
1858 # Is the header present?
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1860 $as_echo_n "checking $2 presence... " >&6; }
1861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1862 /* end confdefs.h. */
1865 if ac_fn_c_try_cpp
"$LINENO"; then :
1866 ac_header_preproc
=yes
1868 ac_header_preproc
=no
1870 rm -f conftest.err conftest.i conftest.
$ac_ext
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1872 $as_echo "$ac_header_preproc" >&6; }
1874 # So? What about this header?
1875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1878 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1880 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1884 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1886 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1888 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1890 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1892 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896 $as_echo_n "checking for $2... " >&6; }
1897 if eval \
${$3+:} false
; then :
1898 $as_echo_n "(cached) " >&6
1900 eval "$3=\$ac_header_compiler"
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1904 $as_echo "$ac_res" >&6; }
1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1908 } # ac_fn_c_check_header_mongrel
1910 # ac_fn_c_try_run LINENO
1911 # ----------------------
1912 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1913 # that executables *can* be run.
1916 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1917 if { { ac_try
="$ac_link"
1919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1920 *) ac_try_echo=$ac_try;;
1922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1923 $as_echo "$ac_try_echo"; } >&5
1924 (eval "$ac_link") 2>&5
1926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1927 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1928 { { case "(($ac_try" in
1929 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1930 *) ac_try_echo
=$ac_try;;
1932 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1933 $as_echo "$ac_try_echo"; } >&5
1934 (eval "$ac_try") 2>&5
1936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1937 test $ac_status = 0; }; }; then :
1940 $as_echo "$as_me: program exited with status $ac_status" >&5
1941 $as_echo "$as_me: failed program was:" >&5
1942 sed 's/^/| /' conftest.
$ac_ext >&5
1944 ac_retval
=$ac_status
1946 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1948 as_fn_set_status
$ac_retval
1952 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1953 # -------------------------------------------------------
1954 # Tests whether HEADER exists and can be compiled using the include files in
1955 # INCLUDES, setting the cache variable VAR accordingly.
1956 ac_fn_c_check_header_compile
()
1958 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1960 $as_echo_n "checking for $2... " >&6; }
1961 if eval \
${$3+:} false
; then :
1962 $as_echo_n "(cached) " >&6
1964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1965 /* end confdefs.h. */
1969 if ac_fn_c_try_compile
"$LINENO"; then :
1974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1978 $as_echo "$ac_res" >&6; }
1979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1981 } # ac_fn_c_check_header_compile
1983 # ac_fn_c_try_link LINENO
1984 # -----------------------
1985 # Try to link conftest.$ac_ext, and return whether this succeeded.
1988 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1989 rm -f conftest.
$ac_objext conftest
$ac_exeext
1990 if { { ac_try
="$ac_link"
1992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1993 *) ac_try_echo=$ac_try;;
1995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1996 $as_echo "$ac_try_echo"; } >&5
1997 (eval "$ac_link") 2>conftest.err
1999 if test -s conftest.err; then
2000 grep -v '^ *+' conftest.err >conftest.er1
2001 cat conftest.er1 >&5
2002 mv -f conftest.er1 conftest.err
2004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2005 test $ac_status = 0; } && {
2006 test -z "$ac_c_werror_flag" ||
2007 test ! -s conftest.err
2008 } && test -s conftest$ac_exeext && {
2009 test "$cross_compiling" = yes ||
2010 $as_test_x conftest$ac_exeext
2014 $as_echo "$as_me: failed program was:" >&5
2015 sed 's/^/| /' conftest.$ac_ext >&5
2019 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2020 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2021 # interfere with the next link command; also delete a directory that is
2022 # left behind by Apple's compiler. We do this before executing the actions.
2023 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2025 as_fn_set_status $ac_retval
2027 } # ac_fn_c_try_link
2029 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2030 # ----------------------------------------------------
2031 # Tries to find if the field MEMBER exists in type AGGR, after including
2032 # INCLUDES, setting cache variable VAR accordingly.
2033 ac_fn_c_check_member ()
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2037 $as_echo_n "checking for $2.$3... " >&6; }
2038 if eval \${$4+:} false; then :
2039 $as_echo_n "(cached) " >&6
2041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2042 /* end confdefs.h. */
2054 if ac_fn_c_try_compile "$LINENO"; then :
2057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2058 /* end confdefs.h. */
2064 if (sizeof ac_aggr.$3)
2070 if ac_fn_c_try_compile "$LINENO"; then :
2075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2081 $as_echo "$ac_res" >&6; }
2082 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2084 } # ac_fn_c_check_member
2086 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2087 # ---------------------------------------------
2088 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2090 ac_fn_c_check_decl ()
2092 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2093 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2094 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2096 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2097 if eval \${$3+:} false; then :
2098 $as_echo_n "(cached) " >&6
2100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2101 /* end confdefs.h. */
2106 #ifndef $as_decl_name
2108 (void) $as_decl_use;
2110 (void) $as_decl_name;
2118 if ac_fn_c_try_compile "$LINENO"; then :
2123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127 $as_echo "$ac_res" >&6; }
2128 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2130 } # ac_fn_c_check_decl
2132 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2133 # -------------------------------------------
2134 # Tests whether TYPE exists after having included INCLUDES, setting cache
2135 # variable VAR accordingly.
2136 ac_fn_c_check_type ()
2138 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2140 $as_echo_n "checking for $2... " >&6; }
2141 if eval \${$3+:} false; then :
2142 $as_echo_n "(cached) " >&6
2145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h. */
2157 if ac_fn_c_try_compile "$LINENO"; then :
2158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2159 /* end confdefs.h. */
2170 if ac_fn_c_try_compile "$LINENO"; then :
2175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2181 $as_echo "$ac_res" >&6; }
2182 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2184 } # ac_fn_c_check_type
2186 # ac_fn_c_check_func LINENO FUNC VAR
2187 # ----------------------------------
2188 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2189 ac_fn_c_check_func ()
2191 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2193 $as_echo_n "checking for $2... " >&6; }
2194 if eval \${$3+:} false; then :
2195 $as_echo_n "(cached) " >&6
2197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2198 /* end confdefs.h. */
2199 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2201 #define $2 innocuous_$2
2203 /* System header to define __stub macros and hopefully few prototypes,
2204 which can conflict with char $2 (); below.
2205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2206 <limits.h> exists even on freestanding compilers. */
2209 # include <limits.h>
2211 # include <assert.h>
2216 /* Override any GCC internal prototype to avoid an error.
2217 Use char because int might match the return type of a GCC
2218 builtin and then its argument prototype would still apply. */
2223 /* The GNU C library defines this for functions which it implements
2224 to always fail with ENOSYS. Some functions are actually named
2225 something starting with __ and the normal name is an alias. */
2226 #if defined __stub_$2 || defined __stub___$2
2238 if ac_fn_c_try_link "$LINENO"; then :
2243 rm -f core conftest.err conftest.$ac_objext \
2244 conftest$ac_exeext conftest.$ac_ext
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2248 $as_echo "$ac_res" >&6; }
2249 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2251 } # ac_fn_c_check_func
2252 cat >config.log <<_ACEOF
2253 This file contains any messages produced by compilers while
2254 running configure, to aid debugging if configure makes a mistake.
2256 It was created by $as_me, which was
2257 generated by GNU Autoconf 2.68. Invocation command line was
2269 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2270 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2271 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2272 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2273 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2275 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2276 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2278 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2279 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2280 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2281 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2282 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2283 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2284 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir=.
2293 $as_echo "PATH: $as_dir"
2309 # Keep a trace of the command line.
2310 # Strip out --no-create and --no-recursion so they do not pile up.
2311 # Strip out --silent because we don't want to record it for future runs.
2312 # Also quote any args containing shell meta-characters.
2313 # Make two passes to allow for proper duplicate-argument suppression.
2317 ac_must_keep_next=false
2323 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2324 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2325 | -silent | --silent | --silen | --sile | --sil)
2328 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2331 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2333 as_fn_append ac_configure_args1 " '$ac_arg'"
2334 if test $ac_must_keep_next = true; then
2335 ac_must_keep_next=false # Got value, back to normal.
2338 *=* | --config-cache | -C | -disable-* | --disable-* \
2339 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2340 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2341 | -with-* | --with-* | -without-* | --without-* | --x)
2342 case "$ac_configure_args0 " in
2343 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2346 -* ) ac_must_keep_next=true ;;
2349 as_fn_append ac_configure_args " '$ac_arg'"
2354 { ac_configure_args0=; unset ac_configure_args0;}
2355 { ac_configure_args1=; unset ac_configure_args1;}
2357 # When interrupted or exit'd, cleanup temporary files, and complete
2358 # config.log. We remove comments because anyway the quotes in there
2359 # would cause problems or look ugly.
2360 # WARNING: Use '\'' to represent an apostrophe within the trap.
2361 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2362 trap 'exit_status=$?
2363 # Save into config.log some information that might help in debugging.
2367 $as_echo "## ---------------- ##
2368 ## Cache variables. ##
2369 ## ---------------- ##"
2371 # The following way of writing the cache mishandles newlines in values,
2373 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2374 eval ac_val=\$$ac_var
2378 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2379 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2382 _ | IFS | as_nl) ;; #(
2383 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2384 *) { eval $ac_var=; unset $ac_var;} ;;
2389 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2390 *${as_nl}ac_space=\ *)
2392 "s/'\''/'\''\\\\'\'''\''/g;
2393 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2396 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2403 $as_echo "## ----------------- ##
2404 ## Output variables. ##
2405 ## ----------------- ##"
2407 for ac_var in $ac_subst_vars
2409 eval ac_val=\$$ac_var
2411 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2413 $as_echo "$ac_var='\''$ac_val'\''"
2417 if test -n "$ac_subst_files"; then
2418 $as_echo "## ------------------- ##
2419 ## File substitutions. ##
2420 ## ------------------- ##"
2422 for ac_var in $ac_subst_files
2424 eval ac_val=\$$ac_var
2426 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2428 $as_echo "$ac_var='\''$ac_val'\''"
2433 if test -s confdefs.h; then
2434 $as_echo "## ----------- ##
2441 test "$ac_signal" != 0 &&
2442 $as_echo "$as_me: caught signal $ac_signal"
2443 $as_echo "$as_me: exit $exit_status"
2445 rm -f core *.core core.conftest.* &&
2446 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2449 for ac_signal in 1 2 13 15; do
2450 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2454 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2455 rm -f -r conftest* confdefs.h
2457 $as_echo "/* confdefs.h */" > confdefs.h
2459 # Predefined preprocessor variables.
2461 cat >>confdefs.h <<_ACEOF
2462 #define PACKAGE_NAME "$PACKAGE_NAME"
2465 cat >>confdefs.h <<_ACEOF
2466 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2469 cat >>confdefs.h <<_ACEOF
2470 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2473 cat >>confdefs.h <<_ACEOF
2474 #define PACKAGE_STRING "$PACKAGE_STRING"
2477 cat >>confdefs.h <<_ACEOF
2478 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2481 cat >>confdefs.h <<_ACEOF
2482 #define PACKAGE_URL "$PACKAGE_URL"
2486 # Let the site file select an alternate cache file if it wants to.
2487 # Prefer an explicitly selected file to automatically selected ones.
2490 if test -n "$CONFIG_SITE"; then
2491 # We do not want a PATH search for config.site.
2492 case $CONFIG_SITE in #((
2493 -*) ac_site_file1=./$CONFIG_SITE;;
2494 */*) ac_site_file1=$CONFIG_SITE;;
2495 *) ac_site_file1=./$CONFIG_SITE;;
2497 elif test "x$prefix" != xNONE; then
2498 ac_site_file1=$prefix/share/config.site
2499 ac_site_file2=$prefix/etc/config.site
2501 ac_site_file1=$ac_default_prefix/share/config.site
2502 ac_site_file2=$ac_default_prefix/etc/config.site
2504 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2506 test "x$ac_site_file" = xNONE && continue
2507 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2509 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2510 sed 's/^/| /' "$ac_site_file" >&5
2512 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2514 as_fn_error $? "failed to load site
script $ac_site_file
2515 See \
`config.log' for more details" "$LINENO" 5; }
2519 if test -r "$cache_file"; then
2520 # Some versions of bash will fail to source /dev/null (special files
2521 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2522 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2524 $as_echo "$as_me: loading cache $cache_file" >&6;}
2526 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2527 *) . "./$cache_file";;
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2532 $as_echo "$as_me: creating cache $cache_file" >&6;}
2536 as_fn_append ac_header_list " stdlib.h"
2537 as_fn_append ac_header_list " unistd.h"
2538 as_fn_append ac_header_list " sys/param.h"
2539 # Check that the precious variables saved in the cache have kept the same
2541 ac_cache_corrupted=false
2542 for ac_var in $ac_precious_vars; do
2543 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2544 eval ac_new_set=\$ac_env_${ac_var}_set
2545 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2546 eval ac_new_val=\$ac_env_${ac_var}_value
2547 case $ac_old_set,$ac_new_set in
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2550 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2551 ac_cache_corrupted=: ;;
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2554 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2555 ac_cache_corrupted=: ;;
2558 if test "x$ac_old_val" != "x$ac_new_val"; then
2559 # differences in whitespace do not lead to failure.
2560 ac_old_val_w=`echo x
$ac_old_val`
2561 ac_new_val_w=`echo x
$ac_new_val`
2562 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2564 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2565 ac_cache_corrupted=:
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2568 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2569 eval $ac_var=\$ac_old_val
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2572 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2574 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2577 # Pass precious variables to config.status.
2578 if test "$ac_new_set" = set; then
2580 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2581 *) ac_arg=$ac_var=$ac_new_val ;;
2583 case " $ac_configure_args " in
2584 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2585 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2589 if $ac_cache_corrupted; then
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2593 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2594 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2596 ## -------------------- ##
2597 ## Main body of script. ##
2598 ## -------------------- ##
2601 ac_cpp='$CPP $CPPFLAGS'
2602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2609 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2610 if test -f "$ac_dir/install-sh"; then
2612 ac_install_sh="$ac_aux_dir/install-sh -c"
2614 elif test -f "$ac_dir/install.sh"; then
2616 ac_install_sh="$ac_aux_dir/install.sh -c"
2618 elif test -f "$ac_dir/shtool"; then
2620 ac_install_sh="$ac_aux_dir/shtool install -c"
2624 if test -z "$ac_aux_dir"; then
2625 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2628 # These three variables are undocumented and unsupported,
2629 # and are intended to be withdrawn in a future Autoconf release.
2630 # They can cause serious problems if a builder's source tree is in a directory
2631 # whose full name contains unusual characters.
2632 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2633 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2634 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2638 # Check what host we are running on.
2639 # If a target is not suggested, we use this one.
2640 # Note that what we call a target, Autoconf calls a host.
2641 # Make sure we can run config.sub.
2642 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2643 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2646 $as_echo_n "checking build system type... " >&6; }
2647 if ${ac_cv_build+:} false; then :
2648 $as_echo_n "(cached) " >&6
2650 ac_build_alias=$build_alias
2651 test "x$ac_build_alias" = x &&
2652 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2653 test "x$ac_build_alias" = x &&
2654 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2655 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2656 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2660 $as_echo "$ac_cv_build" >&6; }
2661 case $ac_cv_build in
2663 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2666 ac_save_IFS=$IFS; IFS='-'
2672 # Remember, the first character of IFS is used to create $*,
2673 # except with old shells:
2676 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2680 $as_echo_n "checking host system type... " >&6; }
2681 if ${ac_cv_host+:} false; then :
2682 $as_echo_n "(cached) " >&6
2684 if test "x$host_alias" = x; then
2685 ac_cv_host=$ac_cv_build
2687 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2688 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2693 $as_echo "$ac_cv_host" >&6; }
2696 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2699 ac_save_IFS=$IFS; IFS='-'
2705 # Remember, the first character of IFS is used to create $*,
2706 # except with old shells:
2709 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2713 # The AROS target is slightly different to the normal GNU style
2714 # format. We don't have the middle part, and we reverse the order
2715 # of the $(CPU) and $(OS) bits.
2717 # Don't strip the version of the target yet, it might be
2718 # useful on some systems.
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2721 $as_echo_n "checking for AROS style target... " >&6; }
2723 if test "$target" = "NONE" ; then
2724 target=$host_os-$host_cpu
2726 if test "$target" = "" ; then
2727 target=$host_os-$host_cpu
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2731 $as_echo "$target" >&6; }
2733 if test "$host_os" = "mingw32" ; then
2737 # Don't know where else to put this...
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2739 $as_echo_n "checking building AROS in... " >&6; }
2740 AROS_BUILDDIR=`${PWDCMD-pwd}`
2741 AROS_BUILDDIR_UNIX=${PWD}
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2743 $as_echo "$AROS_BUILDDIR" >&6; }
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2746 $as_echo_n "checking AROS source in... " >&6; }
2747 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2750 $as_echo "$SRCDIR" >&6; }
2752 # Parse the target field into something useful.
2754 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2755 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2758 # Some debug output, to be removed again.
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2760 $as_echo_n "checking for target system (debug output)... " >&6; }
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2762 $as_echo "$target_os" >&6; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2764 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2766 $as_echo "$target_cpu" >&6; }
2768 aros_default_wbwidth=800
2769 aros_default_wbheight=600
2770 aros_default_wbdepth=4
2773 # The first step is to find the host binaries.
2774 # Check for a compiler.
2776 ac_cpp='$CPP $CPPFLAGS'
2777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2780 if test -n "$ac_tool_prefix"; then
2781 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2782 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2784 $as_echo_n "checking for $ac_word... " >&6; }
2785 if ${ac_cv_prog_CC+:} false; then :
2786 $as_echo_n "(cached) " >&6
2788 if test -n "$CC"; then
2789 ac_cv_prog_CC="$CC" # Let the user override the test.
2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2795 test -z "$as_dir" && as_dir=.
2796 for ac_exec_ext in '' $ac_executable_extensions; do
2797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2798 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 if test -n "$CC"; then
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2811 $as_echo "$CC" >&6; }
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2814 $as_echo "no" >&6; }
2819 if test -z "$ac_cv_prog_CC"; then
2821 # Extract the first word of "gcc", so it can be a program name with args.
2822 set dummy gcc; ac_word=$2
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2824 $as_echo_n "checking for $ac_word... " >&6; }
2825 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2826 $as_echo_n "(cached) " >&6
2828 if test -n "$ac_ct_CC"; then
2829 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2835 test -z "$as_dir" && as_dir=.
2836 for ac_exec_ext in '' $ac_executable_extensions; do
2837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2838 ac_cv_prog_ac_ct_CC="gcc"
2839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2848 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2849 if test -n "$ac_ct_CC"; then
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2851 $as_echo "$ac_ct_CC" >&6; }
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 $as_echo "no" >&6; }
2857 if test "x$ac_ct_CC" = x; then
2860 case $cross_compiling:$ac_tool_warned in
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2864 ac_tool_warned=yes ;;
2872 if test -z "$CC"; then
2873 if test -n "$ac_tool_prefix"; then
2874 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2875 set dummy ${ac_tool_prefix}cc; ac_word=$2
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2877 $as_echo_n "checking for $ac_word... " >&6; }
2878 if ${ac_cv_prog_CC+:} false; then :
2879 $as_echo_n "(cached) " >&6
2881 if test -n "$CC"; then
2882 ac_cv_prog_CC="$CC" # Let the user override the test.
2884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2888 test -z "$as_dir" && as_dir=.
2889 for ac_exec_ext in '' $ac_executable_extensions; do
2890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2891 ac_cv_prog_CC="${ac_tool_prefix}cc"
2892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 if test -n "$CC"; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2904 $as_echo "$CC" >&6; }
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2907 $as_echo "no" >&6; }
2913 if test -z "$CC"; then
2914 # Extract the first word of "cc", so it can be a program name with args.
2915 set dummy cc; ac_word=$2
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2917 $as_echo_n "checking for $ac_word... " >&6; }
2918 if ${ac_cv_prog_CC+:} false; then :
2919 $as_echo_n "(cached) " >&6
2921 if test -n "$CC"; then
2922 ac_cv_prog_CC="$CC" # Let the user override the test.
2925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929 test -z "$as_dir" && as_dir=.
2930 for ac_exec_ext in '' $ac_executable_extensions; do
2931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2932 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2933 ac_prog_rejected=yes
2937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2944 if test $ac_prog_rejected = yes; then
2945 # We found a bogon in the path, so make sure we never use it.
2946 set dummy $ac_cv_prog_CC
2948 if test $# != 0; then
2949 # We chose a different compiler from the bogus one.
2950 # However, it has the same basename, so the bogon will be chosen
2951 # first if we set CC to just the basename; use the full file name.
2953 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2959 if test -n "$CC"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2961 $as_echo "$CC" >&6; }
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964 $as_echo "no" >&6; }
2969 if test -z "$CC"; then
2970 if test -n "$ac_tool_prefix"; then
2971 for ac_prog in cl.exe
2973 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2974 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2976 $as_echo_n "checking for $ac_word... " >&6; }
2977 if ${ac_cv_prog_CC+:} false; then :
2978 $as_echo_n "(cached) " >&6
2980 if test -n "$CC"; then
2981 ac_cv_prog_CC="$CC" # Let the user override the test.
2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir=.
2988 for ac_exec_ext in '' $ac_executable_extensions; do
2989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2990 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3001 if test -n "$CC"; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3003 $as_echo "$CC" >&6; }
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3006 $as_echo "no" >&6; }
3010 test -n "$CC" && break
3013 if test -z "$CC"; then
3015 for ac_prog in cl.exe
3017 # Extract the first word of "$ac_prog", so it can be a program name with args.
3018 set dummy $ac_prog; ac_word=$2
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020 $as_echo_n "checking for $ac_word... " >&6; }
3021 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3022 $as_echo_n "(cached) " >&6
3024 if test -n "$ac_ct_CC"; then
3025 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031 test -z "$as_dir" && as_dir=.
3032 for ac_exec_ext in '' $ac_executable_extensions; do
3033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3034 ac_cv_prog_ac_ct_CC="$ac_prog"
3035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3045 if test -n "$ac_ct_CC"; then
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3047 $as_echo "$ac_ct_CC" >&6; }
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050 $as_echo "no" >&6; }
3054 test -n "$ac_ct_CC" && break
3057 if test "x$ac_ct_CC" = x; then
3060 case $cross_compiling:$ac_tool_warned in
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3064 ac_tool_warned=yes ;;
3073 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3075 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3076 See \
`config.log' for more details" "$LINENO" 5; }
3078 # Provide some information about the compiler.
3079 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3082 for ac_option in --version -v -V -qversion; do
3083 { { ac_try="$ac_compiler $ac_option >&5"
3085 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3086 *) ac_try_echo
=$ac_try;;
3088 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3089 $as_echo "$ac_try_echo"; } >&5
3090 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3092 if test -s conftest.err
; then
3094 ... rest of stderr output deleted ...
3095 10q' conftest.err
>conftest.er1
3096 cat conftest.er1
>&5
3098 rm -f conftest.er1 conftest.err
3099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3100 test $ac_status = 0; }
3103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3104 /* end confdefs.h. */
3114 ac_clean_files_save
=$ac_clean_files
3115 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3116 # Try to create an executable without -o first, disregard a.out.
3117 # It will help us diagnose broken compilers, and finding out an intuition
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3120 $as_echo_n "checking whether the C compiler works... " >&6; }
3121 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3123 # The possible output files:
3124 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3127 for ac_file
in $ac_files
3130 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3131 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3136 if { { ac_try
="$ac_link_default"
3138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3142 $as_echo "$ac_try_echo"; } >&5
3143 (eval "$ac_link_default") 2>&5
3145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3146 test $ac_status = 0; }; then :
3147 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3148 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3149 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3150 # so that the user can short-circuit this test for compilers unknown to
3152 for ac_file in $ac_files ''
3154 test -f "$ac_file" || continue
3156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3159 # We found the default executable, but exeext='' is most
3163 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3165 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3167 # We set ac_cv_exeext here because the later test for it is not
3168 # safe: cross compilers may not add the suffix if given an `-o'
3169 # argument, so we may need to know it at that point already.
3170 # Even if this section looks crufty: it has the advantage of
3177 test "$ac_cv_exeext" = no && ac_cv_exeext=
3182 if test -z "$ac_file"; then :
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3185 $as_echo "$as_me: failed program was:" >&5
3186 sed 's
/^
/|
/' conftest.$ac_ext >&5
3188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3189 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3190 as_fn_error 77 "C compiler cannot create executables
3191 See \`config.log
' for more details" "$LINENO" 5; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3194 $as_echo "yes" >&6; }
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3197 $as_echo_n "checking for C compiler default output file name... " >&6; }
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3199 $as_echo "$ac_file" >&6; }
3200 ac_exeext=$ac_cv_exeext
3202 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3203 ac_clean_files=$ac_clean_files_save
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3205 $as_echo_n "checking for suffix of executables... " >&6; }
3206 if { { ac_try="$ac_link"
3208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3209 *) ac_try_echo=$ac_try;;
3211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3212 $as_echo "$ac_try_echo"; } >&5
3213 (eval "$ac_link") 2>&5
3215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3216 test $ac_status = 0; }; then :
3217 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3218 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3219 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3221 for ac_file
in conftest.exe conftest conftest.
*; do
3222 test -f "$ac_file" ||
continue
3224 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3225 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3233 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3234 See \`config.log' for more details" "$LINENO" 5; }
3236 rm -f conftest conftest
$ac_cv_exeext
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3238 $as_echo "$ac_cv_exeext" >&6; }
3240 rm -f conftest.
$ac_ext
3241 EXEEXT
=$ac_cv_exeext
3243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h. */
3249 FILE *f = fopen ("conftest.out", "w");
3250 return ferror (f) || fclose (f) != 0;
3256 ac_clean_files
="$ac_clean_files conftest.out"
3257 # Check that the compiler produces executables we can run. If not, either
3258 # the compiler is broken, or we cross compile.
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3260 $as_echo_n "checking whether we are cross compiling... " >&6; }
3261 if test "$cross_compiling" != yes; then
3262 { { ac_try
="$ac_link"
3264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3265 *) ac_try_echo=$ac_try;;
3267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3268 $as_echo "$ac_try_echo"; } >&5
3269 (eval "$ac_link") 2>&5
3271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3272 test $ac_status = 0; }
3273 if { ac_try='./conftest$ac_cv_exeext'
3274 { { case "(($ac_try" in
3275 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3276 *) ac_try_echo
=$ac_try;;
3278 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3279 $as_echo "$ac_try_echo"; } >&5
3280 (eval "$ac_try") 2>&5
3282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3283 test $ac_status = 0; }; }; then
3286 if test "$cross_compiling" = maybe
; then
3289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3291 as_fn_error $?
"cannot run C compiled programs.
3292 If you meant to cross compile, use \`--host'.
3293 See \`config.log' for more details" "$LINENO" 5; }
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3298 $as_echo "$cross_compiling" >&6; }
3300 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3301 ac_clean_files
=$ac_clean_files_save
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3303 $as_echo_n "checking for suffix of object files... " >&6; }
3304 if ${ac_cv_objext+:} false
; then :
3305 $as_echo_n "(cached) " >&6
3307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3318 rm -f conftest.o conftest.obj
3319 if { { ac_try
="$ac_compile"
3321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3325 $as_echo "$ac_try_echo"; } >&5
3326 (eval "$ac_compile") 2>&5
3328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3329 test $ac_status = 0; }; then :
3330 for ac_file in conftest.o conftest.obj conftest.*; do
3331 test -f "$ac_file" || continue;
3333 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3334 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3339 $as_echo "$as_me: failed program was:" >&5
3340 sed 's/^/| /' conftest.$ac_ext >&5
3342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3344 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3345 See \
`config.log' for more details" "$LINENO" 5; }
3347 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3350 $as_echo "$ac_cv_objext" >&6; }
3351 OBJEXT=$ac_cv_objext
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3354 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3355 if ${ac_cv_c_compiler_gnu+:} false; then :
3356 $as_echo_n "(cached) " >&6
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3372 if ac_fn_c_try_compile "$LINENO"; then :
3377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3382 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3383 if test $ac_compiler_gnu = yes; then
3388 ac_test_CFLAGS=${CFLAGS+set}
3389 ac_save_CFLAGS=$CFLAGS
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3391 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3392 if ${ac_cv_prog_cc_g+:} false; then :
3393 $as_echo_n "(cached) " >&6
3395 ac_save_c_werror_flag=$ac_c_werror_flag
3396 ac_c_werror_flag=yes
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3410 if ac_fn_c_try_compile "$LINENO"; then :
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3425 if ac_fn_c_try_compile "$LINENO"; then :
3428 ac_c_werror_flag=$ac_save_c_werror_flag
3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3441 if ac_fn_c_try_compile "$LINENO"; then :
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3449 ac_c_werror_flag=$ac_save_c_werror_flag
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3452 $as_echo "$ac_cv_prog_cc_g" >&6; }
3453 if test "$ac_test_CFLAGS" = set; then
3454 CFLAGS=$ac_save_CFLAGS
3455 elif test $ac_cv_prog_cc_g = yes; then
3456 if test "$GCC" = yes; then
3462 if test "$GCC" = yes; then
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3469 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3470 if ${ac_cv_prog_cc_c89+:} false; then :
3471 $as_echo_n "(cached) " >&6
3473 ac_cv_prog_cc_c89=no
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 /* end confdefs.h. */
3479 #include <sys/types.h>
3480 #include <sys/stat.h>
3481 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3482 struct buf { int x; };
3483 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3484 static char *e (p, i)
3490 static char *f (char * (*g) (char **, int), char **p, ...)
3495 s = g (p, va_arg (v,int));
3500 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3501 function prototypes and stuff, but not '\xHH' hex character constants.
3502 These don't provoke an error unfortunately, instead are silently treated
3503 as 'x'. The following induces an error, until -std is added to get
3504 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3505 array size at least. It's necessary to write '\x00'==0 to get something
3506 that's true only with -std. */
3507 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3509 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3510 inside strings and character constants. */
3512 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3514 int test (int i, double x);
3515 struct s1 {int (*f) (int a);};
3516 struct s2 {int (*f) (double a);};
3517 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3523 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3528 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3529 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3531 CC="$ac_save_CC $ac_arg"
3532 if ac_fn_c_try_compile "$LINENO"; then :
3533 ac_cv_prog_cc_c89=$ac_arg
3535 rm -f core conftest.err conftest.$ac_objext
3536 test "x$ac_cv_prog_cc_c89" != "xno" && break
3538 rm -f conftest.$ac_ext
3543 case "x$ac_cv_prog_cc_c89" in
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3546 $as_echo "none needed" >&6; } ;;
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3549 $as_echo "unsupported" >&6; } ;;
3551 CC="$CC $ac_cv_prog_cc_c89"
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3553 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3555 if test "x$ac_cv_prog_cc_c89" != xno; then :
3560 ac_cpp='$CPP $CPPFLAGS'
3561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3565 case $ac_cv_prog_cc_stdc in #(
3567 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3570 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3571 if ${ac_cv_prog_cc_c99+:} false; then :
3572 $as_echo_n "(cached) " >&6
3574 ac_cv_prog_cc_c99=no
3576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3577 /* end confdefs.h. */
3579 #include <stdbool.h>
3584 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3585 #define debug(...) fprintf (stderr, __VA_ARGS__)
3586 #define showlist(...) puts (#__VA_ARGS__)
3587 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3589 test_varargs_macros (void)
3594 debug ("X = %d\n", x);
3595 showlist (The first, second, and third items.);
3596 report (x>y, "x is %d but y is %d", x, y);
3599 // Check long long types.
3600 #define BIG64 18446744073709551615ull
3601 #define BIG32 4294967295ul
3602 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3604 your preprocessor is broken;
3608 your preprocessor is broken;
3610 static long long int bignum = -9223372036854775807LL;
3611 static unsigned long long int ubignum = BIG64;
3613 struct incomplete_array
3621 const wchar_t *name;
3625 typedef const char *ccp;
3628 test_restrict (ccp restrict text)
3630 // See if C++-style comments work.
3631 // Iterate through items via the restricted pointer.
3632 // Also check for declarations in for loops.
3633 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3638 // Check varargs and va_copy.
3640 test_varargs (const char *format, ...)
3643 va_start (args, format);
3645 va_copy (args_copy, args);
3656 str = va_arg (args_copy, const char *);
3659 number = va_arg (args_copy, int);
3662 fnumber = va_arg (args_copy, double);
3677 _Bool success = false;
3680 if (test_restrict ("String literal") == 0)
3682 char *restrict newvar = "Another string";
3685 test_varargs ("s, d' f .", "string", 65, 34.234);
3686 test_varargs_macros ();
3688 // Check flexible array members.
3689 struct incomplete_array *ia =
3690 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3692 for (int i = 0; i < ia->datasize; ++i)
3693 ia->data[i] = i * 1.234;
3695 // Check named initializers.
3696 struct named_init ni = {
3698 .name = L"Test wide string",
3699 .average = 543.34343,
3704 int dynamic_array[ni.number];
3705 dynamic_array[ni.number - 1] = 543;
3707 // work around unused variable warnings
3708 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3709 || dynamic_array[ni.number - 1] != 543);
3715 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3717 CC="$ac_save_CC $ac_arg"
3718 if ac_fn_c_try_compile "$LINENO"; then :
3719 ac_cv_prog_cc_c99=$ac_arg
3721 rm -f core conftest.err conftest.$ac_objext
3722 test "x$ac_cv_prog_cc_c99" != "xno" && break
3724 rm -f conftest.$ac_ext
3729 case "x$ac_cv_prog_cc_c99" in
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3732 $as_echo "none needed" >&6; } ;;
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3735 $as_echo "unsupported" >&6; } ;;
3737 CC="$CC $ac_cv_prog_cc_c99"
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3739 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3741 if test "x$ac_cv_prog_cc_c99" != xno; then :
3742 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3745 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3746 if ${ac_cv_prog_cc_c89+:} false; then :
3747 $as_echo_n "(cached) " >&6
3749 ac_cv_prog_cc_c89=no
3751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752 /* end confdefs.h. */
3755 #include <sys/types.h>
3756 #include <sys/stat.h>
3757 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3758 struct buf { int x; };
3759 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3760 static char *e (p, i)
3766 static char *f (char * (*g) (char **, int), char **p, ...)
3771 s = g (p, va_arg (v,int));
3776 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3777 function prototypes and stuff, but not '\xHH' hex character constants.
3778 These don't provoke an error unfortunately, instead are silently treated
3779 as 'x'. The following induces an error, until -std is added to get
3780 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3781 array size at least. It's necessary to write '\x00'==0 to get something
3782 that's true only with -std. */
3783 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3785 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3786 inside strings and character constants. */
3788 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3790 int test (int i, double x);
3791 struct s1 {int (*f) (int a);};
3792 struct s2 {int (*f) (double a);};
3793 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3799 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3804 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3805 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3807 CC="$ac_save_CC $ac_arg"
3808 if ac_fn_c_try_compile "$LINENO"; then :
3809 ac_cv_prog_cc_c89=$ac_arg
3811 rm -f core conftest.err conftest.$ac_objext
3812 test "x$ac_cv_prog_cc_c89" != "xno" && break
3814 rm -f conftest.$ac_ext
3819 case "x$ac_cv_prog_cc_c89" in
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3822 $as_echo "none needed" >&6; } ;;
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3825 $as_echo "unsupported" >&6; } ;;
3827 CC="$CC $ac_cv_prog_cc_c89"
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3829 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3831 if test "x$ac_cv_prog_cc_c89" != xno; then :
3832 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3834 ac_cv_prog_cc_stdc=no
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3841 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3842 if ${ac_cv_prog_cc_stdc+:} false; then :
3843 $as_echo_n "(cached) " >&6
3846 case $ac_cv_prog_cc_stdc in #(
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3849 $as_echo "unsupported" >&6; } ;; #(
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3852 $as_echo "none needed" >&6; } ;; #(
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3855 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3859 ac_cpp='$CXXCPP $CPPFLAGS'
3860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3863 if test -z "$CXX"; then
3864 if test -n "$CCC"; then
3867 if test -n "$ac_tool_prefix"; then
3868 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3870 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3871 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if ${ac_cv_prog_CXX+:} false; then :
3875 $as_echo_n "(cached) " >&6
3877 if test -n "$CXX"; then
3878 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3884 test -z "$as_dir" && as_dir=.
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3887 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3898 if test -n "$CXX"; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3900 $as_echo "$CXX" >&6; }
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903 $as_echo "no" >&6; }
3907 test -n "$CXX" && break
3910 if test -z "$CXX"; then
3912 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3914 # Extract the first word of "$ac_prog", so it can be a program name with args.
3915 set dummy $ac_prog; ac_word=$2
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3917 $as_echo_n "checking for $ac_word... " >&6; }
3918 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3919 $as_echo_n "(cached) " >&6
3921 if test -n "$ac_ct_CXX"; then
3922 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928 test -z "$as_dir" && as_dir=.
3929 for ac_exec_ext in '' $ac_executable_extensions; do
3930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3931 ac_cv_prog_ac_ct_CXX="$ac_prog"
3932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3941 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3942 if test -n "$ac_ct_CXX"; then
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3944 $as_echo "$ac_ct_CXX" >&6; }
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3947 $as_echo "no" >&6; }
3951 test -n "$ac_ct_CXX" && break
3954 if test "x$ac_ct_CXX" = x; then
3957 case $cross_compiling:$ac_tool_warned in
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3961 ac_tool_warned=yes ;;
3969 # Provide some information about the compiler.
3970 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3973 for ac_option in --version -v -V -qversion; do
3974 { { ac_try="$ac_compiler $ac_option >&5"
3976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3977 *) ac_try_echo
=$ac_try;;
3979 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3980 $as_echo "$ac_try_echo"; } >&5
3981 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3983 if test -s conftest.err
; then
3985 ... rest of stderr output deleted ...
3986 10q' conftest.err
>conftest.er1
3987 cat conftest.er1
>&5
3989 rm -f conftest.er1 conftest.err
3990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3991 test $ac_status = 0; }
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3995 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3996 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3997 $as_echo_n "(cached) " >&6
3999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4000 /* end confdefs.h. */
4013 if ac_fn_cxx_try_compile
"$LINENO"; then :
4018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4019 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4023 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4024 if test $ac_compiler_gnu = yes; then
4029 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4030 ac_save_CXXFLAGS
=$CXXFLAGS
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4032 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4033 if ${ac_cv_prog_cxx_g+:} false
; then :
4034 $as_echo_n "(cached) " >&6
4036 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4037 ac_cxx_werror_flag
=yes
4040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h. */
4051 if ac_fn_cxx_try_compile
"$LINENO"; then :
4052 ac_cv_prog_cxx_g
=yes
4055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h. */
4066 if ac_fn_cxx_try_compile
"$LINENO"; then :
4069 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h. */
4082 if ac_fn_cxx_try_compile
"$LINENO"; then :
4083 ac_cv_prog_cxx_g
=yes
4085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4090 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4093 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4094 if test "$ac_test_CXXFLAGS" = set; then
4095 CXXFLAGS
=$ac_save_CXXFLAGS
4096 elif test $ac_cv_prog_cxx_g = yes; then
4097 if test "$GXX" = yes; then
4103 if test "$GXX" = yes; then
4110 ac_cpp
='$CPP $CPPFLAGS'
4111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4116 ac_cpp
='$CPP $CPPFLAGS'
4117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4121 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4122 # On Suns, sometimes $CPP names a directory.
4123 if test -n "$CPP" && test -d "$CPP"; then
4126 if test -z "$CPP"; then
4127 if ${ac_cv_prog_CPP+:} false
; then :
4128 $as_echo_n "(cached) " >&6
4130 # Double quotes because CPP needs to be expanded
4131 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4134 for ac_c_preproc_warn_flag
in '' yes
4136 # Use a header file that comes with gcc, so configuring glibc
4137 # with a fresh cross-compiler works.
4138 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4139 # <limits.h> exists even on freestanding compilers.
4140 # On the NeXT, cc -E runs the code through the compiler's parser,
4141 # not just through cpp. "Syntax error" is here to catch this case.
4142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4143 /* end confdefs.h. */
4145 # include <limits.h>
4147 # include <assert.h>
4151 if ac_fn_c_try_cpp
"$LINENO"; then :
4154 # Broken: fails on valid input.
4157 rm -f conftest.err conftest.i conftest.
$ac_ext
4159 # OK, works on sane cases. Now check whether nonexistent headers
4160 # can be detected and how.
4161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h. */
4163 #include <ac_nonexistent.h>
4165 if ac_fn_c_try_cpp
"$LINENO"; then :
4166 # Broken: success on invalid input.
4169 # Passes both tests.
4173 rm -f conftest.err conftest.i conftest.
$ac_ext
4176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4177 rm -f conftest.i conftest.err conftest.
$ac_ext
4178 if $ac_preproc_ok; then :
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4191 $as_echo "$CPP" >&6; }
4193 for ac_c_preproc_warn_flag
in '' yes
4195 # Use a header file that comes with gcc, so configuring glibc
4196 # with a fresh cross-compiler works.
4197 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4198 # <limits.h> exists even on freestanding compilers.
4199 # On the NeXT, cc -E runs the code through the compiler's parser,
4200 # not just through cpp. "Syntax error" is here to catch this case.
4201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4204 # include <limits.h>
4206 # include <assert.h>
4210 if ac_fn_c_try_cpp
"$LINENO"; then :
4213 # Broken: fails on valid input.
4216 rm -f conftest.err conftest.i conftest.
$ac_ext
4218 # OK, works on sane cases. Now check whether nonexistent headers
4219 # can be detected and how.
4220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4222 #include <ac_nonexistent.h>
4224 if ac_fn_c_try_cpp
"$LINENO"; then :
4225 # Broken: success on invalid input.
4228 # Passes both tests.
4232 rm -f conftest.err conftest.i conftest.
$ac_ext
4235 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4236 rm -f conftest.i conftest.err conftest.
$ac_ext
4237 if $ac_preproc_ok; then :
4240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4242 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4243 See \`config.log' for more details" "$LINENO" 5; }
4247 ac_cpp
='$CPP $CPPFLAGS'
4248 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4249 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4250 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4253 # Check for a compatible awk
4254 for ac_prog
in gawk nawk
4256 # Extract the first word of "$ac_prog", so it can be a program name with args.
4257 set dummy
$ac_prog; ac_word
=$2
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259 $as_echo_n "checking for $ac_word... " >&6; }
4260 if ${ac_cv_prog_AWK+:} false
; then :
4261 $as_echo_n "(cached) " >&6
4263 if test -n "$AWK"; then
4264 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4270 test -z "$as_dir" && as_dir
=.
4271 for ac_exec_ext
in '' $ac_executable_extensions; do
4272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4273 ac_cv_prog_AWK
="$ac_prog"
4274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4284 if test -n "$AWK"; then
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4286 $as_echo "$AWK" >&6; }
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4289 $as_echo "no" >&6; }
4293 test -n "$AWK" && break
4296 if test "$AWK" = ""; then
4297 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4299 # Extract the first word of "mmake", so it can be a program name with args.
4300 set dummy mmake
; ac_word
=$2
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4302 $as_echo_n "checking for $ac_word... " >&6; }
4303 if ${ac_cv_prog_MMAKE+:} false
; then :
4304 $as_echo_n "(cached) " >&6
4306 if test -n "$MMAKE"; then
4307 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4313 test -z "$as_dir" && as_dir
=.
4314 for ac_exec_ext
in '' $ac_executable_extensions; do
4315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4316 ac_cv_prog_MMAKE
="mmake "
4317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4326 MMAKE
=$ac_cv_prog_MMAKE
4327 if test -n "$MMAKE"; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4329 $as_echo "$MMAKE" >&6; }
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4337 # Perform some default variable assignments. Note all of these will be
4338 # Regenerated from the script, so there is no need to cache them.
4340 aros_host_cpp
="$CPP"
4342 aros_host_cxx
="$CXX"
4343 if test "$GCC" = "yes"; then
4344 aros_gcc_ld
=`$CC -print-prog-name=ld`
4345 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4346 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if ${ac_cv_path_aros_host_ld+:} false
; then :
4350 $as_echo_n "(cached) " >&6
4352 case $aros_host_ld in
4354 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4358 for as_dir
in `dirname $aros_gcc_ld`
4361 test -z "$as_dir" && as_dir
=.
4362 for ac_exec_ext
in '' $ac_executable_extensions; do
4363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4364 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4375 aros_host_ld
=$ac_cv_path_aros_host_ld
4376 if test -n "$aros_host_ld"; then
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4378 $as_echo "$aros_host_ld" >&6; }
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4381 $as_echo "no" >&6; }
4386 if test "$aros_host_ld" = ""; then
4387 # Extract the first word of "ld", so it can be a program name with args.
4388 set dummy ld
; ac_word
=$2
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4390 $as_echo_n "checking for $ac_word... " >&6; }
4391 if ${ac_cv_path_aros_host_ld+:} false
; then :
4392 $as_echo_n "(cached) " >&6
4394 case $aros_host_ld in
4396 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4403 test -z "$as_dir" && as_dir
=.
4404 for ac_exec_ext
in '' $ac_executable_extensions; do
4405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4406 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 aros_host_ld
=$ac_cv_path_aros_host_ld
4418 if test -n "$aros_host_ld"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4420 $as_echo "$aros_host_ld" >&6; }
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4428 if test "$aros_host_ld" = ""; then
4429 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4431 aros_host_make
="make"
4432 aros_host_cflags
=$CFLAGS
4433 aros_host_cxxflags
=$CXXFLAGS
4434 aros_host_ldflags
=$LDFLAGS
4435 aros_host_debug
="-g -O0"
4436 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4437 aros_host_mkargs
="--no-print-directory"
4438 aros_host_exe_suffix
="$EXEEXT"
4439 aros_host_lib_suffix
=""
4441 # Ignore all compliance, AROS ROMs = 0
4442 # KickStart v1.0 = 30
4443 # KickStart v1.3 = 34
4444 # KickStart v2.0 = 37
4445 # KickStart v3.0 = 39
4446 # KickStart v3.1 = 40
4448 aros_amigaos_compliance
=0
4450 for ac_prog
in aclocal aclocal19 aclocal-1.9
4452 # Extract the first word of "$ac_prog", so it can be a program name with args.
4453 set dummy
$ac_prog; ac_word
=$2
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4455 $as_echo_n "checking for $ac_word... " >&6; }
4456 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4457 $as_echo_n "(cached) " >&6
4459 if test -n "$aros_host_aclocal"; then
4460 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4466 test -z "$as_dir" && as_dir
=.
4467 for ac_exec_ext
in '' $ac_executable_extensions; do
4468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4469 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4479 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4480 if test -n "$aros_host_aclocal"; then
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4482 $as_echo "$aros_host_aclocal" >&6; }
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4485 $as_echo "no" >&6; }
4489 test -n "$aros_host_aclocal" && break
4492 for ac_prog
in autoconf autoconf259 autoconf253
4494 # Extract the first word of "$ac_prog", so it can be a program name with args.
4495 set dummy
$ac_prog; ac_word
=$2
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4497 $as_echo_n "checking for $ac_word... " >&6; }
4498 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4499 $as_echo_n "(cached) " >&6
4501 if test -n "$aros_host_autoconf"; then
4502 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4508 test -z "$as_dir" && as_dir
=.
4509 for ac_exec_ext
in '' $ac_executable_extensions; do
4510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4511 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4521 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4522 if test -n "$aros_host_autoconf"; then
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4524 $as_echo "$aros_host_autoconf" >&6; }
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4527 $as_echo "no" >&6; }
4531 test -n "$aros_host_autoconf" && break
4534 for ac_prog
in autoheader autoheader259 autoheader253
4536 # Extract the first word of "$ac_prog", so it can be a program name with args.
4537 set dummy
$ac_prog; ac_word
=$2
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4539 $as_echo_n "checking for $ac_word... " >&6; }
4540 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4541 $as_echo_n "(cached) " >&6
4543 if test -n "$aros_host_autoheader"; then
4544 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4550 test -z "$as_dir" && as_dir
=.
4551 for ac_exec_ext
in '' $ac_executable_extensions; do
4552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4553 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4563 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4564 if test -n "$aros_host_autoheader"; then
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4566 $as_echo "$aros_host_autoheader" >&6; }
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4569 $as_echo "no" >&6; }
4573 test -n "$aros_host_autoheader" && break
4576 for ac_prog
in automake automake19 automake-1.9
4578 # Extract the first word of "$ac_prog", so it can be a program name with args.
4579 set dummy
$ac_prog; ac_word
=$2
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4581 $as_echo_n "checking for $ac_word... " >&6; }
4582 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4583 $as_echo_n "(cached) " >&6
4585 if test -n "$aros_host_automake"; then
4586 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4592 test -z "$as_dir" && as_dir
=.
4593 for ac_exec_ext
in '' $ac_executable_extensions; do
4594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4595 ac_cv_prog_aros_host_automake
="$ac_prog"
4596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 aros_host_automake
=$ac_cv_prog_aros_host_automake
4606 if test -n "$aros_host_automake"; then
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4608 $as_echo "$aros_host_automake" >&6; }
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4611 $as_echo "no" >&6; }
4615 test -n "$aros_host_automake" && break
4619 if test "$aros_host_aclocal" = ""; then
4620 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4622 if test "$aros_host_automake" = ""; then
4623 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4626 case "$aros_host_cc" in
4628 aros_host_cc_pipe
="-pipe"
4631 aros_host_cc_pipe
=""
4634 aros_host_cc_pipe
=""
4638 aros_kernel_cc_includes
=""
4639 aros_target_cc_includes
=""
4641 # ----------------------------------------------------------------------------------------
4642 # Host-specific defaults
4644 # This is the main host configuration section. It is where the host
4645 # can change the values of any variables it needs to change. We do
4646 # not look at anything that compiles to the target yet, we'll get
4651 aros_host_arch
="aros"
4652 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4655 aros_host_cpu
="i386"
4658 aros_host_cpu
="x86_64"
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4665 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4666 aros_host_cpu
="$host_cpu"
4672 aros_host_arch
="linux"
4673 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4674 android_build_os
="linux-x86"
4675 android_tool
="android"
4676 default_android_sdk
="/opt/android-sdk-linux_x86"
4679 aros_host_cpu
="i386"
4682 aros_host_cpu
="x86_64"
4685 aros_host_cpu
="m68k"
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4695 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4696 aros_host_cpu
="$host_cpu"
4702 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4703 aros_host_make
="gmake"
4704 aros_host_arch
="freebsd"
4705 aros_host_cpu
="i386"
4707 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4711 aros_object_format
="elf_i386"
4715 aros_object_format
="elf_i386_fbsd"
4722 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4723 aros_host_arch
="darwin"
4724 cross_compile_native
=yes
4725 android_build_os
="darwin-x86"
4726 android_tool
="android"
4727 default_android_sdk
="/android-sdk-mac_x86"
4730 aros_host_cpu
="i386"
4733 aros_host_cpu
="x86_64"
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4740 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4741 aros_host_cpu
="$host_cpu"
4745 aros_host_ldflags
="$aros_host_ldflags -liconv"
4750 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4751 aros_host_make
="gmake"
4752 aros_host_arch
="dragonfly"
4755 aros_host_cpu
="i386"
4758 aros_host_cpu
="x86_64"
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4762 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4763 aros_host_cpu
="$host_cpu"
4769 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4770 aros_host_make
="gmake"
4771 aros_host_arch
="netbsd"
4774 aros_host_cpu
="i386"
4777 aros_host_cpu
="m68k"
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4781 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4782 aros_host_cpu
="$host_cpu"
4785 aros_host_lib_suffix
=".0.0"
4789 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4790 aros_host_make
="gmake"
4791 aros_host_arch
="openbsd"
4794 aros_host_cpu
="i386"
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4798 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4799 aros_host_cpu
="$host_cpu"
4805 aros_host_arch
="solaris"
4806 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4809 aros_host_cpu
="i386"
4812 aros_host_cpu
="sparc"
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4816 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4817 aros_host_cpu
="$host_cpu"
4823 aros_host_arch
="morphos"
4825 cross_compile_native
=yes
4829 aros_host_arch
="amiga"
4830 cross_compile_native
=yes
4835 TOUCH
="/gg/bin/touch"
4838 aros_host_cpu
="m68k"
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4845 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4846 aros_host_cpu
="$host_cpu"
4852 aros_host_arch
="cygwin"
4853 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4854 cross_compile_native
=yes
4855 android_build_os
="windows"
4856 android_tool
="android.bat"
4857 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4861 aros_host_cpu
="i386"
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4865 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4866 aros_host_cpu
="$host_cpu"
4872 aros_host_arch
="mingw32"
4873 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4874 cross_compile_native
=yes
4875 android_build_os
="windows"
4876 android_tool
="android.bat"
4877 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4883 $as_echo_n "checking for Windows native gcc target... " >&6; }
4884 host_cpu
=`gcc -dumpmachine`
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4886 $as_echo "$host_cpu" >&6; }
4893 aros_host_cpu
="i386"
4897 aros_host_cpu
="i386"
4901 aros_host_cpu
="x86_64"
4902 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4907 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4908 aros_host_cpu
="$host_cpu"
4913 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4917 # Extract the first word of "ar", so it can be a program name with args.
4918 set dummy
ar; ac_word
=$2
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4920 $as_echo_n "checking for $ac_word... " >&6; }
4921 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4922 $as_echo_n "(cached) " >&6
4924 if test -n "$aros_host_ar"; then
4925 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4931 test -z "$as_dir" && as_dir
=.
4932 for ac_exec_ext
in '' $ac_executable_extensions; do
4933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4934 ac_cv_prog_aros_host_ar
="ar cr"
4935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4944 aros_host_ar
=$ac_cv_prog_aros_host_ar
4945 if test -n "$aros_host_ar"; then
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4947 $as_echo "$aros_host_ar" >&6; }
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 $as_echo "no" >&6; }
4954 if test "$aros_host_ar" = ""; then
4955 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4957 # Extract the first word of "ranlib", so it can be a program name with args.
4958 set dummy ranlib
; ac_word
=$2
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4960 $as_echo_n "checking for $ac_word... " >&6; }
4961 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4962 $as_echo_n "(cached) " >&6
4964 if test -n "$aros_host_ranlib"; then
4965 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4971 test -z "$as_dir" && as_dir
=.
4972 for ac_exec_ext
in '' $ac_executable_extensions; do
4973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4974 ac_cv_prog_aros_host_ranlib
="ranlib "
4975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4984 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4985 if test -n "$aros_host_ranlib"; then
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4987 $as_echo "$aros_host_ranlib" >&6; }
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4990 $as_echo "no" >&6; }
4994 if test "$aros_host_ranlib" = ""; then
4995 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4997 # Extract the first word of "strip", so it can be a program name with args.
4998 set dummy strip
; ac_word
=$2
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5000 $as_echo_n "checking for $ac_word... " >&6; }
5001 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5002 $as_echo_n "(cached) " >&6
5004 if test -n "$aros_host_strip"; then
5005 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5011 test -z "$as_dir" && as_dir
=.
5012 for ac_exec_ext
in '' $ac_executable_extensions; do
5013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5014 ac_cv_prog_aros_host_strip
="strip "
5015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5024 aros_host_strip
=$ac_cv_prog_aros_host_strip
5025 if test -n "$aros_host_strip"; then
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5027 $as_echo "$aros_host_strip" >&6; }
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5030 $as_echo "no" >&6; }
5034 if test "$aros_host_strip" = ""; then
5035 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5038 # Extract the first word of "rm", so it can be a program name with args.
5039 set dummy
rm; ac_word
=$2
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5041 $as_echo_n "checking for $ac_word... " >&6; }
5042 if ${ac_cv_prog_RM+:} false
; then :
5043 $as_echo_n "(cached) " >&6
5045 if test -n "$RM"; then
5046 ac_cv_prog_RM
="$RM" # Let the user override the test.
5048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5052 test -z "$as_dir" && as_dir
=.
5053 for ac_exec_ext
in '' $ac_executable_extensions; do
5054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5055 ac_cv_prog_RM
="rm -rf"
5056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 if test -n "$RM"; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5068 $as_echo "$RM" >&6; }
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5075 if test "$RM" = ""; then
5076 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5078 # Extract the first word of "cp", so it can be a program name with args.
5079 set dummy
cp; ac_word
=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if ${ac_cv_prog_CP+:} false
; then :
5083 $as_echo_n "(cached) " >&6
5085 if test -n "$CP"; then
5086 ac_cv_prog_CP
="$CP" # Let the user override the test.
5088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5092 test -z "$as_dir" && as_dir
=.
5093 for ac_exec_ext
in '' $ac_executable_extensions; do
5094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 if test -n "$CP"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5108 $as_echo "$CP" >&6; }
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5115 if test "$CP" = ""; then
5116 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5118 # Extract the first word of "mv", so it can be a program name with args.
5119 set dummy
mv; ac_word
=$2
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5121 $as_echo_n "checking for $ac_word... " >&6; }
5122 if ${ac_cv_prog_MV+:} false
; then :
5123 $as_echo_n "(cached) " >&6
5125 if test -n "$MV"; then
5126 ac_cv_prog_MV
="$MV" # Let the user override the test.
5128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5132 test -z "$as_dir" && as_dir
=.
5133 for ac_exec_ext
in '' $ac_executable_extensions; do
5134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 if test -n "$MV"; then
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5148 $as_echo "$MV" >&6; }
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 $as_echo "no" >&6; }
5155 if test "$MV" = ""; then
5156 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5158 # Extract the first word of "echo", so it can be a program name with args.
5159 set dummy
echo; ac_word
=$2
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5161 $as_echo_n "checking for $ac_word... " >&6; }
5162 if ${ac_cv_prog_ECHO+:} false
; then :
5163 $as_echo_n "(cached) " >&6
5165 if test -n "$ECHO"; then
5166 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5172 test -z "$as_dir" && as_dir
=.
5173 for ac_exec_ext
in '' $ac_executable_extensions; do
5174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175 ac_cv_prog_ECHO
="echo "
5176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 ECHO
=$ac_cv_prog_ECHO
5186 if test -n "$ECHO"; then
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5188 $as_echo "$ECHO" >&6; }
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5191 $as_echo "no" >&6; }
5195 if test "$ECHO" = ""; then
5196 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5198 # Extract the first word of "mkdir", so it can be a program name with args.
5199 set dummy mkdir
; ac_word
=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if ${ac_cv_prog_MKDIR+:} false
; then :
5203 $as_echo_n "(cached) " >&6
5205 if test -n "$MKDIR"; then
5206 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5212 test -z "$as_dir" && as_dir
=.
5213 for ac_exec_ext
in '' $ac_executable_extensions; do
5214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5215 ac_cv_prog_MKDIR
="mkdir -p"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 MKDIR
=$ac_cv_prog_MKDIR
5226 if test -n "$MKDIR"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5228 $as_echo "$MKDIR" >&6; }
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5235 if test "$MKDIR" = ""; then
5236 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5238 # Extract the first word of "touch", so it can be a program name with args.
5239 set dummy
touch; ac_word
=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if ${ac_cv_prog_TOUCH+:} false
; then :
5243 $as_echo_n "(cached) " >&6
5245 if test -n "$TOUCH"; then
5246 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5252 test -z "$as_dir" && as_dir
=.
5253 for ac_exec_ext
in '' $ac_executable_extensions; do
5254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5255 ac_cv_prog_TOUCH
="touch "
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 TOUCH
=$ac_cv_prog_TOUCH
5266 if test -n "$TOUCH"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5268 $as_echo "$TOUCH" >&6; }
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5275 if test "$TOUCH" = ""; then
5276 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5278 # Extract the first word of "sort", so it can be a program name with args.
5279 set dummy
sort; ac_word
=$2
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5281 $as_echo_n "checking for $ac_word... " >&6; }
5282 if ${ac_cv_prog_SORT+:} false
; then :
5283 $as_echo_n "(cached) " >&6
5285 if test -n "$SORT"; then
5286 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5292 test -z "$as_dir" && as_dir
=.
5293 for ac_exec_ext
in '' $ac_executable_extensions; do
5294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5295 ac_cv_prog_SORT
="sort "
5296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5305 SORT
=$ac_cv_prog_SORT
5306 if test -n "$SORT"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5308 $as_echo "$SORT" >&6; }
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311 $as_echo "no" >&6; }
5315 if test "$SORT" = ""; then
5316 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5318 # Extract the first word of "uniq", so it can be a program name with args.
5319 set dummy
uniq; ac_word
=$2
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5321 $as_echo_n "checking for $ac_word... " >&6; }
5322 if ${ac_cv_prog_UNIQ+:} false
; then :
5323 $as_echo_n "(cached) " >&6
5325 if test -n "$UNIQ"; then
5326 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5332 test -z "$as_dir" && as_dir
=.
5333 for ac_exec_ext
in '' $ac_executable_extensions; do
5334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5335 ac_cv_prog_UNIQ
="uniq "
5336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 UNIQ
=$ac_cv_prog_UNIQ
5346 if test -n "$UNIQ"; then
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5348 $as_echo "$UNIQ" >&6; }
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5351 $as_echo "no" >&6; }
5355 if test "$UNIQ" = ""; then
5356 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5358 # Extract the first word of "true", so it can be a program name with args.
5359 set dummy true
; ac_word
=$2
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5361 $as_echo_n "checking for $ac_word... " >&6; }
5362 if ${ac_cv_prog_NOP+:} false
; then :
5363 $as_echo_n "(cached) " >&6
5365 if test -n "$NOP"; then
5366 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5372 test -z "$as_dir" && as_dir
=.
5373 for ac_exec_ext
in '' $ac_executable_extensions; do
5374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5375 ac_cv_prog_NOP
="true "
5376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5386 if test -n "$NOP"; then
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5388 $as_echo "$NOP" >&6; }
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5391 $as_echo "no" >&6; }
5395 if test "$NOP" = ""; then
5396 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5398 # Extract the first word of "cat", so it can be a program name with args.
5399 set dummy
cat; ac_word
=$2
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5401 $as_echo_n "checking for $ac_word... " >&6; }
5402 if ${ac_cv_prog_CAT+:} false
; then :
5403 $as_echo_n "(cached) " >&6
5405 if test -n "$CAT"; then
5406 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5412 test -z "$as_dir" && as_dir
=.
5413 for ac_exec_ext
in '' $ac_executable_extensions; do
5414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5415 ac_cv_prog_CAT
="cat "
5416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5426 if test -n "$CAT"; then
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5428 $as_echo "$CAT" >&6; }
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5431 $as_echo "no" >&6; }
5435 if test "$CAT" = ""; then
5436 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5438 # Extract the first word of "bison", so it can be a program name with args.
5439 set dummy bison
; ac_word
=$2
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5441 $as_echo_n "checking for $ac_word... " >&6; }
5442 if ${ac_cv_prog_BISON+:} false
; then :
5443 $as_echo_n "(cached) " >&6
5445 if test -n "$BISON"; then
5446 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5452 test -z "$as_dir" && as_dir
=.
5453 for ac_exec_ext
in '' $ac_executable_extensions; do
5454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5455 ac_cv_prog_BISON
="bison "
5456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5465 BISON
=$ac_cv_prog_BISON
5466 if test -n "$BISON"; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5468 $as_echo "$BISON" >&6; }
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5471 $as_echo "no" >&6; }
5475 if test "$BISON" = ""; then
5476 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5478 # Extract the first word of "flex", so it can be a program name with args.
5479 set dummy flex
; ac_word
=$2
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5481 $as_echo_n "checking for $ac_word... " >&6; }
5482 if ${ac_cv_prog_FLEX+:} false
; then :
5483 $as_echo_n "(cached) " >&6
5485 if test -n "$FLEX"; then
5486 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5492 test -z "$as_dir" && as_dir
=.
5493 for ac_exec_ext
in '' $ac_executable_extensions; do
5494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5495 ac_cv_prog_FLEX
="flex "
5496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5505 FLEX
=$ac_cv_prog_FLEX
5506 if test -n "$FLEX"; then
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5508 $as_echo "$FLEX" >&6; }
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5511 $as_echo "no" >&6; }
5515 if test "$FLEX" = ""; then
5516 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5518 # Extract the first word of "pngtopnm", so it can be a program name with args.
5519 set dummy pngtopnm
; ac_word
=$2
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5521 $as_echo_n "checking for $ac_word... " >&6; }
5522 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5523 $as_echo_n "(cached) " >&6
5525 if test -n "$PNGTOPNM"; then
5526 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5532 test -z "$as_dir" && as_dir
=.
5533 for ac_exec_ext
in '' $ac_executable_extensions; do
5534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5535 ac_cv_prog_PNGTOPNM
="pngtopnm "
5536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5545 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5546 if test -n "$PNGTOPNM"; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5548 $as_echo "$PNGTOPNM" >&6; }
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5551 $as_echo "no" >&6; }
5555 if test "$PNGTOPNM" = ""; then
5556 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5558 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5559 set dummy ppmtoilbm
; ac_word
=$2
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5561 $as_echo_n "checking for $ac_word... " >&6; }
5562 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5563 $as_echo_n "(cached) " >&6
5565 if test -n "$PPMTOILBM"; then
5566 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5572 test -z "$as_dir" && as_dir
=.
5573 for ac_exec_ext
in '' $ac_executable_extensions; do
5574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5575 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5585 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5586 if test -n "$PPMTOILBM"; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5588 $as_echo "$PPMTOILBM" >&6; }
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5591 $as_echo "no" >&6; }
5595 if test "$PPMTOILBM" = ""; then
5596 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5598 # Extract the first word of "sed", so it can be a program name with args.
5599 set dummy
sed; ac_word
=$2
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5601 $as_echo_n "checking for $ac_word... " >&6; }
5602 if ${ac_cv_prog_SED+:} false
; then :
5603 $as_echo_n "(cached) " >&6
5605 if test -n "$SED"; then
5606 ac_cv_prog_SED
="$SED" # Let the user override the test.
5608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5612 test -z "$as_dir" && as_dir
=.
5613 for ac_exec_ext
in '' $ac_executable_extensions; do
5614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5615 ac_cv_prog_SED
="sed "
5616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5626 if test -n "$SED"; then
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5628 $as_echo "$SED" >&6; }
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5631 $as_echo "no" >&6; }
5635 if test "$SED" = ""; then
5636 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5638 # Extract the first word of "chmod", so it can be a program name with args.
5639 set dummy
chmod; ac_word
=$2
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641 $as_echo_n "checking for $ac_word... " >&6; }
5642 if ${ac_cv_prog_CHMOD+:} false
; then :
5643 $as_echo_n "(cached) " >&6
5645 if test -n "$CHMOD"; then
5646 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5652 test -z "$as_dir" && as_dir
=.
5653 for ac_exec_ext
in '' $ac_executable_extensions; do
5654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5655 ac_cv_prog_CHMOD
="chmod "
5656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5665 CHMOD
=$ac_cv_prog_CHMOD
5666 if test -n "$CHMOD"; then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5668 $as_echo "$CHMOD" >&6; }
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 $as_echo "no" >&6; }
5675 if test "$CHMOD" = ""; then
5676 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5678 # Extract the first word of "patch", so it can be a program name with args.
5679 set dummy
patch; ac_word
=$2
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5681 $as_echo_n "checking for $ac_word... " >&6; }
5682 if ${ac_cv_prog_PATCH+:} false
; then :
5683 $as_echo_n "(cached) " >&6
5685 if test -n "$PATCH"; then
5686 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5692 test -z "$as_dir" && as_dir
=.
5693 for ac_exec_ext
in '' $ac_executable_extensions; do
5694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5695 ac_cv_prog_PATCH
="patch "
5696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5705 PATCH
=$ac_cv_prog_PATCH
5706 if test -n "$PATCH"; then
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5708 $as_echo "$PATCH" >&6; }
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5711 $as_echo "no" >&6; }
5715 if test "$PATCH" = ""; then
5716 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5723 if test -n "$PYTHON"; then
5724 # If the user set $PYTHON, use it and don't search something else.
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5726 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5727 prog
="import sys, string
5728 # split strings by '.' and convert to numeric. Append some zeros
5729 # because we need at least 4 digits for the hex conversion.
5730 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5732 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5733 sys.exit(sys.hexversion < minverhex)"
5734 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5735 ($PYTHON -c "$prog") >&5 2>&5
5737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738 (exit $ac_status); }; then :
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5740 $as_echo "yes" >&6; }
5742 as_fn_error $?
"too old" "$LINENO" 5
5744 am_display_PYTHON
=$PYTHON
5746 # Otherwise, try each interpreter until we find one that satisfies
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5749 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5750 if ${am_cv_pathless_PYTHON+:} false
; then :
5751 $as_echo_n "(cached) " >&6
5754 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
5755 test "$am_cv_pathless_PYTHON" = none
&& break
5756 prog
="import sys, string
5757 # split strings by '.' and convert to numeric. Append some zeros
5758 # because we need at least 4 digits for the hex conversion.
5759 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5761 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5762 sys.exit(sys.hexversion < minverhex)"
5763 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5764 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); }; then :
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5773 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5774 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5775 if test "$am_cv_pathless_PYTHON" = none
; then
5778 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5779 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5781 $as_echo_n "checking for $ac_word... " >&6; }
5782 if ${ac_cv_path_PYTHON+:} false
; then :
5783 $as_echo_n "(cached) " >&6
5787 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5794 test -z "$as_dir" && as_dir
=.
5795 for ac_exec_ext
in '' $ac_executable_extensions; do
5796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5797 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5808 PYTHON
=$ac_cv_path_PYTHON
5809 if test -n "$PYTHON"; then
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5811 $as_echo "$PYTHON" >&6; }
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5814 $as_echo "no" >&6; }
5819 am_display_PYTHON
=$am_cv_pathless_PYTHON
5823 if test "$PYTHON" = :; then
5824 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5829 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5830 if ${am_cv_python_version+:} false
; then :
5831 $as_echo_n "(cached) " >&6
5833 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5836 $as_echo "$am_cv_python_version" >&6; }
5837 PYTHON_VERSION
=$am_cv_python_version
5841 PYTHON_PREFIX
='${prefix}'
5843 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5848 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5849 if ${am_cv_python_platform+:} false
; then :
5850 $as_echo_n "(cached) " >&6
5852 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5855 $as_echo "$am_cv_python_platform" >&6; }
5856 PYTHON_PLATFORM
=$am_cv_python_platform
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5862 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5863 if ${am_cv_python_pythondir+:} false
; then :
5864 $as_echo_n "(cached) " >&6
5866 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5867 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5870 $as_echo "$am_cv_python_pythondir" >&6; }
5871 pythondir
=$am_cv_python_pythondir
5875 pkgpythondir
=\
${pythondir}/$PACKAGE
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5879 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5880 if ${am_cv_python_pyexecdir+:} false
; then :
5881 $as_echo_n "(cached) " >&6
5883 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5884 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5887 $as_echo "$am_cv_python_pyexecdir" >&6; }
5888 pyexecdir
=$am_cv_python_pyexecdir
5892 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5910 # Check for some includes for the X11 HIDD and the kernel
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5914 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5915 if ${ac_cv_path_GREP+:} false
; then :
5916 $as_echo_n "(cached) " >&6
5918 if test -z "$GREP"; then
5919 ac_path_GREP_found
=false
5920 # Loop through the user's path and test for each of PROGNAME-LIST
5921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5922 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5925 test -z "$as_dir" && as_dir
=.
5926 for ac_prog
in grep ggrep
; do
5927 for ac_exec_ext
in '' $ac_executable_extensions; do
5928 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5929 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5930 # Check for GNU ac_path_GREP and select it if it is found.
5931 # Check for GNU $ac_path_GREP
5932 case `"$ac_path_GREP" --version 2>&1` in
5934 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5937 $as_echo_n 0123456789 >"conftest.in"
5940 cat "conftest.in" "conftest.in" >"conftest.tmp"
5941 mv "conftest.tmp" "conftest.in"
5942 cp "conftest.in" "conftest.nl"
5943 $as_echo 'GREP' >> "conftest.nl"
5944 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5945 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5946 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5947 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5948 # Best one so far, save it but keep looking for a better one
5949 ac_cv_path_GREP
="$ac_path_GREP"
5950 ac_path_GREP_max
=$ac_count
5952 # 10*(2^10) chars as input seems more than enough
5953 test $ac_count -gt 10 && break
5955 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5958 $ac_path_GREP_found && break 3
5963 if test -z "$ac_cv_path_GREP"; then
5964 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5967 ac_cv_path_GREP
=$GREP
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5972 $as_echo "$ac_cv_path_GREP" >&6; }
5973 GREP
="$ac_cv_path_GREP"
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5977 $as_echo_n "checking for egrep... " >&6; }
5978 if ${ac_cv_path_EGREP+:} false
; then :
5979 $as_echo_n "(cached) " >&6
5981 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5982 then ac_cv_path_EGREP
="$GREP -E"
5984 if test -z "$EGREP"; then
5985 ac_path_EGREP_found
=false
5986 # Loop through the user's path and test for each of PROGNAME-LIST
5987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5988 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5991 test -z "$as_dir" && as_dir
=.
5992 for ac_prog
in egrep; do
5993 for ac_exec_ext
in '' $ac_executable_extensions; do
5994 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5995 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5996 # Check for GNU ac_path_EGREP and select it if it is found.
5997 # Check for GNU $ac_path_EGREP
5998 case `"$ac_path_EGREP" --version 2>&1` in
6000 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6003 $as_echo_n 0123456789 >"conftest.in"
6006 cat "conftest.in" "conftest.in" >"conftest.tmp"
6007 mv "conftest.tmp" "conftest.in"
6008 cp "conftest.in" "conftest.nl"
6009 $as_echo 'EGREP' >> "conftest.nl"
6010 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6011 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6012 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6013 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6014 # Best one so far, save it but keep looking for a better one
6015 ac_cv_path_EGREP
="$ac_path_EGREP"
6016 ac_path_EGREP_max
=$ac_count
6018 # 10*(2^10) chars as input seems more than enough
6019 test $ac_count -gt 10 && break
6021 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6024 $ac_path_EGREP_found && break 3
6029 if test -z "$ac_cv_path_EGREP"; then
6030 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6033 ac_cv_path_EGREP
=$EGREP
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6039 $as_echo "$ac_cv_path_EGREP" >&6; }
6040 EGREP
="$ac_cv_path_EGREP"
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6044 $as_echo_n "checking for ANSI C header files... " >&6; }
6045 if ${ac_cv_header_stdc+:} false
; then :
6046 $as_echo_n "(cached) " >&6
6048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6049 /* end confdefs.h. */
6063 if ac_fn_c_try_compile
"$LINENO"; then :
6064 ac_cv_header_stdc
=yes
6066 ac_cv_header_stdc
=no
6068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6070 if test $ac_cv_header_stdc = yes; then
6071 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6073 /* end confdefs.h. */
6077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6078 $EGREP "memchr" >/dev
/null
2>&1; then :
6081 ac_cv_header_stdc
=no
6087 if test $ac_cv_header_stdc = yes; then
6088 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6090 /* end confdefs.h. */
6094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6095 $EGREP "free" >/dev
/null
2>&1; then :
6098 ac_cv_header_stdc
=no
6104 if test $ac_cv_header_stdc = yes; then
6105 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6106 if test "$cross_compiling" = yes; then :
6109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6110 /* end confdefs.h. */
6113 #if ((' ' & 0x0FF) == 0x020)
6114 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6115 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6117 # define ISLOWER(c) \
6118 (('a' <= (c) && (c) <= 'i') \
6119 || ('j' <= (c) && (c) <= 'r') \
6120 || ('s' <= (c) && (c) <= 'z'))
6121 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6124 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6129 for (i = 0; i < 256; i++)
6130 if (XOR (islower (i), ISLOWER (i))
6131 || toupper (i) != TOUPPER (i))
6136 if ac_fn_c_try_run
"$LINENO"; then :
6139 ac_cv_header_stdc
=no
6141 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6142 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6148 $as_echo "$ac_cv_header_stdc" >&6; }
6149 if test $ac_cv_header_stdc = yes; then
6151 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6155 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6156 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6157 inttypes.h stdint.h unistd.h
6159 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6160 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6162 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6163 cat >>confdefs.h
<<_ACEOF
6164 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6172 for ac_header
in sys
/ipc.h sys
/shm.h \
6173 sys
/mmap.h sys
/mman.h sysexits.h \
6174 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6177 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6178 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6179 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6180 cat >>confdefs.h
<<_ACEOF
6181 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6189 for ac_header
in sys
/mount.h
6191 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6193 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6194 cat >>confdefs.h
<<_ACEOF
6195 #define HAVE_SYS_MOUNT_H 1
6204 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6205 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6207 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6208 if eval \
${$as_ac_Header+:} false
; then :
6209 $as_echo_n "(cached) " >&6
6211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6212 /* end confdefs.h. */
6213 #include <sys/types.h>
6225 if ac_fn_c_try_compile
"$LINENO"; then :
6226 eval "$as_ac_Header=yes"
6228 eval "$as_ac_Header=no"
6230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6232 eval ac_res
=\$
$as_ac_Header
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6234 $as_echo "$ac_res" >&6; }
6235 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6236 cat >>confdefs.h
<<_ACEOF
6237 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6240 ac_header_dirent
=$ac_hdr; break
6244 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6245 if test $ac_header_dirent = dirent.h
; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6247 $as_echo_n "checking for library containing opendir... " >&6; }
6248 if ${ac_cv_search_opendir+:} false
; then :
6249 $as_echo_n "(cached) " >&6
6251 ac_func_search_save_LIBS
=$LIBS
6252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6253 /* end confdefs.h. */
6255 /* Override any GCC internal prototype to avoid an error.
6256 Use char because int might match the return type of a GCC
6257 builtin and then its argument prototype would still apply. */
6270 for ac_lib
in '' dir
; do
6271 if test -z "$ac_lib"; then
6272 ac_res
="none required"
6275 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6277 if ac_fn_c_try_link
"$LINENO"; then :
6278 ac_cv_search_opendir
=$ac_res
6280 rm -f core conftest.err conftest.
$ac_objext \
6282 if ${ac_cv_search_opendir+:} false
; then :
6286 if ${ac_cv_search_opendir+:} false
; then :
6289 ac_cv_search_opendir
=no
6292 LIBS
=$ac_func_search_save_LIBS
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6295 $as_echo "$ac_cv_search_opendir" >&6; }
6296 ac_res
=$ac_cv_search_opendir
6297 if test "$ac_res" != no
; then :
6298 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6304 $as_echo_n "checking for library containing opendir... " >&6; }
6305 if ${ac_cv_search_opendir+:} false
; then :
6306 $as_echo_n "(cached) " >&6
6308 ac_func_search_save_LIBS
=$LIBS
6309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6310 /* end confdefs.h. */
6312 /* Override any GCC internal prototype to avoid an error.
6313 Use char because int might match the return type of a GCC
6314 builtin and then its argument prototype would still apply. */
6327 for ac_lib
in '' x
; do
6328 if test -z "$ac_lib"; then
6329 ac_res
="none required"
6332 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6334 if ac_fn_c_try_link
"$LINENO"; then :
6335 ac_cv_search_opendir
=$ac_res
6337 rm -f core conftest.err conftest.
$ac_objext \
6339 if ${ac_cv_search_opendir+:} false
; then :
6343 if ${ac_cv_search_opendir+:} false
; then :
6346 ac_cv_search_opendir
=no
6349 LIBS
=$ac_func_search_save_LIBS
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6352 $as_echo "$ac_cv_search_opendir" >&6; }
6353 ac_res
=$ac_cv_search_opendir
6354 if test "$ac_res" != no
; then :
6355 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6362 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6363 if ${ac_cv_header_stat_broken+:} false
; then :
6364 $as_echo_n "(cached) " >&6
6366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6367 /* end confdefs.h. */
6368 #include <sys/types.h>
6369 #include <sys/stat.h>
6371 #if defined S_ISBLK && defined S_IFDIR
6372 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6375 #if defined S_ISBLK && defined S_IFCHR
6376 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6379 #if defined S_ISLNK && defined S_IFREG
6380 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6383 #if defined S_ISSOCK && defined S_IFREG
6384 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6388 if ac_fn_c_try_compile
"$LINENO"; then :
6389 ac_cv_header_stat_broken
=no
6391 ac_cv_header_stat_broken
=yes
6393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6396 $as_echo "$ac_cv_header_stat_broken" >&6; }
6397 if test $ac_cv_header_stat_broken = yes; then
6399 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6404 $as_echo_n "checking for ANSI C header files... " >&6; }
6405 if ${ac_cv_header_stdc+:} false
; then :
6406 $as_echo_n "(cached) " >&6
6408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6409 /* end confdefs.h. */
6423 if ac_fn_c_try_compile
"$LINENO"; then :
6424 ac_cv_header_stdc
=yes
6426 ac_cv_header_stdc
=no
6428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6430 if test $ac_cv_header_stdc = yes; then
6431 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6433 /* end confdefs.h. */
6437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6438 $EGREP "memchr" >/dev
/null
2>&1; then :
6441 ac_cv_header_stdc
=no
6447 if test $ac_cv_header_stdc = yes; then
6448 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6450 /* end confdefs.h. */
6454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6455 $EGREP "free" >/dev
/null
2>&1; then :
6458 ac_cv_header_stdc
=no
6464 if test $ac_cv_header_stdc = yes; then
6465 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6466 if test "$cross_compiling" = yes; then :
6469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6470 /* end confdefs.h. */
6473 #if ((' ' & 0x0FF) == 0x020)
6474 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6475 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6477 # define ISLOWER(c) \
6478 (('a' <= (c) && (c) <= 'i') \
6479 || ('j' <= (c) && (c) <= 'r') \
6480 || ('s' <= (c) && (c) <= 'z'))
6481 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6484 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6489 for (i = 0; i < 256; i++)
6490 if (XOR (islower (i), ISLOWER (i))
6491 || toupper (i) != TOUPPER (i))
6496 if ac_fn_c_try_run
"$LINENO"; then :
6499 ac_cv_header_stdc
=no
6501 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6502 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6508 $as_echo "$ac_cv_header_stdc" >&6; }
6509 if test $ac_cv_header_stdc = yes; then
6511 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6516 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6517 if ${ac_cv_header_sys_wait_h+:} false
; then :
6518 $as_echo_n "(cached) " >&6
6520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6521 /* end confdefs.h. */
6522 #include <sys/types.h>
6523 #include <sys/wait.h>
6525 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6528 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6536 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6541 if ac_fn_c_try_compile
"$LINENO"; then :
6542 ac_cv_header_sys_wait_h
=yes
6544 ac_cv_header_sys_wait_h
=no
6546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6549 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6550 if test $ac_cv_header_sys_wait_h = yes; then
6552 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6557 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6558 if ${ac_cv_header_time+:} false
; then :
6559 $as_echo_n "(cached) " >&6
6561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6562 /* end confdefs.h. */
6563 #include <sys/types.h>
6564 #include <sys/time.h>
6570 if ((struct tm *) 0)
6576 if ac_fn_c_try_compile
"$LINENO"; then :
6577 ac_cv_header_time
=yes
6579 ac_cv_header_time
=no
6581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6584 $as_echo "$ac_cv_header_time" >&6; }
6585 if test $ac_cv_header_time = yes; then
6587 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6591 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6592 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6594 cat >>confdefs.h
<<_ACEOF
6595 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6599 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6604 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6605 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6607 cat >>confdefs.h
<<_ACEOF
6608 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6612 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6615 case " $LIBOBJS " in
6616 *" fileblocks.$ac_objext "* ) ;;
6617 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6624 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6625 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6627 cat >>confdefs.h
<<_ACEOF
6628 #define HAVE_STRUCT_STAT_ST_RDEV 1
6632 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6638 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6639 if ${ac_cv_struct_tm+:} false
; then :
6640 $as_echo_n "(cached) " >&6
6642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6643 /* end confdefs.h. */
6644 #include <sys/types.h>
6651 int *p = &tm.tm_sec;
6657 if ac_fn_c_try_compile
"$LINENO"; then :
6658 ac_cv_struct_tm
=time.h
6660 ac_cv_struct_tm
=sys
/time.h
6662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6665 $as_echo "$ac_cv_struct_tm" >&6; }
6666 if test $ac_cv_struct_tm = sys
/time.h
; then
6668 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6672 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6673 #include <$ac_cv_struct_tm>
6676 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6678 cat >>confdefs.h
<<_ACEOF
6679 #define HAVE_STRUCT_TM_TM_ZONE 1
6685 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6687 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6690 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6692 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6698 cat >>confdefs.h
<<_ACEOF
6699 #define HAVE_DECL_TZNAME $ac_have_decl
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6703 $as_echo_n "checking for tzname... " >&6; }
6704 if ${ac_cv_var_tzname+:} false
; then :
6705 $as_echo_n "(cached) " >&6
6707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6708 /* end confdefs.h. */
6710 #if !HAVE_DECL_TZNAME
6711 extern char *tzname[];
6717 return tzname[0][0];
6722 if ac_fn_c_try_link
"$LINENO"; then :
6723 ac_cv_var_tzname
=yes
6727 rm -f core conftest.err conftest.
$ac_objext \
6728 conftest
$ac_exeext conftest.
$ac_ext
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6731 $as_echo "$ac_cv_var_tzname" >&6; }
6732 if test $ac_cv_var_tzname = yes; then
6734 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6739 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6740 if test "x$ac_cv_type_off_t" = xyes
; then :
6744 cat >>confdefs.h
<<_ACEOF
6745 #define off_t long int
6750 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6751 if test "x$ac_cv_type_pid_t" = xyes
; then :
6755 cat >>confdefs.h
<<_ACEOF
6761 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6762 if test "x$ac_cv_type_size_t" = xyes
; then :
6766 cat >>confdefs.h
<<_ACEOF
6767 #define size_t unsigned int
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6773 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6774 if ${ac_cv_type_uid_t+:} false
; then :
6775 $as_echo_n "(cached) " >&6
6777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6778 /* end confdefs.h. */
6779 #include <sys/types.h>
6782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6783 $EGREP "uid_t" >/dev
/null
2>&1; then :
6784 ac_cv_type_uid_t
=yes
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6792 $as_echo "$ac_cv_type_uid_t" >&6; }
6793 if test $ac_cv_type_uid_t = no
; then
6795 $as_echo "#define uid_t int" >>confdefs.h
6798 $as_echo "#define gid_t int" >>confdefs.h
6803 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6804 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6806 cat >>confdefs.h
<<_ACEOF
6807 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6814 # Look for some functions
6815 for ac_func
in getpagesize kqueue statfs statvfs \
6816 clone kse_create rfork_thread thr_create sa_register \
6817 getcontext makecontext setcontext sigaltstack swapcontext
6819 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6820 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6821 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6822 cat >>confdefs.h
<<_ACEOF
6823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6833 for ac_header
in $ac_header_list
6835 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6836 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6838 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6839 cat >>confdefs.h
<<_ACEOF
6840 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6854 for ac_func
in getpagesize
6856 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6857 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6858 cat >>confdefs.h
<<_ACEOF
6859 #define HAVE_GETPAGESIZE 1
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6866 $as_echo_n "checking for working mmap... " >&6; }
6867 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6868 $as_echo_n "(cached) " >&6
6870 if test "$cross_compiling" = yes; then :
6871 ac_cv_func_mmap_fixed_mapped
=no
6873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6874 /* end confdefs.h. */
6875 $ac_includes_default
6876 /* malloc might have been renamed as rpl_malloc. */
6879 /* Thanks to Mike Haertel and Jim Avera for this test.
6880 Here is a matrix of mmap possibilities:
6881 mmap private not fixed
6882 mmap private fixed at somewhere currently unmapped
6883 mmap private fixed at somewhere already mapped
6884 mmap shared not fixed
6885 mmap shared fixed at somewhere currently unmapped
6886 mmap shared fixed at somewhere already mapped
6887 For private mappings, we should verify that changes cannot be read()
6888 back from the file, nor mmap's back from the file at a different
6889 address. (There have been systems where private was not correctly
6890 implemented like the infamous i386 svr4.0, and systems where the
6891 VM page cache was not coherent with the file system buffer cache
6892 like early versions of FreeBSD and possibly contemporary NetBSD.)
6893 For shared mappings, we should conversely verify that changes get
6894 propagated back to all the places they're supposed to be.
6896 Grep wants private fixed already mapped.
6897 The main things grep needs to know about mmap are:
6898 * does it exist and is it safe to write into the mmap'd area
6899 * how to use it (BSD variants) */
6902 #include <sys/mman.h>
6904 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6908 /* This mess was copied from the GNU getpagesize.h. */
6909 #ifndef HAVE_GETPAGESIZE
6910 # ifdef _SC_PAGESIZE
6911 # define getpagesize() sysconf(_SC_PAGESIZE)
6912 # else /* no _SC_PAGESIZE */
6913 # ifdef HAVE_SYS_PARAM_H
6914 # include <sys/param.h>
6915 # ifdef EXEC_PAGESIZE
6916 # define getpagesize() EXEC_PAGESIZE
6917 # else /* no EXEC_PAGESIZE */
6919 # define getpagesize() NBPG * CLSIZE
6922 # endif /* no CLSIZE */
6923 # else /* no NBPG */
6925 # define getpagesize() NBPC
6926 # else /* no NBPC */
6928 # define getpagesize() PAGESIZE
6929 # endif /* PAGESIZE */
6930 # endif /* no NBPC */
6931 # endif /* no NBPG */
6932 # endif /* no EXEC_PAGESIZE */
6933 # else /* no HAVE_SYS_PARAM_H */
6934 # define getpagesize() 8192 /* punt totally */
6935 # endif /* no HAVE_SYS_PARAM_H */
6936 # endif /* no _SC_PAGESIZE */
6938 #endif /* no HAVE_GETPAGESIZE */
6943 char *data, *data2, *data3;
6948 pagesize = getpagesize ();
6950 /* First, make a file with some known garbage in it. */
6951 data = (char *) malloc (pagesize);
6954 for (i = 0; i < pagesize; ++i)
6955 *(data + i) = rand ();
6957 fd = creat ("conftest.mmap", 0600);
6960 if (write (fd, data, pagesize) != pagesize)
6964 /* Next, check that the tail of a page is zero-filled. File must have
6965 non-zero length, otherwise we risk SIGBUS for entire page. */
6966 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6970 if (write (fd2, cdata2, 1) != 1)
6972 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6973 if (data2 == MAP_FAILED)
6975 for (i = 0; i < pagesize; ++i)
6979 if (munmap (data2, pagesize))
6982 /* Next, try to mmap the file at a fixed address which already has
6983 something else allocated at it. If we can, also make sure that
6984 we see the same garbage. */
6985 fd = open ("conftest.mmap", O_RDWR);
6988 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6989 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6991 for (i = 0; i < pagesize; ++i)
6992 if (*(data + i) != *(data2 + i))
6995 /* Finally, make sure that changes to the mapped area do not
6996 percolate back to the file as seen by read(). (This is a bug on
6997 some variants of i386 svr4.0.) */
6998 for (i = 0; i < pagesize; ++i)
6999 *(data2 + i) = *(data2 + i) + 1;
7000 data3 = (char *) malloc (pagesize);
7003 if (read (fd, data3, pagesize) != pagesize)
7005 for (i = 0; i < pagesize; ++i)
7006 if (*(data + i) != *(data3 + i))
7012 if ac_fn_c_try_run
"$LINENO"; then :
7013 ac_cv_func_mmap_fixed_mapped
=yes
7015 ac_cv_func_mmap_fixed_mapped
=no
7017 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7018 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7023 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7024 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7026 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7029 rm -f conftest.mmap conftest.txt
7034 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7035 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7036 aros_config_ldflags
=""
7038 aros_shared_default
=yes
7040 aros_shared_cflags
="-fPIC"
7041 aros_shared_aflags
=""
7042 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7043 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7045 aros_kernel_ar_flags
="cr"
7046 aros_target_ar_flags
="cr"
7047 aros_target_nm_flags
="-C -ul"
7048 aros_target_strip_flags
="--strip-unneeded -R.comment"
7053 aros_target_genmap
="-Wl,-Map -Xlinker"
7055 # Native flavour stuff
7056 aros_serial_debug
="0"
7058 # Palm native flavour stuff
7059 aros_palm_debug_hack
="0"
7061 # Unix flavour stuff
7062 aros_nesting_supervisor
="0"
7064 # Collect-aros stuff: "-ius" to ignore undefined symbols
7065 ignore_undefined_symbols
=""
7067 # Check for X11 by default
7070 #-----------------------------------------------------------------------------
7073 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7074 # it switched on by default, and we use the host compiler, so it compiles AROS
7075 # code with this enabled resulting in link failures as we don't have support
7078 # We use two methods to disable it. For the host compiler (used to compile
7079 # some hosted modules), we test to see if the compiler supports stack
7080 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7081 # work on all platforms.
7083 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7084 # (this is done unconditionally, as it should have no effect on compilers
7085 # without the stack protection feature). This may be specific to the way that
7086 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7087 # strong enough to disable it in a generic way though, so we'll live with it
7088 # until another vendor ships GCC with it enabled in a different way, and deal
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7093 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7094 save_cflags
="$CFLAGS"
7095 CFLAGS
="$CFLAGS -fno-stack-protector"
7096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7097 /* end confdefs.h. */
7107 if ac_fn_c_try_compile
"$LINENO"; then :
7108 use_no_stack_protector
="yes"
7110 use_no_stack_protector
="no"
7112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7114 $as_echo "$use_no_stack_protector" >&6; }
7115 if test "x-$use_no_stack_protector" = "x-yes" ; then
7116 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7118 CFLAGS
="$save_cflags"
7120 #-----------------------------------------------------------------------------
7122 # Disable pointer-signedness warnings if the compiler recognises the option
7123 # (this only works for the host compiler at the moment)
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7126 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7127 save_cflags
="$CFLAGS"
7128 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7130 /* end confdefs.h. */
7140 if ac_fn_c_try_compile
"$LINENO"; then :
7141 use_no_sign_warning
="yes"
7143 use_no_sign_warning
="no"
7145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7147 $as_echo "$use_no_sign_warning" >&6; }
7148 if test "x-$use_no_sign_warning" = "x-yes" ; then
7149 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7151 CFLAGS
="$save_cflags"
7153 #-----------------------------------------------------------------------------
7155 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7158 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7159 save_cflags
="$CFLAGS"
7160 CFLAGS
="$CFLAGS -fgnu89-inline"
7161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7162 /* end confdefs.h. */
7172 if ac_fn_c_try_compile
"$LINENO"; then :
7173 use_gnu89_inline
="yes"
7175 use_gnu89_inline
="no"
7177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7179 $as_echo "$use_gnu89_inline" >&6; }
7180 if test "x-$use_gnu89_inline" = "x-yes" ; then
7181 gnu89_inline
="-fgnu89-inline"
7183 CFLAGS
="$save_cflags"
7185 #-----------------------------------------------------------------------------
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7188 $as_echo_n "checking for type of build... " >&6; }
7189 # Check whether --enable-build_type was given.
7190 if test "${enable_build_type+set}" = set; then :
7191 enableval
=$enable_build_type; build_type
=$enableval
7193 build_type
="personal"
7197 if test "$build_type" = "nightly"; then
7198 build_type_string
="NIGHTLY"
7199 elif test "$build_type" = "snapshot"; then
7200 build_type_string
="SNAPSHOT"
7201 elif test "$build_type" = "milestone"; then
7202 build_type_string
="MILESTONE"
7203 elif test "$build_type" = "release"; then
7204 build_type_string
="RELEASE"
7206 build_type_string
="PERSONAL"
7207 build_type
="personal"
7210 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7213 $as_echo "$build_type" >&6; }
7215 #-----------------------------------------------------------------------------
7216 all_debug_types
="messages stack modules mungwall symbols"
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7219 $as_echo_n "checking which debug types to enable... " >&6; }
7220 # Check whether --enable-debug was given.
7221 if test "${enable_debug+set}" = set; then :
7222 enableval
=$enable_debug; debug
="$enableval"
7228 if test "$debug" = "" -o "$debug" = "no"; then
7230 elif test "$debug" = "yes"; then
7234 if test "$debug" = "all" ; then
7235 debug
="messages stack modules symbols"
7236 for d
in $all_debug_types; do
7237 export aros_
${d}_debug
="1"
7240 for d
in $all_debug_types; do
7241 export aros_
${d}_debug
="0"
7245 if test "$debug" != "none"; then
7246 debug
=`echo $debug | sed s/,/\ /g`
7249 for d2
in $all_debug_types; do
7250 if test "$d2" = "$d"; then
7255 if test "$found" = "0"; then
7256 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7258 export aros_
${d}_debug
="1"
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7263 $as_echo "$debug" >&6; }
7265 if test "$aros_messages_debug" = "1"; then
7266 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7268 aros_messages_debug
=""
7270 if test "$aros_symbols_debug" = "1"; then
7271 aros_symbols_debug
="-g"
7273 aros_symbols_debug
=""
7276 # These are the flags to pass when compiling debugged programs
7277 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7278 aros_debug_aflags
=""
7279 aros_debug_ldflags
="$aros_symbols_debug"
7281 #-----------------------------------------------------------------------------
7282 # Checking for distcc and ccache.
7284 # Always apply the transforms in this particular order. Basically you should
7285 # always run 'ccache distcc compiler' in that order for the best performance.
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7288 $as_echo_n "checking whether to enable distcc... " >&6; }
7289 # Check whether --enable-distcc was given.
7290 if test "${enable_distcc+set}" = set; then :
7291 enableval
=$enable_distcc; distcc
="$enableval"
7296 if test "$distcc" != "" -a "$distcc" != "no"; then
7297 # AC_CHECK_PROG will print out the result in this case
7298 # Extract the first word of "distcc", so it can be a program name with args.
7299 set dummy distcc
; ac_word
=$2
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7301 $as_echo_n "checking for $ac_word... " >&6; }
7302 if ${ac_cv_path_DISTCC+:} false
; then :
7303 $as_echo_n "(cached) " >&6
7307 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7314 test -z "$as_dir" && as_dir
=.
7315 for ac_exec_ext
in '' $ac_executable_extensions; do
7316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7317 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7325 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7329 DISTCC
=$ac_cv_path_DISTCC
7330 if test -n "$DISTCC"; then
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7332 $as_echo "$DISTCC" >&6; }
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7335 $as_echo "no" >&6; }
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7345 $as_echo_n "checking whether to enable ccache... " >&6; }
7346 # Check whether --enable-ccache was given.
7347 if test "${enable_ccache+set}" = set; then :
7348 enableval
=$enable_ccache; ccache
="$enableval"
7353 if test "$ccache" != "" -a "$ccache" != "no"; then
7354 # AC_CHECK_PROG will print out the result in this case
7355 # Extract the first word of "ccache", so it can be a program name with args.
7356 set dummy ccache
; ac_word
=$2
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7358 $as_echo_n "checking for $ac_word... " >&6; }
7359 if ${ac_cv_prog_CCACHE+:} false
; then :
7360 $as_echo_n "(cached) " >&6
7362 if test -n "$CCACHE"; then
7363 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7369 test -z "$as_dir" && as_dir
=.
7370 for ac_exec_ext
in '' $ac_executable_extensions; do
7371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7372 ac_cv_prog_CCACHE
="ccache"
7373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382 CCACHE
=$ac_cv_prog_CCACHE
7383 if test -n "$CCACHE"; then
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7385 $as_echo "$CCACHE" >&6; }
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 $as_echo "no" >&6; }
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7397 #-----------------------------------------------------------------------------
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7399 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7401 # Check whether --with-gcc-version was given.
7402 if test "${with_gcc_version+set}" = set; then :
7403 withval
=$with_gcc_version; kernel_tool_version
="$withval"
7405 kernel_tool_version
="default"
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7409 $as_echo "$kernel_tool_version" >&6; }
7411 #-----------------------------------------------------------------------------
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7413 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7415 # Check whether --with-gcc-version was given.
7416 if test "${with_gcc_version+set}" = set; then :
7417 withval
=$with_gcc_version; target_tool_version
="$withval"
7419 target_tool_version
="default"
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7423 $as_echo "$target_tool_version" >&6; }
7425 #-----------------------------------------------------------------------------
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7427 $as_echo_n "checking what optimization flags to use... " >&6; }
7429 # Check whether --with-optimization was given.
7430 if test "${with_optimization+set}" = set; then :
7431 withval
=$with_optimization; optimization
="$withval"
7433 optimization
="unknown"
7436 if test "$optimization" = "unknown"; then
7437 if test "$debug" != "none"; then
7443 aros_config_cflags
="$aros_config_cflags $optimization"
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7445 $as_echo "$optimization" >&6; }
7447 #-----------------------------------------------------------------------------
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7449 $as_echo_n "checking what paranoia flags to use... " >&6; }
7451 # Check whether --with-paranoia was given.
7452 if test "${with_paranoia+set}" = set; then :
7453 withval
=$with_paranoia; paranoia_flags
="$withval"
7455 paranoia_flags
="default"
7458 if test "$paranoia_flags" = "default"; then
7460 else if test "$paranoia_flags" = "yes"; then
7461 paranoia_flags
="-Wall -Werror"
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7464 $as_echo "$paranoia_flags" >&6; }
7465 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7467 #-----------------------------------------------------------------------------
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7469 $as_echo_n "checking what target variant to enable... " >&6; }
7470 # Check whether --enable-target_variant was given.
7471 if test "${enable_target_variant+set}" = set; then :
7472 enableval
=$enable_target_variant; target_variant
=$enableval
7477 if test "$target_variant" = ""; then
7478 aros_target_variant
=""
7479 aros_target_suffix
=""
7482 aros_target_variant
="$target_variant"
7483 aros_target_suffix
="-$target_variant"
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7486 $as_echo "$enableval" >&6; }
7488 #-----------------------------------------------------------------------------
7489 # Target-specific defaults. You can override then on a per-target basis.
7491 # Bootloader name. Currently used by PC target.
7492 target_bootloader
="none"
7494 #-----------------------------------------------------------------------------
7495 # Additional options for some specific targets
7497 case "$aros_target_variant" in
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7500 $as_echo_n "checking XCode path... " >&6; }
7502 # Check whether --with-xcode was given.
7503 if test "${with_xcode+set}" = set; then :
7504 withval
=$with_xcode; aros_xcode_path
="$withval"
7506 aros_xcode_path
="/Developer"
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7510 $as_echo "$aros_xcode_path" >&6; }
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7513 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7515 # Check whether --with-sdk-version was given.
7516 if test "${with_sdk_version+set}" = set; then :
7517 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7519 aros_sdk_version
="4.1"
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7523 $as_echo "$aros_sdk_version" >&6; }
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7529 $as_echo_n "checking Android SDK path... " >&6; }
7531 # Check whether --with-sdk was given.
7532 if test "${with_sdk+set}" = set; then :
7533 withval
=$with_sdk; aros_android_sdk
="$withval"
7535 aros_android_sdk
=$default_android_sdk
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7539 $as_echo "$aros_android_sdk" >&6; }
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7542 $as_echo_n "checking Android NDK path... " >&6; }
7544 # Check whether --with-ndk was given.
7545 if test "${with_ndk+set}" = set; then :
7546 withval
=$with_ndk; aros_android_ndk
="$withval"
7548 aros_android_ndk
="none"
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7552 $as_echo "$aros_android_ndk" >&6; }
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7555 $as_echo_n "checking what Android SDK version to use... " >&6; }
7557 # Check whether --with-sdk-version was given.
7558 if test "${with_sdk_version+set}" = set; then :
7559 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7561 aros_sdk_version
="12"
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7565 $as_echo "$aros_sdk_version" >&6; }
7567 if test "$aros_android_ndk" != "none"; then
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7569 $as_echo_n "checking what Android NDK version to use... " >&6; }
7571 # Check whether --with-ndk-version was given.
7572 if test "${with_ndk_version+set}" = set; then :
7573 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7575 aros_ndk_version
="9"
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7579 $as_echo "$aros_ndk_version" >&6; }
7582 export PATH
="$aros_android_sdk/tools:$PATH"
7583 # Extract the first word of "$android_tool", so it can be a program name with args.
7584 set dummy
$android_tool; ac_word
=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7586 $as_echo_n "checking for $ac_word... " >&6; }
7587 if ${ac_cv_path_android_tool+:} false
; then :
7588 $as_echo_n "(cached) " >&6
7590 case $android_tool in
7592 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7599 test -z "$as_dir" && as_dir
=.
7600 for ac_exec_ext
in '' $ac_executable_extensions; do
7601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7602 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7613 android_tool
=$ac_cv_path_android_tool
7614 if test -n "$android_tool"; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7616 $as_echo "$android_tool" >&6; }
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7619 $as_echo "no" >&6; }
7623 if test "$android_tool" = ""; then
7624 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7627 aros_android_level
=android-
$aros_sdk_version
7628 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7629 echo "Platform $aros_android_level is not installed in your SDK"
7630 echo "Use --with-sdk-version=<API level number> to select another platform version"
7631 echo "You can check what plaform versions are installed in your SDK"
7632 echo "by examining contents of $aros_android_sdk/platforms directory"
7633 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7636 # Extract the first word of "ant", so it can be a program name with args.
7637 set dummy ant
; ac_word
=$2
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7639 $as_echo_n "checking for $ac_word... " >&6; }
7640 if ${ac_cv_path_ant+:} false
; then :
7641 $as_echo_n "(cached) " >&6
7645 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7652 test -z "$as_dir" && as_dir
=.
7653 for ac_exec_ext
in '' $ac_executable_extensions; do
7654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7655 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7667 if test -n "$ant"; then
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7669 $as_echo "$ant" >&6; }
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7672 $as_echo "no" >&6; }
7676 if test "$ant" = ""; then
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7678 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7681 if test "$host_os" = "mingw32"; then
7682 android_tool
="cmd //c $android_tool"
7688 #-----------------------------------------------------------------------------
7689 # External toolchains
7690 kernel_tool_prefix
="none"
7691 aros_tool_prefix
="none"
7692 elf_tool_prefix
="${target_cpu}-elf-"
7694 # This is the target configuration switch.
7695 case "$target_os" in
7697 aros_target_arch
="linux"
7698 aros_target_family
="unix"
7699 case "$target_cpu" in
7701 aros_target_cpu
="m68k"
7702 aros_object_format
="m68kelf"
7703 aros_flavour
="emulcompat"
7704 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7705 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7706 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7707 gcc_target_cpu
="mc68000"
7710 aros_target_cpu
="i386"
7711 aros_object_format
="elf_i386"
7712 aros_flavour
="emulation"
7713 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7714 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7715 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7716 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7717 aros_config_ldflags
="-m32 -march=i486"
7718 aros_kernel_ldflags
="-melf_i386"
7719 aros_default_wbdepth
=8
7720 gcc_target_cpu
="i386"
7721 pci_hidd_target
="hidd-pci-linux"
7722 android_tool_dir_prefix
="x86"
7723 android_tool_prefix
="i686-android-linux"
7724 android_ndk_arch
="x86"
7727 aros_target_cpu
="x86_64"
7728 aros_object_format
="elf_x86_64"
7729 aros_flavour
="emulation"
7730 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7731 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7732 aros_default_wbdepth
=8
7733 pci_hidd_target
="hidd-pci-linux"
7736 aros_target_cpu
="ppc"
7737 aros_object_format
="elf32ppc"
7738 aros_flavour
="emulation"
7739 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7740 aros_default_wbdepth
=8
7741 gcc_target_cpu
="ppc"
7744 # Same as powerpc, but I need this for the nightly build to work again.
7745 # Actually, the nightly should be made working with powerpc target.
7746 # That just was too much work for the moment, another week or two.
7748 aros_target_cpu
="ppc"
7749 aros_object_format
="elf32ppc"
7750 aros_flavour
="emulation"
7751 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7752 aros_default_wbdepth
=8
7753 gcc_target_cpu
="ppc"
7756 aros_target_cpu
="arm"
7757 aros_object_format
="armelf_linux_eabi"
7758 aros_flavour
="emulation"
7759 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7760 gcc_target_cpu
="arm"
7761 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7762 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7763 aros_arch_libs
="-laeabi"
7764 android_tool_dir_prefix
="arm-linux-androideabi"
7765 android_tool_prefix
="arm-linux-androideabi"
7766 android_ndk_arch
="arm"
7767 kernel_tool_prefix
="arm-linux-gnueabi-"
7770 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7773 case "$aros_target_variant" in
7776 if test "$android_ndk_arch" = ""; then
7777 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7780 aros_default_wbwidth
=320
7781 aros_default_wbheight
=480
7782 if test "$aros_android_ndk" = "none"; then
7783 aros_kernel_cflags
="-mandroid"
7784 aros_kernel_ldflags
="-mandroid"
7787 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7788 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7789 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7790 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7791 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7792 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7795 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7796 # Disable implicit PIC mode
7797 aros_target_cflags
="$aros_target_cflags -fno-pic"
7798 kernel_tool_prefix
="$android_tool_prefix-"
7804 aros_target_arch
="pc"
7805 aros_shared_default
="no"
7806 target_bootloader
="grub2"
7807 case "$target_cpu" in
7809 aros_target_cpu
="i386"
7812 if test "$aros_object_format" = "" ; then
7813 aros_object_format
="elf_i386"
7815 aros_flavour
="standalone"
7816 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7817 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7818 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7819 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7820 aros_config_ldflags
="-m32 -march=i486"
7821 aros_kernel_ldflags
="-melf_i386"
7822 aros_default_wbwidth
=640
7823 aros_default_wbheight
=480
7824 gcc_target_cpu
="i386"
7827 aros_target_cpu
="x86_64"
7829 if test "$aros_object_format" = "" ; then
7830 aros_object_format
="elf_x86_64"
7832 aros_flavour
="standalone"
7833 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7834 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7835 aros_kernel_ldflags
=""
7836 aros_default_wbwidth
=640
7837 aros_default_wbheight
=480
7840 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7846 aros_target_arch
="prep"
7847 aros_shared_default
="no"
7848 aros_target_cpu
="ppc"
7849 aros_object_format
="elf32ppc"
7850 aros_flavour
="ppcnative"
7851 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7852 aros_kernel_ldflags
=""
7853 aros_default_wbwidth
=640
7854 aros_default_wbheight
=480
7855 gcc_target_cpu
="ppc"
7859 aros_target_arch
="freebsd"
7860 aros_target_family
="unix"
7861 aros_target_cpu
="i386"
7862 aros_flavour
="emulation"
7863 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7864 gcc_target_cpu
="i386"
7866 aros_target_strip_flags
="-x"
7870 aros_target_arch
="darwin"
7871 aros_target_family
="unix"
7872 aros_flavour
="emulation"
7873 case "$target_cpu" in
7875 aros_ios_platform
="iPhoneSimulator"
7876 aros_target_cpu
="i386"
7877 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7878 aros_kernel_ldflags
=""
7879 aros_macosx_version
="10.4"
7880 aros_default_wbdepth
=8
7881 gcc_target_cpu
="i386"
7882 aros_object_format
="elf_i386"
7883 aros_kernel_ar_flags
="-cr"
7884 aros_target_strip_flags
="-x"
7885 kernel_tool_flags
="-m32"
7888 aros_target_cpu
="x86_64"
7889 aros_object_format
="elf_x86_64"
7890 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7891 aros_macosx_version
="10.6"
7892 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7893 aros_kernel_cflags
="-m64"
7894 aros_kernel_ldflags
="-m64"
7895 aros_target_cflags
="-mcmodel=large"
7896 aros_default_wbdepth
=8
7898 aros_kernel_ar_flags
="-cr"
7900 aros_kernel_ranlib
="ranlib"
7903 aros_target_cpu
="ppc"
7904 aros_object_format
="elf32ppc"
7905 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7906 aros_kernel_ldflags
=""
7907 aros_macosx_version
="10.0"
7908 aros_default_wbdepth
=8
7909 gcc_target_cpu
="ppc"
7911 aros_kernel_ar_flags
="-cr"
7912 aros_kernel_ld
="ld -arch ppc"
7913 aros_kernel_ranlib
="ranlib -arch ppc"
7914 kernel_tool_prefix
="powerpc-apple-darwin10-"
7917 aros_ios_platform
="iPhoneOS"
7918 aros_target_cpu
="arm"
7919 aros_object_format
="armelf_linux_eabi"
7920 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7921 aros_arch_libs
="-laeabi"
7922 aros_default_wbdepth
=8
7923 gcc_target_cpu
="arm"
7925 aros_kernel_ar_flags
="-cr"
7926 aros_kernel_ld
="ld -arch arm"
7927 aros_kernel_ranlib
="ranlib -arch arm"
7928 kernel_tool_prefix
="arm-apple-darwin10-"
7929 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7932 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7935 case "$aros_target_variant" in
7937 aros_ios_version
="3.0"
7938 aros_default_wbwidth
=320
7939 aros_default_wbheight
=480
7940 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
7941 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
7942 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7944 # This is here because it may depend on iOS or SDK version
7945 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7946 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7947 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7950 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7951 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7957 aros_target_arch
="dragonfly"
7958 aros_target_family
="unix"
7959 aros_flavour
="emulation"
7960 case "$target_cpu" in
7962 aros_target_cpu
="i386"
7963 aros_object_format
="elf_i386"
7964 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7967 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7968 aros_target_cpu
="x86_64"
7969 aros_object_format
="elf_x86_64"
7970 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7973 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7979 aros_target_arch
="netbsd"
7980 aros_target_family
="unix"
7981 case "$target_cpu" in
7983 aros_target_cpu
="m68k"
7984 aros_object_format
="m68kelf"
7985 aros_flavour
="emulcompat"
7986 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7987 gcc_target_cpu
="mc68000"
7990 aros_target_cpu
="i386"
7991 aros_object_format
="elf_i386"
7992 aros_flavour
="emulation"
7993 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7994 aros_default_wbdepth
=8
7995 gcc_target_cpu
="i386"
7998 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8001 aros_target_genmap
="-Wl,-M -Xlinker >"
8002 aros_flavour
="emulation"
8003 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8007 aros_target_arch
="openbsd"
8008 aros_target_family
="unix"
8009 case "$target_cpu" in
8011 aros_target_cpu
="i386"
8012 aros_object_format
="elf_i386"
8013 aros_flavour
="emulation"
8014 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8015 gcc_target_cpu
="i386"
8018 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8021 aros_target_genmap
="-Wl,-M -Xlinker >"
8022 aros_target_nm_flags
="-u"
8023 aros_flavour
="emulation"
8027 aros_target_arch
="solaris"
8028 aros_target_family
="unix"
8029 case "$target_cpu" in
8031 aros_target_cpu
="i386"
8032 aros_object_format
="elf_i386"
8033 aros_flavour
="emulation"
8034 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8035 aros_default_wbdepth
=8
8036 gcc_target_cpu
="i386"
8039 aros_target_cpu
="sparc"
8040 aros_object_format
="elf_sparc"
8041 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8042 gcc_target_cpu
="sparc"
8045 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8048 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8049 aros_flavour
="emulation"
8053 aros_target_arch
="morphos"
8054 aros_shared_default
="no"
8055 aros_target_cpu
="ppc"
8056 aros_object_format
="elf_ppc"
8057 aros_flavour
="nativecompat"
8058 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8059 gcc_target_cpu
="ppc"
8063 aros_target_arch
="sam440"
8064 aros_shared_default
="no"
8065 aros_target_cpu
="ppc"
8066 aros_object_format
="elf32ppc"
8067 aros_flavour
="ppcnative"
8068 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8069 aros_kernel_ldflags
=""
8070 aros_default_wbwidth
=1024
8071 aros_default_wbheight
=768
8072 aros_default_wbdepth
=24
8073 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8074 gcc_target_cpu
="powerpc"
8078 aros_target_arch
="efika"
8079 aros_shared_default
="no"
8080 aros_target_cpu
="arm"
8081 aros_object_format
="armelf_linux_eabi"
8082 aros_flavour
="standalone"
8083 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8084 aros_kernel_ldflags
=""
8085 aros_default_wbwidth
=1024
8086 aros_default_wbheight
=600
8087 aros_arch_libs
="-laeabi"
8088 gcc_default_cpu
="armv7-a"
8089 gcc_default_fpu
="vfpv3"
8090 gcc_default_float_abi
="softfp"
8091 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8092 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8096 aros_target_arch
="chrp"
8097 aros_shared_default
="no"
8098 aros_target_cpu
="ppc"
8099 aros_object_format
="elf32ppc"
8100 aros_flavour
="ppcnative"
8101 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8102 aros_kernel_ldflags
=""
8103 aros_default_wbwidth
=640
8104 aros_default_wbheight
=480
8105 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8106 gcc_target_cpu
="powerpc"
8107 case "$aros_target_variant" in
8109 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8115 aros_target_arch
="amiga"
8116 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8117 aros_shared_default
="no"
8119 case "$target_cpu" in
8121 # Check whether --enable-amigaos_compliance was given.
8122 if test "${enable_amigaos_compliance+set}" = set; then :
8123 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8127 aros_target_cpu
="m68k"
8128 aros_object_format
="m68kelf"
8129 aros_flavour
="standcompat"
8130 gcc_target_cpu
="m68000"
8131 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -Os"
8132 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
8133 # Needed to get the correct multilib
8134 aros_config_ldflags
="-${gcc_target_cpu}"
8135 aros_shared_ldflags
="-${gcc_target_cpu}"
8136 aros_kernel_ldflags
="-${gcc_target_cpu}"
8137 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
8138 aros_target_strip_flags
="-R.comment --strip-debug"
8139 aros_default_wbwidth
=640
8140 aros_default_wbheight
=256
8141 aros_default_wbdepth
=2
8145 aros_flavour
="native"
8146 gcc_target_cpu
="ppc"
8149 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8155 aros_target_arch
="mingw32"
8156 aros_shared_default
="no"
8157 aros_flavour
="emulation"
8158 aros_shared_cflags
=""
8159 need_crosstools
="yes"
8162 case "$target_cpu" in
8164 aros_target_cpu
="i386"
8165 aros_object_format
="elf_i386"
8166 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8167 aros_default_wbdepth
=8
8168 gcc_target_cpu
="i386"
8170 kernel_tool_prefix
="i386-mingw32-"
8173 aros_target_cpu
="x86_64"
8174 aros_object_format
="elf_x86_64"
8175 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8176 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8177 aros_default_wbdepth
=8
8178 kernel_tool_prefix
="x86_64-w64-mingw32-"
8181 aros_target_cpu
="arm"
8182 aros_object_format
="armelf_linux_eabi"
8183 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8184 aros_arch_libs
="-laeabi"
8185 aros_default_wbdepth
=8
8186 gcc_target_cpu
="arm"
8187 gcc_default_float_abi
="soft"
8188 kernel_tool_prefix
="arm-mingw32ce-"
8189 aros_default_wbwidth
=160
8190 aros_default_wbheight
=160
8193 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8196 if test $host_os = "cygwin"; then
8197 aros_kernel_cflags
="-mno-cygwin"
8201 aros_target_arch
="pp"
8202 aros_shared_default
="no"
8203 case "$target_cpu" in
8205 aros_target_cpu
="m68k"
8206 aros_object_format
="m68kelf"
8207 aros_flavour
="palmnative"
8208 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8209 aros_default_wbwidth
=160
8210 aros_default_wbheight
=160
8211 aros_default_wbdepth
=1
8212 aros_target_ar_flags
="cru"
8213 aros_compiler_libs
="-lgcc1"
8214 aros_shared_default
=no
8215 aros_shared_cflags
="-fpic"
8216 aros_shared_aflags
=""
8217 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8218 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8219 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8220 aros_debug_aflags
=""
8221 aros_debug_ldflags
="$aros_symbols_debug"
8222 aros_mungwall_debug
="0"
8223 aros_modules_debug
="0"
8224 gcc_target_cpu
="mc68000"
8225 ignore_undefined_symbols
="-ius"
8228 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8234 aros_target_arch
="mac"
8235 aros_shared_default
="no"
8236 case "$target_cpu" in
8238 aros_target_cpu
="m68k"
8239 aros_object_format
="m68kelf"
8240 aros_flavour
="mac68knative"
8241 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8242 aros_default_wbwidth
=512
8243 aros_default_wbheight
=384
8244 aros_default_wbdepth
=8
8245 aros_target_ar_flags
="cru"
8246 aros_compiler_libs
="-lgcc1"
8247 aros_shared_default
=no
8248 aros_shared_cflags
="-fpic"
8249 aros_shared_aflags
=""
8250 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8251 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8252 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000"
8253 aros_debug_aflags
=""
8254 aros_debug_ldflags
="$aros_symbols_debug"
8255 aros_mungwall_debug
="0"
8256 aros_modules_debug
="0"
8257 gcc_target_cpu
="mc68000"
8258 ignore_undefined_symbols
="-ius"
8261 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8267 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8271 #-----------------------------------------------------------------------------
8272 crosstools_guess
=yes
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8275 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8277 # Check whether --with-kernel-toolchain-prefix was given.
8278 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8279 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8283 $as_echo "$kernel_tool_prefix" >&6; }
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8286 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8288 # Check whether --with-elf-toolchain-prefix was given.
8289 if test "${with_elf_toolchain_prefix+set}" = set; then :
8290 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8295 $as_echo "$elf_tool_prefix" >&6; }
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8298 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8300 # Check whether --with-aros-toolchain was given.
8301 if test "${with_aros_toolchain+set}" = set; then :
8302 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8306 if test "$aros_tool_prefix" = "yes" ; then
8307 aros_tool_prefix
=$aros_target_cpu-aros-
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8310 $as_echo "$aros_tool_prefix" >&6; }
8312 #-----------------------------------------------------------------------------
8313 # Checking if we should build crosstools..
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8315 $as_echo_n "checking whether to build crosstools... " >&6; }
8316 # Check whether --enable-crosstools was given.
8317 if test "${enable_crosstools+set}" = set; then :
8318 enableval
=$enable_crosstools; crosstools
="$enableval"
8320 crosstools
="$crosstools_guess"
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8324 $as_echo "$crosstools" >&6; }
8326 if test "${crosstools}" = "yes"; then
8327 if test "${crosstools_guess}" = "no"; then
8328 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8333 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8335 # Check whether --with-aros-toolchain-install was given.
8336 if test "${with_aros_toolchain_install+set}" = set; then :
8337 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8340 if test "x$aros_toolchain_install" = "x"; then
8341 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8343 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8344 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8347 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8350 # Now process extra architecture-specific options.
8351 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8352 # as well as floating-point ABI.
8353 case "$aros_target_cpu" in
8355 if test "$gcc_default_cpu" = ""; then
8356 gcc_default_cpu
="armv6"
8358 if test "$gcc_default_fpu" = ""; then
8359 gcc_default_fpu
="vfp"
8361 if test "$gcc_default_float_abi" = ""; then
8362 gcc_default_float_abi
="softfp"
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8366 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8368 # Check whether --with-cpu was given.
8369 if test "${with_cpu+set}" = set; then :
8370 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8372 aros_gcc_cpu
=$gcc_default_cpu
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8376 $as_echo "$aros_gcc_cpu" >&6; }
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8379 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8381 # Check whether --with-fpu was given.
8382 if test "${with_fpu+set}" = set; then :
8383 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8385 aros_gcc_fpu
=$gcc_default_fpu
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8389 $as_echo "$aros_gcc_fpu" >&6; }
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8392 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8394 # Check whether --with-float was given.
8395 if test "${with_float+set}" = set; then :
8396 withval
=$with_float; aros_gcc_float_abi
="$withval"
8398 aros_gcc_float_abi
=$gcc_default_float_abi
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8402 $as_echo "$aros_gcc_float_abi" >&6; }
8404 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"
8405 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"
8409 # Some formats need custom ELF specs.
8410 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8411 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8412 elf_specs_in
=config
/${aros_object_format}-specs.
in
8414 elf_specs_in
=config
/elf-specs.
in
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8418 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8420 # Check whether --with-aros-gcc was given.
8421 if test "${with_aros_gcc+set}" = set; then :
8422 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8428 $as_echo "$aros_gcc_version" >&6; }
8430 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8431 # Since we override specs, we may need to put these defines there
8432 if test "$gcc_target_cpu" != ""; then
8433 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8437 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8439 # Check whether --with-portssources was given.
8440 if test "${with_portssources+set}" = set; then :
8441 withval
=$with_portssources; with_portssrcdir
=$withval
8443 with_portssrcdir
="default"
8446 if test "$with_portssrcdir" = "default"; then
8447 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8449 AROS_PORTSSRCDIR
="$with_portssrcdir"
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8452 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8455 $as_echo_n "checking which bootloader to use... " >&6; }
8457 # Check whether --with-bootloader was given.
8458 if test "${with_bootloader+set}" = set; then :
8459 withval
=$with_bootloader; target_bootloader
=$withval
8461 target_bootloader
=$target_bootloader
8464 if test "$target_bootloader" = "none"; then
8465 aros_target_bootloader
=""
8467 aros_target_bootloader
="$target_bootloader"
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8470 $as_echo "$target_bootloader" >&6; }
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8473 $as_echo_n "checking which icon-set to use... " >&6; }
8475 # Check whether --with-iconset was given.
8476 if test "${with_iconset+set}" = set; then :
8477 withval
=$with_iconset; target_iconset
=$withval
8479 target_iconset
="default"
8482 if test "$target_iconset" = "default"; then
8483 aros_target_iconset
="Gorilla"
8484 target_iconset
="default (Gorilla)"
8486 aros_target_iconset
="$target_iconset"
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8489 $as_echo "$target_iconset" >&6; }
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8492 $as_echo_n "checking which GUI Theme to use... " >&6; }
8494 # Check whether --with-theme was given.
8495 if test "${with_theme+set}" = set; then :
8496 withval
=$with_theme; target_guitheme
=$withval
8498 target_guitheme
="default"
8501 if test "$target_guitheme" = "default"; then
8502 aros_target_guitheme
="Ice"
8504 aros_target_guitheme
="$target_guitheme"
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8507 $as_echo "$aros_target_guitheme" >&6; }
8509 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8513 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8517 if test "$aros_host_cpu" == "x86_64" ; then
8518 if test "$aros_target_cpu" == "i386" ; then
8523 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8524 if test "$aros_host_arch" != "$aros_target_arch" ; then
8528 if test "$cross_compile_native" ; then
8533 if test "$cross_compiling" = "no" ; then
8534 kernel_tool_prefix
=""
8537 #######################################################################
8538 ## Compute what toolchains to use, and their paths ##
8539 #######################################################################
8541 # This takes, as input:
8542 # crosstools {yes,no}
8543 # aros_gcc_version {default,[version]}
8544 # kernel_tool_prefix {none,[some-arch-os-]}
8545 # aros_tool_prefix ${target_cpu}-aros-
8548 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8549 # Where the 'kernel' binaries are located
8550 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8551 # Where the 'target' binaries are located
8552 # (not the symlink farm - that is aros_target_*!)
8555 # if crosstools then
8556 # if kernel_tools_prefix = "no-kernel-prefix-"
8557 # aros_kernel_* = crosstools cc paths
8558 # aros_kernel_cc = elf cc wrapper around crosstools cc
8560 # VALIDATE(${kernel_tools_prefix}*)
8561 # aros_kernel_* = ${kernel_tools_prefix}*
8562 # if ${kernel_tools_prefix}cc is an AROS gcc
8563 # aros_kernel_cc = ${kernel_tools_prefix}cc
8565 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8569 # orig_target_* = aros built crosstools
8570 # orig_target_cc = elf cc wrapper around crosstools cc
8572 # VALIDATE(${kernel_tools_prefix}*)
8574 # orig_target_* = aros_kernel_*
8575 # if aros_kernel_cc is an AROS gcc
8576 # orig_target_cc = aros_kernel_cc
8578 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8582 target_tool_prefix
="${target_cpu}-aros-"
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8585 $as_echo_n "checking which kernel tools... " >&6; }
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8587 $as_echo "$kernel_tool_prefix" >&6; };
8589 if test "$kernel_tool_prefix" = "none" ; then
8590 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8591 as_fn_error $?
"--with-kernel-tool-prefix= is required for this arch" "$LINENO" 5
8594 # Kernel tools required - find them
8595 # Note that 'normally', aros_kernel_* overrides will
8596 # empty, unless specified in the per-arch sections above.
8598 if test "$aros_kernel_cpp" = ""; then
8599 if test "$cross_compiling" = "yes" ; then
8600 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8601 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8603 $as_echo_n "checking for $ac_word... " >&6; }
8604 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8605 $as_echo_n "(cached) " >&6
8607 case $aros_kernel_cpp in
8609 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8616 test -z "$as_dir" && as_dir
=.
8617 for ac_exec_ext
in '' $ac_executable_extensions; do
8618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8619 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8630 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8631 if test -n "$aros_kernel_cpp"; then
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8633 $as_echo "$aros_kernel_cpp" >&6; }
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8636 $as_echo "no" >&6; }
8641 if test "$GCC" = "yes"; then
8642 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8643 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8644 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8646 $as_echo_n "checking for $ac_word... " >&6; }
8647 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8648 $as_echo_n "(cached) " >&6
8650 case $aros_kernel_cpp in
8652 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8656 for as_dir
in `dirname $aros_gcc_cpp`
8659 test -z "$as_dir" && as_dir
=.
8660 for ac_exec_ext
in '' $ac_executable_extensions; do
8661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8662 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8673 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8674 if test -n "$aros_kernel_cpp"; then
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8676 $as_echo "$aros_kernel_cpp" >&6; }
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8679 $as_echo "no" >&6; }
8684 if test "$aros_kernel_cpp" = ""; then
8685 # Extract the first word of "cpp", so it can be a program name with args.
8686 set dummy cpp
; ac_word
=$2
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8688 $as_echo_n "checking for $ac_word... " >&6; }
8689 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8690 $as_echo_n "(cached) " >&6
8692 case $aros_kernel_cpp in
8694 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8701 test -z "$as_dir" && as_dir
=.
8702 for ac_exec_ext
in '' $ac_executable_extensions; do
8703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8704 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8715 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8716 if test -n "$aros_kernel_cpp"; then
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8718 $as_echo "$aros_kernel_cpp" >&6; }
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8721 $as_echo "no" >&6; }
8728 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
8729 set dummy
$aros_kernel_cpp; ac_word
=$2
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8731 $as_echo_n "checking for $ac_word... " >&6; }
8732 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8733 $as_echo_n "(cached) " >&6
8735 case $aros_kernel_cpp in
8737 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8744 test -z "$as_dir" && as_dir
=.
8745 for ac_exec_ext
in '' $ac_executable_extensions; do
8746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8747 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8758 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8759 if test -n "$aros_kernel_cpp"; then
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8761 $as_echo "$aros_kernel_cpp" >&6; }
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8764 $as_echo "no" >&6; }
8770 if test "$aros_kernel_cpp" = ""; then
8771 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8773 if test "x$aros_kernel_cc" = "x"; then
8774 aros_kernel_cc
=${kernel_tool_prefix}gcc
8777 if test "$aros_kernel_cc${aros_gcc_version}" = ""; then
8778 if test "$cross_compiling" = "yes" ; then
8779 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8780 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8782 $as_echo_n "checking for $ac_word... " >&6; }
8783 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8784 $as_echo_n "(cached) " >&6
8786 case $aros_kernel_cc in
8788 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8795 test -z "$as_dir" && as_dir
=.
8796 for ac_exec_ext
in '' $ac_executable_extensions; do
8797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8798 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8809 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8810 if test -n "$aros_kernel_cc"; then
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8812 $as_echo "$aros_kernel_cc" >&6; }
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8815 $as_echo "no" >&6; }
8820 if test "$GCC" = "yes"; then
8821 aros_gcc_cc
=`$CC -print-prog-name=cc`
8822 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8823 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8825 $as_echo_n "checking for $ac_word... " >&6; }
8826 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8827 $as_echo_n "(cached) " >&6
8829 case $aros_kernel_cc in
8831 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8835 for as_dir
in `dirname $aros_gcc_cc`
8838 test -z "$as_dir" && as_dir
=.
8839 for ac_exec_ext
in '' $ac_executable_extensions; do
8840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8841 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8852 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8853 if test -n "$aros_kernel_cc"; then
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8855 $as_echo "$aros_kernel_cc" >&6; }
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8858 $as_echo "no" >&6; }
8863 if test "$aros_kernel_cc" = ""; then
8864 # Extract the first word of "cc", so it can be a program name with args.
8865 set dummy cc
; ac_word
=$2
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8867 $as_echo_n "checking for $ac_word... " >&6; }
8868 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8869 $as_echo_n "(cached) " >&6
8871 case $aros_kernel_cc in
8873 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8880 test -z "$as_dir" && as_dir
=.
8881 for ac_exec_ext
in '' $ac_executable_extensions; do
8882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8883 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8894 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8895 if test -n "$aros_kernel_cc"; then
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8897 $as_echo "$aros_kernel_cc" >&6; }
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8900 $as_echo "no" >&6; }
8907 # Extract the first word of "$aros_kernel_cc${aros_gcc_version}", so it can be a program name with args.
8908 set dummy
$aros_kernel_cc${aros_gcc_version}; ac_word
=$2
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8910 $as_echo_n "checking for $ac_word... " >&6; }
8911 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8912 $as_echo_n "(cached) " >&6
8914 case $aros_kernel_cc in
8916 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8923 test -z "$as_dir" && as_dir
=.
8924 for ac_exec_ext
in '' $ac_executable_extensions; do
8925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8926 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8937 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8938 if test -n "$aros_kernel_cc"; then
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8940 $as_echo "$aros_kernel_cc" >&6; }
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8943 $as_echo "no" >&6; }
8949 if test "$aros_kernel_cc" = ""; then
8950 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
8952 if test "x$aros_kernel_cxx" = "x"; then
8953 aros_kernel_cxx
=${kernel_tool_prefix}g
++
8956 if test "$aros_kernel_cxx${aros_gcc_version}" = ""; then
8957 if test "$cross_compiling" = "yes" ; then
8958 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
8959 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8961 $as_echo_n "checking for $ac_word... " >&6; }
8962 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
8963 $as_echo_n "(cached) " >&6
8965 case $aros_kernel_cxx in
8967 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
8970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8974 test -z "$as_dir" && as_dir
=.
8975 for ac_exec_ext
in '' $ac_executable_extensions; do
8976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8977 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
8978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8988 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
8989 if test -n "$aros_kernel_cxx"; then
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
8991 $as_echo "$aros_kernel_cxx" >&6; }
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8994 $as_echo "no" >&6; }
8999 if test "$GCC" = "yes"; then
9000 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9001 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9002 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9004 $as_echo_n "checking for $ac_word... " >&6; }
9005 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9006 $as_echo_n "(cached) " >&6
9008 case $aros_kernel_cxx in
9010 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9014 for as_dir
in `dirname $aros_gcc_cxx`
9017 test -z "$as_dir" && as_dir
=.
9018 for ac_exec_ext
in '' $ac_executable_extensions; do
9019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9020 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9031 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9032 if test -n "$aros_kernel_cxx"; then
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9034 $as_echo "$aros_kernel_cxx" >&6; }
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9037 $as_echo "no" >&6; }
9042 if test "$aros_kernel_cxx" = ""; then
9043 # Extract the first word of "cxx", so it can be a program name with args.
9044 set dummy cxx
; ac_word
=$2
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9046 $as_echo_n "checking for $ac_word... " >&6; }
9047 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9048 $as_echo_n "(cached) " >&6
9050 case $aros_kernel_cxx in
9052 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9059 test -z "$as_dir" && as_dir
=.
9060 for ac_exec_ext
in '' $ac_executable_extensions; do
9061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9062 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9073 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9074 if test -n "$aros_kernel_cxx"; then
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9076 $as_echo "$aros_kernel_cxx" >&6; }
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9079 $as_echo "no" >&6; }
9086 # Extract the first word of "$aros_kernel_cxx${aros_gcc_version}", so it can be a program name with args.
9087 set dummy
$aros_kernel_cxx${aros_gcc_version}; ac_word
=$2
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9089 $as_echo_n "checking for $ac_word... " >&6; }
9090 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9091 $as_echo_n "(cached) " >&6
9093 case $aros_kernel_cxx in
9095 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9102 test -z "$as_dir" && as_dir
=.
9103 for ac_exec_ext
in '' $ac_executable_extensions; do
9104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9105 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9116 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9117 if test -n "$aros_kernel_cxx"; then
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9119 $as_echo "$aros_kernel_cxx" >&6; }
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9122 $as_echo "no" >&6; }
9128 # If it's set, make sure it's really there
9129 if test "x$aros_kernel_cxx" != "x" ; then
9130 if test "$aros_kernel_cxx" = ""; then
9131 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9135 if test "$aros_kernel_ld" = ""; then
9136 if test "$cross_compiling" = "yes" ; then
9137 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9138 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9140 $as_echo_n "checking for $ac_word... " >&6; }
9141 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9142 $as_echo_n "(cached) " >&6
9144 case $aros_kernel_ld in
9146 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9153 test -z "$as_dir" && as_dir
=.
9154 for ac_exec_ext
in '' $ac_executable_extensions; do
9155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9156 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9167 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9168 if test -n "$aros_kernel_ld"; then
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9170 $as_echo "$aros_kernel_ld" >&6; }
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9173 $as_echo "no" >&6; }
9178 if test "$GCC" = "yes"; then
9179 aros_gcc_ld
=`$CC -print-prog-name=ld`
9180 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9181 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9183 $as_echo_n "checking for $ac_word... " >&6; }
9184 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9185 $as_echo_n "(cached) " >&6
9187 case $aros_kernel_ld in
9189 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9193 for as_dir
in `dirname $aros_gcc_ld`
9196 test -z "$as_dir" && as_dir
=.
9197 for ac_exec_ext
in '' $ac_executable_extensions; do
9198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9199 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9210 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9211 if test -n "$aros_kernel_ld"; then
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9213 $as_echo "$aros_kernel_ld" >&6; }
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9216 $as_echo "no" >&6; }
9221 if test "$aros_kernel_ld" = ""; then
9222 # Extract the first word of "ld", so it can be a program name with args.
9223 set dummy ld
; ac_word
=$2
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9225 $as_echo_n "checking for $ac_word... " >&6; }
9226 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9227 $as_echo_n "(cached) " >&6
9229 case $aros_kernel_ld in
9231 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9238 test -z "$as_dir" && as_dir
=.
9239 for ac_exec_ext
in '' $ac_executable_extensions; do
9240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9241 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9252 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9253 if test -n "$aros_kernel_ld"; then
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9255 $as_echo "$aros_kernel_ld" >&6; }
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9258 $as_echo "no" >&6; }
9265 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9266 set dummy
$aros_kernel_ld; ac_word
=$2
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9268 $as_echo_n "checking for $ac_word... " >&6; }
9269 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9270 $as_echo_n "(cached) " >&6
9272 case $aros_kernel_ld in
9274 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9281 test -z "$as_dir" && as_dir
=.
9282 for ac_exec_ext
in '' $ac_executable_extensions; do
9283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9284 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9295 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9296 if test -n "$aros_kernel_ld"; then
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9298 $as_echo "$aros_kernel_ld" >&6; }
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9301 $as_echo "no" >&6; }
9307 if test "$aros_kernel_ld" = ""; then
9308 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9311 if test "$aros_kernel_as" = ""; then
9312 if test "$cross_compiling" = "yes" ; then
9313 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9314 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9316 $as_echo_n "checking for $ac_word... " >&6; }
9317 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9318 $as_echo_n "(cached) " >&6
9320 case $aros_kernel_as in
9322 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9329 test -z "$as_dir" && as_dir
=.
9330 for ac_exec_ext
in '' $ac_executable_extensions; do
9331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9332 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9343 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9344 if test -n "$aros_kernel_as"; then
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9346 $as_echo "$aros_kernel_as" >&6; }
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9349 $as_echo "no" >&6; }
9354 if test "$GCC" = "yes"; then
9355 aros_gcc_as
=`$CC -print-prog-name=as`
9356 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9357 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9359 $as_echo_n "checking for $ac_word... " >&6; }
9360 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9361 $as_echo_n "(cached) " >&6
9363 case $aros_kernel_as in
9365 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9369 for as_dir
in `dirname $aros_gcc_as`
9372 test -z "$as_dir" && as_dir
=.
9373 for ac_exec_ext
in '' $ac_executable_extensions; do
9374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9375 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9386 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9387 if test -n "$aros_kernel_as"; then
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9389 $as_echo "$aros_kernel_as" >&6; }
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9392 $as_echo "no" >&6; }
9397 if test "$aros_kernel_as" = ""; then
9398 # Extract the first word of "as", so it can be a program name with args.
9399 set dummy as
; ac_word
=$2
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9401 $as_echo_n "checking for $ac_word... " >&6; }
9402 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9403 $as_echo_n "(cached) " >&6
9405 case $aros_kernel_as in
9407 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9414 test -z "$as_dir" && as_dir
=.
9415 for ac_exec_ext
in '' $ac_executable_extensions; do
9416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9417 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9428 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9429 if test -n "$aros_kernel_as"; then
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9431 $as_echo "$aros_kernel_as" >&6; }
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9434 $as_echo "no" >&6; }
9441 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9442 set dummy
$aros_kernel_as; ac_word
=$2
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9444 $as_echo_n "checking for $ac_word... " >&6; }
9445 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9446 $as_echo_n "(cached) " >&6
9448 case $aros_kernel_as in
9450 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9457 test -z "$as_dir" && as_dir
=.
9458 for ac_exec_ext
in '' $ac_executable_extensions; do
9459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9460 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9471 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9472 if test -n "$aros_kernel_as"; then
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9474 $as_echo "$aros_kernel_as" >&6; }
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9477 $as_echo "no" >&6; }
9483 if test "$aros_kernel_as" = ""; then
9484 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9487 if test "$aros_kernel_ar" = ""; then
9488 if test "$cross_compiling" = "yes" ; then
9489 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9490 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9492 $as_echo_n "checking for $ac_word... " >&6; }
9493 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9494 $as_echo_n "(cached) " >&6
9496 case $aros_kernel_ar in
9498 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9505 test -z "$as_dir" && as_dir
=.
9506 for ac_exec_ext
in '' $ac_executable_extensions; do
9507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9508 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9519 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9520 if test -n "$aros_kernel_ar"; then
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9522 $as_echo "$aros_kernel_ar" >&6; }
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9525 $as_echo "no" >&6; }
9530 if test "$GCC" = "yes"; then
9531 aros_gcc_ar
=`$CC -print-prog-name=ar`
9532 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9533 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9535 $as_echo_n "checking for $ac_word... " >&6; }
9536 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9537 $as_echo_n "(cached) " >&6
9539 case $aros_kernel_ar in
9541 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9545 for as_dir
in `dirname $aros_gcc_ar`
9548 test -z "$as_dir" && as_dir
=.
9549 for ac_exec_ext
in '' $ac_executable_extensions; do
9550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9551 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9562 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9563 if test -n "$aros_kernel_ar"; then
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9565 $as_echo "$aros_kernel_ar" >&6; }
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9568 $as_echo "no" >&6; }
9573 if test "$aros_kernel_ar" = ""; then
9574 # Extract the first word of "ar", so it can be a program name with args.
9575 set dummy
ar; ac_word
=$2
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9577 $as_echo_n "checking for $ac_word... " >&6; }
9578 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9579 $as_echo_n "(cached) " >&6
9581 case $aros_kernel_ar in
9583 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9590 test -z "$as_dir" && as_dir
=.
9591 for ac_exec_ext
in '' $ac_executable_extensions; do
9592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9593 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9604 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9605 if test -n "$aros_kernel_ar"; then
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9607 $as_echo "$aros_kernel_ar" >&6; }
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9610 $as_echo "no" >&6; }
9617 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9618 set dummy
$aros_kernel_ar; ac_word
=$2
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9620 $as_echo_n "checking for $ac_word... " >&6; }
9621 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9622 $as_echo_n "(cached) " >&6
9624 case $aros_kernel_ar in
9626 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9633 test -z "$as_dir" && as_dir
=.
9634 for ac_exec_ext
in '' $ac_executable_extensions; do
9635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9636 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9647 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9648 if test -n "$aros_kernel_ar"; then
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9650 $as_echo "$aros_kernel_ar" >&6; }
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9653 $as_echo "no" >&6; }
9659 if test "$aros_kernel_ar" = ""; then
9660 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9663 if test "$aros_kernel_ranlib" = ""; then
9664 if test "$cross_compiling" = "yes" ; then
9665 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9666 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9668 $as_echo_n "checking for $ac_word... " >&6; }
9669 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9670 $as_echo_n "(cached) " >&6
9672 case $aros_kernel_ranlib in
9674 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9681 test -z "$as_dir" && as_dir
=.
9682 for ac_exec_ext
in '' $ac_executable_extensions; do
9683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9684 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9695 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9696 if test -n "$aros_kernel_ranlib"; then
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9698 $as_echo "$aros_kernel_ranlib" >&6; }
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9701 $as_echo "no" >&6; }
9706 if test "$GCC" = "yes"; then
9707 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9708 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9709 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9711 $as_echo_n "checking for $ac_word... " >&6; }
9712 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9713 $as_echo_n "(cached) " >&6
9715 case $aros_kernel_ranlib in
9717 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9721 for as_dir
in `dirname $aros_gcc_ranlib`
9724 test -z "$as_dir" && as_dir
=.
9725 for ac_exec_ext
in '' $ac_executable_extensions; do
9726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9727 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9738 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9739 if test -n "$aros_kernel_ranlib"; then
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9741 $as_echo "$aros_kernel_ranlib" >&6; }
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9744 $as_echo "no" >&6; }
9749 if test "$aros_kernel_ranlib" = ""; then
9750 # Extract the first word of "ranlib", so it can be a program name with args.
9751 set dummy ranlib
; ac_word
=$2
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9753 $as_echo_n "checking for $ac_word... " >&6; }
9754 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9755 $as_echo_n "(cached) " >&6
9757 case $aros_kernel_ranlib in
9759 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9766 test -z "$as_dir" && as_dir
=.
9767 for ac_exec_ext
in '' $ac_executable_extensions; do
9768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9769 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9780 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9781 if test -n "$aros_kernel_ranlib"; then
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9783 $as_echo "$aros_kernel_ranlib" >&6; }
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9786 $as_echo "no" >&6; }
9793 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9794 set dummy
$aros_kernel_ranlib; ac_word
=$2
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9796 $as_echo_n "checking for $ac_word... " >&6; }
9797 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9798 $as_echo_n "(cached) " >&6
9800 case $aros_kernel_ranlib in
9802 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9809 test -z "$as_dir" && as_dir
=.
9810 for ac_exec_ext
in '' $ac_executable_extensions; do
9811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9812 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9823 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9824 if test -n "$aros_kernel_ranlib"; then
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9826 $as_echo "$aros_kernel_ranlib" >&6; }
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9829 $as_echo "no" >&6; }
9835 if test "$aros_kernel_ranlib" = ""; then
9836 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9839 if test "$aros_kernel_nm" = ""; then
9840 if test "$cross_compiling" = "yes" ; then
9841 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9842 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9844 $as_echo_n "checking for $ac_word... " >&6; }
9845 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9846 $as_echo_n "(cached) " >&6
9848 case $aros_kernel_nm in
9850 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9857 test -z "$as_dir" && as_dir
=.
9858 for ac_exec_ext
in '' $ac_executable_extensions; do
9859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9860 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9871 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9872 if test -n "$aros_kernel_nm"; then
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9874 $as_echo "$aros_kernel_nm" >&6; }
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9877 $as_echo "no" >&6; }
9882 if test "$GCC" = "yes"; then
9883 aros_gcc_nm
=`$CC -print-prog-name=nm`
9884 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9885 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9887 $as_echo_n "checking for $ac_word... " >&6; }
9888 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9889 $as_echo_n "(cached) " >&6
9891 case $aros_kernel_nm in
9893 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9897 for as_dir
in `dirname $aros_gcc_nm`
9900 test -z "$as_dir" && as_dir
=.
9901 for ac_exec_ext
in '' $ac_executable_extensions; do
9902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9903 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9914 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9915 if test -n "$aros_kernel_nm"; then
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9917 $as_echo "$aros_kernel_nm" >&6; }
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9920 $as_echo "no" >&6; }
9925 if test "$aros_kernel_nm" = ""; then
9926 # Extract the first word of "nm", so it can be a program name with args.
9927 set dummy nm
; ac_word
=$2
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9929 $as_echo_n "checking for $ac_word... " >&6; }
9930 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9931 $as_echo_n "(cached) " >&6
9933 case $aros_kernel_nm in
9935 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9942 test -z "$as_dir" && as_dir
=.
9943 for ac_exec_ext
in '' $ac_executable_extensions; do
9944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9945 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9956 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9957 if test -n "$aros_kernel_nm"; then
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9959 $as_echo "$aros_kernel_nm" >&6; }
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9962 $as_echo "no" >&6; }
9969 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
9970 set dummy
$aros_kernel_nm; ac_word
=$2
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9972 $as_echo_n "checking for $ac_word... " >&6; }
9973 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9974 $as_echo_n "(cached) " >&6
9976 case $aros_kernel_nm in
9978 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9985 test -z "$as_dir" && as_dir
=.
9986 for ac_exec_ext
in '' $ac_executable_extensions; do
9987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9988 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9999 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10000 if test -n "$aros_kernel_nm"; then
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10002 $as_echo "$aros_kernel_nm" >&6; }
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10005 $as_echo "no" >&6; }
10011 if test "$aros_kernel_nm" = ""; then
10012 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10015 if test "$aros_kernel_strip" = ""; then
10016 if test "$cross_compiling" = "yes" ; then
10017 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10018 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10020 $as_echo_n "checking for $ac_word... " >&6; }
10021 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10022 $as_echo_n "(cached) " >&6
10024 case $aros_kernel_strip in
10026 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10030 for as_dir
in $PATH
10033 test -z "$as_dir" && as_dir
=.
10034 for ac_exec_ext
in '' $ac_executable_extensions; do
10035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10036 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10047 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10048 if test -n "$aros_kernel_strip"; then
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10050 $as_echo "$aros_kernel_strip" >&6; }
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10053 $as_echo "no" >&6; }
10058 if test "$GCC" = "yes"; then
10059 aros_gcc_strip
=`$CC -print-prog-name=strip`
10060 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10061 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10063 $as_echo_n "checking for $ac_word... " >&6; }
10064 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10065 $as_echo_n "(cached) " >&6
10067 case $aros_kernel_strip in
10069 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10073 for as_dir
in `dirname $aros_gcc_strip`
10076 test -z "$as_dir" && as_dir
=.
10077 for ac_exec_ext
in '' $ac_executable_extensions; do
10078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10079 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10090 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10091 if test -n "$aros_kernel_strip"; then
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10093 $as_echo "$aros_kernel_strip" >&6; }
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10096 $as_echo "no" >&6; }
10101 if test "$aros_kernel_strip" = ""; then
10102 # Extract the first word of "strip", so it can be a program name with args.
10103 set dummy strip
; ac_word
=$2
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10105 $as_echo_n "checking for $ac_word... " >&6; }
10106 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10107 $as_echo_n "(cached) " >&6
10109 case $aros_kernel_strip in
10111 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10115 for as_dir
in $PATH
10118 test -z "$as_dir" && as_dir
=.
10119 for ac_exec_ext
in '' $ac_executable_extensions; do
10120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10121 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10132 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10133 if test -n "$aros_kernel_strip"; then
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10135 $as_echo "$aros_kernel_strip" >&6; }
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10138 $as_echo "no" >&6; }
10145 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10146 set dummy
$aros_kernel_strip; ac_word
=$2
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10148 $as_echo_n "checking for $ac_word... " >&6; }
10149 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10150 $as_echo_n "(cached) " >&6
10152 case $aros_kernel_strip in
10154 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10158 for as_dir
in $PATH
10161 test -z "$as_dir" && as_dir
=.
10162 for ac_exec_ext
in '' $ac_executable_extensions; do
10163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10164 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10175 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10176 if test -n "$aros_kernel_strip"; then
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10178 $as_echo "$aros_kernel_strip" >&6; }
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10181 $as_echo "no" >&6; }
10187 if test "$aros_kernel_strip" = ""; then
10188 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10191 # Objcopy and objdump are not required for the kernel
10192 # toolchain on many architectures.
10193 # So we'll look for them, but not make them strictly required.
10195 if test "$aros_kernel_objcopy" = ""; then
10196 if test "$cross_compiling" = "yes" ; then
10197 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10198 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10200 $as_echo_n "checking for $ac_word... " >&6; }
10201 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10202 $as_echo_n "(cached) " >&6
10204 case $aros_kernel_objcopy in
10206 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10210 for as_dir
in $PATH
10213 test -z "$as_dir" && as_dir
=.
10214 for ac_exec_ext
in '' $ac_executable_extensions; do
10215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10216 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10227 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10228 if test -n "$aros_kernel_objcopy"; then
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10230 $as_echo "$aros_kernel_objcopy" >&6; }
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10233 $as_echo "no" >&6; }
10238 if test "$GCC" = "yes"; then
10239 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10240 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10241 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10243 $as_echo_n "checking for $ac_word... " >&6; }
10244 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10245 $as_echo_n "(cached) " >&6
10247 case $aros_kernel_objcopy in
10249 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10253 for as_dir
in `dirname $aros_gcc_objcopy`
10256 test -z "$as_dir" && as_dir
=.
10257 for ac_exec_ext
in '' $ac_executable_extensions; do
10258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10259 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10270 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10271 if test -n "$aros_kernel_objcopy"; then
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10273 $as_echo "$aros_kernel_objcopy" >&6; }
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10276 $as_echo "no" >&6; }
10281 if test "$aros_kernel_objcopy" = ""; then
10282 # Extract the first word of "objcopy", so it can be a program name with args.
10283 set dummy objcopy
; ac_word
=$2
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10285 $as_echo_n "checking for $ac_word... " >&6; }
10286 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10287 $as_echo_n "(cached) " >&6
10289 case $aros_kernel_objcopy in
10291 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10295 for as_dir
in $PATH
10298 test -z "$as_dir" && as_dir
=.
10299 for ac_exec_ext
in '' $ac_executable_extensions; do
10300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10301 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10312 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10313 if test -n "$aros_kernel_objcopy"; then
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10315 $as_echo "$aros_kernel_objcopy" >&6; }
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10318 $as_echo "no" >&6; }
10325 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10326 set dummy
$aros_kernel_objcopy; ac_word
=$2
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10328 $as_echo_n "checking for $ac_word... " >&6; }
10329 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10330 $as_echo_n "(cached) " >&6
10332 case $aros_kernel_objcopy in
10334 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10338 for as_dir
in $PATH
10341 test -z "$as_dir" && as_dir
=.
10342 for ac_exec_ext
in '' $ac_executable_extensions; do
10343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10344 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10355 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10356 if test -n "$aros_kernel_objcopy"; then
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10358 $as_echo "$aros_kernel_objcopy" >&6; }
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10361 $as_echo "no" >&6; }
10368 if test "$aros_kernel_objdump" = ""; then
10369 if test "$cross_compiling" = "yes" ; then
10370 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10371 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10373 $as_echo_n "checking for $ac_word... " >&6; }
10374 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10375 $as_echo_n "(cached) " >&6
10377 case $aros_kernel_objdump in
10379 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10383 for as_dir
in $PATH
10386 test -z "$as_dir" && as_dir
=.
10387 for ac_exec_ext
in '' $ac_executable_extensions; do
10388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10389 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10400 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10401 if test -n "$aros_kernel_objdump"; then
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10403 $as_echo "$aros_kernel_objdump" >&6; }
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10406 $as_echo "no" >&6; }
10411 if test "$GCC" = "yes"; then
10412 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10413 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10414 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10416 $as_echo_n "checking for $ac_word... " >&6; }
10417 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10418 $as_echo_n "(cached) " >&6
10420 case $aros_kernel_objdump in
10422 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10426 for as_dir
in `dirname $aros_gcc_objdump`
10429 test -z "$as_dir" && as_dir
=.
10430 for ac_exec_ext
in '' $ac_executable_extensions; do
10431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10432 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10443 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10444 if test -n "$aros_kernel_objdump"; then
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10446 $as_echo "$aros_kernel_objdump" >&6; }
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10449 $as_echo "no" >&6; }
10454 if test "$aros_kernel_objdump" = ""; then
10455 # Extract the first word of "objdump", so it can be a program name with args.
10456 set dummy objdump
; ac_word
=$2
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10458 $as_echo_n "checking for $ac_word... " >&6; }
10459 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10460 $as_echo_n "(cached) " >&6
10462 case $aros_kernel_objdump in
10464 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10468 for as_dir
in $PATH
10471 test -z "$as_dir" && as_dir
=.
10472 for ac_exec_ext
in '' $ac_executable_extensions; do
10473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10474 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10485 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10486 if test -n "$aros_kernel_objdump"; then
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10488 $as_echo "$aros_kernel_objdump" >&6; }
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10491 $as_echo "no" >&6; }
10498 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10499 set dummy
$aros_kernel_objdump; ac_word
=$2
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10501 $as_echo_n "checking for $ac_word... " >&6; }
10502 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10503 $as_echo_n "(cached) " >&6
10505 case $aros_kernel_objdump in
10507 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10511 for as_dir
in $PATH
10514 test -z "$as_dir" && as_dir
=.
10515 for ac_exec_ext
in '' $ac_executable_extensions; do
10516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10517 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10528 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10529 if test -n "$aros_kernel_objdump"; then
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10531 $as_echo "$aros_kernel_objdump" >&6; }
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10534 $as_echo "no" >&6; }
10540 if test "x${crosstools}" != "xyes" ; then
10541 if test "$aros_kernel_objcopy" = ""; then
10542 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10544 if test "$aros_kernel_objdump" = ""; then
10545 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10551 $as_echo_n "checking which target tools to use... " >&6; }
10552 if test "$crosstools" = "yes"; then
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10554 $as_echo "$target_tool_prefix" >&6; }
10555 # We are are building AROS crosstools
10556 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10557 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10558 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10559 orig_target_cpp
="${tmp_tool_prefix}cpp"
10560 orig_target_ld
="${tmp_tool_prefix}ld"
10561 orig_target_as
="${tmp_tool_prefix}as"
10562 orig_target_ar
="${tmp_tool_prefix}ar"
10563 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10564 orig_target_nm
="${tmp_tool_prefix}nm"
10565 orig_target_strip
="${tmp_tool_prefix}strip"
10566 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10567 orig_target_objdump
="${tmp_tool_prefix}objdump"
10569 # Determine whether AROS or ELF tools should be used
10570 if test "$aros_tool_prefix" = "none"; then
10571 aros_tool_prefix
="${elf_tool_prefix}"
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10575 $as_echo "$aros_tool_prefix" >&6; }
10576 # We are *not* building AROS crosstools - use the AROS or ELF tools
10578 if test "${aros_tool_prefix}cpp" = ""; then
10579 if test "$cross_compiling" = "yes" ; then
10580 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10581 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10583 $as_echo_n "checking for $ac_word... " >&6; }
10584 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10585 $as_echo_n "(cached) " >&6
10587 case $orig_target_cpp in
10589 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10593 for as_dir
in $PATH
10596 test -z "$as_dir" && as_dir
=.
10597 for ac_exec_ext
in '' $ac_executable_extensions; do
10598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10599 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10610 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10611 if test -n "$orig_target_cpp"; then
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10613 $as_echo "$orig_target_cpp" >&6; }
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10616 $as_echo "no" >&6; }
10621 if test "$GCC" = "yes"; then
10622 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10623 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10624 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10626 $as_echo_n "checking for $ac_word... " >&6; }
10627 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10628 $as_echo_n "(cached) " >&6
10630 case $orig_target_cpp in
10632 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10636 for as_dir
in `dirname $aros_gcc_cpp`
10639 test -z "$as_dir" && as_dir
=.
10640 for ac_exec_ext
in '' $ac_executable_extensions; do
10641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10642 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10653 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10654 if test -n "$orig_target_cpp"; then
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10656 $as_echo "$orig_target_cpp" >&6; }
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10659 $as_echo "no" >&6; }
10664 if test "$orig_target_cpp" = ""; then
10665 # Extract the first word of "cpp", so it can be a program name with args.
10666 set dummy cpp
; ac_word
=$2
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10668 $as_echo_n "checking for $ac_word... " >&6; }
10669 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10670 $as_echo_n "(cached) " >&6
10672 case $orig_target_cpp in
10674 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10678 for as_dir
in $PATH
10681 test -z "$as_dir" && as_dir
=.
10682 for ac_exec_ext
in '' $ac_executable_extensions; do
10683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10684 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10695 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10696 if test -n "$orig_target_cpp"; then
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10698 $as_echo "$orig_target_cpp" >&6; }
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10701 $as_echo "no" >&6; }
10708 # Extract the first word of "${aros_tool_prefix}cpp", so it can be a program name with args.
10709 set dummy
${aros_tool_prefix}cpp
; ac_word
=$2
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10711 $as_echo_n "checking for $ac_word... " >&6; }
10712 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10713 $as_echo_n "(cached) " >&6
10715 case $orig_target_cpp in
10717 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10721 for as_dir
in $PATH
10724 test -z "$as_dir" && as_dir
=.
10725 for ac_exec_ext
in '' $ac_executable_extensions; do
10726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10727 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10738 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10739 if test -n "$orig_target_cpp"; then
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10741 $as_echo "$orig_target_cpp" >&6; }
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10744 $as_echo "no" >&6; }
10750 if test "$orig_target_cpp" = ""; then
10751 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10754 if test "${aros_tool_prefix}gcc" = ""; then
10755 if test "$cross_compiling" = "yes" ; then
10756 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10757 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10759 $as_echo_n "checking for $ac_word... " >&6; }
10760 if ${ac_cv_path_orig_target_cc+:} false
; then :
10761 $as_echo_n "(cached) " >&6
10763 case $orig_target_cc in
10765 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10769 for as_dir
in $PATH
10772 test -z "$as_dir" && as_dir
=.
10773 for ac_exec_ext
in '' $ac_executable_extensions; do
10774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10775 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10786 orig_target_cc
=$ac_cv_path_orig_target_cc
10787 if test -n "$orig_target_cc"; then
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10789 $as_echo "$orig_target_cc" >&6; }
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10792 $as_echo "no" >&6; }
10797 if test "$GCC" = "yes"; then
10798 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10799 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10800 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10802 $as_echo_n "checking for $ac_word... " >&6; }
10803 if ${ac_cv_path_orig_target_cc+:} false
; then :
10804 $as_echo_n "(cached) " >&6
10806 case $orig_target_cc in
10808 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10812 for as_dir
in `dirname $aros_gcc_gcc`
10815 test -z "$as_dir" && as_dir
=.
10816 for ac_exec_ext
in '' $ac_executable_extensions; do
10817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10818 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10829 orig_target_cc
=$ac_cv_path_orig_target_cc
10830 if test -n "$orig_target_cc"; then
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10832 $as_echo "$orig_target_cc" >&6; }
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10835 $as_echo "no" >&6; }
10840 if test "$orig_target_cc" = ""; then
10841 # Extract the first word of "gcc", so it can be a program name with args.
10842 set dummy gcc
; ac_word
=$2
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10844 $as_echo_n "checking for $ac_word... " >&6; }
10845 if ${ac_cv_path_orig_target_cc+:} false
; then :
10846 $as_echo_n "(cached) " >&6
10848 case $orig_target_cc in
10850 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10854 for as_dir
in $PATH
10857 test -z "$as_dir" && as_dir
=.
10858 for ac_exec_ext
in '' $ac_executable_extensions; do
10859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10860 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10871 orig_target_cc
=$ac_cv_path_orig_target_cc
10872 if test -n "$orig_target_cc"; then
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10874 $as_echo "$orig_target_cc" >&6; }
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10877 $as_echo "no" >&6; }
10884 # Extract the first word of "${aros_tool_prefix}gcc", so it can be a program name with args.
10885 set dummy
${aros_tool_prefix}gcc
; ac_word
=$2
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10887 $as_echo_n "checking for $ac_word... " >&6; }
10888 if ${ac_cv_path_orig_target_cc+:} false
; then :
10889 $as_echo_n "(cached) " >&6
10891 case $orig_target_cc in
10893 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10897 for as_dir
in $PATH
10900 test -z "$as_dir" && as_dir
=.
10901 for ac_exec_ext
in '' $ac_executable_extensions; do
10902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10903 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10914 orig_target_cc
=$ac_cv_path_orig_target_cc
10915 if test -n "$orig_target_cc"; then
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10917 $as_echo "$orig_target_cc" >&6; }
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10920 $as_echo "no" >&6; }
10926 if test "$orig_target_cc" = ""; then
10927 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
10929 if test "x$orig_target_cxx" != "x" ; then
10931 if test "${aros_tool_prefix}g++" = ""; then
10932 if test "$cross_compiling" = "yes" ; then
10933 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
10934 set dummy
${target_tool_prefix}g
++; ac_word
=$2
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10936 $as_echo_n "checking for $ac_word... " >&6; }
10937 if ${ac_cv_path_orig_target_cxx+:} false
; then :
10938 $as_echo_n "(cached) " >&6
10940 case $orig_target_cxx in
10942 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
10945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10946 for as_dir
in $PATH
10949 test -z "$as_dir" && as_dir
=.
10950 for ac_exec_ext
in '' $ac_executable_extensions; do
10951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10952 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
10953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10963 orig_target_cxx
=$ac_cv_path_orig_target_cxx
10964 if test -n "$orig_target_cxx"; then
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
10966 $as_echo "$orig_target_cxx" >&6; }
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10969 $as_echo "no" >&6; }
10974 if test "$GCC" = "yes"; then
10975 aros_gcc_g
++=`$CC -print-prog-name=g++`
10976 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
10977 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10979 $as_echo_n "checking for $ac_word... " >&6; }
10980 if ${ac_cv_path_orig_target_cxx+:} false
; then :
10981 $as_echo_n "(cached) " >&6
10983 case $orig_target_cxx in
10985 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
10988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10989 for as_dir
in `dirname $aros_gcc_g++`
10992 test -z "$as_dir" && as_dir
=.
10993 for ac_exec_ext
in '' $ac_executable_extensions; do
10994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10995 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
10996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11006 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11007 if test -n "$orig_target_cxx"; then
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11009 $as_echo "$orig_target_cxx" >&6; }
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11012 $as_echo "no" >&6; }
11017 if test "$orig_target_cxx" = ""; then
11018 # Extract the first word of "g++", so it can be a program name with args.
11019 set dummy g
++; ac_word
=$2
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11021 $as_echo_n "checking for $ac_word... " >&6; }
11022 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11023 $as_echo_n "(cached) " >&6
11025 case $orig_target_cxx in
11027 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11031 for as_dir
in $PATH
11034 test -z "$as_dir" && as_dir
=.
11035 for ac_exec_ext
in '' $ac_executable_extensions; do
11036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11037 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11048 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11049 if test -n "$orig_target_cxx"; then
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11051 $as_echo "$orig_target_cxx" >&6; }
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11054 $as_echo "no" >&6; }
11061 # Extract the first word of "${aros_tool_prefix}g++", so it can be a program name with args.
11062 set dummy
${aros_tool_prefix}g
++; ac_word
=$2
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11064 $as_echo_n "checking for $ac_word... " >&6; }
11065 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11066 $as_echo_n "(cached) " >&6
11068 case $orig_target_cxx in
11070 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11074 for as_dir
in $PATH
11077 test -z "$as_dir" && as_dir
=.
11078 for ac_exec_ext
in '' $ac_executable_extensions; do
11079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11080 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11091 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11092 if test -n "$orig_target_cxx"; then
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11094 $as_echo "$orig_target_cxx" >&6; }
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11097 $as_echo "no" >&6; }
11103 if test "$orig_target_cxx" = ""; then
11104 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11108 if test "${aros_tool_prefix}ld" = ""; then
11109 if test "$cross_compiling" = "yes" ; then
11110 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11111 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11113 $as_echo_n "checking for $ac_word... " >&6; }
11114 if ${ac_cv_path_orig_target_ld+:} false
; then :
11115 $as_echo_n "(cached) " >&6
11117 case $orig_target_ld in
11119 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11123 for as_dir
in $PATH
11126 test -z "$as_dir" && as_dir
=.
11127 for ac_exec_ext
in '' $ac_executable_extensions; do
11128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11129 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11140 orig_target_ld
=$ac_cv_path_orig_target_ld
11141 if test -n "$orig_target_ld"; then
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11143 $as_echo "$orig_target_ld" >&6; }
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11146 $as_echo "no" >&6; }
11151 if test "$GCC" = "yes"; then
11152 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11153 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11154 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11156 $as_echo_n "checking for $ac_word... " >&6; }
11157 if ${ac_cv_path_orig_target_ld+:} false
; then :
11158 $as_echo_n "(cached) " >&6
11160 case $orig_target_ld in
11162 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11166 for as_dir
in `dirname $aros_gcc_gcc`
11169 test -z "$as_dir" && as_dir
=.
11170 for ac_exec_ext
in '' $ac_executable_extensions; do
11171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11172 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11183 orig_target_ld
=$ac_cv_path_orig_target_ld
11184 if test -n "$orig_target_ld"; then
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11186 $as_echo "$orig_target_ld" >&6; }
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11189 $as_echo "no" >&6; }
11194 if test "$orig_target_ld" = ""; then
11195 # Extract the first word of "gcc", so it can be a program name with args.
11196 set dummy gcc
; ac_word
=$2
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11198 $as_echo_n "checking for $ac_word... " >&6; }
11199 if ${ac_cv_path_orig_target_ld+:} false
; then :
11200 $as_echo_n "(cached) " >&6
11202 case $orig_target_ld in
11204 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11208 for as_dir
in $PATH
11211 test -z "$as_dir" && as_dir
=.
11212 for ac_exec_ext
in '' $ac_executable_extensions; do
11213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11214 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11225 orig_target_ld
=$ac_cv_path_orig_target_ld
11226 if test -n "$orig_target_ld"; then
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11228 $as_echo "$orig_target_ld" >&6; }
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11231 $as_echo "no" >&6; }
11238 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11239 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11241 $as_echo_n "checking for $ac_word... " >&6; }
11242 if ${ac_cv_path_orig_target_ld+:} false
; then :
11243 $as_echo_n "(cached) " >&6
11245 case $orig_target_ld in
11247 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11251 for as_dir
in $PATH
11254 test -z "$as_dir" && as_dir
=.
11255 for ac_exec_ext
in '' $ac_executable_extensions; do
11256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11257 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11268 orig_target_ld
=$ac_cv_path_orig_target_ld
11269 if test -n "$orig_target_ld"; then
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11271 $as_echo "$orig_target_ld" >&6; }
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11274 $as_echo "no" >&6; }
11280 if test "$orig_target_ld" = ""; then
11281 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11284 if test "${aros_tool_prefix}as" = ""; then
11285 if test "$cross_compiling" = "yes" ; then
11286 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11287 set dummy
${target_tool_prefix}as
; ac_word
=$2
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11289 $as_echo_n "checking for $ac_word... " >&6; }
11290 if ${ac_cv_path_orig_target_as+:} false
; then :
11291 $as_echo_n "(cached) " >&6
11293 case $orig_target_as in
11295 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11299 for as_dir
in $PATH
11302 test -z "$as_dir" && as_dir
=.
11303 for ac_exec_ext
in '' $ac_executable_extensions; do
11304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11305 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11316 orig_target_as
=$ac_cv_path_orig_target_as
11317 if test -n "$orig_target_as"; then
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11319 $as_echo "$orig_target_as" >&6; }
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11322 $as_echo "no" >&6; }
11327 if test "$GCC" = "yes"; then
11328 aros_gcc_as
=`$CC -print-prog-name=as`
11329 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11330 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11332 $as_echo_n "checking for $ac_word... " >&6; }
11333 if ${ac_cv_path_orig_target_as+:} false
; then :
11334 $as_echo_n "(cached) " >&6
11336 case $orig_target_as in
11338 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11342 for as_dir
in `dirname $aros_gcc_as`
11345 test -z "$as_dir" && as_dir
=.
11346 for ac_exec_ext
in '' $ac_executable_extensions; do
11347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11348 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11359 orig_target_as
=$ac_cv_path_orig_target_as
11360 if test -n "$orig_target_as"; then
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11362 $as_echo "$orig_target_as" >&6; }
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11365 $as_echo "no" >&6; }
11370 if test "$orig_target_as" = ""; then
11371 # Extract the first word of "as", so it can be a program name with args.
11372 set dummy as
; ac_word
=$2
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11374 $as_echo_n "checking for $ac_word... " >&6; }
11375 if ${ac_cv_path_orig_target_as+:} false
; then :
11376 $as_echo_n "(cached) " >&6
11378 case $orig_target_as in
11380 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11384 for as_dir
in $PATH
11387 test -z "$as_dir" && as_dir
=.
11388 for ac_exec_ext
in '' $ac_executable_extensions; do
11389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11390 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11401 orig_target_as
=$ac_cv_path_orig_target_as
11402 if test -n "$orig_target_as"; then
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11404 $as_echo "$orig_target_as" >&6; }
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11407 $as_echo "no" >&6; }
11414 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11415 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11417 $as_echo_n "checking for $ac_word... " >&6; }
11418 if ${ac_cv_path_orig_target_as+:} false
; then :
11419 $as_echo_n "(cached) " >&6
11421 case $orig_target_as in
11423 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11427 for as_dir
in $PATH
11430 test -z "$as_dir" && as_dir
=.
11431 for ac_exec_ext
in '' $ac_executable_extensions; do
11432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11433 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11444 orig_target_as
=$ac_cv_path_orig_target_as
11445 if test -n "$orig_target_as"; then
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11447 $as_echo "$orig_target_as" >&6; }
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11450 $as_echo "no" >&6; }
11456 if test "$orig_target_as" = ""; then
11457 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11460 if test "${aros_tool_prefix}ar" = ""; then
11461 if test "$cross_compiling" = "yes" ; then
11462 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11463 set dummy
${target_tool_prefix}ar; ac_word
=$2
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11465 $as_echo_n "checking for $ac_word... " >&6; }
11466 if ${ac_cv_path_orig_target_ar+:} false
; then :
11467 $as_echo_n "(cached) " >&6
11469 case $orig_target_ar in
11471 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11475 for as_dir
in $PATH
11478 test -z "$as_dir" && as_dir
=.
11479 for ac_exec_ext
in '' $ac_executable_extensions; do
11480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11481 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11492 orig_target_ar
=$ac_cv_path_orig_target_ar
11493 if test -n "$orig_target_ar"; then
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11495 $as_echo "$orig_target_ar" >&6; }
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11498 $as_echo "no" >&6; }
11503 if test "$GCC" = "yes"; then
11504 aros_gcc_ar
=`$CC -print-prog-name=ar`
11505 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11506 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11508 $as_echo_n "checking for $ac_word... " >&6; }
11509 if ${ac_cv_path_orig_target_ar+:} false
; then :
11510 $as_echo_n "(cached) " >&6
11512 case $orig_target_ar in
11514 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11518 for as_dir
in `dirname $aros_gcc_ar`
11521 test -z "$as_dir" && as_dir
=.
11522 for ac_exec_ext
in '' $ac_executable_extensions; do
11523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11524 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11535 orig_target_ar
=$ac_cv_path_orig_target_ar
11536 if test -n "$orig_target_ar"; then
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11538 $as_echo "$orig_target_ar" >&6; }
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11541 $as_echo "no" >&6; }
11546 if test "$orig_target_ar" = ""; then
11547 # Extract the first word of "ar", so it can be a program name with args.
11548 set dummy
ar; ac_word
=$2
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11550 $as_echo_n "checking for $ac_word... " >&6; }
11551 if ${ac_cv_path_orig_target_ar+:} false
; then :
11552 $as_echo_n "(cached) " >&6
11554 case $orig_target_ar in
11556 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11560 for as_dir
in $PATH
11563 test -z "$as_dir" && as_dir
=.
11564 for ac_exec_ext
in '' $ac_executable_extensions; do
11565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11566 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11577 orig_target_ar
=$ac_cv_path_orig_target_ar
11578 if test -n "$orig_target_ar"; then
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11580 $as_echo "$orig_target_ar" >&6; }
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11583 $as_echo "no" >&6; }
11590 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11591 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11593 $as_echo_n "checking for $ac_word... " >&6; }
11594 if ${ac_cv_path_orig_target_ar+:} false
; then :
11595 $as_echo_n "(cached) " >&6
11597 case $orig_target_ar in
11599 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11603 for as_dir
in $PATH
11606 test -z "$as_dir" && as_dir
=.
11607 for ac_exec_ext
in '' $ac_executable_extensions; do
11608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11609 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11620 orig_target_ar
=$ac_cv_path_orig_target_ar
11621 if test -n "$orig_target_ar"; then
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11623 $as_echo "$orig_target_ar" >&6; }
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11626 $as_echo "no" >&6; }
11632 if test "$orig_target_ar" = ""; then
11633 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11636 if test "${aros_tool_prefix}ranlib" = ""; then
11637 if test "$cross_compiling" = "yes" ; then
11638 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11639 set dummy
${target_tool_prefix}ar; ac_word
=$2
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11641 $as_echo_n "checking for $ac_word... " >&6; }
11642 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11643 $as_echo_n "(cached) " >&6
11645 case $orig_target_ranlib in
11647 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11651 for as_dir
in $PATH
11654 test -z "$as_dir" && as_dir
=.
11655 for ac_exec_ext
in '' $ac_executable_extensions; do
11656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11657 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11668 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11669 if test -n "$orig_target_ranlib"; then
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11671 $as_echo "$orig_target_ranlib" >&6; }
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11674 $as_echo "no" >&6; }
11679 if test "$GCC" = "yes"; then
11680 aros_gcc_ar
=`$CC -print-prog-name=ar`
11681 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11682 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11684 $as_echo_n "checking for $ac_word... " >&6; }
11685 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11686 $as_echo_n "(cached) " >&6
11688 case $orig_target_ranlib in
11690 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11694 for as_dir
in `dirname $aros_gcc_ar`
11697 test -z "$as_dir" && as_dir
=.
11698 for ac_exec_ext
in '' $ac_executable_extensions; do
11699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11700 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11711 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11712 if test -n "$orig_target_ranlib"; then
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11714 $as_echo "$orig_target_ranlib" >&6; }
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11717 $as_echo "no" >&6; }
11722 if test "$orig_target_ranlib" = ""; then
11723 # Extract the first word of "ar", so it can be a program name with args.
11724 set dummy
ar; ac_word
=$2
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11726 $as_echo_n "checking for $ac_word... " >&6; }
11727 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11728 $as_echo_n "(cached) " >&6
11730 case $orig_target_ranlib in
11732 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11736 for as_dir
in $PATH
11739 test -z "$as_dir" && as_dir
=.
11740 for ac_exec_ext
in '' $ac_executable_extensions; do
11741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11742 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11753 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11754 if test -n "$orig_target_ranlib"; then
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11756 $as_echo "$orig_target_ranlib" >&6; }
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11759 $as_echo "no" >&6; }
11766 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11767 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11769 $as_echo_n "checking for $ac_word... " >&6; }
11770 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11771 $as_echo_n "(cached) " >&6
11773 case $orig_target_ranlib in
11775 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11779 for as_dir
in $PATH
11782 test -z "$as_dir" && as_dir
=.
11783 for ac_exec_ext
in '' $ac_executable_extensions; do
11784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11785 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11796 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11797 if test -n "$orig_target_ranlib"; then
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11799 $as_echo "$orig_target_ranlib" >&6; }
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11802 $as_echo "no" >&6; }
11808 if test "$orig_target_ranlib" = ""; then
11809 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11812 if test "${aros_tool_prefix}nm" = ""; then
11813 if test "$cross_compiling" = "yes" ; then
11814 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
11815 set dummy
${target_tool_prefix}nm
; ac_word
=$2
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11817 $as_echo_n "checking for $ac_word... " >&6; }
11818 if ${ac_cv_path_orig_target_nm+:} false
; then :
11819 $as_echo_n "(cached) " >&6
11821 case $orig_target_nm in
11823 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11827 for as_dir
in $PATH
11830 test -z "$as_dir" && as_dir
=.
11831 for ac_exec_ext
in '' $ac_executable_extensions; do
11832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11833 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11844 orig_target_nm
=$ac_cv_path_orig_target_nm
11845 if test -n "$orig_target_nm"; then
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11847 $as_echo "$orig_target_nm" >&6; }
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11850 $as_echo "no" >&6; }
11855 if test "$GCC" = "yes"; then
11856 aros_gcc_nm
=`$CC -print-prog-name=nm`
11857 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11858 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11860 $as_echo_n "checking for $ac_word... " >&6; }
11861 if ${ac_cv_path_orig_target_nm+:} false
; then :
11862 $as_echo_n "(cached) " >&6
11864 case $orig_target_nm in
11866 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11870 for as_dir
in `dirname $aros_gcc_nm`
11873 test -z "$as_dir" && as_dir
=.
11874 for ac_exec_ext
in '' $ac_executable_extensions; do
11875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11876 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11887 orig_target_nm
=$ac_cv_path_orig_target_nm
11888 if test -n "$orig_target_nm"; then
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11890 $as_echo "$orig_target_nm" >&6; }
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11893 $as_echo "no" >&6; }
11898 if test "$orig_target_nm" = ""; then
11899 # Extract the first word of "nm", so it can be a program name with args.
11900 set dummy nm
; ac_word
=$2
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11902 $as_echo_n "checking for $ac_word... " >&6; }
11903 if ${ac_cv_path_orig_target_nm+:} false
; then :
11904 $as_echo_n "(cached) " >&6
11906 case $orig_target_nm in
11908 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11912 for as_dir
in $PATH
11915 test -z "$as_dir" && as_dir
=.
11916 for ac_exec_ext
in '' $ac_executable_extensions; do
11917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11918 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11929 orig_target_nm
=$ac_cv_path_orig_target_nm
11930 if test -n "$orig_target_nm"; then
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11932 $as_echo "$orig_target_nm" >&6; }
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11935 $as_echo "no" >&6; }
11942 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
11943 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11945 $as_echo_n "checking for $ac_word... " >&6; }
11946 if ${ac_cv_path_orig_target_nm+:} false
; then :
11947 $as_echo_n "(cached) " >&6
11949 case $orig_target_nm in
11951 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11955 for as_dir
in $PATH
11958 test -z "$as_dir" && as_dir
=.
11959 for ac_exec_ext
in '' $ac_executable_extensions; do
11960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11961 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11972 orig_target_nm
=$ac_cv_path_orig_target_nm
11973 if test -n "$orig_target_nm"; then
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11975 $as_echo "$orig_target_nm" >&6; }
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11978 $as_echo "no" >&6; }
11984 if test "$orig_target_nm" = ""; then
11985 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
11988 if test "${aros_tool_prefix}strip" = ""; then
11989 if test "$cross_compiling" = "yes" ; then
11990 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
11991 set dummy
${target_tool_prefix}strip
; ac_word
=$2
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11993 $as_echo_n "checking for $ac_word... " >&6; }
11994 if ${ac_cv_path_orig_target_strip+:} false
; then :
11995 $as_echo_n "(cached) " >&6
11997 case $orig_target_strip in
11999 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12003 for as_dir
in $PATH
12006 test -z "$as_dir" && as_dir
=.
12007 for ac_exec_ext
in '' $ac_executable_extensions; do
12008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12009 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12020 orig_target_strip
=$ac_cv_path_orig_target_strip
12021 if test -n "$orig_target_strip"; then
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12023 $as_echo "$orig_target_strip" >&6; }
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12026 $as_echo "no" >&6; }
12031 if test "$GCC" = "yes"; then
12032 aros_gcc_strip
=`$CC -print-prog-name=strip`
12033 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12034 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12036 $as_echo_n "checking for $ac_word... " >&6; }
12037 if ${ac_cv_path_orig_target_strip+:} false
; then :
12038 $as_echo_n "(cached) " >&6
12040 case $orig_target_strip in
12042 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12046 for as_dir
in `dirname $aros_gcc_strip`
12049 test -z "$as_dir" && as_dir
=.
12050 for ac_exec_ext
in '' $ac_executable_extensions; do
12051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12052 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12063 orig_target_strip
=$ac_cv_path_orig_target_strip
12064 if test -n "$orig_target_strip"; then
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12066 $as_echo "$orig_target_strip" >&6; }
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12069 $as_echo "no" >&6; }
12074 if test "$orig_target_strip" = ""; then
12075 # Extract the first word of "strip", so it can be a program name with args.
12076 set dummy strip
; ac_word
=$2
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12078 $as_echo_n "checking for $ac_word... " >&6; }
12079 if ${ac_cv_path_orig_target_strip+:} false
; then :
12080 $as_echo_n "(cached) " >&6
12082 case $orig_target_strip in
12084 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12088 for as_dir
in $PATH
12091 test -z "$as_dir" && as_dir
=.
12092 for ac_exec_ext
in '' $ac_executable_extensions; do
12093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12094 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12105 orig_target_strip
=$ac_cv_path_orig_target_strip
12106 if test -n "$orig_target_strip"; then
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12108 $as_echo "$orig_target_strip" >&6; }
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12111 $as_echo "no" >&6; }
12118 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12119 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12121 $as_echo_n "checking for $ac_word... " >&6; }
12122 if ${ac_cv_path_orig_target_strip+:} false
; then :
12123 $as_echo_n "(cached) " >&6
12125 case $orig_target_strip in
12127 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12131 for as_dir
in $PATH
12134 test -z "$as_dir" && as_dir
=.
12135 for ac_exec_ext
in '' $ac_executable_extensions; do
12136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12137 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12148 orig_target_strip
=$ac_cv_path_orig_target_strip
12149 if test -n "$orig_target_strip"; then
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12151 $as_echo "$orig_target_strip" >&6; }
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12154 $as_echo "no" >&6; }
12160 if test "$orig_target_strip" = ""; then
12161 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12164 if test "${aros_tool_prefix}objcopy" = ""; then
12165 if test "$cross_compiling" = "yes" ; then
12166 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12167 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12169 $as_echo_n "checking for $ac_word... " >&6; }
12170 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12171 $as_echo_n "(cached) " >&6
12173 case $orig_target_objcopy in
12175 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12179 for as_dir
in $PATH
12182 test -z "$as_dir" && as_dir
=.
12183 for ac_exec_ext
in '' $ac_executable_extensions; do
12184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12185 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12196 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12197 if test -n "$orig_target_objcopy"; then
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12199 $as_echo "$orig_target_objcopy" >&6; }
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12202 $as_echo "no" >&6; }
12207 if test "$GCC" = "yes"; then
12208 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12209 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12210 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12212 $as_echo_n "checking for $ac_word... " >&6; }
12213 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12214 $as_echo_n "(cached) " >&6
12216 case $orig_target_objcopy in
12218 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12222 for as_dir
in `dirname $aros_gcc_objcopy`
12225 test -z "$as_dir" && as_dir
=.
12226 for ac_exec_ext
in '' $ac_executable_extensions; do
12227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12228 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12239 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12240 if test -n "$orig_target_objcopy"; then
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12242 $as_echo "$orig_target_objcopy" >&6; }
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12245 $as_echo "no" >&6; }
12250 if test "$orig_target_objcopy" = ""; then
12251 # Extract the first word of "objcopy", so it can be a program name with args.
12252 set dummy objcopy
; ac_word
=$2
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12254 $as_echo_n "checking for $ac_word... " >&6; }
12255 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12256 $as_echo_n "(cached) " >&6
12258 case $orig_target_objcopy in
12260 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12264 for as_dir
in $PATH
12267 test -z "$as_dir" && as_dir
=.
12268 for ac_exec_ext
in '' $ac_executable_extensions; do
12269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12270 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12281 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12282 if test -n "$orig_target_objcopy"; then
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12284 $as_echo "$orig_target_objcopy" >&6; }
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12287 $as_echo "no" >&6; }
12294 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12295 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12297 $as_echo_n "checking for $ac_word... " >&6; }
12298 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12299 $as_echo_n "(cached) " >&6
12301 case $orig_target_objcopy in
12303 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12307 for as_dir
in $PATH
12310 test -z "$as_dir" && as_dir
=.
12311 for ac_exec_ext
in '' $ac_executable_extensions; do
12312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12313 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12324 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12325 if test -n "$orig_target_objcopy"; then
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12327 $as_echo "$orig_target_objcopy" >&6; }
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12330 $as_echo "no" >&6; }
12336 if test "$orig_target_objcopy" = ""; then
12337 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12340 if test "${aros_tool_prefix}objdump" = ""; then
12341 if test "$cross_compiling" = "yes" ; then
12342 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12343 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12345 $as_echo_n "checking for $ac_word... " >&6; }
12346 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12347 $as_echo_n "(cached) " >&6
12349 case $orig_target_objdump in
12351 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12355 for as_dir
in $PATH
12358 test -z "$as_dir" && as_dir
=.
12359 for ac_exec_ext
in '' $ac_executable_extensions; do
12360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12361 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12372 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12373 if test -n "$orig_target_objdump"; then
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12375 $as_echo "$orig_target_objdump" >&6; }
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12378 $as_echo "no" >&6; }
12383 if test "$GCC" = "yes"; then
12384 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12385 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12386 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12388 $as_echo_n "checking for $ac_word... " >&6; }
12389 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12390 $as_echo_n "(cached) " >&6
12392 case $orig_target_objdump in
12394 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12398 for as_dir
in `dirname $aros_gcc_objdump`
12401 test -z "$as_dir" && as_dir
=.
12402 for ac_exec_ext
in '' $ac_executable_extensions; do
12403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12404 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12415 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12416 if test -n "$orig_target_objdump"; then
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12418 $as_echo "$orig_target_objdump" >&6; }
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12421 $as_echo "no" >&6; }
12426 if test "$orig_target_objdump" = ""; then
12427 # Extract the first word of "objdump", so it can be a program name with args.
12428 set dummy objdump
; ac_word
=$2
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12430 $as_echo_n "checking for $ac_word... " >&6; }
12431 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12432 $as_echo_n "(cached) " >&6
12434 case $orig_target_objdump in
12436 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12440 for as_dir
in $PATH
12443 test -z "$as_dir" && as_dir
=.
12444 for ac_exec_ext
in '' $ac_executable_extensions; do
12445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12446 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12457 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12458 if test -n "$orig_target_objdump"; then
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12460 $as_echo "$orig_target_objdump" >&6; }
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12463 $as_echo "no" >&6; }
12470 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12471 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12473 $as_echo_n "checking for $ac_word... " >&6; }
12474 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12475 $as_echo_n "(cached) " >&6
12477 case $orig_target_objdump in
12479 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12483 for as_dir
in $PATH
12486 test -z "$as_dir" && as_dir
=.
12487 for ac_exec_ext
in '' $ac_executable_extensions; do
12488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12489 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12500 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12501 if test -n "$orig_target_objdump"; then
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12503 $as_echo "$orig_target_objdump" >&6; }
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12506 $as_echo "no" >&6; }
12512 if test "$orig_target_objdump" = ""; then
12513 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12517 if test "$kernel_tool_prefix" = "none" ; then
12518 # No kernel tools specified
12519 # Assume target tools == kernel tools with ELF wrapper
12520 aros_kernel_cc
=$orig_target_cc
12521 aros_kernel_cxx
=$orig_target_cxx
12522 aros_kernel_cpp
=$orig_target_cpp
12523 aros_kernel_ld
=$orig_target_ld
12524 aros_kernel_as
=$orig_target_as
12525 aros_kernel_ar
=$orig_target_ar
12526 aros_kernel_ranlib
=$orig_target_ranlib
12527 aros_kernel_nm
=$orig_target_nm
12528 aros_kernel_strip
=$orig_target_strip
12529 aros_kernel_objcopy
=$orig_target_objcopy
12530 aros_kernel_objdump
=$orig_target_objdump
12531 use_kernel_cc_wrapper
=yes
12534 # At this point, all aros_kernel_* and aros_target_*
12535 # tools should be set up correctly
12537 CC
="$aros_kernel_cc $kernel_tool_flags"
12538 CPP
="$aros_kernel_cpp"
12540 #-----------------------------------------------------------------------------
12542 # Disable pointer-signedness warnings if the compiler recognises the option
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12545 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12546 save_cflags
="$CFLAGS"
12547 if test "$crosstools" != "yes" ; then
12548 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12550 /* end confdefs.h. */
12560 if ac_fn_c_try_compile
"$LINENO"; then :
12561 use_no_sign_warning
="yes"
12563 use_no_sign_warning
="no"
12565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12567 # we do know it is supported for the smallest version of gcc we are going to build
12568 # we assume it's also supported by later versions
12569 use_no_sign_warning
=yes
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12572 $as_echo "$use_no_sign_warning" >&6; }
12573 if test "x-$use_no_sign_warning" = "x-yes" ; then
12574 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12576 CFLAGS
="$save_cflags"
12578 #-----------------------------------------------------------------------------
12580 # Find all the tools we need to compile. This could be cross-compiling
12581 # though! If that is the case we use the GNU form of the target and
12582 # simply add this to the front of the binary name. This is rather simple,
12583 # but it should work under most circumstances.
12585 # The default tools are to use the same as the host, but only if the
12586 # host and target CPU are the same. With GCC this is normally enough.
12590 aros_shared_ld
="$aros_host_ld"
12592 aros_target_mkdep
="$aros_host_mkdep"
12594 # The default tools executables to be linked to.
12595 if test "$rescomp" != ""; then
12596 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12597 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12599 $as_echo_n "checking for $ac_word... " >&6; }
12600 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12601 $as_echo_n "(cached) " >&6
12603 case $aros_kernel_rescomp in
12605 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12609 for as_dir
in $PATH
12612 test -z "$as_dir" && as_dir
=.
12613 for ac_exec_ext
in '' $ac_executable_extensions; do
12614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12615 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12626 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12627 if test -n "$aros_kernel_rescomp"; then
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12629 $as_echo "$aros_kernel_rescomp" >&6; }
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12632 $as_echo "no" >&6; }
12636 if test "$aros_kernel_rescomp" = ""; then
12637 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12641 # Set up the sources for the symlink farm
12642 if test "$crosstools" = "yes"; then
12643 crosstools_target
=tools-crosstools
12645 crosstools_cxx_target
=tools-crosstools
12648 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12649 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12652 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12653 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12654 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12655 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12656 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12657 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12658 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12660 # aros_cc_pre is a variable that is added to the front of the compiler name
12661 # in the generated aros-gcc shell script. We need this to enable the cache
12662 # to work across cleaned builds. Also, support DISTCC using the correct
12663 # environment variable.
12666 if test "x${DISTCC}" != "x" ; then
12667 if test "x${CCACHE}" != "x" ; then
12668 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12670 aros_cc_pre
="${DISTCC} "
12673 if test "x${CCACHE}" != "x" ; then
12674 aros_cc_pre
="${CCACHE} "
12678 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12680 aros_target_nostdinc_cflags
=-nostdinc
12682 aros_target_nostartup_ldflags
=-nostartfiles
12684 aros_target_nix_ldflags
=-nix
12686 aros_target_detach_ldflags
=-detach
12688 aros_target_nostdlib_ldflags
=-nostdlib
12692 if test "$crosstools" != "yes"; then
12693 if test "$GCC" = "yes"; then
12694 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12697 # We do not know which gcc version we are going to build and what we need to know
12698 # here is different for different versions so this will be set later during the
12699 # build of crosstools.
12700 aros_target_cc_path
=@aros_target_cc_path@
12702 aros_target_cpp
="${prefix}cpp"
12703 aros_target_cc
="${prefix}gcc"
12704 aros_target_cxx
="${prefix}g++"
12705 aros_target_as
="${prefix}as"
12706 aros_target_ld
="${prefix}ld"
12707 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12708 aros_target_objcopy
="${prefix}objcopy"
12709 aros_target_objdump
="${prefix}objdump"
12710 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12711 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12712 aros_target_strip
="${prefix}strip"
12713 aros_plain_nm
="${prefix}nm"
12714 aros_plain_ar
="${prefix}ar"
12716 # Check whether --enable-includes was given.
12717 if test "${enable_includes+set}" = set; then :
12718 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12720 aros_target_incl
="/usr/include"
12724 if test "$aros_kernel_includes" = ""; then
12725 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12726 aros_kernel_includes
="-isystem $aros_target_incl"
12730 if test "$aros_kernel_includes" != "" ; then
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12732 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12733 if test "$aros_kernel_cc_includes" = "" ; then
12734 # Try to guess where the directory is.
12735 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12736 if test -d $aros_kernel_cc_includes; then
12737 # Check if there is also an include-fixed directory and add it
12738 # to kernel compiler's include path as it may contain some of
12739 # the headers we need.
12740 if test -d "$aros_kernel_cc_includes"-fixed; then
12741 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12743 # Check for specific includes directory. Neede for Ubuntu 11.10
12744 if test -d "/usr/include/i386-linux-gnu"; then
12745 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12748 # The directory doesn't exist, we need to do some more work.
12749 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12751 # These are the headers we're looking for.
12752 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12753 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12757 for h
in $headers; do
12758 # Which other headers are needed by each of the above?
12759 deps
=$
(echo "#include <$h>" | \
12760 $aros_kernel_cc -E -M - 2>/dev
/null | \
12761 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12763 # Copy all the needed headers to a directory beneath gendir.
12766 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12767 sed -n "s,^.*/include\(/.*\),\1,p")
12768 ! test -d $dir && mkdir
-p $dir
12769 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12775 $as_echo "$aros_kernel_cc_includes" >&6; }
12776 # Adding -nostdinc to kernel includes as they are always used together.
12777 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12780 if test "$crosstools" != "yes"; then
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12782 $as_echo_n "checking for the target compiler's include path... " >&6; }
12783 if test "$aros_target_cc_includes" = "" ; then
12784 #try to guess where the directory is
12785 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12786 if ! test -d $aros_target_cc_includes; then
12787 #the directory doesn't exist, we need to do some more work
12788 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12790 #these are the headers we're looking for
12791 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12792 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12796 for h
in $headers; do
12797 #which other headers each of the above headers needs?
12798 deps
=$
(echo "#include <$h>" | \
12799 $orig_target_cc -E -M - 2>/dev
/null | \
12800 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12802 #copy all the needed headers to a directory beneath gendir
12805 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
12806 sed -n "s,^.*/include\(/.*\),\1,p")
12807 ! test -d $dir && mkdir
-p $dir
12808 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
12814 $as_echo "$aros_target_cc_includes" >&6; }
12816 # We do not know which gcc version we are going to build and what we need to know
12817 # here is different for different versions so this will be set later during the
12818 # build of crosstools.
12819 aros_target_cc_includes
=@aros_target_cc_includes@
12823 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
12824 # On GCC >= 4.0 -iquote should be used
12828 save_cflags
="$CFLAGS"
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12831 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12832 if test "x-$crosstools" != "x-yes"; then
12833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12834 /* end confdefs.h. */
12844 if ac_fn_c_try_compile
"$LINENO"; then :
12849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12851 # we do know it is supported for the smallest version of gcc we are going to build
12852 # we assume it's also supported by later versions
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12856 $as_echo "$has_iquote" >&6; }
12857 if test "x-$has_iquote" = "x-yes" ; then
12858 host_cflags_iquote
=-iquote
12859 host_cflags_iquote_end
=
12861 host_cflags_iquote
=-I
12862 host_cflags_iquote_end
=-I-
12864 kernel_cflags_iquote
=$host_cflags_iquote
12865 kernel_cflags_iquote_end
=$host_cflags_iquote_end
12866 if test "x-$cross_compiling" = "x-yes"; then
12867 CC
="$aros_kernel_cc"
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
12869 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
12870 if test "x-$crosstools" != "x-yes"; then
12871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12872 /* end confdefs.h. */
12882 if ac_fn_c_try_compile
"$LINENO"; then :
12883 use_no_stack_protector
="yes"
12885 use_no_stack_protector
="no"
12887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12889 # we do know it is supported for the smallest version of gcc we are going to build
12890 # we assume it's also supported by later versions
12891 use_no_stack_protector
=yes
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
12894 $as_echo "$use_no_stack_protector" >&6; }
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12896 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12897 if test "x-$crosstools" != "x-yes"; then
12898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12899 /* end confdefs.h. */
12909 if ac_fn_c_try_compile
"$LINENO"; then :
12914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12916 # we do know it is supported for the smallest version of gcc we are going to build
12917 # we assume it's also supported by later versions
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12921 $as_echo "$has_iquote" >&6; }
12922 if test "x-$has_iquote" = "x-yes" ; then
12923 kernel_cflags_iquote
=-iquote
12924 kernel_cflags_iquote_end
=
12926 kernel_cflags_iquote
=-I
12927 kernel_cflags_iquote_end
=-I-
12930 aros_cflags_iquote
=$kernel_cflags_iquote
12931 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
12932 if test "$orig_target_cc" != "$aros_kernel_cc"; then
12933 CC
="$orig_target_cc"
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12935 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12936 if test "x-$crosstools" != "x-yes"; then
12937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12938 /* end confdefs.h. */
12948 if ac_fn_c_try_compile
"$LINENO"; then :
12953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12955 # we do know it is supported for the smallest version of gcc we are going to build
12956 # we assume it's also supported by later versions
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12960 $as_echo "$has_iquote" >&6; }
12961 if test "x-$has_iquote" = "x-yes" ; then
12962 aros_cflags_iquote
=-iquote
12963 aros_cflags_iquote_end
=
12965 aros_cflags_iquote
=-I
12966 aros_cflags_iquote_end
=-I-
12969 if test "x-$use_no_stack_protector" = "x-yes" ; then
12970 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
12974 #-----------------------------------------------------------------------------
12976 # Check if the target compiler supports some options used for delinting:
12977 # -Wunused-but-set-variable
12980 # -Wstrict-overflow
12981 # -Wformat-security
12983 if test "x-$crosstools" != "x-yes"; then
12984 if test "$orig_target_cc" != "$aros_kernel_cc"; then
12985 CC
="$orig_target_cc"
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
12988 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
12989 CFLAGS
=-Wunused-but-set-variable
12990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h. */
13001 if ac_fn_c_try_compile
"$LINENO"; then :
13002 aros_unused_but_set_variable
="yes"
13004 aros_unused_but_set_variable
="no"
13006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13008 $as_echo "$aros_unused_but_set_variable" >&6; }
13009 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13010 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13014 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13015 CFLAGS
=-Warray-bounds
13016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h. */
13027 if ac_fn_c_try_compile
"$LINENO"; then :
13028 aros_array_bounds
="yes"
13030 aros_array_bounds
="no"
13032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13034 $as_echo "$aros_array_bounds" >&6; }
13035 if test "x-$aros_array_bounds" = "x-yes" ; then
13036 aros_cflags_array_bounds
=-Wno-array-bounds
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13040 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13041 CFLAGS
=-Wenum-compare
13042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13043 /* end confdefs.h. */
13053 if ac_fn_c_try_compile
"$LINENO"; then :
13054 aros_enum_compare
="yes"
13056 aros_enum_compare
="no"
13058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13060 $as_echo "$aros_enum_compare" >&6; }
13061 if test "x-$aros_enum_compare" = "x-yes" ; then
13062 aros_cflags_enum_compare
=-Wno-enum-compare
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13066 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13067 CFLAGS
=-Wstrict-overflow
13068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13069 /* end confdefs.h. */
13079 if ac_fn_c_try_compile
"$LINENO"; then :
13080 aros_strict_overflow
="yes"
13082 aros_strict_overflow
="no"
13084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13086 $as_echo "$aros_strict_overflow" >&6; }
13087 if test "x-$aros_strict_overflow" = "x-yes" ; then
13088 aros_cflags_strict_overflow
=-Wno-strict-overflow
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13092 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13093 CFLAGS
=-Wformat-security
13094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h. */
13105 if ac_fn_c_try_compile
"$LINENO"; then :
13106 aros_format_security
="yes"
13108 aros_format_security
="no"
13110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13112 $as_echo "$aros_format_security" >&6; }
13113 if test "x-$aros_format_security" = "x-yes" ; then
13114 aros_cflags_format_security
=-Wno-format-security
13117 # We do not know which gcc version we are going to build and what we need to know
13118 # here is different for different versions so this will be set later during the
13119 # build of crosstools.
13120 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13121 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13122 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13123 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13124 aros_cflags_format_security
=@aros_cflags_format_security@
13127 #-----------------------------------------------------------------------------
13129 # Check if we can explicitly choose older version of symbol hashing
13131 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13132 CC
="$aros_kernel_cc"
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13134 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13136 /* end confdefs.h. */
13146 if ac_fn_c_try_link
"$LINENO"; then :
13147 use_hash_style
="yes"
13149 use_hash_style
="no"
13151 rm -f core conftest.err conftest.
$ac_objext \
13152 conftest
$ac_exeext conftest.
$ac_ext
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13154 $as_echo "$use_hash_style" >&6; }
13155 if test "x-$use_hash_style" = "x-yes" ; then
13156 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13159 CFLAGS
="$save_cflags"
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13170 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13172 # Check whether --with-resolution was given.
13173 if test "${with_resolution+set}" = set; then :
13174 withval
=$with_resolution; resolution
=$withval
13179 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13180 if test "$resolution" = "yes" ; then
13183 if test "$resolution" = "no" ; then
13186 if test "$resolution" != "none" ; then
13187 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13188 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13189 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13192 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13193 aros_cv_default_wbwidth
=$aros_default_wbwidth
13194 aros_cv_default_wbheight
=$aros_default_wbheight
13195 aros_cv_default_wbdepth
=$aros_default_wbdepth
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13198 $as_echo_n "checking if serial debug is enabled... " >&6; }
13200 # Check whether --with-serial-debug was given.
13201 if test "${with_serial_debug+set}" = set; then :
13202 withval
=$with_serial_debug; serial_debug
=$withval
13207 if test "$aros_serial_debug" = 0 ; then
13208 serial_debug_forced
=""
13209 if test "$serial_debug" = "yes" ; then
13212 if test "$serial_debug" = "no" ; then
13213 serial_debug
="none"
13216 serial_debug_forced
="(forced)"
13217 serial_debug
=$aros_serial_debug
13219 if test "$serial_debug" != "none" ; then
13220 aros_serial_debug
=$serial_debug
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13222 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13225 $as_echo "no" >&6; }
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13229 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13230 # Check whether --enable-palm_debug_hack was given.
13231 if test "${enable_palm_debug_hack+set}" = set; then :
13232 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13234 palm_debug_hack
="no"
13237 if test "$palm_debug_hack" = "yes" ; then
13238 aros_palm_debug_hack
="1"
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13241 $as_echo "$palm_debug_hack" >&6; }
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13244 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13245 # Check whether --enable-nesting_supervisor was given.
13246 if test "${enable_nesting_supervisor+set}" = set; then :
13247 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13249 nesting_supervisor
="no"
13252 if test "$nesting_supervisor" = "yes" ; then
13253 aros_nesting_supervisor
="1"
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13256 $as_echo "$nesting_supervisor" >&6; }
13258 if test "$aros_enable_mmu" = "" ; then
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13260 $as_echo_n "checking if MMU support is enabled... " >&6; }
13261 # Check whether --enable-mmu was given.
13262 if test "${enable_mmu+set}" = set; then :
13263 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13265 aros_enable_mmu
="yes"
13268 if test "$aros_enable_mmu" = "" ; then
13269 aros_enable_mmu
="yes"
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13272 $as_echo "$aros_enable_mmu" >&6; }
13274 if test "$aros_enable_mmu" = "no" ; then
13275 aros_enable_mmu
="0"
13277 aros_enable_mmu
="1"
13281 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13283 if test "x-$need_dlopen" != "x-no" ; then
13284 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13285 if test "x$ac_cv_func_dlopen" = xyes
; then :
13291 if test "x-$have_dl" = "x-no" ; then
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13293 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13294 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13295 $as_echo_n "(cached) " >&6
13297 ac_check_lib_save_LIBS
=$LIBS
13299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13300 /* end confdefs.h. */
13302 /* Override any GCC internal prototype to avoid an error.
13303 Use char because int might match the return type of a GCC
13304 builtin and then its argument prototype would still apply. */
13317 if ac_fn_c_try_link
"$LINENO"; then :
13318 ac_cv_lib_dl_dlopen
=yes
13320 ac_cv_lib_dl_dlopen
=no
13322 rm -f core conftest.err conftest.
$ac_objext \
13323 conftest
$ac_exeext conftest.
$ac_ext
13324 LIBS
=$ac_check_lib_save_LIBS
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13327 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13328 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13330 aros_host_ldflags
="$aros_host_ldflags -ldl"
13336 if test "x-$have_dl" = "x-no" ; then
13337 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13342 # Check whether --enable-x11_hidd was given.
13343 if test "${enable_x11_hidd+set}" = set; then :
13344 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13346 x11_hidd
="$need_x11"
13349 case "x-$x11_hidd" in
13350 x-yes|x-no|x-auto
) ;;
13351 *) x11_hidd
="$need_x11" ;;
13356 if test "x-$x11_hidd" != "x-no" ; then
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13359 $as_echo_n "checking for X... " >&6; }
13362 # Check whether --with-x was given.
13363 if test "${with_x+set}" = set; then :
13367 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13368 if test "x$with_x" = xno
; then
13369 # The user explicitly disabled X.
13372 case $x_includes,$x_libraries in #(
13373 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13374 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13375 $as_echo_n "(cached) " >&6
13377 # One or both of the vars are not set, and there is no cached value.
13378 ac_x_includes
=no ac_x_libraries
=no
13379 rm -f -r conftest.dir
13380 if mkdir conftest.dir
; then
13382 cat >Imakefile
<<'_ACEOF'
13384 @echo incroot='${INCROOT}'
13386 @echo usrlibdir='${USRLIBDIR}'
13388 @echo libdir='${LIBDIR}'
13390 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13391 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13392 for ac_var
in incroot usrlibdir libdir
; do
13393 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13395 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13396 for ac_extension
in a so sl dylib la dll
; do
13397 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13398 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13399 ac_im_usrlibdir
=$ac_im_libdir; break
13402 # Screen out bogus values from the imake configuration. They are
13403 # bogus both because they are the default anyway, and because
13404 # using them would break gcc on systems where it needs fixed includes.
13405 case $ac_im_incroot in
13406 /usr
/include
) ac_x_includes
= ;;
13407 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13409 case $ac_im_usrlibdir in
13410 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13411 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13415 rm -f -r conftest.dir
13418 # Standard set of common directories for X headers.
13419 # Check X11 before X11Rn because it is often a symlink to the current release.
13433 /usr/local/X11/include
13434 /usr/local/X11R7/include
13435 /usr/local/X11R6/include
13436 /usr/local/X11R5/include
13437 /usr/local/X11R4/include
13439 /usr/local/include/X11
13440 /usr/local/include/X11R7
13441 /usr/local/include/X11R6
13442 /usr/local/include/X11R5
13443 /usr/local/include/X11R4
13447 /usr/XFree86/include/X11
13451 /usr/unsupported/include
13452 /usr/athena/include
13453 /usr/local/x11r5/include
13454 /usr/lpp/Xamples/include
13456 /usr/openwin/include
13457 /usr/openwin/share/include'
13459 if test "$ac_x_includes" = no
; then
13460 # Guess where to find include files, by looking for Xlib.h.
13461 # First, try using that file with no special directory specified.
13462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13463 /* end confdefs.h. */
13464 #include <X11/Xlib.h>
13466 if ac_fn_c_try_cpp
"$LINENO"; then :
13467 # We can compile using X headers with no special include directory.
13470 for ac_dir
in $ac_x_header_dirs; do
13471 if test -r "$ac_dir/X11/Xlib.h"; then
13472 ac_x_includes
=$ac_dir
13477 rm -f conftest.err conftest.i conftest.
$ac_ext
13478 fi # $ac_x_includes = no
13480 if test "$ac_x_libraries" = no
; then
13481 # Check for the libraries.
13482 # See if we find them without any special options.
13483 # Don't add to $LIBS permanently.
13486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13487 /* end confdefs.h. */
13488 #include <X11/Xlib.h>
13497 if ac_fn_c_try_link
"$LINENO"; then :
13499 # We can link X programs with no special library path.
13503 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13505 # Don't even attempt the hair of trying to link an X program!
13506 for ac_extension
in a so sl dylib la dll
; do
13507 if test -r "$ac_dir/libX11.$ac_extension"; then
13508 ac_x_libraries
=$ac_dir
13514 rm -f core conftest.err conftest.
$ac_objext \
13515 conftest
$ac_exeext conftest.
$ac_ext
13516 fi # $ac_x_libraries = no
13518 case $ac_x_includes,$ac_x_libraries in #(
13519 no
,* |
*,no |
*\'*)
13520 # Didn't find X, or a directory has "'" in its name.
13521 ac_cv_have_x
="have_x=no";; #(
13523 # Record where we found X for the cache.
13524 ac_cv_have_x
="have_x=yes\
13525 ac_x_includes='$ac_x_includes'\
13526 ac_x_libraries='$ac_x_libraries'"
13532 eval "$ac_cv_have_x"
13535 if test "$have_x" != yes; then
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13537 $as_echo "$have_x" >&6; }
13540 # If each of the values was on the command line, it overrides each guess.
13541 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13542 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13543 # Update the cache value to reflect the command line values.
13544 ac_cv_have_x
="have_x=yes\
13545 ac_x_includes='$x_includes'\
13546 ac_x_libraries='$x_libraries'"
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13548 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13553 for path
in $x_libraries
13555 x_cflags
="$x_cflags -L$path"
13558 for path
in $x_includes
13560 x_cflags
="$x_cflags -I$path"
13563 if test "x-$no_x" = "x-yes" ; then
13565 if test "x-$x11_hidd" != "x-auto" ; then
13566 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13570 x11_hidd_target
=kernel-x11gfx-kobj
13573 # Check whether --enable-x11_shm was given.
13574 if test "${enable_x11_shm+set}" = set; then :
13575 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13577 x11_hidd_shm
="auto"
13580 case "x-$x11_hidd_shm" in
13581 x-yes|x-no|x-auto
) ;;
13582 *) x11_hidd_shm
="auto" ;;
13587 if test "x-$x11_hidd_shm" != "x-no" ; then
13589 for ac_header
in sys
/ipc.h
13591 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13592 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13593 cat >>confdefs.h
<<_ACEOF
13594 #define HAVE_SYS_IPC_H 1
13601 for ac_header
in sys
/shm.h
13603 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13604 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13605 cat >>confdefs.h
<<_ACEOF
13606 #define HAVE_SYS_SHM_H 1
13614 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13616 save_cflags
="$CFLAGS"
13617 CFLAGS
="$CFLAGS $x_cflags"
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13619 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13620 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13621 $as_echo_n "(cached) " >&6
13623 ac_check_lib_save_LIBS
=$LIBS
13624 LIBS
="-lXext $LIBS"
13625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13628 /* Override any GCC internal prototype to avoid an error.
13629 Use char because int might match the return type of a GCC
13630 builtin and then its argument prototype would still apply. */
13634 char XShmQueryExtension ();
13638 return XShmQueryExtension ();
13643 if ac_fn_c_try_link
"$LINENO"; then :
13644 ac_cv_lib_Xext_XShmQueryExtension
=yes
13646 ac_cv_lib_Xext_XShmQueryExtension
=no
13648 rm -f core conftest.err conftest.
$ac_objext \
13649 conftest
$ac_exeext conftest.
$ac_ext
13650 LIBS
=$ac_check_lib_save_LIBS
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13653 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13654 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13658 CFLAGS
="$save_cflags"
13662 if test "x-$have_xshm" = "x-yes" ; then
13663 DO_XSHM_SUPPORT
="1"
13664 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13665 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13667 DO_XSHM_SUPPORT
="0"
13671 # Check whether --enable-x11_vidmode was given.
13672 if test "${enable_x11_vidmode+set}" = set; then :
13673 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13675 x11_hidd_vidmode
="auto"
13678 case "x-$x11_hidd_vidmode" in
13679 x-yes|x-no|x-auto
) ;;
13680 *) x11_hidd_vidmode
="auto" ;;
13685 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13687 save_cflags
="$CFLAGS"
13688 CFLAGS
="$CFLAGS $x_cflags"
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13690 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13691 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13692 $as_echo_n "(cached) " >&6
13694 ac_check_lib_save_LIBS
=$LIBS
13695 LIBS
="-lXxf86vm $LIBS"
13696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13699 /* Override any GCC internal prototype to avoid an error.
13700 Use char because int might match the return type of a GCC
13701 builtin and then its argument prototype would still apply. */
13705 char XF86VidModeQueryExtension ();
13709 return XF86VidModeQueryExtension ();
13714 if ac_fn_c_try_link
"$LINENO"; then :
13715 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13717 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13719 rm -f core conftest.err conftest.
$ac_objext \
13720 conftest
$ac_exeext conftest.
$ac_ext
13721 LIBS
=$ac_check_lib_save_LIBS
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13724 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13725 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13729 CFLAGS
="$save_cflags"
13732 if test "x-$have_vidmode" = "x-yes" ; then
13733 DO_VIDMODE_SUPPORT
="1"
13734 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13735 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13737 DO_VIDMODE_SUPPORT
="0"
13741 aros_host_x11_includes
=$x_includes
13742 aros_host_x11_libdirs
=$x_libraries
13746 # Check whether --enable-sdl_hidd was given.
13747 if test "${enable_sdl_hidd+set}" = set; then :
13748 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13753 case "x-$sdl_hidd" in
13754 x-yes|x-no|x-auto
) ;;
13755 *) sdl_hidd
="auto" ;;
13758 if test "x-$sdl_hidd" != "x-no" ; then
13761 # Check whether --with-sdl-prefix was given.
13762 if test "${with_sdl_prefix+set}" = set; then :
13763 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13769 # Check whether --with-sdl-exec-prefix was given.
13770 if test "${with_sdl_exec_prefix+set}" = set; then :
13771 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13776 # Check whether --enable-sdltest was given.
13777 if test "${enable_sdltest+set}" = set; then :
13778 enableval
=$enable_sdltest;
13784 if test x
$sdl_exec_prefix != x
; then
13785 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
13786 if test x
${SDL_CONFIG+set} != xset
; then
13787 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
13790 if test x
$sdl_prefix != x
; then
13791 sdl_args
="$sdl_args --prefix=$sdl_prefix"
13792 if test x
${SDL_CONFIG+set} != xset
; then
13793 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
13797 if test "x$prefix" != xNONE
; then
13798 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
13800 # Extract the first word of "sdl-config", so it can be a program name with args.
13801 set dummy sdl-config
; ac_word
=$2
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13803 $as_echo_n "checking for $ac_word... " >&6; }
13804 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
13805 $as_echo_n "(cached) " >&6
13807 case $SDL_CONFIG in
13809 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
13812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13813 for as_dir
in $PATH
13816 test -z "$as_dir" && as_dir
=.
13817 for ac_exec_ext
in '' $ac_executable_extensions; do
13818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13819 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13827 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
13831 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
13832 if test -n "$SDL_CONFIG"; then
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
13834 $as_echo "$SDL_CONFIG" >&6; }
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13837 $as_echo "no" >&6; }
13841 min_sdl_version
=1.2.10
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
13843 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
13845 if test "$SDL_CONFIG" = "no" ; then
13848 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
13849 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
13851 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
13852 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13853 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
13854 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13855 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
13856 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13857 if test "x$enable_sdltest" = "xyes" ; then
13858 ac_save_CFLAGS
="$CFLAGS"
13859 ac_save_CXXFLAGS
="$CXXFLAGS"
13860 ac_save_LIBS
="$LIBS"
13861 CFLAGS
="$CFLAGS $SDL_CFLAGS"
13862 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
13863 LIBS
="$LIBS $SDL_LIBS"
13865 if test "$cross_compiling" = yes; then :
13866 echo $ac_n "cross compiling; assumed OK... $ac_c"
13868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13872 #include <stdlib.h>
13873 #include <string.h>
13877 my_strdup (char *str)
13883 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
13884 strcpy (new_str, str);
13892 int main (int argc, char *argv[])
13894 int major, minor, micro;
13897 /* This hangs on some systems (?)
13898 system ("touch conf.sdltest");
13900 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
13902 /* HP/UX 9 (%@#!) writes to sscanf strings */
13903 tmp_version = my_strdup("$min_sdl_version");
13904 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
13905 printf("%s, bad version string\n", "$min_sdl_version");
13909 if (($sdl_major_version > major) ||
13910 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
13911 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
13917 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
13918 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
13919 printf("*** best to upgrade to the required version.\n");
13920 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
13921 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
13922 printf("*** config.cache before re-running configure\n");
13929 if ac_fn_c_try_run
"$LINENO"; then :
13934 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13935 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13938 CFLAGS
="$ac_save_CFLAGS"
13939 CXXFLAGS
="$ac_save_CXXFLAGS"
13940 LIBS
="$ac_save_LIBS"
13943 if test "x$no_sdl" = x
; then
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13945 $as_echo "yes" >&6; }
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13949 $as_echo "no" >&6; }
13950 if test "$SDL_CONFIG" = "no" ; then
13951 echo "*** The sdl-config script installed by SDL could not be found"
13952 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
13953 echo "*** your path, or set the SDL_CONFIG environment variable to the"
13954 echo "*** full path to sdl-config."
13956 if test -f conf.sdltest
; then
13959 echo "*** Could not run SDL test program, checking why..."
13960 CFLAGS
="$CFLAGS $SDL_CFLAGS"
13961 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
13962 LIBS
="$LIBS $SDL_LIBS"
13963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13964 /* end confdefs.h. */
13969 int main(int argc, char *argv[])
13972 #define main K_and_R_C_main
13982 if ac_fn_c_try_link
"$LINENO"; then :
13983 echo "*** The test program compiled, but did not run. This usually means"
13984 echo "*** that the run-time linker is not finding SDL or finding the wrong"
13985 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
13986 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13987 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13988 echo "*** is required on your system"
13990 echo "*** If you have an old version installed, it is best to remove it, although"
13991 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13993 echo "*** The test program failed to compile or link. See the file config.log for the"
13994 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
13995 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
13996 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
13998 rm -f core conftest.err conftest.
$ac_objext \
13999 conftest
$ac_exeext conftest.
$ac_ext
14000 CFLAGS
="$ac_save_CFLAGS"
14001 CXXFLAGS
="$ac_save_CXXFLAGS"
14002 LIBS
="$ac_save_LIBS"
14014 if test "x-$have_sdl" != "x-yes" ; then
14016 if test "x-$sdl_hidd" != "x-auto" ; then
14017 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14021 sdl_hidd_target
=kernel-hidd-sdl
14022 aros_host_sdl_cflags
=SDL_CFLAGS
14023 aros_host_sdl_libs
=SDL_LIBS
14027 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14028 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14033 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14034 oss_library_target
=workbench-libs-oss-unix
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14040 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14041 # Check whether --enable-dbus was given.
14042 if test "${enable_dbus+set}" = set; then :
14043 enableval
=$enable_dbus; dbus
="yes"
14048 if test "$dbus" = "yes" ; then
14050 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14051 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14052 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14053 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14058 $as_echo "$dbus" >&6; }
14060 if test "$use_kernel_cc_wrapper" = "yes" ; then
14061 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14064 if test "${crosstools}" != "yes" ; then
14065 aros_target_toolchain
=no
14067 aros_target_toolchain
=yes
14083 # Compatability with other Amiga-like operation systems
14178 # Delinting target compiler flags
14202 # Native version related
14205 # Palm native version related
14208 # Unix/Hosted version related
14214 # Apple iOS related
14239 # Collect-aros stuff: "-ius" to ignore undefined symbols
14242 # C compiler related
14245 case "$aros_flavour" in
14246 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14247 aros_flavour
="emulation" ;;
14248 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14249 aros_flavour
="emulation" ;;
14250 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14251 aros_flavour
="standalone";;
14252 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14253 aros_flavour
="standalone";;
14254 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14255 aros_flavour
="native" ;;
14256 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14257 aros_flavour
="native" ;;
14258 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14259 aros_flavour
="linklib" ;;
14260 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14261 aros_flavour
="palmnative" ;;
14262 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14263 aros_flavour
="mac68knative" ;;
14264 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14265 aros_flavour
="ppcnative" ;;
14268 if test ! -d ${aros_inc_dir} ; then
14269 ${MKDIR} ${aros_inc_dir}
14271 if test ! -d ${aros_geninc_dir} ; then
14272 ${MKDIR} ${aros_geninc_dir}
14274 if test ! -d ${aros_hostcfg_dir} ; then
14275 ${MKDIR} ${aros_hostcfg_dir}
14277 if test ! -d ${aros_targetcfg_dir} ; then
14278 ${MKDIR} ${aros_targetcfg_dir}
14280 if test ! -d ${aros_tools_dir} ; then
14281 ${MKDIR} ${aros_tools_dir}
14283 if test ! -d ${aros_scripts_dir} ; then
14284 ${MKDIR} ${aros_scripts_dir}
14287 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14290 ac_config_commands
="$ac_config_commands compiler_executable"
14292 ac_config_commands
="$ac_config_commands genmf_executable"
14295 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"
14298 cat >confcache
<<\_ACEOF
14299 # This file is a shell script that caches the results of configure
14300 # tests run on this system so they can be shared between configure
14301 # scripts and configure runs, see configure's option --config-cache.
14302 # It is not useful on other systems. If it contains results you don't
14303 # want to keep, you may remove or edit it.
14305 # config.status only pays attention to the cache file if you give it
14306 # the --recheck option to rerun configure.
14308 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14309 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14310 # following values.
14314 # The following way of writing the cache mishandles newlines in values,
14315 # but we know of no workaround that is simple, portable, and efficient.
14316 # So, we kill variables containing newlines.
14317 # Ultrix sh set writes to stderr and can't be redirected directly,
14318 # and sets the high bit in the cache file unless we assign to the vars.
14320 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14321 eval ac_val
=\$
$ac_var
14325 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14326 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14329 _ | IFS | as_nl
) ;; #(
14330 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14331 *) { eval $ac_var=; unset $ac_var;} ;;
14337 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14338 *${as_nl}ac_space
=\
*)
14339 # `set' does not quote correctly, so add quotes: double-quote
14340 # substitution turns \\\\ into \\, and sed turns \\ into \.
14343 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14346 # `set' quotes correctly as required by POSIX, so do not add quotes.
14347 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14356 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14358 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14360 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14361 if test -w "$cache_file"; then
14362 if test "x$cache_file" != "x/dev/null"; then
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14364 $as_echo "$as_me: updating cache $cache_file" >&6;}
14365 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14366 cat confcache
>"$cache_file"
14368 case $cache_file in #(
14370 mv -f confcache
"$cache_file"$$
&&
14371 mv -f "$cache_file"$$
"$cache_file" ;; #(
14373 mv -f confcache
"$cache_file" ;;
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14379 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14384 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14385 # Let make expand exec_prefix.
14386 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14388 DEFS
=-DHAVE_CONFIG_H
14393 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14394 # 1. Remove the extension, and $U if already installed.
14395 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14396 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14397 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14398 # will be set to the directory where LIBOBJS objects are built.
14399 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14400 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14402 LIBOBJS
=$ac_libobjs
14404 LTLIBOBJS
=$ac_ltlibobjs
14408 : "${CONFIG_STATUS=./config.status}"
14410 ac_clean_files_save
=$ac_clean_files
14411 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14413 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14415 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14417 # Generated by $as_me.
14418 # Run this file to recreate the current configuration.
14419 # Compiler output produced by configure, useful for debugging
14420 # configure, is in config.log if it exists.
14423 ac_cs_recheck=false
14426 SHELL=\${CONFIG_SHELL-$SHELL}
14429 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14430 ## -------------------- ##
14431 ## M4sh Initialization. ##
14432 ## -------------------- ##
14434 # Be more Bourne compatible
14435 DUALCASE
=1; export DUALCASE
# for MKS sh
14436 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14439 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14440 # is contrary to our usage. Disable this feature.
14441 alias -g '${1+"$@"}'='"$@"'
14442 setopt NO_GLOB_SUBST
14444 case `(set -o) 2>/dev/null` in #(
14456 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14457 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14458 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14459 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14460 # Prefer a ksh shell builtin over an external printf program on Solaris,
14461 # but without wasting forks for bash or zsh.
14462 if test -z "$BASH_VERSION$ZSH_VERSION" \
14463 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14464 as_echo='print
-r --'
14465 as_echo_n='print
-rn --'
14466 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14467 as_echo='printf %s
\n'
14468 as_echo_n='printf %s
'
14470 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14471 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14472 as_echo_n='/usr
/ucb
/echo -n'
14474 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14475 as_echo_n_body='eval
14479 expr "X$arg" : "X\\(.*\\)$as_nl";
14480 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14482 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14484 export as_echo_n_body
14485 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14487 export as_echo_body
14488 as_echo='sh
-c $as_echo_body as_echo
'
14491 # The user is always right.
14492 if test "${PATH_SEPARATOR+set}" != set; then
14494 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14495 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14502 # We need space, tab and new line, in precisely that order. Quoting is
14503 # there to prevent editors from complaining about space-tab.
14504 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14505 # splitting by setting IFS to empty value.)
14508 # Find who we are. Look in the path if we contain no directory separator.
14511 *[\\/]* ) as_myself=$0 ;;
14512 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14513 for as_dir in $PATH
14516 test -z "$as_dir" && as_dir=.
14517 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14523 # We did not find ourselves, most probably we were run as `sh COMMAND'
14524 # in which case we are not to be found in the path.
14525 if test "x$as_myself" = x
; then
14528 if test ! -f "$as_myself"; then
14529 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14533 # Unset variables that we do not need and which cause bugs (e.g. in
14534 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14535 # suppresses any "Segmentation fault" message there. '((' could
14536 # trigger a bug in pdksh 5.2.14.
14537 for as_var
in BASH_ENV ENV MAIL MAILPATH
14538 do eval test x\
${$as_var+set} = xset \
14539 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14552 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14555 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14556 # ----------------------------------------
14557 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14558 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14559 # script with STATUS, using 1 if that was 0.
14562 as_status
=$1; test $as_status -eq 0 && as_status
=1
14564 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14565 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14567 $as_echo "$as_me: error: $2" >&2
14568 as_fn_exit
$as_status
14572 # as_fn_set_status STATUS
14573 # -----------------------
14574 # Set $? to STATUS, without forking.
14575 as_fn_set_status
()
14578 } # as_fn_set_status
14580 # as_fn_exit STATUS
14581 # -----------------
14582 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14586 as_fn_set_status
$1
14592 # Portably unset VAR.
14595 { eval $1=; unset $1;}
14597 as_unset
=as_fn_unset
14598 # as_fn_append VAR VALUE
14599 # ----------------------
14600 # Append the text in VALUE to the end of the definition contained in VAR. Take
14601 # advantage of any shell optimizations that allow amortized linear growth over
14602 # repeated appends, instead of the typical quadratic growth present in naive
14604 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14605 eval 'as_fn_append ()
14616 # as_fn_arith ARG...
14617 # ------------------
14618 # Perform arithmetic evaluation on the ARGs, and store the result in the
14619 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14620 # must be portable across $(()) and expr.
14621 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14622 eval 'as_fn_arith ()
14629 as_val
=`expr "$@" || test $? -eq 1`
14634 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14635 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14641 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14642 as_basename
=basename
14647 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14653 as_me
=`$as_basename -- "$0" ||
14654 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14655 X"$0" : 'X\(//\)$' \| \
14656 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14658 sed '/^.*\/\([^/][^/]*\)\/*$/{
14672 # Avoid depending upon Character Ranges.
14673 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14674 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14675 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14676 as_cr_digits
='0123456789'
14677 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14679 ECHO_C
= ECHO_N
= ECHO_T
=
14680 case `echo -n x` in #(((((
14682 case `echo 'xy\c'` in
14683 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14685 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14692 rm -f conf$$ conf$$.exe conf$$.
file
14693 if test -d conf$$.dir
; then
14694 rm -f conf$$.dir
/conf$$.
file
14697 mkdir conf$$.dir
2>/dev
/null
14699 if (echo >conf$$.
file) 2>/dev
/null
; then
14700 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14702 # ... but there are two gotchas:
14703 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14704 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14705 # In both cases, we have to default to `cp -p'.
14706 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14708 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14716 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14717 rmdir conf$$.dir
2>/dev
/null
14722 # Create "$as_dir" as a directory, including parents if necessary.
14727 -*) as_dir
=.
/$as_dir;;
14729 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14733 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14734 *) as_qdir
=$as_dir;;
14736 as_dirs
="'$as_qdir' $as_dirs"
14737 as_dir
=`$as_dirname -- "$as_dir" ||
14738 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14739 X"$as_dir" : 'X\(//\)[^/]' \| \
14740 X"$as_dir" : 'X\(//\)$' \| \
14741 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14742 $as_echo X"$as_dir" |
14743 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14747 /^X\(\/\/\)[^/].*/{
14760 test -d "$as_dir" && break
14762 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14763 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14767 if mkdir
-p .
2>/dev
/null
; then
14768 as_mkdir_p
='mkdir -p "$as_dir"'
14770 test -d .
/-p && rmdir .
/-p
14774 if test -x / >/dev
/null
2>&1; then
14775 as_test_x
='test -x'
14777 if ls -dL / >/dev
/null
2>&1; then
14784 if test -d "$1"; then
14790 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14791 ???[sx]*):;;*)false;;esac;fi
14795 as_executable_p
=$as_test_x
14797 # Sed expression to map a string onto a valid CPP name.
14798 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14800 # Sed expression to map a string onto a valid variable name.
14801 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14805 ## ----------------------------------- ##
14806 ## Main body of $CONFIG_STATUS script. ##
14807 ## ----------------------------------- ##
14809 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14812 # Save the log message, to keep $0 and so on meaningful, and to
14813 # report actual input values of CONFIG_FILES etc. instead of their
14814 # values after options handling.
14816 This file was extended by $as_me, which was
14817 generated by GNU Autoconf 2.68. Invocation command line was
14819 CONFIG_FILES = $CONFIG_FILES
14820 CONFIG_HEADERS = $CONFIG_HEADERS
14821 CONFIG_LINKS = $CONFIG_LINKS
14822 CONFIG_COMMANDS = $CONFIG_COMMANDS
14825 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14830 case $ac_config_files in *"
14831 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14834 case $ac_config_headers in *"
14835 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14840 # Files that config.status was made for.
14841 config_files="$ac_config_files"
14842 config_headers="$ac_config_headers"
14843 config_commands="$ac_config_commands"
14847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14849 \`$as_me' instantiates files and other configuration actions
14850 from templates according to the current configuration. Unless the files
14851 and actions are specified as TAGs, all are instantiated by default.
14853 Usage: $0 [OPTION]... [TAG]...
14855 -h, --help print this help, then exit
14856 -V, --version print version number and configuration settings, then exit
14857 --config print configuration, then exit
14858 -q, --quiet, --silent
14859 do not print progress messages
14860 -d, --debug don't remove temporary files
14861 --recheck update $as_me by reconfiguring in the same conditions
14862 --file=FILE[:TEMPLATE]
14863 instantiate the configuration file FILE
14864 --header=FILE[:TEMPLATE]
14865 instantiate the configuration header FILE
14867 Configuration files:
14870 Configuration headers:
14873 Configuration commands:
14876 Report bugs to the package provider."
14879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14880 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14883 configured by $0, generated by GNU Autoconf 2.68,
14884 with options \\"\$ac_cs_config\\"
14886 Copyright (C) 2010 Free Software Foundation, Inc.
14887 This config.status script is free software; the Free Software Foundation
14888 gives unlimited permission to copy, distribute and modify it."
14892 test -n "\$AWK" || AWK=awk
14895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14896 # The default lists apply if the user does not specify any file.
14902 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14903 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14907 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14919 # Handling of the options.
14920 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14922 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14923 $as_echo "$ac_cs_version"; exit ;;
14924 --config |
--confi |
--conf |
--con |
--co |
--c )
14925 $as_echo "$ac_cs_config"; exit ;;
14926 --debug |
--debu |
--deb |
--de |
--d |
-d )
14928 --file |
--fil |
--fi |
--f )
14931 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14932 '') as_fn_error $?
"missing file argument" ;;
14934 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14935 ac_need_defaults
=false
;;
14936 --header |
--heade |
--head |
--hea )
14939 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14941 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14942 ac_need_defaults
=false
;;
14944 # Conflict between --help and --header
14945 as_fn_error $?
"ambiguous option: \`$1'
14946 Try \`$0 --help' for more information.";;
14947 --help |
--hel |
-h )
14948 $as_echo "$ac_cs_usage"; exit ;;
14949 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14950 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14953 # This is an error.
14954 -*) as_fn_error $?
"unrecognized option: \`$1'
14955 Try \`$0 --help' for more information." ;;
14957 *) as_fn_append ac_config_targets
" $1"
14958 ac_need_defaults
=false
;;
14964 ac_configure_extra_args
=
14966 if $ac_cs_silent; then
14968 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14973 if \$ac_cs_recheck; then
14974 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14976 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14977 CONFIG_SHELL='$SHELL'
14978 export CONFIG_SHELL
14983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14987 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14988 ## Running $as_me. ##
14994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14999 aros_host_exe_suffix=${aros_host_exe_suffix}
15000 aros_tools_dir=${aros_tools_dir}
15001 aros_target_cpu=${aros_target_cpu}
15002 aros_target_arch=${aros_target_arch}
15003 aros_target_suffix=${aros_target_suffix}
15004 orig_target_nm=${orig_target_nm}
15005 orig_target_as=${orig_target_as}
15006 orig_target_ar=${orig_target_ar}
15007 orig_target_ranlib=${orig_target_ranlib}
15008 orig_target_objdump=${orig_target_objdump}
15009 orig_target_objcopy=${orig_target_objcopy}
15010 orig_target_strip=${orig_target_strip}
15011 aros_kernel_ld=${aros_kernel_ld}
15014 aros_tools_dir=${aros_tools_dir}
15019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15021 # Handling of arguments.
15022 for ac_config_target
in $ac_config_targets
15024 case $ac_config_target in
15025 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15026 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15027 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15028 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15029 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15030 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15031 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15032 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15033 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15034 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15035 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15036 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15037 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15038 "${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" ;;
15039 "${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" ;;
15040 "${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" ;;
15041 "${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" ;;
15042 "${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" ;;
15043 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15044 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15045 "${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" ;;
15047 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15052 # If the user did not use the arguments to specify the items to instantiate,
15053 # then the envvar interface is used. Set only those that are not.
15054 # We use the long form for the default assignment because of an extremely
15055 # bizarre bug on SunOS 4.1.3.
15056 if $ac_need_defaults; then
15057 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15058 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15059 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15062 # Have a temporary directory for convenience. Make it in the build tree
15063 # simply because there is no reason against having it here, and in addition,
15064 # creating and moving files from /tmp can sometimes cause problems.
15065 # Hook for its removal unless debugging.
15066 # Note that there is a small window in which the directory will not be cleaned:
15067 # after its creation but before its name has been assigned to `$tmp'.
15071 trap 'exit_status=$?
15072 : "${ac_tmp:=$tmp}"
15073 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15075 trap 'as_fn_exit 1' 1 2 13 15
15077 # Create a (secure) tmp directory for tmp files.
15080 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15084 tmp
=.
/conf$$
-$RANDOM
15085 (umask 077 && mkdir
"$tmp")
15086 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15089 # Set up the scripts for CONFIG_FILES section.
15090 # No need to generate them if there are no CONFIG_FILES.
15091 # This happens for instance with `./config.status config.h'.
15092 if test -n "$CONFIG_FILES"; then
15095 ac_cr
=`echo X | tr X '\015'`
15096 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15097 # But we know of no other shell where ac_cr would be empty at this
15098 # point, so we can use a bashism as a fallback.
15099 if test "x$ac_cr" = x
; then
15100 eval ac_cr
=\$
\'\\r
\'
15102 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15103 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15106 ac_cs_awk_cr
=$ac_cr
15109 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15114 echo "cat >conf$$subs.awk <<_ACEOF" &&
15115 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15117 } >conf$$subs.sh ||
15118 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15119 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15121 for ac_last_try in false false false false false :; do
15122 . ./conf$$subs.sh ||
15123 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15125 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15126 if test $ac_delim_n = $ac_delim_num; then
15128 elif $ac_last_try; then
15129 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15131 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15134 rm -f conf$$subs.sh
15136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15137 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15141 s/^/S["/; s
/!.
*/"]=/
15151 s/\(.\{148\}\)..*/\1/
15153 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15158 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15165 s/\(.\{148\}\)..*/\1/
15167 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15171 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15176 ' <conf$$subs.awk | sed '
15181 ' >>$CONFIG_STATUS || ac_write_fail=1
15182 rm -f conf$$subs.awk
15183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15185 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15186 for (key in S) S_is_set[key] = 1
15192 nfields = split(line, field, "@
")
15194 len = length(field[1])
15195 for (i = 2; i < nfields; i++) {
15197 keylen = length(key)
15198 if (S_is_set[key]) {
15200 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15201 len += length(value) + length(field[++i])
15212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15213 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15214 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15217 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15218 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15221 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15222 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15223 # trailing colons and then remove the whole line if VPATH becomes empty
15224 # (actually we leave an empty line to preserve line numbers).
15225 if test "x
$srcdir" = x.; then
15226 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15245 fi # test -n "$CONFIG_FILES"
15247 # Set up the scripts for CONFIG_HEADERS section.
15248 # No need to generate them if there are no CONFIG_HEADERS.
15249 # This happens for instance with `./config.status Makefile'.
15250 if test -n "$CONFIG_HEADERS"; then
15251 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15255 # Transform confdefs.h into an awk script `defines.awk', embedded as
15256 # here-document in config.status, that substitutes the proper values into
15257 # config.h.in to produce config.h.
15259 # Create a delimiter string that does not exist in confdefs.h, to ease
15260 # handling of long lines.
15262 for ac_last_try in false false :; do
15263 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15264 if test -z "$ac_tt"; then
15266 elif $ac_last_try; then
15267 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15269 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15273 # For the awk script, D is an array of macro values keyed by name,
15274 # likewise P contains macro parameters if any. Preserve backslash
15275 # newline sequences.
15277 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15279 s/.\{148\}/&'"$ac_delim"'/g
15282 s/^[ ]*#[ ]*define[ ][ ]*/ /
15289 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15291 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15295 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15296 D["\
1"]=" \
3\\\\\\n
"\\/p
15298 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15303 s/.\{148\}/&'"$ac_delim"'/g
15308 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15311 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15313 ' <confdefs.h | sed '
15314 s/'"$ac_delim"'/"\\\
15315 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15318 for (key in D) D_is_set[key] = 1
15321 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15323 split(line, arg, " ")
15324 if (arg[1] == "#") {
15328 defundef
= substr
(arg
[1], 2)
15331 split(mac1
, mac2
, "(") #)
15333 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15334 if (D_is_set
[macro
]) {
15335 # Preserve the white space surrounding the "#".
15336 print prefix
"define", macro P
[macro
] D
[macro
]
15339 # Replace #undef with comments. This is necessary, for example,
15340 # in the case of _POSIX_SOURCE, which is predefined and required
15341 # on some systems where configure will not decide to define it.
15342 if (defundef
== "undef") {
15343 print
"/*", prefix defundef
, macro
, "*/"
15351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15352 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15353 fi # test -n "$CONFIG_HEADERS"
15356 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15361 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15363 case $ac_mode$ac_tag in
15365 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15366 :[FH
]-) ac_tag
=-:-;;
15367 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15384 -) ac_f
="$ac_tmp/stdin";;
15385 *) # Look for the file first in the build tree, then in the source tree
15386 # (if the path is not absolute). The absolute path cannot be DOS-style,
15387 # because $ac_f cannot contain `:'.
15391 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15393 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15395 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15396 as_fn_append ac_file_inputs
" '$ac_f'"
15399 # Let's still pretend it is `configure' which instantiates (i.e., don't
15400 # use $as_me), people would be surprised to read:
15401 # /* config.h. Generated by config.status. */
15402 configure_input
='Generated from '`
15403 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15405 if test x
"$ac_file" != x-
; then
15406 configure_input
="$ac_file. $configure_input"
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15408 $as_echo "$as_me: creating $ac_file" >&6;}
15410 # Neutralize special characters interpreted by sed in replacement strings.
15411 case $configure_input in #(
15412 *\
&* |
*\|
* |
*\\* )
15413 ac_sed_conf_input
=`$as_echo "$configure_input" |
15414 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15415 *) ac_sed_conf_input
=$configure_input;;
15419 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15420 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15425 ac_dir
=`$as_dirname -- "$ac_file" ||
15426 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15427 X"$ac_file" : 'X\(//\)[^/]' \| \
15428 X"$ac_file" : 'X\(//\)$' \| \
15429 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15430 $as_echo X"$ac_file" |
15431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15435 /^X\(\/\/\)[^/].*/{
15448 as_dir
="$ac_dir"; as_fn_mkdir_p
15452 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15454 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15455 # A ".." for each directory in $ac_dir_suffix.
15456 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15457 case $ac_top_builddir_sub in
15458 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15459 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15462 ac_abs_top_builddir
=$ac_pwd
15463 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15464 # for backward compatibility:
15465 ac_top_builddir
=$ac_top_build_prefix
15468 .
) # We are building in place.
15470 ac_top_srcdir
=$ac_top_builddir_sub
15471 ac_abs_top_srcdir
=$ac_pwd ;;
15472 [\\/]* | ?
:[\\/]* ) # Absolute name.
15473 ac_srcdir
=$srcdir$ac_dir_suffix;
15474 ac_top_srcdir
=$srcdir
15475 ac_abs_top_srcdir
=$srcdir ;;
15476 *) # Relative name.
15477 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15478 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15479 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15481 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15493 # If the template does not know about datarootdir, expand it.
15494 # FIXME: This hack should be removed a few years after 2.60.
15495 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15506 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15507 *datarootdir
*) ac_datarootdir_seen
=yes;;
15508 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15510 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15513 ac_datarootdir_hack='
15514 s&@datadir@&$datadir&g
15515 s&@docdir@&$docdir&g
15516 s&@infodir@&$infodir&g
15517 s&@localedir@&$localedir&g
15518 s&@mandir@&$mandir&g
15519 s&\\\${datarootdir}&$datarootdir&g' ;;
15523 # Neutralize VPATH when `$srcdir' = `.'.
15524 # Shell code in configure.ac might set extrasub.
15525 # FIXME: do we really want to maintain this feature?
15526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15527 ac_sed_extra="$ac_vpsub
15530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15532 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15533 s|@configure_input@|
$ac_sed_conf_input|
;t t
15534 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15535 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15536 s
&@srcdir@
&$ac_srcdir&;t t
15537 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15538 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15539 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15540 s
&@builddir@
&$ac_builddir&;t t
15541 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15542 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15543 $ac_datarootdir_hack
15545 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15546 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15548 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15549 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15550 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15551 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15553 which seems to be undefined. Please make sure it is defined" >&5
15554 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15555 which seems to be undefined. Please make sure it is defined" >&2;}
15557 rm -f "$ac_tmp/stdin"
15559 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15560 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15562 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15568 if test x"$ac_file" != x-; then
15570 $as_echo "/* $configure_input */" \
15571 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15572 } >"$ac_tmp/config.h" \
15573 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15574 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15576 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15579 mv "$ac_tmp/config.h" "$ac_file" \
15580 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15583 $as_echo "/* $configure_input */" \
15584 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15585 || as_fn_error $? "could not create -" "$LINENO" 5
15589 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15590 $as_echo "$as_me: executing $ac_file commands" >&6;}
15595 case $ac_file$ac_mode in
15596 "compiler_executable":C)
15597 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15599 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15600 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15604 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15606 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15607 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15608 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15609 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15610 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15611 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15612 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15614 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15616 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15624 ac_clean_files=$ac_clean_files_save
15626 test $ac_write_fail = 0 ||
15627 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15630 # configure is writing to config.log, and then calls config.status.
15631 # config.status does its own redirection, appending to config.log.
15632 # Unfortunately, on DOS this fails, as config.log is still kept open
15633 # by configure, so config.status won't be able to
write to it
; its
15634 # output is simply discarded. So we exec the FD to /dev/null,
15635 # effectively closing config.log, so it can be properly (re)opened and
15636 # appended to by config.status. When coming back to configure, we
15637 # need to make the FD available again.
15638 if test "$no_create" != yes; then
15640 ac_config_status_args
=
15641 test "$silent" = yes &&
15642 ac_config_status_args
="$ac_config_status_args --quiet"
15644 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15646 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15647 # would make configure fail if this is the last instruction.
15648 $ac_cs_success || as_fn_exit
1
15650 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15652 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15657 #XXX compatability...
15658 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15660 if test -n "$aros_shared_cflags" ; then
15661 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15662 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg