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
920 # Initialize some variables set by options.
922 ac_init_version
=false
923 ac_unrecognized_opts
=
925 # The variables have the same names as the options, with
926 # dashes changed to underlines.
934 program_transform_name
=s
,x
,x
,
942 # Installation directory options.
943 # These are left unexpanded so users can "make install exec_prefix=/foo"
944 # and all the variables that are supposed to be based on exec_prefix
945 # by default will actually change.
946 # Use braces instead of parens because sh, perl, etc. also accept them.
947 # (The list follows the same order as the GNU Coding Standards.)
948 bindir
='${exec_prefix}/bin'
949 sbindir
='${exec_prefix}/sbin'
950 libexecdir
='${exec_prefix}/libexec'
951 datarootdir
='${prefix}/share'
952 datadir
='${datarootdir}'
953 sysconfdir
='${prefix}/etc'
954 sharedstatedir
='${prefix}/com'
955 localstatedir
='${prefix}/var'
956 includedir
='${prefix}/include'
957 oldincludedir
='/usr/include'
958 docdir
='${datarootdir}/doc/${PACKAGE}'
959 infodir
='${datarootdir}/info'
964 libdir
='${exec_prefix}/lib'
965 localedir
='${datarootdir}/locale'
966 mandir
='${datarootdir}/man'
972 # If the previous option needs an argument, assign it.
973 if test -n "$ac_prev"; then
974 eval $ac_prev=\
$ac_option
980 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
985 # Accept the important Cygnus configure options, so we can diagnose typos.
987 case $ac_dashdash$ac_option in
991 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
993 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
996 -build |
--build |
--buil |
--bui |
--bu)
997 ac_prev
=build_alias
;;
998 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
999 build_alias
=$ac_optarg ;;
1001 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1002 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1003 ac_prev
=cache_file
;;
1004 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1005 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1006 cache_file
=$ac_optarg ;;
1008 --config-cache |
-C)
1009 cache_file
=config.cache
;;
1011 -datadir |
--datadir |
--datadi |
--datad)
1013 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1014 datadir
=$ac_optarg ;;
1016 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1017 |
--dataroo |
--dataro |
--datar)
1018 ac_prev
=datarootdir
;;
1019 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1020 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1021 datarootdir
=$ac_optarg ;;
1023 -disable-* |
--disable-*)
1024 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1027 as_fn_error $?
"invalid feature name: $ac_useropt"
1028 ac_useropt_orig
=$ac_useropt
1029 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1032 "enable_
$ac_useropt"
1034 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1035 ac_unrecognized_sep
=', ';;
1037 eval enable_
$ac_useropt=no
;;
1039 -docdir |
--docdir |
--docdi |
--doc |
--do)
1041 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1042 docdir
=$ac_optarg ;;
1044 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1046 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1047 dvidir
=$ac_optarg ;;
1049 -enable-* |
--enable-*)
1050 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1053 as_fn_error $?
"invalid feature name: $ac_useropt"
1054 ac_useropt_orig
=$ac_useropt
1055 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1056 case $ac_user_opts in
1058 "enable_
$ac_useropt"
1060 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1061 ac_unrecognized_sep
=', ';;
1063 eval enable_
$ac_useropt=\
$ac_optarg ;;
1065 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1066 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1067 |
--exec |
--exe |
--ex)
1068 ac_prev
=exec_prefix
;;
1069 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1070 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1071 |
--exec=* |
--exe=* |
--ex=*)
1072 exec_prefix
=$ac_optarg ;;
1074 -gas |
--gas |
--ga |
--g)
1075 # Obsolete; use --with-gas.
1078 -help |
--help |
--hel |
--he |
-h)
1079 ac_init_help
=long
;;
1080 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1081 ac_init_help
=recursive
;;
1082 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1083 ac_init_help
=short
;;
1085 -host |
--host |
--hos |
--ho)
1086 ac_prev
=host_alias
;;
1087 -host=* |
--host=* |
--hos=* |
--ho=*)
1088 host_alias
=$ac_optarg ;;
1090 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1092 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1094 htmldir
=$ac_optarg ;;
1096 -includedir |
--includedir |
--includedi |
--included |
--include \
1097 |
--includ |
--inclu |
--incl |
--inc)
1098 ac_prev
=includedir
;;
1099 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1100 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1101 includedir
=$ac_optarg ;;
1103 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1105 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1106 infodir
=$ac_optarg ;;
1108 -libdir |
--libdir |
--libdi |
--libd)
1110 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1111 libdir
=$ac_optarg ;;
1113 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1114 |
--libexe |
--libex |
--libe)
1115 ac_prev
=libexecdir
;;
1116 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1117 |
--libexe=* |
--libex=* |
--libe=*)
1118 libexecdir
=$ac_optarg ;;
1120 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1121 ac_prev
=localedir
;;
1122 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1123 localedir
=$ac_optarg ;;
1125 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1126 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1127 ac_prev
=localstatedir
;;
1128 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1129 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1130 localstatedir
=$ac_optarg ;;
1132 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1134 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1135 mandir
=$ac_optarg ;;
1137 -nfp |
--nfp |
--nf)
1138 # Obsolete; use --without-fp.
1141 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1142 |
--no-cr |
--no-c |
-n)
1145 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1146 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1149 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1150 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1151 |
--oldin |
--oldi |
--old |
--ol |
--o)
1152 ac_prev
=oldincludedir
;;
1153 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1154 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1155 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1156 oldincludedir
=$ac_optarg ;;
1158 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1160 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1161 prefix
=$ac_optarg ;;
1163 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1164 |
--program-pre |
--program-pr |
--program-p)
1165 ac_prev
=program_prefix
;;
1166 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1167 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1168 program_prefix
=$ac_optarg ;;
1170 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1171 |
--program-suf |
--program-su |
--program-s)
1172 ac_prev
=program_suffix
;;
1173 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1174 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1175 program_suffix
=$ac_optarg ;;
1177 -program-transform-name |
--program-transform-name \
1178 |
--program-transform-nam |
--program-transform-na \
1179 |
--program-transform-n |
--program-transform- \
1180 |
--program-transform |
--program-transfor \
1181 |
--program-transfo |
--program-transf \
1182 |
--program-trans |
--program-tran \
1183 |
--progr-tra |
--program-tr |
--program-t)
1184 ac_prev
=program_transform_name
;;
1185 -program-transform-name=* |
--program-transform-name=* \
1186 |
--program-transform-nam=* |
--program-transform-na=* \
1187 |
--program-transform-n=* |
--program-transform-=* \
1188 |
--program-transform=* |
--program-transfor=* \
1189 |
--program-transfo=* |
--program-transf=* \
1190 |
--program-trans=* |
--program-tran=* \
1191 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1192 program_transform_name
=$ac_optarg ;;
1194 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1196 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1197 pdfdir
=$ac_optarg ;;
1199 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1201 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1204 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1205 |
-silent |
--silent |
--silen |
--sile |
--sil)
1208 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1210 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1212 sbindir
=$ac_optarg ;;
1214 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1215 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1216 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1218 ac_prev
=sharedstatedir
;;
1219 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1220 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1221 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1223 sharedstatedir
=$ac_optarg ;;
1225 -site |
--site |
--sit)
1227 -site=* |
--site=* |
--sit=*)
1230 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1232 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1233 srcdir
=$ac_optarg ;;
1235 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1236 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1237 ac_prev
=sysconfdir
;;
1238 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1239 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1240 sysconfdir
=$ac_optarg ;;
1242 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1243 ac_prev
=target_alias
;;
1244 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1245 target_alias
=$ac_optarg ;;
1247 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1250 -version |
--version |
--versio |
--versi |
--vers |
-V)
1251 ac_init_version
=: ;;
1254 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1255 # Reject names that are not valid shell variable names.
1256 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1257 as_fn_error $?
"invalid package name: $ac_useropt"
1258 ac_useropt_orig
=$ac_useropt
1259 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1260 case $ac_user_opts in
1264 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1265 ac_unrecognized_sep
=', ';;
1267 eval with_
$ac_useropt=\
$ac_optarg ;;
1269 -without-* |
--without-*)
1270 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1271 # Reject names that are not valid shell variable names.
1272 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1273 as_fn_error $?
"invalid package name: $ac_useropt"
1274 ac_useropt_orig
=$ac_useropt
1275 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1276 case $ac_user_opts in
1280 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1281 ac_unrecognized_sep
=', ';;
1283 eval with_
$ac_useropt=no
;;
1286 # Obsolete; use --with-x.
1289 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1290 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1291 ac_prev
=x_includes
;;
1292 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1293 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1294 x_includes
=$ac_optarg ;;
1296 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1297 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1298 ac_prev
=x_libraries
;;
1299 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1300 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1301 x_libraries
=$ac_optarg ;;
1303 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1304 Try \`$0 --help' for more information"
1308 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1309 # Reject names that are not valid shell variable names.
1310 case $ac_envvar in #(
1311 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1312 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1314 eval $ac_envvar=\
$ac_optarg
1315 export $ac_envvar ;;
1318 # FIXME: should be removed in autoconf 3.0.
1319 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1320 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1321 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1322 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1328 if test -n "$ac_prev"; then
1329 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1330 as_fn_error $?
"missing argument to $ac_option"
1333 if test -n "$ac_unrecognized_opts"; then
1334 case $enable_option_checking in
1336 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1337 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1341 # Check all directory arguments for consistency.
1342 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1343 datadir sysconfdir sharedstatedir localstatedir includedir \
1344 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1345 libdir localedir mandir
1347 eval ac_val
=\$
$ac_var
1348 # Remove trailing slashes.
1351 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1352 eval $ac_var=\
$ac_val;;
1354 # Be sure to have absolute directory names.
1356 [\\/$
]* | ?
:[\\/]* ) continue;;
1357 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1359 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1362 # There might be people who depend on the old broken behavior: `$host'
1363 # used to hold the argument of --host etc.
1364 # FIXME: To remove some day.
1367 target
=$target_alias
1369 # FIXME: To remove some day.
1370 if test "x$host_alias" != x
; then
1371 if test "x$build_alias" = x
; then
1372 cross_compiling
=maybe
1373 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1374 If a cross compiler is detected then cross compile mode will be used" >&2
1375 elif test "x$build_alias" != "x$host_alias"; then
1381 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1383 test "$silent" = yes && exec 6>/dev
/null
1386 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1387 ac_ls_di
=`ls -di .` &&
1388 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1389 as_fn_error $?
"working directory cannot be determined"
1390 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1391 as_fn_error $?
"pwd does not report name of working directory"
1394 # Find the source files, if location was not specified.
1395 if test -z "$srcdir"; then
1396 ac_srcdir_defaulted
=yes
1397 # Try the directory containing this script, then the parent directory.
1398 ac_confdir
=`$as_dirname -- "$as_myself" ||
1399 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1400 X"$as_myself" : 'X\(//\)[^/]' \| \
1401 X"$as_myself" : 'X\(//\)$' \| \
1402 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1403 $as_echo X"$as_myself" |
1404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1422 if test ! -r "$srcdir/$ac_unique_file"; then
1426 ac_srcdir_defaulted
=no
1428 if test ! -r "$srcdir/$ac_unique_file"; then
1429 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1430 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1432 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1434 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1436 # When building in place, set srcdir=.
1437 if test "$ac_abs_confdir" = "$ac_pwd"; then
1440 # Remove unnecessary trailing slashes from srcdir.
1441 # Double slashes in file names in object file debugging info
1442 # mess up M-x gdb in Emacs.
1444 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1446 for ac_var
in $ac_precious_vars; do
1447 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1448 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1449 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1450 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1454 # Report the --help message.
1456 if test "$ac_init_help" = "long"; then
1457 # Omit some internal or obsolete options to make the list less imposing.
1458 # This message is too long to be a string in the A/UX 3.1 sh.
1460 \`configure' configures this package to adapt to many kinds of systems.
1462 Usage: $0 [OPTION]... [VAR=VALUE]...
1464 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1465 VAR=VALUE. See below for descriptions of some of the useful variables.
1467 Defaults for the options are specified in brackets.
1470 -h, --help display this help and exit
1471 --help=short display options specific to this package
1472 --help=recursive display the short help of all the included packages
1473 -V, --version display version information and exit
1474 -q, --quiet, --silent do not print \`checking ...' messages
1475 --cache-file=FILE cache test results in FILE [disabled]
1476 -C, --config-cache alias for \`--cache-file=config.cache'
1477 -n, --no-create do not create output files
1478 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1480 Installation directories:
1481 --prefix=PREFIX install architecture-independent files in PREFIX
1482 [$ac_default_prefix]
1483 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1486 By default, \`make install' will install all the files in
1487 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1488 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1489 for instance \`--prefix=\$HOME'.
1491 For better control, use the options below.
1493 Fine tuning of the installation directories:
1494 --bindir=DIR user executables [EPREFIX/bin]
1495 --sbindir=DIR system admin executables [EPREFIX/sbin]
1496 --libexecdir=DIR program executables [EPREFIX/libexec]
1497 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1498 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1499 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1500 --libdir=DIR object code libraries [EPREFIX/lib]
1501 --includedir=DIR C header files [PREFIX/include]
1502 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1503 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1504 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1505 --infodir=DIR info documentation [DATAROOTDIR/info]
1506 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1507 --mandir=DIR man documentation [DATAROOTDIR/man]
1508 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1509 --htmldir=DIR html documentation [DOCDIR]
1510 --dvidir=DIR dvi documentation [DOCDIR]
1511 --pdfdir=DIR pdf documentation [DOCDIR]
1512 --psdir=DIR ps documentation [DOCDIR]
1518 --x-includes=DIR X include files are
in DIR
1519 --x-libraries=DIR X library files are
in DIR
1522 --build=BUILD configure
for building on BUILD
[guessed
]
1523 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1527 if test -n "$ac_init_help"; then
1532 --disable-option-checking ignore unrecognized
--enable/--with options
1533 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1534 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1535 --enable-build-type=TYPE
1536 Select the build
type. Available types are
:
1537 personal
, nightly
, snapshot
, milestone
, release. Do
1538 NOT use this option unless you know what you are
1539 doing
! (default
=personal
)
1540 --enable-debug=list Enable different types of debug. Commas or
1541 whitespaces can be used to separate the items
in the
1542 list. Available types of debug are
: all
, none
,
1543 messages
, stack
, mungwall
, modules
, symbols. If no
1544 list is provided
then "all" is assumed.
1546 --enable-distcc Use distcc as a front end to the compiler
1548 --enable-ccache Use ccache as a front end to the compiler
1550 --enable-target-variant=NAME
1551 Enable a specific target variant
(default
=none
)
1552 --enable-amigaos-compliance=VERSION
1553 Enforce userspace AmigaOS compliance to a specific
1554 KickStart version
(default
=none
).
1555 --disable-crosstools Do not build cross-compiler toolchain
1556 --enable-includes=dir Alternative system include directory
1557 --enable-palm-debug-hack
1558 Enable palm debug output hack
in palm native
1560 --enable-nesting-supervisor
1561 Enable nesting supervisor support
in unix
1563 --disable-mmu Disable MMU support
(default
=enabled
)
1564 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1565 --enable-x11-shm use X11 shared memory
(default
=auto
)
1566 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1567 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1568 --disable-sdltest Do not try to compile and run a
test SDL program
1569 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1572 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1573 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1574 --with-kernel-gcc-version=VERSION
1575 Use
host gcc-VERSION
for building AROS
1576 --with-gcc-version=VERSION
1577 Use
host gcc-VERSION
for building AROS
1578 --with-optimization=FLAGS
1579 Use optimization flags FLAGS
(default
=-O2).
1580 --with-paranoia=FLAGS CC flags to
enable paranoia
1581 --with-xcode=PATH Specify XCode path
for iOS targets
1582 (default
=/Developer
).
1583 --with-sdk-version=VERSION
1584 Use iOS SDK version VERSION
(default
=4.1).
1585 --with-sdk=PATH Specify Android SDK path
1586 (default
=$default_android_sdk).
1587 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1588 --with-sdk-version=LEVEL
1589 Use Android SDK
for API LEVEL
(default
=12).
1590 --with-ndk-version=LEVEL
1591 Use Android NDK
for API LEVEL
(default
=9).
1592 --with-kernel-toolchain-prefix=...
1593 Specify crosscompile toolchain prefix
for kernel
1595 --with-elf-toolchain-prefix=...
1596 Specify crosscompile toolchain prefix to wrap
for
1598 --with-aros-toolchain=PREFIX
1599 Specify prebuilt AROS toolchain
1600 --with-aros-toolchain-install=DIR
1601 Where to
install or search
for cross tools binaries
1602 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1603 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1604 --with-float=<spec
> Specify floating point ABI
1605 (default
=$gcc_default_float_abi).
1606 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1607 --with-portssources=DIR Where to download sourcecode
for external ports
1608 --with-bootloader=NAME Use a specific bootloader
1609 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1610 --with-theme=NAME Use a specific GUI Theme
1611 --with-resolution=XRESxYRESxDEPTH
1612 Default resolution of the initial WorkbenchScreen
1613 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1614 --with-x use the X Window System
1615 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1616 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1618 Some influential environment variables
:
1619 CC C compiler
command
1620 CFLAGS C compiler flags
1621 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1622 nonstandard directory
<lib dir
>
1623 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1624 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1625 you have headers
in a nonstandard directory
<include dir
>
1626 CXX C
++ compiler
command
1627 CXXFLAGS C
++ compiler flags
1629 PYTHON the Python interpreter
1630 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1632 Use these variables to override the choices made by
`configure' or to help
1633 it to find libraries and programs with nonstandard names/locations.
1635 Report bugs to the package provider.
1640 if test "$ac_init_help" = "recursive"; then
1641 # If there are subdirs, report their specific --help.
1642 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1643 test -d "$ac_dir" ||
1644 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1649 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1651 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1652 # A ".." for each directory in $ac_dir_suffix.
1653 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1654 case $ac_top_builddir_sub in
1655 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1656 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1659 ac_abs_top_builddir=$ac_pwd
1660 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1661 # for backward compatibility:
1662 ac_top_builddir=$ac_top_build_prefix
1665 .) # We are building in place.
1667 ac_top_srcdir=$ac_top_builddir_sub
1668 ac_abs_top_srcdir=$ac_pwd ;;
1669 [\\/]* | ?:[\\/]* ) # Absolute name.
1670 ac_srcdir=$srcdir$ac_dir_suffix;
1671 ac_top_srcdir=$srcdir
1672 ac_abs_top_srcdir=$srcdir ;;
1674 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1675 ac_top_srcdir=$ac_top_build_prefix$srcdir
1676 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1678 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1680 cd "$ac_dir" || { ac_status=$?; continue; }
1681 # Check for guested configure.
1682 if test -f "$ac_srcdir/configure.gnu"; then
1684 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1685 elif test -f "$ac_srcdir/configure"; then
1687 $SHELL "$ac_srcdir/configure" --help=recursive
1689 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1691 cd "$ac_pwd" || { ac_status=$?; break; }
1695 test -n "$ac_init_help" && exit $ac_status
1696 if $ac_init_version; then
1699 generated by GNU Autoconf 2.68
1701 Copyright (C) 2010 Free Software Foundation, Inc.
1702 This configure script is free software; the Free Software Foundation
1703 gives unlimited permission to copy, distribute and modify it.
1708 ## ------------------------ ##
1709 ## Autoconf initialization. ##
1710 ## ------------------------ ##
1712 # ac_fn_c_try_compile LINENO
1713 # --------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_c_try_compile ()
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext
1719 if { { ac_try="$ac_compile"
1721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1722 *) ac_try_echo
=$ac_try;;
1724 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1728 if test -s conftest.err
; then
1729 grep -v '^ *+' conftest.err
>conftest.er1
1730 cat conftest.er1
>&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.
$ac_objext; then :
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.
$ac_ext >&5
1745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746 as_fn_set_status
$ac_retval
1748 } # ac_fn_c_try_compile
1750 # ac_fn_cxx_try_compile LINENO
1751 # ----------------------------
1752 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_cxx_try_compile
()
1755 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1756 rm -f conftest.
$ac_objext
1757 if { { ac_try
="$ac_compile"
1759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_compile") 2>conftest.err
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_cxx_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest.$ac_objext; then :
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1784 as_fn_set_status $ac_retval
1786 } # ac_fn_cxx_try_compile
1788 # ac_fn_c_try_cpp LINENO
1789 # ----------------------
1790 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 if { { ac_try="$ac_cpp conftest.$ac_ext"
1796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1797 *) ac_try_echo
=$ac_try;;
1799 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1803 if test -s conftest.err
; then
1804 grep -v '^ *+' conftest.err
>conftest.er1
1805 cat conftest.er1
>&5
1806 mv -f conftest.er1 conftest.err
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } > conftest.i
&& {
1810 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.
$ac_ext >&5
1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821 as_fn_set_status
$ac_retval
1825 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1826 # -------------------------------------------------------
1827 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1828 # the include files in INCLUDES and setting the cache variable VAR
1830 ac_fn_c_check_header_mongrel
()
1832 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1833 if eval \
${$3+:} false
; then :
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1835 $as_echo_n "checking for $2... " >&6; }
1836 if eval \
${$3+:} false
; then :
1837 $as_echo_n "(cached) " >&6
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841 $as_echo "$ac_res" >&6; }
1843 # Is the header compilable?
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1845 $as_echo_n "checking $2 usability... " >&6; }
1846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1851 if ac_fn_c_try_compile
"$LINENO"; then :
1852 ac_header_compiler
=yes
1854 ac_header_compiler
=no
1856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1858 $as_echo "$ac_header_compiler" >&6; }
1860 # Is the header present?
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1862 $as_echo_n "checking $2 presence... " >&6; }
1863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1864 /* end confdefs.h. */
1867 if ac_fn_c_try_cpp
"$LINENO"; then :
1868 ac_header_preproc
=yes
1870 ac_header_preproc
=no
1872 rm -f conftest.err conftest.i conftest.
$ac_ext
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1874 $as_echo "$ac_header_preproc" >&6; }
1876 # So? What about this header?
1877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1880 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1882 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1886 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1888 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1890 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1892 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1894 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898 $as_echo_n "checking for $2... " >&6; }
1899 if eval \
${$3+:} false
; then :
1900 $as_echo_n "(cached) " >&6
1902 eval "$3=\$ac_header_compiler"
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1906 $as_echo "$ac_res" >&6; }
1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 } # ac_fn_c_check_header_mongrel
1912 # ac_fn_c_try_run LINENO
1913 # ----------------------
1914 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1915 # that executables *can* be run.
1918 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1919 if { { ac_try
="$ac_link"
1921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1922 *) ac_try_echo=$ac_try;;
1924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_link") 2>&5
1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1929 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1930 { { case "(($ac_try" in
1931 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1932 *) ac_try_echo
=$ac_try;;
1934 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1935 $as_echo "$ac_try_echo"; } >&5
1936 (eval "$ac_try") 2>&5
1938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1939 test $ac_status = 0; }; }; then :
1942 $as_echo "$as_me: program exited with status $ac_status" >&5
1943 $as_echo "$as_me: failed program was:" >&5
1944 sed 's/^/| /' conftest.
$ac_ext >&5
1946 ac_retval
=$ac_status
1948 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950 as_fn_set_status
$ac_retval
1954 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1955 # -------------------------------------------------------
1956 # Tests whether HEADER exists and can be compiled using the include files in
1957 # INCLUDES, setting the cache variable VAR accordingly.
1958 ac_fn_c_check_header_compile
()
1960 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1962 $as_echo_n "checking for $2... " >&6; }
1963 if eval \
${$3+:} false
; then :
1964 $as_echo_n "(cached) " >&6
1966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1967 /* end confdefs.h. */
1971 if ac_fn_c_try_compile
"$LINENO"; then :
1976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1980 $as_echo "$ac_res" >&6; }
1981 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1983 } # ac_fn_c_check_header_compile
1985 # ac_fn_c_try_link LINENO
1986 # -----------------------
1987 # Try to link conftest.$ac_ext, and return whether this succeeded.
1990 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1991 rm -f conftest.
$ac_objext conftest
$ac_exeext
1992 if { { ac_try
="$ac_link"
1994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1995 *) ac_try_echo=$ac_try;;
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999 (eval "$ac_link") 2>conftest.err
2001 if test -s conftest.err; then
2002 grep -v '^ *+' conftest.err >conftest.er1
2003 cat conftest.er1 >&5
2004 mv -f conftest.er1 conftest.err
2006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2007 test $ac_status = 0; } && {
2008 test -z "$ac_c_werror_flag" ||
2009 test ! -s conftest.err
2010 } && test -s conftest$ac_exeext && {
2011 test "$cross_compiling" = yes ||
2012 $as_test_x conftest$ac_exeext
2016 $as_echo "$as_me: failed program was:" >&5
2017 sed 's/^/| /' conftest.$ac_ext >&5
2021 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2022 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2023 # interfere with the next link command; also delete a directory that is
2024 # left behind by Apple's compiler. We do this before executing the actions.
2025 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2027 as_fn_set_status $ac_retval
2029 } # ac_fn_c_try_link
2031 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2032 # ----------------------------------------------------
2033 # Tries to find if the field MEMBER exists in type AGGR, after including
2034 # INCLUDES, setting cache variable VAR accordingly.
2035 ac_fn_c_check_member ()
2037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2039 $as_echo_n "checking for $2.$3... " >&6; }
2040 if eval \${$4+:} false; then :
2041 $as_echo_n "(cached) " >&6
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2056 if ac_fn_c_try_compile "$LINENO"; then :
2059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2066 if (sizeof ac_aggr.$3)
2072 if ac_fn_c_try_compile "$LINENO"; then :
2077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2083 $as_echo "$ac_res" >&6; }
2084 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2086 } # ac_fn_c_check_member
2088 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2089 # ---------------------------------------------
2090 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2092 ac_fn_c_check_decl ()
2094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2095 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2096 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2098 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2099 if eval \${$3+:} false; then :
2100 $as_echo_n "(cached) " >&6
2102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2103 /* end confdefs.h. */
2108 #ifndef $as_decl_name
2110 (void) $as_decl_use;
2112 (void) $as_decl_name;
2120 if ac_fn_c_try_compile "$LINENO"; then :
2125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2129 $as_echo "$ac_res" >&6; }
2130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2132 } # ac_fn_c_check_decl
2134 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2135 # -------------------------------------------
2136 # Tests whether TYPE exists after having included INCLUDES, setting cache
2137 # variable VAR accordingly.
2138 ac_fn_c_check_type ()
2140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2142 $as_echo_n "checking for $2... " >&6; }
2143 if eval \${$3+:} false; then :
2144 $as_echo_n "(cached) " >&6
2147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h. */
2159 if ac_fn_c_try_compile "$LINENO"; then :
2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2172 if ac_fn_c_try_compile "$LINENO"; then :
2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2183 $as_echo "$ac_res" >&6; }
2184 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2186 } # ac_fn_c_check_type
2188 # ac_fn_c_check_func LINENO FUNC VAR
2189 # ----------------------------------
2190 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2191 ac_fn_c_check_func ()
2193 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2195 $as_echo_n "checking for $2... " >&6; }
2196 if eval \${$3+:} false; then :
2197 $as_echo_n "(cached) " >&6
2199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2200 /* end confdefs.h. */
2201 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2203 #define $2 innocuous_$2
2205 /* System header to define __stub macros and hopefully few prototypes,
2206 which can conflict with char $2 (); below.
2207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2208 <limits.h> exists even on freestanding compilers. */
2211 # include <limits.h>
2213 # include <assert.h>
2218 /* Override any GCC internal prototype to avoid an error.
2219 Use char because int might match the return type of a GCC
2220 builtin and then its argument prototype would still apply. */
2225 /* The GNU C library defines this for functions which it implements
2226 to always fail with ENOSYS. Some functions are actually named
2227 something starting with __ and the normal name is an alias. */
2228 #if defined __stub_$2 || defined __stub___$2
2240 if ac_fn_c_try_link "$LINENO"; then :
2245 rm -f core conftest.err conftest.$ac_objext \
2246 conftest$ac_exeext conftest.$ac_ext
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2250 $as_echo "$ac_res" >&6; }
2251 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2253 } # ac_fn_c_check_func
2254 cat >config.log <<_ACEOF
2255 This file contains any messages produced by compilers while
2256 running configure, to aid debugging if configure makes a mistake.
2258 It was created by $as_me, which was
2259 generated by GNU Autoconf 2.68. Invocation command line was
2271 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2272 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2273 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2274 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2275 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2277 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2278 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2280 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2281 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2282 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2283 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2284 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2285 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2286 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 test -z "$as_dir" && as_dir=.
2295 $as_echo "PATH: $as_dir"
2311 # Keep a trace of the command line.
2312 # Strip out --no-create and --no-recursion so they do not pile up.
2313 # Strip out --silent because we don't want to record it for future runs.
2314 # Also quote any args containing shell meta-characters.
2315 # Make two passes to allow for proper duplicate-argument suppression.
2319 ac_must_keep_next=false
2325 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2327 | -silent | --silent | --silen | --sile | --sil)
2330 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2333 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2335 as_fn_append ac_configure_args1 " '$ac_arg'"
2336 if test $ac_must_keep_next = true; then
2337 ac_must_keep_next=false # Got value, back to normal.
2340 *=* | --config-cache | -C | -disable-* | --disable-* \
2341 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2342 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2343 | -with-* | --with-* | -without-* | --without-* | --x)
2344 case "$ac_configure_args0 " in
2345 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2348 -* ) ac_must_keep_next=true ;;
2351 as_fn_append ac_configure_args " '$ac_arg'"
2356 { ac_configure_args0=; unset ac_configure_args0;}
2357 { ac_configure_args1=; unset ac_configure_args1;}
2359 # When interrupted or exit'd, cleanup temporary files, and complete
2360 # config.log. We remove comments because anyway the quotes in there
2361 # would cause problems or look ugly.
2362 # WARNING: Use '\'' to represent an apostrophe within the trap.
2363 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2364 trap 'exit_status=$?
2365 # Save into config.log some information that might help in debugging.
2369 $as_echo "## ---------------- ##
2370 ## Cache variables. ##
2371 ## ---------------- ##"
2373 # The following way of writing the cache mishandles newlines in values,
2375 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2376 eval ac_val=\$$ac_var
2380 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2381 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2384 _ | IFS | as_nl) ;; #(
2385 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2386 *) { eval $ac_var=; unset $ac_var;} ;;
2391 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2392 *${as_nl}ac_space=\ *)
2394 "s/'\''/'\''\\\\'\'''\''/g;
2395 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2398 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2405 $as_echo "## ----------------- ##
2406 ## Output variables. ##
2407 ## ----------------- ##"
2409 for ac_var in $ac_subst_vars
2411 eval ac_val=\$$ac_var
2413 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2415 $as_echo "$ac_var='\''$ac_val'\''"
2419 if test -n "$ac_subst_files"; then
2420 $as_echo "## ------------------- ##
2421 ## File substitutions. ##
2422 ## ------------------- ##"
2424 for ac_var in $ac_subst_files
2426 eval ac_val=\$$ac_var
2428 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2430 $as_echo "$ac_var='\''$ac_val'\''"
2435 if test -s confdefs.h; then
2436 $as_echo "## ----------- ##
2443 test "$ac_signal" != 0 &&
2444 $as_echo "$as_me: caught signal $ac_signal"
2445 $as_echo "$as_me: exit $exit_status"
2447 rm -f core *.core core.conftest.* &&
2448 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2451 for ac_signal in 1 2 13 15; do
2452 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2456 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2457 rm -f -r conftest* confdefs.h
2459 $as_echo "/* confdefs.h */" > confdefs.h
2461 # Predefined preprocessor variables.
2463 cat >>confdefs.h <<_ACEOF
2464 #define PACKAGE_NAME "$PACKAGE_NAME"
2467 cat >>confdefs.h <<_ACEOF
2468 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2471 cat >>confdefs.h <<_ACEOF
2472 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2475 cat >>confdefs.h <<_ACEOF
2476 #define PACKAGE_STRING "$PACKAGE_STRING"
2479 cat >>confdefs.h <<_ACEOF
2480 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2483 cat >>confdefs.h <<_ACEOF
2484 #define PACKAGE_URL "$PACKAGE_URL"
2488 # Let the site file select an alternate cache file if it wants to.
2489 # Prefer an explicitly selected file to automatically selected ones.
2492 if test -n "$CONFIG_SITE"; then
2493 # We do not want a PATH search for config.site.
2494 case $CONFIG_SITE in #((
2495 -*) ac_site_file1=./$CONFIG_SITE;;
2496 */*) ac_site_file1=$CONFIG_SITE;;
2497 *) ac_site_file1=./$CONFIG_SITE;;
2499 elif test "x$prefix" != xNONE; then
2500 ac_site_file1=$prefix/share/config.site
2501 ac_site_file2=$prefix/etc/config.site
2503 ac_site_file1=$ac_default_prefix/share/config.site
2504 ac_site_file2=$ac_default_prefix/etc/config.site
2506 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2508 test "x$ac_site_file" = xNONE && continue
2509 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2511 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2512 sed 's/^/| /' "$ac_site_file" >&5
2514 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2516 as_fn_error $? "failed to load site
script $ac_site_file
2517 See \
`config.log' for more details" "$LINENO" 5; }
2521 if test -r "$cache_file"; then
2522 # Some versions of bash will fail to source /dev/null (special files
2523 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2524 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2526 $as_echo "$as_me: loading cache $cache_file" >&6;}
2528 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2529 *) . "./$cache_file";;
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2534 $as_echo "$as_me: creating cache $cache_file" >&6;}
2538 as_fn_append ac_header_list " stdlib.h"
2539 as_fn_append ac_header_list " unistd.h"
2540 as_fn_append ac_header_list " sys/param.h"
2541 # Check that the precious variables saved in the cache have kept the same
2543 ac_cache_corrupted=false
2544 for ac_var in $ac_precious_vars; do
2545 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2546 eval ac_new_set=\$ac_env_${ac_var}_set
2547 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2548 eval ac_new_val=\$ac_env_${ac_var}_value
2549 case $ac_old_set,$ac_new_set in
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2552 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2553 ac_cache_corrupted=: ;;
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2556 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2557 ac_cache_corrupted=: ;;
2560 if test "x$ac_old_val" != "x$ac_new_val"; then
2561 # differences in whitespace do not lead to failure.
2562 ac_old_val_w=`echo x
$ac_old_val`
2563 ac_new_val_w=`echo x
$ac_new_val`
2564 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2566 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2567 ac_cache_corrupted=:
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2570 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2571 eval $ac_var=\$ac_old_val
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2574 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2576 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2579 # Pass precious variables to config.status.
2580 if test "$ac_new_set" = set; then
2582 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2583 *) ac_arg=$ac_var=$ac_new_val ;;
2585 case " $ac_configure_args " in
2586 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2587 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2591 if $ac_cache_corrupted; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2595 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2596 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2598 ## -------------------- ##
2599 ## Main body of script. ##
2600 ## -------------------- ##
2603 ac_cpp='$CPP $CPPFLAGS'
2604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2611 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2612 if test -f "$ac_dir/install-sh"; then
2614 ac_install_sh="$ac_aux_dir/install-sh -c"
2616 elif test -f "$ac_dir/install.sh"; then
2618 ac_install_sh="$ac_aux_dir/install.sh -c"
2620 elif test -f "$ac_dir/shtool"; then
2622 ac_install_sh="$ac_aux_dir/shtool install -c"
2626 if test -z "$ac_aux_dir"; then
2627 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2630 # These three variables are undocumented and unsupported,
2631 # and are intended to be withdrawn in a future Autoconf release.
2632 # They can cause serious problems if a builder's source tree is in a directory
2633 # whose full name contains unusual characters.
2634 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2635 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2636 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2640 # Check what host we are running on.
2641 # If a target is not suggested, we use this one.
2642 # Note that what we call a target, Autoconf calls a host.
2643 # Make sure we can run config.sub.
2644 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2645 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2648 $as_echo_n "checking build system type... " >&6; }
2649 if ${ac_cv_build+:} false; then :
2650 $as_echo_n "(cached) " >&6
2652 ac_build_alias=$build_alias
2653 test "x$ac_build_alias" = x &&
2654 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2655 test "x$ac_build_alias" = x &&
2656 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2657 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2658 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2662 $as_echo "$ac_cv_build" >&6; }
2663 case $ac_cv_build in
2665 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2668 ac_save_IFS=$IFS; IFS='-'
2674 # Remember, the first character of IFS is used to create $*,
2675 # except with old shells:
2678 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2682 $as_echo_n "checking host system type... " >&6; }
2683 if ${ac_cv_host+:} false; then :
2684 $as_echo_n "(cached) " >&6
2686 if test "x$host_alias" = x; then
2687 ac_cv_host=$ac_cv_build
2689 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2690 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2695 $as_echo "$ac_cv_host" >&6; }
2698 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2701 ac_save_IFS=$IFS; IFS='-'
2707 # Remember, the first character of IFS is used to create $*,
2708 # except with old shells:
2711 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2715 # The AROS target is slightly different to the normal GNU style
2716 # format. We don't have the middle part, and we reverse the order
2717 # of the $(CPU) and $(OS) bits.
2719 # Don't strip the version of the target yet, it might be
2720 # useful on some systems.
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2723 $as_echo_n "checking for AROS style target... " >&6; }
2725 if test "$target" = "NONE" ; then
2726 target=$host_os-$host_cpu
2728 if test "$target" = "" ; then
2729 target=$host_os-$host_cpu
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2733 $as_echo "$target" >&6; }
2735 if test "$host_os" = "mingw32" ; then
2739 # Don't know where else to put this...
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2741 $as_echo_n "checking building AROS in... " >&6; }
2742 AROS_BUILDDIR=`${PWDCMD-pwd}`
2743 AROS_BUILDDIR_UNIX=${PWD}
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2745 $as_echo "$AROS_BUILDDIR" >&6; }
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2748 $as_echo_n "checking AROS source in... " >&6; }
2749 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2752 $as_echo "$SRCDIR" >&6; }
2754 # Parse the target field into something useful.
2756 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2757 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2760 # Some debug output, to be removed again.
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2762 $as_echo_n "checking for target system (debug output)... " >&6; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2764 $as_echo "$target_os" >&6; }
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2766 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2768 $as_echo "$target_cpu" >&6; }
2770 aros_default_wbwidth=800
2771 aros_default_wbheight=600
2772 aros_default_wbdepth=4
2775 # The first step is to find the host binaries.
2776 # Check for a compiler.
2778 ac_cpp='$CPP $CPPFLAGS'
2779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2782 if test -n "$ac_tool_prefix"; then
2783 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2784 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2786 $as_echo_n "checking for $ac_word... " >&6; }
2787 if ${ac_cv_prog_CC+:} false; then :
2788 $as_echo_n "(cached) " >&6
2790 if test -n "$CC"; then
2791 ac_cv_prog_CC="$CC" # Let the user override the test.
2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2797 test -z "$as_dir" && as_dir=.
2798 for ac_exec_ext in '' $ac_executable_extensions; do
2799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2800 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 if test -n "$CC"; then
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2813 $as_echo "$CC" >&6; }
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2816 $as_echo "no" >&6; }
2821 if test -z "$ac_cv_prog_CC"; then
2823 # Extract the first word of "gcc", so it can be a program name with args.
2824 set dummy gcc; ac_word=$2
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2826 $as_echo_n "checking for $ac_word... " >&6; }
2827 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2828 $as_echo_n "(cached) " >&6
2830 if test -n "$ac_ct_CC"; then
2831 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2837 test -z "$as_dir" && as_dir=.
2838 for ac_exec_ext in '' $ac_executable_extensions; do
2839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2840 ac_cv_prog_ac_ct_CC="gcc"
2841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2851 if test -n "$ac_ct_CC"; then
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2853 $as_echo "$ac_ct_CC" >&6; }
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2856 $as_echo "no" >&6; }
2859 if test "x$ac_ct_CC" = x; then
2862 case $cross_compiling:$ac_tool_warned in
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2866 ac_tool_warned=yes ;;
2874 if test -z "$CC"; then
2875 if test -n "$ac_tool_prefix"; then
2876 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2877 set dummy ${ac_tool_prefix}cc; ac_word=$2
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2879 $as_echo_n "checking for $ac_word... " >&6; }
2880 if ${ac_cv_prog_CC+:} false; then :
2881 $as_echo_n "(cached) " >&6
2883 if test -n "$CC"; then
2884 ac_cv_prog_CC="$CC" # Let the user override the test.
2886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2890 test -z "$as_dir" && as_dir=.
2891 for ac_exec_ext in '' $ac_executable_extensions; do
2892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2893 ac_cv_prog_CC="${ac_tool_prefix}cc"
2894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2904 if test -n "$CC"; then
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2906 $as_echo "$CC" >&6; }
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2909 $as_echo "no" >&6; }
2915 if test -z "$CC"; then
2916 # Extract the first word of "cc", so it can be a program name with args.
2917 set dummy cc; ac_word=$2
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2919 $as_echo_n "checking for $ac_word... " >&6; }
2920 if ${ac_cv_prog_CC+:} false; then :
2921 $as_echo_n "(cached) " >&6
2923 if test -n "$CC"; then
2924 ac_cv_prog_CC="$CC" # Let the user override the test.
2927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931 test -z "$as_dir" && as_dir=.
2932 for ac_exec_ext in '' $ac_executable_extensions; do
2933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2934 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2935 ac_prog_rejected=yes
2939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946 if test $ac_prog_rejected = yes; then
2947 # We found a bogon in the path, so make sure we never use it.
2948 set dummy $ac_cv_prog_CC
2950 if test $# != 0; then
2951 # We chose a different compiler from the bogus one.
2952 # However, it has the same basename, so the bogon will be chosen
2953 # first if we set CC to just the basename; use the full file name.
2955 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2961 if test -n "$CC"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2963 $as_echo "$CC" >&6; }
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2971 if test -z "$CC"; then
2972 if test -n "$ac_tool_prefix"; then
2973 for ac_prog in cl.exe
2975 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2976 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978 $as_echo_n "checking for $ac_word... " >&6; }
2979 if ${ac_cv_prog_CC+:} false; then :
2980 $as_echo_n "(cached) " >&6
2982 if test -n "$CC"; then
2983 ac_cv_prog_CC="$CC" # Let the user override the test.
2985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir=.
2990 for ac_exec_ext in '' $ac_executable_extensions; do
2991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2992 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3003 if test -n "$CC"; then
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3005 $as_echo "$CC" >&6; }
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008 $as_echo "no" >&6; }
3012 test -n "$CC" && break
3015 if test -z "$CC"; then
3017 for ac_prog in cl.exe
3019 # Extract the first word of "$ac_prog", so it can be a program name with args.
3020 set dummy $ac_prog; ac_word=$2
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3022 $as_echo_n "checking for $ac_word... " >&6; }
3023 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3024 $as_echo_n "(cached) " >&6
3026 if test -n "$ac_ct_CC"; then
3027 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 test -z "$as_dir" && as_dir=.
3034 for ac_exec_ext in '' $ac_executable_extensions; do
3035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036 ac_cv_prog_ac_ct_CC="$ac_prog"
3037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3047 if test -n "$ac_ct_CC"; then
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3049 $as_echo "$ac_ct_CC" >&6; }
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052 $as_echo "no" >&6; }
3056 test -n "$ac_ct_CC" && break
3059 if test "x$ac_ct_CC" = x; then
3062 case $cross_compiling:$ac_tool_warned in
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3066 ac_tool_warned=yes ;;
3075 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3077 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3078 See \
`config.log' for more details" "$LINENO" 5; }
3080 # Provide some information about the compiler.
3081 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3084 for ac_option in --version -v -V -qversion; do
3085 { { ac_try="$ac_compiler $ac_option >&5"
3087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3088 *) ac_try_echo
=$ac_try;;
3090 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3091 $as_echo "$ac_try_echo"; } >&5
3092 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3094 if test -s conftest.err
; then
3096 ... rest of stderr output deleted ...
3097 10q' conftest.err
>conftest.er1
3098 cat conftest.er1
>&5
3100 rm -f conftest.er1 conftest.err
3101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3102 test $ac_status = 0; }
3105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3106 /* end confdefs.h. */
3116 ac_clean_files_save
=$ac_clean_files
3117 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3118 # Try to create an executable without -o first, disregard a.out.
3119 # It will help us diagnose broken compilers, and finding out an intuition
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3122 $as_echo_n "checking whether the C compiler works... " >&6; }
3123 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3125 # The possible output files:
3126 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3129 for ac_file
in $ac_files
3132 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3133 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3138 if { { ac_try
="$ac_link_default"
3140 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3141 *) ac_try_echo=$ac_try;;
3143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3144 $as_echo "$ac_try_echo"; } >&5
3145 (eval "$ac_link_default") 2>&5
3147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3148 test $ac_status = 0; }; then :
3149 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3150 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3151 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3152 # so that the user can short-circuit this test for compilers unknown to
3154 for ac_file in $ac_files ''
3156 test -f "$ac_file" || continue
3158 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3161 # We found the default executable, but exeext='' is most
3165 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3167 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3169 # We set ac_cv_exeext here because the later test for it is not
3170 # safe: cross compilers may not add the suffix if given an `-o'
3171 # argument, so we may need to know it at that point already.
3172 # Even if this section looks crufty: it has the advantage of
3179 test "$ac_cv_exeext" = no && ac_cv_exeext=
3184 if test -z "$ac_file"; then :
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3186 $as_echo "no" >&6; }
3187 $as_echo "$as_me: failed program was:" >&5
3188 sed 's
/^
/|
/' conftest.$ac_ext >&5
3190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3191 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3192 as_fn_error 77 "C compiler cannot create executables
3193 See \`config.log
' for more details" "$LINENO" 5; }
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3196 $as_echo "yes" >&6; }
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3199 $as_echo_n "checking for C compiler default output file name... " >&6; }
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3201 $as_echo "$ac_file" >&6; }
3202 ac_exeext=$ac_cv_exeext
3204 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3205 ac_clean_files=$ac_clean_files_save
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3207 $as_echo_n "checking for suffix of executables... " >&6; }
3208 if { { ac_try="$ac_link"
3210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3211 *) ac_try_echo=$ac_try;;
3213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3214 $as_echo "$ac_try_echo"; } >&5
3215 (eval "$ac_link") 2>&5
3217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3218 test $ac_status = 0; }; then :
3219 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3220 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3221 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3223 for ac_file
in conftest.exe conftest conftest.
*; do
3224 test -f "$ac_file" ||
continue
3226 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3227 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3235 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3236 See \`config.log' for more details" "$LINENO" 5; }
3238 rm -f conftest conftest
$ac_cv_exeext
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3240 $as_echo "$ac_cv_exeext" >&6; }
3242 rm -f conftest.
$ac_ext
3243 EXEEXT
=$ac_cv_exeext
3245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3246 /* end confdefs.h. */
3251 FILE *f = fopen ("conftest.out", "w");
3252 return ferror (f) || fclose (f) != 0;
3258 ac_clean_files
="$ac_clean_files conftest.out"
3259 # Check that the compiler produces executables we can run. If not, either
3260 # the compiler is broken, or we cross compile.
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3262 $as_echo_n "checking whether we are cross compiling... " >&6; }
3263 if test "$cross_compiling" != yes; then
3264 { { ac_try
="$ac_link"
3266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3267 *) ac_try_echo=$ac_try;;
3269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3270 $as_echo "$ac_try_echo"; } >&5
3271 (eval "$ac_link") 2>&5
3273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3274 test $ac_status = 0; }
3275 if { ac_try='./conftest$ac_cv_exeext'
3276 { { case "(($ac_try" in
3277 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3278 *) ac_try_echo
=$ac_try;;
3280 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3281 $as_echo "$ac_try_echo"; } >&5
3282 (eval "$ac_try") 2>&5
3284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3285 test $ac_status = 0; }; }; then
3288 if test "$cross_compiling" = maybe
; then
3291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3293 as_fn_error $?
"cannot run C compiled programs.
3294 If you meant to cross compile, use \`--host'.
3295 See \`config.log' for more details" "$LINENO" 5; }
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3300 $as_echo "$cross_compiling" >&6; }
3302 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3303 ac_clean_files
=$ac_clean_files_save
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3305 $as_echo_n "checking for suffix of object files... " >&6; }
3306 if ${ac_cv_objext+:} false
; then :
3307 $as_echo_n "(cached) " >&6
3309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3320 rm -f conftest.o conftest.obj
3321 if { { ac_try
="$ac_compile"
3323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3327 $as_echo "$ac_try_echo"; } >&5
3328 (eval "$ac_compile") 2>&5
3330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3331 test $ac_status = 0; }; then :
3332 for ac_file in conftest.o conftest.obj conftest.*; do
3333 test -f "$ac_file" || continue;
3335 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3336 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3341 $as_echo "$as_me: failed program was:" >&5
3342 sed 's/^/| /' conftest.$ac_ext >&5
3344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3346 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3347 See \
`config.log' for more details" "$LINENO" 5; }
3349 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3352 $as_echo "$ac_cv_objext" >&6; }
3353 OBJEXT=$ac_cv_objext
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3356 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3357 if ${ac_cv_c_compiler_gnu+:} false; then :
3358 $as_echo_n "(cached) " >&6
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3374 if ac_fn_c_try_compile "$LINENO"; then :
3379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3380 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3384 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3385 if test $ac_compiler_gnu = yes; then
3390 ac_test_CFLAGS=${CFLAGS+set}
3391 ac_save_CFLAGS=$CFLAGS
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3393 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3394 if ${ac_cv_prog_cc_g+:} false; then :
3395 $as_echo_n "(cached) " >&6
3397 ac_save_c_werror_flag=$ac_c_werror_flag
3398 ac_c_werror_flag=yes
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3412 if ac_fn_c_try_compile "$LINENO"; then :
3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3427 if ac_fn_c_try_compile "$LINENO"; then :
3430 ac_c_werror_flag=$ac_save_c_werror_flag
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3443 if ac_fn_c_try_compile "$LINENO"; then :
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3451 ac_c_werror_flag=$ac_save_c_werror_flag
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3454 $as_echo "$ac_cv_prog_cc_g" >&6; }
3455 if test "$ac_test_CFLAGS" = set; then
3456 CFLAGS=$ac_save_CFLAGS
3457 elif test $ac_cv_prog_cc_g = yes; then
3458 if test "$GCC" = yes; then
3464 if test "$GCC" = yes; then
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3471 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3472 if ${ac_cv_prog_cc_c89+:} false; then :
3473 $as_echo_n "(cached) " >&6
3475 ac_cv_prog_cc_c89=no
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3481 #include <sys/types.h>
3482 #include <sys/stat.h>
3483 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3484 struct buf { int x; };
3485 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3486 static char *e (p, i)
3492 static char *f (char * (*g) (char **, int), char **p, ...)
3497 s = g (p, va_arg (v,int));
3502 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3503 function prototypes and stuff, but not '\xHH' hex character constants.
3504 These don't provoke an error unfortunately, instead are silently treated
3505 as 'x'. The following induces an error, until -std is added to get
3506 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3507 array size at least. It's necessary to write '\x00'==0 to get something
3508 that's true only with -std. */
3509 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3511 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3512 inside strings and character constants. */
3514 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3516 int test (int i, double x);
3517 struct s1 {int (*f) (int a);};
3518 struct s2 {int (*f) (double a);};
3519 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3525 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3530 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3531 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3533 CC="$ac_save_CC $ac_arg"
3534 if ac_fn_c_try_compile "$LINENO"; then :
3535 ac_cv_prog_cc_c89=$ac_arg
3537 rm -f core conftest.err conftest.$ac_objext
3538 test "x$ac_cv_prog_cc_c89" != "xno" && break
3540 rm -f conftest.$ac_ext
3545 case "x$ac_cv_prog_cc_c89" in
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3548 $as_echo "none needed" >&6; } ;;
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3551 $as_echo "unsupported" >&6; } ;;
3553 CC="$CC $ac_cv_prog_cc_c89"
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3555 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3557 if test "x$ac_cv_prog_cc_c89" != xno; then :
3562 ac_cpp='$CPP $CPPFLAGS'
3563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3567 case $ac_cv_prog_cc_stdc in #(
3569 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3572 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3573 if ${ac_cv_prog_cc_c99+:} false; then :
3574 $as_echo_n "(cached) " >&6
3576 ac_cv_prog_cc_c99=no
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3581 #include <stdbool.h>
3586 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3587 #define debug(...) fprintf (stderr, __VA_ARGS__)
3588 #define showlist(...) puts (#__VA_ARGS__)
3589 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3591 test_varargs_macros (void)
3596 debug ("X = %d\n", x);
3597 showlist (The first, second, and third items.);
3598 report (x>y, "x is %d but y is %d", x, y);
3601 // Check long long types.
3602 #define BIG64 18446744073709551615ull
3603 #define BIG32 4294967295ul
3604 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3606 your preprocessor is broken;
3610 your preprocessor is broken;
3612 static long long int bignum = -9223372036854775807LL;
3613 static unsigned long long int ubignum = BIG64;
3615 struct incomplete_array
3623 const wchar_t *name;
3627 typedef const char *ccp;
3630 test_restrict (ccp restrict text)
3632 // See if C++-style comments work.
3633 // Iterate through items via the restricted pointer.
3634 // Also check for declarations in for loops.
3635 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3640 // Check varargs and va_copy.
3642 test_varargs (const char *format, ...)
3645 va_start (args, format);
3647 va_copy (args_copy, args);
3658 str = va_arg (args_copy, const char *);
3661 number = va_arg (args_copy, int);
3664 fnumber = va_arg (args_copy, double);
3679 _Bool success = false;
3682 if (test_restrict ("String literal") == 0)
3684 char *restrict newvar = "Another string";
3687 test_varargs ("s, d' f .", "string", 65, 34.234);
3688 test_varargs_macros ();
3690 // Check flexible array members.
3691 struct incomplete_array *ia =
3692 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3694 for (int i = 0; i < ia->datasize; ++i)
3695 ia->data[i] = i * 1.234;
3697 // Check named initializers.
3698 struct named_init ni = {
3700 .name = L"Test wide string",
3701 .average = 543.34343,
3706 int dynamic_array[ni.number];
3707 dynamic_array[ni.number - 1] = 543;
3709 // work around unused variable warnings
3710 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3711 || dynamic_array[ni.number - 1] != 543);
3717 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3719 CC="$ac_save_CC $ac_arg"
3720 if ac_fn_c_try_compile "$LINENO"; then :
3721 ac_cv_prog_cc_c99=$ac_arg
3723 rm -f core conftest.err conftest.$ac_objext
3724 test "x$ac_cv_prog_cc_c99" != "xno" && break
3726 rm -f conftest.$ac_ext
3731 case "x$ac_cv_prog_cc_c99" in
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3734 $as_echo "none needed" >&6; } ;;
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3737 $as_echo "unsupported" >&6; } ;;
3739 CC="$CC $ac_cv_prog_cc_c99"
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3741 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3743 if test "x$ac_cv_prog_cc_c99" != xno; then :
3744 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3747 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3748 if ${ac_cv_prog_cc_c89+:} false; then :
3749 $as_echo_n "(cached) " >&6
3751 ac_cv_prog_cc_c89=no
3753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3754 /* end confdefs.h. */
3757 #include <sys/types.h>
3758 #include <sys/stat.h>
3759 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3760 struct buf { int x; };
3761 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3762 static char *e (p, i)
3768 static char *f (char * (*g) (char **, int), char **p, ...)
3773 s = g (p, va_arg (v,int));
3778 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3779 function prototypes and stuff, but not '\xHH' hex character constants.
3780 These don't provoke an error unfortunately, instead are silently treated
3781 as 'x'. The following induces an error, until -std is added to get
3782 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3783 array size at least. It's necessary to write '\x00'==0 to get something
3784 that's true only with -std. */
3785 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3787 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3788 inside strings and character constants. */
3790 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3792 int test (int i, double x);
3793 struct s1 {int (*f) (int a);};
3794 struct s2 {int (*f) (double a);};
3795 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3801 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3806 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3807 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3809 CC="$ac_save_CC $ac_arg"
3810 if ac_fn_c_try_compile "$LINENO"; then :
3811 ac_cv_prog_cc_c89=$ac_arg
3813 rm -f core conftest.err conftest.$ac_objext
3814 test "x$ac_cv_prog_cc_c89" != "xno" && break
3816 rm -f conftest.$ac_ext
3821 case "x$ac_cv_prog_cc_c89" in
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3824 $as_echo "none needed" >&6; } ;;
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3827 $as_echo "unsupported" >&6; } ;;
3829 CC="$CC $ac_cv_prog_cc_c89"
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3831 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3833 if test "x$ac_cv_prog_cc_c89" != xno; then :
3834 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3836 ac_cv_prog_cc_stdc=no
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3843 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3844 if ${ac_cv_prog_cc_stdc+:} false; then :
3845 $as_echo_n "(cached) " >&6
3848 case $ac_cv_prog_cc_stdc in #(
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3851 $as_echo "unsupported" >&6; } ;; #(
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3854 $as_echo "none needed" >&6; } ;; #(
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3857 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3861 ac_cpp='$CXXCPP $CPPFLAGS'
3862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3865 if test -z "$CXX"; then
3866 if test -n "$CCC"; then
3869 if test -n "$ac_tool_prefix"; then
3870 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3872 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3873 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3875 $as_echo_n "checking for $ac_word... " >&6; }
3876 if ${ac_cv_prog_CXX+:} false; then :
3877 $as_echo_n "(cached) " >&6
3879 if test -n "$CXX"; then
3880 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3886 test -z "$as_dir" && as_dir=.
3887 for ac_exec_ext in '' $ac_executable_extensions; do
3888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3889 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 if test -n "$CXX"; then
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3902 $as_echo "$CXX" >&6; }
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3905 $as_echo "no" >&6; }
3909 test -n "$CXX" && break
3912 if test -z "$CXX"; then
3914 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3916 # Extract the first word of "$ac_prog", so it can be a program name with args.
3917 set dummy $ac_prog; ac_word=$2
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3919 $as_echo_n "checking for $ac_word... " >&6; }
3920 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3921 $as_echo_n "(cached) " >&6
3923 if test -n "$ac_ct_CXX"; then
3924 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3930 test -z "$as_dir" && as_dir=.
3931 for ac_exec_ext in '' $ac_executable_extensions; do
3932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3933 ac_cv_prog_ac_ct_CXX="$ac_prog"
3934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3944 if test -n "$ac_ct_CXX"; then
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3946 $as_echo "$ac_ct_CXX" >&6; }
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3949 $as_echo "no" >&6; }
3953 test -n "$ac_ct_CXX" && break
3956 if test "x$ac_ct_CXX" = x; then
3959 case $cross_compiling:$ac_tool_warned in
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3963 ac_tool_warned=yes ;;
3971 # Provide some information about the compiler.
3972 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3975 for ac_option in --version -v -V -qversion; do
3976 { { ac_try="$ac_compiler $ac_option >&5"
3978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3979 *) ac_try_echo
=$ac_try;;
3981 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3982 $as_echo "$ac_try_echo"; } >&5
3983 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3985 if test -s conftest.err
; then
3987 ... rest of stderr output deleted ...
3988 10q' conftest.err
>conftest.er1
3989 cat conftest.er1
>&5
3991 rm -f conftest.er1 conftest.err
3992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3993 test $ac_status = 0; }
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3997 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3998 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3999 $as_echo_n "(cached) " >&6
4001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4015 if ac_fn_cxx_try_compile
"$LINENO"; then :
4020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4021 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4025 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4026 if test $ac_compiler_gnu = yes; then
4031 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4032 ac_save_CXXFLAGS
=$CXXFLAGS
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4034 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4035 if ${ac_cv_prog_cxx_g+:} false
; then :
4036 $as_echo_n "(cached) " >&6
4038 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4039 ac_cxx_werror_flag
=yes
4042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h. */
4053 if ac_fn_cxx_try_compile
"$LINENO"; then :
4054 ac_cv_prog_cxx_g
=yes
4057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4058 /* end confdefs.h. */
4068 if ac_fn_cxx_try_compile
"$LINENO"; then :
4071 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4084 if ac_fn_cxx_try_compile
"$LINENO"; then :
4085 ac_cv_prog_cxx_g
=yes
4087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4092 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4095 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4096 if test "$ac_test_CXXFLAGS" = set; then
4097 CXXFLAGS
=$ac_save_CXXFLAGS
4098 elif test $ac_cv_prog_cxx_g = yes; then
4099 if test "$GXX" = yes; then
4105 if test "$GXX" = yes; then
4112 ac_cpp
='$CPP $CPPFLAGS'
4113 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4114 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4115 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4118 ac_cpp
='$CPP $CPPFLAGS'
4119 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4120 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4121 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4123 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4124 # On Suns, sometimes $CPP names a directory.
4125 if test -n "$CPP" && test -d "$CPP"; then
4128 if test -z "$CPP"; then
4129 if ${ac_cv_prog_CPP+:} false
; then :
4130 $as_echo_n "(cached) " >&6
4132 # Double quotes because CPP needs to be expanded
4133 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4136 for ac_c_preproc_warn_flag
in '' yes
4138 # Use a header file that comes with gcc, so configuring glibc
4139 # with a fresh cross-compiler works.
4140 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4141 # <limits.h> exists even on freestanding compilers.
4142 # On the NeXT, cc -E runs the code through the compiler's parser,
4143 # not just through cpp. "Syntax error" is here to catch this case.
4144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4147 # include <limits.h>
4149 # include <assert.h>
4153 if ac_fn_c_try_cpp
"$LINENO"; then :
4156 # Broken: fails on valid input.
4159 rm -f conftest.err conftest.i conftest.
$ac_ext
4161 # OK, works on sane cases. Now check whether nonexistent headers
4162 # can be detected and how.
4163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4165 #include <ac_nonexistent.h>
4167 if ac_fn_c_try_cpp
"$LINENO"; then :
4168 # Broken: success on invalid input.
4171 # Passes both tests.
4175 rm -f conftest.err conftest.i conftest.
$ac_ext
4178 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4179 rm -f conftest.i conftest.err conftest.
$ac_ext
4180 if $ac_preproc_ok; then :
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4193 $as_echo "$CPP" >&6; }
4195 for ac_c_preproc_warn_flag
in '' yes
4197 # Use a header file that comes with gcc, so configuring glibc
4198 # with a fresh cross-compiler works.
4199 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4200 # <limits.h> exists even on freestanding compilers.
4201 # On the NeXT, cc -E runs the code through the compiler's parser,
4202 # not just through cpp. "Syntax error" is here to catch this case.
4203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4206 # include <limits.h>
4208 # include <assert.h>
4212 if ac_fn_c_try_cpp
"$LINENO"; then :
4215 # Broken: fails on valid input.
4218 rm -f conftest.err conftest.i conftest.
$ac_ext
4220 # OK, works on sane cases. Now check whether nonexistent headers
4221 # can be detected and how.
4222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4224 #include <ac_nonexistent.h>
4226 if ac_fn_c_try_cpp
"$LINENO"; then :
4227 # Broken: success on invalid input.
4230 # Passes both tests.
4234 rm -f conftest.err conftest.i conftest.
$ac_ext
4237 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4238 rm -f conftest.i conftest.err conftest.
$ac_ext
4239 if $ac_preproc_ok; then :
4242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4244 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4245 See \`config.log' for more details" "$LINENO" 5; }
4249 ac_cpp
='$CPP $CPPFLAGS'
4250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4255 # Check for a compatible awk
4256 for ac_prog
in gawk nawk
4258 # Extract the first word of "$ac_prog", so it can be a program name with args.
4259 set dummy
$ac_prog; ac_word
=$2
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261 $as_echo_n "checking for $ac_word... " >&6; }
4262 if ${ac_cv_prog_AWK+:} false
; then :
4263 $as_echo_n "(cached) " >&6
4265 if test -n "$AWK"; then
4266 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir
=.
4273 for ac_exec_ext
in '' $ac_executable_extensions; do
4274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4275 ac_cv_prog_AWK
="$ac_prog"
4276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4286 if test -n "$AWK"; then
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4288 $as_echo "$AWK" >&6; }
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291 $as_echo "no" >&6; }
4295 test -n "$AWK" && break
4298 if test "$AWK" = ""; then
4299 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4301 # Extract the first word of "mmake", so it can be a program name with args.
4302 set dummy mmake
; ac_word
=$2
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4304 $as_echo_n "checking for $ac_word... " >&6; }
4305 if ${ac_cv_prog_MMAKE+:} false
; then :
4306 $as_echo_n "(cached) " >&6
4308 if test -n "$MMAKE"; then
4309 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4315 test -z "$as_dir" && as_dir
=.
4316 for ac_exec_ext
in '' $ac_executable_extensions; do
4317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4318 ac_cv_prog_MMAKE
="mmake "
4319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4328 MMAKE
=$ac_cv_prog_MMAKE
4329 if test -n "$MMAKE"; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4331 $as_echo "$MMAKE" >&6; }
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4339 # Perform some default variable assignments. Note all of these will be
4340 # Regenerated from the script, so there is no need to cache them.
4342 aros_host_cpp
="$CPP"
4344 aros_host_cxx
="$CXX"
4345 if test "$GCC" = "yes"; then
4346 aros_gcc_ld
=`$CC -print-prog-name=ld`
4347 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4348 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4350 $as_echo_n "checking for $ac_word... " >&6; }
4351 if ${ac_cv_path_aros_host_ld+:} false
; then :
4352 $as_echo_n "(cached) " >&6
4354 case $aros_host_ld in
4356 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4360 for as_dir
in `dirname $aros_gcc_ld`
4363 test -z "$as_dir" && as_dir
=.
4364 for ac_exec_ext
in '' $ac_executable_extensions; do
4365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4366 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 aros_host_ld
=$ac_cv_path_aros_host_ld
4378 if test -n "$aros_host_ld"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4380 $as_echo "$aros_host_ld" >&6; }
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4388 if test "$aros_host_ld" = ""; then
4389 # Extract the first word of "ld", so it can be a program name with args.
4390 set dummy ld
; ac_word
=$2
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4392 $as_echo_n "checking for $ac_word... " >&6; }
4393 if ${ac_cv_path_aros_host_ld+:} false
; then :
4394 $as_echo_n "(cached) " >&6
4396 case $aros_host_ld in
4398 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4405 test -z "$as_dir" && as_dir
=.
4406 for ac_exec_ext
in '' $ac_executable_extensions; do
4407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4408 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4419 aros_host_ld
=$ac_cv_path_aros_host_ld
4420 if test -n "$aros_host_ld"; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4422 $as_echo "$aros_host_ld" >&6; }
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4430 if test "$aros_host_ld" = ""; then
4431 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4433 aros_host_make
="make"
4434 aros_host_cflags
=$CFLAGS
4435 aros_host_cxxflags
=$CXXFLAGS
4436 aros_host_ldflags
=$LDFLAGS
4437 aros_host_debug
="-g -O0"
4438 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4439 aros_host_mkargs
="--no-print-directory"
4440 aros_host_exe_suffix
="$EXEEXT"
4441 aros_host_lib_suffix
=""
4443 # Ignore all compliance, AROS ROMs = 0
4444 # KickStart v1.0 = 30
4445 # KickStart v1.3 = 34
4446 # KickStart v2.0 = 37
4447 # KickStart v3.0 = 39
4448 # KickStart v3.1 = 40
4450 aros_amigaos_compliance
=0
4452 for ac_prog
in aclocal aclocal19 aclocal-1.9
4454 # Extract the first word of "$ac_prog", so it can be a program name with args.
4455 set dummy
$ac_prog; ac_word
=$2
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4457 $as_echo_n "checking for $ac_word... " >&6; }
4458 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4459 $as_echo_n "(cached) " >&6
4461 if test -n "$aros_host_aclocal"; then
4462 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4468 test -z "$as_dir" && as_dir
=.
4469 for ac_exec_ext
in '' $ac_executable_extensions; do
4470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4471 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4482 if test -n "$aros_host_aclocal"; then
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4484 $as_echo "$aros_host_aclocal" >&6; }
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4487 $as_echo "no" >&6; }
4491 test -n "$aros_host_aclocal" && break
4494 for ac_prog
in autoconf autoconf259 autoconf253
4496 # Extract the first word of "$ac_prog", so it can be a program name with args.
4497 set dummy
$ac_prog; ac_word
=$2
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4499 $as_echo_n "checking for $ac_word... " >&6; }
4500 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4501 $as_echo_n "(cached) " >&6
4503 if test -n "$aros_host_autoconf"; then
4504 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4510 test -z "$as_dir" && as_dir
=.
4511 for ac_exec_ext
in '' $ac_executable_extensions; do
4512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4513 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4523 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4524 if test -n "$aros_host_autoconf"; then
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4526 $as_echo "$aros_host_autoconf" >&6; }
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4529 $as_echo "no" >&6; }
4533 test -n "$aros_host_autoconf" && break
4536 for ac_prog
in autoheader autoheader259 autoheader253
4538 # Extract the first word of "$ac_prog", so it can be a program name with args.
4539 set dummy
$ac_prog; ac_word
=$2
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4543 $as_echo_n "(cached) " >&6
4545 if test -n "$aros_host_autoheader"; then
4546 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir
=.
4553 for ac_exec_ext
in '' $ac_executable_extensions; do
4554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4555 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4566 if test -n "$aros_host_autoheader"; then
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4568 $as_echo "$aros_host_autoheader" >&6; }
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571 $as_echo "no" >&6; }
4575 test -n "$aros_host_autoheader" && break
4578 for ac_prog
in automake automake19 automake-1.9
4580 # Extract the first word of "$ac_prog", so it can be a program name with args.
4581 set dummy
$ac_prog; ac_word
=$2
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4583 $as_echo_n "checking for $ac_word... " >&6; }
4584 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4585 $as_echo_n "(cached) " >&6
4587 if test -n "$aros_host_automake"; then
4588 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir
=.
4595 for ac_exec_ext
in '' $ac_executable_extensions; do
4596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4597 ac_cv_prog_aros_host_automake
="$ac_prog"
4598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 aros_host_automake
=$ac_cv_prog_aros_host_automake
4608 if test -n "$aros_host_automake"; then
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4610 $as_echo "$aros_host_automake" >&6; }
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4613 $as_echo "no" >&6; }
4617 test -n "$aros_host_automake" && break
4621 if test "$aros_host_aclocal" = ""; then
4622 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4624 if test "$aros_host_automake" = ""; then
4625 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4628 case "$aros_host_cc" in
4630 aros_host_cc_pipe
="-pipe"
4633 aros_host_cc_pipe
=""
4636 aros_host_cc_pipe
=""
4640 aros_kernel_cc_includes
=""
4641 aros_target_cc_includes
=""
4644 # ----------------------------------------------------------------------------------------
4645 # Host-specific defaults
4647 # This is the main host configuration section. It is where the host
4648 # can change the values of any variables it needs to change. We do
4649 # not look at anything that compiles to the target yet, we'll get
4654 aros_host_arch
="aros"
4655 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4658 aros_host_cpu
="i386"
4661 aros_host_cpu
="x86_64"
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4668 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4669 aros_host_cpu
="$host_cpu"
4675 aros_host_arch
="linux"
4676 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4677 android_build_os
="linux-x86"
4678 android_tool
="android"
4679 default_android_sdk
="/opt/android-sdk-linux_x86"
4682 aros_host_cpu
="i386"
4685 aros_host_cpu
="x86_64"
4688 aros_host_cpu
="m68k"
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4698 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4699 aros_host_cpu
="$host_cpu"
4705 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4706 aros_host_make
="gmake"
4707 aros_host_arch
="freebsd"
4708 aros_host_cpu
="i386"
4710 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4714 aros_object_format
="elf_i386"
4718 aros_object_format
="elf_i386_fbsd"
4725 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4726 aros_host_arch
="darwin"
4728 android_build_os
="darwin-x86"
4729 android_tool
="android"
4730 default_android_sdk
="/android-sdk-mac_x86"
4733 aros_host_cpu
="i386"
4736 aros_host_cpu
="x86_64"
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4743 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4744 aros_host_cpu
="$host_cpu"
4748 aros_host_ldflags
="$aros_host_ldflags -liconv"
4753 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4754 aros_host_make
="gmake"
4755 aros_host_arch
="dragonfly"
4758 aros_host_cpu
="i386"
4761 aros_host_cpu
="x86_64"
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4765 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4766 aros_host_cpu
="$host_cpu"
4772 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4773 aros_host_make
="gmake"
4774 aros_host_arch
="netbsd"
4777 aros_host_cpu
="i386"
4780 aros_host_cpu
="m68k"
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4784 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4785 aros_host_cpu
="$host_cpu"
4788 aros_host_lib_suffix
=".0.0"
4792 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4793 aros_host_make
="gmake"
4794 aros_host_arch
="openbsd"
4797 aros_host_cpu
="i386"
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4801 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4802 aros_host_cpu
="$host_cpu"
4808 aros_host_arch
="solaris"
4809 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4812 aros_host_cpu
="i386"
4815 aros_host_cpu
="sparc"
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4819 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4820 aros_host_cpu
="$host_cpu"
4826 aros_host_arch
="morphos"
4832 aros_host_arch
="amiga"
4838 TOUCH
="/gg/bin/touch"
4841 aros_host_cpu
="m68k"
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4848 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4849 aros_host_cpu
="$host_cpu"
4855 aros_host_arch
="cygwin"
4856 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4858 android_build_os
="windows"
4859 android_tool
="android.bat"
4860 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4864 aros_host_cpu
="i386"
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4868 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4869 aros_host_cpu
="$host_cpu"
4875 aros_host_arch
="mingw32"
4876 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4878 android_build_os
="windows"
4879 android_tool
="android.bat"
4880 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4886 $as_echo_n "checking for Windows native gcc target... " >&6; }
4887 host_cpu
=`gcc -dumpmachine`
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4889 $as_echo "$host_cpu" >&6; }
4896 aros_host_cpu
="i386"
4900 aros_host_cpu
="i386"
4904 aros_host_cpu
="x86_64"
4905 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4910 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4911 aros_host_cpu
="$host_cpu"
4916 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4920 # Extract the first word of "ar", so it can be a program name with args.
4921 set dummy
ar; ac_word
=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4925 $as_echo_n "(cached) " >&6
4927 if test -n "$aros_host_ar"; then
4928 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4934 test -z "$as_dir" && as_dir
=.
4935 for ac_exec_ext
in '' $ac_executable_extensions; do
4936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937 ac_cv_prog_aros_host_ar
="ar cr"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4947 aros_host_ar
=$ac_cv_prog_aros_host_ar
4948 if test -n "$aros_host_ar"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4950 $as_echo "$aros_host_ar" >&6; }
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4957 if test "$aros_host_ar" = ""; then
4958 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4960 # Extract the first word of "ranlib", so it can be a program name with args.
4961 set dummy ranlib
; ac_word
=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4965 $as_echo_n "(cached) " >&6
4967 if test -n "$aros_host_ranlib"; then
4968 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4974 test -z "$as_dir" && as_dir
=.
4975 for ac_exec_ext
in '' $ac_executable_extensions; do
4976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4977 ac_cv_prog_aros_host_ranlib
="ranlib "
4978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4987 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4988 if test -n "$aros_host_ranlib"; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4990 $as_echo "$aros_host_ranlib" >&6; }
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993 $as_echo "no" >&6; }
4997 if test "$aros_host_ranlib" = ""; then
4998 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5000 # Extract the first word of "strip", so it can be a program name with args.
5001 set dummy strip
; ac_word
=$2
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5003 $as_echo_n "checking for $ac_word... " >&6; }
5004 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5005 $as_echo_n "(cached) " >&6
5007 if test -n "$aros_host_strip"; then
5008 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5014 test -z "$as_dir" && as_dir
=.
5015 for ac_exec_ext
in '' $ac_executable_extensions; do
5016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5017 ac_cv_prog_aros_host_strip
="strip "
5018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 aros_host_strip
=$ac_cv_prog_aros_host_strip
5028 if test -n "$aros_host_strip"; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5030 $as_echo "$aros_host_strip" >&6; }
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5033 $as_echo "no" >&6; }
5037 if test "$aros_host_strip" = ""; then
5038 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5041 # Extract the first word of "rm", so it can be a program name with args.
5042 set dummy
rm; ac_word
=$2
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5044 $as_echo_n "checking for $ac_word... " >&6; }
5045 if ${ac_cv_prog_RM+:} false
; then :
5046 $as_echo_n "(cached) " >&6
5048 if test -n "$RM"; then
5049 ac_cv_prog_RM
="$RM" # Let the user override the test.
5051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5055 test -z "$as_dir" && as_dir
=.
5056 for ac_exec_ext
in '' $ac_executable_extensions; do
5057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5058 ac_cv_prog_RM
="rm -rf"
5059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 if test -n "$RM"; then
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5071 $as_echo "$RM" >&6; }
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5078 if test "$RM" = ""; then
5079 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5081 # Extract the first word of "cp", so it can be a program name with args.
5082 set dummy
cp; ac_word
=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if ${ac_cv_prog_CP+:} false
; then :
5086 $as_echo_n "(cached) " >&6
5088 if test -n "$CP"; then
5089 ac_cv_prog_CP
="$CP" # Let the user override the test.
5091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5095 test -z "$as_dir" && as_dir
=.
5096 for ac_exec_ext
in '' $ac_executable_extensions; do
5097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5109 if test -n "$CP"; then
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5111 $as_echo "$CP" >&6; }
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5118 if test "$CP" = ""; then
5119 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5121 # Extract the first word of "mv", so it can be a program name with args.
5122 set dummy
mv; ac_word
=$2
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5124 $as_echo_n "checking for $ac_word... " >&6; }
5125 if ${ac_cv_prog_MV+:} false
; then :
5126 $as_echo_n "(cached) " >&6
5128 if test -n "$MV"; then
5129 ac_cv_prog_MV
="$MV" # Let the user override the test.
5131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5135 test -z "$as_dir" && as_dir
=.
5136 for ac_exec_ext
in '' $ac_executable_extensions; do
5137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5149 if test -n "$MV"; then
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5151 $as_echo "$MV" >&6; }
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5154 $as_echo "no" >&6; }
5158 if test "$MV" = ""; then
5159 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5161 # Extract the first word of "echo", so it can be a program name with args.
5162 set dummy
echo; ac_word
=$2
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5164 $as_echo_n "checking for $ac_word... " >&6; }
5165 if ${ac_cv_prog_ECHO+:} false
; then :
5166 $as_echo_n "(cached) " >&6
5168 if test -n "$ECHO"; then
5169 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5175 test -z "$as_dir" && as_dir
=.
5176 for ac_exec_ext
in '' $ac_executable_extensions; do
5177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5178 ac_cv_prog_ECHO
="echo "
5179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5188 ECHO
=$ac_cv_prog_ECHO
5189 if test -n "$ECHO"; then
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5191 $as_echo "$ECHO" >&6; }
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5194 $as_echo "no" >&6; }
5198 if test "$ECHO" = ""; then
5199 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5201 # Extract the first word of "mkdir", so it can be a program name with args.
5202 set dummy mkdir
; ac_word
=$2
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204 $as_echo_n "checking for $ac_word... " >&6; }
5205 if ${ac_cv_prog_MKDIR+:} false
; then :
5206 $as_echo_n "(cached) " >&6
5208 if test -n "$MKDIR"; then
5209 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5215 test -z "$as_dir" && as_dir
=.
5216 for ac_exec_ext
in '' $ac_executable_extensions; do
5217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5218 ac_cv_prog_MKDIR
="mkdir -p"
5219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 MKDIR
=$ac_cv_prog_MKDIR
5229 if test -n "$MKDIR"; then
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5231 $as_echo "$MKDIR" >&6; }
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5234 $as_echo "no" >&6; }
5238 if test "$MKDIR" = ""; then
5239 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5241 # Extract the first word of "touch", so it can be a program name with args.
5242 set dummy
touch; ac_word
=$2
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5244 $as_echo_n "checking for $ac_word... " >&6; }
5245 if ${ac_cv_prog_TOUCH+:} false
; then :
5246 $as_echo_n "(cached) " >&6
5248 if test -n "$TOUCH"; then
5249 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir
=.
5256 for ac_exec_ext
in '' $ac_executable_extensions; do
5257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5258 ac_cv_prog_TOUCH
="touch "
5259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 TOUCH
=$ac_cv_prog_TOUCH
5269 if test -n "$TOUCH"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5271 $as_echo "$TOUCH" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5278 if test "$TOUCH" = ""; then
5279 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5281 # Extract the first word of "sort", so it can be a program name with args.
5282 set dummy
sort; ac_word
=$2
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5284 $as_echo_n "checking for $ac_word... " >&6; }
5285 if ${ac_cv_prog_SORT+:} false
; then :
5286 $as_echo_n "(cached) " >&6
5288 if test -n "$SORT"; then
5289 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5295 test -z "$as_dir" && as_dir
=.
5296 for ac_exec_ext
in '' $ac_executable_extensions; do
5297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5298 ac_cv_prog_SORT
="sort "
5299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5308 SORT
=$ac_cv_prog_SORT
5309 if test -n "$SORT"; then
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5311 $as_echo "$SORT" >&6; }
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5314 $as_echo "no" >&6; }
5318 if test "$SORT" = ""; then
5319 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5321 # Extract the first word of "uniq", so it can be a program name with args.
5322 set dummy
uniq; ac_word
=$2
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5324 $as_echo_n "checking for $ac_word... " >&6; }
5325 if ${ac_cv_prog_UNIQ+:} false
; then :
5326 $as_echo_n "(cached) " >&6
5328 if test -n "$UNIQ"; then
5329 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5335 test -z "$as_dir" && as_dir
=.
5336 for ac_exec_ext
in '' $ac_executable_extensions; do
5337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5338 ac_cv_prog_UNIQ
="uniq "
5339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5348 UNIQ
=$ac_cv_prog_UNIQ
5349 if test -n "$UNIQ"; then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5351 $as_echo "$UNIQ" >&6; }
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5358 if test "$UNIQ" = ""; then
5359 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5361 # Extract the first word of "true", so it can be a program name with args.
5362 set dummy true
; ac_word
=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_prog_NOP+:} false
; then :
5366 $as_echo_n "(cached) " >&6
5368 if test -n "$NOP"; then
5369 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5375 test -z "$as_dir" && as_dir
=.
5376 for ac_exec_ext
in '' $ac_executable_extensions; do
5377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5378 ac_cv_prog_NOP
="true "
5379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5389 if test -n "$NOP"; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5391 $as_echo "$NOP" >&6; }
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5398 if test "$NOP" = ""; then
5399 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5401 # Extract the first word of "cat", so it can be a program name with args.
5402 set dummy
cat; ac_word
=$2
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5404 $as_echo_n "checking for $ac_word... " >&6; }
5405 if ${ac_cv_prog_CAT+:} false
; then :
5406 $as_echo_n "(cached) " >&6
5408 if test -n "$CAT"; then
5409 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5415 test -z "$as_dir" && as_dir
=.
5416 for ac_exec_ext
in '' $ac_executable_extensions; do
5417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5418 ac_cv_prog_CAT
="cat "
5419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5429 if test -n "$CAT"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5431 $as_echo "$CAT" >&6; }
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5434 $as_echo "no" >&6; }
5438 if test "$CAT" = ""; then
5439 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5441 # Extract the first word of "bison", so it can be a program name with args.
5442 set dummy bison
; ac_word
=$2
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5444 $as_echo_n "checking for $ac_word... " >&6; }
5445 if ${ac_cv_prog_BISON+:} false
; then :
5446 $as_echo_n "(cached) " >&6
5448 if test -n "$BISON"; then
5449 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5455 test -z "$as_dir" && as_dir
=.
5456 for ac_exec_ext
in '' $ac_executable_extensions; do
5457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5458 ac_cv_prog_BISON
="bison "
5459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5468 BISON
=$ac_cv_prog_BISON
5469 if test -n "$BISON"; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5471 $as_echo "$BISON" >&6; }
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5474 $as_echo "no" >&6; }
5478 if test "$BISON" = ""; then
5479 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5481 # Extract the first word of "flex", so it can be a program name with args.
5482 set dummy flex
; ac_word
=$2
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5484 $as_echo_n "checking for $ac_word... " >&6; }
5485 if ${ac_cv_prog_FLEX+:} false
; then :
5486 $as_echo_n "(cached) " >&6
5488 if test -n "$FLEX"; then
5489 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5495 test -z "$as_dir" && as_dir
=.
5496 for ac_exec_ext
in '' $ac_executable_extensions; do
5497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5498 ac_cv_prog_FLEX
="flex "
5499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5508 FLEX
=$ac_cv_prog_FLEX
5509 if test -n "$FLEX"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5511 $as_echo "$FLEX" >&6; }
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5514 $as_echo "no" >&6; }
5518 if test "$FLEX" = ""; then
5519 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5521 # Extract the first word of "pngtopnm", so it can be a program name with args.
5522 set dummy pngtopnm
; ac_word
=$2
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524 $as_echo_n "checking for $ac_word... " >&6; }
5525 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5526 $as_echo_n "(cached) " >&6
5528 if test -n "$PNGTOPNM"; then
5529 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5535 test -z "$as_dir" && as_dir
=.
5536 for ac_exec_ext
in '' $ac_executable_extensions; do
5537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5538 ac_cv_prog_PNGTOPNM
="pngtopnm "
5539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5549 if test -n "$PNGTOPNM"; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5551 $as_echo "$PNGTOPNM" >&6; }
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554 $as_echo "no" >&6; }
5558 if test "$PNGTOPNM" = ""; then
5559 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5561 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5562 set dummy ppmtoilbm
; ac_word
=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5566 $as_echo_n "(cached) " >&6
5568 if test -n "$PPMTOILBM"; then
5569 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5575 test -z "$as_dir" && as_dir
=.
5576 for ac_exec_ext
in '' $ac_executable_extensions; do
5577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5578 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5588 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5589 if test -n "$PPMTOILBM"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5591 $as_echo "$PPMTOILBM" >&6; }
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5598 if test "$PPMTOILBM" = ""; then
5599 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5601 # Extract the first word of "sed", so it can be a program name with args.
5602 set dummy
sed; ac_word
=$2
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 $as_echo_n "checking for $ac_word... " >&6; }
5605 if ${ac_cv_prog_SED+:} false
; then :
5606 $as_echo_n "(cached) " >&6
5608 if test -n "$SED"; then
5609 ac_cv_prog_SED
="$SED" # Let the user override the test.
5611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir
=.
5616 for ac_exec_ext
in '' $ac_executable_extensions; do
5617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5618 ac_cv_prog_SED
="sed "
5619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 if test -n "$SED"; then
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5631 $as_echo "$SED" >&6; }
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5634 $as_echo "no" >&6; }
5638 if test "$SED" = ""; then
5639 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5641 # Extract the first word of "chmod", so it can be a program name with args.
5642 set dummy
chmod; ac_word
=$2
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644 $as_echo_n "checking for $ac_word... " >&6; }
5645 if ${ac_cv_prog_CHMOD+:} false
; then :
5646 $as_echo_n "(cached) " >&6
5648 if test -n "$CHMOD"; then
5649 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5655 test -z "$as_dir" && as_dir
=.
5656 for ac_exec_ext
in '' $ac_executable_extensions; do
5657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5658 ac_cv_prog_CHMOD
="chmod "
5659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5668 CHMOD
=$ac_cv_prog_CHMOD
5669 if test -n "$CHMOD"; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5671 $as_echo "$CHMOD" >&6; }
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5678 if test "$CHMOD" = ""; then
5679 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5681 # Extract the first word of "patch", so it can be a program name with args.
5682 set dummy
patch; ac_word
=$2
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684 $as_echo_n "checking for $ac_word... " >&6; }
5685 if ${ac_cv_prog_PATCH+:} false
; then :
5686 $as_echo_n "(cached) " >&6
5688 if test -n "$PATCH"; then
5689 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5695 test -z "$as_dir" && as_dir
=.
5696 for ac_exec_ext
in '' $ac_executable_extensions; do
5697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5698 ac_cv_prog_PATCH
="patch "
5699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 PATCH
=$ac_cv_prog_PATCH
5709 if test -n "$PATCH"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5711 $as_echo "$PATCH" >&6; }
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }
5718 if test "$PATCH" = ""; then
5719 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5728 if test -n "$PYTHON"; then
5729 # If the user set $PYTHON, use it and don't search something else.
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5731 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5733 # split strings by '.' and convert to numeric. Append some zeros
5734 # because we need at least 4 digits for the hex conversion.
5735 # map returns an iterator in Python 3.0 and a list in 2.x
5736 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5738 # xrange is not present in Python 3.0 and range returns an iterator
5739 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5740 sys.exit(sys.hexversion < minverhex)"
5741 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5742 ($PYTHON -c "$prog") >&5 2>&5
5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 (exit $ac_status); }; then :
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5747 $as_echo "yes" >&6; }
5749 as_fn_error $?
"too old" "$LINENO" 5
5751 am_display_PYTHON
=$PYTHON
5753 # Otherwise, try each interpreter until we find one that satisfies
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5756 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5757 if ${am_cv_pathless_PYTHON+:} false
; then :
5758 $as_echo_n "(cached) " >&6
5761 for am_cv_pathless_PYTHON
in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none
; do
5762 test "$am_cv_pathless_PYTHON" = none
&& break
5764 # split strings by '.' and convert to numeric. Append some zeros
5765 # because we need at least 4 digits for the hex conversion.
5766 # map returns an iterator in Python 3.0 and a list in 2.x
5767 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5769 # xrange is not present in Python 3.0 and range returns an iterator
5770 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5771 sys.exit(sys.hexversion < minverhex)"
5772 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5773 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; then :
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5782 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5783 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5784 if test "$am_cv_pathless_PYTHON" = none
; then
5787 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5788 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5790 $as_echo_n "checking for $ac_word... " >&6; }
5791 if ${ac_cv_path_PYTHON+:} false
; then :
5792 $as_echo_n "(cached) " >&6
5796 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5803 test -z "$as_dir" && as_dir
=.
5804 for ac_exec_ext
in '' $ac_executable_extensions; do
5805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5806 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5817 PYTHON
=$ac_cv_path_PYTHON
5818 if test -n "$PYTHON"; then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5820 $as_echo "$PYTHON" >&6; }
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 $as_echo "no" >&6; }
5828 am_display_PYTHON
=$am_cv_pathless_PYTHON
5832 if test "$PYTHON" = :; then
5833 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5838 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5839 if ${am_cv_python_version+:} false
; then :
5840 $as_echo_n "(cached) " >&6
5842 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5845 $as_echo "$am_cv_python_version" >&6; }
5846 PYTHON_VERSION
=$am_cv_python_version
5850 PYTHON_PREFIX
='${prefix}'
5852 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5857 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5858 if ${am_cv_python_platform+:} false
; then :
5859 $as_echo_n "(cached) " >&6
5861 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5864 $as_echo "$am_cv_python_platform" >&6; }
5865 PYTHON_PLATFORM
=$am_cv_python_platform
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5871 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5872 if ${am_cv_python_pythondir+:} false
; then :
5873 $as_echo_n "(cached) " >&6
5875 if test "x$prefix" = xNONE
5877 am_py_prefix
=$ac_default_prefix
5879 am_py_prefix
=$prefix
5881 am_cv_python_pythondir
=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
5882 case $am_cv_python_pythondir in
5884 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5885 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5888 case $am_py_prefix in
5891 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5899 $as_echo "$am_cv_python_pythondir" >&6; }
5900 pythondir
=$am_cv_python_pythondir
5904 pkgpythondir
=\
${pythondir}/$PACKAGE
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5908 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5909 if ${am_cv_python_pyexecdir+:} false
; then :
5910 $as_echo_n "(cached) " >&6
5912 if test "x$exec_prefix" = xNONE
5914 am_py_exec_prefix
=$am_py_prefix
5916 am_py_exec_prefix
=$exec_prefix
5918 am_cv_python_pyexecdir
=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
5919 case $am_cv_python_pyexecdir in
5920 $am_py_exec_prefix*)
5921 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5922 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5925 case $am_py_exec_prefix in
5928 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5936 $as_echo "$am_cv_python_pyexecdir" >&6; }
5937 pyexecdir
=$am_cv_python_pyexecdir
5941 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5959 # Check for some includes for the X11 HIDD and the kernel
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5963 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5964 if ${ac_cv_path_GREP+:} false
; then :
5965 $as_echo_n "(cached) " >&6
5967 if test -z "$GREP"; then
5968 ac_path_GREP_found
=false
5969 # Loop through the user's path and test for each of PROGNAME-LIST
5970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5971 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5974 test -z "$as_dir" && as_dir
=.
5975 for ac_prog
in grep ggrep
; do
5976 for ac_exec_ext
in '' $ac_executable_extensions; do
5977 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5978 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5979 # Check for GNU ac_path_GREP and select it if it is found.
5980 # Check for GNU $ac_path_GREP
5981 case `"$ac_path_GREP" --version 2>&1` in
5983 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5986 $as_echo_n 0123456789 >"conftest.in"
5989 cat "conftest.in" "conftest.in" >"conftest.tmp"
5990 mv "conftest.tmp" "conftest.in"
5991 cp "conftest.in" "conftest.nl"
5992 $as_echo 'GREP' >> "conftest.nl"
5993 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5994 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5995 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5996 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5997 # Best one so far, save it but keep looking for a better one
5998 ac_cv_path_GREP
="$ac_path_GREP"
5999 ac_path_GREP_max
=$ac_count
6001 # 10*(2^10) chars as input seems more than enough
6002 test $ac_count -gt 10 && break
6004 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6007 $ac_path_GREP_found && break 3
6012 if test -z "$ac_cv_path_GREP"; then
6013 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6016 ac_cv_path_GREP
=$GREP
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6021 $as_echo "$ac_cv_path_GREP" >&6; }
6022 GREP
="$ac_cv_path_GREP"
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6026 $as_echo_n "checking for egrep... " >&6; }
6027 if ${ac_cv_path_EGREP+:} false
; then :
6028 $as_echo_n "(cached) " >&6
6030 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6031 then ac_cv_path_EGREP
="$GREP -E"
6033 if test -z "$EGREP"; then
6034 ac_path_EGREP_found
=false
6035 # Loop through the user's path and test for each of PROGNAME-LIST
6036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6037 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6040 test -z "$as_dir" && as_dir
=.
6041 for ac_prog
in egrep; do
6042 for ac_exec_ext
in '' $ac_executable_extensions; do
6043 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6044 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6045 # Check for GNU ac_path_EGREP and select it if it is found.
6046 # Check for GNU $ac_path_EGREP
6047 case `"$ac_path_EGREP" --version 2>&1` in
6049 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6052 $as_echo_n 0123456789 >"conftest.in"
6055 cat "conftest.in" "conftest.in" >"conftest.tmp"
6056 mv "conftest.tmp" "conftest.in"
6057 cp "conftest.in" "conftest.nl"
6058 $as_echo 'EGREP' >> "conftest.nl"
6059 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6060 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6061 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6062 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6063 # Best one so far, save it but keep looking for a better one
6064 ac_cv_path_EGREP
="$ac_path_EGREP"
6065 ac_path_EGREP_max
=$ac_count
6067 # 10*(2^10) chars as input seems more than enough
6068 test $ac_count -gt 10 && break
6070 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6073 $ac_path_EGREP_found && break 3
6078 if test -z "$ac_cv_path_EGREP"; then
6079 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6082 ac_cv_path_EGREP
=$EGREP
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6088 $as_echo "$ac_cv_path_EGREP" >&6; }
6089 EGREP
="$ac_cv_path_EGREP"
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6093 $as_echo_n "checking for ANSI C header files... " >&6; }
6094 if ${ac_cv_header_stdc+:} false
; then :
6095 $as_echo_n "(cached) " >&6
6097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6098 /* end confdefs.h. */
6112 if ac_fn_c_try_compile
"$LINENO"; then :
6113 ac_cv_header_stdc
=yes
6115 ac_cv_header_stdc
=no
6117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6119 if test $ac_cv_header_stdc = yes; then
6120 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6122 /* end confdefs.h. */
6126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6127 $EGREP "memchr" >/dev
/null
2>&1; then :
6130 ac_cv_header_stdc
=no
6136 if test $ac_cv_header_stdc = yes; then
6137 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6139 /* end confdefs.h. */
6143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6144 $EGREP "free" >/dev
/null
2>&1; then :
6147 ac_cv_header_stdc
=no
6153 if test $ac_cv_header_stdc = yes; then
6154 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6155 if test "$cross_compiling" = yes; then :
6158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6159 /* end confdefs.h. */
6162 #if ((' ' & 0x0FF) == 0x020)
6163 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6164 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6166 # define ISLOWER(c) \
6167 (('a' <= (c) && (c) <= 'i') \
6168 || ('j' <= (c) && (c) <= 'r') \
6169 || ('s' <= (c) && (c) <= 'z'))
6170 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6173 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6178 for (i = 0; i < 256; i++)
6179 if (XOR (islower (i), ISLOWER (i))
6180 || toupper (i) != TOUPPER (i))
6185 if ac_fn_c_try_run
"$LINENO"; then :
6188 ac_cv_header_stdc
=no
6190 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6191 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6197 $as_echo "$ac_cv_header_stdc" >&6; }
6198 if test $ac_cv_header_stdc = yes; then
6200 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6204 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6205 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6206 inttypes.h stdint.h unistd.h
6208 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6209 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6211 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6212 cat >>confdefs.h
<<_ACEOF
6213 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6221 for ac_header
in sys
/ipc.h sys
/shm.h \
6222 sys
/mmap.h sys
/mman.h sysexits.h \
6223 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6226 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6227 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6228 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6229 cat >>confdefs.h
<<_ACEOF
6230 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6238 for ac_header
in sys
/mount.h
6240 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6242 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6243 cat >>confdefs.h
<<_ACEOF
6244 #define HAVE_SYS_MOUNT_H 1
6253 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6254 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6256 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6257 if eval \
${$as_ac_Header+:} false
; then :
6258 $as_echo_n "(cached) " >&6
6260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6261 /* end confdefs.h. */
6262 #include <sys/types.h>
6274 if ac_fn_c_try_compile
"$LINENO"; then :
6275 eval "$as_ac_Header=yes"
6277 eval "$as_ac_Header=no"
6279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6281 eval ac_res
=\$
$as_ac_Header
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6283 $as_echo "$ac_res" >&6; }
6284 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6285 cat >>confdefs.h
<<_ACEOF
6286 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6289 ac_header_dirent
=$ac_hdr; break
6293 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6294 if test $ac_header_dirent = dirent.h
; then
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6296 $as_echo_n "checking for library containing opendir... " >&6; }
6297 if ${ac_cv_search_opendir+:} false
; then :
6298 $as_echo_n "(cached) " >&6
6300 ac_func_search_save_LIBS
=$LIBS
6301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6302 /* end confdefs.h. */
6304 /* Override any GCC internal prototype to avoid an error.
6305 Use char because int might match the return type of a GCC
6306 builtin and then its argument prototype would still apply. */
6319 for ac_lib
in '' dir
; do
6320 if test -z "$ac_lib"; then
6321 ac_res
="none required"
6324 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6326 if ac_fn_c_try_link
"$LINENO"; then :
6327 ac_cv_search_opendir
=$ac_res
6329 rm -f core conftest.err conftest.
$ac_objext \
6331 if ${ac_cv_search_opendir+:} false
; then :
6335 if ${ac_cv_search_opendir+:} false
; then :
6338 ac_cv_search_opendir
=no
6341 LIBS
=$ac_func_search_save_LIBS
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6344 $as_echo "$ac_cv_search_opendir" >&6; }
6345 ac_res
=$ac_cv_search_opendir
6346 if test "$ac_res" != no
; then :
6347 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6353 $as_echo_n "checking for library containing opendir... " >&6; }
6354 if ${ac_cv_search_opendir+:} false
; then :
6355 $as_echo_n "(cached) " >&6
6357 ac_func_search_save_LIBS
=$LIBS
6358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6359 /* end confdefs.h. */
6361 /* Override any GCC internal prototype to avoid an error.
6362 Use char because int might match the return type of a GCC
6363 builtin and then its argument prototype would still apply. */
6376 for ac_lib
in '' x
; do
6377 if test -z "$ac_lib"; then
6378 ac_res
="none required"
6381 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6383 if ac_fn_c_try_link
"$LINENO"; then :
6384 ac_cv_search_opendir
=$ac_res
6386 rm -f core conftest.err conftest.
$ac_objext \
6388 if ${ac_cv_search_opendir+:} false
; then :
6392 if ${ac_cv_search_opendir+:} false
; then :
6395 ac_cv_search_opendir
=no
6398 LIBS
=$ac_func_search_save_LIBS
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6401 $as_echo "$ac_cv_search_opendir" >&6; }
6402 ac_res
=$ac_cv_search_opendir
6403 if test "$ac_res" != no
; then :
6404 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6411 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6412 if ${ac_cv_header_stat_broken+:} false
; then :
6413 $as_echo_n "(cached) " >&6
6415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6416 /* end confdefs.h. */
6417 #include <sys/types.h>
6418 #include <sys/stat.h>
6420 #if defined S_ISBLK && defined S_IFDIR
6421 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6424 #if defined S_ISBLK && defined S_IFCHR
6425 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6428 #if defined S_ISLNK && defined S_IFREG
6429 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6432 #if defined S_ISSOCK && defined S_IFREG
6433 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6437 if ac_fn_c_try_compile
"$LINENO"; then :
6438 ac_cv_header_stat_broken
=no
6440 ac_cv_header_stat_broken
=yes
6442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6445 $as_echo "$ac_cv_header_stat_broken" >&6; }
6446 if test $ac_cv_header_stat_broken = yes; then
6448 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6453 $as_echo_n "checking for ANSI C header files... " >&6; }
6454 if ${ac_cv_header_stdc+:} false
; then :
6455 $as_echo_n "(cached) " >&6
6457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6458 /* end confdefs.h. */
6472 if ac_fn_c_try_compile
"$LINENO"; then :
6473 ac_cv_header_stdc
=yes
6475 ac_cv_header_stdc
=no
6477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6479 if test $ac_cv_header_stdc = yes; then
6480 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6482 /* end confdefs.h. */
6486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6487 $EGREP "memchr" >/dev
/null
2>&1; then :
6490 ac_cv_header_stdc
=no
6496 if test $ac_cv_header_stdc = yes; then
6497 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6499 /* end confdefs.h. */
6503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6504 $EGREP "free" >/dev
/null
2>&1; then :
6507 ac_cv_header_stdc
=no
6513 if test $ac_cv_header_stdc = yes; then
6514 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6515 if test "$cross_compiling" = yes; then :
6518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6519 /* end confdefs.h. */
6522 #if ((' ' & 0x0FF) == 0x020)
6523 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6524 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6526 # define ISLOWER(c) \
6527 (('a' <= (c) && (c) <= 'i') \
6528 || ('j' <= (c) && (c) <= 'r') \
6529 || ('s' <= (c) && (c) <= 'z'))
6530 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6533 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6538 for (i = 0; i < 256; i++)
6539 if (XOR (islower (i), ISLOWER (i))
6540 || toupper (i) != TOUPPER (i))
6545 if ac_fn_c_try_run
"$LINENO"; then :
6548 ac_cv_header_stdc
=no
6550 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6551 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6557 $as_echo "$ac_cv_header_stdc" >&6; }
6558 if test $ac_cv_header_stdc = yes; then
6560 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6565 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6566 if ${ac_cv_header_sys_wait_h+:} false
; then :
6567 $as_echo_n "(cached) " >&6
6569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6571 #include <sys/types.h>
6572 #include <sys/wait.h>
6574 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6577 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6585 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6590 if ac_fn_c_try_compile
"$LINENO"; then :
6591 ac_cv_header_sys_wait_h
=yes
6593 ac_cv_header_sys_wait_h
=no
6595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6598 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6599 if test $ac_cv_header_sys_wait_h = yes; then
6601 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6606 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6607 if ${ac_cv_header_time+:} false
; then :
6608 $as_echo_n "(cached) " >&6
6610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h. */
6612 #include <sys/types.h>
6613 #include <sys/time.h>
6619 if ((struct tm *) 0)
6625 if ac_fn_c_try_compile
"$LINENO"; then :
6626 ac_cv_header_time
=yes
6628 ac_cv_header_time
=no
6630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6633 $as_echo "$ac_cv_header_time" >&6; }
6634 if test $ac_cv_header_time = yes; then
6636 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6640 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6641 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6643 cat >>confdefs.h
<<_ACEOF
6644 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6648 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6653 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6654 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6656 cat >>confdefs.h
<<_ACEOF
6657 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6661 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6664 case " $LIBOBJS " in
6665 *" fileblocks.$ac_objext "* ) ;;
6666 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6673 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6674 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6676 cat >>confdefs.h
<<_ACEOF
6677 #define HAVE_STRUCT_STAT_ST_RDEV 1
6681 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6687 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6688 if ${ac_cv_struct_tm+:} false
; then :
6689 $as_echo_n "(cached) " >&6
6691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6692 /* end confdefs.h. */
6693 #include <sys/types.h>
6700 int *p = &tm.tm_sec;
6706 if ac_fn_c_try_compile
"$LINENO"; then :
6707 ac_cv_struct_tm
=time.h
6709 ac_cv_struct_tm
=sys
/time.h
6711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6714 $as_echo "$ac_cv_struct_tm" >&6; }
6715 if test $ac_cv_struct_tm = sys
/time.h
; then
6717 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6721 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6722 #include <$ac_cv_struct_tm>
6725 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6727 cat >>confdefs.h
<<_ACEOF
6728 #define HAVE_STRUCT_TM_TM_ZONE 1
6734 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6736 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6739 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6741 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6747 cat >>confdefs.h
<<_ACEOF
6748 #define HAVE_DECL_TZNAME $ac_have_decl
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6752 $as_echo_n "checking for tzname... " >&6; }
6753 if ${ac_cv_var_tzname+:} false
; then :
6754 $as_echo_n "(cached) " >&6
6756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6757 /* end confdefs.h. */
6759 #if !HAVE_DECL_TZNAME
6760 extern char *tzname[];
6766 return tzname[0][0];
6771 if ac_fn_c_try_link
"$LINENO"; then :
6772 ac_cv_var_tzname
=yes
6776 rm -f core conftest.err conftest.
$ac_objext \
6777 conftest
$ac_exeext conftest.
$ac_ext
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6780 $as_echo "$ac_cv_var_tzname" >&6; }
6781 if test $ac_cv_var_tzname = yes; then
6783 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6788 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6789 if test "x$ac_cv_type_off_t" = xyes
; then :
6793 cat >>confdefs.h
<<_ACEOF
6794 #define off_t long int
6799 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6800 if test "x$ac_cv_type_pid_t" = xyes
; then :
6804 cat >>confdefs.h
<<_ACEOF
6810 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6811 if test "x$ac_cv_type_size_t" = xyes
; then :
6815 cat >>confdefs.h
<<_ACEOF
6816 #define size_t unsigned int
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6822 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6823 if ${ac_cv_type_uid_t+:} false
; then :
6824 $as_echo_n "(cached) " >&6
6826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6827 /* end confdefs.h. */
6828 #include <sys/types.h>
6831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6832 $EGREP "uid_t" >/dev
/null
2>&1; then :
6833 ac_cv_type_uid_t
=yes
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6841 $as_echo "$ac_cv_type_uid_t" >&6; }
6842 if test $ac_cv_type_uid_t = no
; then
6844 $as_echo "#define uid_t int" >>confdefs.h
6847 $as_echo "#define gid_t int" >>confdefs.h
6852 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6853 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6855 cat >>confdefs.h
<<_ACEOF
6856 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6863 # Look for some functions
6864 for ac_func
in getpagesize kqueue statfs statvfs \
6865 clone kse_create rfork_thread thr_create sa_register \
6866 getcontext makecontext setcontext sigaltstack swapcontext
6868 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6869 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6870 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6871 cat >>confdefs.h
<<_ACEOF
6872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6882 for ac_header
in $ac_header_list
6884 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6885 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6887 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6888 cat >>confdefs.h
<<_ACEOF
6889 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6903 for ac_func
in getpagesize
6905 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6906 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6907 cat >>confdefs.h
<<_ACEOF
6908 #define HAVE_GETPAGESIZE 1
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6915 $as_echo_n "checking for working mmap... " >&6; }
6916 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6917 $as_echo_n "(cached) " >&6
6919 if test "$cross_compiling" = yes; then :
6920 ac_cv_func_mmap_fixed_mapped
=no
6922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6923 /* end confdefs.h. */
6924 $ac_includes_default
6925 /* malloc might have been renamed as rpl_malloc. */
6928 /* Thanks to Mike Haertel and Jim Avera for this test.
6929 Here is a matrix of mmap possibilities:
6930 mmap private not fixed
6931 mmap private fixed at somewhere currently unmapped
6932 mmap private fixed at somewhere already mapped
6933 mmap shared not fixed
6934 mmap shared fixed at somewhere currently unmapped
6935 mmap shared fixed at somewhere already mapped
6936 For private mappings, we should verify that changes cannot be read()
6937 back from the file, nor mmap's back from the file at a different
6938 address. (There have been systems where private was not correctly
6939 implemented like the infamous i386 svr4.0, and systems where the
6940 VM page cache was not coherent with the file system buffer cache
6941 like early versions of FreeBSD and possibly contemporary NetBSD.)
6942 For shared mappings, we should conversely verify that changes get
6943 propagated back to all the places they're supposed to be.
6945 Grep wants private fixed already mapped.
6946 The main things grep needs to know about mmap are:
6947 * does it exist and is it safe to write into the mmap'd area
6948 * how to use it (BSD variants) */
6951 #include <sys/mman.h>
6953 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6957 /* This mess was copied from the GNU getpagesize.h. */
6958 #ifndef HAVE_GETPAGESIZE
6959 # ifdef _SC_PAGESIZE
6960 # define getpagesize() sysconf(_SC_PAGESIZE)
6961 # else /* no _SC_PAGESIZE */
6962 # ifdef HAVE_SYS_PARAM_H
6963 # include <sys/param.h>
6964 # ifdef EXEC_PAGESIZE
6965 # define getpagesize() EXEC_PAGESIZE
6966 # else /* no EXEC_PAGESIZE */
6968 # define getpagesize() NBPG * CLSIZE
6971 # endif /* no CLSIZE */
6972 # else /* no NBPG */
6974 # define getpagesize() NBPC
6975 # else /* no NBPC */
6977 # define getpagesize() PAGESIZE
6978 # endif /* PAGESIZE */
6979 # endif /* no NBPC */
6980 # endif /* no NBPG */
6981 # endif /* no EXEC_PAGESIZE */
6982 # else /* no HAVE_SYS_PARAM_H */
6983 # define getpagesize() 8192 /* punt totally */
6984 # endif /* no HAVE_SYS_PARAM_H */
6985 # endif /* no _SC_PAGESIZE */
6987 #endif /* no HAVE_GETPAGESIZE */
6992 char *data, *data2, *data3;
6997 pagesize = getpagesize ();
6999 /* First, make a file with some known garbage in it. */
7000 data = (char *) malloc (pagesize);
7003 for (i = 0; i < pagesize; ++i)
7004 *(data + i) = rand ();
7006 fd = creat ("conftest.mmap", 0600);
7009 if (write (fd, data, pagesize) != pagesize)
7013 /* Next, check that the tail of a page is zero-filled. File must have
7014 non-zero length, otherwise we risk SIGBUS for entire page. */
7015 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7019 if (write (fd2, cdata2, 1) != 1)
7021 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7022 if (data2 == MAP_FAILED)
7024 for (i = 0; i < pagesize; ++i)
7028 if (munmap (data2, pagesize))
7031 /* Next, try to mmap the file at a fixed address which already has
7032 something else allocated at it. If we can, also make sure that
7033 we see the same garbage. */
7034 fd = open ("conftest.mmap", O_RDWR);
7037 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7038 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7040 for (i = 0; i < pagesize; ++i)
7041 if (*(data + i) != *(data2 + i))
7044 /* Finally, make sure that changes to the mapped area do not
7045 percolate back to the file as seen by read(). (This is a bug on
7046 some variants of i386 svr4.0.) */
7047 for (i = 0; i < pagesize; ++i)
7048 *(data2 + i) = *(data2 + i) + 1;
7049 data3 = (char *) malloc (pagesize);
7052 if (read (fd, data3, pagesize) != pagesize)
7054 for (i = 0; i < pagesize; ++i)
7055 if (*(data + i) != *(data3 + i))
7061 if ac_fn_c_try_run
"$LINENO"; then :
7062 ac_cv_func_mmap_fixed_mapped
=yes
7064 ac_cv_func_mmap_fixed_mapped
=no
7066 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7067 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7072 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7073 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7075 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7078 rm -f conftest.mmap conftest.txt
7083 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7084 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7085 aros_config_ldflags
=""
7087 aros_shared_default
=yes
7089 aros_shared_cflags
="-fPIC"
7090 aros_shared_aflags
=""
7091 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7092 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7094 aros_kernel_ar_flags
="cr"
7095 aros_target_ar_flags
="cr"
7096 aros_target_nm_flags
="-C -ul"
7097 aros_target_strip_flags
="--strip-unneeded -R.comment"
7102 aros_target_genmap
="-Wl,-Map -Xlinker"
7104 # Native flavour stuff
7105 aros_serial_debug
="0"
7107 # Palm native flavour stuff
7108 aros_palm_debug_hack
="0"
7110 # Unix flavour stuff
7111 aros_nesting_supervisor
="0"
7113 # Collect-aros stuff: "-ius" to ignore undefined symbols
7114 ignore_undefined_symbols
=""
7116 # Check for X11 by default
7119 #-----------------------------------------------------------------------------
7122 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7123 # it switched on by default, and we use the host compiler, so it compiles AROS
7124 # code with this enabled resulting in link failures as we don't have support
7127 # We use two methods to disable it. For the host compiler (used to compile
7128 # some hosted modules), we test to see if the compiler supports stack
7129 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7130 # work on all platforms.
7132 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7133 # (this is done unconditionally, as it should have no effect on compilers
7134 # without the stack protection feature). This may be specific to the way that
7135 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7136 # strong enough to disable it in a generic way though, so we'll live with it
7137 # until another vendor ships GCC with it enabled in a different way, and deal
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7142 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7143 save_cflags
="$CFLAGS"
7144 CFLAGS
="$CFLAGS -fno-stack-protector"
7145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7146 /* end confdefs.h. */
7156 if ac_fn_c_try_compile
"$LINENO"; then :
7157 use_no_stack_protector
="yes"
7159 use_no_stack_protector
="no"
7161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7163 $as_echo "$use_no_stack_protector" >&6; }
7164 if test "x-$use_no_stack_protector" = "x-yes" ; then
7165 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7167 CFLAGS
="$save_cflags"
7169 #-----------------------------------------------------------------------------
7171 # Disable pointer-signedness warnings if the compiler recognises the option
7172 # (this only works for the host compiler at the moment)
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7175 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7176 save_cflags
="$CFLAGS"
7177 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7179 /* end confdefs.h. */
7189 if ac_fn_c_try_compile
"$LINENO"; then :
7190 use_no_sign_warning
="yes"
7192 use_no_sign_warning
="no"
7194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7196 $as_echo "$use_no_sign_warning" >&6; }
7197 if test "x-$use_no_sign_warning" = "x-yes" ; then
7198 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7200 CFLAGS
="$save_cflags"
7202 #-----------------------------------------------------------------------------
7204 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7207 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7208 save_cflags
="$CFLAGS"
7209 CFLAGS
="$CFLAGS -fgnu89-inline"
7210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7211 /* end confdefs.h. */
7221 if ac_fn_c_try_compile
"$LINENO"; then :
7222 use_gnu89_inline
="yes"
7224 use_gnu89_inline
="no"
7226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7228 $as_echo "$use_gnu89_inline" >&6; }
7229 if test "x-$use_gnu89_inline" = "x-yes" ; then
7230 gnu89_inline
="-fgnu89-inline"
7232 CFLAGS
="$save_cflags"
7234 #-----------------------------------------------------------------------------
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7237 $as_echo_n "checking for type of build... " >&6; }
7238 # Check whether --enable-build_type was given.
7239 if test "${enable_build_type+set}" = set; then :
7240 enableval
=$enable_build_type; build_type
=$enableval
7242 build_type
="personal"
7246 if test "$build_type" = "nightly"; then
7247 build_type_string
="NIGHTLY"
7248 elif test "$build_type" = "snapshot"; then
7249 build_type_string
="SNAPSHOT"
7250 elif test "$build_type" = "milestone"; then
7251 build_type_string
="MILESTONE"
7252 elif test "$build_type" = "release"; then
7253 build_type_string
="RELEASE"
7255 build_type_string
="PERSONAL"
7256 build_type
="personal"
7259 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7262 $as_echo "$build_type" >&6; }
7264 #-----------------------------------------------------------------------------
7265 all_debug_types
="messages stack modules mungwall symbols"
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7268 $as_echo_n "checking which debug types to enable... " >&6; }
7269 # Check whether --enable-debug was given.
7270 if test "${enable_debug+set}" = set; then :
7271 enableval
=$enable_debug; debug
="$enableval"
7277 if test "$debug" = "" -o "$debug" = "no"; then
7279 elif test "$debug" = "yes"; then
7283 if test "$debug" = "all" ; then
7284 debug
="messages stack modules symbols"
7285 for d
in $all_debug_types; do
7286 export aros_
${d}_debug
="1"
7289 for d
in $all_debug_types; do
7290 export aros_
${d}_debug
="0"
7294 if test "$debug" != "none"; then
7295 debug
=`echo $debug | sed s/,/\ /g`
7298 for d2
in $all_debug_types; do
7299 if test "$d2" = "$d"; then
7304 if test "$found" = "0"; then
7305 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7307 export aros_
${d}_debug
="1"
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7312 $as_echo "$debug" >&6; }
7314 if test "$aros_messages_debug" = "1"; then
7315 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7317 aros_messages_debug
=""
7319 if test "$aros_symbols_debug" = "1"; then
7320 aros_symbols_debug
="-g"
7322 aros_symbols_debug
=""
7325 # These are the flags to pass when compiling debugged programs
7326 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7327 aros_debug_aflags
=""
7328 aros_debug_ldflags
="$aros_symbols_debug"
7330 #-----------------------------------------------------------------------------
7331 # Checking for distcc and ccache.
7333 # Always apply the transforms in this particular order. Basically you should
7334 # always run 'ccache distcc compiler' in that order for the best performance.
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7337 $as_echo_n "checking whether to enable distcc... " >&6; }
7338 # Check whether --enable-distcc was given.
7339 if test "${enable_distcc+set}" = set; then :
7340 enableval
=$enable_distcc; distcc
="$enableval"
7345 if test "$distcc" != "" -a "$distcc" != "no"; then
7346 # AC_CHECK_PROG will print out the result in this case
7347 # Extract the first word of "distcc", so it can be a program name with args.
7348 set dummy distcc
; ac_word
=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if ${ac_cv_path_DISTCC+:} false
; then :
7352 $as_echo_n "(cached) " >&6
7356 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7363 test -z "$as_dir" && as_dir
=.
7364 for ac_exec_ext
in '' $ac_executable_extensions; do
7365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7366 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7374 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7378 DISTCC
=$ac_cv_path_DISTCC
7379 if test -n "$DISTCC"; then
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7381 $as_echo "$DISTCC" >&6; }
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7384 $as_echo "no" >&6; }
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 $as_echo "no" >&6; }
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7394 $as_echo_n "checking whether to enable ccache... " >&6; }
7395 # Check whether --enable-ccache was given.
7396 if test "${enable_ccache+set}" = set; then :
7397 enableval
=$enable_ccache; ccache
="$enableval"
7402 if test "$ccache" != "" -a "$ccache" != "no"; then
7403 # AC_CHECK_PROG will print out the result in this case
7404 # Extract the first word of "ccache", so it can be a program name with args.
7405 set dummy ccache
; ac_word
=$2
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7407 $as_echo_n "checking for $ac_word... " >&6; }
7408 if ${ac_cv_prog_CCACHE+:} false
; then :
7409 $as_echo_n "(cached) " >&6
7411 if test -n "$CCACHE"; then
7412 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7418 test -z "$as_dir" && as_dir
=.
7419 for ac_exec_ext
in '' $ac_executable_extensions; do
7420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7421 ac_cv_prog_CCACHE
="ccache"
7422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7431 CCACHE
=$ac_cv_prog_CCACHE
7432 if test -n "$CCACHE"; then
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7434 $as_echo "$CCACHE" >&6; }
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7437 $as_echo "no" >&6; }
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7443 $as_echo "no" >&6; }
7446 #-----------------------------------------------------------------------------
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7448 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7450 # Check whether --with-gcc-version was given.
7451 if test "${with_gcc_version+set}" = set; then :
7452 withval
=$with_gcc_version; kernel_tool_version
="$withval"
7454 kernel_tool_version
="default"
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7458 $as_echo "$kernel_tool_version" >&6; }
7460 #-----------------------------------------------------------------------------
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7462 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7464 # Check whether --with-gcc-version was given.
7465 if test "${with_gcc_version+set}" = set; then :
7466 withval
=$with_gcc_version; target_tool_version
="$withval"
7468 target_tool_version
="default"
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7472 $as_echo "$target_tool_version" >&6; }
7474 #-----------------------------------------------------------------------------
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7476 $as_echo_n "checking what optimization flags to use... " >&6; }
7478 # Check whether --with-optimization was given.
7479 if test "${with_optimization+set}" = set; then :
7480 withval
=$with_optimization; optimization
="$withval"
7482 optimization
="unknown"
7485 if test "$optimization" = "unknown"; then
7486 if test "$debug" != "none"; then
7492 aros_config_cflags
="$aros_config_cflags $optimization"
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7494 $as_echo "$optimization" >&6; }
7496 #-----------------------------------------------------------------------------
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7498 $as_echo_n "checking what paranoia flags to use... " >&6; }
7500 # Check whether --with-paranoia was given.
7501 if test "${with_paranoia+set}" = set; then :
7502 withval
=$with_paranoia; paranoia_flags
="$withval"
7504 paranoia_flags
="default"
7507 if test "$paranoia_flags" = "default"; then
7509 else if test "$paranoia_flags" = "yes"; then
7510 paranoia_flags
="-Wall -Werror"
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7513 $as_echo "$paranoia_flags" >&6; }
7514 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7516 #-----------------------------------------------------------------------------
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7518 $as_echo_n "checking what target variant to enable... " >&6; }
7519 # Check whether --enable-target_variant was given.
7520 if test "${enable_target_variant+set}" = set; then :
7521 enableval
=$enable_target_variant; target_variant
=$enableval
7526 if test "$target_variant" = ""; then
7527 aros_target_variant
=""
7528 aros_target_suffix
=""
7531 aros_target_variant
="$target_variant"
7532 aros_target_suffix
="-$target_variant"
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7535 $as_echo "$enableval" >&6; }
7537 #-----------------------------------------------------------------------------
7538 # Target-specific defaults. You can override then on a per-target basis.
7540 # Bootloader name. Currently used by PC target.
7541 target_bootloader
="none"
7543 #-----------------------------------------------------------------------------
7544 # Additional options for some specific targets
7546 case "$aros_target_variant" in
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7549 $as_echo_n "checking XCode path... " >&6; }
7551 # Check whether --with-xcode was given.
7552 if test "${with_xcode+set}" = set; then :
7553 withval
=$with_xcode; aros_xcode_path
="$withval"
7555 aros_xcode_path
="/Developer"
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7559 $as_echo "$aros_xcode_path" >&6; }
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7562 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7564 # Check whether --with-sdk-version was given.
7565 if test "${with_sdk_version+set}" = set; then :
7566 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7568 aros_sdk_version
="4.1"
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7572 $as_echo "$aros_sdk_version" >&6; }
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7578 $as_echo_n "checking Android SDK path... " >&6; }
7580 # Check whether --with-sdk was given.
7581 if test "${with_sdk+set}" = set; then :
7582 withval
=$with_sdk; aros_android_sdk
="$withval"
7584 aros_android_sdk
=$default_android_sdk
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7588 $as_echo "$aros_android_sdk" >&6; }
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7591 $as_echo_n "checking Android NDK path... " >&6; }
7593 # Check whether --with-ndk was given.
7594 if test "${with_ndk+set}" = set; then :
7595 withval
=$with_ndk; aros_android_ndk
="$withval"
7597 aros_android_ndk
="none"
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7601 $as_echo "$aros_android_ndk" >&6; }
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7604 $as_echo_n "checking what Android SDK version to use... " >&6; }
7606 # Check whether --with-sdk-version was given.
7607 if test "${with_sdk_version+set}" = set; then :
7608 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7610 aros_sdk_version
="12"
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7614 $as_echo "$aros_sdk_version" >&6; }
7616 if test "$aros_android_ndk" != "none"; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7618 $as_echo_n "checking what Android NDK version to use... " >&6; }
7620 # Check whether --with-ndk-version was given.
7621 if test "${with_ndk_version+set}" = set; then :
7622 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7624 aros_ndk_version
="9"
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7628 $as_echo "$aros_ndk_version" >&6; }
7631 export PATH
="$aros_android_sdk/tools:$PATH"
7632 # Extract the first word of "$android_tool", so it can be a program name with args.
7633 set dummy
$android_tool; ac_word
=$2
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7635 $as_echo_n "checking for $ac_word... " >&6; }
7636 if ${ac_cv_path_android_tool+:} false
; then :
7637 $as_echo_n "(cached) " >&6
7639 case $android_tool in
7641 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7648 test -z "$as_dir" && as_dir
=.
7649 for ac_exec_ext
in '' $ac_executable_extensions; do
7650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7651 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7662 android_tool
=$ac_cv_path_android_tool
7663 if test -n "$android_tool"; then
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7665 $as_echo "$android_tool" >&6; }
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7668 $as_echo "no" >&6; }
7672 if test "$android_tool" = ""; then
7673 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7676 aros_android_level
=android-
$aros_sdk_version
7677 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7678 echo "Platform $aros_android_level is not installed in your SDK"
7679 echo "Use --with-sdk-version=<API level number> to select another platform version"
7680 echo "You can check what plaform versions are installed in your SDK"
7681 echo "by examining contents of $aros_android_sdk/platforms directory"
7682 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7685 # Extract the first word of "ant", so it can be a program name with args.
7686 set dummy ant
; ac_word
=$2
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7688 $as_echo_n "checking for $ac_word... " >&6; }
7689 if ${ac_cv_path_ant+:} false
; then :
7690 $as_echo_n "(cached) " >&6
7694 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7701 test -z "$as_dir" && as_dir
=.
7702 for ac_exec_ext
in '' $ac_executable_extensions; do
7703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7704 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7716 if test -n "$ant"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7718 $as_echo "$ant" >&6; }
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7721 $as_echo "no" >&6; }
7725 if test "$ant" = ""; then
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7727 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7730 if test "$host_os" = "mingw32"; then
7731 android_tool
="cmd //c $android_tool"
7737 #-----------------------------------------------------------------------------
7738 # External toolchains
7739 kernel_tool_prefix
="none"
7740 aros_tool_prefix
="none"
7741 elf_tool_prefix
="${target_cpu}-elf-"
7743 # This is the target configuration switch.
7744 case "$target_os" in
7746 aros_target_arch
="linux"
7747 aros_target_family
="unix"
7748 case "$target_cpu" in
7750 aros_target_cpu
="m68k"
7751 aros_object_format
="m68kelf"
7752 aros_flavour
="emulcompat"
7753 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7754 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7755 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7756 gcc_target_cpu
="mc68000"
7759 aros_target_cpu
="i386"
7760 aros_object_format
="elf_i386"
7761 aros_flavour
="emulation"
7762 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7763 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7764 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7765 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7766 aros_config_ldflags
="-m32 -march=i486"
7767 aros_kernel_ldflags
="-melf_i386"
7768 aros_default_wbdepth
=8
7769 gcc_target_cpu
="i386"
7770 pci_hidd_target
="hidd-pci-linux"
7771 android_tool_dir_prefix
="x86"
7772 android_tool_prefix
="i686-android-linux"
7773 android_ndk_arch
="x86"
7776 aros_target_cpu
="x86_64"
7777 aros_object_format
="elf_x86_64"
7778 aros_flavour
="emulation"
7779 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7780 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7781 aros_default_wbdepth
=8
7782 pci_hidd_target
="hidd-pci-linux"
7785 aros_target_cpu
="ppc"
7786 aros_object_format
="elf32ppc"
7787 aros_flavour
="emulation"
7788 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7789 aros_default_wbdepth
=8
7790 gcc_target_cpu
="ppc"
7793 # Same as powerpc, but I need this for the nightly build to work again.
7794 # Actually, the nightly should be made working with powerpc target.
7795 # That just was too much work for the moment, another week or two.
7797 aros_target_cpu
="ppc"
7798 aros_object_format
="elf32ppc"
7799 aros_flavour
="emulation"
7800 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7801 aros_default_wbdepth
=8
7802 gcc_target_cpu
="ppc"
7805 aros_target_cpu
="arm"
7806 aros_object_format
="armelf_linux_eabi"
7807 aros_flavour
="emulation"
7808 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7809 gcc_target_cpu
="arm"
7810 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7811 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7812 aros_arch_libs
="-laeabi"
7813 android_tool_dir_prefix
="arm-linux-androideabi"
7814 android_tool_prefix
="arm-linux-androideabi"
7815 android_ndk_arch
="arm"
7816 kernel_tool_prefix
="arm-linux-gnueabi-"
7819 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7822 case "$aros_target_variant" in
7825 if test "$android_ndk_arch" = ""; then
7826 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7829 aros_default_wbwidth
=320
7830 aros_default_wbheight
=480
7831 if test "$aros_android_ndk" = "none"; then
7832 aros_kernel_cflags
="-mandroid"
7833 aros_kernel_ldflags
="-mandroid"
7836 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7837 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7838 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7839 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7840 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7841 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7844 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7845 # Disable implicit PIC mode
7846 aros_target_cflags
="$aros_target_cflags -fno-pic"
7847 kernel_tool_prefix
="$android_tool_prefix-"
7853 aros_target_arch
="pc"
7854 aros_shared_default
="no"
7855 target_bootloader
="grub2"
7856 case "$target_cpu" in
7858 aros_target_cpu
="i386"
7861 if test "$aros_object_format" = "" ; then
7862 aros_object_format
="elf_i386"
7864 aros_flavour
="standalone"
7865 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7866 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7867 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7868 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7869 aros_config_ldflags
="-m32 -march=i486"
7870 aros_kernel_ldflags
="-melf_i386"
7871 aros_default_wbwidth
=640
7872 aros_default_wbheight
=480
7873 gcc_target_cpu
="i386"
7876 aros_target_cpu
="x86_64"
7878 if test "$aros_object_format" = "" ; then
7879 aros_object_format
="elf_x86_64"
7881 aros_flavour
="standalone"
7882 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7883 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7884 aros_kernel_ldflags
=""
7885 aros_default_wbwidth
=640
7886 aros_default_wbheight
=480
7889 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7895 aros_target_arch
="prep"
7896 aros_shared_default
="no"
7897 aros_target_cpu
="ppc"
7898 aros_object_format
="elf32ppc"
7899 aros_flavour
="ppcnative"
7900 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7901 aros_kernel_ldflags
=""
7902 aros_default_wbwidth
=640
7903 aros_default_wbheight
=480
7904 gcc_target_cpu
="ppc"
7908 aros_target_arch
="freebsd"
7909 aros_target_family
="unix"
7910 aros_target_cpu
="i386"
7911 aros_flavour
="emulation"
7912 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7913 gcc_target_cpu
="i386"
7915 aros_target_strip_flags
="-x"
7919 aros_target_arch
="darwin"
7920 aros_target_family
="unix"
7921 aros_flavour
="emulation"
7922 case "$target_cpu" in
7924 aros_ios_platform
="iPhoneSimulator"
7925 aros_target_cpu
="i386"
7926 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7927 aros_kernel_ldflags
=""
7928 aros_macosx_version
="10.4"
7929 aros_default_wbdepth
=8
7930 gcc_target_cpu
="i386"
7931 aros_object_format
="elf_i386"
7932 aros_kernel_ar_flags
="-cr"
7933 aros_target_strip_flags
="-x"
7934 kernel_tool_flags
="-m32"
7937 aros_target_cpu
="x86_64"
7938 aros_object_format
="elf_x86_64"
7939 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7940 aros_macosx_version
="10.6"
7941 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7942 aros_kernel_cflags
="-m64"
7943 aros_kernel_ldflags
="-m64"
7944 aros_target_cflags
="-mcmodel=large"
7945 aros_default_wbdepth
=8
7947 aros_kernel_ar_flags
="-cr"
7949 aros_kernel_ranlib
="ranlib"
7952 aros_target_cpu
="ppc"
7953 aros_object_format
="elf32ppc"
7954 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7955 aros_kernel_ldflags
=""
7956 aros_macosx_version
="10.0"
7957 aros_default_wbdepth
=8
7958 gcc_target_cpu
="ppc"
7960 aros_kernel_ar_flags
="-cr"
7961 aros_kernel_ld
="ld -arch ppc"
7962 aros_kernel_ranlib
="ranlib -arch ppc"
7963 kernel_tool_prefix
="powerpc-apple-darwin10-"
7966 aros_ios_platform
="iPhoneOS"
7967 aros_target_cpu
="arm"
7968 aros_object_format
="armelf_linux_eabi"
7969 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7970 aros_arch_libs
="-laeabi"
7971 aros_default_wbdepth
=8
7972 gcc_target_cpu
="arm"
7974 aros_kernel_ar_flags
="-cr"
7975 aros_kernel_ld
="ld -arch arm"
7976 aros_kernel_ranlib
="ranlib -arch arm"
7977 kernel_tool_prefix
="arm-apple-darwin10-"
7978 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7981 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7984 case "$aros_target_variant" in
7986 aros_ios_version
="3.0"
7987 aros_default_wbwidth
=320
7988 aros_default_wbheight
=480
7989 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
7990 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
7991 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7993 # This is here because it may depend on iOS or SDK version
7994 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7995 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7996 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7999 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8000 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8006 aros_target_arch
="dragonfly"
8007 aros_target_family
="unix"
8008 aros_flavour
="emulation"
8009 case "$target_cpu" in
8011 aros_target_cpu
="i386"
8012 aros_object_format
="elf_i386"
8013 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8016 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8017 aros_target_cpu
="x86_64"
8018 aros_object_format
="elf_x86_64"
8019 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8022 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8028 aros_target_arch
="netbsd"
8029 aros_target_family
="unix"
8030 case "$target_cpu" in
8032 aros_target_cpu
="m68k"
8033 aros_object_format
="m68kelf"
8034 aros_flavour
="emulcompat"
8035 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8036 gcc_target_cpu
="mc68000"
8039 aros_target_cpu
="i386"
8040 aros_object_format
="elf_i386"
8041 aros_flavour
="emulation"
8042 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8043 aros_default_wbdepth
=8
8044 gcc_target_cpu
="i386"
8047 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8050 aros_target_genmap
="-Wl,-M -Xlinker >"
8051 aros_flavour
="emulation"
8052 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8056 aros_target_arch
="openbsd"
8057 aros_target_family
="unix"
8058 case "$target_cpu" in
8060 aros_target_cpu
="i386"
8061 aros_object_format
="elf_i386"
8062 aros_flavour
="emulation"
8063 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8064 gcc_target_cpu
="i386"
8067 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8070 aros_target_genmap
="-Wl,-M -Xlinker >"
8071 aros_target_nm_flags
="-u"
8072 aros_flavour
="emulation"
8076 aros_target_arch
="solaris"
8077 aros_target_family
="unix"
8078 case "$target_cpu" in
8080 aros_target_cpu
="i386"
8081 aros_object_format
="elf_i386"
8082 aros_flavour
="emulation"
8083 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8084 aros_default_wbdepth
=8
8085 gcc_target_cpu
="i386"
8088 aros_target_cpu
="sparc"
8089 aros_object_format
="elf_sparc"
8090 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8091 gcc_target_cpu
="sparc"
8094 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8097 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8098 aros_flavour
="emulation"
8102 aros_target_arch
="morphos"
8103 aros_shared_default
="no"
8104 aros_target_cpu
="ppc"
8105 aros_object_format
="elf_ppc"
8106 aros_flavour
="nativecompat"
8107 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8108 gcc_target_cpu
="ppc"
8112 aros_target_arch
="sam440"
8113 aros_shared_default
="no"
8114 aros_target_cpu
="ppc"
8115 aros_object_format
="elf32ppc"
8116 aros_flavour
="ppcnative"
8117 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8118 aros_kernel_ldflags
=""
8119 aros_default_wbwidth
=1024
8120 aros_default_wbheight
=768
8121 aros_default_wbdepth
=24
8122 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8123 gcc_target_cpu
="powerpc"
8127 aros_target_arch
="efika"
8128 aros_shared_default
="no"
8129 aros_target_cpu
="arm"
8130 aros_object_format
="armelf_linux_eabi"
8131 aros_flavour
="standalone"
8132 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8133 aros_kernel_ldflags
=""
8134 aros_default_wbwidth
=1024
8135 aros_default_wbheight
=600
8136 aros_arch_libs
="-laeabi"
8137 gcc_default_cpu
="armv7-a"
8138 gcc_default_fpu
="vfpv3"
8139 gcc_default_float_abi
="softfp"
8140 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8141 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8145 aros_target_arch
="chrp"
8146 aros_shared_default
="no"
8147 aros_target_cpu
="ppc"
8148 aros_object_format
="elf32ppc"
8149 aros_flavour
="ppcnative"
8150 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8151 aros_kernel_ldflags
=""
8152 aros_default_wbwidth
=640
8153 aros_default_wbheight
=480
8154 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8155 gcc_target_cpu
="powerpc"
8156 case "$aros_target_variant" in
8158 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8164 aros_target_arch
="amiga"
8165 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8166 aros_shared_default
="no"
8168 case "$target_cpu" in
8170 # Check whether --enable-amigaos_compliance was given.
8171 if test "${enable_amigaos_compliance+set}" = set; then :
8172 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8176 aros_target_cpu
="m68k"
8177 aros_object_format
="m68kelf"
8178 aros_flavour
="standcompat"
8179 gcc_target_cpu
="m68000"
8180 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -Os"
8181 aros_config_aflags
="$aros_config_aflags"
8182 aros_target_strip_flags
="-R.comment --strip-debug"
8183 aros_default_wbwidth
=640
8184 aros_default_wbheight
=256
8185 aros_default_wbdepth
=2
8189 aros_flavour
="native"
8190 gcc_target_cpu
="ppc"
8193 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8199 aros_target_arch
="mingw32"
8200 aros_shared_default
="no"
8201 aros_flavour
="emulation"
8202 aros_shared_cflags
=""
8203 need_crosstools
="yes"
8206 case "$target_cpu" in
8208 aros_target_cpu
="i386"
8209 aros_object_format
="elf_i386"
8210 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8211 aros_default_wbdepth
=8
8212 gcc_target_cpu
="i386"
8214 kernel_tool_prefix
="i386-mingw32-"
8217 aros_target_cpu
="x86_64"
8218 aros_object_format
="elf_x86_64"
8219 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8220 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8221 aros_default_wbdepth
=8
8222 kernel_tool_prefix
="x86_64-w64-mingw32-"
8225 aros_target_cpu
="arm"
8226 aros_object_format
="armelf_linux_eabi"
8227 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8228 aros_arch_libs
="-laeabi"
8229 aros_default_wbdepth
=8
8230 gcc_target_cpu
="arm"
8231 gcc_default_float_abi
="soft"
8232 kernel_tool_prefix
="arm-mingw32ce-"
8233 aros_default_wbwidth
=160
8234 aros_default_wbheight
=160
8237 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8240 if test $host_os = "cygwin"; then
8241 aros_kernel_cflags
="-mno-cygwin"
8245 aros_target_arch
="pp"
8246 aros_shared_default
="no"
8247 case "$target_cpu" in
8249 aros_target_cpu
="m68k"
8250 aros_object_format
="m68kelf"
8251 aros_flavour
="palmnative"
8252 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8253 aros_default_wbwidth
=160
8254 aros_default_wbheight
=160
8255 aros_default_wbdepth
=1
8256 aros_target_ar_flags
="cru"
8257 aros_compiler_libs
="-lgcc1"
8258 aros_shared_default
=no
8259 aros_shared_cflags
="-fpic"
8260 aros_shared_aflags
=""
8261 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8262 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8263 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8264 aros_debug_aflags
=""
8265 aros_debug_ldflags
="$aros_symbols_debug"
8266 aros_mungwall_debug
="0"
8267 aros_modules_debug
="0"
8268 gcc_target_cpu
="mc68000"
8269 ignore_undefined_symbols
="-ius"
8272 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8278 aros_target_arch
="mac"
8279 aros_shared_default
="no"
8280 case "$target_cpu" in
8282 aros_target_cpu
="m68k"
8283 aros_object_format
="m68kelf"
8284 aros_flavour
="mac68knative"
8285 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8286 aros_default_wbwidth
=512
8287 aros_default_wbheight
=384
8288 aros_default_wbdepth
=8
8289 aros_target_ar_flags
="cru"
8290 aros_compiler_libs
="-lgcc1"
8291 aros_shared_default
=no
8292 aros_shared_cflags
="-fpic"
8293 aros_shared_aflags
=""
8294 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8295 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8296 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8297 aros_debug_aflags
=""
8298 aros_debug_ldflags
="$aros_symbols_debug"
8299 aros_mungwall_debug
="0"
8300 aros_modules_debug
="0"
8301 gcc_target_cpu
="mc68000"
8302 ignore_undefined_symbols
="-ius"
8305 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8311 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8315 #-----------------------------------------------------------------------------
8316 crosstools_guess
=yes
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8319 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8321 # Check whether --with-kernel-toolchain-prefix was given.
8322 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8323 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8327 $as_echo "$kernel_tool_prefix" >&6; }
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8330 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8332 # Check whether --with-elf-toolchain-prefix was given.
8333 if test "${with_elf_toolchain_prefix+set}" = set; then :
8334 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8339 $as_echo "$elf_tool_prefix" >&6; }
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8342 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8344 # Check whether --with-aros-toolchain was given.
8345 if test "${with_aros_toolchain+set}" = set; then :
8346 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8350 if test "$aros_tool_prefix" = "yes" ; then
8351 aros_tool_prefix
=$aros_target_cpu-aros-
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8354 $as_echo "$aros_tool_prefix" >&6; }
8356 #-----------------------------------------------------------------------------
8357 # Checking if we should build crosstools..
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8359 $as_echo_n "checking whether to build crosstools... " >&6; }
8360 # Check whether --enable-crosstools was given.
8361 if test "${enable_crosstools+set}" = set; then :
8362 enableval
=$enable_crosstools; crosstools
="$enableval"
8364 crosstools
="$crosstools_guess"
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8368 $as_echo "$crosstools" >&6; }
8370 if test "${crosstools}" = "yes"; then
8371 if test "${crosstools_guess}" = "no"; then
8372 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8377 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8379 # Check whether --with-aros-toolchain-install was given.
8380 if test "${with_aros_toolchain_install+set}" = set; then :
8381 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8384 if test "x$aros_toolchain_install" = "x"; then
8385 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8387 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8388 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8391 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8394 # Now process extra architecture-specific options.
8395 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8396 # as well as floating-point ABI.
8397 case "$aros_target_cpu" in
8399 if test "$gcc_default_cpu" = ""; then
8400 gcc_default_cpu
="armv6"
8402 if test "$gcc_default_fpu" = ""; then
8403 gcc_default_fpu
="vfp"
8405 if test "$gcc_default_float_abi" = ""; then
8406 gcc_default_float_abi
="softfp"
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8410 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8412 # Check whether --with-cpu was given.
8413 if test "${with_cpu+set}" = set; then :
8414 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8416 aros_gcc_cpu
=$gcc_default_cpu
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8420 $as_echo "$aros_gcc_cpu" >&6; }
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8423 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8425 # Check whether --with-fpu was given.
8426 if test "${with_fpu+set}" = set; then :
8427 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8429 aros_gcc_fpu
=$gcc_default_fpu
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8433 $as_echo "$aros_gcc_fpu" >&6; }
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8436 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8438 # Check whether --with-float was given.
8439 if test "${with_float+set}" = set; then :
8440 withval
=$with_float; aros_gcc_float_abi
="$withval"
8442 aros_gcc_float_abi
=$gcc_default_float_abi
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8446 $as_echo "$aros_gcc_float_abi" >&6; }
8448 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"
8449 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"
8453 # Some formats need custom ELF specs.
8454 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8455 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8456 elf_specs_in
=config
/${aros_object_format}-specs.
in
8458 elf_specs_in
=config
/elf-specs.
in
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8462 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8464 # Check whether --with-aros-gcc was given.
8465 if test "${with_aros_gcc+set}" = set; then :
8466 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8472 $as_echo "$aros_gcc_version" >&6; }
8474 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8475 # Since we override specs, we may need to put these defines there
8476 if test "$gcc_target_cpu" != ""; then
8477 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8481 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8483 # Check whether --with-portssources was given.
8484 if test "${with_portssources+set}" = set; then :
8485 withval
=$with_portssources; with_portssrcdir
=$withval
8487 with_portssrcdir
="default"
8490 if test "$with_portssrcdir" = "default"; then
8491 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8493 AROS_PORTSSRCDIR
="$with_portssrcdir"
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8496 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8499 $as_echo_n "checking which bootloader to use... " >&6; }
8501 # Check whether --with-bootloader was given.
8502 if test "${with_bootloader+set}" = set; then :
8503 withval
=$with_bootloader; target_bootloader
=$withval
8505 target_bootloader
=$target_bootloader
8508 if test "$target_bootloader" = "none"; then
8509 aros_target_bootloader
=""
8511 aros_target_bootloader
="$target_bootloader"
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8514 $as_echo "$target_bootloader" >&6; }
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8517 $as_echo_n "checking which icon-set to use... " >&6; }
8519 # Check whether --with-iconset was given.
8520 if test "${with_iconset+set}" = set; then :
8521 withval
=$with_iconset; target_iconset
=$withval
8523 target_iconset
="default"
8526 if test "$target_iconset" = "default"; then
8527 aros_target_iconset
="Gorilla"
8528 target_iconset
="default (Gorilla)"
8530 aros_target_iconset
="$target_iconset"
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8533 $as_echo "$target_iconset" >&6; }
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8536 $as_echo_n "checking which GUI Theme to use... " >&6; }
8538 # Check whether --with-theme was given.
8539 if test "${with_theme+set}" = set; then :
8540 withval
=$with_theme; target_guitheme
=$withval
8542 target_guitheme
="default"
8545 if test "$target_guitheme" = "default"; then
8546 aros_target_guitheme
="Ice"
8548 aros_target_guitheme
="$target_guitheme"
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8551 $as_echo "$aros_target_guitheme" >&6; }
8553 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8557 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8561 if test "$aros_host_cpu" == "x86_64" ; then
8562 if test "$aros_target_cpu" == "i386" ; then
8567 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8568 if test "$aros_host_arch" != "$aros_target_arch" ; then
8572 if test "$host_cc_elf" = "no" ; then
8577 if test "$cross_compiling" = "no" ; then
8578 kernel_tool_prefix
=""
8579 if test "$host_cc_elf" = "yes" ; then
8584 #######################################################################
8585 ## Compute what toolchains to use, and their paths ##
8586 #######################################################################
8588 # This takes, as input:
8589 # crosstools {yes,no}
8590 # aros_gcc_version {default,[version]}
8591 # kernel_tool_prefix {none,[some-arch-os-]}
8592 # aros_tool_prefix ${target_cpu}-aros-
8595 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8596 # Where the 'kernel' binaries are located
8597 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8598 # Where the 'target' binaries are located
8599 # (not the symlink farm - that is aros_target_*!)
8602 # if crosstools then
8603 # if kernel_tools_prefix = "no-kernel-prefix-"
8604 # aros_kernel_* = crosstools cc paths
8605 # aros_kernel_cc = elf cc wrapper around crosstools cc
8607 # VALIDATE(${kernel_tools_prefix}*)
8608 # aros_kernel_* = ${kernel_tools_prefix}*
8609 # if ${kernel_tools_prefix}cc is an AROS gcc
8610 # aros_kernel_cc = ${kernel_tools_prefix}cc
8612 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8616 # orig_target_* = aros built crosstools
8617 # orig_target_cc = elf cc wrapper around crosstools cc
8619 # VALIDATE(${kernel_tools_prefix}*)
8621 # orig_target_* = aros_kernel_*
8622 # if aros_kernel_cc is an AROS gcc
8623 # orig_target_cc = aros_kernel_cc
8625 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8629 target_tool_prefix
="${target_cpu}-aros-"
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8632 $as_echo_n "checking which kernel tools... " >&6; }
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8634 $as_echo "$kernel_tool_prefix" >&6; };
8636 if test "$kernel_tool_prefix" = "none" ; then
8637 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8638 as_fn_error $?
"--with-kernel-tool-prefix= is required for this arch" "$LINENO" 5
8641 # Kernel tools required - find them
8642 # Note that 'normally', aros_kernel_* overrides will
8643 # empty, unless specified in the per-arch sections above.
8645 if test "$aros_kernel_cpp" = ""; then
8646 if test "$cross_compiling" = "yes" ; then
8647 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8648 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8650 $as_echo_n "checking for $ac_word... " >&6; }
8651 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8652 $as_echo_n "(cached) " >&6
8654 case $aros_kernel_cpp in
8656 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8663 test -z "$as_dir" && as_dir
=.
8664 for ac_exec_ext
in '' $ac_executable_extensions; do
8665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8666 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8677 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8678 if test -n "$aros_kernel_cpp"; then
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8680 $as_echo "$aros_kernel_cpp" >&6; }
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8683 $as_echo "no" >&6; }
8688 if test "$GCC" = "yes"; then
8689 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8690 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8691 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8693 $as_echo_n "checking for $ac_word... " >&6; }
8694 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8695 $as_echo_n "(cached) " >&6
8697 case $aros_kernel_cpp in
8699 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8703 for as_dir
in `dirname $aros_gcc_cpp`
8706 test -z "$as_dir" && as_dir
=.
8707 for ac_exec_ext
in '' $ac_executable_extensions; do
8708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8709 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8720 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8721 if test -n "$aros_kernel_cpp"; then
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8723 $as_echo "$aros_kernel_cpp" >&6; }
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8726 $as_echo "no" >&6; }
8731 if test "$aros_kernel_cpp" = ""; then
8732 # Extract the first word of "cpp", so it can be a program name with args.
8733 set dummy cpp
; ac_word
=$2
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8735 $as_echo_n "checking for $ac_word... " >&6; }
8736 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8737 $as_echo_n "(cached) " >&6
8739 case $aros_kernel_cpp in
8741 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8748 test -z "$as_dir" && as_dir
=.
8749 for ac_exec_ext
in '' $ac_executable_extensions; do
8750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8751 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8762 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8763 if test -n "$aros_kernel_cpp"; then
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8765 $as_echo "$aros_kernel_cpp" >&6; }
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8768 $as_echo "no" >&6; }
8775 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
8776 set dummy
$aros_kernel_cpp; ac_word
=$2
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8778 $as_echo_n "checking for $ac_word... " >&6; }
8779 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8780 $as_echo_n "(cached) " >&6
8782 case $aros_kernel_cpp in
8784 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8791 test -z "$as_dir" && as_dir
=.
8792 for ac_exec_ext
in '' $ac_executable_extensions; do
8793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8794 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8805 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8806 if test -n "$aros_kernel_cpp"; then
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8808 $as_echo "$aros_kernel_cpp" >&6; }
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8811 $as_echo "no" >&6; }
8817 if test "$aros_kernel_cpp" = ""; then
8818 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8820 if test "x$aros_kernel_cc" = "x"; then
8821 aros_kernel_cc
=${kernel_tool_prefix}gcc
8824 if test "$aros_kernel_cc${aros_gcc_version}" = ""; then
8825 if test "$cross_compiling" = "yes" ; then
8826 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8827 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8829 $as_echo_n "checking for $ac_word... " >&6; }
8830 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8831 $as_echo_n "(cached) " >&6
8833 case $aros_kernel_cc in
8835 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8842 test -z "$as_dir" && as_dir
=.
8843 for ac_exec_ext
in '' $ac_executable_extensions; do
8844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8845 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8856 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8857 if test -n "$aros_kernel_cc"; then
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8859 $as_echo "$aros_kernel_cc" >&6; }
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8862 $as_echo "no" >&6; }
8867 if test "$GCC" = "yes"; then
8868 aros_gcc_cc
=`$CC -print-prog-name=cc`
8869 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8870 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8872 $as_echo_n "checking for $ac_word... " >&6; }
8873 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8874 $as_echo_n "(cached) " >&6
8876 case $aros_kernel_cc in
8878 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8882 for as_dir
in `dirname $aros_gcc_cc`
8885 test -z "$as_dir" && as_dir
=.
8886 for ac_exec_ext
in '' $ac_executable_extensions; do
8887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8888 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8899 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8900 if test -n "$aros_kernel_cc"; then
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8902 $as_echo "$aros_kernel_cc" >&6; }
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8905 $as_echo "no" >&6; }
8910 if test "$aros_kernel_cc" = ""; then
8911 # Extract the first word of "cc", so it can be a program name with args.
8912 set dummy cc
; ac_word
=$2
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8914 $as_echo_n "checking for $ac_word... " >&6; }
8915 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8916 $as_echo_n "(cached) " >&6
8918 case $aros_kernel_cc in
8920 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8927 test -z "$as_dir" && as_dir
=.
8928 for ac_exec_ext
in '' $ac_executable_extensions; do
8929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8930 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8941 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8942 if test -n "$aros_kernel_cc"; then
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8944 $as_echo "$aros_kernel_cc" >&6; }
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8947 $as_echo "no" >&6; }
8954 # Extract the first word of "$aros_kernel_cc${aros_gcc_version}", so it can be a program name with args.
8955 set dummy
$aros_kernel_cc${aros_gcc_version}; ac_word
=$2
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8957 $as_echo_n "checking for $ac_word... " >&6; }
8958 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8959 $as_echo_n "(cached) " >&6
8961 case $aros_kernel_cc in
8963 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8970 test -z "$as_dir" && as_dir
=.
8971 for ac_exec_ext
in '' $ac_executable_extensions; do
8972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8973 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8984 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8985 if test -n "$aros_kernel_cc"; then
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8987 $as_echo "$aros_kernel_cc" >&6; }
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8990 $as_echo "no" >&6; }
8996 if test "$aros_kernel_cc" = ""; then
8997 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
8999 if test "x$aros_kernel_cxx" = "x"; then
9000 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9003 if test "$aros_kernel_cxx${aros_gcc_version}" = ""; then
9004 if test "$cross_compiling" = "yes" ; then
9005 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9006 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9008 $as_echo_n "checking for $ac_word... " >&6; }
9009 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9010 $as_echo_n "(cached) " >&6
9012 case $aros_kernel_cxx in
9014 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9021 test -z "$as_dir" && as_dir
=.
9022 for ac_exec_ext
in '' $ac_executable_extensions; do
9023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9024 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9035 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9036 if test -n "$aros_kernel_cxx"; then
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9038 $as_echo "$aros_kernel_cxx" >&6; }
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9041 $as_echo "no" >&6; }
9046 if test "$GCC" = "yes"; then
9047 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9048 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9049 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9051 $as_echo_n "checking for $ac_word... " >&6; }
9052 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9053 $as_echo_n "(cached) " >&6
9055 case $aros_kernel_cxx in
9057 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9061 for as_dir
in `dirname $aros_gcc_cxx`
9064 test -z "$as_dir" && as_dir
=.
9065 for ac_exec_ext
in '' $ac_executable_extensions; do
9066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9067 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9078 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9079 if test -n "$aros_kernel_cxx"; then
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9081 $as_echo "$aros_kernel_cxx" >&6; }
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9084 $as_echo "no" >&6; }
9089 if test "$aros_kernel_cxx" = ""; then
9090 # Extract the first word of "cxx", so it can be a program name with args.
9091 set dummy cxx
; ac_word
=$2
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9093 $as_echo_n "checking for $ac_word... " >&6; }
9094 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9095 $as_echo_n "(cached) " >&6
9097 case $aros_kernel_cxx in
9099 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9106 test -z "$as_dir" && as_dir
=.
9107 for ac_exec_ext
in '' $ac_executable_extensions; do
9108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9109 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9120 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9121 if test -n "$aros_kernel_cxx"; then
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9123 $as_echo "$aros_kernel_cxx" >&6; }
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9126 $as_echo "no" >&6; }
9133 # Extract the first word of "$aros_kernel_cxx${aros_gcc_version}", so it can be a program name with args.
9134 set dummy
$aros_kernel_cxx${aros_gcc_version}; ac_word
=$2
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9136 $as_echo_n "checking for $ac_word... " >&6; }
9137 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9138 $as_echo_n "(cached) " >&6
9140 case $aros_kernel_cxx in
9142 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9149 test -z "$as_dir" && as_dir
=.
9150 for ac_exec_ext
in '' $ac_executable_extensions; do
9151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9152 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9163 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9164 if test -n "$aros_kernel_cxx"; then
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9166 $as_echo "$aros_kernel_cxx" >&6; }
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9169 $as_echo "no" >&6; }
9175 # If it's set, make sure it's really there
9176 if test "x$aros_kernel_cxx" != "x" ; then
9177 if test "$aros_kernel_cxx" = ""; then
9178 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9182 if test "$aros_kernel_ld" = ""; then
9183 if test "$cross_compiling" = "yes" ; then
9184 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9185 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9187 $as_echo_n "checking for $ac_word... " >&6; }
9188 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9189 $as_echo_n "(cached) " >&6
9191 case $aros_kernel_ld in
9193 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9200 test -z "$as_dir" && as_dir
=.
9201 for ac_exec_ext
in '' $ac_executable_extensions; do
9202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9203 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9214 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9215 if test -n "$aros_kernel_ld"; then
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9217 $as_echo "$aros_kernel_ld" >&6; }
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9220 $as_echo "no" >&6; }
9225 if test "$GCC" = "yes"; then
9226 aros_gcc_ld
=`$CC -print-prog-name=ld`
9227 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9228 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9230 $as_echo_n "checking for $ac_word... " >&6; }
9231 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9232 $as_echo_n "(cached) " >&6
9234 case $aros_kernel_ld in
9236 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9240 for as_dir
in `dirname $aros_gcc_ld`
9243 test -z "$as_dir" && as_dir
=.
9244 for ac_exec_ext
in '' $ac_executable_extensions; do
9245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9246 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9257 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9258 if test -n "$aros_kernel_ld"; then
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9260 $as_echo "$aros_kernel_ld" >&6; }
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9263 $as_echo "no" >&6; }
9268 if test "$aros_kernel_ld" = ""; then
9269 # Extract the first word of "ld", so it can be a program name with args.
9270 set dummy ld
; ac_word
=$2
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9272 $as_echo_n "checking for $ac_word... " >&6; }
9273 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9274 $as_echo_n "(cached) " >&6
9276 case $aros_kernel_ld in
9278 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9285 test -z "$as_dir" && as_dir
=.
9286 for ac_exec_ext
in '' $ac_executable_extensions; do
9287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9288 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9299 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9300 if test -n "$aros_kernel_ld"; then
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9302 $as_echo "$aros_kernel_ld" >&6; }
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9305 $as_echo "no" >&6; }
9312 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9313 set dummy
$aros_kernel_ld; ac_word
=$2
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9315 $as_echo_n "checking for $ac_word... " >&6; }
9316 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9317 $as_echo_n "(cached) " >&6
9319 case $aros_kernel_ld in
9321 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9328 test -z "$as_dir" && as_dir
=.
9329 for ac_exec_ext
in '' $ac_executable_extensions; do
9330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9331 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9342 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9343 if test -n "$aros_kernel_ld"; then
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9345 $as_echo "$aros_kernel_ld" >&6; }
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9348 $as_echo "no" >&6; }
9354 if test "$aros_kernel_ld" = ""; then
9355 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9358 if test "$aros_kernel_as" = ""; then
9359 if test "$cross_compiling" = "yes" ; then
9360 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9361 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9363 $as_echo_n "checking for $ac_word... " >&6; }
9364 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9365 $as_echo_n "(cached) " >&6
9367 case $aros_kernel_as in
9369 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9376 test -z "$as_dir" && as_dir
=.
9377 for ac_exec_ext
in '' $ac_executable_extensions; do
9378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9379 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9390 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9391 if test -n "$aros_kernel_as"; then
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9393 $as_echo "$aros_kernel_as" >&6; }
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9396 $as_echo "no" >&6; }
9401 if test "$GCC" = "yes"; then
9402 aros_gcc_as
=`$CC -print-prog-name=as`
9403 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9404 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9406 $as_echo_n "checking for $ac_word... " >&6; }
9407 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9408 $as_echo_n "(cached) " >&6
9410 case $aros_kernel_as in
9412 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9416 for as_dir
in `dirname $aros_gcc_as`
9419 test -z "$as_dir" && as_dir
=.
9420 for ac_exec_ext
in '' $ac_executable_extensions; do
9421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9422 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9433 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9434 if test -n "$aros_kernel_as"; then
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9436 $as_echo "$aros_kernel_as" >&6; }
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9439 $as_echo "no" >&6; }
9444 if test "$aros_kernel_as" = ""; then
9445 # Extract the first word of "as", so it can be a program name with args.
9446 set dummy as
; ac_word
=$2
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9448 $as_echo_n "checking for $ac_word... " >&6; }
9449 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9450 $as_echo_n "(cached) " >&6
9452 case $aros_kernel_as in
9454 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9461 test -z "$as_dir" && as_dir
=.
9462 for ac_exec_ext
in '' $ac_executable_extensions; do
9463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9464 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9475 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9476 if test -n "$aros_kernel_as"; then
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9478 $as_echo "$aros_kernel_as" >&6; }
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9481 $as_echo "no" >&6; }
9488 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9489 set dummy
$aros_kernel_as; ac_word
=$2
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9491 $as_echo_n "checking for $ac_word... " >&6; }
9492 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9493 $as_echo_n "(cached) " >&6
9495 case $aros_kernel_as in
9497 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9504 test -z "$as_dir" && as_dir
=.
9505 for ac_exec_ext
in '' $ac_executable_extensions; do
9506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9507 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9518 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9519 if test -n "$aros_kernel_as"; then
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9521 $as_echo "$aros_kernel_as" >&6; }
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9524 $as_echo "no" >&6; }
9530 if test "$aros_kernel_as" = ""; then
9531 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9534 if test "$aros_kernel_ar" = ""; then
9535 if test "$cross_compiling" = "yes" ; then
9536 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9537 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9539 $as_echo_n "checking for $ac_word... " >&6; }
9540 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9541 $as_echo_n "(cached) " >&6
9543 case $aros_kernel_ar in
9545 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9552 test -z "$as_dir" && as_dir
=.
9553 for ac_exec_ext
in '' $ac_executable_extensions; do
9554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9555 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9566 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9567 if test -n "$aros_kernel_ar"; then
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9569 $as_echo "$aros_kernel_ar" >&6; }
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9572 $as_echo "no" >&6; }
9577 if test "$GCC" = "yes"; then
9578 aros_gcc_ar
=`$CC -print-prog-name=ar`
9579 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9580 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9582 $as_echo_n "checking for $ac_word... " >&6; }
9583 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9584 $as_echo_n "(cached) " >&6
9586 case $aros_kernel_ar in
9588 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9592 for as_dir
in `dirname $aros_gcc_ar`
9595 test -z "$as_dir" && as_dir
=.
9596 for ac_exec_ext
in '' $ac_executable_extensions; do
9597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9598 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9609 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9610 if test -n "$aros_kernel_ar"; then
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9612 $as_echo "$aros_kernel_ar" >&6; }
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9615 $as_echo "no" >&6; }
9620 if test "$aros_kernel_ar" = ""; then
9621 # Extract the first word of "ar", so it can be a program name with args.
9622 set dummy
ar; ac_word
=$2
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9624 $as_echo_n "checking for $ac_word... " >&6; }
9625 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9626 $as_echo_n "(cached) " >&6
9628 case $aros_kernel_ar in
9630 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9637 test -z "$as_dir" && as_dir
=.
9638 for ac_exec_ext
in '' $ac_executable_extensions; do
9639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9640 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9651 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9652 if test -n "$aros_kernel_ar"; then
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9654 $as_echo "$aros_kernel_ar" >&6; }
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9657 $as_echo "no" >&6; }
9664 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9665 set dummy
$aros_kernel_ar; ac_word
=$2
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9667 $as_echo_n "checking for $ac_word... " >&6; }
9668 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9669 $as_echo_n "(cached) " >&6
9671 case $aros_kernel_ar in
9673 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9680 test -z "$as_dir" && as_dir
=.
9681 for ac_exec_ext
in '' $ac_executable_extensions; do
9682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9683 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9694 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9695 if test -n "$aros_kernel_ar"; then
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9697 $as_echo "$aros_kernel_ar" >&6; }
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9700 $as_echo "no" >&6; }
9706 if test "$aros_kernel_ar" = ""; then
9707 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9710 if test "$aros_kernel_ranlib" = ""; then
9711 if test "$cross_compiling" = "yes" ; then
9712 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9713 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9715 $as_echo_n "checking for $ac_word... " >&6; }
9716 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9717 $as_echo_n "(cached) " >&6
9719 case $aros_kernel_ranlib in
9721 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9728 test -z "$as_dir" && as_dir
=.
9729 for ac_exec_ext
in '' $ac_executable_extensions; do
9730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9731 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9742 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9743 if test -n "$aros_kernel_ranlib"; then
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9745 $as_echo "$aros_kernel_ranlib" >&6; }
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9748 $as_echo "no" >&6; }
9753 if test "$GCC" = "yes"; then
9754 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9755 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9756 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9758 $as_echo_n "checking for $ac_word... " >&6; }
9759 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9760 $as_echo_n "(cached) " >&6
9762 case $aros_kernel_ranlib in
9764 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9768 for as_dir
in `dirname $aros_gcc_ranlib`
9771 test -z "$as_dir" && as_dir
=.
9772 for ac_exec_ext
in '' $ac_executable_extensions; do
9773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9774 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9785 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9786 if test -n "$aros_kernel_ranlib"; then
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9788 $as_echo "$aros_kernel_ranlib" >&6; }
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9791 $as_echo "no" >&6; }
9796 if test "$aros_kernel_ranlib" = ""; then
9797 # Extract the first word of "ranlib", so it can be a program name with args.
9798 set dummy ranlib
; ac_word
=$2
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9800 $as_echo_n "checking for $ac_word... " >&6; }
9801 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9802 $as_echo_n "(cached) " >&6
9804 case $aros_kernel_ranlib in
9806 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9813 test -z "$as_dir" && as_dir
=.
9814 for ac_exec_ext
in '' $ac_executable_extensions; do
9815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9816 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9827 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9828 if test -n "$aros_kernel_ranlib"; then
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9830 $as_echo "$aros_kernel_ranlib" >&6; }
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9833 $as_echo "no" >&6; }
9840 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9841 set dummy
$aros_kernel_ranlib; ac_word
=$2
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9843 $as_echo_n "checking for $ac_word... " >&6; }
9844 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9845 $as_echo_n "(cached) " >&6
9847 case $aros_kernel_ranlib in
9849 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9856 test -z "$as_dir" && as_dir
=.
9857 for ac_exec_ext
in '' $ac_executable_extensions; do
9858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9859 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9870 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9871 if test -n "$aros_kernel_ranlib"; then
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9873 $as_echo "$aros_kernel_ranlib" >&6; }
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9876 $as_echo "no" >&6; }
9882 if test "$aros_kernel_ranlib" = ""; then
9883 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9886 if test "$aros_kernel_nm" = ""; then
9887 if test "$cross_compiling" = "yes" ; then
9888 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9889 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9891 $as_echo_n "checking for $ac_word... " >&6; }
9892 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9893 $as_echo_n "(cached) " >&6
9895 case $aros_kernel_nm in
9897 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9904 test -z "$as_dir" && as_dir
=.
9905 for ac_exec_ext
in '' $ac_executable_extensions; do
9906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9907 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9918 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9919 if test -n "$aros_kernel_nm"; then
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9921 $as_echo "$aros_kernel_nm" >&6; }
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9924 $as_echo "no" >&6; }
9929 if test "$GCC" = "yes"; then
9930 aros_gcc_nm
=`$CC -print-prog-name=nm`
9931 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9932 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9934 $as_echo_n "checking for $ac_word... " >&6; }
9935 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9936 $as_echo_n "(cached) " >&6
9938 case $aros_kernel_nm in
9940 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9944 for as_dir
in `dirname $aros_gcc_nm`
9947 test -z "$as_dir" && as_dir
=.
9948 for ac_exec_ext
in '' $ac_executable_extensions; do
9949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9950 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9961 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9962 if test -n "$aros_kernel_nm"; then
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9964 $as_echo "$aros_kernel_nm" >&6; }
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9967 $as_echo "no" >&6; }
9972 if test "$aros_kernel_nm" = ""; then
9973 # Extract the first word of "nm", so it can be a program name with args.
9974 set dummy nm
; ac_word
=$2
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9976 $as_echo_n "checking for $ac_word... " >&6; }
9977 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9978 $as_echo_n "(cached) " >&6
9980 case $aros_kernel_nm in
9982 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9989 test -z "$as_dir" && as_dir
=.
9990 for ac_exec_ext
in '' $ac_executable_extensions; do
9991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9992 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10003 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10004 if test -n "$aros_kernel_nm"; then
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10006 $as_echo "$aros_kernel_nm" >&6; }
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10009 $as_echo "no" >&6; }
10016 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10017 set dummy
$aros_kernel_nm; ac_word
=$2
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10019 $as_echo_n "checking for $ac_word... " >&6; }
10020 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10021 $as_echo_n "(cached) " >&6
10023 case $aros_kernel_nm in
10025 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10029 for as_dir
in $PATH
10032 test -z "$as_dir" && as_dir
=.
10033 for ac_exec_ext
in '' $ac_executable_extensions; do
10034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10035 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10046 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10047 if test -n "$aros_kernel_nm"; then
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10049 $as_echo "$aros_kernel_nm" >&6; }
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10052 $as_echo "no" >&6; }
10058 if test "$aros_kernel_nm" = ""; then
10059 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10062 if test "$aros_kernel_strip" = ""; then
10063 if test "$cross_compiling" = "yes" ; then
10064 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10065 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10067 $as_echo_n "checking for $ac_word... " >&6; }
10068 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10069 $as_echo_n "(cached) " >&6
10071 case $aros_kernel_strip in
10073 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10077 for as_dir
in $PATH
10080 test -z "$as_dir" && as_dir
=.
10081 for ac_exec_ext
in '' $ac_executable_extensions; do
10082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10083 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10094 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10095 if test -n "$aros_kernel_strip"; then
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10097 $as_echo "$aros_kernel_strip" >&6; }
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10100 $as_echo "no" >&6; }
10105 if test "$GCC" = "yes"; then
10106 aros_gcc_strip
=`$CC -print-prog-name=strip`
10107 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10108 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10110 $as_echo_n "checking for $ac_word... " >&6; }
10111 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10112 $as_echo_n "(cached) " >&6
10114 case $aros_kernel_strip in
10116 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10120 for as_dir
in `dirname $aros_gcc_strip`
10123 test -z "$as_dir" && as_dir
=.
10124 for ac_exec_ext
in '' $ac_executable_extensions; do
10125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10126 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10137 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10138 if test -n "$aros_kernel_strip"; then
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10140 $as_echo "$aros_kernel_strip" >&6; }
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10143 $as_echo "no" >&6; }
10148 if test "$aros_kernel_strip" = ""; then
10149 # Extract the first word of "strip", so it can be a program name with args.
10150 set dummy strip
; ac_word
=$2
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10152 $as_echo_n "checking for $ac_word... " >&6; }
10153 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10154 $as_echo_n "(cached) " >&6
10156 case $aros_kernel_strip in
10158 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10162 for as_dir
in $PATH
10165 test -z "$as_dir" && as_dir
=.
10166 for ac_exec_ext
in '' $ac_executable_extensions; do
10167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10168 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10179 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10180 if test -n "$aros_kernel_strip"; then
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10182 $as_echo "$aros_kernel_strip" >&6; }
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10185 $as_echo "no" >&6; }
10192 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10193 set dummy
$aros_kernel_strip; ac_word
=$2
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10195 $as_echo_n "checking for $ac_word... " >&6; }
10196 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10197 $as_echo_n "(cached) " >&6
10199 case $aros_kernel_strip in
10201 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10205 for as_dir
in $PATH
10208 test -z "$as_dir" && as_dir
=.
10209 for ac_exec_ext
in '' $ac_executable_extensions; do
10210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10211 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10222 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10223 if test -n "$aros_kernel_strip"; then
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10225 $as_echo "$aros_kernel_strip" >&6; }
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10228 $as_echo "no" >&6; }
10234 if test "$aros_kernel_strip" = ""; then
10235 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10238 # Objcopy and objdump are not required for the kernel
10239 # toolchain on many architectures.
10240 # So we'll look for them, but not make them strictly required.
10242 if test "$aros_kernel_objcopy" = ""; then
10243 if test "$cross_compiling" = "yes" ; then
10244 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10245 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10247 $as_echo_n "checking for $ac_word... " >&6; }
10248 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10249 $as_echo_n "(cached) " >&6
10251 case $aros_kernel_objcopy in
10253 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10257 for as_dir
in $PATH
10260 test -z "$as_dir" && as_dir
=.
10261 for ac_exec_ext
in '' $ac_executable_extensions; do
10262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10263 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10274 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10275 if test -n "$aros_kernel_objcopy"; then
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10277 $as_echo "$aros_kernel_objcopy" >&6; }
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10280 $as_echo "no" >&6; }
10285 if test "$GCC" = "yes"; then
10286 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10287 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10288 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10290 $as_echo_n "checking for $ac_word... " >&6; }
10291 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10292 $as_echo_n "(cached) " >&6
10294 case $aros_kernel_objcopy in
10296 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10300 for as_dir
in `dirname $aros_gcc_objcopy`
10303 test -z "$as_dir" && as_dir
=.
10304 for ac_exec_ext
in '' $ac_executable_extensions; do
10305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10306 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10317 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10318 if test -n "$aros_kernel_objcopy"; then
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10320 $as_echo "$aros_kernel_objcopy" >&6; }
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10323 $as_echo "no" >&6; }
10328 if test "$aros_kernel_objcopy" = ""; then
10329 # Extract the first word of "objcopy", so it can be a program name with args.
10330 set dummy objcopy
; ac_word
=$2
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10332 $as_echo_n "checking for $ac_word... " >&6; }
10333 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10334 $as_echo_n "(cached) " >&6
10336 case $aros_kernel_objcopy in
10338 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10342 for as_dir
in $PATH
10345 test -z "$as_dir" && as_dir
=.
10346 for ac_exec_ext
in '' $ac_executable_extensions; do
10347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10348 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10359 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10360 if test -n "$aros_kernel_objcopy"; then
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10362 $as_echo "$aros_kernel_objcopy" >&6; }
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10365 $as_echo "no" >&6; }
10372 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10373 set dummy
$aros_kernel_objcopy; ac_word
=$2
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10375 $as_echo_n "checking for $ac_word... " >&6; }
10376 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10377 $as_echo_n "(cached) " >&6
10379 case $aros_kernel_objcopy in
10381 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10385 for as_dir
in $PATH
10388 test -z "$as_dir" && as_dir
=.
10389 for ac_exec_ext
in '' $ac_executable_extensions; do
10390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10391 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10402 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10403 if test -n "$aros_kernel_objcopy"; then
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10405 $as_echo "$aros_kernel_objcopy" >&6; }
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10408 $as_echo "no" >&6; }
10415 if test "$aros_kernel_objdump" = ""; then
10416 if test "$cross_compiling" = "yes" ; then
10417 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10418 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10420 $as_echo_n "checking for $ac_word... " >&6; }
10421 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10422 $as_echo_n "(cached) " >&6
10424 case $aros_kernel_objdump in
10426 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10430 for as_dir
in $PATH
10433 test -z "$as_dir" && as_dir
=.
10434 for ac_exec_ext
in '' $ac_executable_extensions; do
10435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10436 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10447 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10448 if test -n "$aros_kernel_objdump"; then
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10450 $as_echo "$aros_kernel_objdump" >&6; }
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10453 $as_echo "no" >&6; }
10458 if test "$GCC" = "yes"; then
10459 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10460 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10461 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10463 $as_echo_n "checking for $ac_word... " >&6; }
10464 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10465 $as_echo_n "(cached) " >&6
10467 case $aros_kernel_objdump in
10469 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10473 for as_dir
in `dirname $aros_gcc_objdump`
10476 test -z "$as_dir" && as_dir
=.
10477 for ac_exec_ext
in '' $ac_executable_extensions; do
10478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10479 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10490 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10491 if test -n "$aros_kernel_objdump"; then
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10493 $as_echo "$aros_kernel_objdump" >&6; }
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10496 $as_echo "no" >&6; }
10501 if test "$aros_kernel_objdump" = ""; then
10502 # Extract the first word of "objdump", so it can be a program name with args.
10503 set dummy objdump
; ac_word
=$2
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10505 $as_echo_n "checking for $ac_word... " >&6; }
10506 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10507 $as_echo_n "(cached) " >&6
10509 case $aros_kernel_objdump in
10511 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10515 for as_dir
in $PATH
10518 test -z "$as_dir" && as_dir
=.
10519 for ac_exec_ext
in '' $ac_executable_extensions; do
10520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10521 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10532 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10533 if test -n "$aros_kernel_objdump"; then
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10535 $as_echo "$aros_kernel_objdump" >&6; }
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10538 $as_echo "no" >&6; }
10545 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10546 set dummy
$aros_kernel_objdump; ac_word
=$2
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10548 $as_echo_n "checking for $ac_word... " >&6; }
10549 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10550 $as_echo_n "(cached) " >&6
10552 case $aros_kernel_objdump in
10554 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10558 for as_dir
in $PATH
10561 test -z "$as_dir" && as_dir
=.
10562 for ac_exec_ext
in '' $ac_executable_extensions; do
10563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10564 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10575 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10576 if test -n "$aros_kernel_objdump"; then
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10578 $as_echo "$aros_kernel_objdump" >&6; }
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10581 $as_echo "no" >&6; }
10587 if test "x${crosstools}" != "xyes" ; then
10588 if test "$aros_kernel_objcopy" = ""; then
10589 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10591 if test "$aros_kernel_objdump" = ""; then
10592 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10598 $as_echo_n "checking which target tools to use... " >&6; }
10599 if test "$crosstools" = "yes"; then
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10601 $as_echo "$target_tool_prefix" >&6; }
10602 # We are are building AROS crosstools
10603 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10604 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10605 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10606 orig_target_cpp
="${tmp_tool_prefix}cpp"
10607 orig_target_ld
="${tmp_tool_prefix}ld"
10608 orig_target_as
="${tmp_tool_prefix}as"
10609 orig_target_ar
="${tmp_tool_prefix}ar"
10610 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10611 orig_target_nm
="${tmp_tool_prefix}nm"
10612 orig_target_strip
="${tmp_tool_prefix}strip"
10613 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10614 orig_target_objdump
="${tmp_tool_prefix}objdump"
10616 # Determine whether AROS or ELF tools should be used
10617 if test "$aros_tool_prefix" = "none"; then
10618 aros_tool_prefix
="${elf_tool_prefix}"
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10622 $as_echo "$aros_tool_prefix" >&6; }
10623 # We are *not* building AROS crosstools - use the AROS or ELF tools
10625 if test "${aros_tool_prefix}cpp" = ""; then
10626 if test "$cross_compiling" = "yes" ; then
10627 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10628 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10630 $as_echo_n "checking for $ac_word... " >&6; }
10631 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10632 $as_echo_n "(cached) " >&6
10634 case $orig_target_cpp in
10636 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10640 for as_dir
in $PATH
10643 test -z "$as_dir" && as_dir
=.
10644 for ac_exec_ext
in '' $ac_executable_extensions; do
10645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10646 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10657 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10658 if test -n "$orig_target_cpp"; then
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10660 $as_echo "$orig_target_cpp" >&6; }
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10663 $as_echo "no" >&6; }
10668 if test "$GCC" = "yes"; then
10669 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10670 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10671 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10673 $as_echo_n "checking for $ac_word... " >&6; }
10674 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10675 $as_echo_n "(cached) " >&6
10677 case $orig_target_cpp in
10679 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10683 for as_dir
in `dirname $aros_gcc_cpp`
10686 test -z "$as_dir" && as_dir
=.
10687 for ac_exec_ext
in '' $ac_executable_extensions; do
10688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10689 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10700 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10701 if test -n "$orig_target_cpp"; then
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10703 $as_echo "$orig_target_cpp" >&6; }
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10706 $as_echo "no" >&6; }
10711 if test "$orig_target_cpp" = ""; then
10712 # Extract the first word of "cpp", so it can be a program name with args.
10713 set dummy cpp
; ac_word
=$2
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10715 $as_echo_n "checking for $ac_word... " >&6; }
10716 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10717 $as_echo_n "(cached) " >&6
10719 case $orig_target_cpp in
10721 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10725 for as_dir
in $PATH
10728 test -z "$as_dir" && as_dir
=.
10729 for ac_exec_ext
in '' $ac_executable_extensions; do
10730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10731 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10742 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10743 if test -n "$orig_target_cpp"; then
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10745 $as_echo "$orig_target_cpp" >&6; }
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10748 $as_echo "no" >&6; }
10755 # Extract the first word of "${aros_tool_prefix}cpp", so it can be a program name with args.
10756 set dummy
${aros_tool_prefix}cpp
; ac_word
=$2
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10758 $as_echo_n "checking for $ac_word... " >&6; }
10759 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10760 $as_echo_n "(cached) " >&6
10762 case $orig_target_cpp in
10764 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10768 for as_dir
in $PATH
10771 test -z "$as_dir" && as_dir
=.
10772 for ac_exec_ext
in '' $ac_executable_extensions; do
10773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10774 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10785 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10786 if test -n "$orig_target_cpp"; then
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10788 $as_echo "$orig_target_cpp" >&6; }
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10791 $as_echo "no" >&6; }
10797 if test "$orig_target_cpp" = ""; then
10798 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10801 if test "${aros_tool_prefix}gcc" = ""; then
10802 if test "$cross_compiling" = "yes" ; then
10803 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10804 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10806 $as_echo_n "checking for $ac_word... " >&6; }
10807 if ${ac_cv_path_orig_target_cc+:} false
; then :
10808 $as_echo_n "(cached) " >&6
10810 case $orig_target_cc in
10812 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10816 for as_dir
in $PATH
10819 test -z "$as_dir" && as_dir
=.
10820 for ac_exec_ext
in '' $ac_executable_extensions; do
10821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10822 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10833 orig_target_cc
=$ac_cv_path_orig_target_cc
10834 if test -n "$orig_target_cc"; then
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10836 $as_echo "$orig_target_cc" >&6; }
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10839 $as_echo "no" >&6; }
10844 if test "$GCC" = "yes"; then
10845 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10846 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10847 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10849 $as_echo_n "checking for $ac_word... " >&6; }
10850 if ${ac_cv_path_orig_target_cc+:} false
; then :
10851 $as_echo_n "(cached) " >&6
10853 case $orig_target_cc in
10855 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10859 for as_dir
in `dirname $aros_gcc_gcc`
10862 test -z "$as_dir" && as_dir
=.
10863 for ac_exec_ext
in '' $ac_executable_extensions; do
10864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10865 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10876 orig_target_cc
=$ac_cv_path_orig_target_cc
10877 if test -n "$orig_target_cc"; then
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10879 $as_echo "$orig_target_cc" >&6; }
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10882 $as_echo "no" >&6; }
10887 if test "$orig_target_cc" = ""; then
10888 # Extract the first word of "gcc", so it can be a program name with args.
10889 set dummy gcc
; ac_word
=$2
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10891 $as_echo_n "checking for $ac_word... " >&6; }
10892 if ${ac_cv_path_orig_target_cc+:} false
; then :
10893 $as_echo_n "(cached) " >&6
10895 case $orig_target_cc in
10897 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10901 for as_dir
in $PATH
10904 test -z "$as_dir" && as_dir
=.
10905 for ac_exec_ext
in '' $ac_executable_extensions; do
10906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10907 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10918 orig_target_cc
=$ac_cv_path_orig_target_cc
10919 if test -n "$orig_target_cc"; then
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10921 $as_echo "$orig_target_cc" >&6; }
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10924 $as_echo "no" >&6; }
10931 # Extract the first word of "${aros_tool_prefix}gcc", so it can be a program name with args.
10932 set dummy
${aros_tool_prefix}gcc
; ac_word
=$2
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10934 $as_echo_n "checking for $ac_word... " >&6; }
10935 if ${ac_cv_path_orig_target_cc+:} false
; then :
10936 $as_echo_n "(cached) " >&6
10938 case $orig_target_cc in
10940 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10944 for as_dir
in $PATH
10947 test -z "$as_dir" && as_dir
=.
10948 for ac_exec_ext
in '' $ac_executable_extensions; do
10949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10950 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10961 orig_target_cc
=$ac_cv_path_orig_target_cc
10962 if test -n "$orig_target_cc"; then
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10964 $as_echo "$orig_target_cc" >&6; }
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10967 $as_echo "no" >&6; }
10973 if test "$orig_target_cc" = ""; then
10974 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
10976 if test "x$orig_target_cxx" != "x" ; then
10978 if test "${aros_tool_prefix}g++" = ""; then
10979 if test "$cross_compiling" = "yes" ; then
10980 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
10981 set dummy
${target_tool_prefix}g
++; ac_word
=$2
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10983 $as_echo_n "checking for $ac_word... " >&6; }
10984 if ${ac_cv_path_orig_target_cxx+:} false
; then :
10985 $as_echo_n "(cached) " >&6
10987 case $orig_target_cxx in
10989 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
10992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10993 for as_dir
in $PATH
10996 test -z "$as_dir" && as_dir
=.
10997 for ac_exec_ext
in '' $ac_executable_extensions; do
10998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10999 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11010 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11011 if test -n "$orig_target_cxx"; then
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11013 $as_echo "$orig_target_cxx" >&6; }
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11016 $as_echo "no" >&6; }
11021 if test "$GCC" = "yes"; then
11022 aros_gcc_g
++=`$CC -print-prog-name=g++`
11023 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11024 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11026 $as_echo_n "checking for $ac_word... " >&6; }
11027 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11028 $as_echo_n "(cached) " >&6
11030 case $orig_target_cxx in
11032 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11036 for as_dir
in `dirname $aros_gcc_g++`
11039 test -z "$as_dir" && as_dir
=.
11040 for ac_exec_ext
in '' $ac_executable_extensions; do
11041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11042 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11053 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11054 if test -n "$orig_target_cxx"; then
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11056 $as_echo "$orig_target_cxx" >&6; }
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11059 $as_echo "no" >&6; }
11064 if test "$orig_target_cxx" = ""; then
11065 # Extract the first word of "g++", so it can be a program name with args.
11066 set dummy g
++; ac_word
=$2
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11068 $as_echo_n "checking for $ac_word... " >&6; }
11069 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11070 $as_echo_n "(cached) " >&6
11072 case $orig_target_cxx in
11074 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11078 for as_dir
in $PATH
11081 test -z "$as_dir" && as_dir
=.
11082 for ac_exec_ext
in '' $ac_executable_extensions; do
11083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11084 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11095 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11096 if test -n "$orig_target_cxx"; then
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11098 $as_echo "$orig_target_cxx" >&6; }
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11101 $as_echo "no" >&6; }
11108 # Extract the first word of "${aros_tool_prefix}g++", so it can be a program name with args.
11109 set dummy
${aros_tool_prefix}g
++; ac_word
=$2
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11111 $as_echo_n "checking for $ac_word... " >&6; }
11112 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11113 $as_echo_n "(cached) " >&6
11115 case $orig_target_cxx in
11117 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11121 for as_dir
in $PATH
11124 test -z "$as_dir" && as_dir
=.
11125 for ac_exec_ext
in '' $ac_executable_extensions; do
11126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11127 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11138 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11139 if test -n "$orig_target_cxx"; then
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11141 $as_echo "$orig_target_cxx" >&6; }
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11144 $as_echo "no" >&6; }
11150 if test "$orig_target_cxx" = ""; then
11151 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11155 if test "${aros_tool_prefix}ld" = ""; then
11156 if test "$cross_compiling" = "yes" ; then
11157 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11158 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11160 $as_echo_n "checking for $ac_word... " >&6; }
11161 if ${ac_cv_path_orig_target_ld+:} false
; then :
11162 $as_echo_n "(cached) " >&6
11164 case $orig_target_ld in
11166 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11170 for as_dir
in $PATH
11173 test -z "$as_dir" && as_dir
=.
11174 for ac_exec_ext
in '' $ac_executable_extensions; do
11175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11176 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11187 orig_target_ld
=$ac_cv_path_orig_target_ld
11188 if test -n "$orig_target_ld"; then
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11190 $as_echo "$orig_target_ld" >&6; }
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11193 $as_echo "no" >&6; }
11198 if test "$GCC" = "yes"; then
11199 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11200 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11201 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11203 $as_echo_n "checking for $ac_word... " >&6; }
11204 if ${ac_cv_path_orig_target_ld+:} false
; then :
11205 $as_echo_n "(cached) " >&6
11207 case $orig_target_ld in
11209 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11213 for as_dir
in `dirname $aros_gcc_gcc`
11216 test -z "$as_dir" && as_dir
=.
11217 for ac_exec_ext
in '' $ac_executable_extensions; do
11218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11219 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11230 orig_target_ld
=$ac_cv_path_orig_target_ld
11231 if test -n "$orig_target_ld"; then
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11233 $as_echo "$orig_target_ld" >&6; }
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11236 $as_echo "no" >&6; }
11241 if test "$orig_target_ld" = ""; then
11242 # Extract the first word of "gcc", so it can be a program name with args.
11243 set dummy gcc
; ac_word
=$2
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11245 $as_echo_n "checking for $ac_word... " >&6; }
11246 if ${ac_cv_path_orig_target_ld+:} false
; then :
11247 $as_echo_n "(cached) " >&6
11249 case $orig_target_ld in
11251 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11255 for as_dir
in $PATH
11258 test -z "$as_dir" && as_dir
=.
11259 for ac_exec_ext
in '' $ac_executable_extensions; do
11260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11261 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11272 orig_target_ld
=$ac_cv_path_orig_target_ld
11273 if test -n "$orig_target_ld"; then
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11275 $as_echo "$orig_target_ld" >&6; }
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11278 $as_echo "no" >&6; }
11285 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11286 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11288 $as_echo_n "checking for $ac_word... " >&6; }
11289 if ${ac_cv_path_orig_target_ld+:} false
; then :
11290 $as_echo_n "(cached) " >&6
11292 case $orig_target_ld in
11294 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11298 for as_dir
in $PATH
11301 test -z "$as_dir" && as_dir
=.
11302 for ac_exec_ext
in '' $ac_executable_extensions; do
11303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11304 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11315 orig_target_ld
=$ac_cv_path_orig_target_ld
11316 if test -n "$orig_target_ld"; then
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11318 $as_echo "$orig_target_ld" >&6; }
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11321 $as_echo "no" >&6; }
11327 if test "$orig_target_ld" = ""; then
11328 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11331 if test "${aros_tool_prefix}as" = ""; then
11332 if test "$cross_compiling" = "yes" ; then
11333 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11334 set dummy
${target_tool_prefix}as
; ac_word
=$2
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11336 $as_echo_n "checking for $ac_word... " >&6; }
11337 if ${ac_cv_path_orig_target_as+:} false
; then :
11338 $as_echo_n "(cached) " >&6
11340 case $orig_target_as in
11342 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11346 for as_dir
in $PATH
11349 test -z "$as_dir" && as_dir
=.
11350 for ac_exec_ext
in '' $ac_executable_extensions; do
11351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11352 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11363 orig_target_as
=$ac_cv_path_orig_target_as
11364 if test -n "$orig_target_as"; then
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11366 $as_echo "$orig_target_as" >&6; }
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11369 $as_echo "no" >&6; }
11374 if test "$GCC" = "yes"; then
11375 aros_gcc_as
=`$CC -print-prog-name=as`
11376 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11377 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11379 $as_echo_n "checking for $ac_word... " >&6; }
11380 if ${ac_cv_path_orig_target_as+:} false
; then :
11381 $as_echo_n "(cached) " >&6
11383 case $orig_target_as in
11385 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11389 for as_dir
in `dirname $aros_gcc_as`
11392 test -z "$as_dir" && as_dir
=.
11393 for ac_exec_ext
in '' $ac_executable_extensions; do
11394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11395 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11406 orig_target_as
=$ac_cv_path_orig_target_as
11407 if test -n "$orig_target_as"; then
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11409 $as_echo "$orig_target_as" >&6; }
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11412 $as_echo "no" >&6; }
11417 if test "$orig_target_as" = ""; then
11418 # Extract the first word of "as", so it can be a program name with args.
11419 set dummy as
; ac_word
=$2
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11421 $as_echo_n "checking for $ac_word... " >&6; }
11422 if ${ac_cv_path_orig_target_as+:} false
; then :
11423 $as_echo_n "(cached) " >&6
11425 case $orig_target_as in
11427 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11431 for as_dir
in $PATH
11434 test -z "$as_dir" && as_dir
=.
11435 for ac_exec_ext
in '' $ac_executable_extensions; do
11436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11437 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11448 orig_target_as
=$ac_cv_path_orig_target_as
11449 if test -n "$orig_target_as"; then
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11451 $as_echo "$orig_target_as" >&6; }
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11454 $as_echo "no" >&6; }
11461 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11462 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11464 $as_echo_n "checking for $ac_word... " >&6; }
11465 if ${ac_cv_path_orig_target_as+:} false
; then :
11466 $as_echo_n "(cached) " >&6
11468 case $orig_target_as in
11470 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11474 for as_dir
in $PATH
11477 test -z "$as_dir" && as_dir
=.
11478 for ac_exec_ext
in '' $ac_executable_extensions; do
11479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11480 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11491 orig_target_as
=$ac_cv_path_orig_target_as
11492 if test -n "$orig_target_as"; then
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11494 $as_echo "$orig_target_as" >&6; }
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11497 $as_echo "no" >&6; }
11503 if test "$orig_target_as" = ""; then
11504 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11507 if test "${aros_tool_prefix}ar" = ""; then
11508 if test "$cross_compiling" = "yes" ; then
11509 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11510 set dummy
${target_tool_prefix}ar; ac_word
=$2
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11512 $as_echo_n "checking for $ac_word... " >&6; }
11513 if ${ac_cv_path_orig_target_ar+:} false
; then :
11514 $as_echo_n "(cached) " >&6
11516 case $orig_target_ar in
11518 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11522 for as_dir
in $PATH
11525 test -z "$as_dir" && as_dir
=.
11526 for ac_exec_ext
in '' $ac_executable_extensions; do
11527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11528 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11539 orig_target_ar
=$ac_cv_path_orig_target_ar
11540 if test -n "$orig_target_ar"; then
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11542 $as_echo "$orig_target_ar" >&6; }
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11545 $as_echo "no" >&6; }
11550 if test "$GCC" = "yes"; then
11551 aros_gcc_ar
=`$CC -print-prog-name=ar`
11552 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11553 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11555 $as_echo_n "checking for $ac_word... " >&6; }
11556 if ${ac_cv_path_orig_target_ar+:} false
; then :
11557 $as_echo_n "(cached) " >&6
11559 case $orig_target_ar in
11561 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11565 for as_dir
in `dirname $aros_gcc_ar`
11568 test -z "$as_dir" && as_dir
=.
11569 for ac_exec_ext
in '' $ac_executable_extensions; do
11570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11571 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11582 orig_target_ar
=$ac_cv_path_orig_target_ar
11583 if test -n "$orig_target_ar"; then
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11585 $as_echo "$orig_target_ar" >&6; }
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11588 $as_echo "no" >&6; }
11593 if test "$orig_target_ar" = ""; then
11594 # Extract the first word of "ar", so it can be a program name with args.
11595 set dummy
ar; ac_word
=$2
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11597 $as_echo_n "checking for $ac_word... " >&6; }
11598 if ${ac_cv_path_orig_target_ar+:} false
; then :
11599 $as_echo_n "(cached) " >&6
11601 case $orig_target_ar in
11603 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11607 for as_dir
in $PATH
11610 test -z "$as_dir" && as_dir
=.
11611 for ac_exec_ext
in '' $ac_executable_extensions; do
11612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11613 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11624 orig_target_ar
=$ac_cv_path_orig_target_ar
11625 if test -n "$orig_target_ar"; then
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11627 $as_echo "$orig_target_ar" >&6; }
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11630 $as_echo "no" >&6; }
11637 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11638 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11640 $as_echo_n "checking for $ac_word... " >&6; }
11641 if ${ac_cv_path_orig_target_ar+:} false
; then :
11642 $as_echo_n "(cached) " >&6
11644 case $orig_target_ar in
11646 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11650 for as_dir
in $PATH
11653 test -z "$as_dir" && as_dir
=.
11654 for ac_exec_ext
in '' $ac_executable_extensions; do
11655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11656 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11667 orig_target_ar
=$ac_cv_path_orig_target_ar
11668 if test -n "$orig_target_ar"; then
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11670 $as_echo "$orig_target_ar" >&6; }
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11673 $as_echo "no" >&6; }
11679 if test "$orig_target_ar" = ""; then
11680 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11683 if test "${aros_tool_prefix}ranlib" = ""; then
11684 if test "$cross_compiling" = "yes" ; then
11685 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11686 set dummy
${target_tool_prefix}ar; ac_word
=$2
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11688 $as_echo_n "checking for $ac_word... " >&6; }
11689 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11690 $as_echo_n "(cached) " >&6
11692 case $orig_target_ranlib in
11694 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11698 for as_dir
in $PATH
11701 test -z "$as_dir" && as_dir
=.
11702 for ac_exec_ext
in '' $ac_executable_extensions; do
11703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11704 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11715 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11716 if test -n "$orig_target_ranlib"; then
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11718 $as_echo "$orig_target_ranlib" >&6; }
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11721 $as_echo "no" >&6; }
11726 if test "$GCC" = "yes"; then
11727 aros_gcc_ar
=`$CC -print-prog-name=ar`
11728 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11729 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11731 $as_echo_n "checking for $ac_word... " >&6; }
11732 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11733 $as_echo_n "(cached) " >&6
11735 case $orig_target_ranlib in
11737 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11741 for as_dir
in `dirname $aros_gcc_ar`
11744 test -z "$as_dir" && as_dir
=.
11745 for ac_exec_ext
in '' $ac_executable_extensions; do
11746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11747 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11758 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11759 if test -n "$orig_target_ranlib"; then
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11761 $as_echo "$orig_target_ranlib" >&6; }
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11764 $as_echo "no" >&6; }
11769 if test "$orig_target_ranlib" = ""; then
11770 # Extract the first word of "ar", so it can be a program name with args.
11771 set dummy
ar; ac_word
=$2
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11773 $as_echo_n "checking for $ac_word... " >&6; }
11774 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11775 $as_echo_n "(cached) " >&6
11777 case $orig_target_ranlib in
11779 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11783 for as_dir
in $PATH
11786 test -z "$as_dir" && as_dir
=.
11787 for ac_exec_ext
in '' $ac_executable_extensions; do
11788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11789 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11800 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11801 if test -n "$orig_target_ranlib"; then
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11803 $as_echo "$orig_target_ranlib" >&6; }
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11806 $as_echo "no" >&6; }
11813 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11814 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11816 $as_echo_n "checking for $ac_word... " >&6; }
11817 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11818 $as_echo_n "(cached) " >&6
11820 case $orig_target_ranlib in
11822 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11826 for as_dir
in $PATH
11829 test -z "$as_dir" && as_dir
=.
11830 for ac_exec_ext
in '' $ac_executable_extensions; do
11831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11832 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11843 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11844 if test -n "$orig_target_ranlib"; then
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11846 $as_echo "$orig_target_ranlib" >&6; }
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11849 $as_echo "no" >&6; }
11855 if test "$orig_target_ranlib" = ""; then
11856 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11859 if test "${aros_tool_prefix}nm" = ""; then
11860 if test "$cross_compiling" = "yes" ; then
11861 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
11862 set dummy
${target_tool_prefix}nm
; ac_word
=$2
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11864 $as_echo_n "checking for $ac_word... " >&6; }
11865 if ${ac_cv_path_orig_target_nm+:} false
; then :
11866 $as_echo_n "(cached) " >&6
11868 case $orig_target_nm in
11870 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11874 for as_dir
in $PATH
11877 test -z "$as_dir" && as_dir
=.
11878 for ac_exec_ext
in '' $ac_executable_extensions; do
11879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11880 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11891 orig_target_nm
=$ac_cv_path_orig_target_nm
11892 if test -n "$orig_target_nm"; then
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11894 $as_echo "$orig_target_nm" >&6; }
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11897 $as_echo "no" >&6; }
11902 if test "$GCC" = "yes"; then
11903 aros_gcc_nm
=`$CC -print-prog-name=nm`
11904 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11905 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11907 $as_echo_n "checking for $ac_word... " >&6; }
11908 if ${ac_cv_path_orig_target_nm+:} false
; then :
11909 $as_echo_n "(cached) " >&6
11911 case $orig_target_nm in
11913 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11917 for as_dir
in `dirname $aros_gcc_nm`
11920 test -z "$as_dir" && as_dir
=.
11921 for ac_exec_ext
in '' $ac_executable_extensions; do
11922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11923 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11934 orig_target_nm
=$ac_cv_path_orig_target_nm
11935 if test -n "$orig_target_nm"; then
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11937 $as_echo "$orig_target_nm" >&6; }
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11940 $as_echo "no" >&6; }
11945 if test "$orig_target_nm" = ""; then
11946 # Extract the first word of "nm", so it can be a program name with args.
11947 set dummy nm
; ac_word
=$2
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11949 $as_echo_n "checking for $ac_word... " >&6; }
11950 if ${ac_cv_path_orig_target_nm+:} false
; then :
11951 $as_echo_n "(cached) " >&6
11953 case $orig_target_nm in
11955 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11959 for as_dir
in $PATH
11962 test -z "$as_dir" && as_dir
=.
11963 for ac_exec_ext
in '' $ac_executable_extensions; do
11964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11965 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11976 orig_target_nm
=$ac_cv_path_orig_target_nm
11977 if test -n "$orig_target_nm"; then
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11979 $as_echo "$orig_target_nm" >&6; }
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11982 $as_echo "no" >&6; }
11989 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
11990 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11992 $as_echo_n "checking for $ac_word... " >&6; }
11993 if ${ac_cv_path_orig_target_nm+:} false
; then :
11994 $as_echo_n "(cached) " >&6
11996 case $orig_target_nm in
11998 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12002 for as_dir
in $PATH
12005 test -z "$as_dir" && as_dir
=.
12006 for ac_exec_ext
in '' $ac_executable_extensions; do
12007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12008 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12019 orig_target_nm
=$ac_cv_path_orig_target_nm
12020 if test -n "$orig_target_nm"; then
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12022 $as_echo "$orig_target_nm" >&6; }
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12025 $as_echo "no" >&6; }
12031 if test "$orig_target_nm" = ""; then
12032 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12035 if test "${aros_tool_prefix}strip" = ""; then
12036 if test "$cross_compiling" = "yes" ; then
12037 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12038 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12040 $as_echo_n "checking for $ac_word... " >&6; }
12041 if ${ac_cv_path_orig_target_strip+:} false
; then :
12042 $as_echo_n "(cached) " >&6
12044 case $orig_target_strip in
12046 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12050 for as_dir
in $PATH
12053 test -z "$as_dir" && as_dir
=.
12054 for ac_exec_ext
in '' $ac_executable_extensions; do
12055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12056 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12067 orig_target_strip
=$ac_cv_path_orig_target_strip
12068 if test -n "$orig_target_strip"; then
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12070 $as_echo "$orig_target_strip" >&6; }
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12073 $as_echo "no" >&6; }
12078 if test "$GCC" = "yes"; then
12079 aros_gcc_strip
=`$CC -print-prog-name=strip`
12080 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12081 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12083 $as_echo_n "checking for $ac_word... " >&6; }
12084 if ${ac_cv_path_orig_target_strip+:} false
; then :
12085 $as_echo_n "(cached) " >&6
12087 case $orig_target_strip in
12089 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12093 for as_dir
in `dirname $aros_gcc_strip`
12096 test -z "$as_dir" && as_dir
=.
12097 for ac_exec_ext
in '' $ac_executable_extensions; do
12098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12099 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12110 orig_target_strip
=$ac_cv_path_orig_target_strip
12111 if test -n "$orig_target_strip"; then
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12113 $as_echo "$orig_target_strip" >&6; }
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12116 $as_echo "no" >&6; }
12121 if test "$orig_target_strip" = ""; then
12122 # Extract the first word of "strip", so it can be a program name with args.
12123 set dummy strip
; ac_word
=$2
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12125 $as_echo_n "checking for $ac_word... " >&6; }
12126 if ${ac_cv_path_orig_target_strip+:} false
; then :
12127 $as_echo_n "(cached) " >&6
12129 case $orig_target_strip in
12131 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12135 for as_dir
in $PATH
12138 test -z "$as_dir" && as_dir
=.
12139 for ac_exec_ext
in '' $ac_executable_extensions; do
12140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12141 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12152 orig_target_strip
=$ac_cv_path_orig_target_strip
12153 if test -n "$orig_target_strip"; then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12155 $as_echo "$orig_target_strip" >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158 $as_echo "no" >&6; }
12165 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12166 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12168 $as_echo_n "checking for $ac_word... " >&6; }
12169 if ${ac_cv_path_orig_target_strip+:} false
; then :
12170 $as_echo_n "(cached) " >&6
12172 case $orig_target_strip in
12174 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12178 for as_dir
in $PATH
12181 test -z "$as_dir" && as_dir
=.
12182 for ac_exec_ext
in '' $ac_executable_extensions; do
12183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12184 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12195 orig_target_strip
=$ac_cv_path_orig_target_strip
12196 if test -n "$orig_target_strip"; then
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12198 $as_echo "$orig_target_strip" >&6; }
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12201 $as_echo "no" >&6; }
12207 if test "$orig_target_strip" = ""; then
12208 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12211 if test "${aros_tool_prefix}objcopy" = ""; then
12212 if test "$cross_compiling" = "yes" ; then
12213 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12214 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12216 $as_echo_n "checking for $ac_word... " >&6; }
12217 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12218 $as_echo_n "(cached) " >&6
12220 case $orig_target_objcopy in
12222 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12226 for as_dir
in $PATH
12229 test -z "$as_dir" && as_dir
=.
12230 for ac_exec_ext
in '' $ac_executable_extensions; do
12231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12232 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12243 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12244 if test -n "$orig_target_objcopy"; then
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12246 $as_echo "$orig_target_objcopy" >&6; }
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12249 $as_echo "no" >&6; }
12254 if test "$GCC" = "yes"; then
12255 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12256 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12257 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12259 $as_echo_n "checking for $ac_word... " >&6; }
12260 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12261 $as_echo_n "(cached) " >&6
12263 case $orig_target_objcopy in
12265 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12269 for as_dir
in `dirname $aros_gcc_objcopy`
12272 test -z "$as_dir" && as_dir
=.
12273 for ac_exec_ext
in '' $ac_executable_extensions; do
12274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12275 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12286 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12287 if test -n "$orig_target_objcopy"; then
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12289 $as_echo "$orig_target_objcopy" >&6; }
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12292 $as_echo "no" >&6; }
12297 if test "$orig_target_objcopy" = ""; then
12298 # Extract the first word of "objcopy", so it can be a program name with args.
12299 set dummy objcopy
; ac_word
=$2
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12301 $as_echo_n "checking for $ac_word... " >&6; }
12302 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12303 $as_echo_n "(cached) " >&6
12305 case $orig_target_objcopy in
12307 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12311 for as_dir
in $PATH
12314 test -z "$as_dir" && as_dir
=.
12315 for ac_exec_ext
in '' $ac_executable_extensions; do
12316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12317 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12328 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12329 if test -n "$orig_target_objcopy"; then
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12331 $as_echo "$orig_target_objcopy" >&6; }
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12334 $as_echo "no" >&6; }
12341 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12342 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12344 $as_echo_n "checking for $ac_word... " >&6; }
12345 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12346 $as_echo_n "(cached) " >&6
12348 case $orig_target_objcopy in
12350 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12354 for as_dir
in $PATH
12357 test -z "$as_dir" && as_dir
=.
12358 for ac_exec_ext
in '' $ac_executable_extensions; do
12359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12360 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12371 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12372 if test -n "$orig_target_objcopy"; then
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12374 $as_echo "$orig_target_objcopy" >&6; }
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12377 $as_echo "no" >&6; }
12383 if test "$orig_target_objcopy" = ""; then
12384 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12387 if test "${aros_tool_prefix}objdump" = ""; then
12388 if test "$cross_compiling" = "yes" ; then
12389 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12390 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12392 $as_echo_n "checking for $ac_word... " >&6; }
12393 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12394 $as_echo_n "(cached) " >&6
12396 case $orig_target_objdump in
12398 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12402 for as_dir
in $PATH
12405 test -z "$as_dir" && as_dir
=.
12406 for ac_exec_ext
in '' $ac_executable_extensions; do
12407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12408 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12419 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12420 if test -n "$orig_target_objdump"; then
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12422 $as_echo "$orig_target_objdump" >&6; }
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12425 $as_echo "no" >&6; }
12430 if test "$GCC" = "yes"; then
12431 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12432 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12433 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12435 $as_echo_n "checking for $ac_word... " >&6; }
12436 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12437 $as_echo_n "(cached) " >&6
12439 case $orig_target_objdump in
12441 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12445 for as_dir
in `dirname $aros_gcc_objdump`
12448 test -z "$as_dir" && as_dir
=.
12449 for ac_exec_ext
in '' $ac_executable_extensions; do
12450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12451 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12462 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12463 if test -n "$orig_target_objdump"; then
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12465 $as_echo "$orig_target_objdump" >&6; }
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12468 $as_echo "no" >&6; }
12473 if test "$orig_target_objdump" = ""; then
12474 # Extract the first word of "objdump", so it can be a program name with args.
12475 set dummy objdump
; ac_word
=$2
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12477 $as_echo_n "checking for $ac_word... " >&6; }
12478 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12479 $as_echo_n "(cached) " >&6
12481 case $orig_target_objdump in
12483 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12487 for as_dir
in $PATH
12490 test -z "$as_dir" && as_dir
=.
12491 for ac_exec_ext
in '' $ac_executable_extensions; do
12492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12493 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12504 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12505 if test -n "$orig_target_objdump"; then
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12507 $as_echo "$orig_target_objdump" >&6; }
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12510 $as_echo "no" >&6; }
12517 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12518 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12520 $as_echo_n "checking for $ac_word... " >&6; }
12521 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12522 $as_echo_n "(cached) " >&6
12524 case $orig_target_objdump in
12526 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12530 for as_dir
in $PATH
12533 test -z "$as_dir" && as_dir
=.
12534 for ac_exec_ext
in '' $ac_executable_extensions; do
12535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12536 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12547 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12548 if test -n "$orig_target_objdump"; then
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12550 $as_echo "$orig_target_objdump" >&6; }
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12553 $as_echo "no" >&6; }
12559 if test "$orig_target_objdump" = ""; then
12560 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12564 if test "$kernel_tool_prefix" = "none" ; then
12565 # No kernel tools specified
12566 # Assume target tools == kernel tools with ELF wrapper
12567 aros_kernel_cc
=$orig_target_cc
12568 aros_kernel_cxx
=$orig_target_cxx
12569 aros_kernel_cpp
=$orig_target_cpp
12570 aros_kernel_ld
=$orig_target_ld
12571 aros_kernel_as
=$orig_target_as
12572 aros_kernel_ar
=$orig_target_ar
12573 aros_kernel_ranlib
=$orig_target_ranlib
12574 aros_kernel_nm
=$orig_target_nm
12575 aros_kernel_strip
=$orig_target_strip
12576 aros_kernel_objcopy
=$orig_target_objcopy
12577 aros_kernel_objdump
=$orig_target_objdump
12578 use_kernel_cc_wrapper
=yes
12581 # At this point, all aros_kernel_* and aros_target_*
12582 # tools should be set up correctly
12584 CC
="$aros_kernel_cc $kernel_tool_flags"
12585 CPP
="$aros_kernel_cpp"
12587 #-----------------------------------------------------------------------------
12589 # Disable pointer-signedness warnings if the compiler recognises the option
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12592 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12593 save_cflags
="$CFLAGS"
12594 if test "$crosstools" != "yes" ; then
12595 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12607 if ac_fn_c_try_compile
"$LINENO"; then :
12608 use_no_sign_warning
="yes"
12610 use_no_sign_warning
="no"
12612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12614 # we do know it is supported for the smallest version of gcc we are going to build
12615 # we assume it's also supported by later versions
12616 use_no_sign_warning
=yes
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12619 $as_echo "$use_no_sign_warning" >&6; }
12620 if test "x-$use_no_sign_warning" = "x-yes" ; then
12621 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12623 CFLAGS
="$save_cflags"
12625 #-----------------------------------------------------------------------------
12627 # Find all the tools we need to compile. This could be cross-compiling
12628 # though! If that is the case we use the GNU form of the target and
12629 # simply add this to the front of the binary name. This is rather simple,
12630 # but it should work under most circumstances.
12632 # The default tools are to use the same as the host, but only if the
12633 # host and target CPU are the same. With GCC this is normally enough.
12637 aros_shared_ld
="$aros_host_ld"
12639 aros_target_mkdep
="$aros_host_mkdep"
12641 # The default tools executables to be linked to.
12642 if test "$rescomp" != ""; then
12643 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12644 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12646 $as_echo_n "checking for $ac_word... " >&6; }
12647 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12648 $as_echo_n "(cached) " >&6
12650 case $aros_kernel_rescomp in
12652 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12656 for as_dir
in $PATH
12659 test -z "$as_dir" && as_dir
=.
12660 for ac_exec_ext
in '' $ac_executable_extensions; do
12661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12662 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12673 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12674 if test -n "$aros_kernel_rescomp"; then
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12676 $as_echo "$aros_kernel_rescomp" >&6; }
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12679 $as_echo "no" >&6; }
12683 if test "$aros_kernel_rescomp" = ""; then
12684 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12688 # Set up the sources for the symlink farm
12689 if test "$crosstools" = "yes"; then
12690 crosstools_target
=tools-crosstools
12692 crosstools_cxx_target
=tools-crosstools
12695 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12696 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12699 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12700 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12701 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12702 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12703 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12704 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12705 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12707 # aros_cc_pre is a variable that is added to the front of the compiler name
12708 # in the generated aros-gcc shell script. We need this to enable the cache
12709 # to work across cleaned builds. Also, support DISTCC using the correct
12710 # environment variable.
12713 if test "x${DISTCC}" != "x" ; then
12714 if test "x${CCACHE}" != "x" ; then
12715 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12717 aros_cc_pre
="${DISTCC} "
12720 if test "x${CCACHE}" != "x" ; then
12721 aros_cc_pre
="${CCACHE} "
12725 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12727 aros_target_nostdinc_cflags
=-nostdinc
12729 aros_target_nostartup_ldflags
=-nostartfiles
12731 aros_target_nix_ldflags
=-nix
12733 aros_target_detach_ldflags
=-detach
12735 aros_target_nostdlib_ldflags
=-nostdlib
12739 if test "$crosstools" != "yes"; then
12740 if test "$GCC" = "yes"; then
12741 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12744 # We do not know which gcc version we are going to build and what we need to know
12745 # here is different for different versions so this will be set later during the
12746 # build of crosstools.
12747 aros_target_cc_path
=@aros_target_cc_path@
12749 aros_target_cpp
="${prefix}cpp"
12750 aros_target_cc
="${prefix}gcc"
12751 aros_target_cxx
="${prefix}g++"
12752 aros_target_as
="${prefix}as"
12753 aros_target_ld
="${prefix}ld"
12754 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12755 aros_target_objcopy
="${prefix}objcopy"
12756 aros_target_objdump
="${prefix}objdump"
12757 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12758 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12759 aros_target_strip
="${prefix}strip"
12760 aros_plain_nm
="${prefix}nm"
12761 aros_plain_ar
="${prefix}ar"
12763 # Check whether --enable-includes was given.
12764 if test "${enable_includes+set}" = set; then :
12765 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12767 aros_target_incl
="/usr/include"
12771 if test "$aros_kernel_includes" = ""; then
12772 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12773 aros_kernel_includes
="-isystem $aros_target_incl"
12777 if test "$aros_kernel_includes" != "" ; then
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12779 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12780 if test "$aros_kernel_cc_includes" = "" ; then
12781 # Try to guess where the directory is.
12782 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12783 if test -d $aros_kernel_cc_includes; then
12784 # Check if there is also an include-fixed directory and add it
12785 # to kernel compiler's include path as it may contain some of
12786 # the headers we need.
12787 if test -d "$aros_kernel_cc_includes"-fixed; then
12788 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12790 # Check for specific includes directory. Neede for Ubuntu 11.10
12791 if test -d "/usr/include/i386-linux-gnu"; then
12792 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12795 # The directory doesn't exist, we need to do some more work.
12796 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12798 # These are the headers we're looking for.
12799 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12800 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12804 for h
in $headers; do
12805 # Which other headers are needed by each of the above?
12806 deps
=$
(echo "#include <$h>" | \
12807 $aros_kernel_cc -E -M - 2>/dev
/null | \
12808 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12810 # Copy all the needed headers to a directory beneath gendir.
12813 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12814 sed -n "s,^.*/include\(/.*\),\1,p")
12815 ! test -d $dir && mkdir
-p $dir
12816 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12822 $as_echo "$aros_kernel_cc_includes" >&6; }
12823 # Adding -nostdinc to kernel includes as they are always used together.
12824 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12827 if test "$crosstools" != "yes"; then
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12829 $as_echo_n "checking for the target compiler's include path... " >&6; }
12830 if test "$aros_target_cc_includes" = "" ; then
12831 #try to guess where the directory is
12832 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12833 if ! test -d $aros_target_cc_includes; then
12834 #the directory doesn't exist, we need to do some more work
12835 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12837 #these are the headers we're looking for
12838 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12839 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12843 for h
in $headers; do
12844 #which other headers each of the above headers needs?
12845 deps
=$
(echo "#include <$h>" | \
12846 $orig_target_cc -E -M - 2>/dev
/null | \
12847 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12849 #copy all the needed headers to a directory beneath gendir
12852 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
12853 sed -n "s,^.*/include\(/.*\),\1,p")
12854 ! test -d $dir && mkdir
-p $dir
12855 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
12861 $as_echo "$aros_target_cc_includes" >&6; }
12863 # We do not know which gcc version we are going to build and what we need to know
12864 # here is different for different versions so this will be set later during the
12865 # build of crosstools.
12866 aros_target_cc_includes
=@aros_target_cc_includes@
12870 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
12871 # On GCC >= 4.0 -iquote should be used
12875 save_cflags
="$CFLAGS"
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12878 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12879 if test "x-$crosstools" != "x-yes"; then
12880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12881 /* end confdefs.h. */
12891 if ac_fn_c_try_compile
"$LINENO"; then :
12896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12898 # we do know it is supported for the smallest version of gcc we are going to build
12899 # we assume it's also supported by later versions
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12903 $as_echo "$has_iquote" >&6; }
12904 if test "x-$has_iquote" = "x-yes" ; then
12905 host_cflags_iquote
=-iquote
12906 host_cflags_iquote_end
=
12908 host_cflags_iquote
=-I
12909 host_cflags_iquote_end
=-I-
12911 kernel_cflags_iquote
=$host_cflags_iquote
12912 kernel_cflags_iquote_end
=$host_cflags_iquote_end
12913 if test "x-$cross_compiling" = "x-yes"; then
12914 CC
="$aros_kernel_cc"
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
12916 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
12917 if test "x-$crosstools" != "x-yes"; then
12918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12919 /* end confdefs.h. */
12929 if ac_fn_c_try_compile
"$LINENO"; then :
12930 use_no_stack_protector
="yes"
12932 use_no_stack_protector
="no"
12934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12936 # we do know it is supported for the smallest version of gcc we are going to build
12937 # we assume it's also supported by later versions
12938 use_no_stack_protector
=yes
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
12941 $as_echo "$use_no_stack_protector" >&6; }
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12943 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12944 if test "x-$crosstools" != "x-yes"; then
12945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12946 /* end confdefs.h. */
12956 if ac_fn_c_try_compile
"$LINENO"; then :
12961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12963 # we do know it is supported for the smallest version of gcc we are going to build
12964 # we assume it's also supported by later versions
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12968 $as_echo "$has_iquote" >&6; }
12969 if test "x-$has_iquote" = "x-yes" ; then
12970 kernel_cflags_iquote
=-iquote
12971 kernel_cflags_iquote_end
=
12973 kernel_cflags_iquote
=-I
12974 kernel_cflags_iquote_end
=-I-
12977 aros_cflags_iquote
=$kernel_cflags_iquote
12978 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
12979 if test "$orig_target_cc" != "$aros_kernel_cc"; then
12980 CC
="$orig_target_cc"
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12982 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12983 if test "x-$crosstools" != "x-yes"; then
12984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12995 if ac_fn_c_try_compile
"$LINENO"; then :
13000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13002 # we do know it is supported for the smallest version of gcc we are going to build
13003 # we assume it's also supported by later versions
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13007 $as_echo "$has_iquote" >&6; }
13008 if test "x-$has_iquote" = "x-yes" ; then
13009 aros_cflags_iquote
=-iquote
13010 aros_cflags_iquote_end
=
13012 aros_cflags_iquote
=-I
13013 aros_cflags_iquote_end
=-I-
13016 if test "x-$use_no_stack_protector" = "x-yes" ; then
13017 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13021 #-----------------------------------------------------------------------------
13023 # Check if the target compiler supports some options used for delinting:
13024 # -Wunused-but-set-variable
13027 # -Wstrict-overflow
13028 # -Wformat-security
13030 if test "x-$crosstools" != "x-yes"; then
13031 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13032 CC
="$orig_target_cc"
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13035 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13036 CFLAGS
=-Wunused-but-set-variable
13037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13038 /* end confdefs.h. */
13048 if ac_fn_c_try_compile
"$LINENO"; then :
13049 aros_unused_but_set_variable
="yes"
13051 aros_unused_but_set_variable
="no"
13053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13055 $as_echo "$aros_unused_but_set_variable" >&6; }
13056 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13057 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13061 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13062 CFLAGS
=-Warray-bounds
13063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13064 /* end confdefs.h. */
13074 if ac_fn_c_try_compile
"$LINENO"; then :
13075 aros_array_bounds
="yes"
13077 aros_array_bounds
="no"
13079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13081 $as_echo "$aros_array_bounds" >&6; }
13082 if test "x-$aros_array_bounds" = "x-yes" ; then
13083 aros_cflags_array_bounds
=-Wno-array-bounds
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13087 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13088 CFLAGS
=-Wenum-compare
13089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13100 if ac_fn_c_try_compile
"$LINENO"; then :
13101 aros_enum_compare
="yes"
13103 aros_enum_compare
="no"
13105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13107 $as_echo "$aros_enum_compare" >&6; }
13108 if test "x-$aros_enum_compare" = "x-yes" ; then
13109 aros_cflags_enum_compare
=-Wno-enum-compare
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13113 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13114 CFLAGS
=-Wstrict-overflow
13115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13116 /* end confdefs.h. */
13126 if ac_fn_c_try_compile
"$LINENO"; then :
13127 aros_strict_overflow
="yes"
13129 aros_strict_overflow
="no"
13131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13133 $as_echo "$aros_strict_overflow" >&6; }
13134 if test "x-$aros_strict_overflow" = "x-yes" ; then
13135 aros_cflags_strict_overflow
=-Wno-strict-overflow
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13139 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13140 CFLAGS
=-Wformat-security
13141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13142 /* end confdefs.h. */
13152 if ac_fn_c_try_compile
"$LINENO"; then :
13153 aros_format_security
="yes"
13155 aros_format_security
="no"
13157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13159 $as_echo "$aros_format_security" >&6; }
13160 if test "x-$aros_format_security" = "x-yes" ; then
13161 aros_cflags_format_security
=-Wno-format-security
13164 # We do not know which gcc version we are going to build and what we need to know
13165 # here is different for different versions so this will be set later during the
13166 # build of crosstools.
13167 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13168 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13169 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13170 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13171 aros_cflags_format_security
=@aros_cflags_format_security@
13174 #-----------------------------------------------------------------------------
13176 # Check if we can explicitly choose older version of symbol hashing
13178 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13179 CC
="$aros_kernel_cc"
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13181 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13183 /* end confdefs.h. */
13193 if ac_fn_c_try_link
"$LINENO"; then :
13194 use_hash_style
="yes"
13196 use_hash_style
="no"
13198 rm -f core conftest.err conftest.
$ac_objext \
13199 conftest
$ac_exeext conftest.
$ac_ext
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13201 $as_echo "$use_hash_style" >&6; }
13202 if test "x-$use_hash_style" = "x-yes" ; then
13203 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13206 CFLAGS
="$save_cflags"
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13217 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13219 # Check whether --with-resolution was given.
13220 if test "${with_resolution+set}" = set; then :
13221 withval
=$with_resolution; resolution
=$withval
13226 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13227 if test "$resolution" = "yes" ; then
13230 if test "$resolution" = "no" ; then
13233 if test "$resolution" != "none" ; then
13234 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13235 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13236 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13239 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13240 aros_cv_default_wbwidth
=$aros_default_wbwidth
13241 aros_cv_default_wbheight
=$aros_default_wbheight
13242 aros_cv_default_wbdepth
=$aros_default_wbdepth
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13245 $as_echo_n "checking if serial debug is enabled... " >&6; }
13247 # Check whether --with-serial-debug was given.
13248 if test "${with_serial_debug+set}" = set; then :
13249 withval
=$with_serial_debug; serial_debug
=$withval
13254 if test "$aros_serial_debug" = 0 ; then
13255 serial_debug_forced
=""
13256 if test "$serial_debug" = "yes" ; then
13259 if test "$serial_debug" = "no" ; then
13260 serial_debug
="none"
13263 serial_debug_forced
="(forced)"
13264 serial_debug
=$aros_serial_debug
13266 if test "$serial_debug" != "none" ; then
13267 aros_serial_debug
=$serial_debug
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13269 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13272 $as_echo "no" >&6; }
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13276 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13277 # Check whether --enable-palm_debug_hack was given.
13278 if test "${enable_palm_debug_hack+set}" = set; then :
13279 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13281 palm_debug_hack
="no"
13284 if test "$palm_debug_hack" = "yes" ; then
13285 aros_palm_debug_hack
="1"
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13288 $as_echo "$palm_debug_hack" >&6; }
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13291 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13292 # Check whether --enable-nesting_supervisor was given.
13293 if test "${enable_nesting_supervisor+set}" = set; then :
13294 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13296 nesting_supervisor
="no"
13299 if test "$nesting_supervisor" = "yes" ; then
13300 aros_nesting_supervisor
="1"
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13303 $as_echo "$nesting_supervisor" >&6; }
13305 if test "$aros_enable_mmu" = "" ; then
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13307 $as_echo_n "checking if MMU support is enabled... " >&6; }
13308 # Check whether --enable-mmu was given.
13309 if test "${enable_mmu+set}" = set; then :
13310 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13312 aros_enable_mmu
="yes"
13315 if test "$aros_enable_mmu" = "" ; then
13316 aros_enable_mmu
="yes"
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13319 $as_echo "$aros_enable_mmu" >&6; }
13321 if test "$aros_enable_mmu" = "no" ; then
13322 aros_enable_mmu
="0"
13324 aros_enable_mmu
="1"
13328 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13330 if test "x-$need_dlopen" != "x-no" ; then
13331 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13332 if test "x$ac_cv_func_dlopen" = xyes
; then :
13338 if test "x-$have_dl" = "x-no" ; then
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13340 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13341 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13342 $as_echo_n "(cached) " >&6
13344 ac_check_lib_save_LIBS
=$LIBS
13346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13347 /* end confdefs.h. */
13349 /* Override any GCC internal prototype to avoid an error.
13350 Use char because int might match the return type of a GCC
13351 builtin and then its argument prototype would still apply. */
13364 if ac_fn_c_try_link
"$LINENO"; then :
13365 ac_cv_lib_dl_dlopen
=yes
13367 ac_cv_lib_dl_dlopen
=no
13369 rm -f core conftest.err conftest.
$ac_objext \
13370 conftest
$ac_exeext conftest.
$ac_ext
13371 LIBS
=$ac_check_lib_save_LIBS
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13374 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13375 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13377 aros_host_ldflags
="$aros_host_ldflags -ldl"
13383 if test "x-$have_dl" = "x-no" ; then
13384 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13389 # Check whether --enable-x11_hidd was given.
13390 if test "${enable_x11_hidd+set}" = set; then :
13391 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13393 x11_hidd
="$need_x11"
13396 case "x-$x11_hidd" in
13397 x-yes|x-no|x-auto
) ;;
13398 *) x11_hidd
="$need_x11" ;;
13403 if test "x-$x11_hidd" != "x-no" ; then
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13406 $as_echo_n "checking for X... " >&6; }
13409 # Check whether --with-x was given.
13410 if test "${with_x+set}" = set; then :
13414 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13415 if test "x$with_x" = xno
; then
13416 # The user explicitly disabled X.
13419 case $x_includes,$x_libraries in #(
13420 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13421 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13422 $as_echo_n "(cached) " >&6
13424 # One or both of the vars are not set, and there is no cached value.
13425 ac_x_includes
=no ac_x_libraries
=no
13426 rm -f -r conftest.dir
13427 if mkdir conftest.dir
; then
13429 cat >Imakefile
<<'_ACEOF'
13431 @echo incroot='${INCROOT}'
13433 @echo usrlibdir='${USRLIBDIR}'
13435 @echo libdir='${LIBDIR}'
13437 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13438 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13439 for ac_var
in incroot usrlibdir libdir
; do
13440 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13442 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13443 for ac_extension
in a so sl dylib la dll
; do
13444 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13445 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13446 ac_im_usrlibdir
=$ac_im_libdir; break
13449 # Screen out bogus values from the imake configuration. They are
13450 # bogus both because they are the default anyway, and because
13451 # using them would break gcc on systems where it needs fixed includes.
13452 case $ac_im_incroot in
13453 /usr
/include
) ac_x_includes
= ;;
13454 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13456 case $ac_im_usrlibdir in
13457 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13458 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13462 rm -f -r conftest.dir
13465 # Standard set of common directories for X headers.
13466 # Check X11 before X11Rn because it is often a symlink to the current release.
13480 /usr/local/X11/include
13481 /usr/local/X11R7/include
13482 /usr/local/X11R6/include
13483 /usr/local/X11R5/include
13484 /usr/local/X11R4/include
13486 /usr/local/include/X11
13487 /usr/local/include/X11R7
13488 /usr/local/include/X11R6
13489 /usr/local/include/X11R5
13490 /usr/local/include/X11R4
13494 /usr/XFree86/include/X11
13498 /usr/unsupported/include
13499 /usr/athena/include
13500 /usr/local/x11r5/include
13501 /usr/lpp/Xamples/include
13503 /usr/openwin/include
13504 /usr/openwin/share/include'
13506 if test "$ac_x_includes" = no
; then
13507 # Guess where to find include files, by looking for Xlib.h.
13508 # First, try using that file with no special directory specified.
13509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13510 /* end confdefs.h. */
13511 #include <X11/Xlib.h>
13513 if ac_fn_c_try_cpp
"$LINENO"; then :
13514 # We can compile using X headers with no special include directory.
13517 for ac_dir
in $ac_x_header_dirs; do
13518 if test -r "$ac_dir/X11/Xlib.h"; then
13519 ac_x_includes
=$ac_dir
13524 rm -f conftest.err conftest.i conftest.
$ac_ext
13525 fi # $ac_x_includes = no
13527 if test "$ac_x_libraries" = no
; then
13528 # Check for the libraries.
13529 # See if we find them without any special options.
13530 # Don't add to $LIBS permanently.
13533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13534 /* end confdefs.h. */
13535 #include <X11/Xlib.h>
13544 if ac_fn_c_try_link
"$LINENO"; then :
13546 # We can link X programs with no special library path.
13550 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13552 # Don't even attempt the hair of trying to link an X program!
13553 for ac_extension
in a so sl dylib la dll
; do
13554 if test -r "$ac_dir/libX11.$ac_extension"; then
13555 ac_x_libraries
=$ac_dir
13561 rm -f core conftest.err conftest.
$ac_objext \
13562 conftest
$ac_exeext conftest.
$ac_ext
13563 fi # $ac_x_libraries = no
13565 case $ac_x_includes,$ac_x_libraries in #(
13566 no
,* |
*,no |
*\'*)
13567 # Didn't find X, or a directory has "'" in its name.
13568 ac_cv_have_x
="have_x=no";; #(
13570 # Record where we found X for the cache.
13571 ac_cv_have_x
="have_x=yes\
13572 ac_x_includes='$ac_x_includes'\
13573 ac_x_libraries='$ac_x_libraries'"
13579 eval "$ac_cv_have_x"
13582 if test "$have_x" != yes; then
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13584 $as_echo "$have_x" >&6; }
13587 # If each of the values was on the command line, it overrides each guess.
13588 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13589 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13590 # Update the cache value to reflect the command line values.
13591 ac_cv_have_x
="have_x=yes\
13592 ac_x_includes='$x_includes'\
13593 ac_x_libraries='$x_libraries'"
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13595 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13600 for path
in $x_libraries
13602 x_cflags
="$x_cflags -L$path"
13605 for path
in $x_includes
13607 x_cflags
="$x_cflags -I$path"
13610 if test "x-$no_x" = "x-yes" ; then
13612 if test "x-$x11_hidd" != "x-auto" ; then
13613 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13617 x11_hidd_target
=kernel-x11gfx-kobj
13620 # Check whether --enable-x11_shm was given.
13621 if test "${enable_x11_shm+set}" = set; then :
13622 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13624 x11_hidd_shm
="auto"
13627 case "x-$x11_hidd_shm" in
13628 x-yes|x-no|x-auto
) ;;
13629 *) x11_hidd_shm
="auto" ;;
13634 if test "x-$x11_hidd_shm" != "x-no" ; then
13636 for ac_header
in sys
/ipc.h
13638 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13639 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13640 cat >>confdefs.h
<<_ACEOF
13641 #define HAVE_SYS_IPC_H 1
13648 for ac_header
in sys
/shm.h
13650 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13651 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13652 cat >>confdefs.h
<<_ACEOF
13653 #define HAVE_SYS_SHM_H 1
13661 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13663 save_cflags
="$CFLAGS"
13664 CFLAGS
="$CFLAGS $x_cflags"
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13666 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13667 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13668 $as_echo_n "(cached) " >&6
13670 ac_check_lib_save_LIBS
=$LIBS
13671 LIBS
="-lXext $LIBS"
13672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13675 /* Override any GCC internal prototype to avoid an error.
13676 Use char because int might match the return type of a GCC
13677 builtin and then its argument prototype would still apply. */
13681 char XShmQueryExtension ();
13685 return XShmQueryExtension ();
13690 if ac_fn_c_try_link
"$LINENO"; then :
13691 ac_cv_lib_Xext_XShmQueryExtension
=yes
13693 ac_cv_lib_Xext_XShmQueryExtension
=no
13695 rm -f core conftest.err conftest.
$ac_objext \
13696 conftest
$ac_exeext conftest.
$ac_ext
13697 LIBS
=$ac_check_lib_save_LIBS
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13700 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13701 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13705 CFLAGS
="$save_cflags"
13709 if test "x-$have_xshm" = "x-yes" ; then
13710 DO_XSHM_SUPPORT
="1"
13711 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13712 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13714 DO_XSHM_SUPPORT
="0"
13718 # Check whether --enable-x11_vidmode was given.
13719 if test "${enable_x11_vidmode+set}" = set; then :
13720 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13722 x11_hidd_vidmode
="auto"
13725 case "x-$x11_hidd_vidmode" in
13726 x-yes|x-no|x-auto
) ;;
13727 *) x11_hidd_vidmode
="auto" ;;
13732 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13734 save_cflags
="$CFLAGS"
13735 CFLAGS
="$CFLAGS $x_cflags"
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13737 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13738 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13739 $as_echo_n "(cached) " >&6
13741 ac_check_lib_save_LIBS
=$LIBS
13742 LIBS
="-lXxf86vm $LIBS"
13743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13746 /* Override any GCC internal prototype to avoid an error.
13747 Use char because int might match the return type of a GCC
13748 builtin and then its argument prototype would still apply. */
13752 char XF86VidModeQueryExtension ();
13756 return XF86VidModeQueryExtension ();
13761 if ac_fn_c_try_link
"$LINENO"; then :
13762 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13764 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13766 rm -f core conftest.err conftest.
$ac_objext \
13767 conftest
$ac_exeext conftest.
$ac_ext
13768 LIBS
=$ac_check_lib_save_LIBS
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13771 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13772 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13776 CFLAGS
="$save_cflags"
13779 if test "x-$have_vidmode" = "x-yes" ; then
13780 DO_VIDMODE_SUPPORT
="1"
13781 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13782 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13784 DO_VIDMODE_SUPPORT
="0"
13788 aros_host_x11_includes
=$x_includes
13789 aros_host_x11_libdirs
=$x_libraries
13793 # Check whether --enable-sdl_hidd was given.
13794 if test "${enable_sdl_hidd+set}" = set; then :
13795 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13800 case "x-$sdl_hidd" in
13801 x-yes|x-no|x-auto
) ;;
13802 *) sdl_hidd
="auto" ;;
13805 if test "x-$sdl_hidd" != "x-no" ; then
13808 # Check whether --with-sdl-prefix was given.
13809 if test "${with_sdl_prefix+set}" = set; then :
13810 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13816 # Check whether --with-sdl-exec-prefix was given.
13817 if test "${with_sdl_exec_prefix+set}" = set; then :
13818 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13823 # Check whether --enable-sdltest was given.
13824 if test "${enable_sdltest+set}" = set; then :
13825 enableval
=$enable_sdltest;
13831 if test x
$sdl_exec_prefix != x
; then
13832 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
13833 if test x
${SDL_CONFIG+set} != xset
; then
13834 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
13837 if test x
$sdl_prefix != x
; then
13838 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
13839 if test x
${SDL_CONFIG+set} != xset
; then
13840 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
13844 as_save_PATH
="$PATH"
13845 if test "x$prefix" != xNONE
; then
13846 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
13848 # Extract the first word of "sdl-config", so it can be a program name with args.
13849 set dummy sdl-config
; ac_word
=$2
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13851 $as_echo_n "checking for $ac_word... " >&6; }
13852 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
13853 $as_echo_n "(cached) " >&6
13855 case $SDL_CONFIG in
13857 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
13860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13861 for as_dir
in $PATH
13864 test -z "$as_dir" && as_dir
=.
13865 for ac_exec_ext
in '' $ac_executable_extensions; do
13866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13867 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13875 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
13879 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
13880 if test -n "$SDL_CONFIG"; then
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
13882 $as_echo "$SDL_CONFIG" >&6; }
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13885 $as_echo "no" >&6; }
13889 PATH
="$as_save_PATH"
13890 min_sdl_version
=1.2.10
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
13892 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
13894 if test "$SDL_CONFIG" = "no" ; then
13897 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
13898 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
13900 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
13901 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13902 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
13903 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13904 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
13905 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13906 if test "x$enable_sdltest" = "xyes" ; then
13907 ac_save_CFLAGS
="$CFLAGS"
13908 ac_save_CXXFLAGS
="$CXXFLAGS"
13909 ac_save_LIBS
="$LIBS"
13910 CFLAGS
="$CFLAGS $SDL_CFLAGS"
13911 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
13912 LIBS
="$LIBS $SDL_LIBS"
13914 if test "$cross_compiling" = yes; then :
13915 echo $ac_n "cross compiling; assumed OK... $ac_c"
13917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13921 #include <stdlib.h>
13922 #include <string.h>
13926 my_strdup (char *str)
13932 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
13933 strcpy (new_str, str);
13941 int main (int argc, char *argv[])
13943 int major, minor, micro;
13946 /* This hangs on some systems (?)
13947 system ("touch conf.sdltest");
13949 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
13951 /* HP/UX 9 (%@#!) writes to sscanf strings */
13952 tmp_version = my_strdup("$min_sdl_version");
13953 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
13954 printf("%s, bad version string\n", "$min_sdl_version");
13958 if (($sdl_major_version > major) ||
13959 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
13960 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
13966 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
13967 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
13968 printf("*** best to upgrade to the required version.\n");
13969 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
13970 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
13971 printf("*** config.cache before re-running configure\n");
13978 if ac_fn_c_try_run
"$LINENO"; then :
13983 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13984 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13987 CFLAGS
="$ac_save_CFLAGS"
13988 CXXFLAGS
="$ac_save_CXXFLAGS"
13989 LIBS
="$ac_save_LIBS"
13992 if test "x$no_sdl" = x
; then
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13994 $as_echo "yes" >&6; }
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13998 $as_echo "no" >&6; }
13999 if test "$SDL_CONFIG" = "no" ; then
14000 echo "*** The sdl-config script installed by SDL could not be found"
14001 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14002 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14003 echo "*** full path to sdl-config."
14005 if test -f conf.sdltest
; then
14008 echo "*** Could not run SDL test program, checking why..."
14009 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14010 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14011 LIBS
="$LIBS $SDL_LIBS"
14012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14018 int main(int argc, char *argv[])
14021 #define main K_and_R_C_main
14031 if ac_fn_c_try_link
"$LINENO"; then :
14032 echo "*** The test program compiled, but did not run. This usually means"
14033 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14034 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14035 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14036 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14037 echo "*** is required on your system"
14039 echo "*** If you have an old version installed, it is best to remove it, although"
14040 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14042 echo "*** The test program failed to compile or link. See the file config.log for the"
14043 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14044 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14045 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14047 rm -f core conftest.err conftest.
$ac_objext \
14048 conftest
$ac_exeext conftest.
$ac_ext
14049 CFLAGS
="$ac_save_CFLAGS"
14050 CXXFLAGS
="$ac_save_CXXFLAGS"
14051 LIBS
="$ac_save_LIBS"
14063 if test "x-$have_sdl" != "x-yes" ; then
14065 if test "x-$sdl_hidd" != "x-auto" ; then
14066 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14070 sdl_hidd_target
=kernel-hidd-sdl
14071 aros_host_sdl_cflags
=SDL_CFLAGS
14072 aros_host_sdl_libs
=SDL_LIBS
14076 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14077 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14082 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14083 oss_library_target
=workbench-libs-oss-unix
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14089 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14090 # Check whether --enable-dbus was given.
14091 if test "${enable_dbus+set}" = set; then :
14092 enableval
=$enable_dbus; dbus
="yes"
14097 if test "$dbus" = "yes" ; then
14099 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14100 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14101 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14102 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14107 $as_echo "$dbus" >&6; }
14109 if test "$use_kernel_cc_wrapper" = "yes" ; then
14110 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14113 if test "${crosstools}" != "yes" ; then
14114 aros_target_toolchain
=no
14116 aros_target_toolchain
=yes
14132 # Compatability with other Amiga-like operation systems
14227 # Delinting target compiler flags
14251 # Native version related
14254 # Palm native version related
14257 # Unix/Hosted version related
14263 # Apple iOS related
14288 # Collect-aros stuff: "-ius" to ignore undefined symbols
14291 # C compiler related
14294 case "$aros_flavour" in
14295 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14296 aros_flavour
="emulation" ;;
14297 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14298 aros_flavour
="emulation" ;;
14299 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14300 aros_flavour
="standalone";;
14301 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14302 aros_flavour
="standalone";;
14303 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14304 aros_flavour
="native" ;;
14305 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14306 aros_flavour
="native" ;;
14307 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14308 aros_flavour
="linklib" ;;
14309 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14310 aros_flavour
="palmnative" ;;
14311 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14312 aros_flavour
="mac68knative" ;;
14313 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14314 aros_flavour
="ppcnative" ;;
14317 if test ! -d ${aros_inc_dir} ; then
14318 ${MKDIR} ${aros_inc_dir}
14320 if test ! -d ${aros_geninc_dir} ; then
14321 ${MKDIR} ${aros_geninc_dir}
14323 if test ! -d ${aros_hostcfg_dir} ; then
14324 ${MKDIR} ${aros_hostcfg_dir}
14326 if test ! -d ${aros_targetcfg_dir} ; then
14327 ${MKDIR} ${aros_targetcfg_dir}
14329 if test ! -d ${aros_tools_dir} ; then
14330 ${MKDIR} ${aros_tools_dir}
14332 if test ! -d ${aros_scripts_dir} ; then
14333 ${MKDIR} ${aros_scripts_dir}
14336 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14339 ac_config_commands
="$ac_config_commands compiler_executable"
14341 ac_config_commands
="$ac_config_commands genmf_executable"
14344 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"
14347 cat >confcache
<<\_ACEOF
14348 # This file is a shell script that caches the results of configure
14349 # tests run on this system so they can be shared between configure
14350 # scripts and configure runs, see configure's option --config-cache.
14351 # It is not useful on other systems. If it contains results you don't
14352 # want to keep, you may remove or edit it.
14354 # config.status only pays attention to the cache file if you give it
14355 # the --recheck option to rerun configure.
14357 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14358 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14359 # following values.
14363 # The following way of writing the cache mishandles newlines in values,
14364 # but we know of no workaround that is simple, portable, and efficient.
14365 # So, we kill variables containing newlines.
14366 # Ultrix sh set writes to stderr and can't be redirected directly,
14367 # and sets the high bit in the cache file unless we assign to the vars.
14369 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14370 eval ac_val
=\$
$ac_var
14374 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14375 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14378 _ | IFS | as_nl
) ;; #(
14379 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14380 *) { eval $ac_var=; unset $ac_var;} ;;
14386 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14387 *${as_nl}ac_space
=\
*)
14388 # `set' does not quote correctly, so add quotes: double-quote
14389 # substitution turns \\\\ into \\, and sed turns \\ into \.
14392 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14395 # `set' quotes correctly as required by POSIX, so do not add quotes.
14396 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14405 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14407 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14409 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14410 if test -w "$cache_file"; then
14411 if test "x$cache_file" != "x/dev/null"; then
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14413 $as_echo "$as_me: updating cache $cache_file" >&6;}
14414 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14415 cat confcache
>"$cache_file"
14417 case $cache_file in #(
14419 mv -f confcache
"$cache_file"$$
&&
14420 mv -f "$cache_file"$$
"$cache_file" ;; #(
14422 mv -f confcache
"$cache_file" ;;
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14428 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14433 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14434 # Let make expand exec_prefix.
14435 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14437 DEFS
=-DHAVE_CONFIG_H
14442 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14443 # 1. Remove the extension, and $U if already installed.
14444 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14445 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14446 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14447 # will be set to the directory where LIBOBJS objects are built.
14448 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14449 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14451 LIBOBJS
=$ac_libobjs
14453 LTLIBOBJS
=$ac_ltlibobjs
14457 : "${CONFIG_STATUS=./config.status}"
14459 ac_clean_files_save
=$ac_clean_files
14460 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14462 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14464 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14466 # Generated by $as_me.
14467 # Run this file to recreate the current configuration.
14468 # Compiler output produced by configure, useful for debugging
14469 # configure, is in config.log if it exists.
14472 ac_cs_recheck=false
14475 SHELL=\${CONFIG_SHELL-$SHELL}
14478 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14479 ## -------------------- ##
14480 ## M4sh Initialization. ##
14481 ## -------------------- ##
14483 # Be more Bourne compatible
14484 DUALCASE
=1; export DUALCASE
# for MKS sh
14485 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14488 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14489 # is contrary to our usage. Disable this feature.
14490 alias -g '${1+"$@"}'='"$@"'
14491 setopt NO_GLOB_SUBST
14493 case `(set -o) 2>/dev/null` in #(
14505 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14506 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14507 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14508 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14509 # Prefer a ksh shell builtin over an external printf program on Solaris,
14510 # but without wasting forks for bash or zsh.
14511 if test -z "$BASH_VERSION$ZSH_VERSION" \
14512 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14513 as_echo='print
-r --'
14514 as_echo_n='print
-rn --'
14515 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14516 as_echo='printf %s
\n'
14517 as_echo_n='printf %s
'
14519 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14520 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14521 as_echo_n='/usr
/ucb
/echo -n'
14523 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14524 as_echo_n_body='eval
14528 expr "X$arg" : "X\\(.*\\)$as_nl";
14529 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14531 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14533 export as_echo_n_body
14534 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14536 export as_echo_body
14537 as_echo='sh
-c $as_echo_body as_echo
'
14540 # The user is always right.
14541 if test "${PATH_SEPARATOR+set}" != set; then
14543 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14544 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14551 # We need space, tab and new line, in precisely that order. Quoting is
14552 # there to prevent editors from complaining about space-tab.
14553 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14554 # splitting by setting IFS to empty value.)
14557 # Find who we are. Look in the path if we contain no directory separator.
14560 *[\\/]* ) as_myself=$0 ;;
14561 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14562 for as_dir in $PATH
14565 test -z "$as_dir" && as_dir=.
14566 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14572 # We did not find ourselves, most probably we were run as `sh COMMAND'
14573 # in which case we are not to be found in the path.
14574 if test "x$as_myself" = x
; then
14577 if test ! -f "$as_myself"; then
14578 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14582 # Unset variables that we do not need and which cause bugs (e.g. in
14583 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14584 # suppresses any "Segmentation fault" message there. '((' could
14585 # trigger a bug in pdksh 5.2.14.
14586 for as_var
in BASH_ENV ENV MAIL MAILPATH
14587 do eval test x\
${$as_var+set} = xset \
14588 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14601 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14604 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14605 # ----------------------------------------
14606 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14607 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14608 # script with STATUS, using 1 if that was 0.
14611 as_status
=$1; test $as_status -eq 0 && as_status
=1
14613 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14614 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14616 $as_echo "$as_me: error: $2" >&2
14617 as_fn_exit
$as_status
14621 # as_fn_set_status STATUS
14622 # -----------------------
14623 # Set $? to STATUS, without forking.
14624 as_fn_set_status
()
14627 } # as_fn_set_status
14629 # as_fn_exit STATUS
14630 # -----------------
14631 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14635 as_fn_set_status
$1
14641 # Portably unset VAR.
14644 { eval $1=; unset $1;}
14646 as_unset
=as_fn_unset
14647 # as_fn_append VAR VALUE
14648 # ----------------------
14649 # Append the text in VALUE to the end of the definition contained in VAR. Take
14650 # advantage of any shell optimizations that allow amortized linear growth over
14651 # repeated appends, instead of the typical quadratic growth present in naive
14653 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14654 eval 'as_fn_append ()
14665 # as_fn_arith ARG...
14666 # ------------------
14667 # Perform arithmetic evaluation on the ARGs, and store the result in the
14668 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14669 # must be portable across $(()) and expr.
14670 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14671 eval 'as_fn_arith ()
14678 as_val
=`expr "$@" || test $? -eq 1`
14683 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14684 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14690 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14691 as_basename
=basename
14696 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14702 as_me
=`$as_basename -- "$0" ||
14703 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14704 X"$0" : 'X\(//\)$' \| \
14705 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14707 sed '/^.*\/\([^/][^/]*\)\/*$/{
14721 # Avoid depending upon Character Ranges.
14722 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14723 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14724 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14725 as_cr_digits
='0123456789'
14726 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14728 ECHO_C
= ECHO_N
= ECHO_T
=
14729 case `echo -n x` in #(((((
14731 case `echo 'xy\c'` in
14732 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14734 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14741 rm -f conf$$ conf$$.exe conf$$.
file
14742 if test -d conf$$.dir
; then
14743 rm -f conf$$.dir
/conf$$.
file
14746 mkdir conf$$.dir
2>/dev
/null
14748 if (echo >conf$$.
file) 2>/dev
/null
; then
14749 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14751 # ... but there are two gotchas:
14752 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14753 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14754 # In both cases, we have to default to `cp -p'.
14755 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14757 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14765 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14766 rmdir conf$$.dir
2>/dev
/null
14771 # Create "$as_dir" as a directory, including parents if necessary.
14776 -*) as_dir
=.
/$as_dir;;
14778 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14782 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14783 *) as_qdir
=$as_dir;;
14785 as_dirs
="'$as_qdir' $as_dirs"
14786 as_dir
=`$as_dirname -- "$as_dir" ||
14787 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14788 X"$as_dir" : 'X\(//\)[^/]' \| \
14789 X"$as_dir" : 'X\(//\)$' \| \
14790 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14791 $as_echo X"$as_dir" |
14792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14796 /^X\(\/\/\)[^/].*/{
14809 test -d "$as_dir" && break
14811 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14812 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14816 if mkdir
-p .
2>/dev
/null
; then
14817 as_mkdir_p
='mkdir -p "$as_dir"'
14819 test -d .
/-p && rmdir .
/-p
14823 if test -x / >/dev
/null
2>&1; then
14824 as_test_x
='test -x'
14826 if ls -dL / >/dev
/null
2>&1; then
14833 if test -d "$1"; then
14839 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14840 ???[sx]*):;;*)false;;esac;fi
14844 as_executable_p
=$as_test_x
14846 # Sed expression to map a string onto a valid CPP name.
14847 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14849 # Sed expression to map a string onto a valid variable name.
14850 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14854 ## ----------------------------------- ##
14855 ## Main body of $CONFIG_STATUS script. ##
14856 ## ----------------------------------- ##
14858 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14861 # Save the log message, to keep $0 and so on meaningful, and to
14862 # report actual input values of CONFIG_FILES etc. instead of their
14863 # values after options handling.
14865 This file was extended by $as_me, which was
14866 generated by GNU Autoconf 2.68. Invocation command line was
14868 CONFIG_FILES = $CONFIG_FILES
14869 CONFIG_HEADERS = $CONFIG_HEADERS
14870 CONFIG_LINKS = $CONFIG_LINKS
14871 CONFIG_COMMANDS = $CONFIG_COMMANDS
14874 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14879 case $ac_config_files in *"
14880 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14883 case $ac_config_headers in *"
14884 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14889 # Files that config.status was made for.
14890 config_files="$ac_config_files"
14891 config_headers="$ac_config_headers"
14892 config_commands="$ac_config_commands"
14896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14898 \`$as_me' instantiates files and other configuration actions
14899 from templates according to the current configuration. Unless the files
14900 and actions are specified as TAGs, all are instantiated by default.
14902 Usage: $0 [OPTION]... [TAG]...
14904 -h, --help print this help, then exit
14905 -V, --version print version number and configuration settings, then exit
14906 --config print configuration, then exit
14907 -q, --quiet, --silent
14908 do not print progress messages
14909 -d, --debug don't remove temporary files
14910 --recheck update $as_me by reconfiguring in the same conditions
14911 --file=FILE[:TEMPLATE]
14912 instantiate the configuration file FILE
14913 --header=FILE[:TEMPLATE]
14914 instantiate the configuration header FILE
14916 Configuration files:
14919 Configuration headers:
14922 Configuration commands:
14925 Report bugs to the package provider."
14928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14929 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14932 configured by $0, generated by GNU Autoconf 2.68,
14933 with options \\"\$ac_cs_config\\"
14935 Copyright (C) 2010 Free Software Foundation, Inc.
14936 This config.status script is free software; the Free Software Foundation
14937 gives unlimited permission to copy, distribute and modify it."
14941 test -n "\$AWK" || AWK=awk
14944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14945 # The default lists apply if the user does not specify any file.
14951 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14952 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14956 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14968 # Handling of the options.
14969 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14971 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14972 $as_echo "$ac_cs_version"; exit ;;
14973 --config |
--confi |
--conf |
--con |
--co |
--c )
14974 $as_echo "$ac_cs_config"; exit ;;
14975 --debug |
--debu |
--deb |
--de |
--d |
-d )
14977 --file |
--fil |
--fi |
--f )
14980 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14981 '') as_fn_error $?
"missing file argument" ;;
14983 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14984 ac_need_defaults
=false
;;
14985 --header |
--heade |
--head |
--hea )
14988 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14990 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14991 ac_need_defaults
=false
;;
14993 # Conflict between --help and --header
14994 as_fn_error $?
"ambiguous option: \`$1'
14995 Try \`$0 --help' for more information.";;
14996 --help |
--hel |
-h )
14997 $as_echo "$ac_cs_usage"; exit ;;
14998 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14999 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15002 # This is an error.
15003 -*) as_fn_error $?
"unrecognized option: \`$1'
15004 Try \`$0 --help' for more information." ;;
15006 *) as_fn_append ac_config_targets
" $1"
15007 ac_need_defaults
=false
;;
15013 ac_configure_extra_args
=
15015 if $ac_cs_silent; then
15017 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15022 if \$ac_cs_recheck; then
15023 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15025 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15026 CONFIG_SHELL='$SHELL'
15027 export CONFIG_SHELL
15032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15036 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15037 ## Running $as_me. ##
15043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15048 aros_host_exe_suffix=${aros_host_exe_suffix}
15049 aros_tools_dir=${aros_tools_dir}
15050 aros_target_cpu=${aros_target_cpu}
15051 aros_target_arch=${aros_target_arch}
15052 aros_target_suffix=${aros_target_suffix}
15053 orig_target_nm=${orig_target_nm}
15054 orig_target_as=${orig_target_as}
15055 orig_target_ar=${orig_target_ar}
15056 orig_target_ranlib=${orig_target_ranlib}
15057 orig_target_objdump=${orig_target_objdump}
15058 orig_target_objcopy=${orig_target_objcopy}
15059 orig_target_strip=${orig_target_strip}
15060 aros_kernel_ld=${aros_kernel_ld}
15063 aros_tools_dir=${aros_tools_dir}
15068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15070 # Handling of arguments.
15071 for ac_config_target
in $ac_config_targets
15073 case $ac_config_target in
15074 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15075 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15076 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15077 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15078 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15079 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15080 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15081 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15082 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15083 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15084 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15085 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15086 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15087 "${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" ;;
15088 "${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" ;;
15089 "${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" ;;
15090 "${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" ;;
15091 "${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" ;;
15092 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15093 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15094 "${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" ;;
15096 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15101 # If the user did not use the arguments to specify the items to instantiate,
15102 # then the envvar interface is used. Set only those that are not.
15103 # We use the long form for the default assignment because of an extremely
15104 # bizarre bug on SunOS 4.1.3.
15105 if $ac_need_defaults; then
15106 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15107 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15108 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15111 # Have a temporary directory for convenience. Make it in the build tree
15112 # simply because there is no reason against having it here, and in addition,
15113 # creating and moving files from /tmp can sometimes cause problems.
15114 # Hook for its removal unless debugging.
15115 # Note that there is a small window in which the directory will not be cleaned:
15116 # after its creation but before its name has been assigned to `$tmp'.
15120 trap 'exit_status=$?
15121 : "${ac_tmp:=$tmp}"
15122 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15124 trap 'as_fn_exit 1' 1 2 13 15
15126 # Create a (secure) tmp directory for tmp files.
15129 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15133 tmp
=.
/conf$$
-$RANDOM
15134 (umask 077 && mkdir
"$tmp")
15135 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15138 # Set up the scripts for CONFIG_FILES section.
15139 # No need to generate them if there are no CONFIG_FILES.
15140 # This happens for instance with `./config.status config.h'.
15141 if test -n "$CONFIG_FILES"; then
15144 ac_cr
=`echo X | tr X '\015'`
15145 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15146 # But we know of no other shell where ac_cr would be empty at this
15147 # point, so we can use a bashism as a fallback.
15148 if test "x$ac_cr" = x
; then
15149 eval ac_cr
=\$
\'\\r
\'
15151 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15152 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15155 ac_cs_awk_cr
=$ac_cr
15158 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15163 echo "cat >conf$$subs.awk <<_ACEOF" &&
15164 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15166 } >conf$$subs.sh ||
15167 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15168 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15170 for ac_last_try in false false false false false :; do
15171 . ./conf$$subs.sh ||
15172 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15174 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15175 if test $ac_delim_n = $ac_delim_num; then
15177 elif $ac_last_try; then
15178 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15180 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15183 rm -f conf$$subs.sh
15185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15186 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15190 s/^/S["/; s
/!.
*/"]=/
15200 s/\(.\{148\}\)..*/\1/
15202 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15207 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15214 s/\(.\{148\}\)..*/\1/
15216 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15220 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15225 ' <conf$$subs.awk | sed '
15230 ' >>$CONFIG_STATUS || ac_write_fail=1
15231 rm -f conf$$subs.awk
15232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15234 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15235 for (key in S) S_is_set[key] = 1
15241 nfields = split(line, field, "@
")
15243 len = length(field[1])
15244 for (i = 2; i < nfields; i++) {
15246 keylen = length(key)
15247 if (S_is_set[key]) {
15249 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15250 len += length(value) + length(field[++i])
15261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15262 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15263 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15266 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15267 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15270 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15271 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15272 # trailing colons and then remove the whole line if VPATH becomes empty
15273 # (actually we leave an empty line to preserve line numbers).
15274 if test "x
$srcdir" = x.; then
15275 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15294 fi # test -n "$CONFIG_FILES"
15296 # Set up the scripts for CONFIG_HEADERS section.
15297 # No need to generate them if there are no CONFIG_HEADERS.
15298 # This happens for instance with `./config.status Makefile'.
15299 if test -n "$CONFIG_HEADERS"; then
15300 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15304 # Transform confdefs.h into an awk script `defines.awk', embedded as
15305 # here-document in config.status, that substitutes the proper values into
15306 # config.h.in to produce config.h.
15308 # Create a delimiter string that does not exist in confdefs.h, to ease
15309 # handling of long lines.
15311 for ac_last_try in false false :; do
15312 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15313 if test -z "$ac_tt"; then
15315 elif $ac_last_try; then
15316 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15318 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15322 # For the awk script, D is an array of macro values keyed by name,
15323 # likewise P contains macro parameters if any. Preserve backslash
15324 # newline sequences.
15326 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15328 s/.\{148\}/&'"$ac_delim"'/g
15331 s/^[ ]*#[ ]*define[ ][ ]*/ /
15338 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15340 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15344 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15345 D["\
1"]=" \
3\\\\\\n
"\\/p
15347 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15352 s/.\{148\}/&'"$ac_delim"'/g
15357 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15360 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15362 ' <confdefs.h | sed '
15363 s/'"$ac_delim"'/"\\\
15364 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15367 for (key in D) D_is_set[key] = 1
15370 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15372 split(line, arg, " ")
15373 if (arg[1] == "#") {
15377 defundef
= substr
(arg
[1], 2)
15380 split(mac1
, mac2
, "(") #)
15382 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15383 if (D_is_set
[macro
]) {
15384 # Preserve the white space surrounding the "#".
15385 print prefix
"define", macro P
[macro
] D
[macro
]
15388 # Replace #undef with comments. This is necessary, for example,
15389 # in the case of _POSIX_SOURCE, which is predefined and required
15390 # on some systems where configure will not decide to define it.
15391 if (defundef
== "undef") {
15392 print
"/*", prefix defundef
, macro
, "*/"
15400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15401 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15402 fi # test -n "$CONFIG_HEADERS"
15405 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15410 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15412 case $ac_mode$ac_tag in
15414 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15415 :[FH
]-) ac_tag
=-:-;;
15416 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15433 -) ac_f
="$ac_tmp/stdin";;
15434 *) # Look for the file first in the build tree, then in the source tree
15435 # (if the path is not absolute). The absolute path cannot be DOS-style,
15436 # because $ac_f cannot contain `:'.
15440 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15442 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15444 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15445 as_fn_append ac_file_inputs
" '$ac_f'"
15448 # Let's still pretend it is `configure' which instantiates (i.e., don't
15449 # use $as_me), people would be surprised to read:
15450 # /* config.h. Generated by config.status. */
15451 configure_input
='Generated from '`
15452 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15454 if test x
"$ac_file" != x-
; then
15455 configure_input
="$ac_file. $configure_input"
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15457 $as_echo "$as_me: creating $ac_file" >&6;}
15459 # Neutralize special characters interpreted by sed in replacement strings.
15460 case $configure_input in #(
15461 *\
&* |
*\|
* |
*\\* )
15462 ac_sed_conf_input
=`$as_echo "$configure_input" |
15463 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15464 *) ac_sed_conf_input
=$configure_input;;
15468 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15469 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15474 ac_dir
=`$as_dirname -- "$ac_file" ||
15475 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15476 X"$ac_file" : 'X\(//\)[^/]' \| \
15477 X"$ac_file" : 'X\(//\)$' \| \
15478 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15479 $as_echo X"$ac_file" |
15480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15484 /^X\(\/\/\)[^/].*/{
15497 as_dir
="$ac_dir"; as_fn_mkdir_p
15501 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15503 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15504 # A ".." for each directory in $ac_dir_suffix.
15505 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15506 case $ac_top_builddir_sub in
15507 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15508 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15511 ac_abs_top_builddir
=$ac_pwd
15512 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15513 # for backward compatibility:
15514 ac_top_builddir
=$ac_top_build_prefix
15517 .
) # We are building in place.
15519 ac_top_srcdir
=$ac_top_builddir_sub
15520 ac_abs_top_srcdir
=$ac_pwd ;;
15521 [\\/]* | ?
:[\\/]* ) # Absolute name.
15522 ac_srcdir
=$srcdir$ac_dir_suffix;
15523 ac_top_srcdir
=$srcdir
15524 ac_abs_top_srcdir
=$srcdir ;;
15525 *) # Relative name.
15526 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15527 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15528 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15530 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15542 # If the template does not know about datarootdir, expand it.
15543 # FIXME: This hack should be removed a few years after 2.60.
15544 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15555 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15556 *datarootdir
*) ac_datarootdir_seen
=yes;;
15557 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15559 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15562 ac_datarootdir_hack='
15563 s&@datadir@&$datadir&g
15564 s&@docdir@&$docdir&g
15565 s&@infodir@&$infodir&g
15566 s&@localedir@&$localedir&g
15567 s&@mandir@&$mandir&g
15568 s&\\\${datarootdir}&$datarootdir&g' ;;
15572 # Neutralize VPATH when `$srcdir' = `.'.
15573 # Shell code in configure.ac might set extrasub.
15574 # FIXME: do we really want to maintain this feature?
15575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15576 ac_sed_extra="$ac_vpsub
15579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15581 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15582 s|@configure_input@|
$ac_sed_conf_input|
;t t
15583 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15584 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15585 s
&@srcdir@
&$ac_srcdir&;t t
15586 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15587 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15588 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15589 s
&@builddir@
&$ac_builddir&;t t
15590 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15591 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15592 $ac_datarootdir_hack
15594 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15595 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15597 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15598 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15599 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15600 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15602 which seems to be undefined. Please make sure it is defined" >&5
15603 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15604 which seems to be undefined. Please make sure it is defined" >&2;}
15606 rm -f "$ac_tmp/stdin"
15608 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15609 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15611 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15617 if test x"$ac_file" != x-; then
15619 $as_echo "/* $configure_input */" \
15620 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15621 } >"$ac_tmp/config.h" \
15622 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15623 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15625 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15628 mv "$ac_tmp/config.h" "$ac_file" \
15629 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15632 $as_echo "/* $configure_input */" \
15633 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15634 || as_fn_error $? "could not create -" "$LINENO" 5
15638 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15639 $as_echo "$as_me: executing $ac_file commands" >&6;}
15644 case $ac_file$ac_mode in
15645 "compiler_executable":C)
15646 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15648 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15649 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15653 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15655 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15656 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15657 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15658 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15659 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15660 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15661 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15663 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15665 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15673 ac_clean_files=$ac_clean_files_save
15675 test $ac_write_fail = 0 ||
15676 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15679 # configure is writing to config.log, and then calls config.status.
15680 # config.status does its own redirection, appending to config.log.
15681 # Unfortunately, on DOS this fails, as config.log is still kept open
15682 # by configure, so config.status won't be able to
write to it
; its
15683 # output is simply discarded. So we exec the FD to /dev/null,
15684 # effectively closing config.log, so it can be properly (re)opened and
15685 # appended to by config.status. When coming back to configure, we
15686 # need to make the FD available again.
15687 if test "$no_create" != yes; then
15689 ac_config_status_args
=
15690 test "$silent" = yes &&
15691 ac_config_status_args
="$ac_config_status_args --quiet"
15693 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15695 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15696 # would make configure fail if this is the last instruction.
15697 $ac_cs_success || as_fn_exit
1
15699 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15701 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15706 #XXX compatability...
15707 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15709 if test -n "$aros_shared_cflags" ; then
15710 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15711 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg