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
606 ignore_undefined_symbols
618 gcc_default_float_abi
626 aros_nesting_supervisor
631 aros_host_x11_libdirs
632 aros_host_x11_includes
636 aros_default_wbheight
642 aros_cflags_format_security
643 aros_cflags_strict_overflow
644 aros_cflags_enum_compare
645 aros_cflags_array_bounds
646 aros_cflags_unused_but_set_variable
647 crosstools_cxx_target
649 aros_target_strip_flags
656 aros_kernel_objcflags
675 aros_target_cc_includes
690 aros_target_bootloader
710 aros_amigaos_compliance
716 aros_target_toolchain
725 aros_cflags_iquote_end
727 kernel_cflags_iquote_end
729 host_cflags_iquote_end
731 aros_target_nostdlib_ldflags
732 aros_target_detach_ldflags
733 aros_target_nix_ldflags
734 aros_target_nostartup_ldflags
735 aros_target_nostdinc_cflags
852 program_transform_name
865 enable_option_checking
870 with_kernel_gcc_version
874 enable_target_variant
880 enable_amigaos_compliance
881 with_kernel_toolchain_prefix
882 with_elf_toolchain_prefix
885 with_aros_toolchain_install
897 enable_palm_debug_hack
899 enable_nesting_supervisor
911 ac_precious_vars
='build_alias
927 # Initialize some variables set by options.
929 ac_init_version
=false
930 ac_unrecognized_opts
=
932 # The variables have the same names as the options, with
933 # dashes changed to underlines.
941 program_transform_name
=s
,x
,x
,
949 # Installation directory options.
950 # These are left unexpanded so users can "make install exec_prefix=/foo"
951 # and all the variables that are supposed to be based on exec_prefix
952 # by default will actually change.
953 # Use braces instead of parens because sh, perl, etc. also accept them.
954 # (The list follows the same order as the GNU Coding Standards.)
955 bindir
='${exec_prefix}/bin'
956 sbindir
='${exec_prefix}/sbin'
957 libexecdir
='${exec_prefix}/libexec'
958 datarootdir
='${prefix}/share'
959 datadir
='${datarootdir}'
960 sysconfdir
='${prefix}/etc'
961 sharedstatedir
='${prefix}/com'
962 localstatedir
='${prefix}/var'
963 includedir
='${prefix}/include'
964 oldincludedir
='/usr/include'
965 docdir
='${datarootdir}/doc/${PACKAGE}'
966 infodir
='${datarootdir}/info'
971 libdir
='${exec_prefix}/lib'
972 localedir
='${datarootdir}/locale'
973 mandir
='${datarootdir}/man'
979 # If the previous option needs an argument, assign it.
980 if test -n "$ac_prev"; then
981 eval $ac_prev=\
$ac_option
987 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
992 # Accept the important Cygnus configure options, so we can diagnose typos.
994 case $ac_dashdash$ac_option in
998 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1000 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1001 bindir
=$ac_optarg ;;
1003 -build |
--build |
--buil |
--bui |
--bu)
1004 ac_prev
=build_alias
;;
1005 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1006 build_alias
=$ac_optarg ;;
1008 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1009 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1010 ac_prev
=cache_file
;;
1011 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1012 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1013 cache_file
=$ac_optarg ;;
1015 --config-cache |
-C)
1016 cache_file
=config.cache
;;
1018 -datadir |
--datadir |
--datadi |
--datad)
1020 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1021 datadir
=$ac_optarg ;;
1023 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1024 |
--dataroo |
--dataro |
--datar)
1025 ac_prev
=datarootdir
;;
1026 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1027 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1028 datarootdir
=$ac_optarg ;;
1030 -disable-* |
--disable-*)
1031 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1034 as_fn_error $?
"invalid feature name: $ac_useropt"
1035 ac_useropt_orig
=$ac_useropt
1036 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037 case $ac_user_opts in
1039 "enable_
$ac_useropt"
1041 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1042 ac_unrecognized_sep
=', ';;
1044 eval enable_
$ac_useropt=no
;;
1046 -docdir |
--docdir |
--docdi |
--doc |
--do)
1048 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1049 docdir
=$ac_optarg ;;
1051 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1053 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1054 dvidir
=$ac_optarg ;;
1056 -enable-* |
--enable-*)
1057 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1060 as_fn_error $?
"invalid feature name: $ac_useropt"
1061 ac_useropt_orig
=$ac_useropt
1062 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063 case $ac_user_opts in
1065 "enable_
$ac_useropt"
1067 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1068 ac_unrecognized_sep
=', ';;
1070 eval enable_
$ac_useropt=\
$ac_optarg ;;
1072 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1073 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1074 |
--exec |
--exe |
--ex)
1075 ac_prev
=exec_prefix
;;
1076 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1077 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1078 |
--exec=* |
--exe=* |
--ex=*)
1079 exec_prefix
=$ac_optarg ;;
1081 -gas |
--gas |
--ga |
--g)
1082 # Obsolete; use --with-gas.
1085 -help |
--help |
--hel |
--he |
-h)
1086 ac_init_help
=long
;;
1087 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1088 ac_init_help
=recursive
;;
1089 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1090 ac_init_help
=short
;;
1092 -host |
--host |
--hos |
--ho)
1093 ac_prev
=host_alias
;;
1094 -host=* |
--host=* |
--hos=* |
--ho=*)
1095 host_alias
=$ac_optarg ;;
1097 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1099 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1101 htmldir
=$ac_optarg ;;
1103 -includedir |
--includedir |
--includedi |
--included |
--include \
1104 |
--includ |
--inclu |
--incl |
--inc)
1105 ac_prev
=includedir
;;
1106 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1107 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1108 includedir
=$ac_optarg ;;
1110 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1112 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1113 infodir
=$ac_optarg ;;
1115 -libdir |
--libdir |
--libdi |
--libd)
1117 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1118 libdir
=$ac_optarg ;;
1120 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1121 |
--libexe |
--libex |
--libe)
1122 ac_prev
=libexecdir
;;
1123 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1124 |
--libexe=* |
--libex=* |
--libe=*)
1125 libexecdir
=$ac_optarg ;;
1127 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1128 ac_prev
=localedir
;;
1129 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1130 localedir
=$ac_optarg ;;
1132 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1133 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1134 ac_prev
=localstatedir
;;
1135 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1136 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1137 localstatedir
=$ac_optarg ;;
1139 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1141 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1142 mandir
=$ac_optarg ;;
1144 -nfp |
--nfp |
--nf)
1145 # Obsolete; use --without-fp.
1148 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1149 |
--no-cr |
--no-c |
-n)
1152 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1153 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1156 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1157 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1158 |
--oldin |
--oldi |
--old |
--ol |
--o)
1159 ac_prev
=oldincludedir
;;
1160 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1161 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1162 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1163 oldincludedir
=$ac_optarg ;;
1165 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1167 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1168 prefix
=$ac_optarg ;;
1170 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1171 |
--program-pre |
--program-pr |
--program-p)
1172 ac_prev
=program_prefix
;;
1173 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1174 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1175 program_prefix
=$ac_optarg ;;
1177 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1178 |
--program-suf |
--program-su |
--program-s)
1179 ac_prev
=program_suffix
;;
1180 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1181 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1182 program_suffix
=$ac_optarg ;;
1184 -program-transform-name |
--program-transform-name \
1185 |
--program-transform-nam |
--program-transform-na \
1186 |
--program-transform-n |
--program-transform- \
1187 |
--program-transform |
--program-transfor \
1188 |
--program-transfo |
--program-transf \
1189 |
--program-trans |
--program-tran \
1190 |
--progr-tra |
--program-tr |
--program-t)
1191 ac_prev
=program_transform_name
;;
1192 -program-transform-name=* |
--program-transform-name=* \
1193 |
--program-transform-nam=* |
--program-transform-na=* \
1194 |
--program-transform-n=* |
--program-transform-=* \
1195 |
--program-transform=* |
--program-transfor=* \
1196 |
--program-transfo=* |
--program-transf=* \
1197 |
--program-trans=* |
--program-tran=* \
1198 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1199 program_transform_name
=$ac_optarg ;;
1201 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1203 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1204 pdfdir
=$ac_optarg ;;
1206 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1208 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1211 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1212 |
-silent |
--silent |
--silen |
--sile |
--sil)
1215 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1217 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1219 sbindir
=$ac_optarg ;;
1221 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1222 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1223 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1225 ac_prev
=sharedstatedir
;;
1226 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1227 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1228 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1230 sharedstatedir
=$ac_optarg ;;
1232 -site |
--site |
--sit)
1234 -site=* |
--site=* |
--sit=*)
1237 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1239 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1240 srcdir
=$ac_optarg ;;
1242 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1243 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1244 ac_prev
=sysconfdir
;;
1245 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1246 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1247 sysconfdir
=$ac_optarg ;;
1249 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1250 ac_prev
=target_alias
;;
1251 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1252 target_alias
=$ac_optarg ;;
1254 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1257 -version |
--version |
--versio |
--versi |
--vers |
-V)
1258 ac_init_version
=: ;;
1261 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1262 # Reject names that are not valid shell variable names.
1263 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1264 as_fn_error $?
"invalid package name: $ac_useropt"
1265 ac_useropt_orig
=$ac_useropt
1266 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1267 case $ac_user_opts in
1271 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1272 ac_unrecognized_sep
=', ';;
1274 eval with_
$ac_useropt=\
$ac_optarg ;;
1276 -without-* |
--without-*)
1277 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1278 # Reject names that are not valid shell variable names.
1279 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1280 as_fn_error $?
"invalid package name: $ac_useropt"
1281 ac_useropt_orig
=$ac_useropt
1282 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1283 case $ac_user_opts in
1287 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1288 ac_unrecognized_sep
=', ';;
1290 eval with_
$ac_useropt=no
;;
1293 # Obsolete; use --with-x.
1296 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1297 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1298 ac_prev
=x_includes
;;
1299 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1300 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1301 x_includes
=$ac_optarg ;;
1303 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1304 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1305 ac_prev
=x_libraries
;;
1306 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1307 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1308 x_libraries
=$ac_optarg ;;
1310 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1311 Try \`$0 --help' for more information"
1315 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1316 # Reject names that are not valid shell variable names.
1317 case $ac_envvar in #(
1318 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1319 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1321 eval $ac_envvar=\
$ac_optarg
1322 export $ac_envvar ;;
1325 # FIXME: should be removed in autoconf 3.0.
1326 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1327 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1328 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1329 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1335 if test -n "$ac_prev"; then
1336 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1337 as_fn_error $?
"missing argument to $ac_option"
1340 if test -n "$ac_unrecognized_opts"; then
1341 case $enable_option_checking in
1343 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1344 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1348 # Check all directory arguments for consistency.
1349 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1350 datadir sysconfdir sharedstatedir localstatedir includedir \
1351 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1352 libdir localedir mandir
1354 eval ac_val
=\$
$ac_var
1355 # Remove trailing slashes.
1358 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1359 eval $ac_var=\
$ac_val;;
1361 # Be sure to have absolute directory names.
1363 [\\/$
]* | ?
:[\\/]* ) continue;;
1364 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1366 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1369 # There might be people who depend on the old broken behavior: `$host'
1370 # used to hold the argument of --host etc.
1371 # FIXME: To remove some day.
1374 target
=$target_alias
1376 # FIXME: To remove some day.
1377 if test "x$host_alias" != x
; then
1378 if test "x$build_alias" = x
; then
1379 cross_compiling
=maybe
1380 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1381 If a cross compiler is detected then cross compile mode will be used" >&2
1382 elif test "x$build_alias" != "x$host_alias"; then
1388 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1390 test "$silent" = yes && exec 6>/dev
/null
1393 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1394 ac_ls_di
=`ls -di .` &&
1395 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1396 as_fn_error $?
"working directory cannot be determined"
1397 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1398 as_fn_error $?
"pwd does not report name of working directory"
1401 # Find the source files, if location was not specified.
1402 if test -z "$srcdir"; then
1403 ac_srcdir_defaulted
=yes
1404 # Try the directory containing this script, then the parent directory.
1405 ac_confdir
=`$as_dirname -- "$as_myself" ||
1406 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1407 X"$as_myself" : 'X\(//\)[^/]' \| \
1408 X"$as_myself" : 'X\(//\)$' \| \
1409 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1410 $as_echo X"$as_myself" |
1411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1429 if test ! -r "$srcdir/$ac_unique_file"; then
1433 ac_srcdir_defaulted
=no
1435 if test ! -r "$srcdir/$ac_unique_file"; then
1436 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1437 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1439 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1441 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1443 # When building in place, set srcdir=.
1444 if test "$ac_abs_confdir" = "$ac_pwd"; then
1447 # Remove unnecessary trailing slashes from srcdir.
1448 # Double slashes in file names in object file debugging info
1449 # mess up M-x gdb in Emacs.
1451 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1453 for ac_var
in $ac_precious_vars; do
1454 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1455 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1456 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1457 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1461 # Report the --help message.
1463 if test "$ac_init_help" = "long"; then
1464 # Omit some internal or obsolete options to make the list less imposing.
1465 # This message is too long to be a string in the A/UX 3.1 sh.
1467 \`configure' configures this package to adapt to many kinds of systems.
1469 Usage: $0 [OPTION]... [VAR=VALUE]...
1471 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1472 VAR=VALUE. See below for descriptions of some of the useful variables.
1474 Defaults for the options are specified in brackets.
1477 -h, --help display this help and exit
1478 --help=short display options specific to this package
1479 --help=recursive display the short help of all the included packages
1480 -V, --version display version information and exit
1481 -q, --quiet, --silent do not print \`checking ...' messages
1482 --cache-file=FILE cache test results in FILE [disabled]
1483 -C, --config-cache alias for \`--cache-file=config.cache'
1484 -n, --no-create do not create output files
1485 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1487 Installation directories:
1488 --prefix=PREFIX install architecture-independent files in PREFIX
1489 [$ac_default_prefix]
1490 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1493 By default, \`make install' will install all the files in
1494 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1495 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1496 for instance \`--prefix=\$HOME'.
1498 For better control, use the options below.
1500 Fine tuning of the installation directories:
1501 --bindir=DIR user executables [EPREFIX/bin]
1502 --sbindir=DIR system admin executables [EPREFIX/sbin]
1503 --libexecdir=DIR program executables [EPREFIX/libexec]
1504 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1505 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1506 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1507 --libdir=DIR object code libraries [EPREFIX/lib]
1508 --includedir=DIR C header files [PREFIX/include]
1509 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1510 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1511 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1512 --infodir=DIR info documentation [DATAROOTDIR/info]
1513 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1514 --mandir=DIR man documentation [DATAROOTDIR/man]
1515 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1516 --htmldir=DIR html documentation [DOCDIR]
1517 --dvidir=DIR dvi documentation [DOCDIR]
1518 --pdfdir=DIR pdf documentation [DOCDIR]
1519 --psdir=DIR ps documentation [DOCDIR]
1525 --x-includes=DIR X include files are
in DIR
1526 --x-libraries=DIR X library files are
in DIR
1529 --build=BUILD configure
for building on BUILD
[guessed
]
1530 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1534 if test -n "$ac_init_help"; then
1539 --disable-option-checking ignore unrecognized
--enable/--with options
1540 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1541 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1542 --enable-build-type=TYPE
1543 Select the build
type. Available types are
:
1544 personal
, nightly
, snapshot
, milestone
, release. Do
1545 NOT use this option unless you know what you are
1546 doing
! (default
=personal
)
1547 --enable-debug=list Enable different types of debug. Commas or
1548 whitespaces can be used to separate the items
in the
1549 list. Available types of debug are
: all
, none
,
1550 messages
, stack
, mungwall
, modules
, symbols. If no
1551 list is provided
then "all" is assumed.
1553 --enable-distcc Use distcc as a front end to the compiler
1555 --enable-ccache Use ccache as a front end to the compiler
1557 --enable-target-variant=NAME
1558 Enable a specific target variant
(default
=none
)
1559 --enable-amigaos-compliance=VERSION
1560 Enforce userspace AmigaOS compliance to a specific
1561 KickStart version
(default
=none
).
1562 --disable-crosstools Do not build cross-compiler toolchain
1563 --enable-includes=dir Alternative system include directory
1564 --enable-palm-debug-hack
1565 Enable palm debug output hack
in palm native
1567 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1568 --enable-nesting-supervisor
1569 Enable nesting supervisor support
in unix
1571 --disable-mmu Disable MMU support
(default
=enabled
)
1572 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1573 --enable-x11-shm use X11 shared memory
(default
=auto
)
1574 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1575 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1576 --disable-sdltest Do not try to compile and run a
test SDL program
1577 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1580 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1581 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1582 --with-kernel-gcc-version=VERSION
1583 Use
host gcc-VERSION
for building AROS
1584 --with-gcc-version=VERSION
1585 Use
host gcc-VERSION
for building AROS
1586 --with-optimization=FLAGS
1587 Use optimization flags FLAGS
(default
=-O2).
1588 --with-paranoia=FLAGS CC flags to
enable paranoia
1589 --with-xcode=PATH Specify XCode path
for iOS targets
1590 (default
=/Developer
).
1591 --with-sdk-version=VERSION
1592 Use iOS SDK version VERSION
(default
=4.1).
1593 --with-sdk=PATH Specify Android SDK path
1594 (default
=$default_android_sdk).
1595 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1596 --with-sdk-version=LEVEL
1597 Use Android SDK
for API LEVEL
(default
=12).
1598 --with-ndk-version=LEVEL
1599 Use Android NDK
for API LEVEL
(default
=9).
1600 --with-kernel-toolchain-prefix=...
1601 Specify crosscompile toolchain prefix
for kernel
1603 --with-elf-toolchain-prefix=...
1604 Specify crosscompile toolchain prefix to wrap
for
1606 --with-aros-toolchain=PREFIX
1607 Specify prebuilt AROS toolchain
1608 --with-aros-toolchain-install=DIR
1609 Where to
install or search
for cross tools binaries
1610 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1611 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1612 --with-float=<spec
> Specify floating point ABI
1613 (default
=$gcc_default_float_abi).
1614 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1615 --with-portssources=DIR Where to download sourcecode
for external ports
1616 --with-bootloader=NAME Use a specific bootloader
1617 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1618 --with-theme=NAME Use a specific GUI Theme
1619 --with-resolution=XRESxYRESxDEPTH
1620 Default resolution of the initial WorkbenchScreen
1621 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1622 --with-x use the X Window System
1623 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1624 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1626 Some influential environment variables
:
1627 CXX C
++ compiler
command
1628 CXXFLAGS C
++ compiler flags
1629 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1630 nonstandard directory
<lib dir
>
1631 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1632 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1633 you have headers
in a nonstandard directory
<include dir
>
1634 CC C compiler
command
1635 CFLAGS C compiler flags
1637 PYTHON the Python interpreter
1638 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1640 Use these variables to override the choices made by
`configure' or to help
1641 it to find libraries and programs with nonstandard names/locations.
1643 Report bugs to the package provider.
1648 if test "$ac_init_help" = "recursive"; then
1649 # If there are subdirs, report their specific --help.
1650 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1651 test -d "$ac_dir" ||
1652 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1657 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1659 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1660 # A ".." for each directory in $ac_dir_suffix.
1661 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1662 case $ac_top_builddir_sub in
1663 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1664 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1667 ac_abs_top_builddir=$ac_pwd
1668 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1669 # for backward compatibility:
1670 ac_top_builddir=$ac_top_build_prefix
1673 .) # We are building in place.
1675 ac_top_srcdir=$ac_top_builddir_sub
1676 ac_abs_top_srcdir=$ac_pwd ;;
1677 [\\/]* | ?:[\\/]* ) # Absolute name.
1678 ac_srcdir=$srcdir$ac_dir_suffix;
1679 ac_top_srcdir=$srcdir
1680 ac_abs_top_srcdir=$srcdir ;;
1682 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1683 ac_top_srcdir=$ac_top_build_prefix$srcdir
1684 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1686 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1688 cd "$ac_dir" || { ac_status=$?; continue; }
1689 # Check for guested configure.
1690 if test -f "$ac_srcdir/configure.gnu"; then
1692 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1693 elif test -f "$ac_srcdir/configure"; then
1695 $SHELL "$ac_srcdir/configure" --help=recursive
1697 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1699 cd "$ac_pwd" || { ac_status=$?; break; }
1703 test -n "$ac_init_help" && exit $ac_status
1704 if $ac_init_version; then
1707 generated by GNU Autoconf 2.68
1709 Copyright (C) 2010 Free Software Foundation, Inc.
1710 This configure script is free software; the Free Software Foundation
1711 gives unlimited permission to copy, distribute and modify it.
1716 ## ------------------------ ##
1717 ## Autoconf initialization. ##
1718 ## ------------------------ ##
1720 # ac_fn_cxx_try_compile LINENO
1721 # ----------------------------
1722 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1723 ac_fn_cxx_try_compile ()
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 rm -f conftest.$ac_objext
1727 if { { ac_try="$ac_compile"
1729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1730 *) ac_try_echo
=$ac_try;;
1732 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_compile") 2>conftest.err
1736 if test -s conftest.err
; then
1737 grep -v '^ *+' conftest.err
>conftest.er1
1738 cat conftest.er1
>&5
1739 mv -f conftest.er1 conftest.err
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; } && {
1743 test -z "$ac_cxx_werror_flag" ||
1744 test ! -s conftest.err
1745 } && test -s conftest.
$ac_objext; then :
1748 $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.
$ac_ext >&5
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 as_fn_set_status
$ac_retval
1756 } # ac_fn_cxx_try_compile
1758 # ac_fn_c_try_compile LINENO
1759 # --------------------------
1760 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1761 ac_fn_c_try_compile
()
1763 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1764 rm -f conftest.
$ac_objext
1765 if { { ac_try
="$ac_compile"
1767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1768 *) ac_try_echo=$ac_try;;
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_compile") 2>conftest.err
1774 if test -s conftest.err; then
1775 grep -v '^ *+' conftest.err >conftest.er1
1776 cat conftest.er1 >&5
1777 mv -f conftest.er1 conftest.err
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; } && {
1781 test -z "$ac_c_werror_flag" ||
1782 test ! -s conftest.err
1783 } && test -s conftest.$ac_objext; then :
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792 as_fn_set_status $ac_retval
1794 } # ac_fn_c_try_compile
1796 # ac_fn_c_try_cpp LINENO
1797 # ----------------------
1798 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1802 if { { ac_try="$ac_cpp conftest.$ac_ext"
1804 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1805 *) ac_try_echo
=$ac_try;;
1807 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1811 if test -s conftest.err
; then
1812 grep -v '^ *+' conftest.err
>conftest.er1
1813 cat conftest.er1
>&5
1814 mv -f conftest.er1 conftest.err
1816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 test $ac_status = 0; } > conftest.i
&& {
1818 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1819 test ! -s conftest.err
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.
$ac_ext >&5
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 as_fn_set_status
$ac_retval
1833 # ac_fn_c_try_link LINENO
1834 # -----------------------
1835 # Try to link conftest.$ac_ext, and return whether this succeeded.
1838 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1839 rm -f conftest.
$ac_objext conftest
$ac_exeext
1840 if { { ac_try
="$ac_link"
1842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1843 *) ac_try_echo=$ac_try;;
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_link") 2>conftest.err
1849 if test -s conftest.err; then
1850 grep -v '^ *+' conftest.err >conftest.er1
1851 cat conftest.er1 >&5
1852 mv -f conftest.er1 conftest.err
1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 test $ac_status = 0; } && {
1856 test -z "$ac_c_werror_flag" ||
1857 test ! -s conftest.err
1858 } && test -s conftest$ac_exeext && {
1859 test "$cross_compiling" = yes ||
1860 $as_test_x conftest$ac_exeext
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1869 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1870 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1871 # interfere with the next link command; also delete a directory that is
1872 # left behind by Apple's compiler. We do this before executing the actions.
1873 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875 as_fn_set_status $ac_retval
1877 } # ac_fn_c_try_link
1879 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1880 # -------------------------------------------------------
1881 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1882 # the include files in INCLUDES and setting the cache variable VAR
1884 ac_fn_c_check_header_mongrel ()
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 if eval \${$3+:} false; then :
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 $as_echo_n "checking for $2... " >&6; }
1890 if eval \${$3+:} false; then :
1891 $as_echo_n "(cached) " >&6
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895 $as_echo "$ac_res" >&6; }
1897 # Is the header compilable?
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1899 $as_echo_n "checking $2 usability... " >&6; }
1900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901 /* end confdefs.h. */
1905 if ac_fn_c_try_compile "$LINENO"; then :
1906 ac_header_compiler=yes
1908 ac_header_compiler=no
1910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1912 $as_echo "$ac_header_compiler" >&6; }
1914 # Is the header present?
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1916 $as_echo_n "checking $2 presence... " >&6; }
1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1921 if ac_fn_c_try_cpp "$LINENO"; then :
1922 ac_header_preproc=yes
1924 ac_header_preproc=no
1926 rm -f conftest.err conftest.i conftest.$ac_ext
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1928 $as_echo "$ac_header_preproc" >&6; }
1930 # So? What about this header?
1931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1934 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1936 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1940 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1942 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1944 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1946 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1948 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if eval \${$3+:} false; then :
1954 $as_echo_n "(cached) " >&6
1956 eval "$3=\$ac_header_compiler"
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960 $as_echo "$ac_res" >&6; }
1962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1964 } # ac_fn_c_check_header_mongrel
1966 # ac_fn_c_try_run LINENO
1967 # ----------------------
1968 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1969 # that executables *can* be run.
1972 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1973 if { { ac_try="$ac_link"
1975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1976 *) ac_try_echo
=$ac_try;;
1978 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1979 $as_echo "$ac_try_echo"; } >&5
1980 (eval "$ac_link") 2>&5
1982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1983 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1984 { { case "(($ac_try" in
1985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1986 *) ac_try_echo=$ac_try;;
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_try") 2>&5
1992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1993 test $ac_status = 0; }; }; then :
1996 $as_echo "$as_me: program exited with status $ac_status" >&5
1997 $as_echo "$as_me: failed program was:" >&5
1998 sed 's/^/| /' conftest.$ac_ext >&5
2000 ac_retval=$ac_status
2002 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004 as_fn_set_status $ac_retval
2008 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2009 # -------------------------------------------------------
2010 # Tests whether HEADER exists and can be compiled using the include files in
2011 # INCLUDES, setting the cache variable VAR accordingly.
2012 ac_fn_c_check_header_compile ()
2014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2016 $as_echo_n "checking for $2... " >&6; }
2017 if eval \${$3+:} false; then :
2018 $as_echo_n "(cached) " >&6
2020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h. */
2025 if ac_fn_c_try_compile "$LINENO"; then :
2030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2034 $as_echo "$ac_res" >&6; }
2035 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2037 } # ac_fn_c_check_header_compile
2039 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2040 # ----------------------------------------------------
2041 # Tries to find if the field MEMBER exists in type AGGR, after including
2042 # INCLUDES, setting cache variable VAR accordingly.
2043 ac_fn_c_check_member ()
2045 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2047 $as_echo_n "checking for $2.$3... " >&6; }
2048 if eval \${$4+:} false; then :
2049 $as_echo_n "(cached) " >&6
2051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2052 /* end confdefs.h. */
2064 if ac_fn_c_try_compile "$LINENO"; then :
2067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2068 /* end confdefs.h. */
2074 if (sizeof ac_aggr.$3)
2080 if ac_fn_c_try_compile "$LINENO"; then :
2085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2091 $as_echo "$ac_res" >&6; }
2092 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2094 } # ac_fn_c_check_member
2096 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2097 # ---------------------------------------------
2098 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2100 ac_fn_c_check_decl ()
2102 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2103 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2104 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2106 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2107 if eval \${$3+:} false; then :
2108 $as_echo_n "(cached) " >&6
2110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2111 /* end confdefs.h. */
2116 #ifndef $as_decl_name
2118 (void) $as_decl_use;
2120 (void) $as_decl_name;
2128 if ac_fn_c_try_compile "$LINENO"; then :
2133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2137 $as_echo "$ac_res" >&6; }
2138 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2140 } # ac_fn_c_check_decl
2142 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2143 # -------------------------------------------
2144 # Tests whether TYPE exists after having included INCLUDES, setting cache
2145 # variable VAR accordingly.
2146 ac_fn_c_check_type ()
2148 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2150 $as_echo_n "checking for $2... " >&6; }
2151 if eval \${$3+:} false; then :
2152 $as_echo_n "(cached) " >&6
2155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2156 /* end confdefs.h. */
2167 if ac_fn_c_try_compile "$LINENO"; then :
2168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2169 /* end confdefs.h. */
2180 if ac_fn_c_try_compile "$LINENO"; then :
2185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2191 $as_echo "$ac_res" >&6; }
2192 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2194 } # ac_fn_c_check_type
2196 # ac_fn_c_check_func LINENO FUNC VAR
2197 # ----------------------------------
2198 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2199 ac_fn_c_check_func ()
2201 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2203 $as_echo_n "checking for $2... " >&6; }
2204 if eval \${$3+:} false; then :
2205 $as_echo_n "(cached) " >&6
2207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2209 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2211 #define $2 innocuous_$2
2213 /* System header to define __stub macros and hopefully few prototypes,
2214 which can conflict with char $2 (); below.
2215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2216 <limits.h> exists even on freestanding compilers. */
2219 # include <limits.h>
2221 # include <assert.h>
2226 /* Override any GCC internal prototype to avoid an error.
2227 Use char because int might match the return type of a GCC
2228 builtin and then its argument prototype would still apply. */
2233 /* The GNU C library defines this for functions which it implements
2234 to always fail with ENOSYS. Some functions are actually named
2235 something starting with __ and the normal name is an alias. */
2236 #if defined __stub_$2 || defined __stub___$2
2248 if ac_fn_c_try_link "$LINENO"; then :
2253 rm -f core conftest.err conftest.$ac_objext \
2254 conftest$ac_exeext conftest.$ac_ext
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2258 $as_echo "$ac_res" >&6; }
2259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2261 } # ac_fn_c_check_func
2262 cat >config.log <<_ACEOF
2263 This file contains any messages produced by compilers while
2264 running configure, to aid debugging if configure makes a mistake.
2266 It was created by $as_me, which was
2267 generated by GNU Autoconf 2.68. Invocation command line was
2279 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2280 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2281 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2282 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2283 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2285 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2286 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2288 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2289 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2290 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2291 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2292 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2293 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2294 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir=.
2303 $as_echo "PATH: $as_dir"
2319 # Keep a trace of the command line.
2320 # Strip out --no-create and --no-recursion so they do not pile up.
2321 # Strip out --silent because we don't want to record it for future runs.
2322 # Also quote any args containing shell meta-characters.
2323 # Make two passes to allow for proper duplicate-argument suppression.
2327 ac_must_keep_next=false
2333 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2334 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2335 | -silent | --silent | --silen | --sile | --sil)
2338 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2341 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2343 as_fn_append ac_configure_args1 " '$ac_arg'"
2344 if test $ac_must_keep_next = true; then
2345 ac_must_keep_next=false # Got value, back to normal.
2348 *=* | --config-cache | -C | -disable-* | --disable-* \
2349 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2350 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2351 | -with-* | --with-* | -without-* | --without-* | --x)
2352 case "$ac_configure_args0 " in
2353 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2356 -* ) ac_must_keep_next=true ;;
2359 as_fn_append ac_configure_args " '$ac_arg'"
2364 { ac_configure_args0=; unset ac_configure_args0;}
2365 { ac_configure_args1=; unset ac_configure_args1;}
2367 # When interrupted or exit'd, cleanup temporary files, and complete
2368 # config.log. We remove comments because anyway the quotes in there
2369 # would cause problems or look ugly.
2370 # WARNING: Use '\'' to represent an apostrophe within the trap.
2371 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2372 trap 'exit_status=$?
2373 # Save into config.log some information that might help in debugging.
2377 $as_echo "## ---------------- ##
2378 ## Cache variables. ##
2379 ## ---------------- ##"
2381 # The following way of writing the cache mishandles newlines in values,
2383 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2384 eval ac_val=\$$ac_var
2388 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2389 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2392 _ | IFS | as_nl) ;; #(
2393 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2394 *) { eval $ac_var=; unset $ac_var;} ;;
2399 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2400 *${as_nl}ac_space=\ *)
2402 "s/'\''/'\''\\\\'\'''\''/g;
2403 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2406 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2413 $as_echo "## ----------------- ##
2414 ## Output variables. ##
2415 ## ----------------- ##"
2417 for ac_var in $ac_subst_vars
2419 eval ac_val=\$$ac_var
2421 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2423 $as_echo "$ac_var='\''$ac_val'\''"
2427 if test -n "$ac_subst_files"; then
2428 $as_echo "## ------------------- ##
2429 ## File substitutions. ##
2430 ## ------------------- ##"
2432 for ac_var in $ac_subst_files
2434 eval ac_val=\$$ac_var
2436 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2438 $as_echo "$ac_var='\''$ac_val'\''"
2443 if test -s confdefs.h; then
2444 $as_echo "## ----------- ##
2451 test "$ac_signal" != 0 &&
2452 $as_echo "$as_me: caught signal $ac_signal"
2453 $as_echo "$as_me: exit $exit_status"
2455 rm -f core *.core core.conftest.* &&
2456 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2459 for ac_signal in 1 2 13 15; do
2460 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2464 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2465 rm -f -r conftest* confdefs.h
2467 $as_echo "/* confdefs.h */" > confdefs.h
2469 # Predefined preprocessor variables.
2471 cat >>confdefs.h <<_ACEOF
2472 #define PACKAGE_NAME "$PACKAGE_NAME"
2475 cat >>confdefs.h <<_ACEOF
2476 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2479 cat >>confdefs.h <<_ACEOF
2480 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2483 cat >>confdefs.h <<_ACEOF
2484 #define PACKAGE_STRING "$PACKAGE_STRING"
2487 cat >>confdefs.h <<_ACEOF
2488 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2491 cat >>confdefs.h <<_ACEOF
2492 #define PACKAGE_URL "$PACKAGE_URL"
2496 # Let the site file select an alternate cache file if it wants to.
2497 # Prefer an explicitly selected file to automatically selected ones.
2500 if test -n "$CONFIG_SITE"; then
2501 # We do not want a PATH search for config.site.
2502 case $CONFIG_SITE in #((
2503 -*) ac_site_file1=./$CONFIG_SITE;;
2504 */*) ac_site_file1=$CONFIG_SITE;;
2505 *) ac_site_file1=./$CONFIG_SITE;;
2507 elif test "x$prefix" != xNONE; then
2508 ac_site_file1=$prefix/share/config.site
2509 ac_site_file2=$prefix/etc/config.site
2511 ac_site_file1=$ac_default_prefix/share/config.site
2512 ac_site_file2=$ac_default_prefix/etc/config.site
2514 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2516 test "x$ac_site_file" = xNONE && continue
2517 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2519 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2520 sed 's/^/| /' "$ac_site_file" >&5
2522 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2524 as_fn_error $? "failed to load site
script $ac_site_file
2525 See \
`config.log' for more details" "$LINENO" 5; }
2529 if test -r "$cache_file"; then
2530 # Some versions of bash will fail to source /dev/null (special files
2531 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2532 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2534 $as_echo "$as_me: loading cache $cache_file" >&6;}
2536 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2537 *) . "./$cache_file";;
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2542 $as_echo "$as_me: creating cache $cache_file" >&6;}
2546 as_fn_append ac_header_list " stdlib.h"
2547 as_fn_append ac_header_list " unistd.h"
2548 as_fn_append ac_header_list " sys/param.h"
2549 # Check that the precious variables saved in the cache have kept the same
2551 ac_cache_corrupted=false
2552 for ac_var in $ac_precious_vars; do
2553 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2554 eval ac_new_set=\$ac_env_${ac_var}_set
2555 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2556 eval ac_new_val=\$ac_env_${ac_var}_value
2557 case $ac_old_set,$ac_new_set in
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2560 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2561 ac_cache_corrupted=: ;;
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2564 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2565 ac_cache_corrupted=: ;;
2568 if test "x$ac_old_val" != "x$ac_new_val"; then
2569 # differences in whitespace do not lead to failure.
2570 ac_old_val_w=`echo x
$ac_old_val`
2571 ac_new_val_w=`echo x
$ac_new_val`
2572 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2574 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2575 ac_cache_corrupted=:
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2578 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2579 eval $ac_var=\$ac_old_val
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2582 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2584 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2587 # Pass precious variables to config.status.
2588 if test "$ac_new_set" = set; then
2590 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2591 *) ac_arg=$ac_var=$ac_new_val ;;
2593 case " $ac_configure_args " in
2594 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2595 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2599 if $ac_cache_corrupted; then
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2603 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2604 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2606 ## -------------------- ##
2607 ## Main body of script. ##
2608 ## -------------------- ##
2611 ac_cpp='$CPP $CPPFLAGS'
2612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2619 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2620 if test -f "$ac_dir/install-sh"; then
2622 ac_install_sh="$ac_aux_dir/install-sh -c"
2624 elif test -f "$ac_dir/install.sh"; then
2626 ac_install_sh="$ac_aux_dir/install.sh -c"
2628 elif test -f "$ac_dir/shtool"; then
2630 ac_install_sh="$ac_aux_dir/shtool install -c"
2634 if test -z "$ac_aux_dir"; then
2635 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2638 # These three variables are undocumented and unsupported,
2639 # and are intended to be withdrawn in a future Autoconf release.
2640 # They can cause serious problems if a builder's source tree is in a directory
2641 # whose full name contains unusual characters.
2642 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2643 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2644 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2648 # Check what host we are running on.
2649 # If a target is not suggested, we use this one.
2650 # Note that what we call a target, Autoconf calls a host.
2651 # Make sure we can run config.sub.
2652 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2653 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2656 $as_echo_n "checking build system type... " >&6; }
2657 if ${ac_cv_build+:} false; then :
2658 $as_echo_n "(cached) " >&6
2660 ac_build_alias=$build_alias
2661 test "x$ac_build_alias" = x &&
2662 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2663 test "x$ac_build_alias" = x &&
2664 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2665 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2666 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2670 $as_echo "$ac_cv_build" >&6; }
2671 case $ac_cv_build in
2673 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2676 ac_save_IFS=$IFS; IFS='-'
2682 # Remember, the first character of IFS is used to create $*,
2683 # except with old shells:
2686 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2690 $as_echo_n "checking host system type... " >&6; }
2691 if ${ac_cv_host+:} false; then :
2692 $as_echo_n "(cached) " >&6
2694 if test "x$host_alias" = x; then
2695 ac_cv_host=$ac_cv_build
2697 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2698 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2703 $as_echo "$ac_cv_host" >&6; }
2706 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2709 ac_save_IFS=$IFS; IFS='-'
2715 # Remember, the first character of IFS is used to create $*,
2716 # except with old shells:
2719 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2723 # The AROS target is slightly different to the normal GNU style
2724 # format. We don't have the middle part, and we reverse the order
2725 # of the $(CPU) and $(OS) bits.
2727 # Don't strip the version of the target yet, it might be
2728 # useful on some systems.
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2731 $as_echo_n "checking for AROS style target... " >&6; }
2733 if test "$target" = "NONE" ; then
2734 target=$host_os-$host_cpu
2736 if test "$target" = "" ; then
2737 target=$host_os-$host_cpu
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2741 $as_echo "$target" >&6; }
2743 if test "$host_os" = "mingw32" ; then
2747 # Don't know where else to put this...
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2749 $as_echo_n "checking building AROS in... " >&6; }
2750 AROS_BUILDDIR=`${PWDCMD-pwd}`
2751 AROS_BUILDDIR_UNIX=${PWD}
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2753 $as_echo "$AROS_BUILDDIR" >&6; }
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2756 $as_echo_n "checking AROS source in... " >&6; }
2757 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2760 $as_echo "$SRCDIR" >&6; }
2762 # Parse the target field into something useful.
2764 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2765 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2768 # Some debug output, to be removed again.
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2770 $as_echo_n "checking for target system (debug output)... " >&6; }
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2772 $as_echo "$target_os" >&6; }
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2774 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2776 $as_echo "$target_cpu" >&6; }
2778 aros_default_wbwidth=800
2779 aros_default_wbheight=600
2780 aros_default_wbdepth=4
2783 # The first step is to find the host binaries.
2784 # Check for a compiler.
2785 # Due to a bug in autoconf check for c++ compiler first.
2786 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2788 ac_cpp='$CXXCPP $CPPFLAGS'
2789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2792 if test -z "$CXX"; then
2793 if test -n "$CCC"; then
2796 if test -n "$ac_tool_prefix"; then
2797 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2799 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2800 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2803 if ${ac_cv_prog_CXX+:} false; then :
2804 $as_echo_n "(cached) " >&6
2806 if test -n "$CXX"; then
2807 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2816 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2827 if test -n "$CXX"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2829 $as_echo "$CXX" >&6; }
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2836 test -n "$CXX" && break
2839 if test -z "$CXX"; then
2841 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2843 # Extract the first word of "$ac_prog", so it can be a program name with args.
2844 set dummy $ac_prog; ac_word=$2
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2846 $as_echo_n "checking for $ac_word... " >&6; }
2847 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2848 $as_echo_n "(cached) " >&6
2850 if test -n "$ac_ct_CXX"; then
2851 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857 test -z "$as_dir" && as_dir=.
2858 for ac_exec_ext in '' $ac_executable_extensions; do
2859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2860 ac_cv_prog_ac_ct_CXX="$ac_prog"
2861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2870 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2871 if test -n "$ac_ct_CXX"; then
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2873 $as_echo "$ac_ct_CXX" >&6; }
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876 $as_echo "no" >&6; }
2880 test -n "$ac_ct_CXX" && break
2883 if test "x$ac_ct_CXX" = x; then
2886 case $cross_compiling:$ac_tool_warned in
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2890 ac_tool_warned=yes ;;
2898 # Provide some information about the compiler.
2899 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2902 for ac_option in --version -v -V -qversion; do
2903 { { ac_try="$ac_compiler $ac_option >&5"
2905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2906 *) ac_try_echo
=$ac_try;;
2908 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2909 $as_echo "$ac_try_echo"; } >&5
2910 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2912 if test -s conftest.err
; then
2914 ... rest of stderr output deleted ...
2915 10q' conftest.err
>conftest.er1
2916 cat conftest.er1
>&5
2918 rm -f conftest.er1 conftest.err
2919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2920 test $ac_status = 0; }
2923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2924 /* end confdefs.h. */
2934 ac_clean_files_save
=$ac_clean_files
2935 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2936 # Try to create an executable without -o first, disregard a.out.
2937 # It will help us diagnose broken compilers, and finding out an intuition
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2940 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2941 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2943 # The possible output files:
2944 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2947 for ac_file
in $ac_files
2950 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2951 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2956 if { { ac_try
="$ac_link_default"
2958 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2959 *) ac_try_echo=$ac_try;;
2961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2962 $as_echo "$ac_try_echo"; } >&5
2963 (eval "$ac_link_default") 2>&5
2965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2966 test $ac_status = 0; }; then :
2967 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2968 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2969 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2970 # so that the user can short-circuit this test for compilers unknown to
2972 for ac_file in $ac_files ''
2974 test -f "$ac_file" || continue
2976 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2979 # We found the default executable, but exeext='' is most
2983 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2985 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2987 # We set ac_cv_exeext here because the later test for it is not
2988 # safe: cross compilers may not add the suffix if given an `-o'
2989 # argument, so we may need to know it at that point already.
2990 # Even if this section looks crufty: it has the advantage of
2997 test "$ac_cv_exeext" = no && ac_cv_exeext=
3002 if test -z "$ac_file"; then :
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3004 $as_echo "no" >&6; }
3005 $as_echo "$as_me: failed program was:" >&5
3006 sed 's
/^
/|
/' conftest.$ac_ext >&5
3008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3009 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3010 as_fn_error 77 "C++ compiler cannot create executables
3011 See \`config.log
' for more details" "$LINENO" 5; }
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3014 $as_echo "yes" >&6; }
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3017 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3019 $as_echo "$ac_file" >&6; }
3020 ac_exeext=$ac_cv_exeext
3022 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3023 ac_clean_files=$ac_clean_files_save
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3025 $as_echo_n "checking for suffix of executables... " >&6; }
3026 if { { ac_try="$ac_link"
3028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3029 *) ac_try_echo=$ac_try;;
3031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3032 $as_echo "$ac_try_echo"; } >&5
3033 (eval "$ac_link") 2>&5
3035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3036 test $ac_status = 0; }; then :
3037 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3038 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3039 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3041 for ac_file
in conftest.exe conftest conftest.
*; do
3042 test -f "$ac_file" ||
continue
3044 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3045 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3053 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3054 See \`config.log' for more details" "$LINENO" 5; }
3056 rm -f conftest conftest
$ac_cv_exeext
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3058 $as_echo "$ac_cv_exeext" >&6; }
3060 rm -f conftest.
$ac_ext
3061 EXEEXT
=$ac_cv_exeext
3063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3064 /* end confdefs.h. */
3069 FILE *f = fopen ("conftest.out", "w");
3070 return ferror (f) || fclose (f) != 0;
3076 ac_clean_files
="$ac_clean_files conftest.out"
3077 # Check that the compiler produces executables we can run. If not, either
3078 # the compiler is broken, or we cross compile.
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3080 $as_echo_n "checking whether we are cross compiling... " >&6; }
3081 if test "$cross_compiling" != yes; then
3082 { { ac_try
="$ac_link"
3084 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3085 *) ac_try_echo=$ac_try;;
3087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3088 $as_echo "$ac_try_echo"; } >&5
3089 (eval "$ac_link") 2>&5
3091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3092 test $ac_status = 0; }
3093 if { ac_try='./conftest$ac_cv_exeext'
3094 { { case "(($ac_try" in
3095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3096 *) ac_try_echo
=$ac_try;;
3098 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3099 $as_echo "$ac_try_echo"; } >&5
3100 (eval "$ac_try") 2>&5
3102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3103 test $ac_status = 0; }; }; then
3106 if test "$cross_compiling" = maybe
; then
3109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3111 as_fn_error $?
"cannot run C++ compiled programs.
3112 If you meant to cross compile, use \`--host'.
3113 See \`config.log' for more details" "$LINENO" 5; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3118 $as_echo "$cross_compiling" >&6; }
3120 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3121 ac_clean_files
=$ac_clean_files_save
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3123 $as_echo_n "checking for suffix of object files... " >&6; }
3124 if ${ac_cv_objext+:} false
; then :
3125 $as_echo_n "(cached) " >&6
3127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3128 /* end confdefs.h. */
3138 rm -f conftest.o conftest.obj
3139 if { { ac_try
="$ac_compile"
3141 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3142 *) ac_try_echo=$ac_try;;
3144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3145 $as_echo "$ac_try_echo"; } >&5
3146 (eval "$ac_compile") 2>&5
3148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3149 test $ac_status = 0; }; then :
3150 for ac_file in conftest.o conftest.obj conftest.*; do
3151 test -f "$ac_file" || continue;
3153 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3154 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3159 $as_echo "$as_me: failed program was:" >&5
3160 sed 's/^/| /' conftest.$ac_ext >&5
3162 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3164 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3165 See \
`config.log' for more details" "$LINENO" 5; }
3167 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3170 $as_echo "$ac_cv_objext" >&6; }
3171 OBJEXT=$ac_cv_objext
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3174 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3175 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3176 $as_echo_n "(cached) " >&6
3178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3179 /* end confdefs.h. */
3192 if ac_fn_cxx_try_compile "$LINENO"; then :
3197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3198 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3202 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3203 if test $ac_compiler_gnu = yes; then
3208 ac_test_CXXFLAGS=${CXXFLAGS+set}
3209 ac_save_CXXFLAGS=$CXXFLAGS
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3211 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3212 if ${ac_cv_prog_cxx_g+:} false; then :
3213 $as_echo_n "(cached) " >&6
3215 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3216 ac_cxx_werror_flag=yes
3219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3220 /* end confdefs.h. */
3230 if ac_fn_cxx_try_compile "$LINENO"; then :
3231 ac_cv_prog_cxx_g=yes
3234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3235 /* end confdefs.h. */
3245 if ac_fn_cxx_try_compile "$LINENO"; then :
3248 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3251 /* end confdefs.h. */
3261 if ac_fn_cxx_try_compile "$LINENO"; then :
3262 ac_cv_prog_cxx_g=yes
3264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3269 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3272 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3273 if test "$ac_test_CXXFLAGS" = set; then
3274 CXXFLAGS=$ac_save_CXXFLAGS
3275 elif test $ac_cv_prog_cxx_g = yes; then
3276 if test "$GXX" = yes; then
3282 if test "$GXX" = yes; then
3289 ac_cpp='$CPP $CPPFLAGS'
3290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3295 ac_cpp='$CPP $CPPFLAGS'
3296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3299 if test -n "$ac_tool_prefix"; then
3300 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3301 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3303 $as_echo_n "checking for $ac_word... " >&6; }
3304 if ${ac_cv_prog_CC+:} false; then :
3305 $as_echo_n "(cached) " >&6
3307 if test -n "$CC"; then
3308 ac_cv_prog_CC="$CC" # Let the user override the test.
3310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3314 test -z "$as_dir" && as_dir=.
3315 for ac_exec_ext in '' $ac_executable_extensions; do
3316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3317 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3328 if test -n "$CC"; then
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3330 $as_echo "$CC" >&6; }
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3333 $as_echo "no" >&6; }
3338 if test -z "$ac_cv_prog_CC"; then
3340 # Extract the first word of "gcc", so it can be a program name with args.
3341 set dummy gcc; ac_word=$2
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3343 $as_echo_n "checking for $ac_word... " >&6; }
3344 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3345 $as_echo_n "(cached) " >&6
3347 if test -n "$ac_ct_CC"; then
3348 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 test -z "$as_dir" && as_dir=.
3355 for ac_exec_ext in '' $ac_executable_extensions; do
3356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3357 ac_cv_prog_ac_ct_CC="gcc"
3358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3367 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3368 if test -n "$ac_ct_CC"; then
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3370 $as_echo "$ac_ct_CC" >&6; }
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3373 $as_echo "no" >&6; }
3376 if test "x$ac_ct_CC" = x; then
3379 case $cross_compiling:$ac_tool_warned in
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3383 ac_tool_warned=yes ;;
3391 if test -z "$CC"; then
3392 if test -n "$ac_tool_prefix"; then
3393 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3394 set dummy ${ac_tool_prefix}cc; ac_word=$2
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396 $as_echo_n "checking for $ac_word... " >&6; }
3397 if ${ac_cv_prog_CC+:} false; then :
3398 $as_echo_n "(cached) " >&6
3400 if test -n "$CC"; then
3401 ac_cv_prog_CC="$CC" # Let the user override the test.
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407 test -z "$as_dir" && as_dir=.
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3410 ac_cv_prog_CC="${ac_tool_prefix}cc"
3411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3421 if test -n "$CC"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3423 $as_echo "$CC" >&6; }
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3432 if test -z "$CC"; then
3433 # Extract the first word of "cc", so it can be a program name with args.
3434 set dummy cc; ac_word=$2
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3436 $as_echo_n "checking for $ac_word... " >&6; }
3437 if ${ac_cv_prog_CC+:} false; then :
3438 $as_echo_n "(cached) " >&6
3440 if test -n "$CC"; then
3441 ac_cv_prog_CC="$CC" # Let the user override the test.
3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3448 test -z "$as_dir" && as_dir=.
3449 for ac_exec_ext in '' $ac_executable_extensions; do
3450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3451 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3452 ac_prog_rejected=yes
3456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3463 if test $ac_prog_rejected = yes; then
3464 # We found a bogon in the path, so make sure we never use it.
3465 set dummy $ac_cv_prog_CC
3467 if test $# != 0; then
3468 # We chose a different compiler from the bogus one.
3469 # However, it has the same basename, so the bogon will be chosen
3470 # first if we set CC to just the basename; use the full file name.
3472 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3478 if test -n "$CC"; then
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3480 $as_echo "$CC" >&6; }
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3483 $as_echo "no" >&6; }
3488 if test -z "$CC"; then
3489 if test -n "$ac_tool_prefix"; then
3490 for ac_prog in cl.exe
3492 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3493 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3495 $as_echo_n "checking for $ac_word... " >&6; }
3496 if ${ac_cv_prog_CC+:} false; then :
3497 $as_echo_n "(cached) " >&6
3499 if test -n "$CC"; then
3500 ac_cv_prog_CC="$CC" # Let the user override the test.
3502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3506 test -z "$as_dir" && as_dir=.
3507 for ac_exec_ext in '' $ac_executable_extensions; do
3508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3509 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3520 if test -n "$CC"; then
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3522 $as_echo "$CC" >&6; }
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3525 $as_echo "no" >&6; }
3529 test -n "$CC" && break
3532 if test -z "$CC"; then
3534 for ac_prog in cl.exe
3536 # Extract the first word of "$ac_prog", so it can be a program name with args.
3537 set dummy $ac_prog; ac_word=$2
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3539 $as_echo_n "checking for $ac_word... " >&6; }
3540 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3541 $as_echo_n "(cached) " >&6
3543 if test -n "$ac_ct_CC"; then
3544 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 test -z "$as_dir" && as_dir=.
3551 for ac_exec_ext in '' $ac_executable_extensions; do
3552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3553 ac_cv_prog_ac_ct_CC="$ac_prog"
3554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3563 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3564 if test -n "$ac_ct_CC"; then
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3566 $as_echo "$ac_ct_CC" >&6; }
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569 $as_echo "no" >&6; }
3573 test -n "$ac_ct_CC" && break
3576 if test "x$ac_ct_CC" = x; then
3579 case $cross_compiling:$ac_tool_warned in
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3583 ac_tool_warned=yes ;;
3592 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3594 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3595 See \
`config.log' for more details" "$LINENO" 5; }
3597 # Provide some information about the compiler.
3598 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3601 for ac_option in --version -v -V -qversion; do
3602 { { ac_try="$ac_compiler $ac_option >&5"
3604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3605 *) ac_try_echo
=$ac_try;;
3607 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3608 $as_echo "$ac_try_echo"; } >&5
3609 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3611 if test -s conftest.err
; then
3613 ... rest of stderr output deleted ...
3614 10q' conftest.err
>conftest.er1
3615 cat conftest.er1
>&5
3617 rm -f conftest.er1 conftest.err
3618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3619 test $ac_status = 0; }
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3623 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3624 if ${ac_cv_c_compiler_gnu+:} false
; then :
3625 $as_echo_n "(cached) " >&6
3627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3628 /* end confdefs.h. */
3641 if ac_fn_c_try_compile
"$LINENO"; then :
3646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3647 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3651 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3652 if test $ac_compiler_gnu = yes; then
3657 ac_test_CFLAGS
=${CFLAGS+set}
3658 ac_save_CFLAGS
=$CFLAGS
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3660 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3661 if ${ac_cv_prog_cc_g+:} false
; then :
3662 $as_echo_n "(cached) " >&6
3664 ac_save_c_werror_flag
=$ac_c_werror_flag
3665 ac_c_werror_flag
=yes
3668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3669 /* end confdefs.h. */
3679 if ac_fn_c_try_compile
"$LINENO"; then :
3683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3694 if ac_fn_c_try_compile
"$LINENO"; then :
3697 ac_c_werror_flag
=$ac_save_c_werror_flag
3699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h. */
3710 if ac_fn_c_try_compile
"$LINENO"; then :
3713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3718 ac_c_werror_flag
=$ac_save_c_werror_flag
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3721 $as_echo "$ac_cv_prog_cc_g" >&6; }
3722 if test "$ac_test_CFLAGS" = set; then
3723 CFLAGS
=$ac_save_CFLAGS
3724 elif test $ac_cv_prog_cc_g = yes; then
3725 if test "$GCC" = yes; then
3731 if test "$GCC" = yes; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3738 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3739 if ${ac_cv_prog_cc_c89+:} false
; then :
3740 $as_echo_n "(cached) " >&6
3742 ac_cv_prog_cc_c89
=no
3744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3745 /* end confdefs.h. */
3748 #include <sys/types.h>
3749 #include <sys/stat.h>
3750 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3751 struct buf { int x; };
3752 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3753 static char *e (p, i)
3759 static char *f (char * (*g) (char **, int), char **p, ...)
3764 s = g (p, va_arg (v,int));
3769 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3770 function prototypes and stuff, but not '\xHH' hex character constants.
3771 These don't provoke an error unfortunately, instead are silently treated
3772 as 'x'. The following induces an error, until -std is added to get
3773 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3774 array size at least. It's necessary to write '\x00'==0 to get something
3775 that's true only with -std. */
3776 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3778 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3779 inside strings and character constants. */
3781 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3783 int test (int i, double x);
3784 struct s1 {int (*f) (int a);};
3785 struct s2 {int (*f) (double a);};
3786 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3792 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3797 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3798 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3800 CC
="$ac_save_CC $ac_arg"
3801 if ac_fn_c_try_compile
"$LINENO"; then :
3802 ac_cv_prog_cc_c89
=$ac_arg
3804 rm -f core conftest.err conftest.
$ac_objext
3805 test "x$ac_cv_prog_cc_c89" != "xno" && break
3807 rm -f conftest.
$ac_ext
3812 case "x$ac_cv_prog_cc_c89" in
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3815 $as_echo "none needed" >&6; } ;;
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3818 $as_echo "unsupported" >&6; } ;;
3820 CC
="$CC $ac_cv_prog_cc_c89"
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3822 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3824 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3829 ac_cpp
='$CPP $CPPFLAGS'
3830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3834 case $ac_cv_prog_cc_stdc in #(
3836 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3839 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3840 if ${ac_cv_prog_cc_c99+:} false
; then :
3841 $as_echo_n "(cached) " >&6
3843 ac_cv_prog_cc_c99
=no
3845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3846 /* end confdefs.h. */
3848 #include <stdbool.h>
3853 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3854 #define debug(...) fprintf (stderr, __VA_ARGS__)
3855 #define showlist(...) puts (#__VA_ARGS__)
3856 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3858 test_varargs_macros (void)
3863 debug ("X = %d\n", x);
3864 showlist (The first, second, and third items.);
3865 report (x>y, "x is %d but y is %d", x, y);
3868 // Check long long types.
3869 #define BIG64 18446744073709551615ull
3870 #define BIG32 4294967295ul
3871 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3873 your preprocessor is broken;
3877 your preprocessor is broken;
3879 static long long int bignum = -9223372036854775807LL;
3880 static unsigned long long int ubignum = BIG64;
3882 struct incomplete_array
3890 const wchar_t *name;
3894 typedef const char *ccp;
3897 test_restrict (ccp restrict text)
3899 // See if C++-style comments work.
3900 // Iterate through items via the restricted pointer.
3901 // Also check for declarations in for loops.
3902 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3907 // Check varargs and va_copy.
3909 test_varargs (const char *format, ...)
3912 va_start (args, format);
3914 va_copy (args_copy, args);
3925 str = va_arg (args_copy, const char *);
3928 number = va_arg (args_copy, int);
3931 fnumber = va_arg (args_copy, double);
3946 _Bool success = false;
3949 if (test_restrict ("String literal") == 0)
3951 char *restrict newvar = "Another string";
3954 test_varargs ("s, d' f .", "string", 65, 34.234);
3955 test_varargs_macros ();
3957 // Check flexible array members.
3958 struct incomplete_array *ia =
3959 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3961 for (int i = 0; i < ia->datasize; ++i)
3962 ia->data[i] = i * 1.234;
3964 // Check named initializers.
3965 struct named_init ni = {
3967 .name = L"Test wide string",
3968 .average = 543.34343,
3973 int dynamic_array[ni.number];
3974 dynamic_array[ni.number - 1] = 543;
3976 // work around unused variable warnings
3977 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3978 || dynamic_array[ni.number - 1] != 543);
3984 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -xc99=all
-qlanglvl=extc99
3986 CC
="$ac_save_CC $ac_arg"
3987 if ac_fn_c_try_compile
"$LINENO"; then :
3988 ac_cv_prog_cc_c99
=$ac_arg
3990 rm -f core conftest.err conftest.
$ac_objext
3991 test "x$ac_cv_prog_cc_c99" != "xno" && break
3993 rm -f conftest.
$ac_ext
3998 case "x$ac_cv_prog_cc_c99" in
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4001 $as_echo "none needed" >&6; } ;;
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4004 $as_echo "unsupported" >&6; } ;;
4006 CC
="$CC $ac_cv_prog_cc_c99"
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4008 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4010 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4011 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4014 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4015 if ${ac_cv_prog_cc_c89+:} false
; then :
4016 $as_echo_n "(cached) " >&6
4018 ac_cv_prog_cc_c89
=no
4020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4021 /* end confdefs.h. */
4024 #include <sys/types.h>
4025 #include <sys/stat.h>
4026 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4027 struct buf { int x; };
4028 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4029 static char *e (p, i)
4035 static char *f (char * (*g) (char **, int), char **p, ...)
4040 s = g (p, va_arg (v,int));
4045 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4046 function prototypes and stuff, but not '\xHH' hex character constants.
4047 These don't provoke an error unfortunately, instead are silently treated
4048 as 'x'. The following induces an error, until -std is added to get
4049 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4050 array size at least. It's necessary to write '\x00'==0 to get something
4051 that's true only with -std. */
4052 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4054 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4055 inside strings and character constants. */
4057 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4059 int test (int i, double x);
4060 struct s1 {int (*f) (int a);};
4061 struct s2 {int (*f) (double a);};
4062 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4068 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4073 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4074 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4076 CC
="$ac_save_CC $ac_arg"
4077 if ac_fn_c_try_compile
"$LINENO"; then :
4078 ac_cv_prog_cc_c89
=$ac_arg
4080 rm -f core conftest.err conftest.
$ac_objext
4081 test "x$ac_cv_prog_cc_c89" != "xno" && break
4083 rm -f conftest.
$ac_ext
4088 case "x$ac_cv_prog_cc_c89" in
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4091 $as_echo "none needed" >&6; } ;;
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4094 $as_echo "unsupported" >&6; } ;;
4096 CC
="$CC $ac_cv_prog_cc_c89"
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4098 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4100 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4101 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4103 ac_cv_prog_cc_stdc
=no
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4110 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4111 if ${ac_cv_prog_cc_stdc+:} false
; then :
4112 $as_echo_n "(cached) " >&6
4115 case $ac_cv_prog_cc_stdc in #(
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4118 $as_echo "unsupported" >&6; } ;; #(
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4121 $as_echo "none needed" >&6; } ;; #(
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4124 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4128 ac_cpp
='$CPP $CPPFLAGS'
4129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4133 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4134 # On Suns, sometimes $CPP names a directory.
4135 if test -n "$CPP" && test -d "$CPP"; then
4138 if test -z "$CPP"; then
4139 if ${ac_cv_prog_CPP+:} false
; then :
4140 $as_echo_n "(cached) " >&6
4142 # Double quotes because CPP needs to be expanded
4143 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4146 for ac_c_preproc_warn_flag
in '' yes
4148 # Use a header file that comes with gcc, so configuring glibc
4149 # with a fresh cross-compiler works.
4150 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4151 # <limits.h> exists even on freestanding compilers.
4152 # On the NeXT, cc -E runs the code through the compiler's parser,
4153 # not just through cpp. "Syntax error" is here to catch this case.
4154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4157 # include <limits.h>
4159 # include <assert.h>
4163 if ac_fn_c_try_cpp
"$LINENO"; then :
4166 # Broken: fails on valid input.
4169 rm -f conftest.err conftest.i conftest.
$ac_ext
4171 # OK, works on sane cases. Now check whether nonexistent headers
4172 # can be detected and how.
4173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4175 #include <ac_nonexistent.h>
4177 if ac_fn_c_try_cpp
"$LINENO"; then :
4178 # Broken: success on invalid input.
4181 # Passes both tests.
4185 rm -f conftest.err conftest.i conftest.
$ac_ext
4188 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4189 rm -f conftest.i conftest.err conftest.
$ac_ext
4190 if $ac_preproc_ok; then :
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4203 $as_echo "$CPP" >&6; }
4205 for ac_c_preproc_warn_flag
in '' yes
4207 # Use a header file that comes with gcc, so configuring glibc
4208 # with a fresh cross-compiler works.
4209 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4210 # <limits.h> exists even on freestanding compilers.
4211 # On the NeXT, cc -E runs the code through the compiler's parser,
4212 # not just through cpp. "Syntax error" is here to catch this case.
4213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4216 # include <limits.h>
4218 # include <assert.h>
4222 if ac_fn_c_try_cpp
"$LINENO"; then :
4225 # Broken: fails on valid input.
4228 rm -f conftest.err conftest.i conftest.
$ac_ext
4230 # OK, works on sane cases. Now check whether nonexistent headers
4231 # can be detected and how.
4232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h. */
4234 #include <ac_nonexistent.h>
4236 if ac_fn_c_try_cpp
"$LINENO"; then :
4237 # Broken: success on invalid input.
4240 # Passes both tests.
4244 rm -f conftest.err conftest.i conftest.
$ac_ext
4247 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4248 rm -f conftest.i conftest.err conftest.
$ac_ext
4249 if $ac_preproc_ok; then :
4252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4254 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4255 See \`config.log' for more details" "$LINENO" 5; }
4259 ac_cpp
='$CPP $CPPFLAGS'
4260 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4261 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4262 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4265 # Check for a compatible awk
4266 for ac_prog
in gawk nawk
4268 # Extract the first word of "$ac_prog", so it can be a program name with args.
4269 set dummy
$ac_prog; ac_word
=$2
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4271 $as_echo_n "checking for $ac_word... " >&6; }
4272 if ${ac_cv_prog_AWK+:} false
; then :
4273 $as_echo_n "(cached) " >&6
4275 if test -n "$AWK"; then
4276 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4282 test -z "$as_dir" && as_dir
=.
4283 for ac_exec_ext
in '' $ac_executable_extensions; do
4284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4285 ac_cv_prog_AWK
="$ac_prog"
4286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4296 if test -n "$AWK"; then
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4298 $as_echo "$AWK" >&6; }
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4301 $as_echo "no" >&6; }
4305 test -n "$AWK" && break
4308 if test "$AWK" = ""; then
4309 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4311 # Extract the first word of "mmake", so it can be a program name with args.
4312 set dummy mmake
; ac_word
=$2
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314 $as_echo_n "checking for $ac_word... " >&6; }
4315 if ${ac_cv_prog_MMAKE+:} false
; then :
4316 $as_echo_n "(cached) " >&6
4318 if test -n "$MMAKE"; then
4319 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4325 test -z "$as_dir" && as_dir
=.
4326 for ac_exec_ext
in '' $ac_executable_extensions; do
4327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4328 ac_cv_prog_MMAKE
="mmake "
4329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4338 MMAKE
=$ac_cv_prog_MMAKE
4339 if test -n "$MMAKE"; then
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4341 $as_echo "$MMAKE" >&6; }
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4344 $as_echo "no" >&6; }
4349 # Perform some default variable assignments. Note all of these will be
4350 # Regenerated from the script, so there is no need to cache them.
4352 aros_host_cpp
="$CPP"
4354 aros_host_cxx
="$CXX"
4355 if test "$GCC" = "yes"; then
4356 aros_gcc_ld
=`$CC -print-prog-name=ld`
4357 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4358 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if ${ac_cv_path_aros_host_ld+:} false
; then :
4362 $as_echo_n "(cached) " >&6
4364 case $aros_host_ld in
4366 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4370 for as_dir
in `dirname $aros_gcc_ld`
4373 test -z "$as_dir" && as_dir
=.
4374 for ac_exec_ext
in '' $ac_executable_extensions; do
4375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4376 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4387 aros_host_ld
=$ac_cv_path_aros_host_ld
4388 if test -n "$aros_host_ld"; then
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4390 $as_echo "$aros_host_ld" >&6; }
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4393 $as_echo "no" >&6; }
4398 if test "$aros_host_ld" = ""; then
4399 # Extract the first word of "ld", so it can be a program name with args.
4400 set dummy ld
; ac_word
=$2
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if ${ac_cv_path_aros_host_ld+:} false
; then :
4404 $as_echo_n "(cached) " >&6
4406 case $aros_host_ld in
4408 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4415 test -z "$as_dir" && as_dir
=.
4416 for ac_exec_ext
in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4429 aros_host_ld
=$ac_cv_path_aros_host_ld
4430 if test -n "$aros_host_ld"; then
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4432 $as_echo "$aros_host_ld" >&6; }
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435 $as_echo "no" >&6; }
4440 if test "$aros_host_ld" = ""; then
4441 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4443 aros_host_make
="make"
4444 aros_host_cflags
=$CFLAGS
4445 aros_host_cxxflags
=$CXXFLAGS
4446 aros_host_ldflags
=$LDFLAGS
4447 aros_host_debug
="-g -O0"
4448 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4449 aros_host_mkargs
="--no-print-directory"
4450 aros_host_exe_suffix
="$EXEEXT"
4451 aros_host_lib_suffix
=""
4453 # Ignore all compliance, AROS ROMs = 0
4454 # KickStart v1.0 = 30
4455 # KickStart v1.3 = 34
4456 # KickStart v2.0 = 37
4457 # KickStart v3.0 = 39
4458 # KickStart v3.1 = 40
4460 aros_amigaos_compliance
=0
4462 for ac_prog
in aclocal aclocal19 aclocal-1.9
4464 # Extract the first word of "$ac_prog", so it can be a program name with args.
4465 set dummy
$ac_prog; ac_word
=$2
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4467 $as_echo_n "checking for $ac_word... " >&6; }
4468 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4469 $as_echo_n "(cached) " >&6
4471 if test -n "$aros_host_aclocal"; then
4472 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4478 test -z "$as_dir" && as_dir
=.
4479 for ac_exec_ext
in '' $ac_executable_extensions; do
4480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4481 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4491 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4492 if test -n "$aros_host_aclocal"; then
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4494 $as_echo "$aros_host_aclocal" >&6; }
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4497 $as_echo "no" >&6; }
4501 test -n "$aros_host_aclocal" && break
4504 for ac_prog
in autoconf autoconf259 autoconf253
4506 # Extract the first word of "$ac_prog", so it can be a program name with args.
4507 set dummy
$ac_prog; ac_word
=$2
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4509 $as_echo_n "checking for $ac_word... " >&6; }
4510 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4511 $as_echo_n "(cached) " >&6
4513 if test -n "$aros_host_autoconf"; then
4514 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4520 test -z "$as_dir" && as_dir
=.
4521 for ac_exec_ext
in '' $ac_executable_extensions; do
4522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4523 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4533 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4534 if test -n "$aros_host_autoconf"; then
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4536 $as_echo "$aros_host_autoconf" >&6; }
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4539 $as_echo "no" >&6; }
4543 test -n "$aros_host_autoconf" && break
4546 for ac_prog
in autoheader autoheader259 autoheader253
4548 # Extract the first word of "$ac_prog", so it can be a program name with args.
4549 set dummy
$ac_prog; ac_word
=$2
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4551 $as_echo_n "checking for $ac_word... " >&6; }
4552 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4553 $as_echo_n "(cached) " >&6
4555 if test -n "$aros_host_autoheader"; then
4556 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4562 test -z "$as_dir" && as_dir
=.
4563 for ac_exec_ext
in '' $ac_executable_extensions; do
4564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4565 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4575 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4576 if test -n "$aros_host_autoheader"; then
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4578 $as_echo "$aros_host_autoheader" >&6; }
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4581 $as_echo "no" >&6; }
4585 test -n "$aros_host_autoheader" && break
4588 for ac_prog
in automake automake19 automake-1.9
4590 # Extract the first word of "$ac_prog", so it can be a program name with args.
4591 set dummy
$ac_prog; ac_word
=$2
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4593 $as_echo_n "checking for $ac_word... " >&6; }
4594 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4595 $as_echo_n "(cached) " >&6
4597 if test -n "$aros_host_automake"; then
4598 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4604 test -z "$as_dir" && as_dir
=.
4605 for ac_exec_ext
in '' $ac_executable_extensions; do
4606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4607 ac_cv_prog_aros_host_automake
="$ac_prog"
4608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4617 aros_host_automake
=$ac_cv_prog_aros_host_automake
4618 if test -n "$aros_host_automake"; then
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4620 $as_echo "$aros_host_automake" >&6; }
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623 $as_echo "no" >&6; }
4627 test -n "$aros_host_automake" && break
4631 if test "$aros_host_aclocal" = ""; then
4632 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4634 if test "$aros_host_automake" = ""; then
4635 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4638 case "$aros_host_cc" in
4640 aros_host_cc_pipe
="-pipe"
4643 aros_host_cc_pipe
=""
4646 aros_host_cc_pipe
=""
4650 aros_kernel_cc_includes
=""
4651 aros_target_cc_includes
=""
4654 # ----------------------------------------------------------------------------------------
4655 # Host-specific defaults
4657 # This is the main host configuration section. It is where the host
4658 # can change the values of any variables it needs to change. We do
4659 # not look at anything that compiles to the target yet, we'll get
4664 aros_host_arch
="aros"
4665 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4668 aros_host_cpu
="i386"
4671 aros_host_cpu
="x86_64"
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4678 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4679 aros_host_cpu
="$host_cpu"
4685 aros_host_arch
="linux"
4686 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4687 android_build_os
="linux-x86"
4688 android_tool
="android"
4689 default_android_sdk
="/opt/android-sdk-linux_x86"
4692 aros_host_cpu
="i386"
4695 aros_host_cpu
="x86_64"
4698 aros_host_cpu
="m68k"
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4708 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4709 aros_host_cpu
="$host_cpu"
4715 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4716 aros_host_make
="gmake"
4717 aros_host_arch
="freebsd"
4718 aros_host_cpu
="i386"
4720 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4724 aros_object_format
="elf_i386"
4728 aros_object_format
="elf_i386_fbsd"
4735 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4736 aros_host_arch
="darwin"
4738 android_build_os
="darwin-x86"
4739 android_tool
="android"
4740 default_android_sdk
="/android-sdk-mac_x86"
4743 aros_host_cpu
="i386"
4746 aros_host_cpu
="x86_64"
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4753 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4754 aros_host_cpu
="$host_cpu"
4758 aros_host_ldflags
="$aros_host_ldflags -liconv"
4763 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4764 aros_host_make
="gmake"
4765 aros_host_arch
="dragonfly"
4768 aros_host_cpu
="i386"
4771 aros_host_cpu
="x86_64"
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4775 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4776 aros_host_cpu
="$host_cpu"
4782 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4783 aros_host_make
="gmake"
4784 aros_host_arch
="netbsd"
4787 aros_host_cpu
="i386"
4790 aros_host_cpu
="m68k"
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4794 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4795 aros_host_cpu
="$host_cpu"
4798 aros_host_lib_suffix
=".0.0"
4802 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4803 aros_host_make
="gmake"
4804 aros_host_arch
="openbsd"
4807 aros_host_cpu
="i386"
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4811 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4812 aros_host_cpu
="$host_cpu"
4818 aros_host_arch
="solaris"
4819 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4822 aros_host_cpu
="i386"
4825 aros_host_cpu
="sparc"
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4829 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4830 aros_host_cpu
="$host_cpu"
4836 aros_host_arch
="morphos"
4842 aros_host_arch
="amiga"
4848 TOUCH
="/gg/bin/touch"
4851 aros_host_cpu
="m68k"
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4858 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4859 aros_host_cpu
="$host_cpu"
4865 aros_host_arch
="cygwin"
4866 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4868 android_build_os
="windows"
4869 android_tool
="android.bat"
4870 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4874 aros_host_cpu
="i386"
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4878 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4879 aros_host_cpu
="$host_cpu"
4885 aros_host_arch
="mingw32"
4886 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4888 android_build_os
="windows"
4889 android_tool
="android.bat"
4890 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4896 $as_echo_n "checking for Windows native gcc target... " >&6; }
4897 host_cpu
=`gcc -dumpmachine`
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4899 $as_echo "$host_cpu" >&6; }
4906 aros_host_cpu
="i386"
4910 aros_host_cpu
="i386"
4914 aros_host_cpu
="x86_64"
4915 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4920 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4921 aros_host_cpu
="$host_cpu"
4926 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4930 # Extract the first word of "ar", so it can be a program name with args.
4931 set dummy
ar; ac_word
=$2
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4933 $as_echo_n "checking for $ac_word... " >&6; }
4934 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4935 $as_echo_n "(cached) " >&6
4937 if test -n "$aros_host_ar"; then
4938 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4944 test -z "$as_dir" && as_dir
=.
4945 for ac_exec_ext
in '' $ac_executable_extensions; do
4946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4947 ac_cv_prog_aros_host_ar
="ar cr"
4948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4957 aros_host_ar
=$ac_cv_prog_aros_host_ar
4958 if test -n "$aros_host_ar"; then
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4960 $as_echo "$aros_host_ar" >&6; }
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4963 $as_echo "no" >&6; }
4967 if test "$aros_host_ar" = ""; then
4968 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4970 # Extract the first word of "ranlib", so it can be a program name with args.
4971 set dummy ranlib
; ac_word
=$2
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4973 $as_echo_n "checking for $ac_word... " >&6; }
4974 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4975 $as_echo_n "(cached) " >&6
4977 if test -n "$aros_host_ranlib"; then
4978 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4984 test -z "$as_dir" && as_dir
=.
4985 for ac_exec_ext
in '' $ac_executable_extensions; do
4986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4987 ac_cv_prog_aros_host_ranlib
="ranlib "
4988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4998 if test -n "$aros_host_ranlib"; then
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
5000 $as_echo "$aros_host_ranlib" >&6; }
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5003 $as_echo "no" >&6; }
5007 if test "$aros_host_ranlib" = ""; then
5008 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5010 # Extract the first word of "strip", so it can be a program name with args.
5011 set dummy strip
; ac_word
=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5015 $as_echo_n "(cached) " >&6
5017 if test -n "$aros_host_strip"; then
5018 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5024 test -z "$as_dir" && as_dir
=.
5025 for ac_exec_ext
in '' $ac_executable_extensions; do
5026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5027 ac_cv_prog_aros_host_strip
="strip "
5028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 aros_host_strip
=$ac_cv_prog_aros_host_strip
5038 if test -n "$aros_host_strip"; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5040 $as_echo "$aros_host_strip" >&6; }
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5047 if test "$aros_host_strip" = ""; then
5048 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5051 # Extract the first word of "rm", so it can be a program name with args.
5052 set dummy
rm; ac_word
=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if ${ac_cv_prog_RM+:} false
; then :
5056 $as_echo_n "(cached) " >&6
5058 if test -n "$RM"; then
5059 ac_cv_prog_RM
="$RM" # Let the user override the test.
5061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5065 test -z "$as_dir" && as_dir
=.
5066 for ac_exec_ext
in '' $ac_executable_extensions; do
5067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068 ac_cv_prog_RM
="rm -rf"
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5079 if test -n "$RM"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5081 $as_echo "$RM" >&6; }
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5088 if test "$RM" = ""; then
5089 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5091 # Extract the first word of "cp", so it can be a program name with args.
5092 set dummy
cp; ac_word
=$2
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5094 $as_echo_n "checking for $ac_word... " >&6; }
5095 if ${ac_cv_prog_CP+:} false
; then :
5096 $as_echo_n "(cached) " >&6
5098 if test -n "$CP"; then
5099 ac_cv_prog_CP
="$CP" # Let the user override the test.
5101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5105 test -z "$as_dir" && as_dir
=.
5106 for ac_exec_ext
in '' $ac_executable_extensions; do
5107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5119 if test -n "$CP"; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5121 $as_echo "$CP" >&6; }
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5128 if test "$CP" = ""; then
5129 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5131 # Extract the first word of "mv", so it can be a program name with args.
5132 set dummy
mv; ac_word
=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_MV+:} false
; then :
5136 $as_echo_n "(cached) " >&6
5138 if test -n "$MV"; then
5139 ac_cv_prog_MV
="$MV" # Let the user override the test.
5141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5145 test -z "$as_dir" && as_dir
=.
5146 for ac_exec_ext
in '' $ac_executable_extensions; do
5147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 if test -n "$MV"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5161 $as_echo "$MV" >&6; }
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5168 if test "$MV" = ""; then
5169 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5171 # Extract the first word of "echo", so it can be a program name with args.
5172 set dummy
echo; ac_word
=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if ${ac_cv_prog_ECHO+:} false
; then :
5176 $as_echo_n "(cached) " >&6
5178 if test -n "$ECHO"; then
5179 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5185 test -z "$as_dir" && as_dir
=.
5186 for ac_exec_ext
in '' $ac_executable_extensions; do
5187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5188 ac_cv_prog_ECHO
="echo "
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 ECHO
=$ac_cv_prog_ECHO
5199 if test -n "$ECHO"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5201 $as_echo "$ECHO" >&6; }
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5208 if test "$ECHO" = ""; then
5209 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5211 # Extract the first word of "mkdir", so it can be a program name with args.
5212 set dummy mkdir
; ac_word
=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if ${ac_cv_prog_MKDIR+:} false
; then :
5216 $as_echo_n "(cached) " >&6
5218 if test -n "$MKDIR"; then
5219 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5225 test -z "$as_dir" && as_dir
=.
5226 for ac_exec_ext
in '' $ac_executable_extensions; do
5227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5228 ac_cv_prog_MKDIR
="mkdir -p"
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 MKDIR
=$ac_cv_prog_MKDIR
5239 if test -n "$MKDIR"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5241 $as_echo "$MKDIR" >&6; }
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5248 if test "$MKDIR" = ""; then
5249 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5251 # Extract the first word of "touch", so it can be a program name with args.
5252 set dummy
touch; ac_word
=$2
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5254 $as_echo_n "checking for $ac_word... " >&6; }
5255 if ${ac_cv_prog_TOUCH+:} false
; then :
5256 $as_echo_n "(cached) " >&6
5258 if test -n "$TOUCH"; then
5259 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5265 test -z "$as_dir" && as_dir
=.
5266 for ac_exec_ext
in '' $ac_executable_extensions; do
5267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5268 ac_cv_prog_TOUCH
="touch "
5269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5278 TOUCH
=$ac_cv_prog_TOUCH
5279 if test -n "$TOUCH"; then
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5281 $as_echo "$TOUCH" >&6; }
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5284 $as_echo "no" >&6; }
5288 if test "$TOUCH" = ""; then
5289 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5291 # Extract the first word of "sort", so it can be a program name with args.
5292 set dummy
sort; ac_word
=$2
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5294 $as_echo_n "checking for $ac_word... " >&6; }
5295 if ${ac_cv_prog_SORT+:} false
; then :
5296 $as_echo_n "(cached) " >&6
5298 if test -n "$SORT"; then
5299 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5305 test -z "$as_dir" && as_dir
=.
5306 for ac_exec_ext
in '' $ac_executable_extensions; do
5307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5308 ac_cv_prog_SORT
="sort "
5309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 SORT
=$ac_cv_prog_SORT
5319 if test -n "$SORT"; then
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5321 $as_echo "$SORT" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5324 $as_echo "no" >&6; }
5328 if test "$SORT" = ""; then
5329 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5331 # Extract the first word of "uniq", so it can be a program name with args.
5332 set dummy
uniq; ac_word
=$2
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5334 $as_echo_n "checking for $ac_word... " >&6; }
5335 if ${ac_cv_prog_UNIQ+:} false
; then :
5336 $as_echo_n "(cached) " >&6
5338 if test -n "$UNIQ"; then
5339 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5345 test -z "$as_dir" && as_dir
=.
5346 for ac_exec_ext
in '' $ac_executable_extensions; do
5347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5348 ac_cv_prog_UNIQ
="uniq "
5349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 UNIQ
=$ac_cv_prog_UNIQ
5359 if test -n "$UNIQ"; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5361 $as_echo "$UNIQ" >&6; }
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5364 $as_echo "no" >&6; }
5368 if test "$UNIQ" = ""; then
5369 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5371 # Extract the first word of "true", so it can be a program name with args.
5372 set dummy true
; ac_word
=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_prog_NOP+:} false
; then :
5376 $as_echo_n "(cached) " >&6
5378 if test -n "$NOP"; then
5379 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5385 test -z "$as_dir" && as_dir
=.
5386 for ac_exec_ext
in '' $ac_executable_extensions; do
5387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5388 ac_cv_prog_NOP
="true "
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5399 if test -n "$NOP"; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5401 $as_echo "$NOP" >&6; }
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }
5408 if test "$NOP" = ""; then
5409 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5411 # Extract the first word of "cat", so it can be a program name with args.
5412 set dummy
cat; ac_word
=$2
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5414 $as_echo_n "checking for $ac_word... " >&6; }
5415 if ${ac_cv_prog_CAT+:} false
; then :
5416 $as_echo_n "(cached) " >&6
5418 if test -n "$CAT"; then
5419 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5425 test -z "$as_dir" && as_dir
=.
5426 for ac_exec_ext
in '' $ac_executable_extensions; do
5427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5428 ac_cv_prog_CAT
="cat "
5429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5439 if test -n "$CAT"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5441 $as_echo "$CAT" >&6; }
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5448 if test "$CAT" = ""; then
5449 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5451 # Extract the first word of "bison", so it can be a program name with args.
5452 set dummy bison
; ac_word
=$2
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5454 $as_echo_n "checking for $ac_word... " >&6; }
5455 if ${ac_cv_prog_BISON+:} false
; then :
5456 $as_echo_n "(cached) " >&6
5458 if test -n "$BISON"; then
5459 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5465 test -z "$as_dir" && as_dir
=.
5466 for ac_exec_ext
in '' $ac_executable_extensions; do
5467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5468 ac_cv_prog_BISON
="bison "
5469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5478 BISON
=$ac_cv_prog_BISON
5479 if test -n "$BISON"; then
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5481 $as_echo "$BISON" >&6; }
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5484 $as_echo "no" >&6; }
5488 if test "$BISON" = ""; then
5489 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5491 # Extract the first word of "flex", so it can be a program name with args.
5492 set dummy flex
; ac_word
=$2
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5494 $as_echo_n "checking for $ac_word... " >&6; }
5495 if ${ac_cv_prog_FLEX+:} false
; then :
5496 $as_echo_n "(cached) " >&6
5498 if test -n "$FLEX"; then
5499 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5505 test -z "$as_dir" && as_dir
=.
5506 for ac_exec_ext
in '' $ac_executable_extensions; do
5507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5508 ac_cv_prog_FLEX
="flex "
5509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 FLEX
=$ac_cv_prog_FLEX
5519 if test -n "$FLEX"; then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5521 $as_echo "$FLEX" >&6; }
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5524 $as_echo "no" >&6; }
5528 if test "$FLEX" = ""; then
5529 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5531 # Extract the first word of "pngtopnm", so it can be a program name with args.
5532 set dummy pngtopnm
; ac_word
=$2
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5534 $as_echo_n "checking for $ac_word... " >&6; }
5535 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5536 $as_echo_n "(cached) " >&6
5538 if test -n "$PNGTOPNM"; then
5539 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5545 test -z "$as_dir" && as_dir
=.
5546 for ac_exec_ext
in '' $ac_executable_extensions; do
5547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5548 ac_cv_prog_PNGTOPNM
="pngtopnm "
5549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5558 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5559 if test -n "$PNGTOPNM"; then
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5561 $as_echo "$PNGTOPNM" >&6; }
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5564 $as_echo "no" >&6; }
5568 if test "$PNGTOPNM" = ""; then
5569 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5571 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5572 set dummy ppmtoilbm
; ac_word
=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5576 $as_echo_n "(cached) " >&6
5578 if test -n "$PPMTOILBM"; then
5579 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5585 test -z "$as_dir" && as_dir
=.
5586 for ac_exec_ext
in '' $ac_executable_extensions; do
5587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5588 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5598 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5599 if test -n "$PPMTOILBM"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5601 $as_echo "$PPMTOILBM" >&6; }
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5608 if test "$PPMTOILBM" = ""; then
5609 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5611 # Extract the first word of "sed", so it can be a program name with args.
5612 set dummy
sed; ac_word
=$2
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5614 $as_echo_n "checking for $ac_word... " >&6; }
5615 if ${ac_cv_prog_SED+:} false
; then :
5616 $as_echo_n "(cached) " >&6
5618 if test -n "$SED"; then
5619 ac_cv_prog_SED
="$SED" # Let the user override the test.
5621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5625 test -z "$as_dir" && as_dir
=.
5626 for ac_exec_ext
in '' $ac_executable_extensions; do
5627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5628 ac_cv_prog_SED
="sed "
5629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5639 if test -n "$SED"; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5641 $as_echo "$SED" >&6; }
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5644 $as_echo "no" >&6; }
5648 if test "$SED" = ""; then
5649 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5651 # Extract the first word of "chmod", so it can be a program name with args.
5652 set dummy
chmod; ac_word
=$2
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5654 $as_echo_n "checking for $ac_word... " >&6; }
5655 if ${ac_cv_prog_CHMOD+:} false
; then :
5656 $as_echo_n "(cached) " >&6
5658 if test -n "$CHMOD"; then
5659 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5665 test -z "$as_dir" && as_dir
=.
5666 for ac_exec_ext
in '' $ac_executable_extensions; do
5667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5668 ac_cv_prog_CHMOD
="chmod "
5669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5678 CHMOD
=$ac_cv_prog_CHMOD
5679 if test -n "$CHMOD"; then
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5681 $as_echo "$CHMOD" >&6; }
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5684 $as_echo "no" >&6; }
5688 if test "$CHMOD" = ""; then
5689 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5691 # Extract the first word of "patch", so it can be a program name with args.
5692 set dummy
patch; ac_word
=$2
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5694 $as_echo_n "checking for $ac_word... " >&6; }
5695 if ${ac_cv_prog_PATCH+:} false
; then :
5696 $as_echo_n "(cached) " >&6
5698 if test -n "$PATCH"; then
5699 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5705 test -z "$as_dir" && as_dir
=.
5706 for ac_exec_ext
in '' $ac_executable_extensions; do
5707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5708 ac_cv_prog_PATCH
="patch "
5709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5718 PATCH
=$ac_cv_prog_PATCH
5719 if test -n "$PATCH"; then
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5721 $as_echo "$PATCH" >&6; }
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5724 $as_echo "no" >&6; }
5728 if test "$PATCH" = ""; then
5729 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5738 if test -n "$PYTHON"; then
5739 # If the user set $PYTHON, use it and don't search something else.
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5741 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5743 # split strings by '.' and convert to numeric. Append some zeros
5744 # because we need at least 4 digits for the hex conversion.
5745 # map returns an iterator in Python 3.0 and a list in 2.x
5746 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5748 # xrange is not present in Python 3.0 and range returns an iterator
5749 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5750 sys.exit(sys.hexversion < minverhex)"
5751 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5752 ($PYTHON -c "$prog") >&5 2>&5
5754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5755 (exit $ac_status); }; then :
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5757 $as_echo "yes" >&6; }
5759 as_fn_error $?
"too old" "$LINENO" 5
5761 am_display_PYTHON
=$PYTHON
5763 # Otherwise, try each interpreter until we find one that satisfies
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5766 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5767 if ${am_cv_pathless_PYTHON+:} false
; then :
5768 $as_echo_n "(cached) " >&6
5771 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
5772 test "$am_cv_pathless_PYTHON" = none
&& break
5774 # split strings by '.' and convert to numeric. Append some zeros
5775 # because we need at least 4 digits for the hex conversion.
5776 # map returns an iterator in Python 3.0 and a list in 2.x
5777 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5779 # xrange is not present in Python 3.0 and range returns an iterator
5780 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5781 sys.exit(sys.hexversion < minverhex)"
5782 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5783 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); }; then :
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5792 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5793 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5794 if test "$am_cv_pathless_PYTHON" = none
; then
5797 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5798 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5800 $as_echo_n "checking for $ac_word... " >&6; }
5801 if ${ac_cv_path_PYTHON+:} false
; then :
5802 $as_echo_n "(cached) " >&6
5806 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5813 test -z "$as_dir" && as_dir
=.
5814 for ac_exec_ext
in '' $ac_executable_extensions; do
5815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5816 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 PYTHON
=$ac_cv_path_PYTHON
5828 if test -n "$PYTHON"; then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5830 $as_echo "$PYTHON" >&6; }
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833 $as_echo "no" >&6; }
5838 am_display_PYTHON
=$am_cv_pathless_PYTHON
5842 if test "$PYTHON" = :; then
5843 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5848 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5849 if ${am_cv_python_version+:} false
; then :
5850 $as_echo_n "(cached) " >&6
5852 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5855 $as_echo "$am_cv_python_version" >&6; }
5856 PYTHON_VERSION
=$am_cv_python_version
5860 PYTHON_PREFIX
='${prefix}'
5862 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5867 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5868 if ${am_cv_python_platform+:} false
; then :
5869 $as_echo_n "(cached) " >&6
5871 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5874 $as_echo "$am_cv_python_platform" >&6; }
5875 PYTHON_PLATFORM
=$am_cv_python_platform
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5881 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5882 if ${am_cv_python_pythondir+:} false
; then :
5883 $as_echo_n "(cached) " >&6
5885 if test "x$prefix" = xNONE
5887 am_py_prefix
=$ac_default_prefix
5889 am_py_prefix
=$prefix
5891 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`
5892 case $am_cv_python_pythondir in
5894 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5895 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5898 case $am_py_prefix in
5901 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5909 $as_echo "$am_cv_python_pythondir" >&6; }
5910 pythondir
=$am_cv_python_pythondir
5914 pkgpythondir
=\
${pythondir}/$PACKAGE
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5918 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5919 if ${am_cv_python_pyexecdir+:} false
; then :
5920 $as_echo_n "(cached) " >&6
5922 if test "x$exec_prefix" = xNONE
5924 am_py_exec_prefix
=$am_py_prefix
5926 am_py_exec_prefix
=$exec_prefix
5928 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`
5929 case $am_cv_python_pyexecdir in
5930 $am_py_exec_prefix*)
5931 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5932 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5935 case $am_py_exec_prefix in
5938 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5946 $as_echo "$am_cv_python_pyexecdir" >&6; }
5947 pyexecdir
=$am_cv_python_pyexecdir
5951 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
5961 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
5962 if ${ac_cv_lib_png_png_read_png+:} false
; then :
5963 $as_echo_n "(cached) " >&6
5965 ac_check_lib_save_LIBS
=$LIBS
5967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5968 /* end confdefs.h. */
5970 /* Override any GCC internal prototype to avoid an error.
5971 Use char because int might match the return type of a GCC
5972 builtin and then its argument prototype would still apply. */
5976 char png_read_png ();
5980 return png_read_png ();
5985 if ac_fn_c_try_link
"$LINENO"; then :
5986 ac_cv_lib_png_png_read_png
=yes
5988 ac_cv_lib_png_png_read_png
=no
5990 rm -f core conftest.err conftest.
$ac_objext \
5991 conftest
$ac_exeext conftest.
$ac_ext
5992 LIBS
=$ac_check_lib_save_LIBS
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
5995 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
5996 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
5997 cat >>confdefs.h
<<_ACEOF
5998 #define HAVE_LIBPNG 1
6005 if test "$ac_cv_lib_png_png_read_png" = ""; then
6006 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6019 # Check for some includes for the X11 HIDD and the kernel
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6022 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6023 if ${ac_cv_path_GREP+:} false
; then :
6024 $as_echo_n "(cached) " >&6
6026 if test -z "$GREP"; then
6027 ac_path_GREP_found
=false
6028 # Loop through the user's path and test for each of PROGNAME-LIST
6029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6030 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6033 test -z "$as_dir" && as_dir
=.
6034 for ac_prog
in grep ggrep
; do
6035 for ac_exec_ext
in '' $ac_executable_extensions; do
6036 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6037 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
6038 # Check for GNU ac_path_GREP and select it if it is found.
6039 # Check for GNU $ac_path_GREP
6040 case `"$ac_path_GREP" --version 2>&1` in
6042 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6045 $as_echo_n 0123456789 >"conftest.in"
6048 cat "conftest.in" "conftest.in" >"conftest.tmp"
6049 mv "conftest.tmp" "conftest.in"
6050 cp "conftest.in" "conftest.nl"
6051 $as_echo 'GREP' >> "conftest.nl"
6052 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6053 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6054 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6055 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6056 # Best one so far, save it but keep looking for a better one
6057 ac_cv_path_GREP
="$ac_path_GREP"
6058 ac_path_GREP_max
=$ac_count
6060 # 10*(2^10) chars as input seems more than enough
6061 test $ac_count -gt 10 && break
6063 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6066 $ac_path_GREP_found && break 3
6071 if test -z "$ac_cv_path_GREP"; then
6072 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6075 ac_cv_path_GREP
=$GREP
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6080 $as_echo "$ac_cv_path_GREP" >&6; }
6081 GREP
="$ac_cv_path_GREP"
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6085 $as_echo_n "checking for egrep... " >&6; }
6086 if ${ac_cv_path_EGREP+:} false
; then :
6087 $as_echo_n "(cached) " >&6
6089 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6090 then ac_cv_path_EGREP
="$GREP -E"
6092 if test -z "$EGREP"; then
6093 ac_path_EGREP_found
=false
6094 # Loop through the user's path and test for each of PROGNAME-LIST
6095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6096 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6099 test -z "$as_dir" && as_dir
=.
6100 for ac_prog
in egrep; do
6101 for ac_exec_ext
in '' $ac_executable_extensions; do
6102 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6103 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6104 # Check for GNU ac_path_EGREP and select it if it is found.
6105 # Check for GNU $ac_path_EGREP
6106 case `"$ac_path_EGREP" --version 2>&1` in
6108 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6111 $as_echo_n 0123456789 >"conftest.in"
6114 cat "conftest.in" "conftest.in" >"conftest.tmp"
6115 mv "conftest.tmp" "conftest.in"
6116 cp "conftest.in" "conftest.nl"
6117 $as_echo 'EGREP' >> "conftest.nl"
6118 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6119 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6120 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6121 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6122 # Best one so far, save it but keep looking for a better one
6123 ac_cv_path_EGREP
="$ac_path_EGREP"
6124 ac_path_EGREP_max
=$ac_count
6126 # 10*(2^10) chars as input seems more than enough
6127 test $ac_count -gt 10 && break
6129 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6132 $ac_path_EGREP_found && break 3
6137 if test -z "$ac_cv_path_EGREP"; then
6138 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6141 ac_cv_path_EGREP
=$EGREP
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6147 $as_echo "$ac_cv_path_EGREP" >&6; }
6148 EGREP
="$ac_cv_path_EGREP"
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6152 $as_echo_n "checking for ANSI C header files... " >&6; }
6153 if ${ac_cv_header_stdc+:} false
; then :
6154 $as_echo_n "(cached) " >&6
6156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6157 /* end confdefs.h. */
6171 if ac_fn_c_try_compile
"$LINENO"; then :
6172 ac_cv_header_stdc
=yes
6174 ac_cv_header_stdc
=no
6176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6178 if test $ac_cv_header_stdc = yes; then
6179 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6181 /* end confdefs.h. */
6185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6186 $EGREP "memchr" >/dev
/null
2>&1; then :
6189 ac_cv_header_stdc
=no
6195 if test $ac_cv_header_stdc = yes; then
6196 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6198 /* end confdefs.h. */
6202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6203 $EGREP "free" >/dev
/null
2>&1; then :
6206 ac_cv_header_stdc
=no
6212 if test $ac_cv_header_stdc = yes; then
6213 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6214 if test "$cross_compiling" = yes; then :
6217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6218 /* end confdefs.h. */
6221 #if ((' ' & 0x0FF) == 0x020)
6222 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6223 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6225 # define ISLOWER(c) \
6226 (('a' <= (c) && (c) <= 'i') \
6227 || ('j' <= (c) && (c) <= 'r') \
6228 || ('s' <= (c) && (c) <= 'z'))
6229 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6232 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6237 for (i = 0; i < 256; i++)
6238 if (XOR (islower (i), ISLOWER (i))
6239 || toupper (i) != TOUPPER (i))
6244 if ac_fn_c_try_run
"$LINENO"; then :
6247 ac_cv_header_stdc
=no
6249 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6250 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6256 $as_echo "$ac_cv_header_stdc" >&6; }
6257 if test $ac_cv_header_stdc = yes; then
6259 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6263 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6264 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6265 inttypes.h stdint.h unistd.h
6267 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6268 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6270 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6271 cat >>confdefs.h
<<_ACEOF
6272 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6280 for ac_header
in sys
/ipc.h sys
/shm.h \
6281 sys
/mmap.h sys
/mman.h sysexits.h \
6282 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6285 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6286 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6287 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6288 cat >>confdefs.h
<<_ACEOF
6289 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6297 for ac_header
in sys
/mount.h
6299 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6301 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6302 cat >>confdefs.h
<<_ACEOF
6303 #define HAVE_SYS_MOUNT_H 1
6312 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6313 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6315 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6316 if eval \
${$as_ac_Header+:} false
; then :
6317 $as_echo_n "(cached) " >&6
6319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6320 /* end confdefs.h. */
6321 #include <sys/types.h>
6333 if ac_fn_c_try_compile
"$LINENO"; then :
6334 eval "$as_ac_Header=yes"
6336 eval "$as_ac_Header=no"
6338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6340 eval ac_res
=\$
$as_ac_Header
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6342 $as_echo "$ac_res" >&6; }
6343 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6344 cat >>confdefs.h
<<_ACEOF
6345 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6348 ac_header_dirent
=$ac_hdr; break
6352 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6353 if test $ac_header_dirent = dirent.h
; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6355 $as_echo_n "checking for library containing opendir... " >&6; }
6356 if ${ac_cv_search_opendir+:} false
; then :
6357 $as_echo_n "(cached) " >&6
6359 ac_func_search_save_LIBS
=$LIBS
6360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6361 /* end confdefs.h. */
6363 /* Override any GCC internal prototype to avoid an error.
6364 Use char because int might match the return type of a GCC
6365 builtin and then its argument prototype would still apply. */
6378 for ac_lib
in '' dir
; do
6379 if test -z "$ac_lib"; then
6380 ac_res
="none required"
6383 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6385 if ac_fn_c_try_link
"$LINENO"; then :
6386 ac_cv_search_opendir
=$ac_res
6388 rm -f core conftest.err conftest.
$ac_objext \
6390 if ${ac_cv_search_opendir+:} false
; then :
6394 if ${ac_cv_search_opendir+:} false
; then :
6397 ac_cv_search_opendir
=no
6400 LIBS
=$ac_func_search_save_LIBS
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6403 $as_echo "$ac_cv_search_opendir" >&6; }
6404 ac_res
=$ac_cv_search_opendir
6405 if test "$ac_res" != no
; then :
6406 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6412 $as_echo_n "checking for library containing opendir... " >&6; }
6413 if ${ac_cv_search_opendir+:} false
; then :
6414 $as_echo_n "(cached) " >&6
6416 ac_func_search_save_LIBS
=$LIBS
6417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6418 /* end confdefs.h. */
6420 /* Override any GCC internal prototype to avoid an error.
6421 Use char because int might match the return type of a GCC
6422 builtin and then its argument prototype would still apply. */
6435 for ac_lib
in '' x
; do
6436 if test -z "$ac_lib"; then
6437 ac_res
="none required"
6440 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6442 if ac_fn_c_try_link
"$LINENO"; then :
6443 ac_cv_search_opendir
=$ac_res
6445 rm -f core conftest.err conftest.
$ac_objext \
6447 if ${ac_cv_search_opendir+:} false
; then :
6451 if ${ac_cv_search_opendir+:} false
; then :
6454 ac_cv_search_opendir
=no
6457 LIBS
=$ac_func_search_save_LIBS
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6460 $as_echo "$ac_cv_search_opendir" >&6; }
6461 ac_res
=$ac_cv_search_opendir
6462 if test "$ac_res" != no
; then :
6463 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6470 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6471 if ${ac_cv_header_stat_broken+:} false
; then :
6472 $as_echo_n "(cached) " >&6
6474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6475 /* end confdefs.h. */
6476 #include <sys/types.h>
6477 #include <sys/stat.h>
6479 #if defined S_ISBLK && defined S_IFDIR
6480 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6483 #if defined S_ISBLK && defined S_IFCHR
6484 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6487 #if defined S_ISLNK && defined S_IFREG
6488 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6491 #if defined S_ISSOCK && defined S_IFREG
6492 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6496 if ac_fn_c_try_compile
"$LINENO"; then :
6497 ac_cv_header_stat_broken
=no
6499 ac_cv_header_stat_broken
=yes
6501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6504 $as_echo "$ac_cv_header_stat_broken" >&6; }
6505 if test $ac_cv_header_stat_broken = yes; then
6507 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6512 $as_echo_n "checking for ANSI C header files... " >&6; }
6513 if ${ac_cv_header_stdc+:} false
; then :
6514 $as_echo_n "(cached) " >&6
6516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6517 /* end confdefs.h. */
6531 if ac_fn_c_try_compile
"$LINENO"; then :
6532 ac_cv_header_stdc
=yes
6534 ac_cv_header_stdc
=no
6536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6538 if test $ac_cv_header_stdc = yes; then
6539 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6541 /* end confdefs.h. */
6545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6546 $EGREP "memchr" >/dev
/null
2>&1; then :
6549 ac_cv_header_stdc
=no
6555 if test $ac_cv_header_stdc = yes; then
6556 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6558 /* end confdefs.h. */
6562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6563 $EGREP "free" >/dev
/null
2>&1; then :
6566 ac_cv_header_stdc
=no
6572 if test $ac_cv_header_stdc = yes; then
6573 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6574 if test "$cross_compiling" = yes; then :
6577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6578 /* end confdefs.h. */
6581 #if ((' ' & 0x0FF) == 0x020)
6582 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6583 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6585 # define ISLOWER(c) \
6586 (('a' <= (c) && (c) <= 'i') \
6587 || ('j' <= (c) && (c) <= 'r') \
6588 || ('s' <= (c) && (c) <= 'z'))
6589 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6592 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6597 for (i = 0; i < 256; i++)
6598 if (XOR (islower (i), ISLOWER (i))
6599 || toupper (i) != TOUPPER (i))
6604 if ac_fn_c_try_run
"$LINENO"; then :
6607 ac_cv_header_stdc
=no
6609 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6610 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6616 $as_echo "$ac_cv_header_stdc" >&6; }
6617 if test $ac_cv_header_stdc = yes; then
6619 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6624 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6625 if ${ac_cv_header_sys_wait_h+:} false
; then :
6626 $as_echo_n "(cached) " >&6
6628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6629 /* end confdefs.h. */
6630 #include <sys/types.h>
6631 #include <sys/wait.h>
6633 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6636 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6644 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6649 if ac_fn_c_try_compile
"$LINENO"; then :
6650 ac_cv_header_sys_wait_h
=yes
6652 ac_cv_header_sys_wait_h
=no
6654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6657 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6658 if test $ac_cv_header_sys_wait_h = yes; then
6660 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6665 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6666 if ${ac_cv_header_time+:} false
; then :
6667 $as_echo_n "(cached) " >&6
6669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6670 /* end confdefs.h. */
6671 #include <sys/types.h>
6672 #include <sys/time.h>
6678 if ((struct tm *) 0)
6684 if ac_fn_c_try_compile
"$LINENO"; then :
6685 ac_cv_header_time
=yes
6687 ac_cv_header_time
=no
6689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6692 $as_echo "$ac_cv_header_time" >&6; }
6693 if test $ac_cv_header_time = yes; then
6695 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6699 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6700 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6702 cat >>confdefs.h
<<_ACEOF
6703 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6707 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6712 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6713 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6715 cat >>confdefs.h
<<_ACEOF
6716 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6720 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6723 case " $LIBOBJS " in
6724 *" fileblocks.$ac_objext "* ) ;;
6725 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6732 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6733 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6735 cat >>confdefs.h
<<_ACEOF
6736 #define HAVE_STRUCT_STAT_ST_RDEV 1
6740 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6746 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6747 if ${ac_cv_struct_tm+:} false
; then :
6748 $as_echo_n "(cached) " >&6
6750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6751 /* end confdefs.h. */
6752 #include <sys/types.h>
6759 int *p = &tm.tm_sec;
6765 if ac_fn_c_try_compile
"$LINENO"; then :
6766 ac_cv_struct_tm
=time.h
6768 ac_cv_struct_tm
=sys
/time.h
6770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6773 $as_echo "$ac_cv_struct_tm" >&6; }
6774 if test $ac_cv_struct_tm = sys
/time.h
; then
6776 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6780 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6781 #include <$ac_cv_struct_tm>
6784 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6786 cat >>confdefs.h
<<_ACEOF
6787 #define HAVE_STRUCT_TM_TM_ZONE 1
6793 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6795 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6798 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6800 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6806 cat >>confdefs.h
<<_ACEOF
6807 #define HAVE_DECL_TZNAME $ac_have_decl
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6811 $as_echo_n "checking for tzname... " >&6; }
6812 if ${ac_cv_var_tzname+:} false
; then :
6813 $as_echo_n "(cached) " >&6
6815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6816 /* end confdefs.h. */
6818 #if !HAVE_DECL_TZNAME
6819 extern char *tzname[];
6825 return tzname[0][0];
6830 if ac_fn_c_try_link
"$LINENO"; then :
6831 ac_cv_var_tzname
=yes
6835 rm -f core conftest.err conftest.
$ac_objext \
6836 conftest
$ac_exeext conftest.
$ac_ext
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6839 $as_echo "$ac_cv_var_tzname" >&6; }
6840 if test $ac_cv_var_tzname = yes; then
6842 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6847 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6848 if test "x$ac_cv_type_off_t" = xyes
; then :
6852 cat >>confdefs.h
<<_ACEOF
6853 #define off_t long int
6858 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6859 if test "x$ac_cv_type_pid_t" = xyes
; then :
6863 cat >>confdefs.h
<<_ACEOF
6869 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6870 if test "x$ac_cv_type_size_t" = xyes
; then :
6874 cat >>confdefs.h
<<_ACEOF
6875 #define size_t unsigned int
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6881 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6882 if ${ac_cv_type_uid_t+:} false
; then :
6883 $as_echo_n "(cached) " >&6
6885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6886 /* end confdefs.h. */
6887 #include <sys/types.h>
6890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6891 $EGREP "uid_t" >/dev
/null
2>&1; then :
6892 ac_cv_type_uid_t
=yes
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6900 $as_echo "$ac_cv_type_uid_t" >&6; }
6901 if test $ac_cv_type_uid_t = no
; then
6903 $as_echo "#define uid_t int" >>confdefs.h
6906 $as_echo "#define gid_t int" >>confdefs.h
6911 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6912 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6914 cat >>confdefs.h
<<_ACEOF
6915 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6922 # Look for some functions
6923 for ac_func
in getpagesize kqueue statfs statvfs \
6924 clone kse_create rfork_thread thr_create sa_register \
6925 getcontext makecontext setcontext sigaltstack swapcontext
6927 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6928 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6929 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6930 cat >>confdefs.h
<<_ACEOF
6931 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6941 for ac_header
in $ac_header_list
6943 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6944 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6946 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6947 cat >>confdefs.h
<<_ACEOF
6948 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6962 for ac_func
in getpagesize
6964 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6965 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6966 cat >>confdefs.h
<<_ACEOF
6967 #define HAVE_GETPAGESIZE 1
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6974 $as_echo_n "checking for working mmap... " >&6; }
6975 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6976 $as_echo_n "(cached) " >&6
6978 if test "$cross_compiling" = yes; then :
6979 ac_cv_func_mmap_fixed_mapped
=no
6981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6982 /* end confdefs.h. */
6983 $ac_includes_default
6984 /* malloc might have been renamed as rpl_malloc. */
6987 /* Thanks to Mike Haertel and Jim Avera for this test.
6988 Here is a matrix of mmap possibilities:
6989 mmap private not fixed
6990 mmap private fixed at somewhere currently unmapped
6991 mmap private fixed at somewhere already mapped
6992 mmap shared not fixed
6993 mmap shared fixed at somewhere currently unmapped
6994 mmap shared fixed at somewhere already mapped
6995 For private mappings, we should verify that changes cannot be read()
6996 back from the file, nor mmap's back from the file at a different
6997 address. (There have been systems where private was not correctly
6998 implemented like the infamous i386 svr4.0, and systems where the
6999 VM page cache was not coherent with the file system buffer cache
7000 like early versions of FreeBSD and possibly contemporary NetBSD.)
7001 For shared mappings, we should conversely verify that changes get
7002 propagated back to all the places they're supposed to be.
7004 Grep wants private fixed already mapped.
7005 The main things grep needs to know about mmap are:
7006 * does it exist and is it safe to write into the mmap'd area
7007 * how to use it (BSD variants) */
7010 #include <sys/mman.h>
7012 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7016 /* This mess was copied from the GNU getpagesize.h. */
7017 #ifndef HAVE_GETPAGESIZE
7018 # ifdef _SC_PAGESIZE
7019 # define getpagesize() sysconf(_SC_PAGESIZE)
7020 # else /* no _SC_PAGESIZE */
7021 # ifdef HAVE_SYS_PARAM_H
7022 # include <sys/param.h>
7023 # ifdef EXEC_PAGESIZE
7024 # define getpagesize() EXEC_PAGESIZE
7025 # else /* no EXEC_PAGESIZE */
7027 # define getpagesize() NBPG * CLSIZE
7030 # endif /* no CLSIZE */
7031 # else /* no NBPG */
7033 # define getpagesize() NBPC
7034 # else /* no NBPC */
7036 # define getpagesize() PAGESIZE
7037 # endif /* PAGESIZE */
7038 # endif /* no NBPC */
7039 # endif /* no NBPG */
7040 # endif /* no EXEC_PAGESIZE */
7041 # else /* no HAVE_SYS_PARAM_H */
7042 # define getpagesize() 8192 /* punt totally */
7043 # endif /* no HAVE_SYS_PARAM_H */
7044 # endif /* no _SC_PAGESIZE */
7046 #endif /* no HAVE_GETPAGESIZE */
7051 char *data, *data2, *data3;
7056 pagesize = getpagesize ();
7058 /* First, make a file with some known garbage in it. */
7059 data = (char *) malloc (pagesize);
7062 for (i = 0; i < pagesize; ++i)
7063 *(data + i) = rand ();
7065 fd = creat ("conftest.mmap", 0600);
7068 if (write (fd, data, pagesize) != pagesize)
7072 /* Next, check that the tail of a page is zero-filled. File must have
7073 non-zero length, otherwise we risk SIGBUS for entire page. */
7074 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7078 if (write (fd2, cdata2, 1) != 1)
7080 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7081 if (data2 == MAP_FAILED)
7083 for (i = 0; i < pagesize; ++i)
7087 if (munmap (data2, pagesize))
7090 /* Next, try to mmap the file at a fixed address which already has
7091 something else allocated at it. If we can, also make sure that
7092 we see the same garbage. */
7093 fd = open ("conftest.mmap", O_RDWR);
7096 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7097 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7099 for (i = 0; i < pagesize; ++i)
7100 if (*(data + i) != *(data2 + i))
7103 /* Finally, make sure that changes to the mapped area do not
7104 percolate back to the file as seen by read(). (This is a bug on
7105 some variants of i386 svr4.0.) */
7106 for (i = 0; i < pagesize; ++i)
7107 *(data2 + i) = *(data2 + i) + 1;
7108 data3 = (char *) malloc (pagesize);
7111 if (read (fd, data3, pagesize) != pagesize)
7113 for (i = 0; i < pagesize; ++i)
7114 if (*(data + i) != *(data3 + i))
7120 if ac_fn_c_try_run
"$LINENO"; then :
7121 ac_cv_func_mmap_fixed_mapped
=yes
7123 ac_cv_func_mmap_fixed_mapped
=no
7125 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7126 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7131 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7132 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7134 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7137 rm -f conftest.mmap conftest.txt
7142 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7143 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7144 aros_config_ldflags
=""
7146 aros_shared_default
=yes
7148 aros_shared_cflags
="-fPIC"
7149 aros_shared_aflags
=""
7150 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7151 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7153 aros_kernel_ar_flags
="cr"
7154 aros_target_ar_flags
="cr"
7155 aros_target_nm_flags
="-C -ul"
7156 aros_target_strip_flags
="--strip-unneeded -R.comment"
7161 aros_target_genmap
="-Wl,-Map -Xlinker"
7163 # Native flavour stuff
7164 aros_serial_debug
="0"
7166 # Palm native flavour stuff
7167 aros_palm_debug_hack
="0"
7169 # Unix flavour stuff
7170 aros_nesting_supervisor
="0"
7172 # Collect-aros stuff: "-ius" to ignore undefined symbols
7173 ignore_undefined_symbols
=""
7175 # Check for X11 by default
7178 #-----------------------------------------------------------------------------
7181 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7182 # it switched on by default, and we use the host compiler, so it compiles AROS
7183 # code with this enabled resulting in link failures as we don't have support
7186 # We use two methods to disable it. For the host compiler (used to compile
7187 # some hosted modules), we test to see if the compiler supports stack
7188 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7189 # work on all platforms.
7191 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7192 # (this is done unconditionally, as it should have no effect on compilers
7193 # without the stack protection feature). This may be specific to the way that
7194 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7195 # strong enough to disable it in a generic way though, so we'll live with it
7196 # until another vendor ships GCC with it enabled in a different way, and deal
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7201 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7202 save_cflags
="$CFLAGS"
7203 CFLAGS
="$CFLAGS -fno-stack-protector"
7204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7205 /* end confdefs.h. */
7215 if ac_fn_c_try_compile
"$LINENO"; then :
7216 use_no_stack_protector
="yes"
7218 use_no_stack_protector
="no"
7220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7222 $as_echo "$use_no_stack_protector" >&6; }
7223 if test "x-$use_no_stack_protector" = "x-yes" ; then
7224 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7226 CFLAGS
="$save_cflags"
7228 #-----------------------------------------------------------------------------
7230 # Disable pointer-signedness warnings if the compiler recognises the option
7231 # (this only works for the host compiler at the moment)
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7234 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7235 save_cflags
="$CFLAGS"
7236 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7238 /* end confdefs.h. */
7248 if ac_fn_c_try_compile
"$LINENO"; then :
7249 use_no_sign_warning
="yes"
7251 use_no_sign_warning
="no"
7253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7255 $as_echo "$use_no_sign_warning" >&6; }
7256 if test "x-$use_no_sign_warning" = "x-yes" ; then
7257 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7259 CFLAGS
="$save_cflags"
7261 #-----------------------------------------------------------------------------
7263 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7266 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7267 save_cflags
="$CFLAGS"
7268 CFLAGS
="$CFLAGS -fgnu89-inline"
7269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7270 /* end confdefs.h. */
7280 if ac_fn_c_try_compile
"$LINENO"; then :
7281 use_gnu89_inline
="yes"
7283 use_gnu89_inline
="no"
7285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7287 $as_echo "$use_gnu89_inline" >&6; }
7288 if test "x-$use_gnu89_inline" = "x-yes" ; then
7289 gnu89_inline
="-fgnu89-inline"
7291 CFLAGS
="$save_cflags"
7293 #-----------------------------------------------------------------------------
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7296 $as_echo_n "checking for type of build... " >&6; }
7297 # Check whether --enable-build_type was given.
7298 if test "${enable_build_type+set}" = set; then :
7299 enableval
=$enable_build_type; build_type
=$enableval
7301 build_type
="personal"
7305 if test "$build_type" = "nightly"; then
7306 build_type_string
="NIGHTLY"
7307 elif test "$build_type" = "snapshot"; then
7308 build_type_string
="SNAPSHOT"
7309 elif test "$build_type" = "milestone"; then
7310 build_type_string
="MILESTONE"
7311 elif test "$build_type" = "release"; then
7312 build_type_string
="RELEASE"
7314 build_type_string
="PERSONAL"
7315 build_type
="personal"
7318 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7321 $as_echo "$build_type" >&6; }
7323 #-----------------------------------------------------------------------------
7324 all_debug_types
="messages stack modules mungwall symbols"
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7327 $as_echo_n "checking which debug types to enable... " >&6; }
7328 # Check whether --enable-debug was given.
7329 if test "${enable_debug+set}" = set; then :
7330 enableval
=$enable_debug; debug
="$enableval"
7336 if test "$debug" = "" -o "$debug" = "no"; then
7338 elif test "$debug" = "yes"; then
7342 if test "$debug" = "all" ; then
7343 debug
="messages stack modules symbols"
7344 for d
in $all_debug_types; do
7345 export aros_
${d}_debug
="1"
7348 for d
in $all_debug_types; do
7349 export aros_
${d}_debug
="0"
7353 if test "$debug" != "none"; then
7354 debug
=`echo $debug | sed s/,/\ /g`
7357 for d2
in $all_debug_types; do
7358 if test "$d2" = "$d"; then
7363 if test "$found" = "0"; then
7364 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7366 export aros_
${d}_debug
="1"
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7371 $as_echo "$debug" >&6; }
7373 if test "$aros_messages_debug" = "1"; then
7374 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7376 aros_messages_debug
=""
7378 if test "$aros_symbols_debug" = "1"; then
7379 aros_symbols_debug
="-g"
7381 aros_symbols_debug
=""
7384 # These are the flags to pass when compiling debugged programs
7385 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7386 aros_debug_aflags
=""
7387 aros_debug_ldflags
="$aros_symbols_debug"
7389 #-----------------------------------------------------------------------------
7390 # Checking for distcc and ccache.
7392 # Always apply the transforms in this particular order. Basically you should
7393 # always run 'ccache distcc compiler' in that order for the best performance.
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7396 $as_echo_n "checking whether to enable distcc... " >&6; }
7397 # Check whether --enable-distcc was given.
7398 if test "${enable_distcc+set}" = set; then :
7399 enableval
=$enable_distcc; distcc
="$enableval"
7404 if test "$distcc" != "" -a "$distcc" != "no"; then
7405 # AC_CHECK_PROG will print out the result in this case
7406 # Extract the first word of "distcc", so it can be a program name with args.
7407 set dummy distcc
; ac_word
=$2
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7409 $as_echo_n "checking for $ac_word... " >&6; }
7410 if ${ac_cv_path_DISTCC+:} false
; then :
7411 $as_echo_n "(cached) " >&6
7415 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7422 test -z "$as_dir" && as_dir
=.
7423 for ac_exec_ext
in '' $ac_executable_extensions; do
7424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7425 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7433 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7437 DISTCC
=$ac_cv_path_DISTCC
7438 if test -n "$DISTCC"; then
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7440 $as_echo "$DISTCC" >&6; }
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7443 $as_echo "no" >&6; }
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7449 $as_echo "no" >&6; }
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7453 $as_echo_n "checking whether to enable ccache... " >&6; }
7454 # Check whether --enable-ccache was given.
7455 if test "${enable_ccache+set}" = set; then :
7456 enableval
=$enable_ccache; ccache
="$enableval"
7461 if test "$ccache" != "" -a "$ccache" != "no"; then
7462 # AC_CHECK_PROG will print out the result in this case
7463 # Extract the first word of "ccache", so it can be a program name with args.
7464 set dummy ccache
; ac_word
=$2
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7466 $as_echo_n "checking for $ac_word... " >&6; }
7467 if ${ac_cv_prog_CCACHE+:} false
; then :
7468 $as_echo_n "(cached) " >&6
7470 if test -n "$CCACHE"; then
7471 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7477 test -z "$as_dir" && as_dir
=.
7478 for ac_exec_ext
in '' $ac_executable_extensions; do
7479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7480 ac_cv_prog_CCACHE
="ccache"
7481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 CCACHE
=$ac_cv_prog_CCACHE
7491 if test -n "$CCACHE"; then
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7493 $as_echo "$CCACHE" >&6; }
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7496 $as_echo "no" >&6; }
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7502 $as_echo "no" >&6; }
7505 #-----------------------------------------------------------------------------
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7507 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7509 # Check whether --with-kernel-gcc-version was given.
7510 if test "${with_kernel_gcc_version+set}" = set; then :
7511 withval
=$with_kernel_gcc_version; kernel_tool_version
="-$withval"
7513 kernel_tool_version
=""
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7517 $as_echo "$kernel_tool_version" >&6; }
7519 #-----------------------------------------------------------------------------
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7521 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7523 # Check whether --with-gcc-version was given.
7524 if test "${with_gcc_version+set}" = set; then :
7525 withval
=$with_gcc_version; target_tool_version
="$withval"
7527 target_tool_version
="default"
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7531 $as_echo "$target_tool_version" >&6; }
7533 #-----------------------------------------------------------------------------
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7535 $as_echo_n "checking what optimization flags to use... " >&6; }
7537 # Check whether --with-optimization was given.
7538 if test "${with_optimization+set}" = set; then :
7539 withval
=$with_optimization; optimization
="$withval"
7541 optimization
="unknown"
7544 if test "$optimization" = "unknown"; then
7545 if test "$debug" != "none"; then
7551 aros_config_cflags
="$aros_config_cflags $optimization"
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7553 $as_echo "$optimization" >&6; }
7555 #-----------------------------------------------------------------------------
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7557 $as_echo_n "checking what paranoia flags to use... " >&6; }
7559 # Check whether --with-paranoia was given.
7560 if test "${with_paranoia+set}" = set; then :
7561 withval
=$with_paranoia; paranoia_flags
="$withval"
7563 paranoia_flags
="default"
7566 if test "$paranoia_flags" = "default"; then
7568 else if test "$paranoia_flags" = "yes"; then
7569 paranoia_flags
="-Wall -Werror"
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7572 $as_echo "$paranoia_flags" >&6; }
7573 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7575 #-----------------------------------------------------------------------------
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7577 $as_echo_n "checking what target variant to enable... " >&6; }
7578 # Check whether --enable-target_variant was given.
7579 if test "${enable_target_variant+set}" = set; then :
7580 enableval
=$enable_target_variant; target_variant
=$enableval
7585 if test "$target_variant" = ""; then
7586 aros_target_variant
=""
7587 aros_target_suffix
=""
7590 aros_target_variant
="$target_variant"
7591 aros_target_suffix
="-$target_variant"
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7594 $as_echo "$enableval" >&6; }
7596 #-----------------------------------------------------------------------------
7597 # Target-specific defaults. You can override then on a per-target basis.
7599 # Bootloader name. Currently used by PC target.
7600 target_bootloader
="none"
7602 #-----------------------------------------------------------------------------
7603 # Additional options for some specific targets
7605 case "$aros_target_variant" in
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7608 $as_echo_n "checking XCode path... " >&6; }
7610 # Check whether --with-xcode was given.
7611 if test "${with_xcode+set}" = set; then :
7612 withval
=$with_xcode; aros_xcode_path
="$withval"
7614 aros_xcode_path
="/Developer"
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7618 $as_echo "$aros_xcode_path" >&6; }
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7621 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7623 # Check whether --with-sdk-version was given.
7624 if test "${with_sdk_version+set}" = set; then :
7625 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7627 aros_sdk_version
="4.1"
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7631 $as_echo "$aros_sdk_version" >&6; }
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7637 $as_echo_n "checking Android SDK path... " >&6; }
7639 # Check whether --with-sdk was given.
7640 if test "${with_sdk+set}" = set; then :
7641 withval
=$with_sdk; aros_android_sdk
="$withval"
7643 aros_android_sdk
=$default_android_sdk
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7647 $as_echo "$aros_android_sdk" >&6; }
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7650 $as_echo_n "checking Android NDK path... " >&6; }
7652 # Check whether --with-ndk was given.
7653 if test "${with_ndk+set}" = set; then :
7654 withval
=$with_ndk; aros_android_ndk
="$withval"
7656 aros_android_ndk
="none"
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7660 $as_echo "$aros_android_ndk" >&6; }
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7663 $as_echo_n "checking what Android SDK version to use... " >&6; }
7665 # Check whether --with-sdk-version was given.
7666 if test "${with_sdk_version+set}" = set; then :
7667 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7669 aros_sdk_version
="12"
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7673 $as_echo "$aros_sdk_version" >&6; }
7675 if test "$aros_android_ndk" != "none"; then
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7677 $as_echo_n "checking what Android NDK version to use... " >&6; }
7679 # Check whether --with-ndk-version was given.
7680 if test "${with_ndk_version+set}" = set; then :
7681 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7683 aros_ndk_version
="9"
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7687 $as_echo "$aros_ndk_version" >&6; }
7690 export PATH
="$aros_android_sdk/tools:$PATH"
7691 # Extract the first word of "$android_tool", so it can be a program name with args.
7692 set dummy
$android_tool; ac_word
=$2
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7694 $as_echo_n "checking for $ac_word... " >&6; }
7695 if ${ac_cv_path_android_tool+:} false
; then :
7696 $as_echo_n "(cached) " >&6
7698 case $android_tool in
7700 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7707 test -z "$as_dir" && as_dir
=.
7708 for ac_exec_ext
in '' $ac_executable_extensions; do
7709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7710 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7721 android_tool
=$ac_cv_path_android_tool
7722 if test -n "$android_tool"; then
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7724 $as_echo "$android_tool" >&6; }
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7727 $as_echo "no" >&6; }
7731 if test "$android_tool" = ""; then
7732 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7735 aros_android_level
=android-
$aros_sdk_version
7736 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7737 echo "Platform $aros_android_level is not installed in your SDK"
7738 echo "Use --with-sdk-version=<API level number> to select another platform version"
7739 echo "You can check what plaform versions are installed in your SDK"
7740 echo "by examining contents of $aros_android_sdk/platforms directory"
7741 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7744 # Extract the first word of "ant", so it can be a program name with args.
7745 set dummy ant
; ac_word
=$2
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7747 $as_echo_n "checking for $ac_word... " >&6; }
7748 if ${ac_cv_path_ant+:} false
; then :
7749 $as_echo_n "(cached) " >&6
7753 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7760 test -z "$as_dir" && as_dir
=.
7761 for ac_exec_ext
in '' $ac_executable_extensions; do
7762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7763 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7775 if test -n "$ant"; then
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7777 $as_echo "$ant" >&6; }
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7780 $as_echo "no" >&6; }
7784 if test "$ant" = ""; then
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7786 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7789 if test "$host_os" = "mingw32"; then
7790 android_tool
="cmd //c $android_tool"
7796 #-----------------------------------------------------------------------------
7797 # External toolchains
7798 kernel_tool_prefix
="none"
7799 aros_tool_prefix
="none"
7800 elf_tool_prefix
="${target_cpu}-elf-"
7802 # This is the target configuration switch.
7803 case "$target_os" in
7805 aros_target_arch
="linux"
7806 aros_target_family
="unix"
7807 case "$target_cpu" in
7809 aros_target_cpu
="m68k"
7810 aros_object_format
="m68kelf"
7811 aros_flavour
="emulcompat"
7812 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7813 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7814 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7815 gcc_target_cpu
="mc68000"
7818 aros_target_cpu
="i386"
7819 aros_object_format
="elf_i386"
7820 aros_flavour
="emulation"
7821 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7822 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7823 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7824 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7825 aros_config_ldflags
="-m32 -march=i486"
7826 aros_kernel_ldflags
="-melf_i386"
7827 aros_default_wbdepth
=8
7828 gcc_target_cpu
="i386"
7829 pci_hidd_target
="hidd-pci-linux"
7830 android_tool_dir_prefix
="x86"
7831 android_tool_prefix
="i686-android-linux"
7832 android_ndk_arch
="x86"
7835 aros_target_cpu
="x86_64"
7836 aros_object_format
="elf_x86_64"
7837 aros_flavour
="emulation"
7838 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7839 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7840 aros_default_wbdepth
=8
7841 pci_hidd_target
="hidd-pci-linux"
7844 aros_target_cpu
="ppc"
7845 aros_object_format
="elf32ppc"
7846 aros_flavour
="emulation"
7847 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7848 aros_default_wbdepth
=8
7849 gcc_target_cpu
="ppc"
7852 # Same as powerpc, but I need this for the nightly build to work again.
7853 # Actually, the nightly should be made working with powerpc target.
7854 # That just was too much work for the moment, another week or two.
7856 aros_target_cpu
="ppc"
7857 aros_object_format
="elf32ppc"
7858 aros_flavour
="emulation"
7859 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7860 aros_default_wbdepth
=8
7861 gcc_target_cpu
="ppc"
7864 aros_target_cpu
="arm"
7866 aros_object_format
="armelf_linux_eabi"
7867 aros_flavour
="emulation"
7868 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7869 gcc_target_cpu
="arm"
7870 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7871 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7872 aros_arch_libs
="-laeabi"
7873 gcc_default_fpu
="vfpv3-d16"
7874 gcc_default_float_abi
="hard"
7875 android_tool_dir_prefix
="arm-linux-androideabi"
7876 android_tool_prefix
="arm-linux-androideabi"
7877 android_ndk_arch
="arm"
7878 kernel_tool_prefix
="arm-linux-gnueabihf-"
7881 aros_target_cpu
="arm"
7882 aros_object_format
="armelf_linux_eabi"
7883 aros_flavour
="emulation"
7884 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7885 gcc_target_cpu
="arm"
7886 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7887 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7888 aros_arch_libs
="-laeabi"
7889 android_tool_dir_prefix
="arm-linux-androideabi"
7890 android_tool_prefix
="arm-linux-androideabi"
7891 android_ndk_arch
="arm"
7892 kernel_tool_prefix
="arm-linux-gnueabi-"
7895 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7898 case "$aros_target_variant" in
7901 if test "$android_ndk_arch" = ""; then
7902 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7905 aros_default_wbwidth
=320
7906 aros_default_wbheight
=480
7907 if test "$aros_android_ndk" = "none"; then
7908 aros_kernel_cflags
="-mandroid"
7909 aros_kernel_ldflags
="-mandroid"
7912 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7913 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7914 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7915 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7916 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7917 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7920 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7921 # Disable implicit PIC mode
7922 aros_target_cflags
="$aros_target_cflags -fno-pic"
7923 kernel_tool_prefix
="$android_tool_prefix-"
7929 aros_target_arch
="pc"
7930 aros_shared_default
="no"
7931 target_bootloader
="grub2"
7932 case "$target_cpu" in
7934 aros_target_cpu
="i386"
7937 if test "$aros_object_format" = "" ; then
7938 aros_object_format
="elf_i386"
7940 aros_flavour
="standalone"
7941 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7942 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7943 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7944 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7945 aros_config_ldflags
="-m32 -march=i486"
7946 aros_kernel_ldflags
="-melf_i386"
7947 aros_default_wbwidth
=640
7948 aros_default_wbheight
=480
7949 gcc_target_cpu
="i386"
7952 aros_target_cpu
="x86_64"
7954 if test "$aros_object_format" = "" ; then
7955 aros_object_format
="elf_x86_64"
7957 aros_flavour
="standalone"
7958 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7959 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7960 aros_kernel_ldflags
=""
7961 aros_default_wbwidth
=640
7962 aros_default_wbheight
=480
7965 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7971 aros_target_arch
="prep"
7972 aros_shared_default
="no"
7973 aros_target_cpu
="ppc"
7974 aros_object_format
="elf32ppc"
7975 aros_flavour
="ppcnative"
7976 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7977 aros_kernel_ldflags
=""
7978 aros_default_wbwidth
=640
7979 aros_default_wbheight
=480
7980 gcc_target_cpu
="ppc"
7984 aros_target_arch
="freebsd"
7985 aros_target_family
="unix"
7986 aros_target_cpu
="i386"
7987 aros_flavour
="emulation"
7988 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7989 gcc_target_cpu
="i386"
7991 aros_target_strip_flags
="-x"
7995 aros_target_arch
="darwin"
7996 aros_target_family
="unix"
7997 aros_flavour
="emulation"
7998 case "$target_cpu" in
8000 aros_ios_platform
="iPhoneSimulator"
8001 aros_target_cpu
="i386"
8002 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8003 aros_kernel_ldflags
=""
8004 aros_macosx_version
="10.4"
8005 aros_default_wbdepth
=8
8006 gcc_target_cpu
="i386"
8007 aros_object_format
="elf_i386"
8008 aros_kernel_ar_flags
="-cr"
8009 aros_target_strip_flags
="-x"
8010 kernel_tool_flags
="-m32"
8013 aros_target_cpu
="x86_64"
8014 aros_object_format
="elf_x86_64"
8015 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8016 aros_macosx_version
="10.6"
8017 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8018 aros_kernel_cflags
="-m64"
8019 aros_kernel_ldflags
="-m64"
8020 aros_target_cflags
="-mcmodel=large"
8021 aros_default_wbdepth
=8
8023 aros_kernel_ar_flags
="-cr"
8026 aros_kernel_ranlib
="ranlib"
8028 aros_kernel_strip
="strip"
8029 kernel_tool_prefix
="i686-apple-darwin10-"
8032 aros_target_cpu
="ppc"
8033 aros_object_format
="elf32ppc"
8034 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8035 aros_kernel_ldflags
=""
8036 aros_macosx_version
="10.0"
8037 aros_default_wbdepth
=8
8038 gcc_target_cpu
="ppc"
8040 aros_kernel_ar_flags
="-cr"
8041 aros_kernel_ld
="ld -arch ppc"
8042 aros_kernel_as
="as -arch ppc"
8043 aros_kernel_ranlib
="ranlib -arch ppc"
8044 aros_kernel_nm
="nm -arch ppc"
8045 aros_kernel_strip
="strip -arch ppc"
8046 kernel_tool_prefix
="powerpc-apple-darwin10-"
8049 aros_ios_platform
="iPhoneOS"
8050 aros_target_cpu
="arm"
8051 aros_object_format
="armelf_linux_eabi"
8052 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8053 aros_arch_libs
="-laeabi"
8054 aros_default_wbdepth
=8
8055 gcc_target_cpu
="arm"
8057 aros_kernel_ar_flags
="-cr"
8058 aros_kernel_ld
="ld -arch arm"
8059 aros_kernel_ranlib
="ranlib -arch arm"
8060 kernel_tool_prefix
="arm-apple-darwin10-"
8061 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8064 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8067 case "$aros_target_variant" in
8069 aros_ios_version
="3.0"
8070 aros_default_wbwidth
=320
8071 aros_default_wbheight
=480
8072 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8073 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8074 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8076 # This is here because it may depend on iOS or SDK version
8077 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8078 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8079 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8082 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8083 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8089 aros_target_arch
="dragonfly"
8090 aros_target_family
="unix"
8091 aros_flavour
="emulation"
8092 case "$target_cpu" in
8094 aros_target_cpu
="i386"
8095 aros_object_format
="elf_i386"
8096 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8099 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8100 aros_target_cpu
="x86_64"
8101 aros_object_format
="elf_x86_64"
8102 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8105 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8111 aros_target_arch
="netbsd"
8112 aros_target_family
="unix"
8113 case "$target_cpu" in
8115 aros_target_cpu
="m68k"
8116 aros_object_format
="m68kelf"
8117 aros_flavour
="emulcompat"
8118 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8119 gcc_target_cpu
="mc68000"
8122 aros_target_cpu
="i386"
8123 aros_object_format
="elf_i386"
8124 aros_flavour
="emulation"
8125 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8126 aros_default_wbdepth
=8
8127 gcc_target_cpu
="i386"
8130 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8133 aros_target_genmap
="-Wl,-M -Xlinker >"
8134 aros_flavour
="emulation"
8135 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8139 aros_target_arch
="openbsd"
8140 aros_target_family
="unix"
8141 case "$target_cpu" in
8143 aros_target_cpu
="i386"
8144 aros_object_format
="elf_i386"
8145 aros_flavour
="emulation"
8146 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8147 gcc_target_cpu
="i386"
8150 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8153 aros_target_genmap
="-Wl,-M -Xlinker >"
8154 aros_target_nm_flags
="-u"
8155 aros_flavour
="emulation"
8159 aros_target_arch
="solaris"
8160 aros_target_family
="unix"
8161 case "$target_cpu" in
8163 aros_target_cpu
="i386"
8164 aros_object_format
="elf_i386"
8165 aros_flavour
="emulation"
8166 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8167 aros_default_wbdepth
=8
8168 gcc_target_cpu
="i386"
8171 aros_target_cpu
="sparc"
8172 aros_object_format
="elf_sparc"
8173 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8174 gcc_target_cpu
="sparc"
8177 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8180 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8181 aros_flavour
="emulation"
8185 aros_target_arch
="morphos"
8186 aros_shared_default
="no"
8187 aros_target_cpu
="ppc"
8188 aros_object_format
="elf_ppc"
8189 aros_flavour
="nativecompat"
8190 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8191 gcc_target_cpu
="ppc"
8195 aros_target_arch
="sam440"
8196 aros_shared_default
="no"
8197 aros_target_cpu
="ppc"
8198 aros_object_format
="elf32ppc"
8199 aros_flavour
="ppcnative"
8200 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8201 aros_kernel_ldflags
=""
8202 aros_default_wbwidth
=1024
8203 aros_default_wbheight
=768
8204 aros_default_wbdepth
=24
8205 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8206 gcc_target_cpu
="powerpc"
8210 aros_target_arch
="efika"
8211 aros_shared_default
="no"
8212 aros_target_cpu
="arm"
8213 aros_object_format
="armelf_linux_eabi"
8214 aros_flavour
="standalone"
8215 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8216 aros_kernel_ldflags
=""
8217 aros_default_wbwidth
=1024
8218 aros_default_wbheight
=600
8219 aros_arch_libs
="-laeabi"
8220 gcc_default_cpu
="armv7-a"
8221 gcc_default_fpu
="vfpv3"
8222 gcc_default_float_abi
="softfp"
8223 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8224 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8228 aros_target_arch
="chrp"
8229 aros_shared_default
="no"
8230 aros_target_cpu
="ppc"
8231 aros_object_format
="elf32ppc"
8232 aros_flavour
="ppcnative"
8233 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8234 aros_kernel_ldflags
=""
8235 aros_default_wbwidth
=640
8236 aros_default_wbheight
=480
8237 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8238 gcc_target_cpu
="powerpc"
8239 case "$aros_target_variant" in
8241 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8247 aros_flavour
="standalone"
8248 aros_target_arch
="raspi"
8249 aros_target_cpu
="arm"
8250 aros_object_format
="armelf_linux_eabi"
8251 aros_shared_default
="no"
8252 aros_arch_libs
="-laeabi"
8254 gcc_default_cpu
="armv6"
8255 gcc_default_cpu_tune
="arm1176jzf-s"
8256 case "$target_cpu" in
8258 gcc_default_fpu
="vfp"
8259 gcc_default_float_abi
="hard"
8262 gcc_default_fpu
="vfp"
8263 gcc_default_float_abi
="softfp"
8266 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8270 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8271 aros_config_cflags
="$aros_config_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8272 aros_config_aflags
="$aros_config_aflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8273 aros_kernel_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8274 aros_target_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8278 aros_flavour
="standalone"
8279 aros_target_arch
="raspidzy"
8280 aros_target_cpu
="arm"
8281 aros_object_format
="armelf_linux_eabi"
8282 aros_shared_default
="no"
8283 aros_arch_libs
="-laeabi"
8285 gcc_default_cpu
="armv6"
8286 gcc_default_cpu_tune
="arm1176jzf-s"
8287 case "$target_cpu" in
8289 gcc_default_fpu
="vfp"
8290 gcc_default_float_abi
="hard"
8293 gcc_default_fpu
="vfp"
8294 gcc_default_float_abi
="softfp"
8297 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8301 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8302 aros_config_cflags
="$aros_config_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8303 aros_config_aflags
="$aros_config_aflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8304 aros_kernel_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8305 aros_target_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8309 aros_target_arch
="amiga"
8310 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8311 aros_shared_default
="no"
8313 case "$target_cpu" in
8315 # Check whether --enable-amigaos_compliance was given.
8316 if test "${enable_amigaos_compliance+set}" = set; then :
8317 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8321 aros_target_cpu
="m68k"
8322 aros_object_format
="m68kelf"
8323 aros_flavour
="standcompat"
8324 gcc_target_cpu
="m68000"
8325 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -Os -DNOLIBINLINE"
8326 aros_config_aflags
="$aros_config_aflags"
8327 aros_target_strip_flags
="-R.comment --strip-debug"
8328 aros_default_wbwidth
=640
8329 aros_default_wbheight
=256
8330 aros_default_wbdepth
=2
8334 aros_flavour
="native"
8335 gcc_target_cpu
="ppc"
8338 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8344 aros_target_arch
="mingw32"
8345 aros_shared_default
="no"
8346 aros_flavour
="emulation"
8347 aros_shared_cflags
=""
8348 need_crosstools
="yes"
8351 case "$target_cpu" in
8353 aros_target_cpu
="i386"
8354 aros_object_format
="elf_i386"
8355 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8356 aros_default_wbdepth
=8
8357 gcc_target_cpu
="i386"
8359 kernel_tool_prefix
="i386-mingw32-"
8362 aros_target_cpu
="x86_64"
8363 aros_object_format
="elf_x86_64"
8364 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8365 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8366 aros_default_wbdepth
=8
8367 kernel_tool_prefix
="x86_64-w64-mingw32-"
8370 aros_target_cpu
="arm"
8371 aros_object_format
="armelf_linux_eabi"
8372 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8373 aros_arch_libs
="-laeabi"
8374 aros_default_wbdepth
=8
8375 gcc_target_cpu
="arm"
8376 gcc_default_float_abi
="soft"
8377 kernel_tool_prefix
="arm-mingw32ce-"
8378 aros_default_wbwidth
=160
8379 aros_default_wbheight
=160
8382 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8385 if test $host_os = "cygwin"; then
8386 aros_kernel_cflags
="-mno-cygwin"
8390 aros_target_arch
="pp"
8391 aros_shared_default
="no"
8392 case "$target_cpu" in
8394 aros_target_cpu
="m68k"
8395 aros_object_format
="m68kelf"
8396 aros_flavour
="palmnative"
8397 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8398 aros_default_wbwidth
=160
8399 aros_default_wbheight
=160
8400 aros_default_wbdepth
=1
8401 aros_target_ar_flags
="cru"
8402 aros_compiler_libs
="-lgcc1"
8403 aros_shared_default
=no
8404 aros_shared_cflags
="-fpic"
8405 aros_shared_aflags
=""
8406 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8407 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8408 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8409 aros_debug_aflags
=""
8410 aros_debug_ldflags
="$aros_symbols_debug"
8411 aros_mungwall_debug
="0"
8412 aros_modules_debug
="0"
8413 gcc_target_cpu
="mc68000"
8414 ignore_undefined_symbols
="-ius"
8417 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8423 aros_target_arch
="mac"
8424 aros_shared_default
="no"
8425 case "$target_cpu" in
8427 aros_target_cpu
="m68k"
8428 aros_object_format
="m68kelf"
8429 aros_flavour
="mac68knative"
8430 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8431 aros_default_wbwidth
=512
8432 aros_default_wbheight
=384
8433 aros_default_wbdepth
=8
8434 aros_target_ar_flags
="cru"
8435 aros_compiler_libs
="-lgcc1"
8436 aros_shared_default
=no
8437 aros_shared_cflags
="-fpic"
8438 aros_shared_aflags
=""
8439 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8440 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8441 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8442 aros_debug_aflags
=""
8443 aros_debug_ldflags
="$aros_symbols_debug"
8444 aros_mungwall_debug
="0"
8445 aros_modules_debug
="0"
8446 gcc_target_cpu
="mc68000"
8447 ignore_undefined_symbols
="-ius"
8450 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8456 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8460 #-----------------------------------------------------------------------------
8461 crosstools_guess
=yes
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8464 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8466 # Check whether --with-kernel-toolchain-prefix was given.
8467 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8468 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8472 $as_echo "$kernel_tool_prefix" >&6; }
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8475 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8477 # Check whether --with-elf-toolchain-prefix was given.
8478 if test "${with_elf_toolchain_prefix+set}" = set; then :
8479 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8484 $as_echo "$elf_tool_prefix" >&6; }
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8487 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8489 # Check whether --with-aros-toolchain was given.
8490 if test "${with_aros_toolchain+set}" = set; then :
8491 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8495 if test "$aros_tool_prefix" = "yes" ; then
8496 aros_tool_prefix
=$aros_target_cpu-aros-
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8499 $as_echo "$aros_tool_prefix" >&6; }
8501 #-----------------------------------------------------------------------------
8502 # Checking if we should build crosstools..
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8504 $as_echo_n "checking whether to build crosstools... " >&6; }
8505 # Check whether --enable-crosstools was given.
8506 if test "${enable_crosstools+set}" = set; then :
8507 enableval
=$enable_crosstools; crosstools
="$enableval"
8509 crosstools
="$crosstools_guess"
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8513 $as_echo "$crosstools" >&6; }
8515 if test "${crosstools}" = "yes"; then
8516 if test "${crosstools_guess}" = "no"; then
8517 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8522 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8524 # Check whether --with-aros-toolchain-install was given.
8525 if test "${with_aros_toolchain_install+set}" = set; then :
8526 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8529 if test "x$aros_toolchain_install" = "x"; then
8530 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8532 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8533 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8536 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8539 # Now process extra architecture-specific options.
8540 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8541 # as well as floating-point ABI.
8542 case "$aros_target_cpu" in
8544 if test "$gcc_default_cpu" = ""; then
8545 gcc_default_cpu
="armv6"
8547 if test "$gcc_default_fpu" = ""; then
8548 gcc_default_fpu
="vfp"
8550 if test "$gcc_default_float_abi" = ""; then
8551 gcc_default_float_abi
="softfp"
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8555 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8557 # Check whether --with-cpu was given.
8558 if test "${with_cpu+set}" = set; then :
8559 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8561 aros_gcc_cpu
=$gcc_default_cpu
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8565 $as_echo "$aros_gcc_cpu" >&6; }
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8568 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8570 # Check whether --with-fpu was given.
8571 if test "${with_fpu+set}" = set; then :
8572 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8574 aros_gcc_fpu
=$gcc_default_fpu
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8578 $as_echo "$aros_gcc_fpu" >&6; }
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8581 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8583 # Check whether --with-float was given.
8584 if test "${with_float+set}" = set; then :
8585 withval
=$with_float; aros_gcc_float_abi
="$withval"
8587 aros_gcc_float_abi
=$gcc_default_float_abi
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8591 $as_echo "$aros_gcc_float_abi" >&6; }
8593 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"
8594 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"
8598 # Some formats need custom ELF specs.
8599 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8600 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8601 elf_specs_in
=config
/${aros_object_format}-specs.
in
8603 elf_specs_in
=config
/elf-specs.
in
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8607 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8609 # Check whether --with-aros-gcc was given.
8610 if test "${with_aros_gcc+set}" = set; then :
8611 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8617 $as_echo "$aros_gcc_version" >&6; }
8619 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8620 # Since we override specs, we may need to put these defines there
8621 if test "$gcc_target_cpu" != ""; then
8622 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8626 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8628 # Check whether --with-portssources was given.
8629 if test "${with_portssources+set}" = set; then :
8630 withval
=$with_portssources; with_portssrcdir
=$withval
8632 with_portssrcdir
="default"
8635 if test "$with_portssrcdir" = "default"; then
8636 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8638 AROS_PORTSSRCDIR
="$with_portssrcdir"
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8641 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8644 $as_echo_n "checking which bootloader to use... " >&6; }
8646 # Check whether --with-bootloader was given.
8647 if test "${with_bootloader+set}" = set; then :
8648 withval
=$with_bootloader; target_bootloader
=$withval
8650 target_bootloader
=$target_bootloader
8653 if test "$target_bootloader" = "none"; then
8654 aros_target_bootloader
=""
8656 aros_target_bootloader
="$target_bootloader"
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8659 $as_echo "$target_bootloader" >&6; }
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8662 $as_echo_n "checking which icon-set to use... " >&6; }
8664 # Check whether --with-iconset was given.
8665 if test "${with_iconset+set}" = set; then :
8666 withval
=$with_iconset; target_iconset
=$withval
8668 target_iconset
="default"
8671 if test "$target_iconset" = "default"; then
8672 aros_target_iconset
="Gorilla"
8673 target_iconset
="default (Gorilla)"
8675 aros_target_iconset
="$target_iconset"
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8678 $as_echo "$target_iconset" >&6; }
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8681 $as_echo_n "checking which GUI Theme to use... " >&6; }
8683 # Check whether --with-theme was given.
8684 if test "${with_theme+set}" = set; then :
8685 withval
=$with_theme; target_guitheme
=$withval
8687 target_guitheme
="default"
8690 if test "$target_guitheme" = "default"; then
8691 aros_target_guitheme
="Ice"
8693 aros_target_guitheme
="$target_guitheme"
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8696 $as_echo "$aros_target_guitheme" >&6; }
8698 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8702 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8706 if test "$aros_host_cpu" == "x86_64" ; then
8707 if test "$aros_target_cpu" == "i386" ; then
8712 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8713 if test "$aros_host_arch" != "$aros_target_arch" ; then
8717 if test "$host_cc_elf" = "no" ; then
8722 if test "$cross_compiling" = "no" ; then
8723 kernel_tool_prefix
=""
8724 if test "$host_cc_elf" = "yes" ; then
8729 #######################################################################
8730 ## Compute what toolchains to use, and their paths ##
8731 #######################################################################
8733 # This takes, as input:
8734 # crosstools {yes,no}
8735 # kernel_tool_version {"",[version]}
8736 # aros_gcc_version {"",[version]}
8737 # kernel_tool_prefix {none,[some-arch-os-]}
8738 # target_tool_prefix ${aros_target_cpu}-aros-
8739 # aros_tool_prefix ${aros_target_cpu}-aros-
8742 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8743 # Where the 'kernel' binaries are located
8744 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8745 # Where the 'target' binaries are located
8746 # (not the symlink farm - that is aros_target_*!)
8749 # if crosstools then
8750 # if kernel_tools_prefix = "no-kernel-prefix-"
8751 # aros_kernel_* = crosstools cc paths
8752 # aros_kernel_cc = elf cc wrapper around crosstools cc
8754 # VALIDATE(${kernel_tools_prefix}*)
8755 # aros_kernel_* = ${kernel_tools_prefix}*
8756 # if ${kernel_tools_prefix}cc is an AROS gcc
8757 # aros_kernel_cc = ${kernel_tools_prefix}cc
8759 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8763 # orig_target_* = aros built crosstools
8764 # orig_target_cc = elf cc wrapper around crosstools cc
8766 # VALIDATE(${kernel_tools_prefix}*)
8768 # orig_target_* = aros_kernel_*
8769 # if aros_kernel_cc is an AROS gcc
8770 # orig_target_cc = aros_kernel_cc
8772 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8776 target_tool_prefix
="${aros_target_cpu}-aros-"
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8779 $as_echo_n "checking which kernel tools... " >&6; }
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8781 $as_echo "$kernel_tool_prefix" >&6; };
8783 if test "$kernel_tool_prefix" = "none" ; then
8784 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8785 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8788 # Kernel tools required - find them
8789 # Note that 'normally', aros_kernel_* overrides will be
8790 # empty, unless specified in the per-arch sections above.
8791 if test "x$aros_kernel_cpp" = "x"; then
8792 aros_kernel_cpp
=${kernel_tool_prefix}cpp
8795 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
8796 if test "$cross_compiling" = "yes" ; then
8797 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8798 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8800 $as_echo_n "checking for $ac_word... " >&6; }
8801 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8802 $as_echo_n "(cached) " >&6
8804 case $aros_kernel_cpp in
8806 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8813 test -z "$as_dir" && as_dir
=.
8814 for ac_exec_ext
in '' $ac_executable_extensions; do
8815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8816 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8827 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8828 if test -n "$aros_kernel_cpp"; then
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8830 $as_echo "$aros_kernel_cpp" >&6; }
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8833 $as_echo "no" >&6; }
8838 if test "$GCC" = "yes"; then
8839 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8840 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8841 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8843 $as_echo_n "checking for $ac_word... " >&6; }
8844 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8845 $as_echo_n "(cached) " >&6
8847 case $aros_kernel_cpp in
8849 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8853 for as_dir
in `dirname $aros_gcc_cpp`
8856 test -z "$as_dir" && as_dir
=.
8857 for ac_exec_ext
in '' $ac_executable_extensions; do
8858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8859 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8870 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8871 if test -n "$aros_kernel_cpp"; then
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8873 $as_echo "$aros_kernel_cpp" >&6; }
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8876 $as_echo "no" >&6; }
8881 if test "$aros_kernel_cpp" = ""; then
8882 # Extract the first word of "cpp", so it can be a program name with args.
8883 set dummy cpp
; ac_word
=$2
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8885 $as_echo_n "checking for $ac_word... " >&6; }
8886 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8887 $as_echo_n "(cached) " >&6
8889 case $aros_kernel_cpp in
8891 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8898 test -z "$as_dir" && as_dir
=.
8899 for ac_exec_ext
in '' $ac_executable_extensions; do
8900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8901 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8912 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8913 if test -n "$aros_kernel_cpp"; then
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8915 $as_echo "$aros_kernel_cpp" >&6; }
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8918 $as_echo "no" >&6; }
8925 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
8926 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8928 $as_echo_n "checking for $ac_word... " >&6; }
8929 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8930 $as_echo_n "(cached) " >&6
8932 case $aros_kernel_cpp in
8934 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8941 test -z "$as_dir" && as_dir
=.
8942 for ac_exec_ext
in '' $ac_executable_extensions; do
8943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8944 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8955 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8956 if test -n "$aros_kernel_cpp"; then
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8958 $as_echo "$aros_kernel_cpp" >&6; }
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8961 $as_echo "no" >&6; }
8967 if test "$aros_kernel_cpp" = ""; then
8968 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8970 if test "x$aros_kernel_cc" = "x"; then
8971 aros_kernel_cc
=${kernel_tool_prefix}gcc
8974 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
8975 if test "$cross_compiling" = "yes" ; then
8976 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8977 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8979 $as_echo_n "checking for $ac_word... " >&6; }
8980 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8981 $as_echo_n "(cached) " >&6
8983 case $aros_kernel_cc in
8985 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8992 test -z "$as_dir" && as_dir
=.
8993 for ac_exec_ext
in '' $ac_executable_extensions; do
8994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8995 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9006 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9007 if test -n "$aros_kernel_cc"; then
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9009 $as_echo "$aros_kernel_cc" >&6; }
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9012 $as_echo "no" >&6; }
9017 if test "$GCC" = "yes"; then
9018 aros_gcc_cc
=`$CC -print-prog-name=cc`
9019 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9020 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9022 $as_echo_n "checking for $ac_word... " >&6; }
9023 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9024 $as_echo_n "(cached) " >&6
9026 case $aros_kernel_cc in
9028 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9032 for as_dir
in `dirname $aros_gcc_cc`
9035 test -z "$as_dir" && as_dir
=.
9036 for ac_exec_ext
in '' $ac_executable_extensions; do
9037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9038 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9049 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9050 if test -n "$aros_kernel_cc"; then
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9052 $as_echo "$aros_kernel_cc" >&6; }
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9055 $as_echo "no" >&6; }
9060 if test "$aros_kernel_cc" = ""; then
9061 # Extract the first word of "cc", so it can be a program name with args.
9062 set dummy cc
; ac_word
=$2
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9064 $as_echo_n "checking for $ac_word... " >&6; }
9065 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9066 $as_echo_n "(cached) " >&6
9068 case $aros_kernel_cc in
9070 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9077 test -z "$as_dir" && as_dir
=.
9078 for ac_exec_ext
in '' $ac_executable_extensions; do
9079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9080 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9091 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9092 if test -n "$aros_kernel_cc"; then
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9094 $as_echo "$aros_kernel_cc" >&6; }
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9097 $as_echo "no" >&6; }
9104 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9105 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9107 $as_echo_n "checking for $ac_word... " >&6; }
9108 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9109 $as_echo_n "(cached) " >&6
9111 case $aros_kernel_cc in
9113 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9120 test -z "$as_dir" && as_dir
=.
9121 for ac_exec_ext
in '' $ac_executable_extensions; do
9122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9123 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9134 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9135 if test -n "$aros_kernel_cc"; then
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9137 $as_echo "$aros_kernel_cc" >&6; }
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9140 $as_echo "no" >&6; }
9146 if test "$aros_kernel_cc" = ""; then
9147 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9149 if test "x$aros_kernel_cxx" = "x"; then
9150 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9153 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9154 if test "$cross_compiling" = "yes" ; then
9155 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9156 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9158 $as_echo_n "checking for $ac_word... " >&6; }
9159 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9160 $as_echo_n "(cached) " >&6
9162 case $aros_kernel_cxx in
9164 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9171 test -z "$as_dir" && as_dir
=.
9172 for ac_exec_ext
in '' $ac_executable_extensions; do
9173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9174 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9185 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9186 if test -n "$aros_kernel_cxx"; then
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9188 $as_echo "$aros_kernel_cxx" >&6; }
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9191 $as_echo "no" >&6; }
9196 if test "$GCC" = "yes"; then
9197 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9198 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9199 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9201 $as_echo_n "checking for $ac_word... " >&6; }
9202 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9203 $as_echo_n "(cached) " >&6
9205 case $aros_kernel_cxx in
9207 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9211 for as_dir
in `dirname $aros_gcc_cxx`
9214 test -z "$as_dir" && as_dir
=.
9215 for ac_exec_ext
in '' $ac_executable_extensions; do
9216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9217 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9228 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9229 if test -n "$aros_kernel_cxx"; then
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9231 $as_echo "$aros_kernel_cxx" >&6; }
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9234 $as_echo "no" >&6; }
9239 if test "$aros_kernel_cxx" = ""; then
9240 # Extract the first word of "cxx", so it can be a program name with args.
9241 set dummy cxx
; ac_word
=$2
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9243 $as_echo_n "checking for $ac_word... " >&6; }
9244 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9245 $as_echo_n "(cached) " >&6
9247 case $aros_kernel_cxx in
9249 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9256 test -z "$as_dir" && as_dir
=.
9257 for ac_exec_ext
in '' $ac_executable_extensions; do
9258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9259 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9270 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9271 if test -n "$aros_kernel_cxx"; then
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9273 $as_echo "$aros_kernel_cxx" >&6; }
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9276 $as_echo "no" >&6; }
9283 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9284 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9286 $as_echo_n "checking for $ac_word... " >&6; }
9287 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9288 $as_echo_n "(cached) " >&6
9290 case $aros_kernel_cxx in
9292 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9299 test -z "$as_dir" && as_dir
=.
9300 for ac_exec_ext
in '' $ac_executable_extensions; do
9301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9302 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9313 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9314 if test -n "$aros_kernel_cxx"; then
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9316 $as_echo "$aros_kernel_cxx" >&6; }
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9319 $as_echo "no" >&6; }
9325 # If it's set, make sure it's really there
9326 if test "x$aros_kernel_cxx" != "x" ; then
9327 if test "$aros_kernel_cxx" = ""; then
9328 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9332 if test "$aros_kernel_ld" = ""; then
9333 if test "$cross_compiling" = "yes" ; then
9334 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9335 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9337 $as_echo_n "checking for $ac_word... " >&6; }
9338 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9339 $as_echo_n "(cached) " >&6
9341 case $aros_kernel_ld in
9343 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9350 test -z "$as_dir" && as_dir
=.
9351 for ac_exec_ext
in '' $ac_executable_extensions; do
9352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9353 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9364 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9365 if test -n "$aros_kernel_ld"; then
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9367 $as_echo "$aros_kernel_ld" >&6; }
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9370 $as_echo "no" >&6; }
9375 if test "$GCC" = "yes"; then
9376 aros_gcc_ld
=`$CC -print-prog-name=ld`
9377 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9378 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9380 $as_echo_n "checking for $ac_word... " >&6; }
9381 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9382 $as_echo_n "(cached) " >&6
9384 case $aros_kernel_ld in
9386 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9390 for as_dir
in `dirname $aros_gcc_ld`
9393 test -z "$as_dir" && as_dir
=.
9394 for ac_exec_ext
in '' $ac_executable_extensions; do
9395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9396 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9407 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9408 if test -n "$aros_kernel_ld"; then
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9410 $as_echo "$aros_kernel_ld" >&6; }
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9413 $as_echo "no" >&6; }
9418 if test "$aros_kernel_ld" = ""; then
9419 # Extract the first word of "ld", so it can be a program name with args.
9420 set dummy ld
; ac_word
=$2
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9422 $as_echo_n "checking for $ac_word... " >&6; }
9423 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9424 $as_echo_n "(cached) " >&6
9426 case $aros_kernel_ld in
9428 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9435 test -z "$as_dir" && as_dir
=.
9436 for ac_exec_ext
in '' $ac_executable_extensions; do
9437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9438 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9449 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9450 if test -n "$aros_kernel_ld"; then
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9452 $as_echo "$aros_kernel_ld" >&6; }
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9455 $as_echo "no" >&6; }
9462 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9463 set dummy
$aros_kernel_ld; ac_word
=$2
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9465 $as_echo_n "checking for $ac_word... " >&6; }
9466 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9467 $as_echo_n "(cached) " >&6
9469 case $aros_kernel_ld in
9471 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9478 test -z "$as_dir" && as_dir
=.
9479 for ac_exec_ext
in '' $ac_executable_extensions; do
9480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9481 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9492 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9493 if test -n "$aros_kernel_ld"; then
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9495 $as_echo "$aros_kernel_ld" >&6; }
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9498 $as_echo "no" >&6; }
9504 if test "$aros_kernel_ld" = ""; then
9505 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9508 if test "$aros_kernel_as" = ""; then
9509 if test "$cross_compiling" = "yes" ; then
9510 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9511 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9513 $as_echo_n "checking for $ac_word... " >&6; }
9514 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9515 $as_echo_n "(cached) " >&6
9517 case $aros_kernel_as in
9519 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9526 test -z "$as_dir" && as_dir
=.
9527 for ac_exec_ext
in '' $ac_executable_extensions; do
9528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9529 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9540 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9541 if test -n "$aros_kernel_as"; then
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9543 $as_echo "$aros_kernel_as" >&6; }
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9546 $as_echo "no" >&6; }
9551 if test "$GCC" = "yes"; then
9552 aros_gcc_as
=`$CC -print-prog-name=as`
9553 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9554 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9556 $as_echo_n "checking for $ac_word... " >&6; }
9557 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9558 $as_echo_n "(cached) " >&6
9560 case $aros_kernel_as in
9562 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9566 for as_dir
in `dirname $aros_gcc_as`
9569 test -z "$as_dir" && as_dir
=.
9570 for ac_exec_ext
in '' $ac_executable_extensions; do
9571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9572 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9583 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9584 if test -n "$aros_kernel_as"; then
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9586 $as_echo "$aros_kernel_as" >&6; }
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9589 $as_echo "no" >&6; }
9594 if test "$aros_kernel_as" = ""; then
9595 # Extract the first word of "as", so it can be a program name with args.
9596 set dummy as
; ac_word
=$2
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9598 $as_echo_n "checking for $ac_word... " >&6; }
9599 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9600 $as_echo_n "(cached) " >&6
9602 case $aros_kernel_as in
9604 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9611 test -z "$as_dir" && as_dir
=.
9612 for ac_exec_ext
in '' $ac_executable_extensions; do
9613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9614 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9625 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9626 if test -n "$aros_kernel_as"; then
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9628 $as_echo "$aros_kernel_as" >&6; }
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9631 $as_echo "no" >&6; }
9638 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9639 set dummy
$aros_kernel_as; ac_word
=$2
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9641 $as_echo_n "checking for $ac_word... " >&6; }
9642 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9643 $as_echo_n "(cached) " >&6
9645 case $aros_kernel_as in
9647 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9654 test -z "$as_dir" && as_dir
=.
9655 for ac_exec_ext
in '' $ac_executable_extensions; do
9656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9657 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9668 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9669 if test -n "$aros_kernel_as"; then
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9671 $as_echo "$aros_kernel_as" >&6; }
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9674 $as_echo "no" >&6; }
9680 if test "$aros_kernel_as" = ""; then
9681 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9684 if test "$aros_kernel_ar" = ""; then
9685 if test "$cross_compiling" = "yes" ; then
9686 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9687 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9689 $as_echo_n "checking for $ac_word... " >&6; }
9690 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9691 $as_echo_n "(cached) " >&6
9693 case $aros_kernel_ar in
9695 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9702 test -z "$as_dir" && as_dir
=.
9703 for ac_exec_ext
in '' $ac_executable_extensions; do
9704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9705 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9716 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9717 if test -n "$aros_kernel_ar"; then
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9719 $as_echo "$aros_kernel_ar" >&6; }
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9722 $as_echo "no" >&6; }
9727 if test "$GCC" = "yes"; then
9728 aros_gcc_ar
=`$CC -print-prog-name=ar`
9729 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9730 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9732 $as_echo_n "checking for $ac_word... " >&6; }
9733 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9734 $as_echo_n "(cached) " >&6
9736 case $aros_kernel_ar in
9738 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9742 for as_dir
in `dirname $aros_gcc_ar`
9745 test -z "$as_dir" && as_dir
=.
9746 for ac_exec_ext
in '' $ac_executable_extensions; do
9747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9748 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9759 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9760 if test -n "$aros_kernel_ar"; then
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9762 $as_echo "$aros_kernel_ar" >&6; }
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9765 $as_echo "no" >&6; }
9770 if test "$aros_kernel_ar" = ""; then
9771 # Extract the first word of "ar", so it can be a program name with args.
9772 set dummy
ar; ac_word
=$2
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9774 $as_echo_n "checking for $ac_word... " >&6; }
9775 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9776 $as_echo_n "(cached) " >&6
9778 case $aros_kernel_ar in
9780 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9787 test -z "$as_dir" && as_dir
=.
9788 for ac_exec_ext
in '' $ac_executable_extensions; do
9789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9790 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9801 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9802 if test -n "$aros_kernel_ar"; then
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9804 $as_echo "$aros_kernel_ar" >&6; }
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9807 $as_echo "no" >&6; }
9814 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9815 set dummy
$aros_kernel_ar; ac_word
=$2
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9817 $as_echo_n "checking for $ac_word... " >&6; }
9818 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9819 $as_echo_n "(cached) " >&6
9821 case $aros_kernel_ar in
9823 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9830 test -z "$as_dir" && as_dir
=.
9831 for ac_exec_ext
in '' $ac_executable_extensions; do
9832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9833 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9844 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9845 if test -n "$aros_kernel_ar"; then
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9847 $as_echo "$aros_kernel_ar" >&6; }
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9850 $as_echo "no" >&6; }
9856 if test "$aros_kernel_ar" = ""; then
9857 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9860 if test "$aros_kernel_ranlib" = ""; then
9861 if test "$cross_compiling" = "yes" ; then
9862 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9863 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9865 $as_echo_n "checking for $ac_word... " >&6; }
9866 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9867 $as_echo_n "(cached) " >&6
9869 case $aros_kernel_ranlib in
9871 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9878 test -z "$as_dir" && as_dir
=.
9879 for ac_exec_ext
in '' $ac_executable_extensions; do
9880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9881 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9892 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9893 if test -n "$aros_kernel_ranlib"; then
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9895 $as_echo "$aros_kernel_ranlib" >&6; }
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9898 $as_echo "no" >&6; }
9903 if test "$GCC" = "yes"; then
9904 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9905 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9906 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9908 $as_echo_n "checking for $ac_word... " >&6; }
9909 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9910 $as_echo_n "(cached) " >&6
9912 case $aros_kernel_ranlib in
9914 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9918 for as_dir
in `dirname $aros_gcc_ranlib`
9921 test -z "$as_dir" && as_dir
=.
9922 for ac_exec_ext
in '' $ac_executable_extensions; do
9923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9924 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9935 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9936 if test -n "$aros_kernel_ranlib"; then
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9938 $as_echo "$aros_kernel_ranlib" >&6; }
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9941 $as_echo "no" >&6; }
9946 if test "$aros_kernel_ranlib" = ""; then
9947 # Extract the first word of "ranlib", so it can be a program name with args.
9948 set dummy ranlib
; ac_word
=$2
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9950 $as_echo_n "checking for $ac_word... " >&6; }
9951 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9952 $as_echo_n "(cached) " >&6
9954 case $aros_kernel_ranlib in
9956 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9963 test -z "$as_dir" && as_dir
=.
9964 for ac_exec_ext
in '' $ac_executable_extensions; do
9965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9966 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9977 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9978 if test -n "$aros_kernel_ranlib"; then
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9980 $as_echo "$aros_kernel_ranlib" >&6; }
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9983 $as_echo "no" >&6; }
9990 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9991 set dummy
$aros_kernel_ranlib; ac_word
=$2
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9993 $as_echo_n "checking for $ac_word... " >&6; }
9994 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9995 $as_echo_n "(cached) " >&6
9997 case $aros_kernel_ranlib in
9999 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10003 for as_dir
in $PATH
10006 test -z "$as_dir" && as_dir
=.
10007 for ac_exec_ext
in '' $ac_executable_extensions; do
10008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10009 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10020 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10021 if test -n "$aros_kernel_ranlib"; then
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10023 $as_echo "$aros_kernel_ranlib" >&6; }
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10026 $as_echo "no" >&6; }
10032 if test "$aros_kernel_ranlib" = ""; then
10033 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10036 if test "$aros_kernel_nm" = ""; then
10037 if test "$cross_compiling" = "yes" ; then
10038 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10039 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10041 $as_echo_n "checking for $ac_word... " >&6; }
10042 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10043 $as_echo_n "(cached) " >&6
10045 case $aros_kernel_nm in
10047 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10051 for as_dir
in $PATH
10054 test -z "$as_dir" && as_dir
=.
10055 for ac_exec_ext
in '' $ac_executable_extensions; do
10056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10057 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10068 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10069 if test -n "$aros_kernel_nm"; then
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10071 $as_echo "$aros_kernel_nm" >&6; }
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10074 $as_echo "no" >&6; }
10079 if test "$GCC" = "yes"; then
10080 aros_gcc_nm
=`$CC -print-prog-name=nm`
10081 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10082 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10084 $as_echo_n "checking for $ac_word... " >&6; }
10085 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10086 $as_echo_n "(cached) " >&6
10088 case $aros_kernel_nm in
10090 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10094 for as_dir
in `dirname $aros_gcc_nm`
10097 test -z "$as_dir" && as_dir
=.
10098 for ac_exec_ext
in '' $ac_executable_extensions; do
10099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10100 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10111 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10112 if test -n "$aros_kernel_nm"; then
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10114 $as_echo "$aros_kernel_nm" >&6; }
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10117 $as_echo "no" >&6; }
10122 if test "$aros_kernel_nm" = ""; then
10123 # Extract the first word of "nm", so it can be a program name with args.
10124 set dummy nm
; ac_word
=$2
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10126 $as_echo_n "checking for $ac_word... " >&6; }
10127 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10128 $as_echo_n "(cached) " >&6
10130 case $aros_kernel_nm in
10132 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10136 for as_dir
in $PATH
10139 test -z "$as_dir" && as_dir
=.
10140 for ac_exec_ext
in '' $ac_executable_extensions; do
10141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10142 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10153 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10154 if test -n "$aros_kernel_nm"; then
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10156 $as_echo "$aros_kernel_nm" >&6; }
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10159 $as_echo "no" >&6; }
10166 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10167 set dummy
$aros_kernel_nm; ac_word
=$2
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10169 $as_echo_n "checking for $ac_word... " >&6; }
10170 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10171 $as_echo_n "(cached) " >&6
10173 case $aros_kernel_nm in
10175 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10179 for as_dir
in $PATH
10182 test -z "$as_dir" && as_dir
=.
10183 for ac_exec_ext
in '' $ac_executable_extensions; do
10184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10185 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10196 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10197 if test -n "$aros_kernel_nm"; then
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10199 $as_echo "$aros_kernel_nm" >&6; }
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10202 $as_echo "no" >&6; }
10208 if test "$aros_kernel_nm" = ""; then
10209 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10212 if test "$aros_kernel_strip" = ""; then
10213 if test "$cross_compiling" = "yes" ; then
10214 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10215 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10217 $as_echo_n "checking for $ac_word... " >&6; }
10218 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10219 $as_echo_n "(cached) " >&6
10221 case $aros_kernel_strip in
10223 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10227 for as_dir
in $PATH
10230 test -z "$as_dir" && as_dir
=.
10231 for ac_exec_ext
in '' $ac_executable_extensions; do
10232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10233 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10244 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10245 if test -n "$aros_kernel_strip"; then
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10247 $as_echo "$aros_kernel_strip" >&6; }
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10250 $as_echo "no" >&6; }
10255 if test "$GCC" = "yes"; then
10256 aros_gcc_strip
=`$CC -print-prog-name=strip`
10257 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10258 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10260 $as_echo_n "checking for $ac_word... " >&6; }
10261 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10262 $as_echo_n "(cached) " >&6
10264 case $aros_kernel_strip in
10266 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10270 for as_dir
in `dirname $aros_gcc_strip`
10273 test -z "$as_dir" && as_dir
=.
10274 for ac_exec_ext
in '' $ac_executable_extensions; do
10275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10276 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10287 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10288 if test -n "$aros_kernel_strip"; then
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10290 $as_echo "$aros_kernel_strip" >&6; }
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10293 $as_echo "no" >&6; }
10298 if test "$aros_kernel_strip" = ""; then
10299 # Extract the first word of "strip", so it can be a program name with args.
10300 set dummy strip
; ac_word
=$2
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10302 $as_echo_n "checking for $ac_word... " >&6; }
10303 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10304 $as_echo_n "(cached) " >&6
10306 case $aros_kernel_strip in
10308 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10312 for as_dir
in $PATH
10315 test -z "$as_dir" && as_dir
=.
10316 for ac_exec_ext
in '' $ac_executable_extensions; do
10317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10318 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10329 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10330 if test -n "$aros_kernel_strip"; then
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10332 $as_echo "$aros_kernel_strip" >&6; }
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10335 $as_echo "no" >&6; }
10342 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10343 set dummy
$aros_kernel_strip; ac_word
=$2
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10345 $as_echo_n "checking for $ac_word... " >&6; }
10346 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10347 $as_echo_n "(cached) " >&6
10349 case $aros_kernel_strip in
10351 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10355 for as_dir
in $PATH
10358 test -z "$as_dir" && as_dir
=.
10359 for ac_exec_ext
in '' $ac_executable_extensions; do
10360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10361 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10372 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10373 if test -n "$aros_kernel_strip"; then
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10375 $as_echo "$aros_kernel_strip" >&6; }
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10378 $as_echo "no" >&6; }
10384 if test "$aros_kernel_strip" = ""; then
10385 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10388 # Objcopy and objdump are not required for the kernel
10389 # toolchain on many architectures.
10390 # So we'll look for them, but not make them strictly required.
10392 if test "$aros_kernel_objcopy" = ""; then
10393 if test "$cross_compiling" = "yes" ; then
10394 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10395 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10397 $as_echo_n "checking for $ac_word... " >&6; }
10398 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10399 $as_echo_n "(cached) " >&6
10401 case $aros_kernel_objcopy in
10403 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10407 for as_dir
in $PATH
10410 test -z "$as_dir" && as_dir
=.
10411 for ac_exec_ext
in '' $ac_executable_extensions; do
10412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10413 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10424 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10425 if test -n "$aros_kernel_objcopy"; then
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10427 $as_echo "$aros_kernel_objcopy" >&6; }
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10430 $as_echo "no" >&6; }
10435 if test "$GCC" = "yes"; then
10436 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10437 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10438 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10440 $as_echo_n "checking for $ac_word... " >&6; }
10441 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10442 $as_echo_n "(cached) " >&6
10444 case $aros_kernel_objcopy in
10446 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10450 for as_dir
in `dirname $aros_gcc_objcopy`
10453 test -z "$as_dir" && as_dir
=.
10454 for ac_exec_ext
in '' $ac_executable_extensions; do
10455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10456 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10467 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10468 if test -n "$aros_kernel_objcopy"; then
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10470 $as_echo "$aros_kernel_objcopy" >&6; }
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10473 $as_echo "no" >&6; }
10478 if test "$aros_kernel_objcopy" = ""; then
10479 # Extract the first word of "objcopy", so it can be a program name with args.
10480 set dummy objcopy
; ac_word
=$2
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10482 $as_echo_n "checking for $ac_word... " >&6; }
10483 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10484 $as_echo_n "(cached) " >&6
10486 case $aros_kernel_objcopy in
10488 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10492 for as_dir
in $PATH
10495 test -z "$as_dir" && as_dir
=.
10496 for ac_exec_ext
in '' $ac_executable_extensions; do
10497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10498 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10509 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10510 if test -n "$aros_kernel_objcopy"; then
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10512 $as_echo "$aros_kernel_objcopy" >&6; }
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10515 $as_echo "no" >&6; }
10522 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10523 set dummy
$aros_kernel_objcopy; ac_word
=$2
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10525 $as_echo_n "checking for $ac_word... " >&6; }
10526 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10527 $as_echo_n "(cached) " >&6
10529 case $aros_kernel_objcopy in
10531 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10535 for as_dir
in $PATH
10538 test -z "$as_dir" && as_dir
=.
10539 for ac_exec_ext
in '' $ac_executable_extensions; do
10540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10541 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10552 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10553 if test -n "$aros_kernel_objcopy"; then
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10555 $as_echo "$aros_kernel_objcopy" >&6; }
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10558 $as_echo "no" >&6; }
10565 if test "$aros_kernel_objdump" = ""; then
10566 if test "$cross_compiling" = "yes" ; then
10567 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10568 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10570 $as_echo_n "checking for $ac_word... " >&6; }
10571 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10572 $as_echo_n "(cached) " >&6
10574 case $aros_kernel_objdump in
10576 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10580 for as_dir
in $PATH
10583 test -z "$as_dir" && as_dir
=.
10584 for ac_exec_ext
in '' $ac_executable_extensions; do
10585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10586 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10597 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10598 if test -n "$aros_kernel_objdump"; then
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10600 $as_echo "$aros_kernel_objdump" >&6; }
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10603 $as_echo "no" >&6; }
10608 if test "$GCC" = "yes"; then
10609 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10610 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10611 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10613 $as_echo_n "checking for $ac_word... " >&6; }
10614 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10615 $as_echo_n "(cached) " >&6
10617 case $aros_kernel_objdump in
10619 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10623 for as_dir
in `dirname $aros_gcc_objdump`
10626 test -z "$as_dir" && as_dir
=.
10627 for ac_exec_ext
in '' $ac_executable_extensions; do
10628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10629 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10640 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10641 if test -n "$aros_kernel_objdump"; then
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10643 $as_echo "$aros_kernel_objdump" >&6; }
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10646 $as_echo "no" >&6; }
10651 if test "$aros_kernel_objdump" = ""; then
10652 # Extract the first word of "objdump", so it can be a program name with args.
10653 set dummy objdump
; ac_word
=$2
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10655 $as_echo_n "checking for $ac_word... " >&6; }
10656 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10657 $as_echo_n "(cached) " >&6
10659 case $aros_kernel_objdump in
10661 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10665 for as_dir
in $PATH
10668 test -z "$as_dir" && as_dir
=.
10669 for ac_exec_ext
in '' $ac_executable_extensions; do
10670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10671 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10682 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10683 if test -n "$aros_kernel_objdump"; then
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10685 $as_echo "$aros_kernel_objdump" >&6; }
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10688 $as_echo "no" >&6; }
10695 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10696 set dummy
$aros_kernel_objdump; ac_word
=$2
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10698 $as_echo_n "checking for $ac_word... " >&6; }
10699 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10700 $as_echo_n "(cached) " >&6
10702 case $aros_kernel_objdump in
10704 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10708 for as_dir
in $PATH
10711 test -z "$as_dir" && as_dir
=.
10712 for ac_exec_ext
in '' $ac_executable_extensions; do
10713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10714 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10725 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10726 if test -n "$aros_kernel_objdump"; then
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10728 $as_echo "$aros_kernel_objdump" >&6; }
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10731 $as_echo "no" >&6; }
10737 if test "x${crosstools}" != "xyes" ; then
10738 if test "$aros_kernel_objcopy" = ""; then
10739 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10741 if test "$aros_kernel_objdump" = ""; then
10742 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10748 $as_echo_n "checking which target tools to use... " >&6; }
10749 if test "$crosstools" = "yes"; then
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10751 $as_echo "$target_tool_prefix" >&6; }
10752 # We are are building AROS crosstools
10753 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10754 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10755 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10756 orig_target_cpp
="${tmp_tool_prefix}cpp"
10757 orig_target_ld
="${tmp_tool_prefix}ld"
10758 orig_target_as
="${tmp_tool_prefix}as"
10759 orig_target_ar
="${tmp_tool_prefix}ar"
10760 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10761 orig_target_nm
="${tmp_tool_prefix}nm"
10762 orig_target_strip
="${tmp_tool_prefix}strip"
10763 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10764 orig_target_objdump
="${tmp_tool_prefix}objdump"
10766 # Determine whether AROS or ELF tools should be used
10767 if test "$aros_tool_prefix" = "none"; then
10768 aros_tool_prefix
="${elf_tool_prefix}"
10769 crosstools_cxx_target
=tools-crosstools
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10773 $as_echo "$aros_tool_prefix" >&6; }
10774 # We are *not* building AROS crosstools - use the AROS or ELF tools
10776 if test "${aros_tool_prefix}cpp" = ""; then
10777 if test "$cross_compiling" = "yes" ; then
10778 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10779 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10781 $as_echo_n "checking for $ac_word... " >&6; }
10782 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10783 $as_echo_n "(cached) " >&6
10785 case $orig_target_cpp in
10787 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10791 for as_dir
in $PATH
10794 test -z "$as_dir" && as_dir
=.
10795 for ac_exec_ext
in '' $ac_executable_extensions; do
10796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10797 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10808 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10809 if test -n "$orig_target_cpp"; then
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10811 $as_echo "$orig_target_cpp" >&6; }
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10814 $as_echo "no" >&6; }
10819 if test "$GCC" = "yes"; then
10820 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10821 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10822 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10824 $as_echo_n "checking for $ac_word... " >&6; }
10825 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10826 $as_echo_n "(cached) " >&6
10828 case $orig_target_cpp in
10830 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10834 for as_dir
in `dirname $aros_gcc_cpp`
10837 test -z "$as_dir" && as_dir
=.
10838 for ac_exec_ext
in '' $ac_executable_extensions; do
10839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10840 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10851 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10852 if test -n "$orig_target_cpp"; then
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10854 $as_echo "$orig_target_cpp" >&6; }
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10857 $as_echo "no" >&6; }
10862 if test "$orig_target_cpp" = ""; then
10863 # Extract the first word of "cpp", so it can be a program name with args.
10864 set dummy cpp
; ac_word
=$2
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10866 $as_echo_n "checking for $ac_word... " >&6; }
10867 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10868 $as_echo_n "(cached) " >&6
10870 case $orig_target_cpp in
10872 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10876 for as_dir
in $PATH
10879 test -z "$as_dir" && as_dir
=.
10880 for ac_exec_ext
in '' $ac_executable_extensions; do
10881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10882 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10893 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10894 if test -n "$orig_target_cpp"; then
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10896 $as_echo "$orig_target_cpp" >&6; }
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10899 $as_echo "no" >&6; }
10906 # Extract the first word of "${aros_tool_prefix}cpp", so it can be a program name with args.
10907 set dummy
${aros_tool_prefix}cpp
; ac_word
=$2
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10909 $as_echo_n "checking for $ac_word... " >&6; }
10910 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10911 $as_echo_n "(cached) " >&6
10913 case $orig_target_cpp in
10915 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10919 for as_dir
in $PATH
10922 test -z "$as_dir" && as_dir
=.
10923 for ac_exec_ext
in '' $ac_executable_extensions; do
10924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10925 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10936 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10937 if test -n "$orig_target_cpp"; then
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10939 $as_echo "$orig_target_cpp" >&6; }
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10942 $as_echo "no" >&6; }
10948 if test "$orig_target_cpp" = ""; then
10949 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10952 if test "${aros_tool_prefix}gcc" = ""; then
10953 if test "$cross_compiling" = "yes" ; then
10954 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10955 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10957 $as_echo_n "checking for $ac_word... " >&6; }
10958 if ${ac_cv_path_orig_target_cc+:} false
; then :
10959 $as_echo_n "(cached) " >&6
10961 case $orig_target_cc in
10963 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10967 for as_dir
in $PATH
10970 test -z "$as_dir" && as_dir
=.
10971 for ac_exec_ext
in '' $ac_executable_extensions; do
10972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10973 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10984 orig_target_cc
=$ac_cv_path_orig_target_cc
10985 if test -n "$orig_target_cc"; then
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10987 $as_echo "$orig_target_cc" >&6; }
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10990 $as_echo "no" >&6; }
10995 if test "$GCC" = "yes"; then
10996 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10997 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10998 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11000 $as_echo_n "checking for $ac_word... " >&6; }
11001 if ${ac_cv_path_orig_target_cc+:} false
; then :
11002 $as_echo_n "(cached) " >&6
11004 case $orig_target_cc in
11006 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11010 for as_dir
in `dirname $aros_gcc_gcc`
11013 test -z "$as_dir" && as_dir
=.
11014 for ac_exec_ext
in '' $ac_executable_extensions; do
11015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11016 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11027 orig_target_cc
=$ac_cv_path_orig_target_cc
11028 if test -n "$orig_target_cc"; then
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11030 $as_echo "$orig_target_cc" >&6; }
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11033 $as_echo "no" >&6; }
11038 if test "$orig_target_cc" = ""; then
11039 # Extract the first word of "gcc", so it can be a program name with args.
11040 set dummy gcc
; ac_word
=$2
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11042 $as_echo_n "checking for $ac_word... " >&6; }
11043 if ${ac_cv_path_orig_target_cc+:} false
; then :
11044 $as_echo_n "(cached) " >&6
11046 case $orig_target_cc in
11048 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11052 for as_dir
in $PATH
11055 test -z "$as_dir" && as_dir
=.
11056 for ac_exec_ext
in '' $ac_executable_extensions; do
11057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11058 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11069 orig_target_cc
=$ac_cv_path_orig_target_cc
11070 if test -n "$orig_target_cc"; then
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11072 $as_echo "$orig_target_cc" >&6; }
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11075 $as_echo "no" >&6; }
11082 # Extract the first word of "${aros_tool_prefix}gcc", so it can be a program name with args.
11083 set dummy
${aros_tool_prefix}gcc
; ac_word
=$2
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11085 $as_echo_n "checking for $ac_word... " >&6; }
11086 if ${ac_cv_path_orig_target_cc+:} false
; then :
11087 $as_echo_n "(cached) " >&6
11089 case $orig_target_cc in
11091 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11095 for as_dir
in $PATH
11098 test -z "$as_dir" && as_dir
=.
11099 for ac_exec_ext
in '' $ac_executable_extensions; do
11100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11101 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11112 orig_target_cc
=$ac_cv_path_orig_target_cc
11113 if test -n "$orig_target_cc"; then
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11115 $as_echo "$orig_target_cc" >&6; }
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11118 $as_echo "no" >&6; }
11124 if test "$orig_target_cc" = ""; then
11125 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11127 if test "x${crosstools_cxx_target}" = "x" ; then
11129 if test "${aros_tool_prefix}g++" = ""; then
11130 if test "$cross_compiling" = "yes" ; then
11131 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11132 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11134 $as_echo_n "checking for $ac_word... " >&6; }
11135 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11136 $as_echo_n "(cached) " >&6
11138 case $orig_target_cxx in
11140 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11144 for as_dir
in $PATH
11147 test -z "$as_dir" && as_dir
=.
11148 for ac_exec_ext
in '' $ac_executable_extensions; do
11149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11150 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11161 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11162 if test -n "$orig_target_cxx"; then
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11164 $as_echo "$orig_target_cxx" >&6; }
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11167 $as_echo "no" >&6; }
11172 if test "$GCC" = "yes"; then
11173 aros_gcc_g
++=`$CC -print-prog-name=g++`
11174 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11175 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11177 $as_echo_n "checking for $ac_word... " >&6; }
11178 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11179 $as_echo_n "(cached) " >&6
11181 case $orig_target_cxx in
11183 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11187 for as_dir
in `dirname $aros_gcc_g++`
11190 test -z "$as_dir" && as_dir
=.
11191 for ac_exec_ext
in '' $ac_executable_extensions; do
11192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11193 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11204 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11205 if test -n "$orig_target_cxx"; then
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11207 $as_echo "$orig_target_cxx" >&6; }
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11210 $as_echo "no" >&6; }
11215 if test "$orig_target_cxx" = ""; then
11216 # Extract the first word of "g++", so it can be a program name with args.
11217 set dummy g
++; ac_word
=$2
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11219 $as_echo_n "checking for $ac_word... " >&6; }
11220 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11221 $as_echo_n "(cached) " >&6
11223 case $orig_target_cxx in
11225 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11229 for as_dir
in $PATH
11232 test -z "$as_dir" && as_dir
=.
11233 for ac_exec_ext
in '' $ac_executable_extensions; do
11234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11235 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11246 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11247 if test -n "$orig_target_cxx"; then
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11249 $as_echo "$orig_target_cxx" >&6; }
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11252 $as_echo "no" >&6; }
11259 # Extract the first word of "${aros_tool_prefix}g++", so it can be a program name with args.
11260 set dummy
${aros_tool_prefix}g
++; ac_word
=$2
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11262 $as_echo_n "checking for $ac_word... " >&6; }
11263 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11264 $as_echo_n "(cached) " >&6
11266 case $orig_target_cxx in
11268 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11272 for as_dir
in $PATH
11275 test -z "$as_dir" && as_dir
=.
11276 for ac_exec_ext
in '' $ac_executable_extensions; do
11277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11278 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11289 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11290 if test -n "$orig_target_cxx"; then
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11292 $as_echo "$orig_target_cxx" >&6; }
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11295 $as_echo "no" >&6; }
11301 if test "$orig_target_cxx" = ""; then
11302 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11306 if test "${aros_tool_prefix}ld" = ""; then
11307 if test "$cross_compiling" = "yes" ; then
11308 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11309 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11311 $as_echo_n "checking for $ac_word... " >&6; }
11312 if ${ac_cv_path_orig_target_ld+:} false
; then :
11313 $as_echo_n "(cached) " >&6
11315 case $orig_target_ld in
11317 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11321 for as_dir
in $PATH
11324 test -z "$as_dir" && as_dir
=.
11325 for ac_exec_ext
in '' $ac_executable_extensions; do
11326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11327 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11338 orig_target_ld
=$ac_cv_path_orig_target_ld
11339 if test -n "$orig_target_ld"; then
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11341 $as_echo "$orig_target_ld" >&6; }
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11344 $as_echo "no" >&6; }
11349 if test "$GCC" = "yes"; then
11350 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11351 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11352 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11354 $as_echo_n "checking for $ac_word... " >&6; }
11355 if ${ac_cv_path_orig_target_ld+:} false
; then :
11356 $as_echo_n "(cached) " >&6
11358 case $orig_target_ld in
11360 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11364 for as_dir
in `dirname $aros_gcc_gcc`
11367 test -z "$as_dir" && as_dir
=.
11368 for ac_exec_ext
in '' $ac_executable_extensions; do
11369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11370 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11381 orig_target_ld
=$ac_cv_path_orig_target_ld
11382 if test -n "$orig_target_ld"; then
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11384 $as_echo "$orig_target_ld" >&6; }
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11387 $as_echo "no" >&6; }
11392 if test "$orig_target_ld" = ""; then
11393 # Extract the first word of "gcc", so it can be a program name with args.
11394 set dummy gcc
; ac_word
=$2
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11396 $as_echo_n "checking for $ac_word... " >&6; }
11397 if ${ac_cv_path_orig_target_ld+:} false
; then :
11398 $as_echo_n "(cached) " >&6
11400 case $orig_target_ld in
11402 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11406 for as_dir
in $PATH
11409 test -z "$as_dir" && as_dir
=.
11410 for ac_exec_ext
in '' $ac_executable_extensions; do
11411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11412 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11423 orig_target_ld
=$ac_cv_path_orig_target_ld
11424 if test -n "$orig_target_ld"; then
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11426 $as_echo "$orig_target_ld" >&6; }
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11429 $as_echo "no" >&6; }
11436 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11437 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11439 $as_echo_n "checking for $ac_word... " >&6; }
11440 if ${ac_cv_path_orig_target_ld+:} false
; then :
11441 $as_echo_n "(cached) " >&6
11443 case $orig_target_ld in
11445 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11449 for as_dir
in $PATH
11452 test -z "$as_dir" && as_dir
=.
11453 for ac_exec_ext
in '' $ac_executable_extensions; do
11454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11455 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11466 orig_target_ld
=$ac_cv_path_orig_target_ld
11467 if test -n "$orig_target_ld"; then
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11469 $as_echo "$orig_target_ld" >&6; }
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11472 $as_echo "no" >&6; }
11478 if test "$orig_target_ld" = ""; then
11479 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11482 if test "${aros_tool_prefix}as" = ""; then
11483 if test "$cross_compiling" = "yes" ; then
11484 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11485 set dummy
${target_tool_prefix}as
; ac_word
=$2
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11487 $as_echo_n "checking for $ac_word... " >&6; }
11488 if ${ac_cv_path_orig_target_as+:} false
; then :
11489 $as_echo_n "(cached) " >&6
11491 case $orig_target_as in
11493 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11497 for as_dir
in $PATH
11500 test -z "$as_dir" && as_dir
=.
11501 for ac_exec_ext
in '' $ac_executable_extensions; do
11502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11503 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11514 orig_target_as
=$ac_cv_path_orig_target_as
11515 if test -n "$orig_target_as"; then
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11517 $as_echo "$orig_target_as" >&6; }
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11520 $as_echo "no" >&6; }
11525 if test "$GCC" = "yes"; then
11526 aros_gcc_as
=`$CC -print-prog-name=as`
11527 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11528 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11530 $as_echo_n "checking for $ac_word... " >&6; }
11531 if ${ac_cv_path_orig_target_as+:} false
; then :
11532 $as_echo_n "(cached) " >&6
11534 case $orig_target_as in
11536 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11540 for as_dir
in `dirname $aros_gcc_as`
11543 test -z "$as_dir" && as_dir
=.
11544 for ac_exec_ext
in '' $ac_executable_extensions; do
11545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11546 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11557 orig_target_as
=$ac_cv_path_orig_target_as
11558 if test -n "$orig_target_as"; then
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11560 $as_echo "$orig_target_as" >&6; }
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11563 $as_echo "no" >&6; }
11568 if test "$orig_target_as" = ""; then
11569 # Extract the first word of "as", so it can be a program name with args.
11570 set dummy as
; ac_word
=$2
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11572 $as_echo_n "checking for $ac_word... " >&6; }
11573 if ${ac_cv_path_orig_target_as+:} false
; then :
11574 $as_echo_n "(cached) " >&6
11576 case $orig_target_as in
11578 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11582 for as_dir
in $PATH
11585 test -z "$as_dir" && as_dir
=.
11586 for ac_exec_ext
in '' $ac_executable_extensions; do
11587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11588 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11599 orig_target_as
=$ac_cv_path_orig_target_as
11600 if test -n "$orig_target_as"; then
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11602 $as_echo "$orig_target_as" >&6; }
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11605 $as_echo "no" >&6; }
11612 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11613 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11615 $as_echo_n "checking for $ac_word... " >&6; }
11616 if ${ac_cv_path_orig_target_as+:} false
; then :
11617 $as_echo_n "(cached) " >&6
11619 case $orig_target_as in
11621 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11625 for as_dir
in $PATH
11628 test -z "$as_dir" && as_dir
=.
11629 for ac_exec_ext
in '' $ac_executable_extensions; do
11630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11631 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11642 orig_target_as
=$ac_cv_path_orig_target_as
11643 if test -n "$orig_target_as"; then
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11645 $as_echo "$orig_target_as" >&6; }
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11648 $as_echo "no" >&6; }
11654 if test "$orig_target_as" = ""; then
11655 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11658 if test "${aros_tool_prefix}ar" = ""; then
11659 if test "$cross_compiling" = "yes" ; then
11660 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11661 set dummy
${target_tool_prefix}ar; ac_word
=$2
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11663 $as_echo_n "checking for $ac_word... " >&6; }
11664 if ${ac_cv_path_orig_target_ar+:} false
; then :
11665 $as_echo_n "(cached) " >&6
11667 case $orig_target_ar in
11669 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11673 for as_dir
in $PATH
11676 test -z "$as_dir" && as_dir
=.
11677 for ac_exec_ext
in '' $ac_executable_extensions; do
11678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11679 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11690 orig_target_ar
=$ac_cv_path_orig_target_ar
11691 if test -n "$orig_target_ar"; then
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11693 $as_echo "$orig_target_ar" >&6; }
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11696 $as_echo "no" >&6; }
11701 if test "$GCC" = "yes"; then
11702 aros_gcc_ar
=`$CC -print-prog-name=ar`
11703 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11704 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11706 $as_echo_n "checking for $ac_word... " >&6; }
11707 if ${ac_cv_path_orig_target_ar+:} false
; then :
11708 $as_echo_n "(cached) " >&6
11710 case $orig_target_ar in
11712 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11716 for as_dir
in `dirname $aros_gcc_ar`
11719 test -z "$as_dir" && as_dir
=.
11720 for ac_exec_ext
in '' $ac_executable_extensions; do
11721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11722 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11733 orig_target_ar
=$ac_cv_path_orig_target_ar
11734 if test -n "$orig_target_ar"; then
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11736 $as_echo "$orig_target_ar" >&6; }
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11739 $as_echo "no" >&6; }
11744 if test "$orig_target_ar" = ""; then
11745 # Extract the first word of "ar", so it can be a program name with args.
11746 set dummy
ar; ac_word
=$2
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11748 $as_echo_n "checking for $ac_word... " >&6; }
11749 if ${ac_cv_path_orig_target_ar+:} false
; then :
11750 $as_echo_n "(cached) " >&6
11752 case $orig_target_ar in
11754 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11758 for as_dir
in $PATH
11761 test -z "$as_dir" && as_dir
=.
11762 for ac_exec_ext
in '' $ac_executable_extensions; do
11763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11764 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11775 orig_target_ar
=$ac_cv_path_orig_target_ar
11776 if test -n "$orig_target_ar"; then
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11778 $as_echo "$orig_target_ar" >&6; }
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11781 $as_echo "no" >&6; }
11788 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11789 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11791 $as_echo_n "checking for $ac_word... " >&6; }
11792 if ${ac_cv_path_orig_target_ar+:} false
; then :
11793 $as_echo_n "(cached) " >&6
11795 case $orig_target_ar in
11797 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11801 for as_dir
in $PATH
11804 test -z "$as_dir" && as_dir
=.
11805 for ac_exec_ext
in '' $ac_executable_extensions; do
11806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11807 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11818 orig_target_ar
=$ac_cv_path_orig_target_ar
11819 if test -n "$orig_target_ar"; then
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11821 $as_echo "$orig_target_ar" >&6; }
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11824 $as_echo "no" >&6; }
11830 if test "$orig_target_ar" = ""; then
11831 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11834 if test "${aros_tool_prefix}ranlib" = ""; then
11835 if test "$cross_compiling" = "yes" ; then
11836 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11837 set dummy
${target_tool_prefix}ar; ac_word
=$2
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11839 $as_echo_n "checking for $ac_word... " >&6; }
11840 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11841 $as_echo_n "(cached) " >&6
11843 case $orig_target_ranlib in
11845 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11849 for as_dir
in $PATH
11852 test -z "$as_dir" && as_dir
=.
11853 for ac_exec_ext
in '' $ac_executable_extensions; do
11854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11855 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11866 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11867 if test -n "$orig_target_ranlib"; then
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11869 $as_echo "$orig_target_ranlib" >&6; }
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11872 $as_echo "no" >&6; }
11877 if test "$GCC" = "yes"; then
11878 aros_gcc_ar
=`$CC -print-prog-name=ar`
11879 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11880 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11882 $as_echo_n "checking for $ac_word... " >&6; }
11883 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11884 $as_echo_n "(cached) " >&6
11886 case $orig_target_ranlib in
11888 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11892 for as_dir
in `dirname $aros_gcc_ar`
11895 test -z "$as_dir" && as_dir
=.
11896 for ac_exec_ext
in '' $ac_executable_extensions; do
11897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11898 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11909 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11910 if test -n "$orig_target_ranlib"; then
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11912 $as_echo "$orig_target_ranlib" >&6; }
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11915 $as_echo "no" >&6; }
11920 if test "$orig_target_ranlib" = ""; then
11921 # Extract the first word of "ar", so it can be a program name with args.
11922 set dummy
ar; ac_word
=$2
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11924 $as_echo_n "checking for $ac_word... " >&6; }
11925 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11926 $as_echo_n "(cached) " >&6
11928 case $orig_target_ranlib in
11930 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11934 for as_dir
in $PATH
11937 test -z "$as_dir" && as_dir
=.
11938 for ac_exec_ext
in '' $ac_executable_extensions; do
11939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11940 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11951 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11952 if test -n "$orig_target_ranlib"; then
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11954 $as_echo "$orig_target_ranlib" >&6; }
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11957 $as_echo "no" >&6; }
11964 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11965 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11967 $as_echo_n "checking for $ac_word... " >&6; }
11968 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11969 $as_echo_n "(cached) " >&6
11971 case $orig_target_ranlib in
11973 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11977 for as_dir
in $PATH
11980 test -z "$as_dir" && as_dir
=.
11981 for ac_exec_ext
in '' $ac_executable_extensions; do
11982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11983 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11994 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11995 if test -n "$orig_target_ranlib"; then
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11997 $as_echo "$orig_target_ranlib" >&6; }
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12000 $as_echo "no" >&6; }
12006 if test "$orig_target_ranlib" = ""; then
12007 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12010 if test "${aros_tool_prefix}nm" = ""; then
12011 if test "$cross_compiling" = "yes" ; then
12012 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12013 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12015 $as_echo_n "checking for $ac_word... " >&6; }
12016 if ${ac_cv_path_orig_target_nm+:} false
; then :
12017 $as_echo_n "(cached) " >&6
12019 case $orig_target_nm in
12021 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12025 for as_dir
in $PATH
12028 test -z "$as_dir" && as_dir
=.
12029 for ac_exec_ext
in '' $ac_executable_extensions; do
12030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12031 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12042 orig_target_nm
=$ac_cv_path_orig_target_nm
12043 if test -n "$orig_target_nm"; then
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12045 $as_echo "$orig_target_nm" >&6; }
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12048 $as_echo "no" >&6; }
12053 if test "$GCC" = "yes"; then
12054 aros_gcc_nm
=`$CC -print-prog-name=nm`
12055 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12056 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12058 $as_echo_n "checking for $ac_word... " >&6; }
12059 if ${ac_cv_path_orig_target_nm+:} false
; then :
12060 $as_echo_n "(cached) " >&6
12062 case $orig_target_nm in
12064 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12068 for as_dir
in `dirname $aros_gcc_nm`
12071 test -z "$as_dir" && as_dir
=.
12072 for ac_exec_ext
in '' $ac_executable_extensions; do
12073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12074 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12085 orig_target_nm
=$ac_cv_path_orig_target_nm
12086 if test -n "$orig_target_nm"; then
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12088 $as_echo "$orig_target_nm" >&6; }
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12091 $as_echo "no" >&6; }
12096 if test "$orig_target_nm" = ""; then
12097 # Extract the first word of "nm", so it can be a program name with args.
12098 set dummy nm
; ac_word
=$2
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12100 $as_echo_n "checking for $ac_word... " >&6; }
12101 if ${ac_cv_path_orig_target_nm+:} false
; then :
12102 $as_echo_n "(cached) " >&6
12104 case $orig_target_nm in
12106 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12110 for as_dir
in $PATH
12113 test -z "$as_dir" && as_dir
=.
12114 for ac_exec_ext
in '' $ac_executable_extensions; do
12115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12116 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12127 orig_target_nm
=$ac_cv_path_orig_target_nm
12128 if test -n "$orig_target_nm"; then
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12130 $as_echo "$orig_target_nm" >&6; }
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12133 $as_echo "no" >&6; }
12140 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12141 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12143 $as_echo_n "checking for $ac_word... " >&6; }
12144 if ${ac_cv_path_orig_target_nm+:} false
; then :
12145 $as_echo_n "(cached) " >&6
12147 case $orig_target_nm in
12149 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12153 for as_dir
in $PATH
12156 test -z "$as_dir" && as_dir
=.
12157 for ac_exec_ext
in '' $ac_executable_extensions; do
12158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12159 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12170 orig_target_nm
=$ac_cv_path_orig_target_nm
12171 if test -n "$orig_target_nm"; then
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12173 $as_echo "$orig_target_nm" >&6; }
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12176 $as_echo "no" >&6; }
12182 if test "$orig_target_nm" = ""; then
12183 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12186 if test "${aros_tool_prefix}strip" = ""; then
12187 if test "$cross_compiling" = "yes" ; then
12188 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12189 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12191 $as_echo_n "checking for $ac_word... " >&6; }
12192 if ${ac_cv_path_orig_target_strip+:} false
; then :
12193 $as_echo_n "(cached) " >&6
12195 case $orig_target_strip in
12197 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12201 for as_dir
in $PATH
12204 test -z "$as_dir" && as_dir
=.
12205 for ac_exec_ext
in '' $ac_executable_extensions; do
12206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12207 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12218 orig_target_strip
=$ac_cv_path_orig_target_strip
12219 if test -n "$orig_target_strip"; then
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12221 $as_echo "$orig_target_strip" >&6; }
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12224 $as_echo "no" >&6; }
12229 if test "$GCC" = "yes"; then
12230 aros_gcc_strip
=`$CC -print-prog-name=strip`
12231 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12232 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12234 $as_echo_n "checking for $ac_word... " >&6; }
12235 if ${ac_cv_path_orig_target_strip+:} false
; then :
12236 $as_echo_n "(cached) " >&6
12238 case $orig_target_strip in
12240 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12244 for as_dir
in `dirname $aros_gcc_strip`
12247 test -z "$as_dir" && as_dir
=.
12248 for ac_exec_ext
in '' $ac_executable_extensions; do
12249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12250 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12261 orig_target_strip
=$ac_cv_path_orig_target_strip
12262 if test -n "$orig_target_strip"; then
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12264 $as_echo "$orig_target_strip" >&6; }
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12267 $as_echo "no" >&6; }
12272 if test "$orig_target_strip" = ""; then
12273 # Extract the first word of "strip", so it can be a program name with args.
12274 set dummy strip
; ac_word
=$2
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12276 $as_echo_n "checking for $ac_word... " >&6; }
12277 if ${ac_cv_path_orig_target_strip+:} false
; then :
12278 $as_echo_n "(cached) " >&6
12280 case $orig_target_strip in
12282 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12286 for as_dir
in $PATH
12289 test -z "$as_dir" && as_dir
=.
12290 for ac_exec_ext
in '' $ac_executable_extensions; do
12291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12292 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12303 orig_target_strip
=$ac_cv_path_orig_target_strip
12304 if test -n "$orig_target_strip"; then
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12306 $as_echo "$orig_target_strip" >&6; }
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12309 $as_echo "no" >&6; }
12316 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12317 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12319 $as_echo_n "checking for $ac_word... " >&6; }
12320 if ${ac_cv_path_orig_target_strip+:} false
; then :
12321 $as_echo_n "(cached) " >&6
12323 case $orig_target_strip in
12325 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12329 for as_dir
in $PATH
12332 test -z "$as_dir" && as_dir
=.
12333 for ac_exec_ext
in '' $ac_executable_extensions; do
12334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12335 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12346 orig_target_strip
=$ac_cv_path_orig_target_strip
12347 if test -n "$orig_target_strip"; then
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12349 $as_echo "$orig_target_strip" >&6; }
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12352 $as_echo "no" >&6; }
12358 if test "$orig_target_strip" = ""; then
12359 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12362 if test "${aros_tool_prefix}objcopy" = ""; then
12363 if test "$cross_compiling" = "yes" ; then
12364 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12365 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12367 $as_echo_n "checking for $ac_word... " >&6; }
12368 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12369 $as_echo_n "(cached) " >&6
12371 case $orig_target_objcopy in
12373 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12377 for as_dir
in $PATH
12380 test -z "$as_dir" && as_dir
=.
12381 for ac_exec_ext
in '' $ac_executable_extensions; do
12382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12383 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12394 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12395 if test -n "$orig_target_objcopy"; then
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12397 $as_echo "$orig_target_objcopy" >&6; }
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12400 $as_echo "no" >&6; }
12405 if test "$GCC" = "yes"; then
12406 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12407 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12408 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12410 $as_echo_n "checking for $ac_word... " >&6; }
12411 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12412 $as_echo_n "(cached) " >&6
12414 case $orig_target_objcopy in
12416 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12420 for as_dir
in `dirname $aros_gcc_objcopy`
12423 test -z "$as_dir" && as_dir
=.
12424 for ac_exec_ext
in '' $ac_executable_extensions; do
12425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12426 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12437 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12438 if test -n "$orig_target_objcopy"; then
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12440 $as_echo "$orig_target_objcopy" >&6; }
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12443 $as_echo "no" >&6; }
12448 if test "$orig_target_objcopy" = ""; then
12449 # Extract the first word of "objcopy", so it can be a program name with args.
12450 set dummy objcopy
; ac_word
=$2
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12452 $as_echo_n "checking for $ac_word... " >&6; }
12453 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12454 $as_echo_n "(cached) " >&6
12456 case $orig_target_objcopy in
12458 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12462 for as_dir
in $PATH
12465 test -z "$as_dir" && as_dir
=.
12466 for ac_exec_ext
in '' $ac_executable_extensions; do
12467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12468 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12479 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12480 if test -n "$orig_target_objcopy"; then
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12482 $as_echo "$orig_target_objcopy" >&6; }
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12485 $as_echo "no" >&6; }
12492 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12493 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12495 $as_echo_n "checking for $ac_word... " >&6; }
12496 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12497 $as_echo_n "(cached) " >&6
12499 case $orig_target_objcopy in
12501 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12505 for as_dir
in $PATH
12508 test -z "$as_dir" && as_dir
=.
12509 for ac_exec_ext
in '' $ac_executable_extensions; do
12510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12511 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12522 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12523 if test -n "$orig_target_objcopy"; then
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12525 $as_echo "$orig_target_objcopy" >&6; }
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12528 $as_echo "no" >&6; }
12534 if test "$orig_target_objcopy" = ""; then
12535 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12538 if test "${aros_tool_prefix}objdump" = ""; then
12539 if test "$cross_compiling" = "yes" ; then
12540 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12541 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12543 $as_echo_n "checking for $ac_word... " >&6; }
12544 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12545 $as_echo_n "(cached) " >&6
12547 case $orig_target_objdump in
12549 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12553 for as_dir
in $PATH
12556 test -z "$as_dir" && as_dir
=.
12557 for ac_exec_ext
in '' $ac_executable_extensions; do
12558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12559 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12570 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12571 if test -n "$orig_target_objdump"; then
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12573 $as_echo "$orig_target_objdump" >&6; }
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12576 $as_echo "no" >&6; }
12581 if test "$GCC" = "yes"; then
12582 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12583 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12584 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12586 $as_echo_n "checking for $ac_word... " >&6; }
12587 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12588 $as_echo_n "(cached) " >&6
12590 case $orig_target_objdump in
12592 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12596 for as_dir
in `dirname $aros_gcc_objdump`
12599 test -z "$as_dir" && as_dir
=.
12600 for ac_exec_ext
in '' $ac_executable_extensions; do
12601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12602 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12613 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12614 if test -n "$orig_target_objdump"; then
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12616 $as_echo "$orig_target_objdump" >&6; }
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12619 $as_echo "no" >&6; }
12624 if test "$orig_target_objdump" = ""; then
12625 # Extract the first word of "objdump", so it can be a program name with args.
12626 set dummy objdump
; ac_word
=$2
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12628 $as_echo_n "checking for $ac_word... " >&6; }
12629 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12630 $as_echo_n "(cached) " >&6
12632 case $orig_target_objdump in
12634 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12638 for as_dir
in $PATH
12641 test -z "$as_dir" && as_dir
=.
12642 for ac_exec_ext
in '' $ac_executable_extensions; do
12643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12644 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12655 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12656 if test -n "$orig_target_objdump"; then
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12658 $as_echo "$orig_target_objdump" >&6; }
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12661 $as_echo "no" >&6; }
12668 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12669 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12671 $as_echo_n "checking for $ac_word... " >&6; }
12672 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12673 $as_echo_n "(cached) " >&6
12675 case $orig_target_objdump in
12677 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12681 for as_dir
in $PATH
12684 test -z "$as_dir" && as_dir
=.
12685 for ac_exec_ext
in '' $ac_executable_extensions; do
12686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12687 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12698 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12699 if test -n "$orig_target_objdump"; then
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12701 $as_echo "$orig_target_objdump" >&6; }
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12704 $as_echo "no" >&6; }
12710 if test "$orig_target_objdump" = ""; then
12711 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12715 if test "$kernel_tool_prefix" = "none" ; then
12716 # No kernel tools specified
12717 # Assume target tools == kernel tools with ELF wrapper
12718 aros_kernel_cc
=$orig_target_cc
12719 aros_kernel_cxx
=$orig_target_cxx
12720 aros_kernel_cpp
=$orig_target_cpp
12721 aros_kernel_ld
=$orig_target_ld
12722 aros_kernel_as
=$orig_target_as
12723 aros_kernel_ar
=$orig_target_ar
12724 aros_kernel_ranlib
=$orig_target_ranlib
12725 aros_kernel_nm
=$orig_target_nm
12726 aros_kernel_strip
=$orig_target_strip
12727 aros_kernel_objcopy
=$orig_target_objcopy
12728 aros_kernel_objdump
=$orig_target_objdump
12729 use_kernel_cc_wrapper
=yes
12732 # At this point, all aros_kernel_* and aros_target_*
12733 # tools should be set up correctly
12735 CC
="$aros_kernel_cc $kernel_tool_flags"
12736 CPP
="$aros_kernel_cpp"
12738 #-----------------------------------------------------------------------------
12740 # Disable pointer-signedness warnings if the compiler recognises the option
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12743 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12744 save_cflags
="$CFLAGS"
12745 if test "$crosstools" != "yes" ; then
12746 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12748 /* end confdefs.h. */
12758 if ac_fn_c_try_compile
"$LINENO"; then :
12759 use_no_sign_warning
="yes"
12761 use_no_sign_warning
="no"
12763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12765 # we do know it is supported for the smallest version of gcc we are going to build
12766 # we assume it's also supported by later versions
12767 use_no_sign_warning
=yes
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12770 $as_echo "$use_no_sign_warning" >&6; }
12771 if test "x-$use_no_sign_warning" = "x-yes" ; then
12772 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12774 CFLAGS
="$save_cflags"
12776 #-----------------------------------------------------------------------------
12778 # Find all the tools we need to compile. This could be cross-compiling
12779 # though! If that is the case we use the GNU form of the target and
12780 # simply add this to the front of the binary name. This is rather simple,
12781 # but it should work under most circumstances.
12783 # The default tools are to use the same as the host, but only if the
12784 # host and target CPU are the same. With GCC this is normally enough.
12788 aros_shared_ld
="$aros_host_ld"
12790 aros_target_mkdep
="$aros_host_mkdep"
12792 # The default tools executables to be linked to.
12793 if test "$rescomp" != ""; then
12794 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12795 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12797 $as_echo_n "checking for $ac_word... " >&6; }
12798 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12799 $as_echo_n "(cached) " >&6
12801 case $aros_kernel_rescomp in
12803 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12807 for as_dir
in $PATH
12810 test -z "$as_dir" && as_dir
=.
12811 for ac_exec_ext
in '' $ac_executable_extensions; do
12812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12813 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12824 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12825 if test -n "$aros_kernel_rescomp"; then
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12827 $as_echo "$aros_kernel_rescomp" >&6; }
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12830 $as_echo "no" >&6; }
12834 if test "$aros_kernel_rescomp" = ""; then
12835 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12839 # Set up the sources for the symlink farm
12840 if test "$crosstools" = "yes"; then
12841 crosstools_target
=tools-crosstools
12844 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12845 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12848 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12849 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12850 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12851 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12852 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12853 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12854 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12856 # aros_cc_pre is a variable that is added to the front of the compiler name
12857 # in the generated aros-gcc shell script. We need this to enable the cache
12858 # to work across cleaned builds. Also, support DISTCC using the correct
12859 # environment variable.
12862 if test "x${DISTCC}" != "x" ; then
12863 if test "x${CCACHE}" != "x" ; then
12864 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12866 aros_cc_pre
="${DISTCC} "
12869 if test "x${CCACHE}" != "x" ; then
12870 aros_cc_pre
="${CCACHE} "
12874 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12876 aros_target_nostdinc_cflags
=-nostdinc
12878 aros_target_nostartup_ldflags
=-nostartfiles
12880 aros_target_nix_ldflags
=-nix
12882 aros_target_detach_ldflags
=-detach
12884 aros_target_nostdlib_ldflags
=-nostdlib
12888 if test "$crosstools" != "yes"; then
12889 if test "$GCC" = "yes"; then
12890 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12893 # We do not know which gcc version we are going to build and what we need to know
12894 # here is different for different versions so this will be set later during the
12895 # build of crosstools.
12896 aros_target_cc_path
=@aros_target_cc_path@
12898 aros_target_cpp
="${prefix}cpp"
12899 aros_target_cc
="${prefix}gcc"
12900 aros_target_cxx
="${prefix}g++"
12901 aros_target_as
="${prefix}as"
12902 aros_target_ld
="${prefix}ld"
12903 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12904 aros_target_objcopy
="${prefix}objcopy"
12905 aros_target_objdump
="${prefix}objdump"
12906 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12907 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12908 aros_target_strip
="${prefix}strip"
12909 aros_plain_nm
="${prefix}nm"
12910 aros_plain_ar
="${prefix}ar"
12912 # Check whether --enable-includes was given.
12913 if test "${enable_includes+set}" = set; then :
12914 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12916 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
12920 if test "$aros_kernel_includes" = ""; then
12921 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12922 aros_kernel_includes
="-isystem $aros_target_incl"
12926 if test "$aros_kernel_includes" != "" ; then
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12928 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12929 if test "$aros_kernel_cc_includes" = "" ; then
12930 # Try to guess where the directory is.
12931 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12932 if test -d $aros_kernel_cc_includes; then
12933 # Check if there is also an include-fixed directory and add it
12934 # to kernel compiler's include path as it may contain some of
12935 # the headers we need.
12936 if test -d "$aros_kernel_cc_includes"-fixed; then
12937 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12939 # Check for specific includes directory. Neede for Ubuntu 11.10
12940 if test -d "/usr/include/i386-linux-gnu"; then
12941 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12944 # The directory doesn't exist, we need to do some more work.
12945 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12947 # These are the headers we're looking for.
12948 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12949 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12953 for h
in $headers; do
12954 # Which other headers are needed by each of the above?
12955 deps
=$
(echo "#include <$h>" | \
12956 $aros_kernel_cc -E -M - 2>/dev
/null | \
12957 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12959 # Copy all the needed headers to a directory beneath gendir.
12962 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12963 sed -n "s,^.*/include\(/.*\),\1,p")
12964 ! test -d $dir && mkdir
-p $dir
12965 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12971 $as_echo "$aros_kernel_cc_includes" >&6; }
12972 # Adding -nostdinc to kernel includes as they are always used together.
12973 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12976 if test "$crosstools" != "yes"; then
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12978 $as_echo_n "checking for the target compiler's include path... " >&6; }
12979 if test "$aros_target_cc_includes" = "" ; then
12980 #try to guess where the directory is
12981 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12982 if ! test -d $aros_target_cc_includes; then
12983 #the directory doesn't exist, we need to do some more work
12984 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12986 #these are the headers we're looking for
12987 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12988 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12992 for h
in $headers; do
12993 #which other headers each of the above headers needs?
12994 deps
=$
(echo "#include <$h>" | \
12995 $orig_target_cc -E -M - 2>/dev
/null | \
12996 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12998 #copy all the needed headers to a directory beneath gendir
13001 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13002 sed -n "s,^.*/include\(/.*\),\1,p")
13003 ! test -d $dir && mkdir
-p $dir
13004 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13010 $as_echo "$aros_target_cc_includes" >&6; }
13012 # We do not know which gcc version we are going to build and what we need to know
13013 # here is different for different versions so this will be set later during the
13014 # build of crosstools.
13015 aros_target_cc_includes
=@aros_target_cc_includes@
13019 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13020 # On GCC >= 4.0 -iquote should be used
13024 save_cflags
="$CFLAGS"
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13027 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13028 if test "x-$crosstools" != "x-yes"; then
13029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13030 /* end confdefs.h. */
13040 if ac_fn_c_try_compile
"$LINENO"; then :
13045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13047 # we do know it is supported for the smallest version of gcc we are going to build
13048 # we assume it's also supported by later versions
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13052 $as_echo "$has_iquote" >&6; }
13053 if test "x-$has_iquote" = "x-yes" ; then
13054 host_cflags_iquote
=-iquote
13055 host_cflags_iquote_end
=
13057 host_cflags_iquote
=-I
13058 host_cflags_iquote_end
=-I-
13060 kernel_cflags_iquote
=$host_cflags_iquote
13061 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13062 if test "x-$cross_compiling" = "x-yes"; then
13063 CC
="$aros_kernel_cc"
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13065 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13066 if test "x-$crosstools" != "x-yes"; then
13067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13068 /* end confdefs.h. */
13078 if ac_fn_c_try_compile
"$LINENO"; then :
13079 use_no_stack_protector
="yes"
13081 use_no_stack_protector
="no"
13083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13085 # we do know it is supported for the smallest version of gcc we are going to build
13086 # we assume it's also supported by later versions
13087 use_no_stack_protector
=yes
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13090 $as_echo "$use_no_stack_protector" >&6; }
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13092 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13093 if test "x-$crosstools" != "x-yes"; then
13094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h. */
13105 if ac_fn_c_try_compile
"$LINENO"; then :
13110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13112 # we do know it is supported for the smallest version of gcc we are going to build
13113 # we assume it's also supported by later versions
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13117 $as_echo "$has_iquote" >&6; }
13118 if test "x-$has_iquote" = "x-yes" ; then
13119 kernel_cflags_iquote
=-iquote
13120 kernel_cflags_iquote_end
=
13122 kernel_cflags_iquote
=-I
13123 kernel_cflags_iquote_end
=-I-
13126 aros_cflags_iquote
=$kernel_cflags_iquote
13127 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13128 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13129 CC
="$orig_target_cc"
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13131 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13132 if test "x-$crosstools" != "x-yes"; then
13133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13134 /* end confdefs.h. */
13144 if ac_fn_c_try_compile
"$LINENO"; then :
13149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13151 # we do know it is supported for the smallest version of gcc we are going to build
13152 # we assume it's also supported by later versions
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13156 $as_echo "$has_iquote" >&6; }
13157 if test "x-$has_iquote" = "x-yes" ; then
13158 aros_cflags_iquote
=-iquote
13159 aros_cflags_iquote_end
=
13161 aros_cflags_iquote
=-I
13162 aros_cflags_iquote_end
=-I-
13165 if test "x-$use_no_stack_protector" = "x-yes" ; then
13166 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13170 #-----------------------------------------------------------------------------
13172 # Check if the target compiler supports some options used for delinting:
13173 # -Wunused-but-set-variable
13176 # -Wstrict-overflow
13177 # -Wformat-security
13179 if test "x-$crosstools" != "x-yes"; then
13180 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13181 CC
="$orig_target_cc"
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13184 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13185 CFLAGS
=-Wunused-but-set-variable
13186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13187 /* end confdefs.h. */
13197 if ac_fn_c_try_compile
"$LINENO"; then :
13198 aros_unused_but_set_variable
="yes"
13200 aros_unused_but_set_variable
="no"
13202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13204 $as_echo "$aros_unused_but_set_variable" >&6; }
13205 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13206 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13210 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13211 CFLAGS
=-Warray-bounds
13212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13213 /* end confdefs.h. */
13223 if ac_fn_c_try_compile
"$LINENO"; then :
13224 aros_array_bounds
="yes"
13226 aros_array_bounds
="no"
13228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13230 $as_echo "$aros_array_bounds" >&6; }
13231 if test "x-$aros_array_bounds" = "x-yes" ; then
13232 aros_cflags_array_bounds
=-Wno-array-bounds
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13236 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13237 CFLAGS
=-Wenum-compare
13238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13239 /* end confdefs.h. */
13249 if ac_fn_c_try_compile
"$LINENO"; then :
13250 aros_enum_compare
="yes"
13252 aros_enum_compare
="no"
13254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13256 $as_echo "$aros_enum_compare" >&6; }
13257 if test "x-$aros_enum_compare" = "x-yes" ; then
13258 aros_cflags_enum_compare
=-Wno-enum-compare
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13262 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13263 CFLAGS
=-Wstrict-overflow
13264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13265 /* end confdefs.h. */
13275 if ac_fn_c_try_compile
"$LINENO"; then :
13276 aros_strict_overflow
="yes"
13278 aros_strict_overflow
="no"
13280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13282 $as_echo "$aros_strict_overflow" >&6; }
13283 if test "x-$aros_strict_overflow" = "x-yes" ; then
13284 aros_cflags_strict_overflow
=-Wno-strict-overflow
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13288 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13289 CFLAGS
=-Wformat-security
13290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13291 /* end confdefs.h. */
13301 if ac_fn_c_try_compile
"$LINENO"; then :
13302 aros_format_security
="yes"
13304 aros_format_security
="no"
13306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13308 $as_echo "$aros_format_security" >&6; }
13309 if test "x-$aros_format_security" = "x-yes" ; then
13310 aros_cflags_format_security
=-Wno-format-security
13313 # We do not know which gcc version we are going to build and what we need to know
13314 # here is different for different versions so this will be set later during the
13315 # build of crosstools.
13316 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13317 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13318 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13319 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13320 aros_cflags_format_security
=@aros_cflags_format_security@
13323 #-----------------------------------------------------------------------------
13325 # Check if we can explicitly choose older version of symbol hashing
13327 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13328 CC
="$aros_kernel_cc"
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13330 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13332 /* end confdefs.h. */
13342 if ac_fn_c_try_link
"$LINENO"; then :
13343 use_hash_style
="yes"
13345 use_hash_style
="no"
13347 rm -f core conftest.err conftest.
$ac_objext \
13348 conftest
$ac_exeext conftest.
$ac_ext
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13350 $as_echo "$use_hash_style" >&6; }
13351 if test "x-$use_hash_style" = "x-yes" ; then
13352 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13355 CFLAGS
="$save_cflags"
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13366 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13368 # Check whether --with-resolution was given.
13369 if test "${with_resolution+set}" = set; then :
13370 withval
=$with_resolution; resolution
=$withval
13375 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13376 if test "$resolution" = "yes" ; then
13379 if test "$resolution" = "no" ; then
13382 if test "$resolution" != "none" ; then
13383 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13384 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13385 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13388 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13389 aros_cv_default_wbwidth
=$aros_default_wbwidth
13390 aros_cv_default_wbheight
=$aros_default_wbheight
13391 aros_cv_default_wbdepth
=$aros_default_wbdepth
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13394 $as_echo_n "checking if serial debug is enabled... " >&6; }
13396 # Check whether --with-serial-debug was given.
13397 if test "${with_serial_debug+set}" = set; then :
13398 withval
=$with_serial_debug; serial_debug
=$withval
13403 if test "$aros_serial_debug" = 0 ; then
13404 serial_debug_forced
=""
13405 if test "$serial_debug" = "yes" ; then
13408 if test "$serial_debug" = "no" ; then
13409 serial_debug
="none"
13412 serial_debug_forced
="(forced)"
13413 serial_debug
=$aros_serial_debug
13415 if test "$serial_debug" != "none" ; then
13416 aros_serial_debug
=$serial_debug
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13418 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13421 $as_echo "no" >&6; }
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13425 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13426 # Check whether --enable-palm_debug_hack was given.
13427 if test "${enable_palm_debug_hack+set}" = set; then :
13428 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13430 palm_debug_hack
="no"
13433 if test "$palm_debug_hack" = "yes" ; then
13434 aros_palm_debug_hack
="1"
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13437 $as_echo "$palm_debug_hack" >&6; }
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
13440 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
13441 # Check whether --enable-usb30_code was given.
13442 if test "${enable_usb30_code+set}" = set; then :
13443 enableval
=$enable_usb30_code; usb30_code
="yes"
13448 if test "$usb30_code" = "yes" ; then
13449 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
13450 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
13453 $as_echo "$usb30_code" >&6; }
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13456 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13457 # Check whether --enable-nesting_supervisor was given.
13458 if test "${enable_nesting_supervisor+set}" = set; then :
13459 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13461 nesting_supervisor
="no"
13464 if test "$nesting_supervisor" = "yes" ; then
13465 aros_nesting_supervisor
="1"
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13468 $as_echo "$nesting_supervisor" >&6; }
13470 if test "$aros_enable_mmu" = "" ; then
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13472 $as_echo_n "checking if MMU support is enabled... " >&6; }
13473 # Check whether --enable-mmu was given.
13474 if test "${enable_mmu+set}" = set; then :
13475 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13477 aros_enable_mmu
="yes"
13480 if test "$aros_enable_mmu" = "" ; then
13481 aros_enable_mmu
="yes"
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13484 $as_echo "$aros_enable_mmu" >&6; }
13486 if test "$aros_enable_mmu" = "no" ; then
13487 aros_enable_mmu
="0"
13489 aros_enable_mmu
="1"
13493 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13495 if test "x-$need_dlopen" != "x-no" ; then
13498 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13499 if test "x$ac_cv_func_dlopen" = xyes
; then :
13505 if test "x-$have_dl" = "x-no" ; then
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13507 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13508 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13509 $as_echo_n "(cached) " >&6
13511 ac_check_lib_save_LIBS
=$LIBS
13513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13516 /* Override any GCC internal prototype to avoid an error.
13517 Use char because int might match the return type of a GCC
13518 builtin and then its argument prototype would still apply. */
13531 if ac_fn_c_try_link
"$LINENO"; then :
13532 ac_cv_lib_dl_dlopen
=yes
13534 ac_cv_lib_dl_dlopen
=no
13536 rm -f core conftest.err conftest.
$ac_objext \
13537 conftest
$ac_exeext conftest.
$ac_ext
13538 LIBS
=$ac_check_lib_save_LIBS
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13541 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13542 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13544 aros_host_ldflags
="$aros_host_ldflags -ldl"
13550 if test "x-$have_dl" = "x-no" ; then
13551 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13557 # Check whether --enable-x11_hidd was given.
13558 if test "${enable_x11_hidd+set}" = set; then :
13559 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13561 x11_hidd
="$need_x11"
13564 case "x-$x11_hidd" in
13565 x-yes|x-no|x-auto
) ;;
13566 *) x11_hidd
="$need_x11" ;;
13571 if test "x-$x11_hidd" != "x-no" ; then
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13574 $as_echo_n "checking for X... " >&6; }
13577 # Check whether --with-x was given.
13578 if test "${with_x+set}" = set; then :
13582 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13583 if test "x$with_x" = xno
; then
13584 # The user explicitly disabled X.
13587 case $x_includes,$x_libraries in #(
13588 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13589 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13590 $as_echo_n "(cached) " >&6
13592 # One or both of the vars are not set, and there is no cached value.
13593 ac_x_includes
=no ac_x_libraries
=no
13594 rm -f -r conftest.dir
13595 if mkdir conftest.dir
; then
13597 cat >Imakefile
<<'_ACEOF'
13599 @echo incroot='${INCROOT}'
13601 @echo usrlibdir='${USRLIBDIR}'
13603 @echo libdir='${LIBDIR}'
13605 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13606 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13607 for ac_var
in incroot usrlibdir libdir
; do
13608 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13610 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13611 for ac_extension
in a so sl dylib la dll
; do
13612 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13613 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13614 ac_im_usrlibdir
=$ac_im_libdir; break
13617 # Screen out bogus values from the imake configuration. They are
13618 # bogus both because they are the default anyway, and because
13619 # using them would break gcc on systems where it needs fixed includes.
13620 case $ac_im_incroot in
13621 /usr
/include
) ac_x_includes
= ;;
13622 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13624 case $ac_im_usrlibdir in
13625 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13626 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13630 rm -f -r conftest.dir
13633 # Standard set of common directories for X headers.
13634 # Check X11 before X11Rn because it is often a symlink to the current release.
13648 /usr/local/X11/include
13649 /usr/local/X11R7/include
13650 /usr/local/X11R6/include
13651 /usr/local/X11R5/include
13652 /usr/local/X11R4/include
13654 /usr/local/include/X11
13655 /usr/local/include/X11R7
13656 /usr/local/include/X11R6
13657 /usr/local/include/X11R5
13658 /usr/local/include/X11R4
13662 /usr/XFree86/include/X11
13666 /usr/unsupported/include
13667 /usr/athena/include
13668 /usr/local/x11r5/include
13669 /usr/lpp/Xamples/include
13671 /usr/openwin/include
13672 /usr/openwin/share/include'
13674 if test "$ac_x_includes" = no
; then
13675 # Guess where to find include files, by looking for Xlib.h.
13676 # First, try using that file with no special directory specified.
13677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13678 /* end confdefs.h. */
13679 #include <X11/Xlib.h>
13681 if ac_fn_c_try_cpp
"$LINENO"; then :
13682 # We can compile using X headers with no special include directory.
13685 for ac_dir
in $ac_x_header_dirs; do
13686 if test -r "$ac_dir/X11/Xlib.h"; then
13687 ac_x_includes
=$ac_dir
13692 rm -f conftest.err conftest.i conftest.
$ac_ext
13693 fi # $ac_x_includes = no
13695 if test "$ac_x_libraries" = no
; then
13696 # Check for the libraries.
13697 # See if we find them without any special options.
13698 # Don't add to $LIBS permanently.
13701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13702 /* end confdefs.h. */
13703 #include <X11/Xlib.h>
13712 if ac_fn_c_try_link
"$LINENO"; then :
13714 # We can link X programs with no special library path.
13718 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13720 # Don't even attempt the hair of trying to link an X program!
13721 for ac_extension
in a so sl dylib la dll
; do
13722 if test -r "$ac_dir/libX11.$ac_extension"; then
13723 ac_x_libraries
=$ac_dir
13729 rm -f core conftest.err conftest.
$ac_objext \
13730 conftest
$ac_exeext conftest.
$ac_ext
13731 fi # $ac_x_libraries = no
13733 case $ac_x_includes,$ac_x_libraries in #(
13734 no
,* |
*,no |
*\'*)
13735 # Didn't find X, or a directory has "'" in its name.
13736 ac_cv_have_x
="have_x=no";; #(
13738 # Record where we found X for the cache.
13739 ac_cv_have_x
="have_x=yes\
13740 ac_x_includes='$ac_x_includes'\
13741 ac_x_libraries='$ac_x_libraries'"
13747 eval "$ac_cv_have_x"
13750 if test "$have_x" != yes; then
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13752 $as_echo "$have_x" >&6; }
13755 # If each of the values was on the command line, it overrides each guess.
13756 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13757 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13758 # Update the cache value to reflect the command line values.
13759 ac_cv_have_x
="have_x=yes\
13760 ac_x_includes='$x_includes'\
13761 ac_x_libraries='$x_libraries'"
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13763 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13768 for path
in $x_libraries
13770 x_cflags
="$x_cflags -L$path"
13773 for path
in $x_includes
13775 x_cflags
="$x_cflags -I$path"
13778 if test "x-$no_x" = "x-yes" ; then
13780 if test "x-$x11_hidd" != "x-auto" ; then
13781 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13785 x11_hidd_target
=kernel-x11gfx-kobj
13788 # Check whether --enable-x11_shm was given.
13789 if test "${enable_x11_shm+set}" = set; then :
13790 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13792 x11_hidd_shm
="auto"
13795 case "x-$x11_hidd_shm" in
13796 x-yes|x-no|x-auto
) ;;
13797 *) x11_hidd_shm
="auto" ;;
13802 if test "x-$x11_hidd_shm" != "x-no" ; then
13804 for ac_header
in sys
/ipc.h
13806 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13807 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13808 cat >>confdefs.h
<<_ACEOF
13809 #define HAVE_SYS_IPC_H 1
13816 for ac_header
in sys
/shm.h
13818 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13819 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13820 cat >>confdefs.h
<<_ACEOF
13821 #define HAVE_SYS_SHM_H 1
13829 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13831 save_cflags
="$CFLAGS"
13832 CFLAGS
="$CFLAGS $x_cflags"
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13834 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13835 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13836 $as_echo_n "(cached) " >&6
13838 ac_check_lib_save_LIBS
=$LIBS
13839 LIBS
="-lXext $LIBS"
13840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13843 /* Override any GCC internal prototype to avoid an error.
13844 Use char because int might match the return type of a GCC
13845 builtin and then its argument prototype would still apply. */
13849 char XShmQueryExtension ();
13853 return XShmQueryExtension ();
13858 if ac_fn_c_try_link
"$LINENO"; then :
13859 ac_cv_lib_Xext_XShmQueryExtension
=yes
13861 ac_cv_lib_Xext_XShmQueryExtension
=no
13863 rm -f core conftest.err conftest.
$ac_objext \
13864 conftest
$ac_exeext conftest.
$ac_ext
13865 LIBS
=$ac_check_lib_save_LIBS
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13868 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13869 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13873 CFLAGS
="$save_cflags"
13877 if test "x-$have_xshm" = "x-yes" ; then
13878 DO_XSHM_SUPPORT
="1"
13879 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13880 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13882 DO_XSHM_SUPPORT
="0"
13886 # Check whether --enable-x11_vidmode was given.
13887 if test "${enable_x11_vidmode+set}" = set; then :
13888 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13890 x11_hidd_vidmode
="auto"
13893 case "x-$x11_hidd_vidmode" in
13894 x-yes|x-no|x-auto
) ;;
13895 *) x11_hidd_vidmode
="auto" ;;
13900 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13902 save_cflags
="$CFLAGS"
13903 CFLAGS
="$CFLAGS $x_cflags"
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13905 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13906 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13907 $as_echo_n "(cached) " >&6
13909 ac_check_lib_save_LIBS
=$LIBS
13910 LIBS
="-lXxf86vm $LIBS"
13911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13912 /* end confdefs.h. */
13914 /* Override any GCC internal prototype to avoid an error.
13915 Use char because int might match the return type of a GCC
13916 builtin and then its argument prototype would still apply. */
13920 char XF86VidModeQueryExtension ();
13924 return XF86VidModeQueryExtension ();
13929 if ac_fn_c_try_link
"$LINENO"; then :
13930 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13932 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13934 rm -f core conftest.err conftest.
$ac_objext \
13935 conftest
$ac_exeext conftest.
$ac_ext
13936 LIBS
=$ac_check_lib_save_LIBS
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13939 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13940 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13944 CFLAGS
="$save_cflags"
13947 if test "x-$have_vidmode" = "x-yes" ; then
13948 DO_VIDMODE_SUPPORT
="1"
13949 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13950 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13952 DO_VIDMODE_SUPPORT
="0"
13956 aros_host_x11_includes
=$x_includes
13957 aros_host_x11_libdirs
=$x_libraries
13961 # Check whether --enable-sdl_hidd was given.
13962 if test "${enable_sdl_hidd+set}" = set; then :
13963 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13968 case "x-$sdl_hidd" in
13969 x-yes|x-no|x-auto
) ;;
13970 *) sdl_hidd
="auto" ;;
13973 if test "x-$sdl_hidd" != "x-no" ; then
13976 # Check whether --with-sdl-prefix was given.
13977 if test "${with_sdl_prefix+set}" = set; then :
13978 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13984 # Check whether --with-sdl-exec-prefix was given.
13985 if test "${with_sdl_exec_prefix+set}" = set; then :
13986 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13991 # Check whether --enable-sdltest was given.
13992 if test "${enable_sdltest+set}" = set; then :
13993 enableval
=$enable_sdltest;
13999 if test x
$sdl_exec_prefix != x
; then
14000 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14001 if test x
${SDL_CONFIG+set} != xset
; then
14002 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14005 if test x
$sdl_prefix != x
; then
14006 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14007 if test x
${SDL_CONFIG+set} != xset
; then
14008 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14012 as_save_PATH
="$PATH"
14013 if test "x$prefix" != xNONE
; then
14014 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14016 # Extract the first word of "sdl-config", so it can be a program name with args.
14017 set dummy sdl-config
; ac_word
=$2
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14019 $as_echo_n "checking for $ac_word... " >&6; }
14020 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14021 $as_echo_n "(cached) " >&6
14023 case $SDL_CONFIG in
14025 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14029 for as_dir
in $PATH
14032 test -z "$as_dir" && as_dir
=.
14033 for ac_exec_ext
in '' $ac_executable_extensions; do
14034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14035 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14043 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14047 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14048 if test -n "$SDL_CONFIG"; then
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14050 $as_echo "$SDL_CONFIG" >&6; }
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14053 $as_echo "no" >&6; }
14057 PATH
="$as_save_PATH"
14058 min_sdl_version
=1.2.10
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14060 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14062 if test "$SDL_CONFIG" = "no" ; then
14065 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14066 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14068 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14069 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14070 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14071 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14072 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14073 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14074 if test "x$enable_sdltest" = "xyes" ; then
14075 ac_save_CFLAGS
="$CFLAGS"
14076 ac_save_CXXFLAGS
="$CXXFLAGS"
14077 ac_save_LIBS
="$LIBS"
14078 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14079 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14080 LIBS
="$LIBS $SDL_LIBS"
14082 if test "$cross_compiling" = yes; then :
14083 echo $ac_n "cross compiling; assumed OK... $ac_c"
14085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14086 /* end confdefs.h. */
14089 #include <stdlib.h>
14090 #include <string.h>
14094 my_strdup (char *str)
14100 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14101 strcpy (new_str, str);
14109 int main (int argc, char *argv[])
14111 int major, minor, micro;
14114 /* This hangs on some systems (?)
14115 system ("touch conf.sdltest");
14117 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14119 /* HP/UX 9 (%@#!) writes to sscanf strings */
14120 tmp_version = my_strdup("$min_sdl_version");
14121 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14122 printf("%s, bad version string\n", "$min_sdl_version");
14126 if (($sdl_major_version > major) ||
14127 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14128 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14134 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14135 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14136 printf("*** best to upgrade to the required version.\n");
14137 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14138 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14139 printf("*** config.cache before re-running configure\n");
14146 if ac_fn_c_try_run
"$LINENO"; then :
14151 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14152 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14155 CFLAGS
="$ac_save_CFLAGS"
14156 CXXFLAGS
="$ac_save_CXXFLAGS"
14157 LIBS
="$ac_save_LIBS"
14160 if test "x$no_sdl" = x
; then
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14162 $as_echo "yes" >&6; }
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14166 $as_echo "no" >&6; }
14167 if test "$SDL_CONFIG" = "no" ; then
14168 echo "*** The sdl-config script installed by SDL could not be found"
14169 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14170 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14171 echo "*** full path to sdl-config."
14173 if test -f conf.sdltest
; then
14176 echo "*** Could not run SDL test program, checking why..."
14177 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14178 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14179 LIBS
="$LIBS $SDL_LIBS"
14180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14186 int main(int argc, char *argv[])
14189 #define main K_and_R_C_main
14199 if ac_fn_c_try_link
"$LINENO"; then :
14200 echo "*** The test program compiled, but did not run. This usually means"
14201 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14202 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14203 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14204 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14205 echo "*** is required on your system"
14207 echo "*** If you have an old version installed, it is best to remove it, although"
14208 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14210 echo "*** The test program failed to compile or link. See the file config.log for the"
14211 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14212 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14213 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14215 rm -f core conftest.err conftest.
$ac_objext \
14216 conftest
$ac_exeext conftest.
$ac_ext
14217 CFLAGS
="$ac_save_CFLAGS"
14218 CXXFLAGS
="$ac_save_CXXFLAGS"
14219 LIBS
="$ac_save_LIBS"
14231 if test "x-$have_sdl" != "x-yes" ; then
14233 if test "x-$sdl_hidd" != "x-auto" ; then
14234 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14238 sdl_hidd_target
=kernel-hidd-sdl
14239 aros_host_sdl_cflags
=SDL_CFLAGS
14240 aros_host_sdl_libs
=SDL_LIBS
14244 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14245 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14250 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14251 oss_library_target
=workbench-libs-oss-unix
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14257 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14258 # Check whether --enable-dbus was given.
14259 if test "${enable_dbus+set}" = set; then :
14260 enableval
=$enable_dbus; dbus
="yes"
14265 if test "$dbus" = "yes" ; then
14267 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14268 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14269 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14270 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14275 $as_echo "$dbus" >&6; }
14277 if test "$use_kernel_cc_wrapper" = "yes" ; then
14278 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14281 if test "${crosstools}" != "yes" ; then
14282 aros_target_toolchain
=no
14284 aros_target_toolchain
=yes
14300 # Compatability with other Amiga-like operation systems
14395 # Delinting target compiler flags
14419 # Native version related
14422 # Palm native version related
14425 # Unix/Hosted version related
14431 # Apple iOS related
14436 # ARM default GCC target related
14462 # Collect-aros stuff: "-ius" to ignore undefined symbols
14465 # C compiler related
14471 case "$aros_flavour" in
14472 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14473 aros_flavour
="emulation" ;;
14474 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14475 aros_flavour
="emulation" ;;
14476 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14477 aros_flavour
="standalone";;
14478 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14479 aros_flavour
="standalone";;
14480 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14481 aros_flavour
="native" ;;
14482 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14483 aros_flavour
="native" ;;
14484 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14485 aros_flavour
="linklib" ;;
14486 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14487 aros_flavour
="palmnative" ;;
14488 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14489 aros_flavour
="mac68knative" ;;
14490 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14491 aros_flavour
="ppcnative" ;;
14494 if test ! -d ${aros_inc_dir} ; then
14495 ${MKDIR} ${aros_inc_dir}
14497 if test ! -d ${aros_geninc_dir} ; then
14498 ${MKDIR} ${aros_geninc_dir}
14500 if test ! -d ${aros_hostcfg_dir} ; then
14501 ${MKDIR} ${aros_hostcfg_dir}
14503 if test ! -d ${aros_targetcfg_dir} ; then
14504 ${MKDIR} ${aros_targetcfg_dir}
14506 if test ! -d ${aros_tools_dir} ; then
14507 ${MKDIR} ${aros_tools_dir}
14509 if test ! -d ${aros_scripts_dir} ; then
14510 ${MKDIR} ${aros_scripts_dir}
14513 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14516 ac_config_commands
="$ac_config_commands compiler_executable"
14518 ac_config_commands
="$ac_config_commands genmf_executable"
14521 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"
14524 cat >confcache
<<\_ACEOF
14525 # This file is a shell script that caches the results of configure
14526 # tests run on this system so they can be shared between configure
14527 # scripts and configure runs, see configure's option --config-cache.
14528 # It is not useful on other systems. If it contains results you don't
14529 # want to keep, you may remove or edit it.
14531 # config.status only pays attention to the cache file if you give it
14532 # the --recheck option to rerun configure.
14534 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14535 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14536 # following values.
14540 # The following way of writing the cache mishandles newlines in values,
14541 # but we know of no workaround that is simple, portable, and efficient.
14542 # So, we kill variables containing newlines.
14543 # Ultrix sh set writes to stderr and can't be redirected directly,
14544 # and sets the high bit in the cache file unless we assign to the vars.
14546 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14547 eval ac_val
=\$
$ac_var
14551 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14552 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14555 _ | IFS | as_nl
) ;; #(
14556 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14557 *) { eval $ac_var=; unset $ac_var;} ;;
14563 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14564 *${as_nl}ac_space
=\
*)
14565 # `set' does not quote correctly, so add quotes: double-quote
14566 # substitution turns \\\\ into \\, and sed turns \\ into \.
14569 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14572 # `set' quotes correctly as required by POSIX, so do not add quotes.
14573 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14582 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14584 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14586 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14587 if test -w "$cache_file"; then
14588 if test "x$cache_file" != "x/dev/null"; then
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14590 $as_echo "$as_me: updating cache $cache_file" >&6;}
14591 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14592 cat confcache
>"$cache_file"
14594 case $cache_file in #(
14596 mv -f confcache
"$cache_file"$$
&&
14597 mv -f "$cache_file"$$
"$cache_file" ;; #(
14599 mv -f confcache
"$cache_file" ;;
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14605 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14610 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14611 # Let make expand exec_prefix.
14612 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14614 DEFS
=-DHAVE_CONFIG_H
14619 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14620 # 1. Remove the extension, and $U if already installed.
14621 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14622 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14623 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14624 # will be set to the directory where LIBOBJS objects are built.
14625 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14626 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14628 LIBOBJS
=$ac_libobjs
14630 LTLIBOBJS
=$ac_ltlibobjs
14634 : "${CONFIG_STATUS=./config.status}"
14636 ac_clean_files_save
=$ac_clean_files
14637 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14639 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14641 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14643 # Generated by $as_me.
14644 # Run this file to recreate the current configuration.
14645 # Compiler output produced by configure, useful for debugging
14646 # configure, is in config.log if it exists.
14649 ac_cs_recheck=false
14652 SHELL=\${CONFIG_SHELL-$SHELL}
14655 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14656 ## -------------------- ##
14657 ## M4sh Initialization. ##
14658 ## -------------------- ##
14660 # Be more Bourne compatible
14661 DUALCASE
=1; export DUALCASE
# for MKS sh
14662 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14665 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14666 # is contrary to our usage. Disable this feature.
14667 alias -g '${1+"$@"}'='"$@"'
14668 setopt NO_GLOB_SUBST
14670 case `(set -o) 2>/dev/null` in #(
14682 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14683 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14684 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14685 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14686 # Prefer a ksh shell builtin over an external printf program on Solaris,
14687 # but without wasting forks for bash or zsh.
14688 if test -z "$BASH_VERSION$ZSH_VERSION" \
14689 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14690 as_echo='print
-r --'
14691 as_echo_n='print
-rn --'
14692 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14693 as_echo='printf %s
\n'
14694 as_echo_n='printf %s
'
14696 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14697 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14698 as_echo_n='/usr
/ucb
/echo -n'
14700 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14701 as_echo_n_body='eval
14705 expr "X$arg" : "X\\(.*\\)$as_nl";
14706 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14708 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14710 export as_echo_n_body
14711 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14713 export as_echo_body
14714 as_echo='sh
-c $as_echo_body as_echo
'
14717 # The user is always right.
14718 if test "${PATH_SEPARATOR+set}" != set; then
14720 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14721 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14728 # We need space, tab and new line, in precisely that order. Quoting is
14729 # there to prevent editors from complaining about space-tab.
14730 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14731 # splitting by setting IFS to empty value.)
14734 # Find who we are. Look in the path if we contain no directory separator.
14737 *[\\/]* ) as_myself=$0 ;;
14738 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14739 for as_dir in $PATH
14742 test -z "$as_dir" && as_dir=.
14743 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14749 # We did not find ourselves, most probably we were run as `sh COMMAND'
14750 # in which case we are not to be found in the path.
14751 if test "x$as_myself" = x
; then
14754 if test ! -f "$as_myself"; then
14755 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14759 # Unset variables that we do not need and which cause bugs (e.g. in
14760 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14761 # suppresses any "Segmentation fault" message there. '((' could
14762 # trigger a bug in pdksh 5.2.14.
14763 for as_var
in BASH_ENV ENV MAIL MAILPATH
14764 do eval test x\
${$as_var+set} = xset \
14765 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14778 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14781 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14782 # ----------------------------------------
14783 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14784 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14785 # script with STATUS, using 1 if that was 0.
14788 as_status
=$1; test $as_status -eq 0 && as_status
=1
14790 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14791 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14793 $as_echo "$as_me: error: $2" >&2
14794 as_fn_exit
$as_status
14798 # as_fn_set_status STATUS
14799 # -----------------------
14800 # Set $? to STATUS, without forking.
14801 as_fn_set_status
()
14804 } # as_fn_set_status
14806 # as_fn_exit STATUS
14807 # -----------------
14808 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14812 as_fn_set_status
$1
14818 # Portably unset VAR.
14821 { eval $1=; unset $1;}
14823 as_unset
=as_fn_unset
14824 # as_fn_append VAR VALUE
14825 # ----------------------
14826 # Append the text in VALUE to the end of the definition contained in VAR. Take
14827 # advantage of any shell optimizations that allow amortized linear growth over
14828 # repeated appends, instead of the typical quadratic growth present in naive
14830 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14831 eval 'as_fn_append ()
14842 # as_fn_arith ARG...
14843 # ------------------
14844 # Perform arithmetic evaluation on the ARGs, and store the result in the
14845 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14846 # must be portable across $(()) and expr.
14847 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14848 eval 'as_fn_arith ()
14855 as_val
=`expr "$@" || test $? -eq 1`
14860 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14861 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14867 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14868 as_basename
=basename
14873 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14879 as_me
=`$as_basename -- "$0" ||
14880 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14881 X"$0" : 'X\(//\)$' \| \
14882 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14884 sed '/^.*\/\([^/][^/]*\)\/*$/{
14898 # Avoid depending upon Character Ranges.
14899 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14900 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14901 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14902 as_cr_digits
='0123456789'
14903 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14905 ECHO_C
= ECHO_N
= ECHO_T
=
14906 case `echo -n x` in #(((((
14908 case `echo 'xy\c'` in
14909 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14911 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14918 rm -f conf$$ conf$$.exe conf$$.
file
14919 if test -d conf$$.dir
; then
14920 rm -f conf$$.dir
/conf$$.
file
14923 mkdir conf$$.dir
2>/dev
/null
14925 if (echo >conf$$.
file) 2>/dev
/null
; then
14926 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14928 # ... but there are two gotchas:
14929 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14930 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14931 # In both cases, we have to default to `cp -p'.
14932 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14934 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14942 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14943 rmdir conf$$.dir
2>/dev
/null
14948 # Create "$as_dir" as a directory, including parents if necessary.
14953 -*) as_dir
=.
/$as_dir;;
14955 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14959 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14960 *) as_qdir
=$as_dir;;
14962 as_dirs
="'$as_qdir' $as_dirs"
14963 as_dir
=`$as_dirname -- "$as_dir" ||
14964 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14965 X"$as_dir" : 'X\(//\)[^/]' \| \
14966 X"$as_dir" : 'X\(//\)$' \| \
14967 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14968 $as_echo X"$as_dir" |
14969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14973 /^X\(\/\/\)[^/].*/{
14986 test -d "$as_dir" && break
14988 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14989 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14993 if mkdir
-p .
2>/dev
/null
; then
14994 as_mkdir_p
='mkdir -p "$as_dir"'
14996 test -d .
/-p && rmdir .
/-p
15000 if test -x / >/dev
/null
2>&1; then
15001 as_test_x
='test -x'
15003 if ls -dL / >/dev
/null
2>&1; then
15010 if test -d "$1"; then
15016 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15017 ???[sx]*):;;*)false;;esac;fi
15021 as_executable_p
=$as_test_x
15023 # Sed expression to map a string onto a valid CPP name.
15024 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15026 # Sed expression to map a string onto a valid variable name.
15027 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15031 ## ----------------------------------- ##
15032 ## Main body of $CONFIG_STATUS script. ##
15033 ## ----------------------------------- ##
15035 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15038 # Save the log message, to keep $0 and so on meaningful, and to
15039 # report actual input values of CONFIG_FILES etc. instead of their
15040 # values after options handling.
15042 This file was extended by $as_me, which was
15043 generated by GNU Autoconf 2.68. Invocation command line was
15045 CONFIG_FILES = $CONFIG_FILES
15046 CONFIG_HEADERS = $CONFIG_HEADERS
15047 CONFIG_LINKS = $CONFIG_LINKS
15048 CONFIG_COMMANDS = $CONFIG_COMMANDS
15051 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15056 case $ac_config_files in *"
15057 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15060 case $ac_config_headers in *"
15061 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15066 # Files that config.status was made for.
15067 config_files="$ac_config_files"
15068 config_headers="$ac_config_headers"
15069 config_commands="$ac_config_commands"
15073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15075 \`$as_me' instantiates files and other configuration actions
15076 from templates according to the current configuration. Unless the files
15077 and actions are specified as TAGs, all are instantiated by default.
15079 Usage: $0 [OPTION]... [TAG]...
15081 -h, --help print this help, then exit
15082 -V, --version print version number and configuration settings, then exit
15083 --config print configuration, then exit
15084 -q, --quiet, --silent
15085 do not print progress messages
15086 -d, --debug don't remove temporary files
15087 --recheck update $as_me by reconfiguring in the same conditions
15088 --file=FILE[:TEMPLATE]
15089 instantiate the configuration file FILE
15090 --header=FILE[:TEMPLATE]
15091 instantiate the configuration header FILE
15093 Configuration files:
15096 Configuration headers:
15099 Configuration commands:
15102 Report bugs to the package provider."
15105 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15106 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15109 configured by $0, generated by GNU Autoconf 2.68,
15110 with options \\"\$ac_cs_config\\"
15112 Copyright (C) 2010 Free Software Foundation, Inc.
15113 This config.status script is free software; the Free Software Foundation
15114 gives unlimited permission to copy, distribute and modify it."
15118 test -n "\$AWK" || AWK=awk
15121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15122 # The default lists apply if the user does not specify any file.
15128 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15129 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15133 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15145 # Handling of the options.
15146 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15148 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15149 $as_echo "$ac_cs_version"; exit ;;
15150 --config |
--confi |
--conf |
--con |
--co |
--c )
15151 $as_echo "$ac_cs_config"; exit ;;
15152 --debug |
--debu |
--deb |
--de |
--d |
-d )
15154 --file |
--fil |
--fi |
--f )
15157 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15158 '') as_fn_error $?
"missing file argument" ;;
15160 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15161 ac_need_defaults
=false
;;
15162 --header |
--heade |
--head |
--hea )
15165 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15167 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15168 ac_need_defaults
=false
;;
15170 # Conflict between --help and --header
15171 as_fn_error $?
"ambiguous option: \`$1'
15172 Try \`$0 --help' for more information.";;
15173 --help |
--hel |
-h )
15174 $as_echo "$ac_cs_usage"; exit ;;
15175 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15176 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15179 # This is an error.
15180 -*) as_fn_error $?
"unrecognized option: \`$1'
15181 Try \`$0 --help' for more information." ;;
15183 *) as_fn_append ac_config_targets
" $1"
15184 ac_need_defaults
=false
;;
15190 ac_configure_extra_args
=
15192 if $ac_cs_silent; then
15194 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15199 if \$ac_cs_recheck; then
15200 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15202 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15203 CONFIG_SHELL='$SHELL'
15204 export CONFIG_SHELL
15209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15213 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15214 ## Running $as_me. ##
15220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15225 aros_host_exe_suffix=${aros_host_exe_suffix}
15226 aros_tools_dir=${aros_tools_dir}
15227 aros_target_cpu=${aros_target_cpu}
15228 aros_target_arch=${aros_target_arch}
15229 aros_target_suffix=${aros_target_suffix}
15230 orig_target_nm=${orig_target_nm}
15231 orig_target_as=${orig_target_as}
15232 orig_target_ar=${orig_target_ar}
15233 orig_target_ranlib=${orig_target_ranlib}
15234 orig_target_objdump=${orig_target_objdump}
15235 orig_target_objcopy=${orig_target_objcopy}
15236 orig_target_strip=${orig_target_strip}
15237 aros_kernel_ld=${aros_kernel_ld}
15240 aros_tools_dir=${aros_tools_dir}
15245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15247 # Handling of arguments.
15248 for ac_config_target
in $ac_config_targets
15250 case $ac_config_target in
15251 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15252 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15253 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15254 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15255 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15256 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15257 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15258 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15259 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15260 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15261 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15262 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15263 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15264 "${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" ;;
15265 "${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" ;;
15266 "${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" ;;
15267 "${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" ;;
15268 "${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" ;;
15269 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15270 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15271 "${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" ;;
15273 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15278 # If the user did not use the arguments to specify the items to instantiate,
15279 # then the envvar interface is used. Set only those that are not.
15280 # We use the long form for the default assignment because of an extremely
15281 # bizarre bug on SunOS 4.1.3.
15282 if $ac_need_defaults; then
15283 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15284 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15285 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15288 # Have a temporary directory for convenience. Make it in the build tree
15289 # simply because there is no reason against having it here, and in addition,
15290 # creating and moving files from /tmp can sometimes cause problems.
15291 # Hook for its removal unless debugging.
15292 # Note that there is a small window in which the directory will not be cleaned:
15293 # after its creation but before its name has been assigned to `$tmp'.
15297 trap 'exit_status=$?
15298 : "${ac_tmp:=$tmp}"
15299 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15301 trap 'as_fn_exit 1' 1 2 13 15
15303 # Create a (secure) tmp directory for tmp files.
15306 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15310 tmp
=.
/conf$$
-$RANDOM
15311 (umask 077 && mkdir
"$tmp")
15312 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15315 # Set up the scripts for CONFIG_FILES section.
15316 # No need to generate them if there are no CONFIG_FILES.
15317 # This happens for instance with `./config.status config.h'.
15318 if test -n "$CONFIG_FILES"; then
15321 ac_cr
=`echo X | tr X '\015'`
15322 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15323 # But we know of no other shell where ac_cr would be empty at this
15324 # point, so we can use a bashism as a fallback.
15325 if test "x$ac_cr" = x
; then
15326 eval ac_cr
=\$
\'\\r
\'
15328 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15329 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15332 ac_cs_awk_cr
=$ac_cr
15335 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15340 echo "cat >conf$$subs.awk <<_ACEOF" &&
15341 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15343 } >conf$$subs.sh ||
15344 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15345 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15347 for ac_last_try in false false false false false :; do
15348 . ./conf$$subs.sh ||
15349 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15351 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15352 if test $ac_delim_n = $ac_delim_num; then
15354 elif $ac_last_try; then
15355 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15357 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15360 rm -f conf$$subs.sh
15362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15363 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15367 s/^/S["/; s
/!.
*/"]=/
15377 s/\(.\{148\}\)..*/\1/
15379 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15384 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15391 s/\(.\{148\}\)..*/\1/
15393 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15397 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15402 ' <conf$$subs.awk | sed '
15407 ' >>$CONFIG_STATUS || ac_write_fail=1
15408 rm -f conf$$subs.awk
15409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15411 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15412 for (key in S) S_is_set[key] = 1
15418 nfields = split(line, field, "@
")
15420 len = length(field[1])
15421 for (i = 2; i < nfields; i++) {
15423 keylen = length(key)
15424 if (S_is_set[key]) {
15426 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15427 len += length(value) + length(field[++i])
15438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15439 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15440 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15443 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15444 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15447 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15448 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15449 # trailing colons and then remove the whole line if VPATH becomes empty
15450 # (actually we leave an empty line to preserve line numbers).
15451 if test "x
$srcdir" = x.; then
15452 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15471 fi # test -n "$CONFIG_FILES"
15473 # Set up the scripts for CONFIG_HEADERS section.
15474 # No need to generate them if there are no CONFIG_HEADERS.
15475 # This happens for instance with `./config.status Makefile'.
15476 if test -n "$CONFIG_HEADERS"; then
15477 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15481 # Transform confdefs.h into an awk script `defines.awk', embedded as
15482 # here-document in config.status, that substitutes the proper values into
15483 # config.h.in to produce config.h.
15485 # Create a delimiter string that does not exist in confdefs.h, to ease
15486 # handling of long lines.
15488 for ac_last_try in false false :; do
15489 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15490 if test -z "$ac_tt"; then
15492 elif $ac_last_try; then
15493 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15495 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15499 # For the awk script, D is an array of macro values keyed by name,
15500 # likewise P contains macro parameters if any. Preserve backslash
15501 # newline sequences.
15503 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15505 s/.\{148\}/&'"$ac_delim"'/g
15508 s/^[ ]*#[ ]*define[ ][ ]*/ /
15515 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15517 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15521 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15522 D["\
1"]=" \
3\\\\\\n
"\\/p
15524 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15529 s/.\{148\}/&'"$ac_delim"'/g
15534 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15537 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15539 ' <confdefs.h | sed '
15540 s/'"$ac_delim"'/"\\\
15541 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15544 for (key in D) D_is_set[key] = 1
15547 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15549 split(line, arg, " ")
15550 if (arg[1] == "#") {
15554 defundef
= substr
(arg
[1], 2)
15557 split(mac1
, mac2
, "(") #)
15559 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15560 if (D_is_set
[macro
]) {
15561 # Preserve the white space surrounding the "#".
15562 print prefix
"define", macro P
[macro
] D
[macro
]
15565 # Replace #undef with comments. This is necessary, for example,
15566 # in the case of _POSIX_SOURCE, which is predefined and required
15567 # on some systems where configure will not decide to define it.
15568 if (defundef
== "undef") {
15569 print
"/*", prefix defundef
, macro
, "*/"
15577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15578 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15579 fi # test -n "$CONFIG_HEADERS"
15582 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15587 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15589 case $ac_mode$ac_tag in
15591 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15592 :[FH
]-) ac_tag
=-:-;;
15593 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15610 -) ac_f
="$ac_tmp/stdin";;
15611 *) # Look for the file first in the build tree, then in the source tree
15612 # (if the path is not absolute). The absolute path cannot be DOS-style,
15613 # because $ac_f cannot contain `:'.
15617 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15619 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15621 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15622 as_fn_append ac_file_inputs
" '$ac_f'"
15625 # Let's still pretend it is `configure' which instantiates (i.e., don't
15626 # use $as_me), people would be surprised to read:
15627 # /* config.h. Generated by config.status. */
15628 configure_input
='Generated from '`
15629 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15631 if test x
"$ac_file" != x-
; then
15632 configure_input
="$ac_file. $configure_input"
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15634 $as_echo "$as_me: creating $ac_file" >&6;}
15636 # Neutralize special characters interpreted by sed in replacement strings.
15637 case $configure_input in #(
15638 *\
&* |
*\|
* |
*\\* )
15639 ac_sed_conf_input
=`$as_echo "$configure_input" |
15640 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15641 *) ac_sed_conf_input
=$configure_input;;
15645 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15646 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15651 ac_dir
=`$as_dirname -- "$ac_file" ||
15652 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15653 X"$ac_file" : 'X\(//\)[^/]' \| \
15654 X"$ac_file" : 'X\(//\)$' \| \
15655 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15656 $as_echo X"$ac_file" |
15657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15661 /^X\(\/\/\)[^/].*/{
15674 as_dir
="$ac_dir"; as_fn_mkdir_p
15678 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15680 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15681 # A ".." for each directory in $ac_dir_suffix.
15682 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15683 case $ac_top_builddir_sub in
15684 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15685 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15688 ac_abs_top_builddir
=$ac_pwd
15689 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15690 # for backward compatibility:
15691 ac_top_builddir
=$ac_top_build_prefix
15694 .
) # We are building in place.
15696 ac_top_srcdir
=$ac_top_builddir_sub
15697 ac_abs_top_srcdir
=$ac_pwd ;;
15698 [\\/]* | ?
:[\\/]* ) # Absolute name.
15699 ac_srcdir
=$srcdir$ac_dir_suffix;
15700 ac_top_srcdir
=$srcdir
15701 ac_abs_top_srcdir
=$srcdir ;;
15702 *) # Relative name.
15703 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15704 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15705 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15707 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15719 # If the template does not know about datarootdir, expand it.
15720 # FIXME: This hack should be removed a few years after 2.60.
15721 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15732 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15733 *datarootdir
*) ac_datarootdir_seen
=yes;;
15734 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15736 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15739 ac_datarootdir_hack='
15740 s&@datadir@&$datadir&g
15741 s&@docdir@&$docdir&g
15742 s&@infodir@&$infodir&g
15743 s&@localedir@&$localedir&g
15744 s&@mandir@&$mandir&g
15745 s&\\\${datarootdir}&$datarootdir&g' ;;
15749 # Neutralize VPATH when `$srcdir' = `.'.
15750 # Shell code in configure.ac might set extrasub.
15751 # FIXME: do we really want to maintain this feature?
15752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15753 ac_sed_extra="$ac_vpsub
15756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15758 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15759 s|@configure_input@|
$ac_sed_conf_input|
;t t
15760 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15761 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15762 s
&@srcdir@
&$ac_srcdir&;t t
15763 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15764 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15765 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15766 s
&@builddir@
&$ac_builddir&;t t
15767 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15768 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15769 $ac_datarootdir_hack
15771 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15772 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15774 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15775 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15776 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15777 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15779 which seems to be undefined. Please make sure it is defined" >&5
15780 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15781 which seems to be undefined. Please make sure it is defined" >&2;}
15783 rm -f "$ac_tmp/stdin"
15785 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15786 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15788 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15794 if test x"$ac_file" != x-; then
15796 $as_echo "/* $configure_input */" \
15797 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15798 } >"$ac_tmp/config.h" \
15799 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15800 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15802 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15805 mv "$ac_tmp/config.h" "$ac_file" \
15806 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15809 $as_echo "/* $configure_input */" \
15810 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15811 || as_fn_error $? "could not create -" "$LINENO" 5
15815 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15816 $as_echo "$as_me: executing $ac_file commands" >&6;}
15821 case $ac_file$ac_mode in
15822 "compiler_executable":C)
15823 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15825 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15826 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15830 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15832 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15833 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15834 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15835 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15836 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15837 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15838 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15840 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15842 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15850 ac_clean_files=$ac_clean_files_save
15852 test $ac_write_fail = 0 ||
15853 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15856 # configure is writing to config.log, and then calls config.status.
15857 # config.status does its own redirection, appending to config.log.
15858 # Unfortunately, on DOS this fails, as config.log is still kept open
15859 # by configure, so config.status won't be able to
write to it
; its
15860 # output is simply discarded. So we exec the FD to /dev/null,
15861 # effectively closing config.log, so it can be properly (re)opened and
15862 # appended to by config.status. When coming back to configure, we
15863 # need to make the FD available again.
15864 if test "$no_create" != yes; then
15866 ac_config_status_args
=
15867 test "$silent" = yes &&
15868 ac_config_status_args
="$ac_config_status_args --quiet"
15870 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15872 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15873 # would make configure fail if this is the last instruction.
15874 $ac_cs_success || as_fn_exit
1
15876 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15878 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15883 #XXX compatability...
15884 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15886 if test -n "$aros_shared_cflags" ; then
15887 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15888 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg