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_target_arch
="amiga"
8279 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8280 aros_shared_default
="no"
8282 case "$target_cpu" in
8284 # Check whether --enable-amigaos_compliance was given.
8285 if test "${enable_amigaos_compliance+set}" = set; then :
8286 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8290 aros_target_cpu
="m68k"
8291 aros_object_format
="m68kelf"
8292 aros_flavour
="standcompat"
8293 gcc_target_cpu
="m68000"
8294 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -Os -DNOLIBINLINE"
8295 aros_config_aflags
="$aros_config_aflags"
8296 aros_target_strip_flags
="-R.comment --strip-debug"
8297 aros_default_wbwidth
=640
8298 aros_default_wbheight
=256
8299 aros_default_wbdepth
=2
8303 aros_flavour
="native"
8304 gcc_target_cpu
="ppc"
8307 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8313 aros_target_arch
="mingw32"
8314 aros_shared_default
="no"
8315 aros_flavour
="emulation"
8316 aros_shared_cflags
=""
8317 need_crosstools
="yes"
8320 case "$target_cpu" in
8322 aros_target_cpu
="i386"
8323 aros_object_format
="elf_i386"
8324 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8325 aros_default_wbdepth
=8
8326 gcc_target_cpu
="i386"
8328 kernel_tool_prefix
="i386-mingw32-"
8331 aros_target_cpu
="x86_64"
8332 aros_object_format
="elf_x86_64"
8333 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8334 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8335 aros_default_wbdepth
=8
8336 kernel_tool_prefix
="x86_64-w64-mingw32-"
8339 aros_target_cpu
="arm"
8340 aros_object_format
="armelf_linux_eabi"
8341 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8342 aros_arch_libs
="-laeabi"
8343 aros_default_wbdepth
=8
8344 gcc_target_cpu
="arm"
8345 gcc_default_float_abi
="soft"
8346 kernel_tool_prefix
="arm-mingw32ce-"
8347 aros_default_wbwidth
=160
8348 aros_default_wbheight
=160
8351 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8354 if test $host_os = "cygwin"; then
8355 aros_kernel_cflags
="-mno-cygwin"
8359 aros_target_arch
="pp"
8360 aros_shared_default
="no"
8361 case "$target_cpu" in
8363 aros_target_cpu
="m68k"
8364 aros_object_format
="m68kelf"
8365 aros_flavour
="palmnative"
8366 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8367 aros_default_wbwidth
=160
8368 aros_default_wbheight
=160
8369 aros_default_wbdepth
=1
8370 aros_target_ar_flags
="cru"
8371 aros_compiler_libs
="-lgcc1"
8372 aros_shared_default
=no
8373 aros_shared_cflags
="-fpic"
8374 aros_shared_aflags
=""
8375 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8376 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8377 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8378 aros_debug_aflags
=""
8379 aros_debug_ldflags
="$aros_symbols_debug"
8380 aros_mungwall_debug
="0"
8381 aros_modules_debug
="0"
8382 gcc_target_cpu
="mc68000"
8383 ignore_undefined_symbols
="-ius"
8386 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8392 aros_target_arch
="mac"
8393 aros_shared_default
="no"
8394 case "$target_cpu" in
8396 aros_target_cpu
="m68k"
8397 aros_object_format
="m68kelf"
8398 aros_flavour
="mac68knative"
8399 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8400 aros_default_wbwidth
=512
8401 aros_default_wbheight
=384
8402 aros_default_wbdepth
=8
8403 aros_target_ar_flags
="cru"
8404 aros_compiler_libs
="-lgcc1"
8405 aros_shared_default
=no
8406 aros_shared_cflags
="-fpic"
8407 aros_shared_aflags
=""
8408 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8409 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8410 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8411 aros_debug_aflags
=""
8412 aros_debug_ldflags
="$aros_symbols_debug"
8413 aros_mungwall_debug
="0"
8414 aros_modules_debug
="0"
8415 gcc_target_cpu
="mc68000"
8416 ignore_undefined_symbols
="-ius"
8419 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8425 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8429 #-----------------------------------------------------------------------------
8430 crosstools_guess
=yes
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8433 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8435 # Check whether --with-kernel-toolchain-prefix was given.
8436 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8437 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8441 $as_echo "$kernel_tool_prefix" >&6; }
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8444 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8446 # Check whether --with-elf-toolchain-prefix was given.
8447 if test "${with_elf_toolchain_prefix+set}" = set; then :
8448 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8453 $as_echo "$elf_tool_prefix" >&6; }
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8456 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8458 # Check whether --with-aros-toolchain was given.
8459 if test "${with_aros_toolchain+set}" = set; then :
8460 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8464 if test "$aros_tool_prefix" = "yes" ; then
8465 aros_tool_prefix
=$aros_target_cpu-aros-
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8468 $as_echo "$aros_tool_prefix" >&6; }
8470 #-----------------------------------------------------------------------------
8471 # Checking if we should build crosstools..
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8473 $as_echo_n "checking whether to build crosstools... " >&6; }
8474 # Check whether --enable-crosstools was given.
8475 if test "${enable_crosstools+set}" = set; then :
8476 enableval
=$enable_crosstools; crosstools
="$enableval"
8478 crosstools
="$crosstools_guess"
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8482 $as_echo "$crosstools" >&6; }
8484 if test "${crosstools}" = "yes"; then
8485 if test "${crosstools_guess}" = "no"; then
8486 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8491 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8493 # Check whether --with-aros-toolchain-install was given.
8494 if test "${with_aros_toolchain_install+set}" = set; then :
8495 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8498 if test "x$aros_toolchain_install" = "x"; then
8499 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8501 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8502 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8505 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8508 # Now process extra architecture-specific options.
8509 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8510 # as well as floating-point ABI.
8511 case "$aros_target_cpu" in
8513 if test "$gcc_default_cpu" = ""; then
8514 gcc_default_cpu
="armv6"
8516 if test "$gcc_default_fpu" = ""; then
8517 gcc_default_fpu
="vfp"
8519 if test "$gcc_default_float_abi" = ""; then
8520 gcc_default_float_abi
="softfp"
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8524 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8526 # Check whether --with-cpu was given.
8527 if test "${with_cpu+set}" = set; then :
8528 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8530 aros_gcc_cpu
=$gcc_default_cpu
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8534 $as_echo "$aros_gcc_cpu" >&6; }
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8537 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8539 # Check whether --with-fpu was given.
8540 if test "${with_fpu+set}" = set; then :
8541 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8543 aros_gcc_fpu
=$gcc_default_fpu
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8547 $as_echo "$aros_gcc_fpu" >&6; }
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8550 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8552 # Check whether --with-float was given.
8553 if test "${with_float+set}" = set; then :
8554 withval
=$with_float; aros_gcc_float_abi
="$withval"
8556 aros_gcc_float_abi
=$gcc_default_float_abi
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8560 $as_echo "$aros_gcc_float_abi" >&6; }
8562 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"
8563 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"
8567 # Some formats need custom ELF specs.
8568 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8569 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8570 elf_specs_in
=config
/${aros_object_format}-specs.
in
8572 elf_specs_in
=config
/elf-specs.
in
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8576 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8578 # Check whether --with-aros-gcc was given.
8579 if test "${with_aros_gcc+set}" = set; then :
8580 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8586 $as_echo "$aros_gcc_version" >&6; }
8588 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8589 # Since we override specs, we may need to put these defines there
8590 if test "$gcc_target_cpu" != ""; then
8591 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8595 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8597 # Check whether --with-portssources was given.
8598 if test "${with_portssources+set}" = set; then :
8599 withval
=$with_portssources; with_portssrcdir
=$withval
8601 with_portssrcdir
="default"
8604 if test "$with_portssrcdir" = "default"; then
8605 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8607 AROS_PORTSSRCDIR
="$with_portssrcdir"
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8610 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8613 $as_echo_n "checking which bootloader to use... " >&6; }
8615 # Check whether --with-bootloader was given.
8616 if test "${with_bootloader+set}" = set; then :
8617 withval
=$with_bootloader; target_bootloader
=$withval
8619 target_bootloader
=$target_bootloader
8622 if test "$target_bootloader" = "none"; then
8623 aros_target_bootloader
=""
8625 aros_target_bootloader
="$target_bootloader"
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8628 $as_echo "$target_bootloader" >&6; }
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8631 $as_echo_n "checking which icon-set to use... " >&6; }
8633 # Check whether --with-iconset was given.
8634 if test "${with_iconset+set}" = set; then :
8635 withval
=$with_iconset; target_iconset
=$withval
8637 target_iconset
="default"
8640 if test "$target_iconset" = "default"; then
8641 aros_target_iconset
="Gorilla"
8642 target_iconset
="default (Gorilla)"
8644 aros_target_iconset
="$target_iconset"
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8647 $as_echo "$target_iconset" >&6; }
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8650 $as_echo_n "checking which GUI Theme to use... " >&6; }
8652 # Check whether --with-theme was given.
8653 if test "${with_theme+set}" = set; then :
8654 withval
=$with_theme; target_guitheme
=$withval
8656 target_guitheme
="default"
8659 if test "$target_guitheme" = "default"; then
8660 aros_target_guitheme
="Ice"
8662 aros_target_guitheme
="$target_guitheme"
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8665 $as_echo "$aros_target_guitheme" >&6; }
8667 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8671 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8675 if test "$aros_host_cpu" == "x86_64" ; then
8676 if test "$aros_target_cpu" == "i386" ; then
8681 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8682 if test "$aros_host_arch" != "$aros_target_arch" ; then
8686 if test "$host_cc_elf" = "no" ; then
8691 if test "$cross_compiling" = "no" ; then
8692 kernel_tool_prefix
=""
8693 if test "$host_cc_elf" = "yes" ; then
8698 #######################################################################
8699 ## Compute what toolchains to use, and their paths ##
8700 #######################################################################
8702 # This takes, as input:
8703 # crosstools {yes,no}
8704 # kernel_tool_version {"",[version]}
8705 # aros_gcc_version {"",[version]}
8706 # kernel_tool_prefix {none,[some-arch-os-]}
8707 # target_tool_prefix ${aros_target_cpu}-aros-
8708 # aros_tool_prefix ${aros_target_cpu}-aros-
8711 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8712 # Where the 'kernel' binaries are located
8713 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8714 # Where the 'target' binaries are located
8715 # (not the symlink farm - that is aros_target_*!)
8718 # if crosstools then
8719 # if kernel_tools_prefix = "no-kernel-prefix-"
8720 # aros_kernel_* = crosstools cc paths
8721 # aros_kernel_cc = elf cc wrapper around crosstools cc
8723 # VALIDATE(${kernel_tools_prefix}*)
8724 # aros_kernel_* = ${kernel_tools_prefix}*
8725 # if ${kernel_tools_prefix}cc is an AROS gcc
8726 # aros_kernel_cc = ${kernel_tools_prefix}cc
8728 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8732 # orig_target_* = aros built crosstools
8733 # orig_target_cc = elf cc wrapper around crosstools cc
8735 # VALIDATE(${kernel_tools_prefix}*)
8737 # orig_target_* = aros_kernel_*
8738 # if aros_kernel_cc is an AROS gcc
8739 # orig_target_cc = aros_kernel_cc
8741 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8745 target_tool_prefix
="${aros_target_cpu}-aros-"
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8748 $as_echo_n "checking which kernel tools... " >&6; }
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8750 $as_echo "$kernel_tool_prefix" >&6; };
8752 if test "$kernel_tool_prefix" = "none" ; then
8753 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8754 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8757 # Kernel tools required - find them
8758 # Note that 'normally', aros_kernel_* overrides will be
8759 # empty, unless specified in the per-arch sections above.
8760 if test "x$aros_kernel_cpp" = "x"; then
8761 aros_kernel_cpp
=${kernel_tool_prefix}cpp
8764 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
8765 if test "$cross_compiling" = "yes" ; then
8766 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8767 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8769 $as_echo_n "checking for $ac_word... " >&6; }
8770 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8771 $as_echo_n "(cached) " >&6
8773 case $aros_kernel_cpp in
8775 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8782 test -z "$as_dir" && as_dir
=.
8783 for ac_exec_ext
in '' $ac_executable_extensions; do
8784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8785 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8796 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8797 if test -n "$aros_kernel_cpp"; then
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8799 $as_echo "$aros_kernel_cpp" >&6; }
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8802 $as_echo "no" >&6; }
8807 if test "$GCC" = "yes"; then
8808 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8809 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8810 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8812 $as_echo_n "checking for $ac_word... " >&6; }
8813 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8814 $as_echo_n "(cached) " >&6
8816 case $aros_kernel_cpp in
8818 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8822 for as_dir
in `dirname $aros_gcc_cpp`
8825 test -z "$as_dir" && as_dir
=.
8826 for ac_exec_ext
in '' $ac_executable_extensions; do
8827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8828 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8839 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8840 if test -n "$aros_kernel_cpp"; then
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8842 $as_echo "$aros_kernel_cpp" >&6; }
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8845 $as_echo "no" >&6; }
8850 if test "$aros_kernel_cpp" = ""; then
8851 # Extract the first word of "cpp", so it can be a program name with args.
8852 set dummy cpp
; ac_word
=$2
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8854 $as_echo_n "checking for $ac_word... " >&6; }
8855 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8856 $as_echo_n "(cached) " >&6
8858 case $aros_kernel_cpp in
8860 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8867 test -z "$as_dir" && as_dir
=.
8868 for ac_exec_ext
in '' $ac_executable_extensions; do
8869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8870 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8881 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8882 if test -n "$aros_kernel_cpp"; then
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8884 $as_echo "$aros_kernel_cpp" >&6; }
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8887 $as_echo "no" >&6; }
8894 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
8895 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8897 $as_echo_n "checking for $ac_word... " >&6; }
8898 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8899 $as_echo_n "(cached) " >&6
8901 case $aros_kernel_cpp in
8903 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8910 test -z "$as_dir" && as_dir
=.
8911 for ac_exec_ext
in '' $ac_executable_extensions; do
8912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8913 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8924 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8925 if test -n "$aros_kernel_cpp"; then
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8927 $as_echo "$aros_kernel_cpp" >&6; }
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8930 $as_echo "no" >&6; }
8936 if test "$aros_kernel_cpp" = ""; then
8937 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8939 if test "x$aros_kernel_cc" = "x"; then
8940 aros_kernel_cc
=${kernel_tool_prefix}gcc
8943 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
8944 if test "$cross_compiling" = "yes" ; then
8945 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8946 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8948 $as_echo_n "checking for $ac_word... " >&6; }
8949 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8950 $as_echo_n "(cached) " >&6
8952 case $aros_kernel_cc in
8954 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8961 test -z "$as_dir" && as_dir
=.
8962 for ac_exec_ext
in '' $ac_executable_extensions; do
8963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8964 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8975 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8976 if test -n "$aros_kernel_cc"; then
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8978 $as_echo "$aros_kernel_cc" >&6; }
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8981 $as_echo "no" >&6; }
8986 if test "$GCC" = "yes"; then
8987 aros_gcc_cc
=`$CC -print-prog-name=cc`
8988 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8989 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8991 $as_echo_n "checking for $ac_word... " >&6; }
8992 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8993 $as_echo_n "(cached) " >&6
8995 case $aros_kernel_cc in
8997 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9001 for as_dir
in `dirname $aros_gcc_cc`
9004 test -z "$as_dir" && as_dir
=.
9005 for ac_exec_ext
in '' $ac_executable_extensions; do
9006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9007 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9018 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9019 if test -n "$aros_kernel_cc"; then
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9021 $as_echo "$aros_kernel_cc" >&6; }
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9024 $as_echo "no" >&6; }
9029 if test "$aros_kernel_cc" = ""; then
9030 # Extract the first word of "cc", so it can be a program name with args.
9031 set dummy cc
; ac_word
=$2
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9033 $as_echo_n "checking for $ac_word... " >&6; }
9034 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9035 $as_echo_n "(cached) " >&6
9037 case $aros_kernel_cc in
9039 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9046 test -z "$as_dir" && as_dir
=.
9047 for ac_exec_ext
in '' $ac_executable_extensions; do
9048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9049 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9060 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9061 if test -n "$aros_kernel_cc"; then
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9063 $as_echo "$aros_kernel_cc" >&6; }
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9066 $as_echo "no" >&6; }
9073 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9074 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9076 $as_echo_n "checking for $ac_word... " >&6; }
9077 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9078 $as_echo_n "(cached) " >&6
9080 case $aros_kernel_cc in
9082 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9089 test -z "$as_dir" && as_dir
=.
9090 for ac_exec_ext
in '' $ac_executable_extensions; do
9091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9092 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9103 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9104 if test -n "$aros_kernel_cc"; then
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9106 $as_echo "$aros_kernel_cc" >&6; }
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9109 $as_echo "no" >&6; }
9115 if test "$aros_kernel_cc" = ""; then
9116 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9118 if test "x$aros_kernel_cxx" = "x"; then
9119 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9122 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9123 if test "$cross_compiling" = "yes" ; then
9124 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9125 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9127 $as_echo_n "checking for $ac_word... " >&6; }
9128 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9129 $as_echo_n "(cached) " >&6
9131 case $aros_kernel_cxx in
9133 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9140 test -z "$as_dir" && as_dir
=.
9141 for ac_exec_ext
in '' $ac_executable_extensions; do
9142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9143 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9154 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9155 if test -n "$aros_kernel_cxx"; then
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9157 $as_echo "$aros_kernel_cxx" >&6; }
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9160 $as_echo "no" >&6; }
9165 if test "$GCC" = "yes"; then
9166 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9167 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9168 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9170 $as_echo_n "checking for $ac_word... " >&6; }
9171 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9172 $as_echo_n "(cached) " >&6
9174 case $aros_kernel_cxx in
9176 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9180 for as_dir
in `dirname $aros_gcc_cxx`
9183 test -z "$as_dir" && as_dir
=.
9184 for ac_exec_ext
in '' $ac_executable_extensions; do
9185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9186 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9197 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9198 if test -n "$aros_kernel_cxx"; then
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9200 $as_echo "$aros_kernel_cxx" >&6; }
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9203 $as_echo "no" >&6; }
9208 if test "$aros_kernel_cxx" = ""; then
9209 # Extract the first word of "cxx", so it can be a program name with args.
9210 set dummy cxx
; ac_word
=$2
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9212 $as_echo_n "checking for $ac_word... " >&6; }
9213 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9214 $as_echo_n "(cached) " >&6
9216 case $aros_kernel_cxx in
9218 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9225 test -z "$as_dir" && as_dir
=.
9226 for ac_exec_ext
in '' $ac_executable_extensions; do
9227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9228 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9239 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9240 if test -n "$aros_kernel_cxx"; then
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9242 $as_echo "$aros_kernel_cxx" >&6; }
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9245 $as_echo "no" >&6; }
9252 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9253 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9255 $as_echo_n "checking for $ac_word... " >&6; }
9256 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9257 $as_echo_n "(cached) " >&6
9259 case $aros_kernel_cxx in
9261 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9268 test -z "$as_dir" && as_dir
=.
9269 for ac_exec_ext
in '' $ac_executable_extensions; do
9270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9271 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9282 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9283 if test -n "$aros_kernel_cxx"; then
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9285 $as_echo "$aros_kernel_cxx" >&6; }
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9288 $as_echo "no" >&6; }
9294 # If it's set, make sure it's really there
9295 if test "x$aros_kernel_cxx" != "x" ; then
9296 if test "$aros_kernel_cxx" = ""; then
9297 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9301 if test "$aros_kernel_ld" = ""; then
9302 if test "$cross_compiling" = "yes" ; then
9303 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9304 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9306 $as_echo_n "checking for $ac_word... " >&6; }
9307 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9308 $as_echo_n "(cached) " >&6
9310 case $aros_kernel_ld in
9312 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9319 test -z "$as_dir" && as_dir
=.
9320 for ac_exec_ext
in '' $ac_executable_extensions; do
9321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9322 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9333 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9334 if test -n "$aros_kernel_ld"; then
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9336 $as_echo "$aros_kernel_ld" >&6; }
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9339 $as_echo "no" >&6; }
9344 if test "$GCC" = "yes"; then
9345 aros_gcc_ld
=`$CC -print-prog-name=ld`
9346 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9347 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9349 $as_echo_n "checking for $ac_word... " >&6; }
9350 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9351 $as_echo_n "(cached) " >&6
9353 case $aros_kernel_ld in
9355 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9359 for as_dir
in `dirname $aros_gcc_ld`
9362 test -z "$as_dir" && as_dir
=.
9363 for ac_exec_ext
in '' $ac_executable_extensions; do
9364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9365 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9376 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9377 if test -n "$aros_kernel_ld"; then
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9379 $as_echo "$aros_kernel_ld" >&6; }
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9382 $as_echo "no" >&6; }
9387 if test "$aros_kernel_ld" = ""; then
9388 # Extract the first word of "ld", so it can be a program name with args.
9389 set dummy ld
; ac_word
=$2
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9391 $as_echo_n "checking for $ac_word... " >&6; }
9392 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9393 $as_echo_n "(cached) " >&6
9395 case $aros_kernel_ld in
9397 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9404 test -z "$as_dir" && as_dir
=.
9405 for ac_exec_ext
in '' $ac_executable_extensions; do
9406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9407 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9418 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9419 if test -n "$aros_kernel_ld"; then
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9421 $as_echo "$aros_kernel_ld" >&6; }
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9424 $as_echo "no" >&6; }
9431 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9432 set dummy
$aros_kernel_ld; ac_word
=$2
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9434 $as_echo_n "checking for $ac_word... " >&6; }
9435 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9436 $as_echo_n "(cached) " >&6
9438 case $aros_kernel_ld in
9440 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9447 test -z "$as_dir" && as_dir
=.
9448 for ac_exec_ext
in '' $ac_executable_extensions; do
9449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9450 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9461 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9462 if test -n "$aros_kernel_ld"; then
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9464 $as_echo "$aros_kernel_ld" >&6; }
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9467 $as_echo "no" >&6; }
9473 if test "$aros_kernel_ld" = ""; then
9474 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9477 if test "$aros_kernel_as" = ""; then
9478 if test "$cross_compiling" = "yes" ; then
9479 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9480 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9482 $as_echo_n "checking for $ac_word... " >&6; }
9483 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9484 $as_echo_n "(cached) " >&6
9486 case $aros_kernel_as in
9488 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9495 test -z "$as_dir" && as_dir
=.
9496 for ac_exec_ext
in '' $ac_executable_extensions; do
9497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9498 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9509 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9510 if test -n "$aros_kernel_as"; then
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9512 $as_echo "$aros_kernel_as" >&6; }
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9515 $as_echo "no" >&6; }
9520 if test "$GCC" = "yes"; then
9521 aros_gcc_as
=`$CC -print-prog-name=as`
9522 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9523 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9525 $as_echo_n "checking for $ac_word... " >&6; }
9526 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9527 $as_echo_n "(cached) " >&6
9529 case $aros_kernel_as in
9531 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9535 for as_dir
in `dirname $aros_gcc_as`
9538 test -z "$as_dir" && as_dir
=.
9539 for ac_exec_ext
in '' $ac_executable_extensions; do
9540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9541 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9552 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9553 if test -n "$aros_kernel_as"; then
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9555 $as_echo "$aros_kernel_as" >&6; }
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9558 $as_echo "no" >&6; }
9563 if test "$aros_kernel_as" = ""; then
9564 # Extract the first word of "as", so it can be a program name with args.
9565 set dummy as
; ac_word
=$2
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9567 $as_echo_n "checking for $ac_word... " >&6; }
9568 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9569 $as_echo_n "(cached) " >&6
9571 case $aros_kernel_as in
9573 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9580 test -z "$as_dir" && as_dir
=.
9581 for ac_exec_ext
in '' $ac_executable_extensions; do
9582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9583 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9594 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9595 if test -n "$aros_kernel_as"; then
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9597 $as_echo "$aros_kernel_as" >&6; }
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9600 $as_echo "no" >&6; }
9607 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9608 set dummy
$aros_kernel_as; ac_word
=$2
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9610 $as_echo_n "checking for $ac_word... " >&6; }
9611 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9612 $as_echo_n "(cached) " >&6
9614 case $aros_kernel_as in
9616 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9623 test -z "$as_dir" && as_dir
=.
9624 for ac_exec_ext
in '' $ac_executable_extensions; do
9625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9626 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9637 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9638 if test -n "$aros_kernel_as"; then
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9640 $as_echo "$aros_kernel_as" >&6; }
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9643 $as_echo "no" >&6; }
9649 if test "$aros_kernel_as" = ""; then
9650 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9653 if test "$aros_kernel_ar" = ""; then
9654 if test "$cross_compiling" = "yes" ; then
9655 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9656 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9658 $as_echo_n "checking for $ac_word... " >&6; }
9659 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9660 $as_echo_n "(cached) " >&6
9662 case $aros_kernel_ar in
9664 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9671 test -z "$as_dir" && as_dir
=.
9672 for ac_exec_ext
in '' $ac_executable_extensions; do
9673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9674 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9685 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9686 if test -n "$aros_kernel_ar"; then
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9688 $as_echo "$aros_kernel_ar" >&6; }
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9691 $as_echo "no" >&6; }
9696 if test "$GCC" = "yes"; then
9697 aros_gcc_ar
=`$CC -print-prog-name=ar`
9698 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9699 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9701 $as_echo_n "checking for $ac_word... " >&6; }
9702 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9703 $as_echo_n "(cached) " >&6
9705 case $aros_kernel_ar in
9707 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9711 for as_dir
in `dirname $aros_gcc_ar`
9714 test -z "$as_dir" && as_dir
=.
9715 for ac_exec_ext
in '' $ac_executable_extensions; do
9716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9717 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9728 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9729 if test -n "$aros_kernel_ar"; then
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9731 $as_echo "$aros_kernel_ar" >&6; }
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9734 $as_echo "no" >&6; }
9739 if test "$aros_kernel_ar" = ""; then
9740 # Extract the first word of "ar", so it can be a program name with args.
9741 set dummy
ar; ac_word
=$2
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9743 $as_echo_n "checking for $ac_word... " >&6; }
9744 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9745 $as_echo_n "(cached) " >&6
9747 case $aros_kernel_ar in
9749 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9756 test -z "$as_dir" && as_dir
=.
9757 for ac_exec_ext
in '' $ac_executable_extensions; do
9758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9759 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9770 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9771 if test -n "$aros_kernel_ar"; then
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9773 $as_echo "$aros_kernel_ar" >&6; }
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9776 $as_echo "no" >&6; }
9783 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9784 set dummy
$aros_kernel_ar; ac_word
=$2
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9786 $as_echo_n "checking for $ac_word... " >&6; }
9787 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9788 $as_echo_n "(cached) " >&6
9790 case $aros_kernel_ar in
9792 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9799 test -z "$as_dir" && as_dir
=.
9800 for ac_exec_ext
in '' $ac_executable_extensions; do
9801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9802 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9813 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9814 if test -n "$aros_kernel_ar"; then
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9816 $as_echo "$aros_kernel_ar" >&6; }
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9819 $as_echo "no" >&6; }
9825 if test "$aros_kernel_ar" = ""; then
9826 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9829 if test "$aros_kernel_ranlib" = ""; then
9830 if test "$cross_compiling" = "yes" ; then
9831 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9832 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9834 $as_echo_n "checking for $ac_word... " >&6; }
9835 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9836 $as_echo_n "(cached) " >&6
9838 case $aros_kernel_ranlib in
9840 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9847 test -z "$as_dir" && as_dir
=.
9848 for ac_exec_ext
in '' $ac_executable_extensions; do
9849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9850 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9861 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9862 if test -n "$aros_kernel_ranlib"; then
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9864 $as_echo "$aros_kernel_ranlib" >&6; }
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9867 $as_echo "no" >&6; }
9872 if test "$GCC" = "yes"; then
9873 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9874 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9875 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9877 $as_echo_n "checking for $ac_word... " >&6; }
9878 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9879 $as_echo_n "(cached) " >&6
9881 case $aros_kernel_ranlib in
9883 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9887 for as_dir
in `dirname $aros_gcc_ranlib`
9890 test -z "$as_dir" && as_dir
=.
9891 for ac_exec_ext
in '' $ac_executable_extensions; do
9892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9893 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9904 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9905 if test -n "$aros_kernel_ranlib"; then
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9907 $as_echo "$aros_kernel_ranlib" >&6; }
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9910 $as_echo "no" >&6; }
9915 if test "$aros_kernel_ranlib" = ""; then
9916 # Extract the first word of "ranlib", so it can be a program name with args.
9917 set dummy ranlib
; ac_word
=$2
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9919 $as_echo_n "checking for $ac_word... " >&6; }
9920 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9921 $as_echo_n "(cached) " >&6
9923 case $aros_kernel_ranlib in
9925 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9932 test -z "$as_dir" && as_dir
=.
9933 for ac_exec_ext
in '' $ac_executable_extensions; do
9934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9935 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9946 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9947 if test -n "$aros_kernel_ranlib"; then
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9949 $as_echo "$aros_kernel_ranlib" >&6; }
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9952 $as_echo "no" >&6; }
9959 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9960 set dummy
$aros_kernel_ranlib; ac_word
=$2
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9962 $as_echo_n "checking for $ac_word... " >&6; }
9963 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9964 $as_echo_n "(cached) " >&6
9966 case $aros_kernel_ranlib in
9968 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9975 test -z "$as_dir" && as_dir
=.
9976 for ac_exec_ext
in '' $ac_executable_extensions; do
9977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9978 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9989 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9990 if test -n "$aros_kernel_ranlib"; then
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9992 $as_echo "$aros_kernel_ranlib" >&6; }
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9995 $as_echo "no" >&6; }
10001 if test "$aros_kernel_ranlib" = ""; then
10002 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10005 if test "$aros_kernel_nm" = ""; then
10006 if test "$cross_compiling" = "yes" ; then
10007 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10008 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10010 $as_echo_n "checking for $ac_word... " >&6; }
10011 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10012 $as_echo_n "(cached) " >&6
10014 case $aros_kernel_nm in
10016 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10020 for as_dir
in $PATH
10023 test -z "$as_dir" && as_dir
=.
10024 for ac_exec_ext
in '' $ac_executable_extensions; do
10025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10026 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10037 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10038 if test -n "$aros_kernel_nm"; then
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10040 $as_echo "$aros_kernel_nm" >&6; }
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10043 $as_echo "no" >&6; }
10048 if test "$GCC" = "yes"; then
10049 aros_gcc_nm
=`$CC -print-prog-name=nm`
10050 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10051 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10053 $as_echo_n "checking for $ac_word... " >&6; }
10054 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10055 $as_echo_n "(cached) " >&6
10057 case $aros_kernel_nm in
10059 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10063 for as_dir
in `dirname $aros_gcc_nm`
10066 test -z "$as_dir" && as_dir
=.
10067 for ac_exec_ext
in '' $ac_executable_extensions; do
10068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10069 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10080 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10081 if test -n "$aros_kernel_nm"; then
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10083 $as_echo "$aros_kernel_nm" >&6; }
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10086 $as_echo "no" >&6; }
10091 if test "$aros_kernel_nm" = ""; then
10092 # Extract the first word of "nm", so it can be a program name with args.
10093 set dummy nm
; ac_word
=$2
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10095 $as_echo_n "checking for $ac_word... " >&6; }
10096 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10097 $as_echo_n "(cached) " >&6
10099 case $aros_kernel_nm in
10101 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10105 for as_dir
in $PATH
10108 test -z "$as_dir" && as_dir
=.
10109 for ac_exec_ext
in '' $ac_executable_extensions; do
10110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10111 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10122 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10123 if test -n "$aros_kernel_nm"; then
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10125 $as_echo "$aros_kernel_nm" >&6; }
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10128 $as_echo "no" >&6; }
10135 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10136 set dummy
$aros_kernel_nm; ac_word
=$2
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10138 $as_echo_n "checking for $ac_word... " >&6; }
10139 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10140 $as_echo_n "(cached) " >&6
10142 case $aros_kernel_nm in
10144 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10148 for as_dir
in $PATH
10151 test -z "$as_dir" && as_dir
=.
10152 for ac_exec_ext
in '' $ac_executable_extensions; do
10153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10154 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10165 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10166 if test -n "$aros_kernel_nm"; then
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10168 $as_echo "$aros_kernel_nm" >&6; }
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10171 $as_echo "no" >&6; }
10177 if test "$aros_kernel_nm" = ""; then
10178 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10181 if test "$aros_kernel_strip" = ""; then
10182 if test "$cross_compiling" = "yes" ; then
10183 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10184 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10186 $as_echo_n "checking for $ac_word... " >&6; }
10187 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10188 $as_echo_n "(cached) " >&6
10190 case $aros_kernel_strip in
10192 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10196 for as_dir
in $PATH
10199 test -z "$as_dir" && as_dir
=.
10200 for ac_exec_ext
in '' $ac_executable_extensions; do
10201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10202 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10213 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10214 if test -n "$aros_kernel_strip"; then
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10216 $as_echo "$aros_kernel_strip" >&6; }
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10219 $as_echo "no" >&6; }
10224 if test "$GCC" = "yes"; then
10225 aros_gcc_strip
=`$CC -print-prog-name=strip`
10226 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10227 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10229 $as_echo_n "checking for $ac_word... " >&6; }
10230 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10231 $as_echo_n "(cached) " >&6
10233 case $aros_kernel_strip in
10235 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10239 for as_dir
in `dirname $aros_gcc_strip`
10242 test -z "$as_dir" && as_dir
=.
10243 for ac_exec_ext
in '' $ac_executable_extensions; do
10244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10245 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10256 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10257 if test -n "$aros_kernel_strip"; then
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10259 $as_echo "$aros_kernel_strip" >&6; }
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10262 $as_echo "no" >&6; }
10267 if test "$aros_kernel_strip" = ""; then
10268 # Extract the first word of "strip", so it can be a program name with args.
10269 set dummy strip
; ac_word
=$2
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10271 $as_echo_n "checking for $ac_word... " >&6; }
10272 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10273 $as_echo_n "(cached) " >&6
10275 case $aros_kernel_strip in
10277 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10281 for as_dir
in $PATH
10284 test -z "$as_dir" && as_dir
=.
10285 for ac_exec_ext
in '' $ac_executable_extensions; do
10286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10287 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10298 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10299 if test -n "$aros_kernel_strip"; then
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10301 $as_echo "$aros_kernel_strip" >&6; }
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10304 $as_echo "no" >&6; }
10311 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10312 set dummy
$aros_kernel_strip; ac_word
=$2
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10314 $as_echo_n "checking for $ac_word... " >&6; }
10315 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10316 $as_echo_n "(cached) " >&6
10318 case $aros_kernel_strip in
10320 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10324 for as_dir
in $PATH
10327 test -z "$as_dir" && as_dir
=.
10328 for ac_exec_ext
in '' $ac_executable_extensions; do
10329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10330 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10341 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10342 if test -n "$aros_kernel_strip"; then
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10344 $as_echo "$aros_kernel_strip" >&6; }
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10347 $as_echo "no" >&6; }
10353 if test "$aros_kernel_strip" = ""; then
10354 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10357 # Objcopy and objdump are not required for the kernel
10358 # toolchain on many architectures.
10359 # So we'll look for them, but not make them strictly required.
10361 if test "$aros_kernel_objcopy" = ""; then
10362 if test "$cross_compiling" = "yes" ; then
10363 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10364 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10366 $as_echo_n "checking for $ac_word... " >&6; }
10367 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10368 $as_echo_n "(cached) " >&6
10370 case $aros_kernel_objcopy in
10372 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10376 for as_dir
in $PATH
10379 test -z "$as_dir" && as_dir
=.
10380 for ac_exec_ext
in '' $ac_executable_extensions; do
10381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10382 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10393 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10394 if test -n "$aros_kernel_objcopy"; then
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10396 $as_echo "$aros_kernel_objcopy" >&6; }
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10399 $as_echo "no" >&6; }
10404 if test "$GCC" = "yes"; then
10405 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10406 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10407 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10409 $as_echo_n "checking for $ac_word... " >&6; }
10410 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10411 $as_echo_n "(cached) " >&6
10413 case $aros_kernel_objcopy in
10415 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10419 for as_dir
in `dirname $aros_gcc_objcopy`
10422 test -z "$as_dir" && as_dir
=.
10423 for ac_exec_ext
in '' $ac_executable_extensions; do
10424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10425 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10436 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10437 if test -n "$aros_kernel_objcopy"; then
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10439 $as_echo "$aros_kernel_objcopy" >&6; }
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10442 $as_echo "no" >&6; }
10447 if test "$aros_kernel_objcopy" = ""; then
10448 # Extract the first word of "objcopy", so it can be a program name with args.
10449 set dummy objcopy
; ac_word
=$2
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10451 $as_echo_n "checking for $ac_word... " >&6; }
10452 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10453 $as_echo_n "(cached) " >&6
10455 case $aros_kernel_objcopy in
10457 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10461 for as_dir
in $PATH
10464 test -z "$as_dir" && as_dir
=.
10465 for ac_exec_ext
in '' $ac_executable_extensions; do
10466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10467 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10478 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10479 if test -n "$aros_kernel_objcopy"; then
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10481 $as_echo "$aros_kernel_objcopy" >&6; }
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10484 $as_echo "no" >&6; }
10491 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10492 set dummy
$aros_kernel_objcopy; ac_word
=$2
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10494 $as_echo_n "checking for $ac_word... " >&6; }
10495 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10496 $as_echo_n "(cached) " >&6
10498 case $aros_kernel_objcopy in
10500 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10504 for as_dir
in $PATH
10507 test -z "$as_dir" && as_dir
=.
10508 for ac_exec_ext
in '' $ac_executable_extensions; do
10509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10510 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10521 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10522 if test -n "$aros_kernel_objcopy"; then
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10524 $as_echo "$aros_kernel_objcopy" >&6; }
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10527 $as_echo "no" >&6; }
10534 if test "$aros_kernel_objdump" = ""; then
10535 if test "$cross_compiling" = "yes" ; then
10536 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10537 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10539 $as_echo_n "checking for $ac_word... " >&6; }
10540 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10541 $as_echo_n "(cached) " >&6
10543 case $aros_kernel_objdump in
10545 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10549 for as_dir
in $PATH
10552 test -z "$as_dir" && as_dir
=.
10553 for ac_exec_ext
in '' $ac_executable_extensions; do
10554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10555 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10566 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10567 if test -n "$aros_kernel_objdump"; then
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10569 $as_echo "$aros_kernel_objdump" >&6; }
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10572 $as_echo "no" >&6; }
10577 if test "$GCC" = "yes"; then
10578 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10579 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10580 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10582 $as_echo_n "checking for $ac_word... " >&6; }
10583 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10584 $as_echo_n "(cached) " >&6
10586 case $aros_kernel_objdump in
10588 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10592 for as_dir
in `dirname $aros_gcc_objdump`
10595 test -z "$as_dir" && as_dir
=.
10596 for ac_exec_ext
in '' $ac_executable_extensions; do
10597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10598 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10609 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10610 if test -n "$aros_kernel_objdump"; then
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10612 $as_echo "$aros_kernel_objdump" >&6; }
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10615 $as_echo "no" >&6; }
10620 if test "$aros_kernel_objdump" = ""; then
10621 # Extract the first word of "objdump", so it can be a program name with args.
10622 set dummy objdump
; ac_word
=$2
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10624 $as_echo_n "checking for $ac_word... " >&6; }
10625 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10626 $as_echo_n "(cached) " >&6
10628 case $aros_kernel_objdump in
10630 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10634 for as_dir
in $PATH
10637 test -z "$as_dir" && as_dir
=.
10638 for ac_exec_ext
in '' $ac_executable_extensions; do
10639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10640 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10651 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10652 if test -n "$aros_kernel_objdump"; then
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10654 $as_echo "$aros_kernel_objdump" >&6; }
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10657 $as_echo "no" >&6; }
10664 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10665 set dummy
$aros_kernel_objdump; ac_word
=$2
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10667 $as_echo_n "checking for $ac_word... " >&6; }
10668 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10669 $as_echo_n "(cached) " >&6
10671 case $aros_kernel_objdump in
10673 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10677 for as_dir
in $PATH
10680 test -z "$as_dir" && as_dir
=.
10681 for ac_exec_ext
in '' $ac_executable_extensions; do
10682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10683 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10694 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10695 if test -n "$aros_kernel_objdump"; then
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10697 $as_echo "$aros_kernel_objdump" >&6; }
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10700 $as_echo "no" >&6; }
10706 if test "x${crosstools}" != "xyes" ; then
10707 if test "$aros_kernel_objcopy" = ""; then
10708 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10710 if test "$aros_kernel_objdump" = ""; then
10711 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10717 $as_echo_n "checking which target tools to use... " >&6; }
10718 if test "$crosstools" = "yes"; then
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10720 $as_echo "$target_tool_prefix" >&6; }
10721 # We are are building AROS crosstools
10722 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10723 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10724 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10725 orig_target_cpp
="${tmp_tool_prefix}cpp"
10726 orig_target_ld
="${tmp_tool_prefix}ld"
10727 orig_target_as
="${tmp_tool_prefix}as"
10728 orig_target_ar
="${tmp_tool_prefix}ar"
10729 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10730 orig_target_nm
="${tmp_tool_prefix}nm"
10731 orig_target_strip
="${tmp_tool_prefix}strip"
10732 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10733 orig_target_objdump
="${tmp_tool_prefix}objdump"
10735 # Determine whether AROS or ELF tools should be used
10736 if test "$aros_tool_prefix" = "none"; then
10737 aros_tool_prefix
="${elf_tool_prefix}"
10738 crosstools_cxx_target
=tools-crosstools
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10742 $as_echo "$aros_tool_prefix" >&6; }
10743 # We are *not* building AROS crosstools - use the AROS or ELF tools
10745 if test "${aros_tool_prefix}cpp" = ""; then
10746 if test "$cross_compiling" = "yes" ; then
10747 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10748 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10750 $as_echo_n "checking for $ac_word... " >&6; }
10751 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10752 $as_echo_n "(cached) " >&6
10754 case $orig_target_cpp in
10756 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10760 for as_dir
in $PATH
10763 test -z "$as_dir" && as_dir
=.
10764 for ac_exec_ext
in '' $ac_executable_extensions; do
10765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10766 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10777 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10778 if test -n "$orig_target_cpp"; then
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10780 $as_echo "$orig_target_cpp" >&6; }
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10783 $as_echo "no" >&6; }
10788 if test "$GCC" = "yes"; then
10789 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10790 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10791 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10793 $as_echo_n "checking for $ac_word... " >&6; }
10794 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10795 $as_echo_n "(cached) " >&6
10797 case $orig_target_cpp in
10799 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10803 for as_dir
in `dirname $aros_gcc_cpp`
10806 test -z "$as_dir" && as_dir
=.
10807 for ac_exec_ext
in '' $ac_executable_extensions; do
10808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10809 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10820 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10821 if test -n "$orig_target_cpp"; then
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10823 $as_echo "$orig_target_cpp" >&6; }
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10826 $as_echo "no" >&6; }
10831 if test "$orig_target_cpp" = ""; then
10832 # Extract the first word of "cpp", so it can be a program name with args.
10833 set dummy cpp
; ac_word
=$2
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10835 $as_echo_n "checking for $ac_word... " >&6; }
10836 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10837 $as_echo_n "(cached) " >&6
10839 case $orig_target_cpp in
10841 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10845 for as_dir
in $PATH
10848 test -z "$as_dir" && as_dir
=.
10849 for ac_exec_ext
in '' $ac_executable_extensions; do
10850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10851 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10862 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10863 if test -n "$orig_target_cpp"; then
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10865 $as_echo "$orig_target_cpp" >&6; }
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10868 $as_echo "no" >&6; }
10875 # Extract the first word of "${aros_tool_prefix}cpp", so it can be a program name with args.
10876 set dummy
${aros_tool_prefix}cpp
; ac_word
=$2
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10878 $as_echo_n "checking for $ac_word... " >&6; }
10879 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10880 $as_echo_n "(cached) " >&6
10882 case $orig_target_cpp in
10884 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10888 for as_dir
in $PATH
10891 test -z "$as_dir" && as_dir
=.
10892 for ac_exec_ext
in '' $ac_executable_extensions; do
10893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10894 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10905 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10906 if test -n "$orig_target_cpp"; then
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10908 $as_echo "$orig_target_cpp" >&6; }
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10911 $as_echo "no" >&6; }
10917 if test "$orig_target_cpp" = ""; then
10918 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10921 if test "${aros_tool_prefix}gcc" = ""; then
10922 if test "$cross_compiling" = "yes" ; then
10923 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10924 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10926 $as_echo_n "checking for $ac_word... " >&6; }
10927 if ${ac_cv_path_orig_target_cc+:} false
; then :
10928 $as_echo_n "(cached) " >&6
10930 case $orig_target_cc in
10932 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10936 for as_dir
in $PATH
10939 test -z "$as_dir" && as_dir
=.
10940 for ac_exec_ext
in '' $ac_executable_extensions; do
10941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10942 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10953 orig_target_cc
=$ac_cv_path_orig_target_cc
10954 if test -n "$orig_target_cc"; then
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10956 $as_echo "$orig_target_cc" >&6; }
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10959 $as_echo "no" >&6; }
10964 if test "$GCC" = "yes"; then
10965 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10966 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10967 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10969 $as_echo_n "checking for $ac_word... " >&6; }
10970 if ${ac_cv_path_orig_target_cc+:} false
; then :
10971 $as_echo_n "(cached) " >&6
10973 case $orig_target_cc in
10975 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10979 for as_dir
in `dirname $aros_gcc_gcc`
10982 test -z "$as_dir" && as_dir
=.
10983 for ac_exec_ext
in '' $ac_executable_extensions; do
10984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10985 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10996 orig_target_cc
=$ac_cv_path_orig_target_cc
10997 if test -n "$orig_target_cc"; then
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10999 $as_echo "$orig_target_cc" >&6; }
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11002 $as_echo "no" >&6; }
11007 if test "$orig_target_cc" = ""; then
11008 # Extract the first word of "gcc", so it can be a program name with args.
11009 set dummy gcc
; ac_word
=$2
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11011 $as_echo_n "checking for $ac_word... " >&6; }
11012 if ${ac_cv_path_orig_target_cc+:} false
; then :
11013 $as_echo_n "(cached) " >&6
11015 case $orig_target_cc in
11017 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11021 for as_dir
in $PATH
11024 test -z "$as_dir" && as_dir
=.
11025 for ac_exec_ext
in '' $ac_executable_extensions; do
11026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11027 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11038 orig_target_cc
=$ac_cv_path_orig_target_cc
11039 if test -n "$orig_target_cc"; then
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11041 $as_echo "$orig_target_cc" >&6; }
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11044 $as_echo "no" >&6; }
11051 # Extract the first word of "${aros_tool_prefix}gcc", so it can be a program name with args.
11052 set dummy
${aros_tool_prefix}gcc
; ac_word
=$2
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11054 $as_echo_n "checking for $ac_word... " >&6; }
11055 if ${ac_cv_path_orig_target_cc+:} false
; then :
11056 $as_echo_n "(cached) " >&6
11058 case $orig_target_cc in
11060 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11064 for as_dir
in $PATH
11067 test -z "$as_dir" && as_dir
=.
11068 for ac_exec_ext
in '' $ac_executable_extensions; do
11069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11070 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11081 orig_target_cc
=$ac_cv_path_orig_target_cc
11082 if test -n "$orig_target_cc"; then
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11084 $as_echo "$orig_target_cc" >&6; }
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11087 $as_echo "no" >&6; }
11093 if test "$orig_target_cc" = ""; then
11094 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11096 if test "x${crosstools_cxx_target}" = "x" ; then
11098 if test "${aros_tool_prefix}g++" = ""; then
11099 if test "$cross_compiling" = "yes" ; then
11100 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11101 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11103 $as_echo_n "checking for $ac_word... " >&6; }
11104 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11105 $as_echo_n "(cached) " >&6
11107 case $orig_target_cxx in
11109 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11113 for as_dir
in $PATH
11116 test -z "$as_dir" && as_dir
=.
11117 for ac_exec_ext
in '' $ac_executable_extensions; do
11118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11119 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11130 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11131 if test -n "$orig_target_cxx"; then
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11133 $as_echo "$orig_target_cxx" >&6; }
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11136 $as_echo "no" >&6; }
11141 if test "$GCC" = "yes"; then
11142 aros_gcc_g
++=`$CC -print-prog-name=g++`
11143 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11144 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11146 $as_echo_n "checking for $ac_word... " >&6; }
11147 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11148 $as_echo_n "(cached) " >&6
11150 case $orig_target_cxx in
11152 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11156 for as_dir
in `dirname $aros_gcc_g++`
11159 test -z "$as_dir" && as_dir
=.
11160 for ac_exec_ext
in '' $ac_executable_extensions; do
11161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11162 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11173 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11174 if test -n "$orig_target_cxx"; then
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11176 $as_echo "$orig_target_cxx" >&6; }
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11179 $as_echo "no" >&6; }
11184 if test "$orig_target_cxx" = ""; then
11185 # Extract the first word of "g++", so it can be a program name with args.
11186 set dummy g
++; ac_word
=$2
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11188 $as_echo_n "checking for $ac_word... " >&6; }
11189 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11190 $as_echo_n "(cached) " >&6
11192 case $orig_target_cxx in
11194 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11198 for as_dir
in $PATH
11201 test -z "$as_dir" && as_dir
=.
11202 for ac_exec_ext
in '' $ac_executable_extensions; do
11203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11204 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11215 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11216 if test -n "$orig_target_cxx"; then
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11218 $as_echo "$orig_target_cxx" >&6; }
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11221 $as_echo "no" >&6; }
11228 # Extract the first word of "${aros_tool_prefix}g++", so it can be a program name with args.
11229 set dummy
${aros_tool_prefix}g
++; ac_word
=$2
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11231 $as_echo_n "checking for $ac_word... " >&6; }
11232 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11233 $as_echo_n "(cached) " >&6
11235 case $orig_target_cxx in
11237 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11241 for as_dir
in $PATH
11244 test -z "$as_dir" && as_dir
=.
11245 for ac_exec_ext
in '' $ac_executable_extensions; do
11246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11247 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11258 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11259 if test -n "$orig_target_cxx"; then
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11261 $as_echo "$orig_target_cxx" >&6; }
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11264 $as_echo "no" >&6; }
11270 if test "$orig_target_cxx" = ""; then
11271 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11275 if test "${aros_tool_prefix}ld" = ""; then
11276 if test "$cross_compiling" = "yes" ; then
11277 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11278 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11280 $as_echo_n "checking for $ac_word... " >&6; }
11281 if ${ac_cv_path_orig_target_ld+:} false
; then :
11282 $as_echo_n "(cached) " >&6
11284 case $orig_target_ld in
11286 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11290 for as_dir
in $PATH
11293 test -z "$as_dir" && as_dir
=.
11294 for ac_exec_ext
in '' $ac_executable_extensions; do
11295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11296 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11307 orig_target_ld
=$ac_cv_path_orig_target_ld
11308 if test -n "$orig_target_ld"; then
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11310 $as_echo "$orig_target_ld" >&6; }
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11313 $as_echo "no" >&6; }
11318 if test "$GCC" = "yes"; then
11319 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11320 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11321 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11323 $as_echo_n "checking for $ac_word... " >&6; }
11324 if ${ac_cv_path_orig_target_ld+:} false
; then :
11325 $as_echo_n "(cached) " >&6
11327 case $orig_target_ld in
11329 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11333 for as_dir
in `dirname $aros_gcc_gcc`
11336 test -z "$as_dir" && as_dir
=.
11337 for ac_exec_ext
in '' $ac_executable_extensions; do
11338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11339 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11350 orig_target_ld
=$ac_cv_path_orig_target_ld
11351 if test -n "$orig_target_ld"; then
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11353 $as_echo "$orig_target_ld" >&6; }
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11356 $as_echo "no" >&6; }
11361 if test "$orig_target_ld" = ""; then
11362 # Extract the first word of "gcc", so it can be a program name with args.
11363 set dummy gcc
; ac_word
=$2
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11365 $as_echo_n "checking for $ac_word... " >&6; }
11366 if ${ac_cv_path_orig_target_ld+:} false
; then :
11367 $as_echo_n "(cached) " >&6
11369 case $orig_target_ld in
11371 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11375 for as_dir
in $PATH
11378 test -z "$as_dir" && as_dir
=.
11379 for ac_exec_ext
in '' $ac_executable_extensions; do
11380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11381 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11392 orig_target_ld
=$ac_cv_path_orig_target_ld
11393 if test -n "$orig_target_ld"; then
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11395 $as_echo "$orig_target_ld" >&6; }
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11398 $as_echo "no" >&6; }
11405 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11406 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11408 $as_echo_n "checking for $ac_word... " >&6; }
11409 if ${ac_cv_path_orig_target_ld+:} false
; then :
11410 $as_echo_n "(cached) " >&6
11412 case $orig_target_ld in
11414 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11418 for as_dir
in $PATH
11421 test -z "$as_dir" && as_dir
=.
11422 for ac_exec_ext
in '' $ac_executable_extensions; do
11423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11424 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11435 orig_target_ld
=$ac_cv_path_orig_target_ld
11436 if test -n "$orig_target_ld"; then
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11438 $as_echo "$orig_target_ld" >&6; }
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11441 $as_echo "no" >&6; }
11447 if test "$orig_target_ld" = ""; then
11448 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11451 if test "${aros_tool_prefix}as" = ""; then
11452 if test "$cross_compiling" = "yes" ; then
11453 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11454 set dummy
${target_tool_prefix}as
; ac_word
=$2
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11456 $as_echo_n "checking for $ac_word... " >&6; }
11457 if ${ac_cv_path_orig_target_as+:} false
; then :
11458 $as_echo_n "(cached) " >&6
11460 case $orig_target_as in
11462 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11466 for as_dir
in $PATH
11469 test -z "$as_dir" && as_dir
=.
11470 for ac_exec_ext
in '' $ac_executable_extensions; do
11471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11472 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11483 orig_target_as
=$ac_cv_path_orig_target_as
11484 if test -n "$orig_target_as"; then
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11486 $as_echo "$orig_target_as" >&6; }
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11489 $as_echo "no" >&6; }
11494 if test "$GCC" = "yes"; then
11495 aros_gcc_as
=`$CC -print-prog-name=as`
11496 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11497 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11499 $as_echo_n "checking for $ac_word... " >&6; }
11500 if ${ac_cv_path_orig_target_as+:} false
; then :
11501 $as_echo_n "(cached) " >&6
11503 case $orig_target_as in
11505 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11509 for as_dir
in `dirname $aros_gcc_as`
11512 test -z "$as_dir" && as_dir
=.
11513 for ac_exec_ext
in '' $ac_executable_extensions; do
11514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11515 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11526 orig_target_as
=$ac_cv_path_orig_target_as
11527 if test -n "$orig_target_as"; then
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11529 $as_echo "$orig_target_as" >&6; }
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11532 $as_echo "no" >&6; }
11537 if test "$orig_target_as" = ""; then
11538 # Extract the first word of "as", so it can be a program name with args.
11539 set dummy as
; ac_word
=$2
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11541 $as_echo_n "checking for $ac_word... " >&6; }
11542 if ${ac_cv_path_orig_target_as+:} false
; then :
11543 $as_echo_n "(cached) " >&6
11545 case $orig_target_as in
11547 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11551 for as_dir
in $PATH
11554 test -z "$as_dir" && as_dir
=.
11555 for ac_exec_ext
in '' $ac_executable_extensions; do
11556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11557 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11568 orig_target_as
=$ac_cv_path_orig_target_as
11569 if test -n "$orig_target_as"; then
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11571 $as_echo "$orig_target_as" >&6; }
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11574 $as_echo "no" >&6; }
11581 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11582 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11584 $as_echo_n "checking for $ac_word... " >&6; }
11585 if ${ac_cv_path_orig_target_as+:} false
; then :
11586 $as_echo_n "(cached) " >&6
11588 case $orig_target_as in
11590 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11594 for as_dir
in $PATH
11597 test -z "$as_dir" && as_dir
=.
11598 for ac_exec_ext
in '' $ac_executable_extensions; do
11599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11600 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11611 orig_target_as
=$ac_cv_path_orig_target_as
11612 if test -n "$orig_target_as"; then
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11614 $as_echo "$orig_target_as" >&6; }
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11617 $as_echo "no" >&6; }
11623 if test "$orig_target_as" = ""; then
11624 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11627 if test "${aros_tool_prefix}ar" = ""; then
11628 if test "$cross_compiling" = "yes" ; then
11629 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11630 set dummy
${target_tool_prefix}ar; ac_word
=$2
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11632 $as_echo_n "checking for $ac_word... " >&6; }
11633 if ${ac_cv_path_orig_target_ar+:} false
; then :
11634 $as_echo_n "(cached) " >&6
11636 case $orig_target_ar in
11638 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11642 for as_dir
in $PATH
11645 test -z "$as_dir" && as_dir
=.
11646 for ac_exec_ext
in '' $ac_executable_extensions; do
11647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11648 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11659 orig_target_ar
=$ac_cv_path_orig_target_ar
11660 if test -n "$orig_target_ar"; then
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11662 $as_echo "$orig_target_ar" >&6; }
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11665 $as_echo "no" >&6; }
11670 if test "$GCC" = "yes"; then
11671 aros_gcc_ar
=`$CC -print-prog-name=ar`
11672 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11673 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11675 $as_echo_n "checking for $ac_word... " >&6; }
11676 if ${ac_cv_path_orig_target_ar+:} false
; then :
11677 $as_echo_n "(cached) " >&6
11679 case $orig_target_ar in
11681 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11685 for as_dir
in `dirname $aros_gcc_ar`
11688 test -z "$as_dir" && as_dir
=.
11689 for ac_exec_ext
in '' $ac_executable_extensions; do
11690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11691 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11702 orig_target_ar
=$ac_cv_path_orig_target_ar
11703 if test -n "$orig_target_ar"; then
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11705 $as_echo "$orig_target_ar" >&6; }
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11708 $as_echo "no" >&6; }
11713 if test "$orig_target_ar" = ""; then
11714 # Extract the first word of "ar", so it can be a program name with args.
11715 set dummy
ar; ac_word
=$2
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11717 $as_echo_n "checking for $ac_word... " >&6; }
11718 if ${ac_cv_path_orig_target_ar+:} false
; then :
11719 $as_echo_n "(cached) " >&6
11721 case $orig_target_ar in
11723 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11727 for as_dir
in $PATH
11730 test -z "$as_dir" && as_dir
=.
11731 for ac_exec_ext
in '' $ac_executable_extensions; do
11732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11733 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11744 orig_target_ar
=$ac_cv_path_orig_target_ar
11745 if test -n "$orig_target_ar"; then
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11747 $as_echo "$orig_target_ar" >&6; }
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11750 $as_echo "no" >&6; }
11757 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11758 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11760 $as_echo_n "checking for $ac_word... " >&6; }
11761 if ${ac_cv_path_orig_target_ar+:} false
; then :
11762 $as_echo_n "(cached) " >&6
11764 case $orig_target_ar in
11766 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11770 for as_dir
in $PATH
11773 test -z "$as_dir" && as_dir
=.
11774 for ac_exec_ext
in '' $ac_executable_extensions; do
11775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11776 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11787 orig_target_ar
=$ac_cv_path_orig_target_ar
11788 if test -n "$orig_target_ar"; then
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11790 $as_echo "$orig_target_ar" >&6; }
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11793 $as_echo "no" >&6; }
11799 if test "$orig_target_ar" = ""; then
11800 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11803 if test "${aros_tool_prefix}ranlib" = ""; then
11804 if test "$cross_compiling" = "yes" ; then
11805 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11806 set dummy
${target_tool_prefix}ar; ac_word
=$2
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11808 $as_echo_n "checking for $ac_word... " >&6; }
11809 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11810 $as_echo_n "(cached) " >&6
11812 case $orig_target_ranlib in
11814 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11818 for as_dir
in $PATH
11821 test -z "$as_dir" && as_dir
=.
11822 for ac_exec_ext
in '' $ac_executable_extensions; do
11823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11824 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11835 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11836 if test -n "$orig_target_ranlib"; then
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11838 $as_echo "$orig_target_ranlib" >&6; }
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11841 $as_echo "no" >&6; }
11846 if test "$GCC" = "yes"; then
11847 aros_gcc_ar
=`$CC -print-prog-name=ar`
11848 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11849 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11851 $as_echo_n "checking for $ac_word... " >&6; }
11852 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11853 $as_echo_n "(cached) " >&6
11855 case $orig_target_ranlib in
11857 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11861 for as_dir
in `dirname $aros_gcc_ar`
11864 test -z "$as_dir" && as_dir
=.
11865 for ac_exec_ext
in '' $ac_executable_extensions; do
11866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11867 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11878 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11879 if test -n "$orig_target_ranlib"; then
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11881 $as_echo "$orig_target_ranlib" >&6; }
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11884 $as_echo "no" >&6; }
11889 if test "$orig_target_ranlib" = ""; then
11890 # Extract the first word of "ar", so it can be a program name with args.
11891 set dummy
ar; ac_word
=$2
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11893 $as_echo_n "checking for $ac_word... " >&6; }
11894 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11895 $as_echo_n "(cached) " >&6
11897 case $orig_target_ranlib in
11899 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11903 for as_dir
in $PATH
11906 test -z "$as_dir" && as_dir
=.
11907 for ac_exec_ext
in '' $ac_executable_extensions; do
11908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11909 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11920 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11921 if test -n "$orig_target_ranlib"; then
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11923 $as_echo "$orig_target_ranlib" >&6; }
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11926 $as_echo "no" >&6; }
11933 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11934 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11936 $as_echo_n "checking for $ac_word... " >&6; }
11937 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11938 $as_echo_n "(cached) " >&6
11940 case $orig_target_ranlib in
11942 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11946 for as_dir
in $PATH
11949 test -z "$as_dir" && as_dir
=.
11950 for ac_exec_ext
in '' $ac_executable_extensions; do
11951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11952 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11963 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11964 if test -n "$orig_target_ranlib"; then
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11966 $as_echo "$orig_target_ranlib" >&6; }
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11969 $as_echo "no" >&6; }
11975 if test "$orig_target_ranlib" = ""; then
11976 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11979 if test "${aros_tool_prefix}nm" = ""; then
11980 if test "$cross_compiling" = "yes" ; then
11981 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
11982 set dummy
${target_tool_prefix}nm
; ac_word
=$2
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11984 $as_echo_n "checking for $ac_word... " >&6; }
11985 if ${ac_cv_path_orig_target_nm+:} false
; then :
11986 $as_echo_n "(cached) " >&6
11988 case $orig_target_nm in
11990 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11994 for as_dir
in $PATH
11997 test -z "$as_dir" && as_dir
=.
11998 for ac_exec_ext
in '' $ac_executable_extensions; do
11999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12000 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12011 orig_target_nm
=$ac_cv_path_orig_target_nm
12012 if test -n "$orig_target_nm"; then
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12014 $as_echo "$orig_target_nm" >&6; }
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12017 $as_echo "no" >&6; }
12022 if test "$GCC" = "yes"; then
12023 aros_gcc_nm
=`$CC -print-prog-name=nm`
12024 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12025 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12027 $as_echo_n "checking for $ac_word... " >&6; }
12028 if ${ac_cv_path_orig_target_nm+:} false
; then :
12029 $as_echo_n "(cached) " >&6
12031 case $orig_target_nm in
12033 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12037 for as_dir
in `dirname $aros_gcc_nm`
12040 test -z "$as_dir" && as_dir
=.
12041 for ac_exec_ext
in '' $ac_executable_extensions; do
12042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12043 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12054 orig_target_nm
=$ac_cv_path_orig_target_nm
12055 if test -n "$orig_target_nm"; then
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12057 $as_echo "$orig_target_nm" >&6; }
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12060 $as_echo "no" >&6; }
12065 if test "$orig_target_nm" = ""; then
12066 # Extract the first word of "nm", so it can be a program name with args.
12067 set dummy nm
; ac_word
=$2
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12069 $as_echo_n "checking for $ac_word... " >&6; }
12070 if ${ac_cv_path_orig_target_nm+:} false
; then :
12071 $as_echo_n "(cached) " >&6
12073 case $orig_target_nm in
12075 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12079 for as_dir
in $PATH
12082 test -z "$as_dir" && as_dir
=.
12083 for ac_exec_ext
in '' $ac_executable_extensions; do
12084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12085 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12096 orig_target_nm
=$ac_cv_path_orig_target_nm
12097 if test -n "$orig_target_nm"; then
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12099 $as_echo "$orig_target_nm" >&6; }
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12102 $as_echo "no" >&6; }
12109 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12110 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12112 $as_echo_n "checking for $ac_word... " >&6; }
12113 if ${ac_cv_path_orig_target_nm+:} false
; then :
12114 $as_echo_n "(cached) " >&6
12116 case $orig_target_nm in
12118 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12122 for as_dir
in $PATH
12125 test -z "$as_dir" && as_dir
=.
12126 for ac_exec_ext
in '' $ac_executable_extensions; do
12127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12128 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12139 orig_target_nm
=$ac_cv_path_orig_target_nm
12140 if test -n "$orig_target_nm"; then
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12142 $as_echo "$orig_target_nm" >&6; }
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12145 $as_echo "no" >&6; }
12151 if test "$orig_target_nm" = ""; then
12152 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12155 if test "${aros_tool_prefix}strip" = ""; then
12156 if test "$cross_compiling" = "yes" ; then
12157 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12158 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12160 $as_echo_n "checking for $ac_word... " >&6; }
12161 if ${ac_cv_path_orig_target_strip+:} false
; then :
12162 $as_echo_n "(cached) " >&6
12164 case $orig_target_strip in
12166 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12170 for as_dir
in $PATH
12173 test -z "$as_dir" && as_dir
=.
12174 for ac_exec_ext
in '' $ac_executable_extensions; do
12175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12176 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12187 orig_target_strip
=$ac_cv_path_orig_target_strip
12188 if test -n "$orig_target_strip"; then
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12190 $as_echo "$orig_target_strip" >&6; }
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12193 $as_echo "no" >&6; }
12198 if test "$GCC" = "yes"; then
12199 aros_gcc_strip
=`$CC -print-prog-name=strip`
12200 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12201 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12203 $as_echo_n "checking for $ac_word... " >&6; }
12204 if ${ac_cv_path_orig_target_strip+:} false
; then :
12205 $as_echo_n "(cached) " >&6
12207 case $orig_target_strip in
12209 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12213 for as_dir
in `dirname $aros_gcc_strip`
12216 test -z "$as_dir" && as_dir
=.
12217 for ac_exec_ext
in '' $ac_executable_extensions; do
12218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12219 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12230 orig_target_strip
=$ac_cv_path_orig_target_strip
12231 if test -n "$orig_target_strip"; then
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12233 $as_echo "$orig_target_strip" >&6; }
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12236 $as_echo "no" >&6; }
12241 if test "$orig_target_strip" = ""; then
12242 # Extract the first word of "strip", so it can be a program name with args.
12243 set dummy strip
; ac_word
=$2
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12245 $as_echo_n "checking for $ac_word... " >&6; }
12246 if ${ac_cv_path_orig_target_strip+:} false
; then :
12247 $as_echo_n "(cached) " >&6
12249 case $orig_target_strip in
12251 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12255 for as_dir
in $PATH
12258 test -z "$as_dir" && as_dir
=.
12259 for ac_exec_ext
in '' $ac_executable_extensions; do
12260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12261 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12272 orig_target_strip
=$ac_cv_path_orig_target_strip
12273 if test -n "$orig_target_strip"; then
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12275 $as_echo "$orig_target_strip" >&6; }
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12278 $as_echo "no" >&6; }
12285 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12286 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12288 $as_echo_n "checking for $ac_word... " >&6; }
12289 if ${ac_cv_path_orig_target_strip+:} false
; then :
12290 $as_echo_n "(cached) " >&6
12292 case $orig_target_strip in
12294 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12298 for as_dir
in $PATH
12301 test -z "$as_dir" && as_dir
=.
12302 for ac_exec_ext
in '' $ac_executable_extensions; do
12303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12304 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12315 orig_target_strip
=$ac_cv_path_orig_target_strip
12316 if test -n "$orig_target_strip"; then
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12318 $as_echo "$orig_target_strip" >&6; }
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12321 $as_echo "no" >&6; }
12327 if test "$orig_target_strip" = ""; then
12328 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12331 if test "${aros_tool_prefix}objcopy" = ""; then
12332 if test "$cross_compiling" = "yes" ; then
12333 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12334 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12336 $as_echo_n "checking for $ac_word... " >&6; }
12337 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12338 $as_echo_n "(cached) " >&6
12340 case $orig_target_objcopy in
12342 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12346 for as_dir
in $PATH
12349 test -z "$as_dir" && as_dir
=.
12350 for ac_exec_ext
in '' $ac_executable_extensions; do
12351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12352 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12363 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12364 if test -n "$orig_target_objcopy"; then
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12366 $as_echo "$orig_target_objcopy" >&6; }
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12369 $as_echo "no" >&6; }
12374 if test "$GCC" = "yes"; then
12375 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12376 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12377 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12379 $as_echo_n "checking for $ac_word... " >&6; }
12380 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12381 $as_echo_n "(cached) " >&6
12383 case $orig_target_objcopy in
12385 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12389 for as_dir
in `dirname $aros_gcc_objcopy`
12392 test -z "$as_dir" && as_dir
=.
12393 for ac_exec_ext
in '' $ac_executable_extensions; do
12394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12395 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12406 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12407 if test -n "$orig_target_objcopy"; then
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12409 $as_echo "$orig_target_objcopy" >&6; }
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12412 $as_echo "no" >&6; }
12417 if test "$orig_target_objcopy" = ""; then
12418 # Extract the first word of "objcopy", so it can be a program name with args.
12419 set dummy objcopy
; ac_word
=$2
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12421 $as_echo_n "checking for $ac_word... " >&6; }
12422 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12423 $as_echo_n "(cached) " >&6
12425 case $orig_target_objcopy in
12427 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12431 for as_dir
in $PATH
12434 test -z "$as_dir" && as_dir
=.
12435 for ac_exec_ext
in '' $ac_executable_extensions; do
12436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12437 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12448 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12449 if test -n "$orig_target_objcopy"; then
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12451 $as_echo "$orig_target_objcopy" >&6; }
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12454 $as_echo "no" >&6; }
12461 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12462 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12464 $as_echo_n "checking for $ac_word... " >&6; }
12465 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12466 $as_echo_n "(cached) " >&6
12468 case $orig_target_objcopy in
12470 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12474 for as_dir
in $PATH
12477 test -z "$as_dir" && as_dir
=.
12478 for ac_exec_ext
in '' $ac_executable_extensions; do
12479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12480 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12491 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12492 if test -n "$orig_target_objcopy"; then
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12494 $as_echo "$orig_target_objcopy" >&6; }
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12497 $as_echo "no" >&6; }
12503 if test "$orig_target_objcopy" = ""; then
12504 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12507 if test "${aros_tool_prefix}objdump" = ""; then
12508 if test "$cross_compiling" = "yes" ; then
12509 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12510 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12512 $as_echo_n "checking for $ac_word... " >&6; }
12513 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12514 $as_echo_n "(cached) " >&6
12516 case $orig_target_objdump in
12518 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12522 for as_dir
in $PATH
12525 test -z "$as_dir" && as_dir
=.
12526 for ac_exec_ext
in '' $ac_executable_extensions; do
12527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12528 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12539 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12540 if test -n "$orig_target_objdump"; then
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12542 $as_echo "$orig_target_objdump" >&6; }
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12545 $as_echo "no" >&6; }
12550 if test "$GCC" = "yes"; then
12551 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12552 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12553 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12555 $as_echo_n "checking for $ac_word... " >&6; }
12556 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12557 $as_echo_n "(cached) " >&6
12559 case $orig_target_objdump in
12561 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12565 for as_dir
in `dirname $aros_gcc_objdump`
12568 test -z "$as_dir" && as_dir
=.
12569 for ac_exec_ext
in '' $ac_executable_extensions; do
12570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12571 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12582 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12583 if test -n "$orig_target_objdump"; then
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12585 $as_echo "$orig_target_objdump" >&6; }
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12588 $as_echo "no" >&6; }
12593 if test "$orig_target_objdump" = ""; then
12594 # Extract the first word of "objdump", so it can be a program name with args.
12595 set dummy objdump
; ac_word
=$2
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12597 $as_echo_n "checking for $ac_word... " >&6; }
12598 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12599 $as_echo_n "(cached) " >&6
12601 case $orig_target_objdump in
12603 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12607 for as_dir
in $PATH
12610 test -z "$as_dir" && as_dir
=.
12611 for ac_exec_ext
in '' $ac_executable_extensions; do
12612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12613 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12624 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12625 if test -n "$orig_target_objdump"; then
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12627 $as_echo "$orig_target_objdump" >&6; }
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12630 $as_echo "no" >&6; }
12637 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12638 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12640 $as_echo_n "checking for $ac_word... " >&6; }
12641 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12642 $as_echo_n "(cached) " >&6
12644 case $orig_target_objdump in
12646 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12650 for as_dir
in $PATH
12653 test -z "$as_dir" && as_dir
=.
12654 for ac_exec_ext
in '' $ac_executable_extensions; do
12655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12656 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12667 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12668 if test -n "$orig_target_objdump"; then
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12670 $as_echo "$orig_target_objdump" >&6; }
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12673 $as_echo "no" >&6; }
12679 if test "$orig_target_objdump" = ""; then
12680 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12684 if test "$kernel_tool_prefix" = "none" ; then
12685 # No kernel tools specified
12686 # Assume target tools == kernel tools with ELF wrapper
12687 aros_kernel_cc
=$orig_target_cc
12688 aros_kernel_cxx
=$orig_target_cxx
12689 aros_kernel_cpp
=$orig_target_cpp
12690 aros_kernel_ld
=$orig_target_ld
12691 aros_kernel_as
=$orig_target_as
12692 aros_kernel_ar
=$orig_target_ar
12693 aros_kernel_ranlib
=$orig_target_ranlib
12694 aros_kernel_nm
=$orig_target_nm
12695 aros_kernel_strip
=$orig_target_strip
12696 aros_kernel_objcopy
=$orig_target_objcopy
12697 aros_kernel_objdump
=$orig_target_objdump
12698 use_kernel_cc_wrapper
=yes
12701 # At this point, all aros_kernel_* and aros_target_*
12702 # tools should be set up correctly
12704 CC
="$aros_kernel_cc $kernel_tool_flags"
12705 CPP
="$aros_kernel_cpp"
12707 #-----------------------------------------------------------------------------
12709 # Disable pointer-signedness warnings if the compiler recognises the option
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12712 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12713 save_cflags
="$CFLAGS"
12714 if test "$crosstools" != "yes" ; then
12715 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12717 /* end confdefs.h. */
12727 if ac_fn_c_try_compile
"$LINENO"; then :
12728 use_no_sign_warning
="yes"
12730 use_no_sign_warning
="no"
12732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12734 # we do know it is supported for the smallest version of gcc we are going to build
12735 # we assume it's also supported by later versions
12736 use_no_sign_warning
=yes
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12739 $as_echo "$use_no_sign_warning" >&6; }
12740 if test "x-$use_no_sign_warning" = "x-yes" ; then
12741 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12743 CFLAGS
="$save_cflags"
12745 #-----------------------------------------------------------------------------
12747 # Find all the tools we need to compile. This could be cross-compiling
12748 # though! If that is the case we use the GNU form of the target and
12749 # simply add this to the front of the binary name. This is rather simple,
12750 # but it should work under most circumstances.
12752 # The default tools are to use the same as the host, but only if the
12753 # host and target CPU are the same. With GCC this is normally enough.
12757 aros_shared_ld
="$aros_host_ld"
12759 aros_target_mkdep
="$aros_host_mkdep"
12761 # The default tools executables to be linked to.
12762 if test "$rescomp" != ""; then
12763 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12764 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12766 $as_echo_n "checking for $ac_word... " >&6; }
12767 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12768 $as_echo_n "(cached) " >&6
12770 case $aros_kernel_rescomp in
12772 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12776 for as_dir
in $PATH
12779 test -z "$as_dir" && as_dir
=.
12780 for ac_exec_ext
in '' $ac_executable_extensions; do
12781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12782 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12793 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12794 if test -n "$aros_kernel_rescomp"; then
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12796 $as_echo "$aros_kernel_rescomp" >&6; }
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12799 $as_echo "no" >&6; }
12803 if test "$aros_kernel_rescomp" = ""; then
12804 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12808 # Set up the sources for the symlink farm
12809 if test "$crosstools" = "yes"; then
12810 crosstools_target
=tools-crosstools
12813 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12814 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12817 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12818 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12819 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12820 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12821 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12822 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12823 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12825 # aros_cc_pre is a variable that is added to the front of the compiler name
12826 # in the generated aros-gcc shell script. We need this to enable the cache
12827 # to work across cleaned builds. Also, support DISTCC using the correct
12828 # environment variable.
12831 if test "x${DISTCC}" != "x" ; then
12832 if test "x${CCACHE}" != "x" ; then
12833 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12835 aros_cc_pre
="${DISTCC} "
12838 if test "x${CCACHE}" != "x" ; then
12839 aros_cc_pre
="${CCACHE} "
12843 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12845 aros_target_nostdinc_cflags
=-nostdinc
12847 aros_target_nostartup_ldflags
=-nostartfiles
12849 aros_target_nix_ldflags
=-nix
12851 aros_target_detach_ldflags
=-detach
12853 aros_target_nostdlib_ldflags
=-nostdlib
12857 if test "$crosstools" != "yes"; then
12858 if test "$GCC" = "yes"; then
12859 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12862 # We do not know which gcc version we are going to build and what we need to know
12863 # here is different for different versions so this will be set later during the
12864 # build of crosstools.
12865 aros_target_cc_path
=@aros_target_cc_path@
12867 aros_target_cpp
="${prefix}cpp"
12868 aros_target_cc
="${prefix}gcc"
12869 aros_target_cxx
="${prefix}g++"
12870 aros_target_as
="${prefix}as"
12871 aros_target_ld
="${prefix}ld"
12872 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12873 aros_target_objcopy
="${prefix}objcopy"
12874 aros_target_objdump
="${prefix}objdump"
12875 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12876 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12877 aros_target_strip
="${prefix}strip"
12878 aros_plain_nm
="${prefix}nm"
12879 aros_plain_ar
="${prefix}ar"
12881 # Check whether --enable-includes was given.
12882 if test "${enable_includes+set}" = set; then :
12883 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12885 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
12889 if test "$aros_kernel_includes" = ""; then
12890 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12891 aros_kernel_includes
="-isystem $aros_target_incl"
12895 if test "$aros_kernel_includes" != "" ; then
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12897 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12898 if test "$aros_kernel_cc_includes" = "" ; then
12899 # Try to guess where the directory is.
12900 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12901 if test -d $aros_kernel_cc_includes; then
12902 # Check if there is also an include-fixed directory and add it
12903 # to kernel compiler's include path as it may contain some of
12904 # the headers we need.
12905 if test -d "$aros_kernel_cc_includes"-fixed; then
12906 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12908 # Check for specific includes directory. Neede for Ubuntu 11.10
12909 if test -d "/usr/include/i386-linux-gnu"; then
12910 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12913 # The directory doesn't exist, we need to do some more work.
12914 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12916 # These are the headers we're looking for.
12917 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12918 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12922 for h
in $headers; do
12923 # Which other headers are needed by each of the above?
12924 deps
=$
(echo "#include <$h>" | \
12925 $aros_kernel_cc -E -M - 2>/dev
/null | \
12926 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12928 # Copy all the needed headers to a directory beneath gendir.
12931 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12932 sed -n "s,^.*/include\(/.*\),\1,p")
12933 ! test -d $dir && mkdir
-p $dir
12934 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12940 $as_echo "$aros_kernel_cc_includes" >&6; }
12941 # Adding -nostdinc to kernel includes as they are always used together.
12942 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12945 if test "$crosstools" != "yes"; then
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12947 $as_echo_n "checking for the target compiler's include path... " >&6; }
12948 if test "$aros_target_cc_includes" = "" ; then
12949 #try to guess where the directory is
12950 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12951 if ! test -d $aros_target_cc_includes; then
12952 #the directory doesn't exist, we need to do some more work
12953 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12955 #these are the headers we're looking for
12956 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12957 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12961 for h
in $headers; do
12962 #which other headers each of the above headers needs?
12963 deps
=$
(echo "#include <$h>" | \
12964 $orig_target_cc -E -M - 2>/dev
/null | \
12965 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12967 #copy all the needed headers to a directory beneath gendir
12970 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
12971 sed -n "s,^.*/include\(/.*\),\1,p")
12972 ! test -d $dir && mkdir
-p $dir
12973 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
12979 $as_echo "$aros_target_cc_includes" >&6; }
12981 # We do not know which gcc version we are going to build and what we need to know
12982 # here is different for different versions so this will be set later during the
12983 # build of crosstools.
12984 aros_target_cc_includes
=@aros_target_cc_includes@
12988 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
12989 # On GCC >= 4.0 -iquote should be used
12993 save_cflags
="$CFLAGS"
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12996 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12997 if test "x-$crosstools" != "x-yes"; then
12998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12999 /* end confdefs.h. */
13009 if ac_fn_c_try_compile
"$LINENO"; then :
13014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13016 # we do know it is supported for the smallest version of gcc we are going to build
13017 # we assume it's also supported by later versions
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13021 $as_echo "$has_iquote" >&6; }
13022 if test "x-$has_iquote" = "x-yes" ; then
13023 host_cflags_iquote
=-iquote
13024 host_cflags_iquote_end
=
13026 host_cflags_iquote
=-I
13027 host_cflags_iquote_end
=-I-
13029 kernel_cflags_iquote
=$host_cflags_iquote
13030 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13031 if test "x-$cross_compiling" = "x-yes"; then
13032 CC
="$aros_kernel_cc"
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13034 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13035 if test "x-$crosstools" != "x-yes"; then
13036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13037 /* end confdefs.h. */
13047 if ac_fn_c_try_compile
"$LINENO"; then :
13048 use_no_stack_protector
="yes"
13050 use_no_stack_protector
="no"
13052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13054 # we do know it is supported for the smallest version of gcc we are going to build
13055 # we assume it's also supported by later versions
13056 use_no_stack_protector
=yes
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13059 $as_echo "$use_no_stack_protector" >&6; }
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13061 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13062 if test "x-$crosstools" != "x-yes"; then
13063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13064 /* end confdefs.h. */
13074 if ac_fn_c_try_compile
"$LINENO"; then :
13079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13081 # we do know it is supported for the smallest version of gcc we are going to build
13082 # we assume it's also supported by later versions
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13086 $as_echo "$has_iquote" >&6; }
13087 if test "x-$has_iquote" = "x-yes" ; then
13088 kernel_cflags_iquote
=-iquote
13089 kernel_cflags_iquote_end
=
13091 kernel_cflags_iquote
=-I
13092 kernel_cflags_iquote_end
=-I-
13095 aros_cflags_iquote
=$kernel_cflags_iquote
13096 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13097 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13098 CC
="$orig_target_cc"
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13100 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13101 if test "x-$crosstools" != "x-yes"; then
13102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13103 /* end confdefs.h. */
13113 if ac_fn_c_try_compile
"$LINENO"; then :
13118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13120 # we do know it is supported for the smallest version of gcc we are going to build
13121 # we assume it's also supported by later versions
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13125 $as_echo "$has_iquote" >&6; }
13126 if test "x-$has_iquote" = "x-yes" ; then
13127 aros_cflags_iquote
=-iquote
13128 aros_cflags_iquote_end
=
13130 aros_cflags_iquote
=-I
13131 aros_cflags_iquote_end
=-I-
13134 if test "x-$use_no_stack_protector" = "x-yes" ; then
13135 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13139 #-----------------------------------------------------------------------------
13141 # Check if the target compiler supports some options used for delinting:
13142 # -Wunused-but-set-variable
13145 # -Wstrict-overflow
13146 # -Wformat-security
13148 if test "x-$crosstools" != "x-yes"; then
13149 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13150 CC
="$orig_target_cc"
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13153 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13154 CFLAGS
=-Wunused-but-set-variable
13155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13156 /* end confdefs.h. */
13166 if ac_fn_c_try_compile
"$LINENO"; then :
13167 aros_unused_but_set_variable
="yes"
13169 aros_unused_but_set_variable
="no"
13171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13173 $as_echo "$aros_unused_but_set_variable" >&6; }
13174 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13175 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13179 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13180 CFLAGS
=-Warray-bounds
13181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13182 /* end confdefs.h. */
13192 if ac_fn_c_try_compile
"$LINENO"; then :
13193 aros_array_bounds
="yes"
13195 aros_array_bounds
="no"
13197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13199 $as_echo "$aros_array_bounds" >&6; }
13200 if test "x-$aros_array_bounds" = "x-yes" ; then
13201 aros_cflags_array_bounds
=-Wno-array-bounds
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13205 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13206 CFLAGS
=-Wenum-compare
13207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13208 /* end confdefs.h. */
13218 if ac_fn_c_try_compile
"$LINENO"; then :
13219 aros_enum_compare
="yes"
13221 aros_enum_compare
="no"
13223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13225 $as_echo "$aros_enum_compare" >&6; }
13226 if test "x-$aros_enum_compare" = "x-yes" ; then
13227 aros_cflags_enum_compare
=-Wno-enum-compare
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13231 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13232 CFLAGS
=-Wstrict-overflow
13233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13234 /* end confdefs.h. */
13244 if ac_fn_c_try_compile
"$LINENO"; then :
13245 aros_strict_overflow
="yes"
13247 aros_strict_overflow
="no"
13249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13251 $as_echo "$aros_strict_overflow" >&6; }
13252 if test "x-$aros_strict_overflow" = "x-yes" ; then
13253 aros_cflags_strict_overflow
=-Wno-strict-overflow
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13257 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13258 CFLAGS
=-Wformat-security
13259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13260 /* end confdefs.h. */
13270 if ac_fn_c_try_compile
"$LINENO"; then :
13271 aros_format_security
="yes"
13273 aros_format_security
="no"
13275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13277 $as_echo "$aros_format_security" >&6; }
13278 if test "x-$aros_format_security" = "x-yes" ; then
13279 aros_cflags_format_security
=-Wno-format-security
13282 # We do not know which gcc version we are going to build and what we need to know
13283 # here is different for different versions so this will be set later during the
13284 # build of crosstools.
13285 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13286 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13287 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13288 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13289 aros_cflags_format_security
=@aros_cflags_format_security@
13292 #-----------------------------------------------------------------------------
13294 # Check if we can explicitly choose older version of symbol hashing
13296 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13297 CC
="$aros_kernel_cc"
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13299 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13301 /* end confdefs.h. */
13311 if ac_fn_c_try_link
"$LINENO"; then :
13312 use_hash_style
="yes"
13314 use_hash_style
="no"
13316 rm -f core conftest.err conftest.
$ac_objext \
13317 conftest
$ac_exeext conftest.
$ac_ext
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13319 $as_echo "$use_hash_style" >&6; }
13320 if test "x-$use_hash_style" = "x-yes" ; then
13321 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13324 CFLAGS
="$save_cflags"
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13335 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13337 # Check whether --with-resolution was given.
13338 if test "${with_resolution+set}" = set; then :
13339 withval
=$with_resolution; resolution
=$withval
13344 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13345 if test "$resolution" = "yes" ; then
13348 if test "$resolution" = "no" ; then
13351 if test "$resolution" != "none" ; then
13352 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13353 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13354 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13357 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13358 aros_cv_default_wbwidth
=$aros_default_wbwidth
13359 aros_cv_default_wbheight
=$aros_default_wbheight
13360 aros_cv_default_wbdepth
=$aros_default_wbdepth
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13363 $as_echo_n "checking if serial debug is enabled... " >&6; }
13365 # Check whether --with-serial-debug was given.
13366 if test "${with_serial_debug+set}" = set; then :
13367 withval
=$with_serial_debug; serial_debug
=$withval
13372 if test "$aros_serial_debug" = 0 ; then
13373 serial_debug_forced
=""
13374 if test "$serial_debug" = "yes" ; then
13377 if test "$serial_debug" = "no" ; then
13378 serial_debug
="none"
13381 serial_debug_forced
="(forced)"
13382 serial_debug
=$aros_serial_debug
13384 if test "$serial_debug" != "none" ; then
13385 aros_serial_debug
=$serial_debug
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13387 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13390 $as_echo "no" >&6; }
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13394 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13395 # Check whether --enable-palm_debug_hack was given.
13396 if test "${enable_palm_debug_hack+set}" = set; then :
13397 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13399 palm_debug_hack
="no"
13402 if test "$palm_debug_hack" = "yes" ; then
13403 aros_palm_debug_hack
="1"
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13406 $as_echo "$palm_debug_hack" >&6; }
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
13409 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
13410 # Check whether --enable-usb30_code was given.
13411 if test "${enable_usb30_code+set}" = set; then :
13412 enableval
=$enable_usb30_code; usb30_code
="yes"
13417 if test "$usb30_code" = "yes" ; then
13418 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
13419 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
13422 $as_echo "$usb30_code" >&6; }
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13425 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13426 # Check whether --enable-nesting_supervisor was given.
13427 if test "${enable_nesting_supervisor+set}" = set; then :
13428 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13430 nesting_supervisor
="no"
13433 if test "$nesting_supervisor" = "yes" ; then
13434 aros_nesting_supervisor
="1"
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13437 $as_echo "$nesting_supervisor" >&6; }
13439 if test "$aros_enable_mmu" = "" ; then
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13441 $as_echo_n "checking if MMU support is enabled... " >&6; }
13442 # Check whether --enable-mmu was given.
13443 if test "${enable_mmu+set}" = set; then :
13444 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13446 aros_enable_mmu
="yes"
13449 if test "$aros_enable_mmu" = "" ; then
13450 aros_enable_mmu
="yes"
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13453 $as_echo "$aros_enable_mmu" >&6; }
13455 if test "$aros_enable_mmu" = "no" ; then
13456 aros_enable_mmu
="0"
13458 aros_enable_mmu
="1"
13462 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13464 if test "x-$need_dlopen" != "x-no" ; then
13467 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13468 if test "x$ac_cv_func_dlopen" = xyes
; then :
13474 if test "x-$have_dl" = "x-no" ; then
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13476 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13477 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13478 $as_echo_n "(cached) " >&6
13480 ac_check_lib_save_LIBS
=$LIBS
13482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13483 /* end confdefs.h. */
13485 /* Override any GCC internal prototype to avoid an error.
13486 Use char because int might match the return type of a GCC
13487 builtin and then its argument prototype would still apply. */
13500 if ac_fn_c_try_link
"$LINENO"; then :
13501 ac_cv_lib_dl_dlopen
=yes
13503 ac_cv_lib_dl_dlopen
=no
13505 rm -f core conftest.err conftest.
$ac_objext \
13506 conftest
$ac_exeext conftest.
$ac_ext
13507 LIBS
=$ac_check_lib_save_LIBS
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13510 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13511 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13513 aros_host_ldflags
="$aros_host_ldflags -ldl"
13519 if test "x-$have_dl" = "x-no" ; then
13520 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13526 # Check whether --enable-x11_hidd was given.
13527 if test "${enable_x11_hidd+set}" = set; then :
13528 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13530 x11_hidd
="$need_x11"
13533 case "x-$x11_hidd" in
13534 x-yes|x-no|x-auto
) ;;
13535 *) x11_hidd
="$need_x11" ;;
13540 if test "x-$x11_hidd" != "x-no" ; then
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13543 $as_echo_n "checking for X... " >&6; }
13546 # Check whether --with-x was given.
13547 if test "${with_x+set}" = set; then :
13551 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13552 if test "x$with_x" = xno
; then
13553 # The user explicitly disabled X.
13556 case $x_includes,$x_libraries in #(
13557 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13558 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13559 $as_echo_n "(cached) " >&6
13561 # One or both of the vars are not set, and there is no cached value.
13562 ac_x_includes
=no ac_x_libraries
=no
13563 rm -f -r conftest.dir
13564 if mkdir conftest.dir
; then
13566 cat >Imakefile
<<'_ACEOF'
13568 @echo incroot='${INCROOT}'
13570 @echo usrlibdir='${USRLIBDIR}'
13572 @echo libdir='${LIBDIR}'
13574 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13575 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13576 for ac_var
in incroot usrlibdir libdir
; do
13577 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13579 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13580 for ac_extension
in a so sl dylib la dll
; do
13581 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13582 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13583 ac_im_usrlibdir
=$ac_im_libdir; break
13586 # Screen out bogus values from the imake configuration. They are
13587 # bogus both because they are the default anyway, and because
13588 # using them would break gcc on systems where it needs fixed includes.
13589 case $ac_im_incroot in
13590 /usr
/include
) ac_x_includes
= ;;
13591 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13593 case $ac_im_usrlibdir in
13594 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13595 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13599 rm -f -r conftest.dir
13602 # Standard set of common directories for X headers.
13603 # Check X11 before X11Rn because it is often a symlink to the current release.
13617 /usr/local/X11/include
13618 /usr/local/X11R7/include
13619 /usr/local/X11R6/include
13620 /usr/local/X11R5/include
13621 /usr/local/X11R4/include
13623 /usr/local/include/X11
13624 /usr/local/include/X11R7
13625 /usr/local/include/X11R6
13626 /usr/local/include/X11R5
13627 /usr/local/include/X11R4
13631 /usr/XFree86/include/X11
13635 /usr/unsupported/include
13636 /usr/athena/include
13637 /usr/local/x11r5/include
13638 /usr/lpp/Xamples/include
13640 /usr/openwin/include
13641 /usr/openwin/share/include'
13643 if test "$ac_x_includes" = no
; then
13644 # Guess where to find include files, by looking for Xlib.h.
13645 # First, try using that file with no special directory specified.
13646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13647 /* end confdefs.h. */
13648 #include <X11/Xlib.h>
13650 if ac_fn_c_try_cpp
"$LINENO"; then :
13651 # We can compile using X headers with no special include directory.
13654 for ac_dir
in $ac_x_header_dirs; do
13655 if test -r "$ac_dir/X11/Xlib.h"; then
13656 ac_x_includes
=$ac_dir
13661 rm -f conftest.err conftest.i conftest.
$ac_ext
13662 fi # $ac_x_includes = no
13664 if test "$ac_x_libraries" = no
; then
13665 # Check for the libraries.
13666 # See if we find them without any special options.
13667 # Don't add to $LIBS permanently.
13670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13672 #include <X11/Xlib.h>
13681 if ac_fn_c_try_link
"$LINENO"; then :
13683 # We can link X programs with no special library path.
13687 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13689 # Don't even attempt the hair of trying to link an X program!
13690 for ac_extension
in a so sl dylib la dll
; do
13691 if test -r "$ac_dir/libX11.$ac_extension"; then
13692 ac_x_libraries
=$ac_dir
13698 rm -f core conftest.err conftest.
$ac_objext \
13699 conftest
$ac_exeext conftest.
$ac_ext
13700 fi # $ac_x_libraries = no
13702 case $ac_x_includes,$ac_x_libraries in #(
13703 no
,* |
*,no |
*\'*)
13704 # Didn't find X, or a directory has "'" in its name.
13705 ac_cv_have_x
="have_x=no";; #(
13707 # Record where we found X for the cache.
13708 ac_cv_have_x
="have_x=yes\
13709 ac_x_includes='$ac_x_includes'\
13710 ac_x_libraries='$ac_x_libraries'"
13716 eval "$ac_cv_have_x"
13719 if test "$have_x" != yes; then
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13721 $as_echo "$have_x" >&6; }
13724 # If each of the values was on the command line, it overrides each guess.
13725 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13726 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13727 # Update the cache value to reflect the command line values.
13728 ac_cv_have_x
="have_x=yes\
13729 ac_x_includes='$x_includes'\
13730 ac_x_libraries='$x_libraries'"
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13732 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13737 for path
in $x_libraries
13739 x_cflags
="$x_cflags -L$path"
13742 for path
in $x_includes
13744 x_cflags
="$x_cflags -I$path"
13747 if test "x-$no_x" = "x-yes" ; then
13749 if test "x-$x11_hidd" != "x-auto" ; then
13750 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13754 x11_hidd_target
=kernel-x11gfx-kobj
13757 # Check whether --enable-x11_shm was given.
13758 if test "${enable_x11_shm+set}" = set; then :
13759 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13761 x11_hidd_shm
="auto"
13764 case "x-$x11_hidd_shm" in
13765 x-yes|x-no|x-auto
) ;;
13766 *) x11_hidd_shm
="auto" ;;
13771 if test "x-$x11_hidd_shm" != "x-no" ; then
13773 for ac_header
in sys
/ipc.h
13775 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13776 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13777 cat >>confdefs.h
<<_ACEOF
13778 #define HAVE_SYS_IPC_H 1
13785 for ac_header
in sys
/shm.h
13787 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13788 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13789 cat >>confdefs.h
<<_ACEOF
13790 #define HAVE_SYS_SHM_H 1
13798 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13800 save_cflags
="$CFLAGS"
13801 CFLAGS
="$CFLAGS $x_cflags"
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13803 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13804 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13805 $as_echo_n "(cached) " >&6
13807 ac_check_lib_save_LIBS
=$LIBS
13808 LIBS
="-lXext $LIBS"
13809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13810 /* end confdefs.h. */
13812 /* Override any GCC internal prototype to avoid an error.
13813 Use char because int might match the return type of a GCC
13814 builtin and then its argument prototype would still apply. */
13818 char XShmQueryExtension ();
13822 return XShmQueryExtension ();
13827 if ac_fn_c_try_link
"$LINENO"; then :
13828 ac_cv_lib_Xext_XShmQueryExtension
=yes
13830 ac_cv_lib_Xext_XShmQueryExtension
=no
13832 rm -f core conftest.err conftest.
$ac_objext \
13833 conftest
$ac_exeext conftest.
$ac_ext
13834 LIBS
=$ac_check_lib_save_LIBS
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13837 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13838 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13842 CFLAGS
="$save_cflags"
13846 if test "x-$have_xshm" = "x-yes" ; then
13847 DO_XSHM_SUPPORT
="1"
13848 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13849 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13851 DO_XSHM_SUPPORT
="0"
13855 # Check whether --enable-x11_vidmode was given.
13856 if test "${enable_x11_vidmode+set}" = set; then :
13857 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13859 x11_hidd_vidmode
="auto"
13862 case "x-$x11_hidd_vidmode" in
13863 x-yes|x-no|x-auto
) ;;
13864 *) x11_hidd_vidmode
="auto" ;;
13869 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13871 save_cflags
="$CFLAGS"
13872 CFLAGS
="$CFLAGS $x_cflags"
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13874 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13875 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13876 $as_echo_n "(cached) " >&6
13878 ac_check_lib_save_LIBS
=$LIBS
13879 LIBS
="-lXxf86vm $LIBS"
13880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13883 /* Override any GCC internal prototype to avoid an error.
13884 Use char because int might match the return type of a GCC
13885 builtin and then its argument prototype would still apply. */
13889 char XF86VidModeQueryExtension ();
13893 return XF86VidModeQueryExtension ();
13898 if ac_fn_c_try_link
"$LINENO"; then :
13899 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13901 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13903 rm -f core conftest.err conftest.
$ac_objext \
13904 conftest
$ac_exeext conftest.
$ac_ext
13905 LIBS
=$ac_check_lib_save_LIBS
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13908 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13909 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13913 CFLAGS
="$save_cflags"
13916 if test "x-$have_vidmode" = "x-yes" ; then
13917 DO_VIDMODE_SUPPORT
="1"
13918 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13919 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13921 DO_VIDMODE_SUPPORT
="0"
13925 aros_host_x11_includes
=$x_includes
13926 aros_host_x11_libdirs
=$x_libraries
13930 # Check whether --enable-sdl_hidd was given.
13931 if test "${enable_sdl_hidd+set}" = set; then :
13932 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13937 case "x-$sdl_hidd" in
13938 x-yes|x-no|x-auto
) ;;
13939 *) sdl_hidd
="auto" ;;
13942 if test "x-$sdl_hidd" != "x-no" ; then
13945 # Check whether --with-sdl-prefix was given.
13946 if test "${with_sdl_prefix+set}" = set; then :
13947 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13953 # Check whether --with-sdl-exec-prefix was given.
13954 if test "${with_sdl_exec_prefix+set}" = set; then :
13955 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13960 # Check whether --enable-sdltest was given.
13961 if test "${enable_sdltest+set}" = set; then :
13962 enableval
=$enable_sdltest;
13968 if test x
$sdl_exec_prefix != x
; then
13969 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
13970 if test x
${SDL_CONFIG+set} != xset
; then
13971 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
13974 if test x
$sdl_prefix != x
; then
13975 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
13976 if test x
${SDL_CONFIG+set} != xset
; then
13977 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
13981 as_save_PATH
="$PATH"
13982 if test "x$prefix" != xNONE
; then
13983 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
13985 # Extract the first word of "sdl-config", so it can be a program name with args.
13986 set dummy sdl-config
; ac_word
=$2
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13988 $as_echo_n "checking for $ac_word... " >&6; }
13989 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
13990 $as_echo_n "(cached) " >&6
13992 case $SDL_CONFIG in
13994 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
13997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13998 for as_dir
in $PATH
14001 test -z "$as_dir" && as_dir
=.
14002 for ac_exec_ext
in '' $ac_executable_extensions; do
14003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14004 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14012 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14016 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14017 if test -n "$SDL_CONFIG"; then
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14019 $as_echo "$SDL_CONFIG" >&6; }
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14022 $as_echo "no" >&6; }
14026 PATH
="$as_save_PATH"
14027 min_sdl_version
=1.2.10
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14029 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14031 if test "$SDL_CONFIG" = "no" ; then
14034 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14035 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14037 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14038 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14039 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14040 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14041 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14042 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14043 if test "x$enable_sdltest" = "xyes" ; then
14044 ac_save_CFLAGS
="$CFLAGS"
14045 ac_save_CXXFLAGS
="$CXXFLAGS"
14046 ac_save_LIBS
="$LIBS"
14047 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14048 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14049 LIBS
="$LIBS $SDL_LIBS"
14051 if test "$cross_compiling" = yes; then :
14052 echo $ac_n "cross compiling; assumed OK... $ac_c"
14054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14055 /* end confdefs.h. */
14058 #include <stdlib.h>
14059 #include <string.h>
14063 my_strdup (char *str)
14069 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14070 strcpy (new_str, str);
14078 int main (int argc, char *argv[])
14080 int major, minor, micro;
14083 /* This hangs on some systems (?)
14084 system ("touch conf.sdltest");
14086 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14088 /* HP/UX 9 (%@#!) writes to sscanf strings */
14089 tmp_version = my_strdup("$min_sdl_version");
14090 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14091 printf("%s, bad version string\n", "$min_sdl_version");
14095 if (($sdl_major_version > major) ||
14096 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14097 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14103 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14104 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14105 printf("*** best to upgrade to the required version.\n");
14106 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14107 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14108 printf("*** config.cache before re-running configure\n");
14115 if ac_fn_c_try_run
"$LINENO"; then :
14120 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14121 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14124 CFLAGS
="$ac_save_CFLAGS"
14125 CXXFLAGS
="$ac_save_CXXFLAGS"
14126 LIBS
="$ac_save_LIBS"
14129 if test "x$no_sdl" = x
; then
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14131 $as_echo "yes" >&6; }
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14135 $as_echo "no" >&6; }
14136 if test "$SDL_CONFIG" = "no" ; then
14137 echo "*** The sdl-config script installed by SDL could not be found"
14138 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14139 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14140 echo "*** full path to sdl-config."
14142 if test -f conf.sdltest
; then
14145 echo "*** Could not run SDL test program, checking why..."
14146 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14147 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14148 LIBS
="$LIBS $SDL_LIBS"
14149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14150 /* end confdefs.h. */
14155 int main(int argc, char *argv[])
14158 #define main K_and_R_C_main
14168 if ac_fn_c_try_link
"$LINENO"; then :
14169 echo "*** The test program compiled, but did not run. This usually means"
14170 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14171 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14172 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14173 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14174 echo "*** is required on your system"
14176 echo "*** If you have an old version installed, it is best to remove it, although"
14177 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14179 echo "*** The test program failed to compile or link. See the file config.log for the"
14180 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14181 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14182 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14184 rm -f core conftest.err conftest.
$ac_objext \
14185 conftest
$ac_exeext conftest.
$ac_ext
14186 CFLAGS
="$ac_save_CFLAGS"
14187 CXXFLAGS
="$ac_save_CXXFLAGS"
14188 LIBS
="$ac_save_LIBS"
14200 if test "x-$have_sdl" != "x-yes" ; then
14202 if test "x-$sdl_hidd" != "x-auto" ; then
14203 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14207 sdl_hidd_target
=kernel-hidd-sdl
14208 aros_host_sdl_cflags
=SDL_CFLAGS
14209 aros_host_sdl_libs
=SDL_LIBS
14213 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14214 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14219 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14220 oss_library_target
=workbench-libs-oss-unix
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14226 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14227 # Check whether --enable-dbus was given.
14228 if test "${enable_dbus+set}" = set; then :
14229 enableval
=$enable_dbus; dbus
="yes"
14234 if test "$dbus" = "yes" ; then
14236 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14237 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14238 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14239 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14244 $as_echo "$dbus" >&6; }
14246 if test "$use_kernel_cc_wrapper" = "yes" ; then
14247 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14250 if test "${crosstools}" != "yes" ; then
14251 aros_target_toolchain
=no
14253 aros_target_toolchain
=yes
14269 # Compatability with other Amiga-like operation systems
14364 # Delinting target compiler flags
14388 # Native version related
14391 # Palm native version related
14394 # Unix/Hosted version related
14400 # Apple iOS related
14405 # ARM default GCC target related
14431 # Collect-aros stuff: "-ius" to ignore undefined symbols
14434 # C compiler related
14440 case "$aros_flavour" in
14441 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14442 aros_flavour
="emulation" ;;
14443 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14444 aros_flavour
="emulation" ;;
14445 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14446 aros_flavour
="standalone";;
14447 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14448 aros_flavour
="standalone";;
14449 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14450 aros_flavour
="native" ;;
14451 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14452 aros_flavour
="native" ;;
14453 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14454 aros_flavour
="linklib" ;;
14455 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14456 aros_flavour
="palmnative" ;;
14457 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14458 aros_flavour
="mac68knative" ;;
14459 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14460 aros_flavour
="ppcnative" ;;
14463 if test ! -d ${aros_inc_dir} ; then
14464 ${MKDIR} ${aros_inc_dir}
14466 if test ! -d ${aros_geninc_dir} ; then
14467 ${MKDIR} ${aros_geninc_dir}
14469 if test ! -d ${aros_hostcfg_dir} ; then
14470 ${MKDIR} ${aros_hostcfg_dir}
14472 if test ! -d ${aros_targetcfg_dir} ; then
14473 ${MKDIR} ${aros_targetcfg_dir}
14475 if test ! -d ${aros_tools_dir} ; then
14476 ${MKDIR} ${aros_tools_dir}
14478 if test ! -d ${aros_scripts_dir} ; then
14479 ${MKDIR} ${aros_scripts_dir}
14482 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14485 ac_config_commands
="$ac_config_commands compiler_executable"
14487 ac_config_commands
="$ac_config_commands genmf_executable"
14490 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"
14493 cat >confcache
<<\_ACEOF
14494 # This file is a shell script that caches the results of configure
14495 # tests run on this system so they can be shared between configure
14496 # scripts and configure runs, see configure's option --config-cache.
14497 # It is not useful on other systems. If it contains results you don't
14498 # want to keep, you may remove or edit it.
14500 # config.status only pays attention to the cache file if you give it
14501 # the --recheck option to rerun configure.
14503 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14504 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14505 # following values.
14509 # The following way of writing the cache mishandles newlines in values,
14510 # but we know of no workaround that is simple, portable, and efficient.
14511 # So, we kill variables containing newlines.
14512 # Ultrix sh set writes to stderr and can't be redirected directly,
14513 # and sets the high bit in the cache file unless we assign to the vars.
14515 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14516 eval ac_val
=\$
$ac_var
14520 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14521 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14524 _ | IFS | as_nl
) ;; #(
14525 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14526 *) { eval $ac_var=; unset $ac_var;} ;;
14532 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14533 *${as_nl}ac_space
=\
*)
14534 # `set' does not quote correctly, so add quotes: double-quote
14535 # substitution turns \\\\ into \\, and sed turns \\ into \.
14538 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14541 # `set' quotes correctly as required by POSIX, so do not add quotes.
14542 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14551 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14553 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14555 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14556 if test -w "$cache_file"; then
14557 if test "x$cache_file" != "x/dev/null"; then
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14559 $as_echo "$as_me: updating cache $cache_file" >&6;}
14560 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14561 cat confcache
>"$cache_file"
14563 case $cache_file in #(
14565 mv -f confcache
"$cache_file"$$
&&
14566 mv -f "$cache_file"$$
"$cache_file" ;; #(
14568 mv -f confcache
"$cache_file" ;;
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14574 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14579 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14580 # Let make expand exec_prefix.
14581 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14583 DEFS
=-DHAVE_CONFIG_H
14588 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14589 # 1. Remove the extension, and $U if already installed.
14590 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14591 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14592 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14593 # will be set to the directory where LIBOBJS objects are built.
14594 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14595 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14597 LIBOBJS
=$ac_libobjs
14599 LTLIBOBJS
=$ac_ltlibobjs
14603 : "${CONFIG_STATUS=./config.status}"
14605 ac_clean_files_save
=$ac_clean_files
14606 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14608 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14610 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14612 # Generated by $as_me.
14613 # Run this file to recreate the current configuration.
14614 # Compiler output produced by configure, useful for debugging
14615 # configure, is in config.log if it exists.
14618 ac_cs_recheck=false
14621 SHELL=\${CONFIG_SHELL-$SHELL}
14624 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14625 ## -------------------- ##
14626 ## M4sh Initialization. ##
14627 ## -------------------- ##
14629 # Be more Bourne compatible
14630 DUALCASE
=1; export DUALCASE
# for MKS sh
14631 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14634 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14635 # is contrary to our usage. Disable this feature.
14636 alias -g '${1+"$@"}'='"$@"'
14637 setopt NO_GLOB_SUBST
14639 case `(set -o) 2>/dev/null` in #(
14651 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14652 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14653 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14654 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14655 # Prefer a ksh shell builtin over an external printf program on Solaris,
14656 # but without wasting forks for bash or zsh.
14657 if test -z "$BASH_VERSION$ZSH_VERSION" \
14658 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14659 as_echo='print
-r --'
14660 as_echo_n='print
-rn --'
14661 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14662 as_echo='printf %s
\n'
14663 as_echo_n='printf %s
'
14665 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14666 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14667 as_echo_n='/usr
/ucb
/echo -n'
14669 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14670 as_echo_n_body='eval
14674 expr "X$arg" : "X\\(.*\\)$as_nl";
14675 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14677 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14679 export as_echo_n_body
14680 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14682 export as_echo_body
14683 as_echo='sh
-c $as_echo_body as_echo
'
14686 # The user is always right.
14687 if test "${PATH_SEPARATOR+set}" != set; then
14689 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14690 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14697 # We need space, tab and new line, in precisely that order. Quoting is
14698 # there to prevent editors from complaining about space-tab.
14699 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14700 # splitting by setting IFS to empty value.)
14703 # Find who we are. Look in the path if we contain no directory separator.
14706 *[\\/]* ) as_myself=$0 ;;
14707 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14708 for as_dir in $PATH
14711 test -z "$as_dir" && as_dir=.
14712 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14718 # We did not find ourselves, most probably we were run as `sh COMMAND'
14719 # in which case we are not to be found in the path.
14720 if test "x$as_myself" = x
; then
14723 if test ! -f "$as_myself"; then
14724 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14728 # Unset variables that we do not need and which cause bugs (e.g. in
14729 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14730 # suppresses any "Segmentation fault" message there. '((' could
14731 # trigger a bug in pdksh 5.2.14.
14732 for as_var
in BASH_ENV ENV MAIL MAILPATH
14733 do eval test x\
${$as_var+set} = xset \
14734 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14747 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14750 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14751 # ----------------------------------------
14752 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14753 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14754 # script with STATUS, using 1 if that was 0.
14757 as_status
=$1; test $as_status -eq 0 && as_status
=1
14759 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14760 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14762 $as_echo "$as_me: error: $2" >&2
14763 as_fn_exit
$as_status
14767 # as_fn_set_status STATUS
14768 # -----------------------
14769 # Set $? to STATUS, without forking.
14770 as_fn_set_status
()
14773 } # as_fn_set_status
14775 # as_fn_exit STATUS
14776 # -----------------
14777 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14781 as_fn_set_status
$1
14787 # Portably unset VAR.
14790 { eval $1=; unset $1;}
14792 as_unset
=as_fn_unset
14793 # as_fn_append VAR VALUE
14794 # ----------------------
14795 # Append the text in VALUE to the end of the definition contained in VAR. Take
14796 # advantage of any shell optimizations that allow amortized linear growth over
14797 # repeated appends, instead of the typical quadratic growth present in naive
14799 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14800 eval 'as_fn_append ()
14811 # as_fn_arith ARG...
14812 # ------------------
14813 # Perform arithmetic evaluation on the ARGs, and store the result in the
14814 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14815 # must be portable across $(()) and expr.
14816 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14817 eval 'as_fn_arith ()
14824 as_val
=`expr "$@" || test $? -eq 1`
14829 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14830 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14836 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14837 as_basename
=basename
14842 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14848 as_me
=`$as_basename -- "$0" ||
14849 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14850 X"$0" : 'X\(//\)$' \| \
14851 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14853 sed '/^.*\/\([^/][^/]*\)\/*$/{
14867 # Avoid depending upon Character Ranges.
14868 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14869 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14870 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14871 as_cr_digits
='0123456789'
14872 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14874 ECHO_C
= ECHO_N
= ECHO_T
=
14875 case `echo -n x` in #(((((
14877 case `echo 'xy\c'` in
14878 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14880 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14887 rm -f conf$$ conf$$.exe conf$$.
file
14888 if test -d conf$$.dir
; then
14889 rm -f conf$$.dir
/conf$$.
file
14892 mkdir conf$$.dir
2>/dev
/null
14894 if (echo >conf$$.
file) 2>/dev
/null
; then
14895 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14897 # ... but there are two gotchas:
14898 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14899 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14900 # In both cases, we have to default to `cp -p'.
14901 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14903 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14911 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14912 rmdir conf$$.dir
2>/dev
/null
14917 # Create "$as_dir" as a directory, including parents if necessary.
14922 -*) as_dir
=.
/$as_dir;;
14924 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14928 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14929 *) as_qdir
=$as_dir;;
14931 as_dirs
="'$as_qdir' $as_dirs"
14932 as_dir
=`$as_dirname -- "$as_dir" ||
14933 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14934 X"$as_dir" : 'X\(//\)[^/]' \| \
14935 X"$as_dir" : 'X\(//\)$' \| \
14936 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14937 $as_echo X"$as_dir" |
14938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14942 /^X\(\/\/\)[^/].*/{
14955 test -d "$as_dir" && break
14957 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14958 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14962 if mkdir
-p .
2>/dev
/null
; then
14963 as_mkdir_p
='mkdir -p "$as_dir"'
14965 test -d .
/-p && rmdir .
/-p
14969 if test -x / >/dev
/null
2>&1; then
14970 as_test_x
='test -x'
14972 if ls -dL / >/dev
/null
2>&1; then
14979 if test -d "$1"; then
14985 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14986 ???[sx]*):;;*)false;;esac;fi
14990 as_executable_p
=$as_test_x
14992 # Sed expression to map a string onto a valid CPP name.
14993 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14995 # Sed expression to map a string onto a valid variable name.
14996 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15000 ## ----------------------------------- ##
15001 ## Main body of $CONFIG_STATUS script. ##
15002 ## ----------------------------------- ##
15004 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15007 # Save the log message, to keep $0 and so on meaningful, and to
15008 # report actual input values of CONFIG_FILES etc. instead of their
15009 # values after options handling.
15011 This file was extended by $as_me, which was
15012 generated by GNU Autoconf 2.68. Invocation command line was
15014 CONFIG_FILES = $CONFIG_FILES
15015 CONFIG_HEADERS = $CONFIG_HEADERS
15016 CONFIG_LINKS = $CONFIG_LINKS
15017 CONFIG_COMMANDS = $CONFIG_COMMANDS
15020 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15025 case $ac_config_files in *"
15026 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15029 case $ac_config_headers in *"
15030 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15035 # Files that config.status was made for.
15036 config_files="$ac_config_files"
15037 config_headers="$ac_config_headers"
15038 config_commands="$ac_config_commands"
15042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15044 \`$as_me' instantiates files and other configuration actions
15045 from templates according to the current configuration. Unless the files
15046 and actions are specified as TAGs, all are instantiated by default.
15048 Usage: $0 [OPTION]... [TAG]...
15050 -h, --help print this help, then exit
15051 -V, --version print version number and configuration settings, then exit
15052 --config print configuration, then exit
15053 -q, --quiet, --silent
15054 do not print progress messages
15055 -d, --debug don't remove temporary files
15056 --recheck update $as_me by reconfiguring in the same conditions
15057 --file=FILE[:TEMPLATE]
15058 instantiate the configuration file FILE
15059 --header=FILE[:TEMPLATE]
15060 instantiate the configuration header FILE
15062 Configuration files:
15065 Configuration headers:
15068 Configuration commands:
15071 Report bugs to the package provider."
15074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15075 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15078 configured by $0, generated by GNU Autoconf 2.68,
15079 with options \\"\$ac_cs_config\\"
15081 Copyright (C) 2010 Free Software Foundation, Inc.
15082 This config.status script is free software; the Free Software Foundation
15083 gives unlimited permission to copy, distribute and modify it."
15087 test -n "\$AWK" || AWK=awk
15090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15091 # The default lists apply if the user does not specify any file.
15097 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15098 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15102 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15114 # Handling of the options.
15115 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15117 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15118 $as_echo "$ac_cs_version"; exit ;;
15119 --config |
--confi |
--conf |
--con |
--co |
--c )
15120 $as_echo "$ac_cs_config"; exit ;;
15121 --debug |
--debu |
--deb |
--de |
--d |
-d )
15123 --file |
--fil |
--fi |
--f )
15126 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15127 '') as_fn_error $?
"missing file argument" ;;
15129 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15130 ac_need_defaults
=false
;;
15131 --header |
--heade |
--head |
--hea )
15134 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15136 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15137 ac_need_defaults
=false
;;
15139 # Conflict between --help and --header
15140 as_fn_error $?
"ambiguous option: \`$1'
15141 Try \`$0 --help' for more information.";;
15142 --help |
--hel |
-h )
15143 $as_echo "$ac_cs_usage"; exit ;;
15144 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15145 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15148 # This is an error.
15149 -*) as_fn_error $?
"unrecognized option: \`$1'
15150 Try \`$0 --help' for more information." ;;
15152 *) as_fn_append ac_config_targets
" $1"
15153 ac_need_defaults
=false
;;
15159 ac_configure_extra_args
=
15161 if $ac_cs_silent; then
15163 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15168 if \$ac_cs_recheck; then
15169 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15171 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15172 CONFIG_SHELL='$SHELL'
15173 export CONFIG_SHELL
15178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15182 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15183 ## Running $as_me. ##
15189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15194 aros_host_exe_suffix=${aros_host_exe_suffix}
15195 aros_tools_dir=${aros_tools_dir}
15196 aros_target_cpu=${aros_target_cpu}
15197 aros_target_arch=${aros_target_arch}
15198 aros_target_suffix=${aros_target_suffix}
15199 orig_target_nm=${orig_target_nm}
15200 orig_target_as=${orig_target_as}
15201 orig_target_ar=${orig_target_ar}
15202 orig_target_ranlib=${orig_target_ranlib}
15203 orig_target_objdump=${orig_target_objdump}
15204 orig_target_objcopy=${orig_target_objcopy}
15205 orig_target_strip=${orig_target_strip}
15206 aros_kernel_ld=${aros_kernel_ld}
15209 aros_tools_dir=${aros_tools_dir}
15214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15216 # Handling of arguments.
15217 for ac_config_target
in $ac_config_targets
15219 case $ac_config_target in
15220 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15221 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15222 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15223 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15224 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15225 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15226 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15227 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15228 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15229 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15230 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15231 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15232 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15233 "${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" ;;
15234 "${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" ;;
15235 "${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" ;;
15236 "${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" ;;
15237 "${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" ;;
15238 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15239 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15240 "${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" ;;
15242 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15247 # If the user did not use the arguments to specify the items to instantiate,
15248 # then the envvar interface is used. Set only those that are not.
15249 # We use the long form for the default assignment because of an extremely
15250 # bizarre bug on SunOS 4.1.3.
15251 if $ac_need_defaults; then
15252 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15253 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15254 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15257 # Have a temporary directory for convenience. Make it in the build tree
15258 # simply because there is no reason against having it here, and in addition,
15259 # creating and moving files from /tmp can sometimes cause problems.
15260 # Hook for its removal unless debugging.
15261 # Note that there is a small window in which the directory will not be cleaned:
15262 # after its creation but before its name has been assigned to `$tmp'.
15266 trap 'exit_status=$?
15267 : "${ac_tmp:=$tmp}"
15268 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15270 trap 'as_fn_exit 1' 1 2 13 15
15272 # Create a (secure) tmp directory for tmp files.
15275 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15279 tmp
=.
/conf$$
-$RANDOM
15280 (umask 077 && mkdir
"$tmp")
15281 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15284 # Set up the scripts for CONFIG_FILES section.
15285 # No need to generate them if there are no CONFIG_FILES.
15286 # This happens for instance with `./config.status config.h'.
15287 if test -n "$CONFIG_FILES"; then
15290 ac_cr
=`echo X | tr X '\015'`
15291 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15292 # But we know of no other shell where ac_cr would be empty at this
15293 # point, so we can use a bashism as a fallback.
15294 if test "x$ac_cr" = x
; then
15295 eval ac_cr
=\$
\'\\r
\'
15297 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15298 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15301 ac_cs_awk_cr
=$ac_cr
15304 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15309 echo "cat >conf$$subs.awk <<_ACEOF" &&
15310 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15312 } >conf$$subs.sh ||
15313 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15314 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15316 for ac_last_try in false false false false false :; do
15317 . ./conf$$subs.sh ||
15318 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15320 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15321 if test $ac_delim_n = $ac_delim_num; then
15323 elif $ac_last_try; then
15324 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15326 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15329 rm -f conf$$subs.sh
15331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15332 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15336 s/^/S["/; s
/!.
*/"]=/
15346 s/\(.\{148\}\)..*/\1/
15348 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15353 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15360 s/\(.\{148\}\)..*/\1/
15362 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15366 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15371 ' <conf$$subs.awk | sed '
15376 ' >>$CONFIG_STATUS || ac_write_fail=1
15377 rm -f conf$$subs.awk
15378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15380 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15381 for (key in S) S_is_set[key] = 1
15387 nfields = split(line, field, "@
")
15389 len = length(field[1])
15390 for (i = 2; i < nfields; i++) {
15392 keylen = length(key)
15393 if (S_is_set[key]) {
15395 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15396 len += length(value) + length(field[++i])
15407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15408 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15409 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15412 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15413 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15416 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15417 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15418 # trailing colons and then remove the whole line if VPATH becomes empty
15419 # (actually we leave an empty line to preserve line numbers).
15420 if test "x
$srcdir" = x.; then
15421 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15440 fi # test -n "$CONFIG_FILES"
15442 # Set up the scripts for CONFIG_HEADERS section.
15443 # No need to generate them if there are no CONFIG_HEADERS.
15444 # This happens for instance with `./config.status Makefile'.
15445 if test -n "$CONFIG_HEADERS"; then
15446 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15450 # Transform confdefs.h into an awk script `defines.awk', embedded as
15451 # here-document in config.status, that substitutes the proper values into
15452 # config.h.in to produce config.h.
15454 # Create a delimiter string that does not exist in confdefs.h, to ease
15455 # handling of long lines.
15457 for ac_last_try in false false :; do
15458 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15459 if test -z "$ac_tt"; then
15461 elif $ac_last_try; then
15462 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15464 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15468 # For the awk script, D is an array of macro values keyed by name,
15469 # likewise P contains macro parameters if any. Preserve backslash
15470 # newline sequences.
15472 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15474 s/.\{148\}/&'"$ac_delim"'/g
15477 s/^[ ]*#[ ]*define[ ][ ]*/ /
15484 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15486 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15490 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15491 D["\
1"]=" \
3\\\\\\n
"\\/p
15493 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15498 s/.\{148\}/&'"$ac_delim"'/g
15503 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15506 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15508 ' <confdefs.h | sed '
15509 s/'"$ac_delim"'/"\\\
15510 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15513 for (key in D) D_is_set[key] = 1
15516 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15518 split(line, arg, " ")
15519 if (arg[1] == "#") {
15523 defundef
= substr
(arg
[1], 2)
15526 split(mac1
, mac2
, "(") #)
15528 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15529 if (D_is_set
[macro
]) {
15530 # Preserve the white space surrounding the "#".
15531 print prefix
"define", macro P
[macro
] D
[macro
]
15534 # Replace #undef with comments. This is necessary, for example,
15535 # in the case of _POSIX_SOURCE, which is predefined and required
15536 # on some systems where configure will not decide to define it.
15537 if (defundef
== "undef") {
15538 print
"/*", prefix defundef
, macro
, "*/"
15546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15547 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15548 fi # test -n "$CONFIG_HEADERS"
15551 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15556 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15558 case $ac_mode$ac_tag in
15560 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15561 :[FH
]-) ac_tag
=-:-;;
15562 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15579 -) ac_f
="$ac_tmp/stdin";;
15580 *) # Look for the file first in the build tree, then in the source tree
15581 # (if the path is not absolute). The absolute path cannot be DOS-style,
15582 # because $ac_f cannot contain `:'.
15586 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15588 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15590 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15591 as_fn_append ac_file_inputs
" '$ac_f'"
15594 # Let's still pretend it is `configure' which instantiates (i.e., don't
15595 # use $as_me), people would be surprised to read:
15596 # /* config.h. Generated by config.status. */
15597 configure_input
='Generated from '`
15598 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15600 if test x
"$ac_file" != x-
; then
15601 configure_input
="$ac_file. $configure_input"
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15603 $as_echo "$as_me: creating $ac_file" >&6;}
15605 # Neutralize special characters interpreted by sed in replacement strings.
15606 case $configure_input in #(
15607 *\
&* |
*\|
* |
*\\* )
15608 ac_sed_conf_input
=`$as_echo "$configure_input" |
15609 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15610 *) ac_sed_conf_input
=$configure_input;;
15614 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15615 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15620 ac_dir
=`$as_dirname -- "$ac_file" ||
15621 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15622 X"$ac_file" : 'X\(//\)[^/]' \| \
15623 X"$ac_file" : 'X\(//\)$' \| \
15624 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15625 $as_echo X"$ac_file" |
15626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15630 /^X\(\/\/\)[^/].*/{
15643 as_dir
="$ac_dir"; as_fn_mkdir_p
15647 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15649 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15650 # A ".." for each directory in $ac_dir_suffix.
15651 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15652 case $ac_top_builddir_sub in
15653 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15654 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15657 ac_abs_top_builddir
=$ac_pwd
15658 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15659 # for backward compatibility:
15660 ac_top_builddir
=$ac_top_build_prefix
15663 .
) # We are building in place.
15665 ac_top_srcdir
=$ac_top_builddir_sub
15666 ac_abs_top_srcdir
=$ac_pwd ;;
15667 [\\/]* | ?
:[\\/]* ) # Absolute name.
15668 ac_srcdir
=$srcdir$ac_dir_suffix;
15669 ac_top_srcdir
=$srcdir
15670 ac_abs_top_srcdir
=$srcdir ;;
15671 *) # Relative name.
15672 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15673 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15674 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15676 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15688 # If the template does not know about datarootdir, expand it.
15689 # FIXME: This hack should be removed a few years after 2.60.
15690 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15701 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15702 *datarootdir
*) ac_datarootdir_seen
=yes;;
15703 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15705 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15708 ac_datarootdir_hack='
15709 s&@datadir@&$datadir&g
15710 s&@docdir@&$docdir&g
15711 s&@infodir@&$infodir&g
15712 s&@localedir@&$localedir&g
15713 s&@mandir@&$mandir&g
15714 s&\\\${datarootdir}&$datarootdir&g' ;;
15718 # Neutralize VPATH when `$srcdir' = `.'.
15719 # Shell code in configure.ac might set extrasub.
15720 # FIXME: do we really want to maintain this feature?
15721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15722 ac_sed_extra="$ac_vpsub
15725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15727 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15728 s|@configure_input@|
$ac_sed_conf_input|
;t t
15729 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15730 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15731 s
&@srcdir@
&$ac_srcdir&;t t
15732 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15733 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15734 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15735 s
&@builddir@
&$ac_builddir&;t t
15736 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15737 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15738 $ac_datarootdir_hack
15740 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15741 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15743 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15744 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15745 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15746 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15748 which seems to be undefined. Please make sure it is defined" >&5
15749 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15750 which seems to be undefined. Please make sure it is defined" >&2;}
15752 rm -f "$ac_tmp/stdin"
15754 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15755 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15757 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15763 if test x"$ac_file" != x-; then
15765 $as_echo "/* $configure_input */" \
15766 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15767 } >"$ac_tmp/config.h" \
15768 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15769 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15771 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15774 mv "$ac_tmp/config.h" "$ac_file" \
15775 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15778 $as_echo "/* $configure_input */" \
15779 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15780 || as_fn_error $? "could not create -" "$LINENO" 5
15784 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15785 $as_echo "$as_me: executing $ac_file commands" >&6;}
15790 case $ac_file$ac_mode in
15791 "compiler_executable":C)
15792 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15794 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15795 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15799 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15801 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15802 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15803 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15804 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15805 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15806 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15807 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15809 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15811 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15819 ac_clean_files=$ac_clean_files_save
15821 test $ac_write_fail = 0 ||
15822 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15825 # configure is writing to config.log, and then calls config.status.
15826 # config.status does its own redirection, appending to config.log.
15827 # Unfortunately, on DOS this fails, as config.log is still kept open
15828 # by configure, so config.status won't be able to
write to it
; its
15829 # output is simply discarded. So we exec the FD to /dev/null,
15830 # effectively closing config.log, so it can be properly (re)opened and
15831 # appended to by config.status. When coming back to configure, we
15832 # need to make the FD available again.
15833 if test "$no_create" != yes; then
15835 ac_config_status_args
=
15836 test "$silent" = yes &&
15837 ac_config_status_args
="$ac_config_status_args --quiet"
15839 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15841 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15842 # would make configure fail if this is the last instruction.
15843 $ac_cs_success || as_fn_exit
1
15845 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15847 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15852 #XXX compatability...
15853 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15855 if test -n "$aros_shared_cflags" ; then
15856 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15857 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg