2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev
/null
; then :
181 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
186 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir
=.
193 for as_base
in sh bash ksh sh5
; do
194 # Try only shells that exist, to save several forks.
195 as_shell
=$as_dir/$as_base
196 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
198 CONFIG_SHELL
=$as_shell as_have_required
=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
207 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
209 CONFIG_SHELL
=$SHELL as_have_required
=yes
214 if test "x$CONFIG_SHELL" != x
; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
224 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status
=$1; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 ac_default_prefix
=/usr
/local
550 ac_config_libobj_dir
=.
557 # Identity of this package.
565 ac_unique_file
="mmakefile"
566 # Factoring default headers for most tests.
567 ac_includes_default
="\
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
579 # ifdef HAVE_STDLIB_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
603 ac_subst_vars
='LTLIBOBJS
605 ignore_undefined_symbols
622 gcc_default_float_abi
624 aros_nesting_supervisor
629 aros_host_x11_libdirs
630 aros_host_x11_includes
634 aros_default_wbheight
640 aros_cflags_format_security
641 aros_cflags_strict_overflow
642 aros_cflags_enum_compare
643 aros_cflags_array_bounds
644 aros_cflags_unused_but_set_variable
645 crosstools_cxx_target
647 aros_target_strip_flags
654 aros_kernel_objcflags
673 aros_target_cc_includes
688 aros_target_bootloader
708 aros_amigaos_compliance
714 aros_target_toolchain
723 aros_cflags_iquote_end
725 kernel_cflags_iquote_end
727 host_cflags_iquote_end
729 aros_target_nostdlib_ldflags
730 aros_target_detach_ldflags
731 aros_target_nix_ldflags
732 aros_target_nostartup_ldflags
733 aros_target_nostdinc_cflags
850 program_transform_name
863 enable_option_checking
871 enable_target_variant
877 enable_amigaos_compliance
878 with_kernel_toolchain_prefix
879 with_elf_toolchain_prefix
882 with_aros_toolchain_install
894 enable_palm_debug_hack
895 enable_nesting_supervisor
907 ac_precious_vars
='build_alias
923 # Initialize some variables set by options.
925 ac_init_version
=false
926 ac_unrecognized_opts
=
928 # The variables have the same names as the options, with
929 # dashes changed to underlines.
937 program_transform_name
=s
,x
,x
,
945 # Installation directory options.
946 # These are left unexpanded so users can "make install exec_prefix=/foo"
947 # and all the variables that are supposed to be based on exec_prefix
948 # by default will actually change.
949 # Use braces instead of parens because sh, perl, etc. also accept them.
950 # (The list follows the same order as the GNU Coding Standards.)
951 bindir
='${exec_prefix}/bin'
952 sbindir
='${exec_prefix}/sbin'
953 libexecdir
='${exec_prefix}/libexec'
954 datarootdir
='${prefix}/share'
955 datadir
='${datarootdir}'
956 sysconfdir
='${prefix}/etc'
957 sharedstatedir
='${prefix}/com'
958 localstatedir
='${prefix}/var'
959 includedir
='${prefix}/include'
960 oldincludedir
='/usr/include'
961 docdir
='${datarootdir}/doc/${PACKAGE}'
962 infodir
='${datarootdir}/info'
967 libdir
='${exec_prefix}/lib'
968 localedir
='${datarootdir}/locale'
969 mandir
='${datarootdir}/man'
975 # If the previous option needs an argument, assign it.
976 if test -n "$ac_prev"; then
977 eval $ac_prev=\
$ac_option
983 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
988 # Accept the important Cygnus configure options, so we can diagnose typos.
990 case $ac_dashdash$ac_option in
994 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
996 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
999 -build |
--build |
--buil |
--bui |
--bu)
1000 ac_prev
=build_alias
;;
1001 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1002 build_alias
=$ac_optarg ;;
1004 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1005 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1006 ac_prev
=cache_file
;;
1007 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1008 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1009 cache_file
=$ac_optarg ;;
1011 --config-cache |
-C)
1012 cache_file
=config.cache
;;
1014 -datadir |
--datadir |
--datadi |
--datad)
1016 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1017 datadir
=$ac_optarg ;;
1019 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1020 |
--dataroo |
--dataro |
--datar)
1021 ac_prev
=datarootdir
;;
1022 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1023 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1024 datarootdir
=$ac_optarg ;;
1026 -disable-* |
--disable-*)
1027 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1030 as_fn_error $?
"invalid feature name: $ac_useropt"
1031 ac_useropt_orig
=$ac_useropt
1032 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1035 "enable_
$ac_useropt"
1037 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1038 ac_unrecognized_sep
=', ';;
1040 eval enable_
$ac_useropt=no
;;
1042 -docdir |
--docdir |
--docdi |
--doc |
--do)
1044 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1045 docdir
=$ac_optarg ;;
1047 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1049 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1050 dvidir
=$ac_optarg ;;
1052 -enable-* |
--enable-*)
1053 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1056 as_fn_error $?
"invalid feature name: $ac_useropt"
1057 ac_useropt_orig
=$ac_useropt
1058 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1061 "enable_
$ac_useropt"
1063 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1064 ac_unrecognized_sep
=', ';;
1066 eval enable_
$ac_useropt=\
$ac_optarg ;;
1068 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1069 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1070 |
--exec |
--exe |
--ex)
1071 ac_prev
=exec_prefix
;;
1072 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1073 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1074 |
--exec=* |
--exe=* |
--ex=*)
1075 exec_prefix
=$ac_optarg ;;
1077 -gas |
--gas |
--ga |
--g)
1078 # Obsolete; use --with-gas.
1081 -help |
--help |
--hel |
--he |
-h)
1082 ac_init_help
=long
;;
1083 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1084 ac_init_help
=recursive
;;
1085 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1086 ac_init_help
=short
;;
1088 -host |
--host |
--hos |
--ho)
1089 ac_prev
=host_alias
;;
1090 -host=* |
--host=* |
--hos=* |
--ho=*)
1091 host_alias
=$ac_optarg ;;
1093 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1095 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1097 htmldir
=$ac_optarg ;;
1099 -includedir |
--includedir |
--includedi |
--included |
--include \
1100 |
--includ |
--inclu |
--incl |
--inc)
1101 ac_prev
=includedir
;;
1102 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1103 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1104 includedir
=$ac_optarg ;;
1106 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1108 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1109 infodir
=$ac_optarg ;;
1111 -libdir |
--libdir |
--libdi |
--libd)
1113 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1114 libdir
=$ac_optarg ;;
1116 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1117 |
--libexe |
--libex |
--libe)
1118 ac_prev
=libexecdir
;;
1119 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1120 |
--libexe=* |
--libex=* |
--libe=*)
1121 libexecdir
=$ac_optarg ;;
1123 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1124 ac_prev
=localedir
;;
1125 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1126 localedir
=$ac_optarg ;;
1128 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1129 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1130 ac_prev
=localstatedir
;;
1131 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1132 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1133 localstatedir
=$ac_optarg ;;
1135 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1137 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1138 mandir
=$ac_optarg ;;
1140 -nfp |
--nfp |
--nf)
1141 # Obsolete; use --without-fp.
1144 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1145 |
--no-cr |
--no-c |
-n)
1148 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1149 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1152 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1153 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1154 |
--oldin |
--oldi |
--old |
--ol |
--o)
1155 ac_prev
=oldincludedir
;;
1156 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1157 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1158 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1159 oldincludedir
=$ac_optarg ;;
1161 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1163 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1164 prefix
=$ac_optarg ;;
1166 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1167 |
--program-pre |
--program-pr |
--program-p)
1168 ac_prev
=program_prefix
;;
1169 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1170 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1171 program_prefix
=$ac_optarg ;;
1173 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1174 |
--program-suf |
--program-su |
--program-s)
1175 ac_prev
=program_suffix
;;
1176 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1177 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1178 program_suffix
=$ac_optarg ;;
1180 -program-transform-name |
--program-transform-name \
1181 |
--program-transform-nam |
--program-transform-na \
1182 |
--program-transform-n |
--program-transform- \
1183 |
--program-transform |
--program-transfor \
1184 |
--program-transfo |
--program-transf \
1185 |
--program-trans |
--program-tran \
1186 |
--progr-tra |
--program-tr |
--program-t)
1187 ac_prev
=program_transform_name
;;
1188 -program-transform-name=* |
--program-transform-name=* \
1189 |
--program-transform-nam=* |
--program-transform-na=* \
1190 |
--program-transform-n=* |
--program-transform-=* \
1191 |
--program-transform=* |
--program-transfor=* \
1192 |
--program-transfo=* |
--program-transf=* \
1193 |
--program-trans=* |
--program-tran=* \
1194 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1195 program_transform_name
=$ac_optarg ;;
1197 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1199 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1200 pdfdir
=$ac_optarg ;;
1202 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1204 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1207 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1208 |
-silent |
--silent |
--silen |
--sile |
--sil)
1211 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1213 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1215 sbindir
=$ac_optarg ;;
1217 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1218 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1219 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1221 ac_prev
=sharedstatedir
;;
1222 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1223 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1224 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1226 sharedstatedir
=$ac_optarg ;;
1228 -site |
--site |
--sit)
1230 -site=* |
--site=* |
--sit=*)
1233 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1235 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1236 srcdir
=$ac_optarg ;;
1238 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1239 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1240 ac_prev
=sysconfdir
;;
1241 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1242 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1243 sysconfdir
=$ac_optarg ;;
1245 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1246 ac_prev
=target_alias
;;
1247 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1248 target_alias
=$ac_optarg ;;
1250 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1253 -version |
--version |
--versio |
--versi |
--vers |
-V)
1254 ac_init_version
=: ;;
1257 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1258 # Reject names that are not valid shell variable names.
1259 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1260 as_fn_error $?
"invalid package name: $ac_useropt"
1261 ac_useropt_orig
=$ac_useropt
1262 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1263 case $ac_user_opts in
1267 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1268 ac_unrecognized_sep
=', ';;
1270 eval with_
$ac_useropt=\
$ac_optarg ;;
1272 -without-* |
--without-*)
1273 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1274 # Reject names that are not valid shell variable names.
1275 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1276 as_fn_error $?
"invalid package name: $ac_useropt"
1277 ac_useropt_orig
=$ac_useropt
1278 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1279 case $ac_user_opts in
1283 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1284 ac_unrecognized_sep
=', ';;
1286 eval with_
$ac_useropt=no
;;
1289 # Obsolete; use --with-x.
1292 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1293 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1294 ac_prev
=x_includes
;;
1295 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1296 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1297 x_includes
=$ac_optarg ;;
1299 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1300 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1301 ac_prev
=x_libraries
;;
1302 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1303 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1304 x_libraries
=$ac_optarg ;;
1306 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1307 Try \`$0 --help' for more information"
1311 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1312 # Reject names that are not valid shell variable names.
1313 case $ac_envvar in #(
1314 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1315 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1317 eval $ac_envvar=\
$ac_optarg
1318 export $ac_envvar ;;
1321 # FIXME: should be removed in autoconf 3.0.
1322 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1323 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1324 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1325 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1331 if test -n "$ac_prev"; then
1332 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1333 as_fn_error $?
"missing argument to $ac_option"
1336 if test -n "$ac_unrecognized_opts"; then
1337 case $enable_option_checking in
1339 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1340 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1344 # Check all directory arguments for consistency.
1345 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1346 datadir sysconfdir sharedstatedir localstatedir includedir \
1347 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1348 libdir localedir mandir
1350 eval ac_val
=\$
$ac_var
1351 # Remove trailing slashes.
1354 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1355 eval $ac_var=\
$ac_val;;
1357 # Be sure to have absolute directory names.
1359 [\\/$
]* | ?
:[\\/]* ) continue;;
1360 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1362 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1365 # There might be people who depend on the old broken behavior: `$host'
1366 # used to hold the argument of --host etc.
1367 # FIXME: To remove some day.
1370 target
=$target_alias
1372 # FIXME: To remove some day.
1373 if test "x$host_alias" != x
; then
1374 if test "x$build_alias" = x
; then
1375 cross_compiling
=maybe
1376 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1377 If a cross compiler is detected then cross compile mode will be used" >&2
1378 elif test "x$build_alias" != "x$host_alias"; then
1384 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1386 test "$silent" = yes && exec 6>/dev
/null
1389 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1390 ac_ls_di
=`ls -di .` &&
1391 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1392 as_fn_error $?
"working directory cannot be determined"
1393 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1394 as_fn_error $?
"pwd does not report name of working directory"
1397 # Find the source files, if location was not specified.
1398 if test -z "$srcdir"; then
1399 ac_srcdir_defaulted
=yes
1400 # Try the directory containing this script, then the parent directory.
1401 ac_confdir
=`$as_dirname -- "$as_myself" ||
1402 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1403 X"$as_myself" : 'X\(//\)[^/]' \| \
1404 X"$as_myself" : 'X\(//\)$' \| \
1405 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1406 $as_echo X"$as_myself" |
1407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1425 if test ! -r "$srcdir/$ac_unique_file"; then
1429 ac_srcdir_defaulted
=no
1431 if test ! -r "$srcdir/$ac_unique_file"; then
1432 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1433 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1435 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1437 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1439 # When building in place, set srcdir=.
1440 if test "$ac_abs_confdir" = "$ac_pwd"; then
1443 # Remove unnecessary trailing slashes from srcdir.
1444 # Double slashes in file names in object file debugging info
1445 # mess up M-x gdb in Emacs.
1447 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1449 for ac_var
in $ac_precious_vars; do
1450 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1451 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1452 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1453 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1457 # Report the --help message.
1459 if test "$ac_init_help" = "long"; then
1460 # Omit some internal or obsolete options to make the list less imposing.
1461 # This message is too long to be a string in the A/UX 3.1 sh.
1463 \`configure' configures this package to adapt to many kinds of systems.
1465 Usage: $0 [OPTION]... [VAR=VALUE]...
1467 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1468 VAR=VALUE. See below for descriptions of some of the useful variables.
1470 Defaults for the options are specified in brackets.
1473 -h, --help display this help and exit
1474 --help=short display options specific to this package
1475 --help=recursive display the short help of all the included packages
1476 -V, --version display version information and exit
1477 -q, --quiet, --silent do not print \`checking ...' messages
1478 --cache-file=FILE cache test results in FILE [disabled]
1479 -C, --config-cache alias for \`--cache-file=config.cache'
1480 -n, --no-create do not create output files
1481 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1483 Installation directories:
1484 --prefix=PREFIX install architecture-independent files in PREFIX
1485 [$ac_default_prefix]
1486 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1489 By default, \`make install' will install all the files in
1490 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1491 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1492 for instance \`--prefix=\$HOME'.
1494 For better control, use the options below.
1496 Fine tuning of the installation directories:
1497 --bindir=DIR user executables [EPREFIX/bin]
1498 --sbindir=DIR system admin executables [EPREFIX/sbin]
1499 --libexecdir=DIR program executables [EPREFIX/libexec]
1500 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1501 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1502 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1503 --libdir=DIR object code libraries [EPREFIX/lib]
1504 --includedir=DIR C header files [PREFIX/include]
1505 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1506 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1507 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1508 --infodir=DIR info documentation [DATAROOTDIR/info]
1509 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1510 --mandir=DIR man documentation [DATAROOTDIR/man]
1511 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1512 --htmldir=DIR html documentation [DOCDIR]
1513 --dvidir=DIR dvi documentation [DOCDIR]
1514 --pdfdir=DIR pdf documentation [DOCDIR]
1515 --psdir=DIR ps documentation [DOCDIR]
1521 --x-includes=DIR X include files are
in DIR
1522 --x-libraries=DIR X library files are
in DIR
1525 --build=BUILD configure
for building on BUILD
[guessed
]
1526 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1530 if test -n "$ac_init_help"; then
1535 --disable-option-checking ignore unrecognized
--enable/--with options
1536 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1537 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1538 --enable-build-type=TYPE
1539 Select the build
type. Available types are
:
1540 personal
, nightly
, snapshot
, milestone
, release. Do
1541 NOT use this option unless you know what you are
1542 doing
! (default
=personal
)
1543 --enable-debug=list Enable different types of debug. Commas or
1544 whitespaces can be used to separate the items
in the
1545 list. Available types of debug are
: all
, none
,
1546 messages
, stack
, mungwall
, modules
, symbols. If no
1547 list is provided
then "all" is assumed.
1549 --enable-distcc Use distcc as a front end to the compiler
1551 --enable-ccache Use ccache as a front end to the compiler
1553 --enable-target-variant=NAME
1554 Enable a specific target variant
(default
=none
)
1555 --enable-amigaos-compliance=VERSION
1556 Enforce userspace AmigaOS compliance to a specific
1557 KickStart version
(default
=none
).
1558 --disable-crosstools Do not build cross-compiler toolchain
1559 --enable-includes=dir Alternative system include directory
1560 --enable-palm-debug-hack
1561 Enable palm debug output hack
in palm native
1563 --enable-nesting-supervisor
1564 Enable nesting supervisor support
in unix
1566 --disable-mmu Disable MMU support
(default
=enabled
)
1567 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1568 --enable-x11-shm use X11 shared memory
(default
=auto
)
1569 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1570 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1571 --disable-sdltest Do not try to compile and run a
test SDL program
1572 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1575 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1576 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1577 --with-kernel-gcc-version=VERSION
1578 Use
host gcc-VERSION
for building AROS
1579 --with-gcc-version=VERSION
1580 Use
host gcc-VERSION
for building AROS
1581 --with-optimization=FLAGS
1582 Use optimization flags FLAGS
(default
=-O2).
1583 --with-paranoia=FLAGS CC flags to
enable paranoia
1584 --with-xcode=PATH Specify XCode path
for iOS targets
1585 (default
=/Developer
).
1586 --with-sdk-version=VERSION
1587 Use iOS SDK version VERSION
(default
=4.1).
1588 --with-sdk=PATH Specify Android SDK path
1589 (default
=$default_android_sdk).
1590 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1591 --with-sdk-version=LEVEL
1592 Use Android SDK
for API LEVEL
(default
=12).
1593 --with-ndk-version=LEVEL
1594 Use Android NDK
for API LEVEL
(default
=9).
1595 --with-kernel-toolchain-prefix=...
1596 Specify crosscompile toolchain prefix
for kernel
1598 --with-elf-toolchain-prefix=...
1599 Specify crosscompile toolchain prefix to wrap
for
1601 --with-aros-toolchain=PREFIX
1602 Specify prebuilt AROS toolchain
1603 --with-aros-toolchain-install=DIR
1604 Where to
install or search
for cross tools binaries
1605 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1606 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1607 --with-float=<spec
> Specify floating point ABI
1608 (default
=$gcc_default_float_abi).
1609 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1610 --with-portssources=DIR Where to download sourcecode
for external ports
1611 --with-bootloader=NAME Use a specific bootloader
1612 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1613 --with-theme=NAME Use a specific GUI Theme
1614 --with-resolution=XRESxYRESxDEPTH
1615 Default resolution of the initial WorkbenchScreen
1616 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1617 --with-x use the X Window System
1618 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1619 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1621 Some influential environment variables
:
1622 CC C compiler
command
1623 CFLAGS C compiler flags
1624 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1625 nonstandard directory
<lib dir
>
1626 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1627 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1628 you have headers
in a nonstandard directory
<include dir
>
1629 CXX C
++ compiler
command
1630 CXXFLAGS C
++ compiler flags
1632 PYTHON the Python interpreter
1633 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1635 Use these variables to override the choices made by
`configure' or to help
1636 it to find libraries and programs with nonstandard names/locations.
1638 Report bugs to the package provider.
1643 if test "$ac_init_help" = "recursive"; then
1644 # If there are subdirs, report their specific --help.
1645 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1646 test -d "$ac_dir" ||
1647 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1652 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1654 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1655 # A ".." for each directory in $ac_dir_suffix.
1656 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1657 case $ac_top_builddir_sub in
1658 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1659 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1662 ac_abs_top_builddir=$ac_pwd
1663 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1664 # for backward compatibility:
1665 ac_top_builddir=$ac_top_build_prefix
1668 .) # We are building in place.
1670 ac_top_srcdir=$ac_top_builddir_sub
1671 ac_abs_top_srcdir=$ac_pwd ;;
1672 [\\/]* | ?:[\\/]* ) # Absolute name.
1673 ac_srcdir=$srcdir$ac_dir_suffix;
1674 ac_top_srcdir=$srcdir
1675 ac_abs_top_srcdir=$srcdir ;;
1677 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1678 ac_top_srcdir=$ac_top_build_prefix$srcdir
1679 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1681 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1683 cd "$ac_dir" || { ac_status=$?; continue; }
1684 # Check for guested configure.
1685 if test -f "$ac_srcdir/configure.gnu"; then
1687 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1688 elif test -f "$ac_srcdir/configure"; then
1690 $SHELL "$ac_srcdir/configure" --help=recursive
1692 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1694 cd "$ac_pwd" || { ac_status=$?; break; }
1698 test -n "$ac_init_help" && exit $ac_status
1699 if $ac_init_version; then
1702 generated by GNU Autoconf 2.68
1704 Copyright (C) 2010 Free Software Foundation, Inc.
1705 This configure script is free software; the Free Software Foundation
1706 gives unlimited permission to copy, distribute and modify it.
1711 ## ------------------------ ##
1712 ## Autoconf initialization. ##
1713 ## ------------------------ ##
1715 # ac_fn_c_try_compile LINENO
1716 # --------------------------
1717 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1718 ac_fn_c_try_compile ()
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 rm -f conftest.$ac_objext
1722 if { { ac_try="$ac_compile"
1724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1725 *) ac_try_echo
=$ac_try;;
1727 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_compile") 2>conftest.err
1731 if test -s conftest.err
; then
1732 grep -v '^ *+' conftest.err
>conftest.er1
1733 cat conftest.er1
>&5
1734 mv -f conftest.er1 conftest.err
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && {
1738 test -z "$ac_c_werror_flag" ||
1739 test ! -s conftest.err
1740 } && test -s conftest.
$ac_objext; then :
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.
$ac_ext >&5
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749 as_fn_set_status
$ac_retval
1751 } # ac_fn_c_try_compile
1753 # ac_fn_cxx_try_compile LINENO
1754 # ----------------------------
1755 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1756 ac_fn_cxx_try_compile
()
1758 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1759 rm -f conftest.
$ac_objext
1760 if { { ac_try
="$ac_compile"
1762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_compile") 2>conftest.err
1769 if test -s conftest.err; then
1770 grep -v '^ *+' conftest.err >conftest.er1
1771 cat conftest.er1 >&5
1772 mv -f conftest.er1 conftest.err
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; } && {
1776 test -z "$ac_cxx_werror_flag" ||
1777 test ! -s conftest.err
1778 } && test -s conftest.$ac_objext; then :
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 as_fn_set_status $ac_retval
1789 } # ac_fn_cxx_try_compile
1791 # ac_fn_c_try_cpp LINENO
1792 # ----------------------
1793 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797 if { { ac_try="$ac_cpp conftest.$ac_ext"
1799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1800 *) ac_try_echo
=$ac_try;;
1802 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1803 $as_echo "$ac_try_echo"; } >&5
1804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1806 if test -s conftest.err
; then
1807 grep -v '^ *+' conftest.err
>conftest.er1
1808 cat conftest.er1
>&5
1809 mv -f conftest.er1 conftest.err
1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1812 test $ac_status = 0; } > conftest.i
&& {
1813 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1814 test ! -s conftest.err
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.
$ac_ext >&5
1823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1824 as_fn_set_status
$ac_retval
1828 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1829 # -------------------------------------------------------
1830 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1831 # the include files in INCLUDES and setting the cache variable VAR
1833 ac_fn_c_check_header_mongrel
()
1835 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1836 if eval \
${$3+:} false
; then :
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1838 $as_echo_n "checking for $2... " >&6; }
1839 if eval \
${$3+:} false
; then :
1840 $as_echo_n "(cached) " >&6
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1844 $as_echo "$ac_res" >&6; }
1846 # Is the header compilable?
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1848 $as_echo_n "checking $2 usability... " >&6; }
1849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1850 /* end confdefs.h. */
1854 if ac_fn_c_try_compile
"$LINENO"; then :
1855 ac_header_compiler
=yes
1857 ac_header_compiler
=no
1859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1861 $as_echo "$ac_header_compiler" >&6; }
1863 # Is the header present?
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1865 $as_echo_n "checking $2 presence... " >&6; }
1866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1867 /* end confdefs.h. */
1870 if ac_fn_c_try_cpp
"$LINENO"; then :
1871 ac_header_preproc
=yes
1873 ac_header_preproc
=no
1875 rm -f conftest.err conftest.i conftest.
$ac_ext
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1877 $as_echo "$ac_header_preproc" >&6; }
1879 # So? What about this header?
1880 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1883 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1885 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1889 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1891 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1893 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1895 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1897 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1901 $as_echo_n "checking for $2... " >&6; }
1902 if eval \
${$3+:} false
; then :
1903 $as_echo_n "(cached) " >&6
1905 eval "$3=\$ac_header_compiler"
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1909 $as_echo "$ac_res" >&6; }
1911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1913 } # ac_fn_c_check_header_mongrel
1915 # ac_fn_c_try_run LINENO
1916 # ----------------------
1917 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1918 # that executables *can* be run.
1921 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1922 if { { ac_try
="$ac_link"
1924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1925 *) ac_try_echo=$ac_try;;
1927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1928 $as_echo "$ac_try_echo"; } >&5
1929 (eval "$ac_link") 2>&5
1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1932 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1933 { { case "(($ac_try" in
1934 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1935 *) ac_try_echo
=$ac_try;;
1937 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1938 $as_echo "$ac_try_echo"; } >&5
1939 (eval "$ac_try") 2>&5
1941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1942 test $ac_status = 0; }; }; then :
1945 $as_echo "$as_me: program exited with status $ac_status" >&5
1946 $as_echo "$as_me: failed program was:" >&5
1947 sed 's/^/| /' conftest.
$ac_ext >&5
1949 ac_retval
=$ac_status
1951 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1953 as_fn_set_status
$ac_retval
1957 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1958 # -------------------------------------------------------
1959 # Tests whether HEADER exists and can be compiled using the include files in
1960 # INCLUDES, setting the cache variable VAR accordingly.
1961 ac_fn_c_check_header_compile
()
1963 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1965 $as_echo_n "checking for $2... " >&6; }
1966 if eval \
${$3+:} false
; then :
1967 $as_echo_n "(cached) " >&6
1969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1974 if ac_fn_c_try_compile
"$LINENO"; then :
1979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983 $as_echo "$ac_res" >&6; }
1984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986 } # ac_fn_c_check_header_compile
1988 # ac_fn_c_try_link LINENO
1989 # -----------------------
1990 # Try to link conftest.$ac_ext, and return whether this succeeded.
1993 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1994 rm -f conftest.
$ac_objext conftest
$ac_exeext
1995 if { { ac_try
="$ac_link"
1997 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1998 *) ac_try_echo=$ac_try;;
2000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2001 $as_echo "$ac_try_echo"; } >&5
2002 (eval "$ac_link") 2>conftest.err
2004 if test -s conftest.err; then
2005 grep -v '^ *+' conftest.err >conftest.er1
2006 cat conftest.er1 >&5
2007 mv -f conftest.er1 conftest.err
2009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2010 test $ac_status = 0; } && {
2011 test -z "$ac_c_werror_flag" ||
2012 test ! -s conftest.err
2013 } && test -s conftest$ac_exeext && {
2014 test "$cross_compiling" = yes ||
2015 $as_test_x conftest$ac_exeext
2019 $as_echo "$as_me: failed program was:" >&5
2020 sed 's/^/| /' conftest.$ac_ext >&5
2024 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2025 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2026 # interfere with the next link command; also delete a directory that is
2027 # left behind by Apple's compiler. We do this before executing the actions.
2028 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2030 as_fn_set_status $ac_retval
2032 } # ac_fn_c_try_link
2034 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2035 # ----------------------------------------------------
2036 # Tries to find if the field MEMBER exists in type AGGR, after including
2037 # INCLUDES, setting cache variable VAR accordingly.
2038 ac_fn_c_check_member ()
2040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2042 $as_echo_n "checking for $2.$3... " >&6; }
2043 if eval \${$4+:} false; then :
2044 $as_echo_n "(cached) " >&6
2046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2047 /* end confdefs.h. */
2059 if ac_fn_c_try_compile "$LINENO"; then :
2062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2063 /* end confdefs.h. */
2069 if (sizeof ac_aggr.$3)
2075 if ac_fn_c_try_compile "$LINENO"; then :
2080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2086 $as_echo "$ac_res" >&6; }
2087 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2089 } # ac_fn_c_check_member
2091 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2092 # ---------------------------------------------
2093 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2095 ac_fn_c_check_decl ()
2097 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2098 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2099 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2101 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2102 if eval \${$3+:} false; then :
2103 $as_echo_n "(cached) " >&6
2105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2106 /* end confdefs.h. */
2111 #ifndef $as_decl_name
2113 (void) $as_decl_use;
2115 (void) $as_decl_name;
2123 if ac_fn_c_try_compile "$LINENO"; then :
2128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2132 $as_echo "$ac_res" >&6; }
2133 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2135 } # ac_fn_c_check_decl
2137 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2138 # -------------------------------------------
2139 # Tests whether TYPE exists after having included INCLUDES, setting cache
2140 # variable VAR accordingly.
2141 ac_fn_c_check_type ()
2143 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2145 $as_echo_n "checking for $2... " >&6; }
2146 if eval \${$3+:} false; then :
2147 $as_echo_n "(cached) " >&6
2150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2151 /* end confdefs.h. */
2162 if ac_fn_c_try_compile "$LINENO"; then :
2163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2164 /* end confdefs.h. */
2175 if ac_fn_c_try_compile "$LINENO"; then :
2180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2189 } # ac_fn_c_check_type
2191 # ac_fn_c_check_func LINENO FUNC VAR
2192 # ----------------------------------
2193 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2194 ac_fn_c_check_func ()
2196 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2198 $as_echo_n "checking for $2... " >&6; }
2199 if eval \${$3+:} false; then :
2200 $as_echo_n "(cached) " >&6
2202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2203 /* end confdefs.h. */
2204 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2206 #define $2 innocuous_$2
2208 /* System header to define __stub macros and hopefully few prototypes,
2209 which can conflict with char $2 (); below.
2210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2211 <limits.h> exists even on freestanding compilers. */
2214 # include <limits.h>
2216 # include <assert.h>
2221 /* Override any GCC internal prototype to avoid an error.
2222 Use char because int might match the return type of a GCC
2223 builtin and then its argument prototype would still apply. */
2228 /* The GNU C library defines this for functions which it implements
2229 to always fail with ENOSYS. Some functions are actually named
2230 something starting with __ and the normal name is an alias. */
2231 #if defined __stub_$2 || defined __stub___$2
2243 if ac_fn_c_try_link "$LINENO"; then :
2248 rm -f core conftest.err conftest.$ac_objext \
2249 conftest$ac_exeext conftest.$ac_ext
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2253 $as_echo "$ac_res" >&6; }
2254 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2256 } # ac_fn_c_check_func
2257 cat >config.log <<_ACEOF
2258 This file contains any messages produced by compilers while
2259 running configure, to aid debugging if configure makes a mistake.
2261 It was created by $as_me, which was
2262 generated by GNU Autoconf 2.68. Invocation command line was
2274 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2275 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2276 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2277 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2278 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2280 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2281 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2283 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2284 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2285 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2286 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2287 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2288 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2289 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2297 test -z "$as_dir" && as_dir=.
2298 $as_echo "PATH: $as_dir"
2314 # Keep a trace of the command line.
2315 # Strip out --no-create and --no-recursion so they do not pile up.
2316 # Strip out --silent because we don't want to record it for future runs.
2317 # Also quote any args containing shell meta-characters.
2318 # Make two passes to allow for proper duplicate-argument suppression.
2322 ac_must_keep_next=false
2328 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2329 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2330 | -silent | --silent | --silen | --sile | --sil)
2333 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2336 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2338 as_fn_append ac_configure_args1 " '$ac_arg'"
2339 if test $ac_must_keep_next = true; then
2340 ac_must_keep_next=false # Got value, back to normal.
2343 *=* | --config-cache | -C | -disable-* | --disable-* \
2344 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2345 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2346 | -with-* | --with-* | -without-* | --without-* | --x)
2347 case "$ac_configure_args0 " in
2348 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2351 -* ) ac_must_keep_next=true ;;
2354 as_fn_append ac_configure_args " '$ac_arg'"
2359 { ac_configure_args0=; unset ac_configure_args0;}
2360 { ac_configure_args1=; unset ac_configure_args1;}
2362 # When interrupted or exit'd, cleanup temporary files, and complete
2363 # config.log. We remove comments because anyway the quotes in there
2364 # would cause problems or look ugly.
2365 # WARNING: Use '\'' to represent an apostrophe within the trap.
2366 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2367 trap 'exit_status=$?
2368 # Save into config.log some information that might help in debugging.
2372 $as_echo "## ---------------- ##
2373 ## Cache variables. ##
2374 ## ---------------- ##"
2376 # The following way of writing the cache mishandles newlines in values,
2378 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2379 eval ac_val=\$$ac_var
2383 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2384 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2387 _ | IFS | as_nl) ;; #(
2388 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2389 *) { eval $ac_var=; unset $ac_var;} ;;
2394 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2395 *${as_nl}ac_space=\ *)
2397 "s/'\''/'\''\\\\'\'''\''/g;
2398 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2401 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2408 $as_echo "## ----------------- ##
2409 ## Output variables. ##
2410 ## ----------------- ##"
2412 for ac_var in $ac_subst_vars
2414 eval ac_val=\$$ac_var
2416 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2418 $as_echo "$ac_var='\''$ac_val'\''"
2422 if test -n "$ac_subst_files"; then
2423 $as_echo "## ------------------- ##
2424 ## File substitutions. ##
2425 ## ------------------- ##"
2427 for ac_var in $ac_subst_files
2429 eval ac_val=\$$ac_var
2431 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2433 $as_echo "$ac_var='\''$ac_val'\''"
2438 if test -s confdefs.h; then
2439 $as_echo "## ----------- ##
2446 test "$ac_signal" != 0 &&
2447 $as_echo "$as_me: caught signal $ac_signal"
2448 $as_echo "$as_me: exit $exit_status"
2450 rm -f core *.core core.conftest.* &&
2451 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2454 for ac_signal in 1 2 13 15; do
2455 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2459 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2460 rm -f -r conftest* confdefs.h
2462 $as_echo "/* confdefs.h */" > confdefs.h
2464 # Predefined preprocessor variables.
2466 cat >>confdefs.h <<_ACEOF
2467 #define PACKAGE_NAME "$PACKAGE_NAME"
2470 cat >>confdefs.h <<_ACEOF
2471 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2474 cat >>confdefs.h <<_ACEOF
2475 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2478 cat >>confdefs.h <<_ACEOF
2479 #define PACKAGE_STRING "$PACKAGE_STRING"
2482 cat >>confdefs.h <<_ACEOF
2483 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2486 cat >>confdefs.h <<_ACEOF
2487 #define PACKAGE_URL "$PACKAGE_URL"
2491 # Let the site file select an alternate cache file if it wants to.
2492 # Prefer an explicitly selected file to automatically selected ones.
2495 if test -n "$CONFIG_SITE"; then
2496 # We do not want a PATH search for config.site.
2497 case $CONFIG_SITE in #((
2498 -*) ac_site_file1=./$CONFIG_SITE;;
2499 */*) ac_site_file1=$CONFIG_SITE;;
2500 *) ac_site_file1=./$CONFIG_SITE;;
2502 elif test "x$prefix" != xNONE; then
2503 ac_site_file1=$prefix/share/config.site
2504 ac_site_file2=$prefix/etc/config.site
2506 ac_site_file1=$ac_default_prefix/share/config.site
2507 ac_site_file2=$ac_default_prefix/etc/config.site
2509 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2511 test "x$ac_site_file" = xNONE && continue
2512 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2514 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2515 sed 's/^/| /' "$ac_site_file" >&5
2517 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2519 as_fn_error $? "failed to load site
script $ac_site_file
2520 See \
`config.log' for more details" "$LINENO" 5; }
2524 if test -r "$cache_file"; then
2525 # Some versions of bash will fail to source /dev/null (special files
2526 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2527 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2529 $as_echo "$as_me: loading cache $cache_file" >&6;}
2531 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2532 *) . "./$cache_file";;
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2537 $as_echo "$as_me: creating cache $cache_file" >&6;}
2541 as_fn_append ac_header_list " stdlib.h"
2542 as_fn_append ac_header_list " unistd.h"
2543 as_fn_append ac_header_list " sys/param.h"
2544 # Check that the precious variables saved in the cache have kept the same
2546 ac_cache_corrupted=false
2547 for ac_var in $ac_precious_vars; do
2548 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2549 eval ac_new_set=\$ac_env_${ac_var}_set
2550 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2551 eval ac_new_val=\$ac_env_${ac_var}_value
2552 case $ac_old_set,$ac_new_set in
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2555 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2556 ac_cache_corrupted=: ;;
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2559 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2560 ac_cache_corrupted=: ;;
2563 if test "x$ac_old_val" != "x$ac_new_val"; then
2564 # differences in whitespace do not lead to failure.
2565 ac_old_val_w=`echo x
$ac_old_val`
2566 ac_new_val_w=`echo x
$ac_new_val`
2567 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2569 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2570 ac_cache_corrupted=:
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2573 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2574 eval $ac_var=\$ac_old_val
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2577 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2579 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2582 # Pass precious variables to config.status.
2583 if test "$ac_new_set" = set; then
2585 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2586 *) ac_arg=$ac_var=$ac_new_val ;;
2588 case " $ac_configure_args " in
2589 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2590 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2594 if $ac_cache_corrupted; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2598 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2599 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2601 ## -------------------- ##
2602 ## Main body of script. ##
2603 ## -------------------- ##
2606 ac_cpp='$CPP $CPPFLAGS'
2607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2614 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2615 if test -f "$ac_dir/install-sh"; then
2617 ac_install_sh="$ac_aux_dir/install-sh -c"
2619 elif test -f "$ac_dir/install.sh"; then
2621 ac_install_sh="$ac_aux_dir/install.sh -c"
2623 elif test -f "$ac_dir/shtool"; then
2625 ac_install_sh="$ac_aux_dir/shtool install -c"
2629 if test -z "$ac_aux_dir"; then
2630 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2633 # These three variables are undocumented and unsupported,
2634 # and are intended to be withdrawn in a future Autoconf release.
2635 # They can cause serious problems if a builder's source tree is in a directory
2636 # whose full name contains unusual characters.
2637 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2638 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2639 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2643 # Check what host we are running on.
2644 # If a target is not suggested, we use this one.
2645 # Note that what we call a target, Autoconf calls a host.
2646 # Make sure we can run config.sub.
2647 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2648 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2651 $as_echo_n "checking build system type... " >&6; }
2652 if ${ac_cv_build+:} false; then :
2653 $as_echo_n "(cached) " >&6
2655 ac_build_alias=$build_alias
2656 test "x$ac_build_alias" = x &&
2657 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2658 test "x$ac_build_alias" = x &&
2659 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2660 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2661 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2665 $as_echo "$ac_cv_build" >&6; }
2666 case $ac_cv_build in
2668 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2671 ac_save_IFS=$IFS; IFS='-'
2677 # Remember, the first character of IFS is used to create $*,
2678 # except with old shells:
2681 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2685 $as_echo_n "checking host system type... " >&6; }
2686 if ${ac_cv_host+:} false; then :
2687 $as_echo_n "(cached) " >&6
2689 if test "x$host_alias" = x; then
2690 ac_cv_host=$ac_cv_build
2692 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2693 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2698 $as_echo "$ac_cv_host" >&6; }
2701 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2704 ac_save_IFS=$IFS; IFS='-'
2710 # Remember, the first character of IFS is used to create $*,
2711 # except with old shells:
2714 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2718 # The AROS target is slightly different to the normal GNU style
2719 # format. We don't have the middle part, and we reverse the order
2720 # of the $(CPU) and $(OS) bits.
2722 # Don't strip the version of the target yet, it might be
2723 # useful on some systems.
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2726 $as_echo_n "checking for AROS style target... " >&6; }
2728 if test "$target" = "NONE" ; then
2729 target=$host_os-$host_cpu
2731 if test "$target" = "" ; then
2732 target=$host_os-$host_cpu
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2736 $as_echo "$target" >&6; }
2738 if test "$host_os" = "mingw32" ; then
2742 # Don't know where else to put this...
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2744 $as_echo_n "checking building AROS in... " >&6; }
2745 AROS_BUILDDIR=`${PWDCMD-pwd}`
2746 AROS_BUILDDIR_UNIX=${PWD}
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2748 $as_echo "$AROS_BUILDDIR" >&6; }
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2751 $as_echo_n "checking AROS source in... " >&6; }
2752 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2755 $as_echo "$SRCDIR" >&6; }
2757 # Parse the target field into something useful.
2759 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2760 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2763 # Some debug output, to be removed again.
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2765 $as_echo_n "checking for target system (debug output)... " >&6; }
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2767 $as_echo "$target_os" >&6; }
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2769 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2771 $as_echo "$target_cpu" >&6; }
2773 aros_default_wbwidth=800
2774 aros_default_wbheight=600
2775 aros_default_wbdepth=4
2778 # The first step is to find the host binaries.
2779 # Check for a compiler.
2781 ac_cpp='$CPP $CPPFLAGS'
2782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2785 if test -n "$ac_tool_prefix"; then
2786 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2787 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2789 $as_echo_n "checking for $ac_word... " >&6; }
2790 if ${ac_cv_prog_CC+:} false; then :
2791 $as_echo_n "(cached) " >&6
2793 if test -n "$CC"; then
2794 ac_cv_prog_CC="$CC" # Let the user override the test.
2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir=.
2801 for ac_exec_ext in '' $ac_executable_extensions; do
2802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2803 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2814 if test -n "$CC"; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2816 $as_echo "$CC" >&6; }
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2819 $as_echo "no" >&6; }
2824 if test -z "$ac_cv_prog_CC"; then
2826 # Extract the first word of "gcc", so it can be a program name with args.
2827 set dummy gcc; ac_word=$2
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2829 $as_echo_n "checking for $ac_word... " >&6; }
2830 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2831 $as_echo_n "(cached) " >&6
2833 if test -n "$ac_ct_CC"; then
2834 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2840 test -z "$as_dir" && as_dir=.
2841 for ac_exec_ext in '' $ac_executable_extensions; do
2842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2843 ac_cv_prog_ac_ct_CC="gcc"
2844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2853 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2854 if test -n "$ac_ct_CC"; then
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2856 $as_echo "$ac_ct_CC" >&6; }
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2859 $as_echo "no" >&6; }
2862 if test "x$ac_ct_CC" = x; then
2865 case $cross_compiling:$ac_tool_warned in
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2869 ac_tool_warned=yes ;;
2877 if test -z "$CC"; then
2878 if test -n "$ac_tool_prefix"; then
2879 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2880 set dummy ${ac_tool_prefix}cc; ac_word=$2
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882 $as_echo_n "checking for $ac_word... " >&6; }
2883 if ${ac_cv_prog_CC+:} false; then :
2884 $as_echo_n "(cached) " >&6
2886 if test -n "$CC"; then
2887 ac_cv_prog_CC="$CC" # Let the user override the test.
2889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2893 test -z "$as_dir" && as_dir=.
2894 for ac_exec_ext in '' $ac_executable_extensions; do
2895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2896 ac_cv_prog_CC="${ac_tool_prefix}cc"
2897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 if test -n "$CC"; then
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2909 $as_echo "$CC" >&6; }
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912 $as_echo "no" >&6; }
2918 if test -z "$CC"; then
2919 # Extract the first word of "cc", so it can be a program name with args.
2920 set dummy cc; ac_word=$2
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2922 $as_echo_n "checking for $ac_word... " >&6; }
2923 if ${ac_cv_prog_CC+:} false; then :
2924 $as_echo_n "(cached) " >&6
2926 if test -n "$CC"; then
2927 ac_cv_prog_CC="$CC" # Let the user override the test.
2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir=.
2935 for ac_exec_ext in '' $ac_executable_extensions; do
2936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2937 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2938 ac_prog_rejected=yes
2942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2949 if test $ac_prog_rejected = yes; then
2950 # We found a bogon in the path, so make sure we never use it.
2951 set dummy $ac_cv_prog_CC
2953 if test $# != 0; then
2954 # We chose a different compiler from the bogus one.
2955 # However, it has the same basename, so the bogon will be chosen
2956 # first if we set CC to just the basename; use the full file name.
2958 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2964 if test -n "$CC"; then
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2966 $as_echo "$CC" >&6; }
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969 $as_echo "no" >&6; }
2974 if test -z "$CC"; then
2975 if test -n "$ac_tool_prefix"; then
2976 for ac_prog in cl.exe
2978 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2979 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2981 $as_echo_n "checking for $ac_word... " >&6; }
2982 if ${ac_cv_prog_CC+:} false; then :
2983 $as_echo_n "(cached) " >&6
2985 if test -n "$CC"; then
2986 ac_cv_prog_CC="$CC" # Let the user override the test.
2988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2992 test -z "$as_dir" && as_dir=.
2993 for ac_exec_ext in '' $ac_executable_extensions; do
2994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2995 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3006 if test -n "$CC"; then
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3008 $as_echo "$CC" >&6; }
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011 $as_echo "no" >&6; }
3015 test -n "$CC" && break
3018 if test -z "$CC"; then
3020 for ac_prog in cl.exe
3022 # Extract the first word of "$ac_prog", so it can be a program name with args.
3023 set dummy $ac_prog; ac_word=$2
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025 $as_echo_n "checking for $ac_word... " >&6; }
3026 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3027 $as_echo_n "(cached) " >&6
3029 if test -n "$ac_ct_CC"; then
3030 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 test -z "$as_dir" && as_dir=.
3037 for ac_exec_ext in '' $ac_executable_extensions; do
3038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3039 ac_cv_prog_ac_ct_CC="$ac_prog"
3040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3049 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3050 if test -n "$ac_ct_CC"; then
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3052 $as_echo "$ac_ct_CC" >&6; }
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055 $as_echo "no" >&6; }
3059 test -n "$ac_ct_CC" && break
3062 if test "x$ac_ct_CC" = x; then
3065 case $cross_compiling:$ac_tool_warned in
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3069 ac_tool_warned=yes ;;
3078 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3080 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3081 See \
`config.log' for more details" "$LINENO" 5; }
3083 # Provide some information about the compiler.
3084 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3087 for ac_option in --version -v -V -qversion; do
3088 { { ac_try="$ac_compiler $ac_option >&5"
3090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3091 *) ac_try_echo
=$ac_try;;
3093 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3094 $as_echo "$ac_try_echo"; } >&5
3095 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3097 if test -s conftest.err
; then
3099 ... rest of stderr output deleted ...
3100 10q' conftest.err
>conftest.er1
3101 cat conftest.er1
>&5
3103 rm -f conftest.er1 conftest.err
3104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3105 test $ac_status = 0; }
3108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3109 /* end confdefs.h. */
3119 ac_clean_files_save
=$ac_clean_files
3120 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3121 # Try to create an executable without -o first, disregard a.out.
3122 # It will help us diagnose broken compilers, and finding out an intuition
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3125 $as_echo_n "checking whether the C compiler works... " >&6; }
3126 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3128 # The possible output files:
3129 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3132 for ac_file
in $ac_files
3135 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3136 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3141 if { { ac_try
="$ac_link_default"
3143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3144 *) ac_try_echo=$ac_try;;
3146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3147 $as_echo "$ac_try_echo"; } >&5
3148 (eval "$ac_link_default") 2>&5
3150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3151 test $ac_status = 0; }; then :
3152 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3153 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3154 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3155 # so that the user can short-circuit this test for compilers unknown to
3157 for ac_file in $ac_files ''
3159 test -f "$ac_file" || continue
3161 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3164 # We found the default executable, but exeext='' is most
3168 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3170 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3172 # We set ac_cv_exeext here because the later test for it is not
3173 # safe: cross compilers may not add the suffix if given an `-o'
3174 # argument, so we may need to know it at that point already.
3175 # Even if this section looks crufty: it has the advantage of
3182 test "$ac_cv_exeext" = no && ac_cv_exeext=
3187 if test -z "$ac_file"; then :
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3189 $as_echo "no" >&6; }
3190 $as_echo "$as_me: failed program was:" >&5
3191 sed 's
/^
/|
/' conftest.$ac_ext >&5
3193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3194 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3195 as_fn_error 77 "C compiler cannot create executables
3196 See \`config.log
' for more details" "$LINENO" 5; }
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3199 $as_echo "yes" >&6; }
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3202 $as_echo_n "checking for C compiler default output file name... " >&6; }
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3204 $as_echo "$ac_file" >&6; }
3205 ac_exeext=$ac_cv_exeext
3207 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3208 ac_clean_files=$ac_clean_files_save
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3210 $as_echo_n "checking for suffix of executables... " >&6; }
3211 if { { ac_try="$ac_link"
3213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3214 *) ac_try_echo=$ac_try;;
3216 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3217 $as_echo "$ac_try_echo"; } >&5
3218 (eval "$ac_link") 2>&5
3220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3221 test $ac_status = 0; }; then :
3222 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3223 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3224 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3226 for ac_file
in conftest.exe conftest conftest.
*; do
3227 test -f "$ac_file" ||
continue
3229 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3230 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3238 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3239 See \`config.log' for more details" "$LINENO" 5; }
3241 rm -f conftest conftest
$ac_cv_exeext
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3243 $as_echo "$ac_cv_exeext" >&6; }
3245 rm -f conftest.
$ac_ext
3246 EXEEXT
=$ac_cv_exeext
3248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3249 /* end confdefs.h. */
3254 FILE *f = fopen ("conftest.out", "w");
3255 return ferror (f) || fclose (f) != 0;
3261 ac_clean_files
="$ac_clean_files conftest.out"
3262 # Check that the compiler produces executables we can run. If not, either
3263 # the compiler is broken, or we cross compile.
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3265 $as_echo_n "checking whether we are cross compiling... " >&6; }
3266 if test "$cross_compiling" != yes; then
3267 { { ac_try
="$ac_link"
3269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3270 *) ac_try_echo=$ac_try;;
3272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3273 $as_echo "$ac_try_echo"; } >&5
3274 (eval "$ac_link") 2>&5
3276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3277 test $ac_status = 0; }
3278 if { ac_try='./conftest$ac_cv_exeext'
3279 { { case "(($ac_try" in
3280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3281 *) ac_try_echo
=$ac_try;;
3283 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3284 $as_echo "$ac_try_echo"; } >&5
3285 (eval "$ac_try") 2>&5
3287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3288 test $ac_status = 0; }; }; then
3291 if test "$cross_compiling" = maybe
; then
3294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3296 as_fn_error $?
"cannot run C compiled programs.
3297 If you meant to cross compile, use \`--host'.
3298 See \`config.log' for more details" "$LINENO" 5; }
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3303 $as_echo "$cross_compiling" >&6; }
3305 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3306 ac_clean_files
=$ac_clean_files_save
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3308 $as_echo_n "checking for suffix of object files... " >&6; }
3309 if ${ac_cv_objext+:} false
; then :
3310 $as_echo_n "(cached) " >&6
3312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3323 rm -f conftest.o conftest.obj
3324 if { { ac_try
="$ac_compile"
3326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3327 *) ac_try_echo=$ac_try;;
3329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3330 $as_echo "$ac_try_echo"; } >&5
3331 (eval "$ac_compile") 2>&5
3333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3334 test $ac_status = 0; }; then :
3335 for ac_file in conftest.o conftest.obj conftest.*; do
3336 test -f "$ac_file" || continue;
3338 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3339 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3344 $as_echo "$as_me: failed program was:" >&5
3345 sed 's/^/| /' conftest.$ac_ext >&5
3347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3349 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3350 See \
`config.log' for more details" "$LINENO" 5; }
3352 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3355 $as_echo "$ac_cv_objext" >&6; }
3356 OBJEXT=$ac_cv_objext
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3359 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3360 if ${ac_cv_c_compiler_gnu+:} false; then :
3361 $as_echo_n "(cached) " >&6
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3377 if ac_fn_c_try_compile "$LINENO"; then :
3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3383 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3387 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3388 if test $ac_compiler_gnu = yes; then
3393 ac_test_CFLAGS=${CFLAGS+set}
3394 ac_save_CFLAGS=$CFLAGS
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3396 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3397 if ${ac_cv_prog_cc_g+:} false; then :
3398 $as_echo_n "(cached) " >&6
3400 ac_save_c_werror_flag=$ac_c_werror_flag
3401 ac_c_werror_flag=yes
3404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3405 /* end confdefs.h. */
3415 if ac_fn_c_try_compile "$LINENO"; then :
3419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420 /* end confdefs.h. */
3430 if ac_fn_c_try_compile "$LINENO"; then :
3433 ac_c_werror_flag=$ac_save_c_werror_flag
3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3446 if ac_fn_c_try_compile "$LINENO"; then :
3449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3454 ac_c_werror_flag=$ac_save_c_werror_flag
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3457 $as_echo "$ac_cv_prog_cc_g" >&6; }
3458 if test "$ac_test_CFLAGS" = set; then
3459 CFLAGS=$ac_save_CFLAGS
3460 elif test $ac_cv_prog_cc_g = yes; then
3461 if test "$GCC" = yes; then
3467 if test "$GCC" = yes; then
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3474 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3475 if ${ac_cv_prog_cc_c89+:} false; then :
3476 $as_echo_n "(cached) " >&6
3478 ac_cv_prog_cc_c89=no
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3484 #include <sys/types.h>
3485 #include <sys/stat.h>
3486 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3487 struct buf { int x; };
3488 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3489 static char *e (p, i)
3495 static char *f (char * (*g) (char **, int), char **p, ...)
3500 s = g (p, va_arg (v,int));
3505 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3506 function prototypes and stuff, but not '\xHH' hex character constants.
3507 These don't provoke an error unfortunately, instead are silently treated
3508 as 'x'. The following induces an error, until -std is added to get
3509 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3510 array size at least. It's necessary to write '\x00'==0 to get something
3511 that's true only with -std. */
3512 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3514 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3515 inside strings and character constants. */
3517 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3519 int test (int i, double x);
3520 struct s1 {int (*f) (int a);};
3521 struct s2 {int (*f) (double a);};
3522 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3528 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3533 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3534 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3536 CC="$ac_save_CC $ac_arg"
3537 if ac_fn_c_try_compile "$LINENO"; then :
3538 ac_cv_prog_cc_c89=$ac_arg
3540 rm -f core conftest.err conftest.$ac_objext
3541 test "x$ac_cv_prog_cc_c89" != "xno" && break
3543 rm -f conftest.$ac_ext
3548 case "x$ac_cv_prog_cc_c89" in
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3551 $as_echo "none needed" >&6; } ;;
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3554 $as_echo "unsupported" >&6; } ;;
3556 CC="$CC $ac_cv_prog_cc_c89"
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3558 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3560 if test "x$ac_cv_prog_cc_c89" != xno; then :
3565 ac_cpp='$CPP $CPPFLAGS'
3566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3570 case $ac_cv_prog_cc_stdc in #(
3572 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3575 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3576 if ${ac_cv_prog_cc_c99+:} false; then :
3577 $as_echo_n "(cached) " >&6
3579 ac_cv_prog_cc_c99=no
3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582 /* end confdefs.h. */
3584 #include <stdbool.h>
3589 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3590 #define debug(...) fprintf (stderr, __VA_ARGS__)
3591 #define showlist(...) puts (#__VA_ARGS__)
3592 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3594 test_varargs_macros (void)
3599 debug ("X = %d\n", x);
3600 showlist (The first, second, and third items.);
3601 report (x>y, "x is %d but y is %d", x, y);
3604 // Check long long types.
3605 #define BIG64 18446744073709551615ull
3606 #define BIG32 4294967295ul
3607 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3609 your preprocessor is broken;
3613 your preprocessor is broken;
3615 static long long int bignum = -9223372036854775807LL;
3616 static unsigned long long int ubignum = BIG64;
3618 struct incomplete_array
3626 const wchar_t *name;
3630 typedef const char *ccp;
3633 test_restrict (ccp restrict text)
3635 // See if C++-style comments work.
3636 // Iterate through items via the restricted pointer.
3637 // Also check for declarations in for loops.
3638 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3643 // Check varargs and va_copy.
3645 test_varargs (const char *format, ...)
3648 va_start (args, format);
3650 va_copy (args_copy, args);
3661 str = va_arg (args_copy, const char *);
3664 number = va_arg (args_copy, int);
3667 fnumber = va_arg (args_copy, double);
3682 _Bool success = false;
3685 if (test_restrict ("String literal") == 0)
3687 char *restrict newvar = "Another string";
3690 test_varargs ("s, d' f .", "string", 65, 34.234);
3691 test_varargs_macros ();
3693 // Check flexible array members.
3694 struct incomplete_array *ia =
3695 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3697 for (int i = 0; i < ia->datasize; ++i)
3698 ia->data[i] = i * 1.234;
3700 // Check named initializers.
3701 struct named_init ni = {
3703 .name = L"Test wide string",
3704 .average = 543.34343,
3709 int dynamic_array[ni.number];
3710 dynamic_array[ni.number - 1] = 543;
3712 // work around unused variable warnings
3713 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3714 || dynamic_array[ni.number - 1] != 543);
3720 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3722 CC="$ac_save_CC $ac_arg"
3723 if ac_fn_c_try_compile "$LINENO"; then :
3724 ac_cv_prog_cc_c99=$ac_arg
3726 rm -f core conftest.err conftest.$ac_objext
3727 test "x$ac_cv_prog_cc_c99" != "xno" && break
3729 rm -f conftest.$ac_ext
3734 case "x$ac_cv_prog_cc_c99" in
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3737 $as_echo "none needed" >&6; } ;;
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3740 $as_echo "unsupported" >&6; } ;;
3742 CC="$CC $ac_cv_prog_cc_c99"
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3744 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3746 if test "x$ac_cv_prog_cc_c99" != xno; then :
3747 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3750 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3751 if ${ac_cv_prog_cc_c89+:} false; then :
3752 $as_echo_n "(cached) " >&6
3754 ac_cv_prog_cc_c89=no
3756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3757 /* end confdefs.h. */
3760 #include <sys/types.h>
3761 #include <sys/stat.h>
3762 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3763 struct buf { int x; };
3764 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3765 static char *e (p, i)
3771 static char *f (char * (*g) (char **, int), char **p, ...)
3776 s = g (p, va_arg (v,int));
3781 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3782 function prototypes and stuff, but not '\xHH' hex character constants.
3783 These don't provoke an error unfortunately, instead are silently treated
3784 as 'x'. The following induces an error, until -std is added to get
3785 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3786 array size at least. It's necessary to write '\x00'==0 to get something
3787 that's true only with -std. */
3788 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3790 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3791 inside strings and character constants. */
3793 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3795 int test (int i, double x);
3796 struct s1 {int (*f) (int a);};
3797 struct s2 {int (*f) (double a);};
3798 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3804 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3809 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3810 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3812 CC="$ac_save_CC $ac_arg"
3813 if ac_fn_c_try_compile "$LINENO"; then :
3814 ac_cv_prog_cc_c89=$ac_arg
3816 rm -f core conftest.err conftest.$ac_objext
3817 test "x$ac_cv_prog_cc_c89" != "xno" && break
3819 rm -f conftest.$ac_ext
3824 case "x$ac_cv_prog_cc_c89" in
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3827 $as_echo "none needed" >&6; } ;;
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3830 $as_echo "unsupported" >&6; } ;;
3832 CC="$CC $ac_cv_prog_cc_c89"
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3834 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3836 if test "x$ac_cv_prog_cc_c89" != xno; then :
3837 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3839 ac_cv_prog_cc_stdc=no
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3846 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3847 if ${ac_cv_prog_cc_stdc+:} false; then :
3848 $as_echo_n "(cached) " >&6
3851 case $ac_cv_prog_cc_stdc in #(
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3854 $as_echo "unsupported" >&6; } ;; #(
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3857 $as_echo "none needed" >&6; } ;; #(
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3860 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3864 ac_cpp='$CXXCPP $CPPFLAGS'
3865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3868 if test -z "$CXX"; then
3869 if test -n "$CCC"; then
3872 if test -n "$ac_tool_prefix"; then
3873 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3875 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3876 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3878 $as_echo_n "checking for $ac_word... " >&6; }
3879 if ${ac_cv_prog_CXX+:} false; then :
3880 $as_echo_n "(cached) " >&6
3882 if test -n "$CXX"; then
3883 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3889 test -z "$as_dir" && as_dir=.
3890 for ac_exec_ext in '' $ac_executable_extensions; do
3891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3892 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3903 if test -n "$CXX"; then
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3905 $as_echo "$CXX" >&6; }
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3908 $as_echo "no" >&6; }
3912 test -n "$CXX" && break
3915 if test -z "$CXX"; then
3917 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3919 # Extract the first word of "$ac_prog", so it can be a program name with args.
3920 set dummy $ac_prog; ac_word=$2
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3922 $as_echo_n "checking for $ac_word... " >&6; }
3923 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3924 $as_echo_n "(cached) " >&6
3926 if test -n "$ac_ct_CXX"; then
3927 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933 test -z "$as_dir" && as_dir=.
3934 for ac_exec_ext in '' $ac_executable_extensions; do
3935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3936 ac_cv_prog_ac_ct_CXX="$ac_prog"
3937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3946 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3947 if test -n "$ac_ct_CXX"; then
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3949 $as_echo "$ac_ct_CXX" >&6; }
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3952 $as_echo "no" >&6; }
3956 test -n "$ac_ct_CXX" && break
3959 if test "x$ac_ct_CXX" = x; then
3962 case $cross_compiling:$ac_tool_warned in
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3966 ac_tool_warned=yes ;;
3974 # Provide some information about the compiler.
3975 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3978 for ac_option in --version -v -V -qversion; do
3979 { { ac_try="$ac_compiler $ac_option >&5"
3981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3982 *) ac_try_echo
=$ac_try;;
3984 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3985 $as_echo "$ac_try_echo"; } >&5
3986 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3988 if test -s conftest.err
; then
3990 ... rest of stderr output deleted ...
3991 10q' conftest.err
>conftest.er1
3992 cat conftest.er1
>&5
3994 rm -f conftest.er1 conftest.err
3995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3996 test $ac_status = 0; }
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4000 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4001 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4002 $as_echo_n "(cached) " >&6
4004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4005 /* end confdefs.h. */
4018 if ac_fn_cxx_try_compile
"$LINENO"; then :
4023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4024 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4028 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4029 if test $ac_compiler_gnu = yes; then
4034 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4035 ac_save_CXXFLAGS
=$CXXFLAGS
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4037 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4038 if ${ac_cv_prog_cxx_g+:} false
; then :
4039 $as_echo_n "(cached) " >&6
4041 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4042 ac_cxx_werror_flag
=yes
4045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4056 if ac_fn_cxx_try_compile
"$LINENO"; then :
4057 ac_cv_prog_cxx_g
=yes
4060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4061 /* end confdefs.h. */
4071 if ac_fn_cxx_try_compile
"$LINENO"; then :
4074 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4077 /* end confdefs.h. */
4087 if ac_fn_cxx_try_compile
"$LINENO"; then :
4088 ac_cv_prog_cxx_g
=yes
4090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4095 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4098 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4099 if test "$ac_test_CXXFLAGS" = set; then
4100 CXXFLAGS
=$ac_save_CXXFLAGS
4101 elif test $ac_cv_prog_cxx_g = yes; then
4102 if test "$GXX" = yes; then
4108 if test "$GXX" = yes; then
4115 ac_cpp
='$CPP $CPPFLAGS'
4116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4121 ac_cpp
='$CPP $CPPFLAGS'
4122 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4123 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4124 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4126 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4127 # On Suns, sometimes $CPP names a directory.
4128 if test -n "$CPP" && test -d "$CPP"; then
4131 if test -z "$CPP"; then
4132 if ${ac_cv_prog_CPP+:} false
; then :
4133 $as_echo_n "(cached) " >&6
4135 # Double quotes because CPP needs to be expanded
4136 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4139 for ac_c_preproc_warn_flag
in '' yes
4141 # Use a header file that comes with gcc, so configuring glibc
4142 # with a fresh cross-compiler works.
4143 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4144 # <limits.h> exists even on freestanding compilers.
4145 # On the NeXT, cc -E runs the code through the compiler's parser,
4146 # not just through cpp. "Syntax error" is here to catch this case.
4147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4148 /* end confdefs.h. */
4150 # include <limits.h>
4152 # include <assert.h>
4156 if ac_fn_c_try_cpp
"$LINENO"; then :
4159 # Broken: fails on valid input.
4162 rm -f conftest.err conftest.i conftest.
$ac_ext
4164 # OK, works on sane cases. Now check whether nonexistent headers
4165 # can be detected and how.
4166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4168 #include <ac_nonexistent.h>
4170 if ac_fn_c_try_cpp
"$LINENO"; then :
4171 # Broken: success on invalid input.
4174 # Passes both tests.
4178 rm -f conftest.err conftest.i conftest.
$ac_ext
4181 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4182 rm -f conftest.i conftest.err conftest.
$ac_ext
4183 if $ac_preproc_ok; then :
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4196 $as_echo "$CPP" >&6; }
4198 for ac_c_preproc_warn_flag
in '' yes
4200 # Use a header file that comes with gcc, so configuring glibc
4201 # with a fresh cross-compiler works.
4202 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4203 # <limits.h> exists even on freestanding compilers.
4204 # On the NeXT, cc -E runs the code through the compiler's parser,
4205 # not just through cpp. "Syntax error" is here to catch this case.
4206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4209 # include <limits.h>
4211 # include <assert.h>
4215 if ac_fn_c_try_cpp
"$LINENO"; then :
4218 # Broken: fails on valid input.
4221 rm -f conftest.err conftest.i conftest.
$ac_ext
4223 # OK, works on sane cases. Now check whether nonexistent headers
4224 # can be detected and how.
4225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4227 #include <ac_nonexistent.h>
4229 if ac_fn_c_try_cpp
"$LINENO"; then :
4230 # Broken: success on invalid input.
4233 # Passes both tests.
4237 rm -f conftest.err conftest.i conftest.
$ac_ext
4240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4241 rm -f conftest.i conftest.err conftest.
$ac_ext
4242 if $ac_preproc_ok; then :
4245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4247 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4248 See \`config.log' for more details" "$LINENO" 5; }
4252 ac_cpp
='$CPP $CPPFLAGS'
4253 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4254 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4255 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4258 # Check for a compatible awk
4259 for ac_prog
in gawk nawk
4261 # Extract the first word of "$ac_prog", so it can be a program name with args.
4262 set dummy
$ac_prog; ac_word
=$2
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4264 $as_echo_n "checking for $ac_word... " >&6; }
4265 if ${ac_cv_prog_AWK+:} false
; then :
4266 $as_echo_n "(cached) " >&6
4268 if test -n "$AWK"; then
4269 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4275 test -z "$as_dir" && as_dir
=.
4276 for ac_exec_ext
in '' $ac_executable_extensions; do
4277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4278 ac_cv_prog_AWK
="$ac_prog"
4279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4289 if test -n "$AWK"; then
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4291 $as_echo "$AWK" >&6; }
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4294 $as_echo "no" >&6; }
4298 test -n "$AWK" && break
4301 if test "$AWK" = ""; then
4302 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4304 # Extract the first word of "mmake", so it can be a program name with args.
4305 set dummy mmake
; ac_word
=$2
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4307 $as_echo_n "checking for $ac_word... " >&6; }
4308 if ${ac_cv_prog_MMAKE+:} false
; then :
4309 $as_echo_n "(cached) " >&6
4311 if test -n "$MMAKE"; then
4312 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4318 test -z "$as_dir" && as_dir
=.
4319 for ac_exec_ext
in '' $ac_executable_extensions; do
4320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4321 ac_cv_prog_MMAKE
="mmake "
4322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4331 MMAKE
=$ac_cv_prog_MMAKE
4332 if test -n "$MMAKE"; then
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4334 $as_echo "$MMAKE" >&6; }
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4337 $as_echo "no" >&6; }
4342 # Perform some default variable assignments. Note all of these will be
4343 # Regenerated from the script, so there is no need to cache them.
4345 aros_host_cpp
="$CPP"
4347 aros_host_cxx
="$CXX"
4348 if test "$GCC" = "yes"; then
4349 aros_gcc_ld
=`$CC -print-prog-name=ld`
4350 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4351 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if ${ac_cv_path_aros_host_ld+:} false
; then :
4355 $as_echo_n "(cached) " >&6
4357 case $aros_host_ld in
4359 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4363 for as_dir
in `dirname $aros_gcc_ld`
4366 test -z "$as_dir" && as_dir
=.
4367 for ac_exec_ext
in '' $ac_executable_extensions; do
4368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4369 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4380 aros_host_ld
=$ac_cv_path_aros_host_ld
4381 if test -n "$aros_host_ld"; then
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4383 $as_echo "$aros_host_ld" >&6; }
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4386 $as_echo "no" >&6; }
4391 if test "$aros_host_ld" = ""; then
4392 # Extract the first word of "ld", so it can be a program name with args.
4393 set dummy ld
; ac_word
=$2
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if ${ac_cv_path_aros_host_ld+:} false
; then :
4397 $as_echo_n "(cached) " >&6
4399 case $aros_host_ld in
4401 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4408 test -z "$as_dir" && as_dir
=.
4409 for ac_exec_ext
in '' $ac_executable_extensions; do
4410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4411 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4422 aros_host_ld
=$ac_cv_path_aros_host_ld
4423 if test -n "$aros_host_ld"; then
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4425 $as_echo "$aros_host_ld" >&6; }
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4428 $as_echo "no" >&6; }
4433 if test "$aros_host_ld" = ""; then
4434 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4436 aros_host_make
="make"
4437 aros_host_cflags
=$CFLAGS
4438 aros_host_cxxflags
=$CXXFLAGS
4439 aros_host_ldflags
=$LDFLAGS
4440 aros_host_debug
="-g -O0"
4441 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4442 aros_host_mkargs
="--no-print-directory"
4443 aros_host_exe_suffix
="$EXEEXT"
4444 aros_host_lib_suffix
=""
4446 # Ignore all compliance, AROS ROMs = 0
4447 # KickStart v1.0 = 30
4448 # KickStart v1.3 = 34
4449 # KickStart v2.0 = 37
4450 # KickStart v3.0 = 39
4451 # KickStart v3.1 = 40
4453 aros_amigaos_compliance
=0
4455 for ac_prog
in aclocal aclocal19 aclocal-1.9
4457 # Extract the first word of "$ac_prog", so it can be a program name with args.
4458 set dummy
$ac_prog; ac_word
=$2
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4460 $as_echo_n "checking for $ac_word... " >&6; }
4461 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4462 $as_echo_n "(cached) " >&6
4464 if test -n "$aros_host_aclocal"; then
4465 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4471 test -z "$as_dir" && as_dir
=.
4472 for ac_exec_ext
in '' $ac_executable_extensions; do
4473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4474 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4484 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4485 if test -n "$aros_host_aclocal"; then
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4487 $as_echo "$aros_host_aclocal" >&6; }
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4490 $as_echo "no" >&6; }
4494 test -n "$aros_host_aclocal" && break
4497 for ac_prog
in autoconf autoconf259 autoconf253
4499 # Extract the first word of "$ac_prog", so it can be a program name with args.
4500 set dummy
$ac_prog; ac_word
=$2
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4502 $as_echo_n "checking for $ac_word... " >&6; }
4503 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4504 $as_echo_n "(cached) " >&6
4506 if test -n "$aros_host_autoconf"; then
4507 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4513 test -z "$as_dir" && as_dir
=.
4514 for ac_exec_ext
in '' $ac_executable_extensions; do
4515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4516 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4526 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4527 if test -n "$aros_host_autoconf"; then
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4529 $as_echo "$aros_host_autoconf" >&6; }
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4532 $as_echo "no" >&6; }
4536 test -n "$aros_host_autoconf" && break
4539 for ac_prog
in autoheader autoheader259 autoheader253
4541 # Extract the first word of "$ac_prog", so it can be a program name with args.
4542 set dummy
$ac_prog; ac_word
=$2
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4544 $as_echo_n "checking for $ac_word... " >&6; }
4545 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4546 $as_echo_n "(cached) " >&6
4548 if test -n "$aros_host_autoheader"; then
4549 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4555 test -z "$as_dir" && as_dir
=.
4556 for ac_exec_ext
in '' $ac_executable_extensions; do
4557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4558 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4568 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4569 if test -n "$aros_host_autoheader"; then
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4571 $as_echo "$aros_host_autoheader" >&6; }
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4574 $as_echo "no" >&6; }
4578 test -n "$aros_host_autoheader" && break
4581 for ac_prog
in automake automake19 automake-1.9
4583 # Extract the first word of "$ac_prog", so it can be a program name with args.
4584 set dummy
$ac_prog; ac_word
=$2
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4586 $as_echo_n "checking for $ac_word... " >&6; }
4587 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4588 $as_echo_n "(cached) " >&6
4590 if test -n "$aros_host_automake"; then
4591 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4597 test -z "$as_dir" && as_dir
=.
4598 for ac_exec_ext
in '' $ac_executable_extensions; do
4599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4600 ac_cv_prog_aros_host_automake
="$ac_prog"
4601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4610 aros_host_automake
=$ac_cv_prog_aros_host_automake
4611 if test -n "$aros_host_automake"; then
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4613 $as_echo "$aros_host_automake" >&6; }
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4616 $as_echo "no" >&6; }
4620 test -n "$aros_host_automake" && break
4624 if test "$aros_host_aclocal" = ""; then
4625 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4627 if test "$aros_host_automake" = ""; then
4628 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4631 case "$aros_host_cc" in
4633 aros_host_cc_pipe
="-pipe"
4636 aros_host_cc_pipe
=""
4639 aros_host_cc_pipe
=""
4643 aros_kernel_cc_includes
=""
4644 aros_target_cc_includes
=""
4647 # ----------------------------------------------------------------------------------------
4648 # Host-specific defaults
4650 # This is the main host configuration section. It is where the host
4651 # can change the values of any variables it needs to change. We do
4652 # not look at anything that compiles to the target yet, we'll get
4657 aros_host_arch
="aros"
4658 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4661 aros_host_cpu
="i386"
4664 aros_host_cpu
="x86_64"
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4671 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4672 aros_host_cpu
="$host_cpu"
4678 aros_host_arch
="linux"
4679 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4680 android_build_os
="linux-x86"
4681 android_tool
="android"
4682 default_android_sdk
="/opt/android-sdk-linux_x86"
4685 aros_host_cpu
="i386"
4688 aros_host_cpu
="x86_64"
4691 aros_host_cpu
="m68k"
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4701 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4702 aros_host_cpu
="$host_cpu"
4708 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4709 aros_host_make
="gmake"
4710 aros_host_arch
="freebsd"
4711 aros_host_cpu
="i386"
4713 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4717 aros_object_format
="elf_i386"
4721 aros_object_format
="elf_i386_fbsd"
4728 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4729 aros_host_arch
="darwin"
4731 android_build_os
="darwin-x86"
4732 android_tool
="android"
4733 default_android_sdk
="/android-sdk-mac_x86"
4736 aros_host_cpu
="i386"
4739 aros_host_cpu
="x86_64"
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4746 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4747 aros_host_cpu
="$host_cpu"
4751 aros_host_ldflags
="$aros_host_ldflags -liconv"
4756 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4757 aros_host_make
="gmake"
4758 aros_host_arch
="dragonfly"
4761 aros_host_cpu
="i386"
4764 aros_host_cpu
="x86_64"
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4768 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4769 aros_host_cpu
="$host_cpu"
4775 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4776 aros_host_make
="gmake"
4777 aros_host_arch
="netbsd"
4780 aros_host_cpu
="i386"
4783 aros_host_cpu
="m68k"
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4787 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4788 aros_host_cpu
="$host_cpu"
4791 aros_host_lib_suffix
=".0.0"
4795 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4796 aros_host_make
="gmake"
4797 aros_host_arch
="openbsd"
4800 aros_host_cpu
="i386"
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4804 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4805 aros_host_cpu
="$host_cpu"
4811 aros_host_arch
="solaris"
4812 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4815 aros_host_cpu
="i386"
4818 aros_host_cpu
="sparc"
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4822 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4823 aros_host_cpu
="$host_cpu"
4829 aros_host_arch
="morphos"
4835 aros_host_arch
="amiga"
4841 TOUCH
="/gg/bin/touch"
4844 aros_host_cpu
="m68k"
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4851 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4852 aros_host_cpu
="$host_cpu"
4858 aros_host_arch
="cygwin"
4859 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4861 android_build_os
="windows"
4862 android_tool
="android.bat"
4863 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4867 aros_host_cpu
="i386"
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4871 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4872 aros_host_cpu
="$host_cpu"
4878 aros_host_arch
="mingw32"
4879 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4881 android_build_os
="windows"
4882 android_tool
="android.bat"
4883 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4889 $as_echo_n "checking for Windows native gcc target... " >&6; }
4890 host_cpu
=`gcc -dumpmachine`
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4892 $as_echo "$host_cpu" >&6; }
4899 aros_host_cpu
="i386"
4903 aros_host_cpu
="i386"
4907 aros_host_cpu
="x86_64"
4908 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4913 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4914 aros_host_cpu
="$host_cpu"
4919 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4923 # Extract the first word of "ar", so it can be a program name with args.
4924 set dummy
ar; ac_word
=$2
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 $as_echo_n "checking for $ac_word... " >&6; }
4927 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4928 $as_echo_n "(cached) " >&6
4930 if test -n "$aros_host_ar"; then
4931 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4937 test -z "$as_dir" && as_dir
=.
4938 for ac_exec_ext
in '' $ac_executable_extensions; do
4939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4940 ac_cv_prog_aros_host_ar
="ar cr"
4941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4950 aros_host_ar
=$ac_cv_prog_aros_host_ar
4951 if test -n "$aros_host_ar"; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4953 $as_echo "$aros_host_ar" >&6; }
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4960 if test "$aros_host_ar" = ""; then
4961 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4963 # Extract the first word of "ranlib", so it can be a program name with args.
4964 set dummy ranlib
; ac_word
=$2
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4966 $as_echo_n "checking for $ac_word... " >&6; }
4967 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4968 $as_echo_n "(cached) " >&6
4970 if test -n "$aros_host_ranlib"; then
4971 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4977 test -z "$as_dir" && as_dir
=.
4978 for ac_exec_ext
in '' $ac_executable_extensions; do
4979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4980 ac_cv_prog_aros_host_ranlib
="ranlib "
4981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4991 if test -n "$aros_host_ranlib"; then
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4993 $as_echo "$aros_host_ranlib" >&6; }
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4996 $as_echo "no" >&6; }
5000 if test "$aros_host_ranlib" = ""; then
5001 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5003 # Extract the first word of "strip", so it can be a program name with args.
5004 set dummy strip
; ac_word
=$2
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5006 $as_echo_n "checking for $ac_word... " >&6; }
5007 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5008 $as_echo_n "(cached) " >&6
5010 if test -n "$aros_host_strip"; then
5011 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5017 test -z "$as_dir" && as_dir
=.
5018 for ac_exec_ext
in '' $ac_executable_extensions; do
5019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5020 ac_cv_prog_aros_host_strip
="strip "
5021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 aros_host_strip
=$ac_cv_prog_aros_host_strip
5031 if test -n "$aros_host_strip"; then
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5033 $as_echo "$aros_host_strip" >&6; }
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5036 $as_echo "no" >&6; }
5040 if test "$aros_host_strip" = ""; then
5041 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5044 # Extract the first word of "rm", so it can be a program name with args.
5045 set dummy
rm; ac_word
=$2
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5047 $as_echo_n "checking for $ac_word... " >&6; }
5048 if ${ac_cv_prog_RM+:} false
; then :
5049 $as_echo_n "(cached) " >&6
5051 if test -n "$RM"; then
5052 ac_cv_prog_RM
="$RM" # Let the user override the test.
5054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5058 test -z "$as_dir" && as_dir
=.
5059 for ac_exec_ext
in '' $ac_executable_extensions; do
5060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5061 ac_cv_prog_RM
="rm -rf"
5062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 if test -n "$RM"; then
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5074 $as_echo "$RM" >&6; }
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 $as_echo "no" >&6; }
5081 if test "$RM" = ""; then
5082 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5084 # Extract the first word of "cp", so it can be a program name with args.
5085 set dummy
cp; ac_word
=$2
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087 $as_echo_n "checking for $ac_word... " >&6; }
5088 if ${ac_cv_prog_CP+:} false
; then :
5089 $as_echo_n "(cached) " >&6
5091 if test -n "$CP"; then
5092 ac_cv_prog_CP
="$CP" # Let the user override the test.
5094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5098 test -z "$as_dir" && as_dir
=.
5099 for ac_exec_ext
in '' $ac_executable_extensions; do
5100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5112 if test -n "$CP"; then
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5114 $as_echo "$CP" >&6; }
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117 $as_echo "no" >&6; }
5121 if test "$CP" = ""; then
5122 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5124 # Extract the first word of "mv", so it can be a program name with args.
5125 set dummy
mv; ac_word
=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if ${ac_cv_prog_MV+:} false
; then :
5129 $as_echo_n "(cached) " >&6
5131 if test -n "$MV"; then
5132 ac_cv_prog_MV
="$MV" # Let the user override the test.
5134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5138 test -z "$as_dir" && as_dir
=.
5139 for ac_exec_ext
in '' $ac_executable_extensions; do
5140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5152 if test -n "$MV"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5154 $as_echo "$MV" >&6; }
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5161 if test "$MV" = ""; then
5162 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5164 # Extract the first word of "echo", so it can be a program name with args.
5165 set dummy
echo; ac_word
=$2
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5167 $as_echo_n "checking for $ac_word... " >&6; }
5168 if ${ac_cv_prog_ECHO+:} false
; then :
5169 $as_echo_n "(cached) " >&6
5171 if test -n "$ECHO"; then
5172 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5178 test -z "$as_dir" && as_dir
=.
5179 for ac_exec_ext
in '' $ac_executable_extensions; do
5180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5181 ac_cv_prog_ECHO
="echo "
5182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 ECHO
=$ac_cv_prog_ECHO
5192 if test -n "$ECHO"; then
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5194 $as_echo "$ECHO" >&6; }
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5197 $as_echo "no" >&6; }
5201 if test "$ECHO" = ""; then
5202 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5204 # Extract the first word of "mkdir", so it can be a program name with args.
5205 set dummy mkdir
; ac_word
=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; }
5208 if ${ac_cv_prog_MKDIR+:} false
; then :
5209 $as_echo_n "(cached) " >&6
5211 if test -n "$MKDIR"; then
5212 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5218 test -z "$as_dir" && as_dir
=.
5219 for ac_exec_ext
in '' $ac_executable_extensions; do
5220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221 ac_cv_prog_MKDIR
="mkdir -p"
5222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 MKDIR
=$ac_cv_prog_MKDIR
5232 if test -n "$MKDIR"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5234 $as_echo "$MKDIR" >&6; }
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5241 if test "$MKDIR" = ""; then
5242 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5244 # Extract the first word of "touch", so it can be a program name with args.
5245 set dummy
touch; ac_word
=$2
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5247 $as_echo_n "checking for $ac_word... " >&6; }
5248 if ${ac_cv_prog_TOUCH+:} false
; then :
5249 $as_echo_n "(cached) " >&6
5251 if test -n "$TOUCH"; then
5252 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5258 test -z "$as_dir" && as_dir
=.
5259 for ac_exec_ext
in '' $ac_executable_extensions; do
5260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5261 ac_cv_prog_TOUCH
="touch "
5262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 TOUCH
=$ac_cv_prog_TOUCH
5272 if test -n "$TOUCH"; then
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5274 $as_echo "$TOUCH" >&6; }
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5277 $as_echo "no" >&6; }
5281 if test "$TOUCH" = ""; then
5282 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5284 # Extract the first word of "sort", so it can be a program name with args.
5285 set dummy
sort; ac_word
=$2
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5287 $as_echo_n "checking for $ac_word... " >&6; }
5288 if ${ac_cv_prog_SORT+:} false
; then :
5289 $as_echo_n "(cached) " >&6
5291 if test -n "$SORT"; then
5292 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5298 test -z "$as_dir" && as_dir
=.
5299 for ac_exec_ext
in '' $ac_executable_extensions; do
5300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5301 ac_cv_prog_SORT
="sort "
5302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5311 SORT
=$ac_cv_prog_SORT
5312 if test -n "$SORT"; then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5314 $as_echo "$SORT" >&6; }
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5317 $as_echo "no" >&6; }
5321 if test "$SORT" = ""; then
5322 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5324 # Extract the first word of "uniq", so it can be a program name with args.
5325 set dummy
uniq; ac_word
=$2
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5327 $as_echo_n "checking for $ac_word... " >&6; }
5328 if ${ac_cv_prog_UNIQ+:} false
; then :
5329 $as_echo_n "(cached) " >&6
5331 if test -n "$UNIQ"; then
5332 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5338 test -z "$as_dir" && as_dir
=.
5339 for ac_exec_ext
in '' $ac_executable_extensions; do
5340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5341 ac_cv_prog_UNIQ
="uniq "
5342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5351 UNIQ
=$ac_cv_prog_UNIQ
5352 if test -n "$UNIQ"; then
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5354 $as_echo "$UNIQ" >&6; }
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5357 $as_echo "no" >&6; }
5361 if test "$UNIQ" = ""; then
5362 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5364 # Extract the first word of "true", so it can be a program name with args.
5365 set dummy true
; ac_word
=$2
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5367 $as_echo_n "checking for $ac_word... " >&6; }
5368 if ${ac_cv_prog_NOP+:} false
; then :
5369 $as_echo_n "(cached) " >&6
5371 if test -n "$NOP"; then
5372 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5378 test -z "$as_dir" && as_dir
=.
5379 for ac_exec_ext
in '' $ac_executable_extensions; do
5380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5381 ac_cv_prog_NOP
="true "
5382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392 if test -n "$NOP"; then
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5394 $as_echo "$NOP" >&6; }
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5397 $as_echo "no" >&6; }
5401 if test "$NOP" = ""; then
5402 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5404 # Extract the first word of "cat", so it can be a program name with args.
5405 set dummy
cat; ac_word
=$2
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5407 $as_echo_n "checking for $ac_word... " >&6; }
5408 if ${ac_cv_prog_CAT+:} false
; then :
5409 $as_echo_n "(cached) " >&6
5411 if test -n "$CAT"; then
5412 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5418 test -z "$as_dir" && as_dir
=.
5419 for ac_exec_ext
in '' $ac_executable_extensions; do
5420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5421 ac_cv_prog_CAT
="cat "
5422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 if test -n "$CAT"; then
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5434 $as_echo "$CAT" >&6; }
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5437 $as_echo "no" >&6; }
5441 if test "$CAT" = ""; then
5442 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5444 # Extract the first word of "bison", so it can be a program name with args.
5445 set dummy bison
; ac_word
=$2
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5447 $as_echo_n "checking for $ac_word... " >&6; }
5448 if ${ac_cv_prog_BISON+:} false
; then :
5449 $as_echo_n "(cached) " >&6
5451 if test -n "$BISON"; then
5452 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5458 test -z "$as_dir" && as_dir
=.
5459 for ac_exec_ext
in '' $ac_executable_extensions; do
5460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5461 ac_cv_prog_BISON
="bison "
5462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 BISON
=$ac_cv_prog_BISON
5472 if test -n "$BISON"; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5474 $as_echo "$BISON" >&6; }
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5477 $as_echo "no" >&6; }
5481 if test "$BISON" = ""; then
5482 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5484 # Extract the first word of "flex", so it can be a program name with args.
5485 set dummy flex
; ac_word
=$2
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5487 $as_echo_n "checking for $ac_word... " >&6; }
5488 if ${ac_cv_prog_FLEX+:} false
; then :
5489 $as_echo_n "(cached) " >&6
5491 if test -n "$FLEX"; then
5492 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5498 test -z "$as_dir" && as_dir
=.
5499 for ac_exec_ext
in '' $ac_executable_extensions; do
5500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5501 ac_cv_prog_FLEX
="flex "
5502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 FLEX
=$ac_cv_prog_FLEX
5512 if test -n "$FLEX"; then
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5514 $as_echo "$FLEX" >&6; }
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5517 $as_echo "no" >&6; }
5521 if test "$FLEX" = ""; then
5522 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5524 # Extract the first word of "pngtopnm", so it can be a program name with args.
5525 set dummy pngtopnm
; ac_word
=$2
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5527 $as_echo_n "checking for $ac_word... " >&6; }
5528 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5529 $as_echo_n "(cached) " >&6
5531 if test -n "$PNGTOPNM"; then
5532 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5538 test -z "$as_dir" && as_dir
=.
5539 for ac_exec_ext
in '' $ac_executable_extensions; do
5540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5541 ac_cv_prog_PNGTOPNM
="pngtopnm "
5542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5551 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5552 if test -n "$PNGTOPNM"; then
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5554 $as_echo "$PNGTOPNM" >&6; }
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5557 $as_echo "no" >&6; }
5561 if test "$PNGTOPNM" = ""; then
5562 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5564 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5565 set dummy ppmtoilbm
; ac_word
=$2
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567 $as_echo_n "checking for $ac_word... " >&6; }
5568 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5569 $as_echo_n "(cached) " >&6
5571 if test -n "$PPMTOILBM"; then
5572 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5578 test -z "$as_dir" && as_dir
=.
5579 for ac_exec_ext
in '' $ac_executable_extensions; do
5580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5581 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5591 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5592 if test -n "$PPMTOILBM"; then
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5594 $as_echo "$PPMTOILBM" >&6; }
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5601 if test "$PPMTOILBM" = ""; then
5602 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5604 # Extract the first word of "sed", so it can be a program name with args.
5605 set dummy
sed; ac_word
=$2
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 $as_echo_n "checking for $ac_word... " >&6; }
5608 if ${ac_cv_prog_SED+:} false
; then :
5609 $as_echo_n "(cached) " >&6
5611 if test -n "$SED"; then
5612 ac_cv_prog_SED
="$SED" # Let the user override the test.
5614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5618 test -z "$as_dir" && as_dir
=.
5619 for ac_exec_ext
in '' $ac_executable_extensions; do
5620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5621 ac_cv_prog_SED
="sed "
5622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5632 if test -n "$SED"; then
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5634 $as_echo "$SED" >&6; }
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 $as_echo "no" >&6; }
5641 if test "$SED" = ""; then
5642 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5644 # Extract the first word of "chmod", so it can be a program name with args.
5645 set dummy
chmod; ac_word
=$2
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647 $as_echo_n "checking for $ac_word... " >&6; }
5648 if ${ac_cv_prog_CHMOD+:} false
; then :
5649 $as_echo_n "(cached) " >&6
5651 if test -n "$CHMOD"; then
5652 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5658 test -z "$as_dir" && as_dir
=.
5659 for ac_exec_ext
in '' $ac_executable_extensions; do
5660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5661 ac_cv_prog_CHMOD
="chmod "
5662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 CHMOD
=$ac_cv_prog_CHMOD
5672 if test -n "$CHMOD"; then
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5674 $as_echo "$CHMOD" >&6; }
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5677 $as_echo "no" >&6; }
5681 if test "$CHMOD" = ""; then
5682 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5684 # Extract the first word of "patch", so it can be a program name with args.
5685 set dummy
patch; ac_word
=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_prog_PATCH+:} false
; then :
5689 $as_echo_n "(cached) " >&6
5691 if test -n "$PATCH"; then
5692 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5698 test -z "$as_dir" && as_dir
=.
5699 for ac_exec_ext
in '' $ac_executable_extensions; do
5700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5701 ac_cv_prog_PATCH
="patch "
5702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711 PATCH
=$ac_cv_prog_PATCH
5712 if test -n "$PATCH"; then
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5714 $as_echo "$PATCH" >&6; }
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 $as_echo "no" >&6; }
5721 if test "$PATCH" = ""; then
5722 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5731 if test -n "$PYTHON"; then
5732 # If the user set $PYTHON, use it and don't search something else.
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5734 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5736 # split strings by '.' and convert to numeric. Append some zeros
5737 # because we need at least 4 digits for the hex conversion.
5738 # map returns an iterator in Python 3.0 and a list in 2.x
5739 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5741 # xrange is not present in Python 3.0 and range returns an iterator
5742 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5743 sys.exit(sys.hexversion < minverhex)"
5744 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5745 ($PYTHON -c "$prog") >&5 2>&5
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); }; then :
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5750 $as_echo "yes" >&6; }
5752 as_fn_error $?
"too old" "$LINENO" 5
5754 am_display_PYTHON
=$PYTHON
5756 # Otherwise, try each interpreter until we find one that satisfies
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5759 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5760 if ${am_cv_pathless_PYTHON+:} false
; then :
5761 $as_echo_n "(cached) " >&6
5764 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
5765 test "$am_cv_pathless_PYTHON" = none
&& break
5767 # split strings by '.' and convert to numeric. Append some zeros
5768 # because we need at least 4 digits for the hex conversion.
5769 # map returns an iterator in Python 3.0 and a list in 2.x
5770 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5772 # xrange is not present in Python 3.0 and range returns an iterator
5773 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5774 sys.exit(sys.hexversion < minverhex)"
5775 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5776 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779 (exit $ac_status); }; then :
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5785 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5786 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5787 if test "$am_cv_pathless_PYTHON" = none
; then
5790 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5791 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5793 $as_echo_n "checking for $ac_word... " >&6; }
5794 if ${ac_cv_path_PYTHON+:} false
; then :
5795 $as_echo_n "(cached) " >&6
5799 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5806 test -z "$as_dir" && as_dir
=.
5807 for ac_exec_ext
in '' $ac_executable_extensions; do
5808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5809 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5820 PYTHON
=$ac_cv_path_PYTHON
5821 if test -n "$PYTHON"; then
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5823 $as_echo "$PYTHON" >&6; }
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826 $as_echo "no" >&6; }
5831 am_display_PYTHON
=$am_cv_pathless_PYTHON
5835 if test "$PYTHON" = :; then
5836 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5841 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5842 if ${am_cv_python_version+:} false
; then :
5843 $as_echo_n "(cached) " >&6
5845 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5848 $as_echo "$am_cv_python_version" >&6; }
5849 PYTHON_VERSION
=$am_cv_python_version
5853 PYTHON_PREFIX
='${prefix}'
5855 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5860 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5861 if ${am_cv_python_platform+:} false
; then :
5862 $as_echo_n "(cached) " >&6
5864 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5867 $as_echo "$am_cv_python_platform" >&6; }
5868 PYTHON_PLATFORM
=$am_cv_python_platform
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5874 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5875 if ${am_cv_python_pythondir+:} false
; then :
5876 $as_echo_n "(cached) " >&6
5878 if test "x$prefix" = xNONE
5880 am_py_prefix
=$ac_default_prefix
5882 am_py_prefix
=$prefix
5884 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`
5885 case $am_cv_python_pythondir in
5887 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5888 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5891 case $am_py_prefix in
5894 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5902 $as_echo "$am_cv_python_pythondir" >&6; }
5903 pythondir
=$am_cv_python_pythondir
5907 pkgpythondir
=\
${pythondir}/$PACKAGE
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5911 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5912 if ${am_cv_python_pyexecdir+:} false
; then :
5913 $as_echo_n "(cached) " >&6
5915 if test "x$exec_prefix" = xNONE
5917 am_py_exec_prefix
=$am_py_prefix
5919 am_py_exec_prefix
=$exec_prefix
5921 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`
5922 case $am_cv_python_pyexecdir in
5923 $am_py_exec_prefix*)
5924 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5925 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5928 case $am_py_exec_prefix in
5931 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5939 $as_echo "$am_cv_python_pyexecdir" >&6; }
5940 pyexecdir
=$am_cv_python_pyexecdir
5944 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5962 # Check for some includes for the X11 HIDD and the kernel
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5966 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5967 if ${ac_cv_path_GREP+:} false
; then :
5968 $as_echo_n "(cached) " >&6
5970 if test -z "$GREP"; then
5971 ac_path_GREP_found
=false
5972 # Loop through the user's path and test for each of PROGNAME-LIST
5973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5974 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5977 test -z "$as_dir" && as_dir
=.
5978 for ac_prog
in grep ggrep
; do
5979 for ac_exec_ext
in '' $ac_executable_extensions; do
5980 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5981 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5982 # Check for GNU ac_path_GREP and select it if it is found.
5983 # Check for GNU $ac_path_GREP
5984 case `"$ac_path_GREP" --version 2>&1` in
5986 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5989 $as_echo_n 0123456789 >"conftest.in"
5992 cat "conftest.in" "conftest.in" >"conftest.tmp"
5993 mv "conftest.tmp" "conftest.in"
5994 cp "conftest.in" "conftest.nl"
5995 $as_echo 'GREP' >> "conftest.nl"
5996 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5997 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5998 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5999 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6000 # Best one so far, save it but keep looking for a better one
6001 ac_cv_path_GREP
="$ac_path_GREP"
6002 ac_path_GREP_max
=$ac_count
6004 # 10*(2^10) chars as input seems more than enough
6005 test $ac_count -gt 10 && break
6007 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6010 $ac_path_GREP_found && break 3
6015 if test -z "$ac_cv_path_GREP"; then
6016 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6019 ac_cv_path_GREP
=$GREP
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6024 $as_echo "$ac_cv_path_GREP" >&6; }
6025 GREP
="$ac_cv_path_GREP"
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6029 $as_echo_n "checking for egrep... " >&6; }
6030 if ${ac_cv_path_EGREP+:} false
; then :
6031 $as_echo_n "(cached) " >&6
6033 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6034 then ac_cv_path_EGREP
="$GREP -E"
6036 if test -z "$EGREP"; then
6037 ac_path_EGREP_found
=false
6038 # Loop through the user's path and test for each of PROGNAME-LIST
6039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6040 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6043 test -z "$as_dir" && as_dir
=.
6044 for ac_prog
in egrep; do
6045 for ac_exec_ext
in '' $ac_executable_extensions; do
6046 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6047 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6048 # Check for GNU ac_path_EGREP and select it if it is found.
6049 # Check for GNU $ac_path_EGREP
6050 case `"$ac_path_EGREP" --version 2>&1` in
6052 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6055 $as_echo_n 0123456789 >"conftest.in"
6058 cat "conftest.in" "conftest.in" >"conftest.tmp"
6059 mv "conftest.tmp" "conftest.in"
6060 cp "conftest.in" "conftest.nl"
6061 $as_echo 'EGREP' >> "conftest.nl"
6062 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6063 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6064 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6065 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6066 # Best one so far, save it but keep looking for a better one
6067 ac_cv_path_EGREP
="$ac_path_EGREP"
6068 ac_path_EGREP_max
=$ac_count
6070 # 10*(2^10) chars as input seems more than enough
6071 test $ac_count -gt 10 && break
6073 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6076 $ac_path_EGREP_found && break 3
6081 if test -z "$ac_cv_path_EGREP"; then
6082 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6085 ac_cv_path_EGREP
=$EGREP
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6091 $as_echo "$ac_cv_path_EGREP" >&6; }
6092 EGREP
="$ac_cv_path_EGREP"
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6096 $as_echo_n "checking for ANSI C header files... " >&6; }
6097 if ${ac_cv_header_stdc+:} false
; then :
6098 $as_echo_n "(cached) " >&6
6100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6101 /* end confdefs.h. */
6115 if ac_fn_c_try_compile
"$LINENO"; then :
6116 ac_cv_header_stdc
=yes
6118 ac_cv_header_stdc
=no
6120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6122 if test $ac_cv_header_stdc = yes; then
6123 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6125 /* end confdefs.h. */
6129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6130 $EGREP "memchr" >/dev
/null
2>&1; then :
6133 ac_cv_header_stdc
=no
6139 if test $ac_cv_header_stdc = yes; then
6140 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6142 /* end confdefs.h. */
6146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6147 $EGREP "free" >/dev
/null
2>&1; then :
6150 ac_cv_header_stdc
=no
6156 if test $ac_cv_header_stdc = yes; then
6157 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6158 if test "$cross_compiling" = yes; then :
6161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6162 /* end confdefs.h. */
6165 #if ((' ' & 0x0FF) == 0x020)
6166 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6167 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6169 # define ISLOWER(c) \
6170 (('a' <= (c) && (c) <= 'i') \
6171 || ('j' <= (c) && (c) <= 'r') \
6172 || ('s' <= (c) && (c) <= 'z'))
6173 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6176 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6181 for (i = 0; i < 256; i++)
6182 if (XOR (islower (i), ISLOWER (i))
6183 || toupper (i) != TOUPPER (i))
6188 if ac_fn_c_try_run
"$LINENO"; then :
6191 ac_cv_header_stdc
=no
6193 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6194 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6200 $as_echo "$ac_cv_header_stdc" >&6; }
6201 if test $ac_cv_header_stdc = yes; then
6203 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6207 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6208 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6209 inttypes.h stdint.h unistd.h
6211 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6212 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6214 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6215 cat >>confdefs.h
<<_ACEOF
6216 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6224 for ac_header
in sys
/ipc.h sys
/shm.h \
6225 sys
/mmap.h sys
/mman.h sysexits.h \
6226 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6229 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6230 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6231 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6232 cat >>confdefs.h
<<_ACEOF
6233 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6241 for ac_header
in sys
/mount.h
6243 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6245 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6246 cat >>confdefs.h
<<_ACEOF
6247 #define HAVE_SYS_MOUNT_H 1
6256 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6257 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6259 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6260 if eval \
${$as_ac_Header+:} false
; then :
6261 $as_echo_n "(cached) " >&6
6263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6264 /* end confdefs.h. */
6265 #include <sys/types.h>
6277 if ac_fn_c_try_compile
"$LINENO"; then :
6278 eval "$as_ac_Header=yes"
6280 eval "$as_ac_Header=no"
6282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6284 eval ac_res
=\$
$as_ac_Header
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6286 $as_echo "$ac_res" >&6; }
6287 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6288 cat >>confdefs.h
<<_ACEOF
6289 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6292 ac_header_dirent
=$ac_hdr; break
6296 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6297 if test $ac_header_dirent = dirent.h
; then
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6299 $as_echo_n "checking for library containing opendir... " >&6; }
6300 if ${ac_cv_search_opendir+:} false
; then :
6301 $as_echo_n "(cached) " >&6
6303 ac_func_search_save_LIBS
=$LIBS
6304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h. */
6307 /* Override any GCC internal prototype to avoid an error.
6308 Use char because int might match the return type of a GCC
6309 builtin and then its argument prototype would still apply. */
6322 for ac_lib
in '' dir
; do
6323 if test -z "$ac_lib"; then
6324 ac_res
="none required"
6327 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6329 if ac_fn_c_try_link
"$LINENO"; then :
6330 ac_cv_search_opendir
=$ac_res
6332 rm -f core conftest.err conftest.
$ac_objext \
6334 if ${ac_cv_search_opendir+:} false
; then :
6338 if ${ac_cv_search_opendir+:} false
; then :
6341 ac_cv_search_opendir
=no
6344 LIBS
=$ac_func_search_save_LIBS
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6347 $as_echo "$ac_cv_search_opendir" >&6; }
6348 ac_res
=$ac_cv_search_opendir
6349 if test "$ac_res" != no
; then :
6350 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6356 $as_echo_n "checking for library containing opendir... " >&6; }
6357 if ${ac_cv_search_opendir+:} false
; then :
6358 $as_echo_n "(cached) " >&6
6360 ac_func_search_save_LIBS
=$LIBS
6361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6362 /* end confdefs.h. */
6364 /* Override any GCC internal prototype to avoid an error.
6365 Use char because int might match the return type of a GCC
6366 builtin and then its argument prototype would still apply. */
6379 for ac_lib
in '' x
; do
6380 if test -z "$ac_lib"; then
6381 ac_res
="none required"
6384 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6386 if ac_fn_c_try_link
"$LINENO"; then :
6387 ac_cv_search_opendir
=$ac_res
6389 rm -f core conftest.err conftest.
$ac_objext \
6391 if ${ac_cv_search_opendir+:} false
; then :
6395 if ${ac_cv_search_opendir+:} false
; then :
6398 ac_cv_search_opendir
=no
6401 LIBS
=$ac_func_search_save_LIBS
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6404 $as_echo "$ac_cv_search_opendir" >&6; }
6405 ac_res
=$ac_cv_search_opendir
6406 if test "$ac_res" != no
; then :
6407 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6414 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6415 if ${ac_cv_header_stat_broken+:} false
; then :
6416 $as_echo_n "(cached) " >&6
6418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6419 /* end confdefs.h. */
6420 #include <sys/types.h>
6421 #include <sys/stat.h>
6423 #if defined S_ISBLK && defined S_IFDIR
6424 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6427 #if defined S_ISBLK && defined S_IFCHR
6428 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6431 #if defined S_ISLNK && defined S_IFREG
6432 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6435 #if defined S_ISSOCK && defined S_IFREG
6436 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6440 if ac_fn_c_try_compile
"$LINENO"; then :
6441 ac_cv_header_stat_broken
=no
6443 ac_cv_header_stat_broken
=yes
6445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6448 $as_echo "$ac_cv_header_stat_broken" >&6; }
6449 if test $ac_cv_header_stat_broken = yes; then
6451 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6456 $as_echo_n "checking for ANSI C header files... " >&6; }
6457 if ${ac_cv_header_stdc+:} false
; then :
6458 $as_echo_n "(cached) " >&6
6460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6461 /* end confdefs.h. */
6475 if ac_fn_c_try_compile
"$LINENO"; then :
6476 ac_cv_header_stdc
=yes
6478 ac_cv_header_stdc
=no
6480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6482 if test $ac_cv_header_stdc = yes; then
6483 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6485 /* end confdefs.h. */
6489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6490 $EGREP "memchr" >/dev
/null
2>&1; then :
6493 ac_cv_header_stdc
=no
6499 if test $ac_cv_header_stdc = yes; then
6500 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6502 /* end confdefs.h. */
6506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6507 $EGREP "free" >/dev
/null
2>&1; then :
6510 ac_cv_header_stdc
=no
6516 if test $ac_cv_header_stdc = yes; then
6517 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6518 if test "$cross_compiling" = yes; then :
6521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6522 /* end confdefs.h. */
6525 #if ((' ' & 0x0FF) == 0x020)
6526 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6527 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6529 # define ISLOWER(c) \
6530 (('a' <= (c) && (c) <= 'i') \
6531 || ('j' <= (c) && (c) <= 'r') \
6532 || ('s' <= (c) && (c) <= 'z'))
6533 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6536 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6541 for (i = 0; i < 256; i++)
6542 if (XOR (islower (i), ISLOWER (i))
6543 || toupper (i) != TOUPPER (i))
6548 if ac_fn_c_try_run
"$LINENO"; then :
6551 ac_cv_header_stdc
=no
6553 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6554 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6560 $as_echo "$ac_cv_header_stdc" >&6; }
6561 if test $ac_cv_header_stdc = yes; then
6563 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6568 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6569 if ${ac_cv_header_sys_wait_h+:} false
; then :
6570 $as_echo_n "(cached) " >&6
6572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6574 #include <sys/types.h>
6575 #include <sys/wait.h>
6577 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6580 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6588 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6593 if ac_fn_c_try_compile
"$LINENO"; then :
6594 ac_cv_header_sys_wait_h
=yes
6596 ac_cv_header_sys_wait_h
=no
6598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6601 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6602 if test $ac_cv_header_sys_wait_h = yes; then
6604 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6609 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6610 if ${ac_cv_header_time+:} false
; then :
6611 $as_echo_n "(cached) " >&6
6613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6614 /* end confdefs.h. */
6615 #include <sys/types.h>
6616 #include <sys/time.h>
6622 if ((struct tm *) 0)
6628 if ac_fn_c_try_compile
"$LINENO"; then :
6629 ac_cv_header_time
=yes
6631 ac_cv_header_time
=no
6633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6636 $as_echo "$ac_cv_header_time" >&6; }
6637 if test $ac_cv_header_time = yes; then
6639 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6643 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6644 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6646 cat >>confdefs.h
<<_ACEOF
6647 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6651 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6656 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6657 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6659 cat >>confdefs.h
<<_ACEOF
6660 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6664 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6667 case " $LIBOBJS " in
6668 *" fileblocks.$ac_objext "* ) ;;
6669 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6676 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6677 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6679 cat >>confdefs.h
<<_ACEOF
6680 #define HAVE_STRUCT_STAT_ST_RDEV 1
6684 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6690 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6691 if ${ac_cv_struct_tm+:} false
; then :
6692 $as_echo_n "(cached) " >&6
6694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6695 /* end confdefs.h. */
6696 #include <sys/types.h>
6703 int *p = &tm.tm_sec;
6709 if ac_fn_c_try_compile
"$LINENO"; then :
6710 ac_cv_struct_tm
=time.h
6712 ac_cv_struct_tm
=sys
/time.h
6714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6717 $as_echo "$ac_cv_struct_tm" >&6; }
6718 if test $ac_cv_struct_tm = sys
/time.h
; then
6720 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6724 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6725 #include <$ac_cv_struct_tm>
6728 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6730 cat >>confdefs.h
<<_ACEOF
6731 #define HAVE_STRUCT_TM_TM_ZONE 1
6737 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6739 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6742 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6744 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6750 cat >>confdefs.h
<<_ACEOF
6751 #define HAVE_DECL_TZNAME $ac_have_decl
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6755 $as_echo_n "checking for tzname... " >&6; }
6756 if ${ac_cv_var_tzname+:} false
; then :
6757 $as_echo_n "(cached) " >&6
6759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6760 /* end confdefs.h. */
6762 #if !HAVE_DECL_TZNAME
6763 extern char *tzname[];
6769 return tzname[0][0];
6774 if ac_fn_c_try_link
"$LINENO"; then :
6775 ac_cv_var_tzname
=yes
6779 rm -f core conftest.err conftest.
$ac_objext \
6780 conftest
$ac_exeext conftest.
$ac_ext
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6783 $as_echo "$ac_cv_var_tzname" >&6; }
6784 if test $ac_cv_var_tzname = yes; then
6786 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6791 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6792 if test "x$ac_cv_type_off_t" = xyes
; then :
6796 cat >>confdefs.h
<<_ACEOF
6797 #define off_t long int
6802 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6803 if test "x$ac_cv_type_pid_t" = xyes
; then :
6807 cat >>confdefs.h
<<_ACEOF
6813 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6814 if test "x$ac_cv_type_size_t" = xyes
; then :
6818 cat >>confdefs.h
<<_ACEOF
6819 #define size_t unsigned int
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6825 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6826 if ${ac_cv_type_uid_t+:} false
; then :
6827 $as_echo_n "(cached) " >&6
6829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6830 /* end confdefs.h. */
6831 #include <sys/types.h>
6834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6835 $EGREP "uid_t" >/dev
/null
2>&1; then :
6836 ac_cv_type_uid_t
=yes
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6844 $as_echo "$ac_cv_type_uid_t" >&6; }
6845 if test $ac_cv_type_uid_t = no
; then
6847 $as_echo "#define uid_t int" >>confdefs.h
6850 $as_echo "#define gid_t int" >>confdefs.h
6855 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6856 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6858 cat >>confdefs.h
<<_ACEOF
6859 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6866 # Look for some functions
6867 for ac_func
in getpagesize kqueue statfs statvfs \
6868 clone kse_create rfork_thread thr_create sa_register \
6869 getcontext makecontext setcontext sigaltstack swapcontext
6871 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6872 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6873 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6874 cat >>confdefs.h
<<_ACEOF
6875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6885 for ac_header
in $ac_header_list
6887 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6888 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6890 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6891 cat >>confdefs.h
<<_ACEOF
6892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6906 for ac_func
in getpagesize
6908 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6909 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6910 cat >>confdefs.h
<<_ACEOF
6911 #define HAVE_GETPAGESIZE 1
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6918 $as_echo_n "checking for working mmap... " >&6; }
6919 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6920 $as_echo_n "(cached) " >&6
6922 if test "$cross_compiling" = yes; then :
6923 ac_cv_func_mmap_fixed_mapped
=no
6925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6926 /* end confdefs.h. */
6927 $ac_includes_default
6928 /* malloc might have been renamed as rpl_malloc. */
6931 /* Thanks to Mike Haertel and Jim Avera for this test.
6932 Here is a matrix of mmap possibilities:
6933 mmap private not fixed
6934 mmap private fixed at somewhere currently unmapped
6935 mmap private fixed at somewhere already mapped
6936 mmap shared not fixed
6937 mmap shared fixed at somewhere currently unmapped
6938 mmap shared fixed at somewhere already mapped
6939 For private mappings, we should verify that changes cannot be read()
6940 back from the file, nor mmap's back from the file at a different
6941 address. (There have been systems where private was not correctly
6942 implemented like the infamous i386 svr4.0, and systems where the
6943 VM page cache was not coherent with the file system buffer cache
6944 like early versions of FreeBSD and possibly contemporary NetBSD.)
6945 For shared mappings, we should conversely verify that changes get
6946 propagated back to all the places they're supposed to be.
6948 Grep wants private fixed already mapped.
6949 The main things grep needs to know about mmap are:
6950 * does it exist and is it safe to write into the mmap'd area
6951 * how to use it (BSD variants) */
6954 #include <sys/mman.h>
6956 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6960 /* This mess was copied from the GNU getpagesize.h. */
6961 #ifndef HAVE_GETPAGESIZE
6962 # ifdef _SC_PAGESIZE
6963 # define getpagesize() sysconf(_SC_PAGESIZE)
6964 # else /* no _SC_PAGESIZE */
6965 # ifdef HAVE_SYS_PARAM_H
6966 # include <sys/param.h>
6967 # ifdef EXEC_PAGESIZE
6968 # define getpagesize() EXEC_PAGESIZE
6969 # else /* no EXEC_PAGESIZE */
6971 # define getpagesize() NBPG * CLSIZE
6974 # endif /* no CLSIZE */
6975 # else /* no NBPG */
6977 # define getpagesize() NBPC
6978 # else /* no NBPC */
6980 # define getpagesize() PAGESIZE
6981 # endif /* PAGESIZE */
6982 # endif /* no NBPC */
6983 # endif /* no NBPG */
6984 # endif /* no EXEC_PAGESIZE */
6985 # else /* no HAVE_SYS_PARAM_H */
6986 # define getpagesize() 8192 /* punt totally */
6987 # endif /* no HAVE_SYS_PARAM_H */
6988 # endif /* no _SC_PAGESIZE */
6990 #endif /* no HAVE_GETPAGESIZE */
6995 char *data, *data2, *data3;
7000 pagesize = getpagesize ();
7002 /* First, make a file with some known garbage in it. */
7003 data = (char *) malloc (pagesize);
7006 for (i = 0; i < pagesize; ++i)
7007 *(data + i) = rand ();
7009 fd = creat ("conftest.mmap", 0600);
7012 if (write (fd, data, pagesize) != pagesize)
7016 /* Next, check that the tail of a page is zero-filled. File must have
7017 non-zero length, otherwise we risk SIGBUS for entire page. */
7018 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7022 if (write (fd2, cdata2, 1) != 1)
7024 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7025 if (data2 == MAP_FAILED)
7027 for (i = 0; i < pagesize; ++i)
7031 if (munmap (data2, pagesize))
7034 /* Next, try to mmap the file at a fixed address which already has
7035 something else allocated at it. If we can, also make sure that
7036 we see the same garbage. */
7037 fd = open ("conftest.mmap", O_RDWR);
7040 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7041 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7043 for (i = 0; i < pagesize; ++i)
7044 if (*(data + i) != *(data2 + i))
7047 /* Finally, make sure that changes to the mapped area do not
7048 percolate back to the file as seen by read(). (This is a bug on
7049 some variants of i386 svr4.0.) */
7050 for (i = 0; i < pagesize; ++i)
7051 *(data2 + i) = *(data2 + i) + 1;
7052 data3 = (char *) malloc (pagesize);
7055 if (read (fd, data3, pagesize) != pagesize)
7057 for (i = 0; i < pagesize; ++i)
7058 if (*(data + i) != *(data3 + i))
7064 if ac_fn_c_try_run
"$LINENO"; then :
7065 ac_cv_func_mmap_fixed_mapped
=yes
7067 ac_cv_func_mmap_fixed_mapped
=no
7069 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7070 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7075 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7076 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7078 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7081 rm -f conftest.mmap conftest.txt
7086 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7087 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7088 aros_config_ldflags
=""
7090 aros_shared_default
=yes
7092 aros_shared_cflags
="-fPIC"
7093 aros_shared_aflags
=""
7094 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7095 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7097 aros_kernel_ar_flags
="cr"
7098 aros_target_ar_flags
="cr"
7099 aros_target_nm_flags
="-C -ul"
7100 aros_target_strip_flags
="--strip-unneeded -R.comment"
7105 aros_target_genmap
="-Wl,-Map -Xlinker"
7107 # Native flavour stuff
7108 aros_serial_debug
="0"
7110 # Palm native flavour stuff
7111 aros_palm_debug_hack
="0"
7113 # Unix flavour stuff
7114 aros_nesting_supervisor
="0"
7116 # Collect-aros stuff: "-ius" to ignore undefined symbols
7117 ignore_undefined_symbols
=""
7119 # Check for X11 by default
7122 #-----------------------------------------------------------------------------
7125 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7126 # it switched on by default, and we use the host compiler, so it compiles AROS
7127 # code with this enabled resulting in link failures as we don't have support
7130 # We use two methods to disable it. For the host compiler (used to compile
7131 # some hosted modules), we test to see if the compiler supports stack
7132 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7133 # work on all platforms.
7135 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7136 # (this is done unconditionally, as it should have no effect on compilers
7137 # without the stack protection feature). This may be specific to the way that
7138 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7139 # strong enough to disable it in a generic way though, so we'll live with it
7140 # until another vendor ships GCC with it enabled in a different way, and deal
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7145 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7146 save_cflags
="$CFLAGS"
7147 CFLAGS
="$CFLAGS -fno-stack-protector"
7148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7149 /* end confdefs.h. */
7159 if ac_fn_c_try_compile
"$LINENO"; then :
7160 use_no_stack_protector
="yes"
7162 use_no_stack_protector
="no"
7164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7166 $as_echo "$use_no_stack_protector" >&6; }
7167 if test "x-$use_no_stack_protector" = "x-yes" ; then
7168 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7170 CFLAGS
="$save_cflags"
7172 #-----------------------------------------------------------------------------
7174 # Disable pointer-signedness warnings if the compiler recognises the option
7175 # (this only works for the host compiler at the moment)
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7178 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7179 save_cflags
="$CFLAGS"
7180 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7182 /* end confdefs.h. */
7192 if ac_fn_c_try_compile
"$LINENO"; then :
7193 use_no_sign_warning
="yes"
7195 use_no_sign_warning
="no"
7197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7199 $as_echo "$use_no_sign_warning" >&6; }
7200 if test "x-$use_no_sign_warning" = "x-yes" ; then
7201 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7203 CFLAGS
="$save_cflags"
7205 #-----------------------------------------------------------------------------
7207 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7210 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7211 save_cflags
="$CFLAGS"
7212 CFLAGS
="$CFLAGS -fgnu89-inline"
7213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7214 /* end confdefs.h. */
7224 if ac_fn_c_try_compile
"$LINENO"; then :
7225 use_gnu89_inline
="yes"
7227 use_gnu89_inline
="no"
7229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7231 $as_echo "$use_gnu89_inline" >&6; }
7232 if test "x-$use_gnu89_inline" = "x-yes" ; then
7233 gnu89_inline
="-fgnu89-inline"
7235 CFLAGS
="$save_cflags"
7237 #-----------------------------------------------------------------------------
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7240 $as_echo_n "checking for type of build... " >&6; }
7241 # Check whether --enable-build_type was given.
7242 if test "${enable_build_type+set}" = set; then :
7243 enableval
=$enable_build_type; build_type
=$enableval
7245 build_type
="personal"
7249 if test "$build_type" = "nightly"; then
7250 build_type_string
="NIGHTLY"
7251 elif test "$build_type" = "snapshot"; then
7252 build_type_string
="SNAPSHOT"
7253 elif test "$build_type" = "milestone"; then
7254 build_type_string
="MILESTONE"
7255 elif test "$build_type" = "release"; then
7256 build_type_string
="RELEASE"
7258 build_type_string
="PERSONAL"
7259 build_type
="personal"
7262 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7265 $as_echo "$build_type" >&6; }
7267 #-----------------------------------------------------------------------------
7268 all_debug_types
="messages stack modules mungwall symbols"
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7271 $as_echo_n "checking which debug types to enable... " >&6; }
7272 # Check whether --enable-debug was given.
7273 if test "${enable_debug+set}" = set; then :
7274 enableval
=$enable_debug; debug
="$enableval"
7280 if test "$debug" = "" -o "$debug" = "no"; then
7282 elif test "$debug" = "yes"; then
7286 if test "$debug" = "all" ; then
7287 debug
="messages stack modules symbols"
7288 for d
in $all_debug_types; do
7289 export aros_
${d}_debug
="1"
7292 for d
in $all_debug_types; do
7293 export aros_
${d}_debug
="0"
7297 if test "$debug" != "none"; then
7298 debug
=`echo $debug | sed s/,/\ /g`
7301 for d2
in $all_debug_types; do
7302 if test "$d2" = "$d"; then
7307 if test "$found" = "0"; then
7308 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7310 export aros_
${d}_debug
="1"
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7315 $as_echo "$debug" >&6; }
7317 if test "$aros_messages_debug" = "1"; then
7318 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7320 aros_messages_debug
=""
7322 if test "$aros_symbols_debug" = "1"; then
7323 aros_symbols_debug
="-g"
7325 aros_symbols_debug
=""
7328 # These are the flags to pass when compiling debugged programs
7329 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7330 aros_debug_aflags
=""
7331 aros_debug_ldflags
="$aros_symbols_debug"
7333 #-----------------------------------------------------------------------------
7334 # Checking for distcc and ccache.
7336 # Always apply the transforms in this particular order. Basically you should
7337 # always run 'ccache distcc compiler' in that order for the best performance.
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7340 $as_echo_n "checking whether to enable distcc... " >&6; }
7341 # Check whether --enable-distcc was given.
7342 if test "${enable_distcc+set}" = set; then :
7343 enableval
=$enable_distcc; distcc
="$enableval"
7348 if test "$distcc" != "" -a "$distcc" != "no"; then
7349 # AC_CHECK_PROG will print out the result in this case
7350 # Extract the first word of "distcc", so it can be a program name with args.
7351 set dummy distcc
; ac_word
=$2
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7353 $as_echo_n "checking for $ac_word... " >&6; }
7354 if ${ac_cv_path_DISTCC+:} false
; then :
7355 $as_echo_n "(cached) " >&6
7359 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7366 test -z "$as_dir" && as_dir
=.
7367 for ac_exec_ext
in '' $ac_executable_extensions; do
7368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7369 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7377 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7381 DISTCC
=$ac_cv_path_DISTCC
7382 if test -n "$DISTCC"; then
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7384 $as_echo "$DISTCC" >&6; }
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7387 $as_echo "no" >&6; }
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7397 $as_echo_n "checking whether to enable ccache... " >&6; }
7398 # Check whether --enable-ccache was given.
7399 if test "${enable_ccache+set}" = set; then :
7400 enableval
=$enable_ccache; ccache
="$enableval"
7405 if test "$ccache" != "" -a "$ccache" != "no"; then
7406 # AC_CHECK_PROG will print out the result in this case
7407 # Extract the first word of "ccache", so it can be a program name with args.
7408 set dummy ccache
; ac_word
=$2
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7410 $as_echo_n "checking for $ac_word... " >&6; }
7411 if ${ac_cv_prog_CCACHE+:} false
; then :
7412 $as_echo_n "(cached) " >&6
7414 if test -n "$CCACHE"; then
7415 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7421 test -z "$as_dir" && as_dir
=.
7422 for ac_exec_ext
in '' $ac_executable_extensions; do
7423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7424 ac_cv_prog_CCACHE
="ccache"
7425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 CCACHE
=$ac_cv_prog_CCACHE
7435 if test -n "$CCACHE"; then
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7437 $as_echo "$CCACHE" >&6; }
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7440 $as_echo "no" >&6; }
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7449 #-----------------------------------------------------------------------------
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7451 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7453 # Check whether --with-gcc-version was given.
7454 if test "${with_gcc_version+set}" = set; then :
7455 withval
=$with_gcc_version; kernel_tool_version
="$withval"
7457 kernel_tool_version
="default"
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7461 $as_echo "$kernel_tool_version" >&6; }
7463 #-----------------------------------------------------------------------------
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7465 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7467 # Check whether --with-gcc-version was given.
7468 if test "${with_gcc_version+set}" = set; then :
7469 withval
=$with_gcc_version; target_tool_version
="$withval"
7471 target_tool_version
="default"
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7475 $as_echo "$target_tool_version" >&6; }
7477 #-----------------------------------------------------------------------------
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7479 $as_echo_n "checking what optimization flags to use... " >&6; }
7481 # Check whether --with-optimization was given.
7482 if test "${with_optimization+set}" = set; then :
7483 withval
=$with_optimization; optimization
="$withval"
7485 optimization
="unknown"
7488 if test "$optimization" = "unknown"; then
7489 if test "$debug" != "none"; then
7495 aros_config_cflags
="$aros_config_cflags $optimization"
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7497 $as_echo "$optimization" >&6; }
7499 #-----------------------------------------------------------------------------
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7501 $as_echo_n "checking what paranoia flags to use... " >&6; }
7503 # Check whether --with-paranoia was given.
7504 if test "${with_paranoia+set}" = set; then :
7505 withval
=$with_paranoia; paranoia_flags
="$withval"
7507 paranoia_flags
="default"
7510 if test "$paranoia_flags" = "default"; then
7512 else if test "$paranoia_flags" = "yes"; then
7513 paranoia_flags
="-Wall -Werror"
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7516 $as_echo "$paranoia_flags" >&6; }
7517 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7519 #-----------------------------------------------------------------------------
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7521 $as_echo_n "checking what target variant to enable... " >&6; }
7522 # Check whether --enable-target_variant was given.
7523 if test "${enable_target_variant+set}" = set; then :
7524 enableval
=$enable_target_variant; target_variant
=$enableval
7529 if test "$target_variant" = ""; then
7530 aros_target_variant
=""
7531 aros_target_suffix
=""
7534 aros_target_variant
="$target_variant"
7535 aros_target_suffix
="-$target_variant"
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7538 $as_echo "$enableval" >&6; }
7540 #-----------------------------------------------------------------------------
7541 # Target-specific defaults. You can override then on a per-target basis.
7543 # Bootloader name. Currently used by PC target.
7544 target_bootloader
="none"
7546 #-----------------------------------------------------------------------------
7547 # Additional options for some specific targets
7549 case "$aros_target_variant" in
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7552 $as_echo_n "checking XCode path... " >&6; }
7554 # Check whether --with-xcode was given.
7555 if test "${with_xcode+set}" = set; then :
7556 withval
=$with_xcode; aros_xcode_path
="$withval"
7558 aros_xcode_path
="/Developer"
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7562 $as_echo "$aros_xcode_path" >&6; }
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7565 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7567 # Check whether --with-sdk-version was given.
7568 if test "${with_sdk_version+set}" = set; then :
7569 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7571 aros_sdk_version
="4.1"
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7575 $as_echo "$aros_sdk_version" >&6; }
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7581 $as_echo_n "checking Android SDK path... " >&6; }
7583 # Check whether --with-sdk was given.
7584 if test "${with_sdk+set}" = set; then :
7585 withval
=$with_sdk; aros_android_sdk
="$withval"
7587 aros_android_sdk
=$default_android_sdk
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7591 $as_echo "$aros_android_sdk" >&6; }
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7594 $as_echo_n "checking Android NDK path... " >&6; }
7596 # Check whether --with-ndk was given.
7597 if test "${with_ndk+set}" = set; then :
7598 withval
=$with_ndk; aros_android_ndk
="$withval"
7600 aros_android_ndk
="none"
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7604 $as_echo "$aros_android_ndk" >&6; }
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7607 $as_echo_n "checking what Android SDK version to use... " >&6; }
7609 # Check whether --with-sdk-version was given.
7610 if test "${with_sdk_version+set}" = set; then :
7611 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7613 aros_sdk_version
="12"
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7617 $as_echo "$aros_sdk_version" >&6; }
7619 if test "$aros_android_ndk" != "none"; then
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7621 $as_echo_n "checking what Android NDK version to use... " >&6; }
7623 # Check whether --with-ndk-version was given.
7624 if test "${with_ndk_version+set}" = set; then :
7625 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7627 aros_ndk_version
="9"
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7631 $as_echo "$aros_ndk_version" >&6; }
7634 export PATH
="$aros_android_sdk/tools:$PATH"
7635 # Extract the first word of "$android_tool", so it can be a program name with args.
7636 set dummy
$android_tool; ac_word
=$2
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7638 $as_echo_n "checking for $ac_word... " >&6; }
7639 if ${ac_cv_path_android_tool+:} false
; then :
7640 $as_echo_n "(cached) " >&6
7642 case $android_tool in
7644 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7651 test -z "$as_dir" && as_dir
=.
7652 for ac_exec_ext
in '' $ac_executable_extensions; do
7653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7654 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7665 android_tool
=$ac_cv_path_android_tool
7666 if test -n "$android_tool"; then
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7668 $as_echo "$android_tool" >&6; }
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7671 $as_echo "no" >&6; }
7675 if test "$android_tool" = ""; then
7676 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7679 aros_android_level
=android-
$aros_sdk_version
7680 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7681 echo "Platform $aros_android_level is not installed in your SDK"
7682 echo "Use --with-sdk-version=<API level number> to select another platform version"
7683 echo "You can check what plaform versions are installed in your SDK"
7684 echo "by examining contents of $aros_android_sdk/platforms directory"
7685 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7688 # Extract the first word of "ant", so it can be a program name with args.
7689 set dummy ant
; ac_word
=$2
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7691 $as_echo_n "checking for $ac_word... " >&6; }
7692 if ${ac_cv_path_ant+:} false
; then :
7693 $as_echo_n "(cached) " >&6
7697 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7704 test -z "$as_dir" && as_dir
=.
7705 for ac_exec_ext
in '' $ac_executable_extensions; do
7706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7707 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7719 if test -n "$ant"; then
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7721 $as_echo "$ant" >&6; }
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7724 $as_echo "no" >&6; }
7728 if test "$ant" = ""; then
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7730 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7733 if test "$host_os" = "mingw32"; then
7734 android_tool
="cmd //c $android_tool"
7740 #-----------------------------------------------------------------------------
7741 # External toolchains
7742 kernel_tool_prefix
="none"
7743 aros_tool_prefix
="none"
7744 elf_tool_prefix
="${target_cpu}-elf-"
7746 # This is the target configuration switch.
7747 case "$target_os" in
7749 aros_target_arch
="linux"
7750 aros_target_family
="unix"
7751 case "$target_cpu" in
7753 aros_target_cpu
="m68k"
7754 aros_object_format
="m68kelf"
7755 aros_flavour
="emulcompat"
7756 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7757 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7758 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7759 gcc_target_cpu
="mc68000"
7762 aros_target_cpu
="i386"
7763 aros_object_format
="elf_i386"
7764 aros_flavour
="emulation"
7765 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7766 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7767 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7768 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7769 aros_config_ldflags
="-m32 -march=i486"
7770 aros_kernel_ldflags
="-melf_i386"
7771 aros_default_wbdepth
=8
7772 gcc_target_cpu
="i386"
7773 pci_hidd_target
="hidd-pci-linux"
7774 android_tool_dir_prefix
="x86"
7775 android_tool_prefix
="i686-android-linux"
7776 android_ndk_arch
="x86"
7779 aros_target_cpu
="x86_64"
7780 aros_object_format
="elf_x86_64"
7781 aros_flavour
="emulation"
7782 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7783 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7784 aros_default_wbdepth
=8
7785 pci_hidd_target
="hidd-pci-linux"
7788 aros_target_cpu
="ppc"
7789 aros_object_format
="elf32ppc"
7790 aros_flavour
="emulation"
7791 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7792 aros_default_wbdepth
=8
7793 gcc_target_cpu
="ppc"
7796 # Same as powerpc, but I need this for the nightly build to work again.
7797 # Actually, the nightly should be made working with powerpc target.
7798 # That just was too much work for the moment, another week or two.
7800 aros_target_cpu
="ppc"
7801 aros_object_format
="elf32ppc"
7802 aros_flavour
="emulation"
7803 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7804 aros_default_wbdepth
=8
7805 gcc_target_cpu
="ppc"
7808 aros_target_cpu
="arm"
7810 aros_object_format
="armelf_linux_eabi"
7811 aros_flavour
="emulation"
7812 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7813 gcc_target_cpu
="arm"
7814 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7815 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7816 aros_arch_libs
="-laeabi"
7817 gcc_default_fpu
="vfpv3-d16"
7818 gcc_default_float_abi
="hard"
7819 gcc_default_cpu
="armv7-a"
7820 android_tool_dir_prefix
="arm-linux-androideabi"
7821 android_tool_prefix
="arm-linux-androideabi"
7822 android_ndk_arch
="arm"
7823 kernel_tool_prefix
="arm-linux-gnueabihf-"
7826 aros_target_cpu
="arm"
7827 aros_object_format
="armelf_linux_eabi"
7828 aros_flavour
="emulation"
7829 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7830 gcc_target_cpu
="arm"
7831 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7832 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7833 aros_arch_libs
="-laeabi"
7834 android_tool_dir_prefix
="arm-linux-androideabi"
7835 android_tool_prefix
="arm-linux-androideabi"
7836 android_ndk_arch
="arm"
7837 kernel_tool_prefix
="arm-linux-gnueabi-"
7840 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7843 case "$aros_target_variant" in
7846 if test "$android_ndk_arch" = ""; then
7847 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7850 aros_default_wbwidth
=320
7851 aros_default_wbheight
=480
7852 if test "$aros_android_ndk" = "none"; then
7853 aros_kernel_cflags
="-mandroid"
7854 aros_kernel_ldflags
="-mandroid"
7857 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7858 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7859 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7860 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7861 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7862 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7865 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7866 # Disable implicit PIC mode
7867 aros_target_cflags
="$aros_target_cflags -fno-pic"
7868 kernel_tool_prefix
="$android_tool_prefix-"
7874 aros_target_arch
="pc"
7875 aros_shared_default
="no"
7876 target_bootloader
="grub2"
7877 case "$target_cpu" in
7879 aros_target_cpu
="i386"
7882 if test "$aros_object_format" = "" ; then
7883 aros_object_format
="elf_i386"
7885 aros_flavour
="standalone"
7886 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7887 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7888 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7889 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7890 aros_config_ldflags
="-m32 -march=i486"
7891 aros_kernel_ldflags
="-melf_i386"
7892 aros_default_wbwidth
=640
7893 aros_default_wbheight
=480
7894 gcc_target_cpu
="i386"
7897 aros_target_cpu
="x86_64"
7899 if test "$aros_object_format" = "" ; then
7900 aros_object_format
="elf_x86_64"
7902 aros_flavour
="standalone"
7903 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7904 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7905 aros_kernel_ldflags
=""
7906 aros_default_wbwidth
=640
7907 aros_default_wbheight
=480
7910 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7916 aros_target_arch
="prep"
7917 aros_shared_default
="no"
7918 aros_target_cpu
="ppc"
7919 aros_object_format
="elf32ppc"
7920 aros_flavour
="ppcnative"
7921 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7922 aros_kernel_ldflags
=""
7923 aros_default_wbwidth
=640
7924 aros_default_wbheight
=480
7925 gcc_target_cpu
="ppc"
7929 aros_target_arch
="freebsd"
7930 aros_target_family
="unix"
7931 aros_target_cpu
="i386"
7932 aros_flavour
="emulation"
7933 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7934 gcc_target_cpu
="i386"
7936 aros_target_strip_flags
="-x"
7940 aros_target_arch
="darwin"
7941 aros_target_family
="unix"
7942 aros_flavour
="emulation"
7943 case "$target_cpu" in
7945 aros_ios_platform
="iPhoneSimulator"
7946 aros_target_cpu
="i386"
7947 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7948 aros_kernel_ldflags
=""
7949 aros_macosx_version
="10.4"
7950 aros_default_wbdepth
=8
7951 gcc_target_cpu
="i386"
7952 aros_object_format
="elf_i386"
7953 aros_kernel_ar_flags
="-cr"
7954 aros_target_strip_flags
="-x"
7955 kernel_tool_flags
="-m32"
7958 aros_target_cpu
="x86_64"
7959 aros_object_format
="elf_x86_64"
7960 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7961 aros_macosx_version
="10.6"
7962 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7963 aros_kernel_cflags
="-m64"
7964 aros_kernel_ldflags
="-m64"
7965 aros_target_cflags
="-mcmodel=large"
7966 aros_default_wbdepth
=8
7968 aros_kernel_ar_flags
="-cr"
7970 aros_kernel_ranlib
="ranlib"
7973 aros_target_cpu
="ppc"
7974 aros_object_format
="elf32ppc"
7975 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7976 aros_kernel_ldflags
=""
7977 aros_macosx_version
="10.0"
7978 aros_default_wbdepth
=8
7979 gcc_target_cpu
="ppc"
7981 aros_kernel_ar_flags
="-cr"
7982 aros_kernel_ld
="ld -arch ppc"
7983 aros_kernel_ranlib
="ranlib -arch ppc"
7984 kernel_tool_prefix
="powerpc-apple-darwin10-"
7987 aros_ios_platform
="iPhoneOS"
7988 aros_target_cpu
="arm"
7989 aros_object_format
="armelf_linux_eabi"
7990 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7991 aros_arch_libs
="-laeabi"
7992 aros_default_wbdepth
=8
7993 gcc_target_cpu
="arm"
7995 aros_kernel_ar_flags
="-cr"
7996 aros_kernel_ld
="ld -arch arm"
7997 aros_kernel_ranlib
="ranlib -arch arm"
7998 kernel_tool_prefix
="arm-apple-darwin10-"
7999 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8002 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8005 case "$aros_target_variant" in
8007 aros_ios_version
="3.0"
8008 aros_default_wbwidth
=320
8009 aros_default_wbheight
=480
8010 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8011 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8012 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8014 # This is here because it may depend on iOS or SDK version
8015 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8016 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8017 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8020 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8021 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8027 aros_target_arch
="dragonfly"
8028 aros_target_family
="unix"
8029 aros_flavour
="emulation"
8030 case "$target_cpu" in
8032 aros_target_cpu
="i386"
8033 aros_object_format
="elf_i386"
8034 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8037 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8038 aros_target_cpu
="x86_64"
8039 aros_object_format
="elf_x86_64"
8040 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8043 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8049 aros_target_arch
="netbsd"
8050 aros_target_family
="unix"
8051 case "$target_cpu" in
8053 aros_target_cpu
="m68k"
8054 aros_object_format
="m68kelf"
8055 aros_flavour
="emulcompat"
8056 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8057 gcc_target_cpu
="mc68000"
8060 aros_target_cpu
="i386"
8061 aros_object_format
="elf_i386"
8062 aros_flavour
="emulation"
8063 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8064 aros_default_wbdepth
=8
8065 gcc_target_cpu
="i386"
8068 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8071 aros_target_genmap
="-Wl,-M -Xlinker >"
8072 aros_flavour
="emulation"
8073 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8077 aros_target_arch
="openbsd"
8078 aros_target_family
="unix"
8079 case "$target_cpu" in
8081 aros_target_cpu
="i386"
8082 aros_object_format
="elf_i386"
8083 aros_flavour
="emulation"
8084 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8085 gcc_target_cpu
="i386"
8088 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8091 aros_target_genmap
="-Wl,-M -Xlinker >"
8092 aros_target_nm_flags
="-u"
8093 aros_flavour
="emulation"
8097 aros_target_arch
="solaris"
8098 aros_target_family
="unix"
8099 case "$target_cpu" in
8101 aros_target_cpu
="i386"
8102 aros_object_format
="elf_i386"
8103 aros_flavour
="emulation"
8104 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8105 aros_default_wbdepth
=8
8106 gcc_target_cpu
="i386"
8109 aros_target_cpu
="sparc"
8110 aros_object_format
="elf_sparc"
8111 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8112 gcc_target_cpu
="sparc"
8115 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8118 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8119 aros_flavour
="emulation"
8123 aros_target_arch
="morphos"
8124 aros_shared_default
="no"
8125 aros_target_cpu
="ppc"
8126 aros_object_format
="elf_ppc"
8127 aros_flavour
="nativecompat"
8128 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8129 gcc_target_cpu
="ppc"
8133 aros_target_arch
="sam440"
8134 aros_shared_default
="no"
8135 aros_target_cpu
="ppc"
8136 aros_object_format
="elf32ppc"
8137 aros_flavour
="ppcnative"
8138 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8139 aros_kernel_ldflags
=""
8140 aros_default_wbwidth
=1024
8141 aros_default_wbheight
=768
8142 aros_default_wbdepth
=24
8143 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8144 gcc_target_cpu
="powerpc"
8148 aros_target_arch
="efika"
8149 aros_shared_default
="no"
8150 aros_target_cpu
="arm"
8151 aros_object_format
="armelf_linux_eabi"
8152 aros_flavour
="standalone"
8153 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8154 aros_kernel_ldflags
=""
8155 aros_default_wbwidth
=1024
8156 aros_default_wbheight
=600
8157 aros_arch_libs
="-laeabi"
8158 gcc_default_cpu
="armv7-a"
8159 gcc_default_fpu
="vfpv3"
8160 gcc_default_float_abi
="softfp"
8161 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8162 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8166 aros_target_arch
="chrp"
8167 aros_shared_default
="no"
8168 aros_target_cpu
="ppc"
8169 aros_object_format
="elf32ppc"
8170 aros_flavour
="ppcnative"
8171 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8172 aros_kernel_ldflags
=""
8173 aros_default_wbwidth
=640
8174 aros_default_wbheight
=480
8175 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8176 gcc_target_cpu
="powerpc"
8177 case "$aros_target_variant" in
8179 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8185 aros_target_arch
="amiga"
8186 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8187 aros_shared_default
="no"
8189 case "$target_cpu" in
8191 # Check whether --enable-amigaos_compliance was given.
8192 if test "${enable_amigaos_compliance+set}" = set; then :
8193 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8197 aros_target_cpu
="m68k"
8198 aros_object_format
="m68kelf"
8199 aros_flavour
="standcompat"
8200 gcc_target_cpu
="m68000"
8201 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -Os"
8202 aros_config_aflags
="$aros_config_aflags"
8203 aros_target_strip_flags
="-R.comment --strip-debug"
8204 aros_default_wbwidth
=640
8205 aros_default_wbheight
=256
8206 aros_default_wbdepth
=2
8210 aros_flavour
="native"
8211 gcc_target_cpu
="ppc"
8214 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8220 aros_target_arch
="mingw32"
8221 aros_shared_default
="no"
8222 aros_flavour
="emulation"
8223 aros_shared_cflags
=""
8224 need_crosstools
="yes"
8227 case "$target_cpu" in
8229 aros_target_cpu
="i386"
8230 aros_object_format
="elf_i386"
8231 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8232 aros_default_wbdepth
=8
8233 gcc_target_cpu
="i386"
8235 kernel_tool_prefix
="i386-mingw32-"
8238 aros_target_cpu
="x86_64"
8239 aros_object_format
="elf_x86_64"
8240 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8241 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8242 aros_default_wbdepth
=8
8243 kernel_tool_prefix
="x86_64-w64-mingw32-"
8246 aros_target_cpu
="arm"
8247 aros_object_format
="armelf_linux_eabi"
8248 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8249 aros_arch_libs
="-laeabi"
8250 aros_default_wbdepth
=8
8251 gcc_target_cpu
="arm"
8252 gcc_default_float_abi
="soft"
8253 kernel_tool_prefix
="arm-mingw32ce-"
8254 aros_default_wbwidth
=160
8255 aros_default_wbheight
=160
8258 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8261 if test $host_os = "cygwin"; then
8262 aros_kernel_cflags
="-mno-cygwin"
8266 aros_target_arch
="pp"
8267 aros_shared_default
="no"
8268 case "$target_cpu" in
8270 aros_target_cpu
="m68k"
8271 aros_object_format
="m68kelf"
8272 aros_flavour
="palmnative"
8273 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8274 aros_default_wbwidth
=160
8275 aros_default_wbheight
=160
8276 aros_default_wbdepth
=1
8277 aros_target_ar_flags
="cru"
8278 aros_compiler_libs
="-lgcc1"
8279 aros_shared_default
=no
8280 aros_shared_cflags
="-fpic"
8281 aros_shared_aflags
=""
8282 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8283 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8284 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8285 aros_debug_aflags
=""
8286 aros_debug_ldflags
="$aros_symbols_debug"
8287 aros_mungwall_debug
="0"
8288 aros_modules_debug
="0"
8289 gcc_target_cpu
="mc68000"
8290 ignore_undefined_symbols
="-ius"
8293 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8299 aros_target_arch
="mac"
8300 aros_shared_default
="no"
8301 case "$target_cpu" in
8303 aros_target_cpu
="m68k"
8304 aros_object_format
="m68kelf"
8305 aros_flavour
="mac68knative"
8306 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8307 aros_default_wbwidth
=512
8308 aros_default_wbheight
=384
8309 aros_default_wbdepth
=8
8310 aros_target_ar_flags
="cru"
8311 aros_compiler_libs
="-lgcc1"
8312 aros_shared_default
=no
8313 aros_shared_cflags
="-fpic"
8314 aros_shared_aflags
=""
8315 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8316 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8317 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8318 aros_debug_aflags
=""
8319 aros_debug_ldflags
="$aros_symbols_debug"
8320 aros_mungwall_debug
="0"
8321 aros_modules_debug
="0"
8322 gcc_target_cpu
="mc68000"
8323 ignore_undefined_symbols
="-ius"
8326 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8332 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8336 #-----------------------------------------------------------------------------
8337 crosstools_guess
=yes
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8340 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8342 # Check whether --with-kernel-toolchain-prefix was given.
8343 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8344 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8348 $as_echo "$kernel_tool_prefix" >&6; }
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8351 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8353 # Check whether --with-elf-toolchain-prefix was given.
8354 if test "${with_elf_toolchain_prefix+set}" = set; then :
8355 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8360 $as_echo "$elf_tool_prefix" >&6; }
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8363 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8365 # Check whether --with-aros-toolchain was given.
8366 if test "${with_aros_toolchain+set}" = set; then :
8367 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8371 if test "$aros_tool_prefix" = "yes" ; then
8372 aros_tool_prefix
=$aros_target_cpu-aros-
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8375 $as_echo "$aros_tool_prefix" >&6; }
8377 #-----------------------------------------------------------------------------
8378 # Checking if we should build crosstools..
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8380 $as_echo_n "checking whether to build crosstools... " >&6; }
8381 # Check whether --enable-crosstools was given.
8382 if test "${enable_crosstools+set}" = set; then :
8383 enableval
=$enable_crosstools; crosstools
="$enableval"
8385 crosstools
="$crosstools_guess"
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8389 $as_echo "$crosstools" >&6; }
8391 if test "${crosstools}" = "yes"; then
8392 if test "${crosstools_guess}" = "no"; then
8393 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8398 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8400 # Check whether --with-aros-toolchain-install was given.
8401 if test "${with_aros_toolchain_install+set}" = set; then :
8402 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8405 if test "x$aros_toolchain_install" = "x"; then
8406 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8408 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8409 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8412 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8415 # Now process extra architecture-specific options.
8416 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8417 # as well as floating-point ABI.
8418 case "$aros_target_cpu" in
8420 if test "$gcc_default_cpu" = ""; then
8421 gcc_default_cpu
="armv6"
8423 if test "$gcc_default_fpu" = ""; then
8424 gcc_default_fpu
="vfp"
8426 if test "$gcc_default_float_abi" = ""; then
8427 gcc_default_float_abi
="softfp"
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8431 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8433 # Check whether --with-cpu was given.
8434 if test "${with_cpu+set}" = set; then :
8435 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8437 aros_gcc_cpu
=$gcc_default_cpu
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8441 $as_echo "$aros_gcc_cpu" >&6; }
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8444 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8446 # Check whether --with-fpu was given.
8447 if test "${with_fpu+set}" = set; then :
8448 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8450 aros_gcc_fpu
=$gcc_default_fpu
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8454 $as_echo "$aros_gcc_fpu" >&6; }
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8457 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8459 # Check whether --with-float was given.
8460 if test "${with_float+set}" = set; then :
8461 withval
=$with_float; aros_gcc_float_abi
="$withval"
8463 aros_gcc_float_abi
=$gcc_default_float_abi
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8467 $as_echo "$aros_gcc_float_abi" >&6; }
8469 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"
8470 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"
8474 # Some formats need custom ELF specs.
8475 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8476 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8477 elf_specs_in
=config
/${aros_object_format}-specs.
in
8479 elf_specs_in
=config
/elf-specs.
in
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8483 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8485 # Check whether --with-aros-gcc was given.
8486 if test "${with_aros_gcc+set}" = set; then :
8487 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8493 $as_echo "$aros_gcc_version" >&6; }
8495 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8496 # Since we override specs, we may need to put these defines there
8497 if test "$gcc_target_cpu" != ""; then
8498 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8502 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8504 # Check whether --with-portssources was given.
8505 if test "${with_portssources+set}" = set; then :
8506 withval
=$with_portssources; with_portssrcdir
=$withval
8508 with_portssrcdir
="default"
8511 if test "$with_portssrcdir" = "default"; then
8512 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8514 AROS_PORTSSRCDIR
="$with_portssrcdir"
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8517 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8520 $as_echo_n "checking which bootloader to use... " >&6; }
8522 # Check whether --with-bootloader was given.
8523 if test "${with_bootloader+set}" = set; then :
8524 withval
=$with_bootloader; target_bootloader
=$withval
8526 target_bootloader
=$target_bootloader
8529 if test "$target_bootloader" = "none"; then
8530 aros_target_bootloader
=""
8532 aros_target_bootloader
="$target_bootloader"
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8535 $as_echo "$target_bootloader" >&6; }
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8538 $as_echo_n "checking which icon-set to use... " >&6; }
8540 # Check whether --with-iconset was given.
8541 if test "${with_iconset+set}" = set; then :
8542 withval
=$with_iconset; target_iconset
=$withval
8544 target_iconset
="default"
8547 if test "$target_iconset" = "default"; then
8548 aros_target_iconset
="Gorilla"
8549 target_iconset
="default (Gorilla)"
8551 aros_target_iconset
="$target_iconset"
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8554 $as_echo "$target_iconset" >&6; }
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8557 $as_echo_n "checking which GUI Theme to use... " >&6; }
8559 # Check whether --with-theme was given.
8560 if test "${with_theme+set}" = set; then :
8561 withval
=$with_theme; target_guitheme
=$withval
8563 target_guitheme
="default"
8566 if test "$target_guitheme" = "default"; then
8567 aros_target_guitheme
="Ice"
8569 aros_target_guitheme
="$target_guitheme"
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8572 $as_echo "$aros_target_guitheme" >&6; }
8574 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8578 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8582 if test "$aros_host_cpu" == "x86_64" ; then
8583 if test "$aros_target_cpu" == "i386" ; then
8588 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8589 if test "$aros_host_arch" != "$aros_target_arch" ; then
8593 if test "$host_cc_elf" = "no" ; then
8598 if test "$cross_compiling" = "no" ; then
8599 kernel_tool_prefix
=""
8600 if test "$host_cc_elf" = "yes" ; then
8605 #######################################################################
8606 ## Compute what toolchains to use, and their paths ##
8607 #######################################################################
8609 # This takes, as input:
8610 # crosstools {yes,no}
8611 # aros_gcc_version {default,[version]}
8612 # kernel_tool_prefix {none,[some-arch-os-]}
8613 # aros_tool_prefix ${target_cpu}-aros-
8616 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8617 # Where the 'kernel' binaries are located
8618 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8619 # Where the 'target' binaries are located
8620 # (not the symlink farm - that is aros_target_*!)
8623 # if crosstools then
8624 # if kernel_tools_prefix = "no-kernel-prefix-"
8625 # aros_kernel_* = crosstools cc paths
8626 # aros_kernel_cc = elf cc wrapper around crosstools cc
8628 # VALIDATE(${kernel_tools_prefix}*)
8629 # aros_kernel_* = ${kernel_tools_prefix}*
8630 # if ${kernel_tools_prefix}cc is an AROS gcc
8631 # aros_kernel_cc = ${kernel_tools_prefix}cc
8633 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8637 # orig_target_* = aros built crosstools
8638 # orig_target_cc = elf cc wrapper around crosstools cc
8640 # VALIDATE(${kernel_tools_prefix}*)
8642 # orig_target_* = aros_kernel_*
8643 # if aros_kernel_cc is an AROS gcc
8644 # orig_target_cc = aros_kernel_cc
8646 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8650 target_tool_prefix
="${target_cpu}-aros-"
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8653 $as_echo_n "checking which kernel tools... " >&6; }
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8655 $as_echo "$kernel_tool_prefix" >&6; };
8657 if test "$kernel_tool_prefix" = "none" ; then
8658 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8659 as_fn_error $?
"--with-kernel-tool-prefix= is required for this arch" "$LINENO" 5
8662 # Kernel tools required - find them
8663 # Note that 'normally', aros_kernel_* overrides will
8664 # empty, unless specified in the per-arch sections above.
8666 if test "$aros_kernel_cpp" = ""; then
8667 if test "$cross_compiling" = "yes" ; then
8668 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8669 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8671 $as_echo_n "checking for $ac_word... " >&6; }
8672 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8673 $as_echo_n "(cached) " >&6
8675 case $aros_kernel_cpp in
8677 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8684 test -z "$as_dir" && as_dir
=.
8685 for ac_exec_ext
in '' $ac_executable_extensions; do
8686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8687 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8698 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8699 if test -n "$aros_kernel_cpp"; then
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8701 $as_echo "$aros_kernel_cpp" >&6; }
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8704 $as_echo "no" >&6; }
8709 if test "$GCC" = "yes"; then
8710 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8711 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8712 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8714 $as_echo_n "checking for $ac_word... " >&6; }
8715 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8716 $as_echo_n "(cached) " >&6
8718 case $aros_kernel_cpp in
8720 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8724 for as_dir
in `dirname $aros_gcc_cpp`
8727 test -z "$as_dir" && as_dir
=.
8728 for ac_exec_ext
in '' $ac_executable_extensions; do
8729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8730 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8741 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8742 if test -n "$aros_kernel_cpp"; then
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8744 $as_echo "$aros_kernel_cpp" >&6; }
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8747 $as_echo "no" >&6; }
8752 if test "$aros_kernel_cpp" = ""; then
8753 # Extract the first word of "cpp", so it can be a program name with args.
8754 set dummy cpp
; ac_word
=$2
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8756 $as_echo_n "checking for $ac_word... " >&6; }
8757 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8758 $as_echo_n "(cached) " >&6
8760 case $aros_kernel_cpp in
8762 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8769 test -z "$as_dir" && as_dir
=.
8770 for ac_exec_ext
in '' $ac_executable_extensions; do
8771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8772 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8783 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8784 if test -n "$aros_kernel_cpp"; then
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8786 $as_echo "$aros_kernel_cpp" >&6; }
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8789 $as_echo "no" >&6; }
8796 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
8797 set dummy
$aros_kernel_cpp; ac_word
=$2
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8799 $as_echo_n "checking for $ac_word... " >&6; }
8800 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8801 $as_echo_n "(cached) " >&6
8803 case $aros_kernel_cpp in
8805 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8812 test -z "$as_dir" && as_dir
=.
8813 for ac_exec_ext
in '' $ac_executable_extensions; do
8814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8815 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8826 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8827 if test -n "$aros_kernel_cpp"; then
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8829 $as_echo "$aros_kernel_cpp" >&6; }
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8832 $as_echo "no" >&6; }
8838 if test "$aros_kernel_cpp" = ""; then
8839 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8841 if test "x$aros_kernel_cc" = "x"; then
8842 aros_kernel_cc
=${kernel_tool_prefix}gcc
8845 if test "$aros_kernel_cc${aros_gcc_version}" = ""; then
8846 if test "$cross_compiling" = "yes" ; then
8847 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8848 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8850 $as_echo_n "checking for $ac_word... " >&6; }
8851 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8852 $as_echo_n "(cached) " >&6
8854 case $aros_kernel_cc in
8856 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8863 test -z "$as_dir" && as_dir
=.
8864 for ac_exec_ext
in '' $ac_executable_extensions; do
8865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8866 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8877 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8878 if test -n "$aros_kernel_cc"; then
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8880 $as_echo "$aros_kernel_cc" >&6; }
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8883 $as_echo "no" >&6; }
8888 if test "$GCC" = "yes"; then
8889 aros_gcc_cc
=`$CC -print-prog-name=cc`
8890 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8891 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8893 $as_echo_n "checking for $ac_word... " >&6; }
8894 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8895 $as_echo_n "(cached) " >&6
8897 case $aros_kernel_cc in
8899 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8903 for as_dir
in `dirname $aros_gcc_cc`
8906 test -z "$as_dir" && as_dir
=.
8907 for ac_exec_ext
in '' $ac_executable_extensions; do
8908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8909 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8920 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8921 if test -n "$aros_kernel_cc"; then
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8923 $as_echo "$aros_kernel_cc" >&6; }
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8926 $as_echo "no" >&6; }
8931 if test "$aros_kernel_cc" = ""; then
8932 # Extract the first word of "cc", so it can be a program name with args.
8933 set dummy cc
; ac_word
=$2
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8935 $as_echo_n "checking for $ac_word... " >&6; }
8936 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8937 $as_echo_n "(cached) " >&6
8939 case $aros_kernel_cc in
8941 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8948 test -z "$as_dir" && as_dir
=.
8949 for ac_exec_ext
in '' $ac_executable_extensions; do
8950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8951 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8962 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8963 if test -n "$aros_kernel_cc"; then
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8965 $as_echo "$aros_kernel_cc" >&6; }
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8968 $as_echo "no" >&6; }
8975 # Extract the first word of "$aros_kernel_cc${aros_gcc_version}", so it can be a program name with args.
8976 set dummy
$aros_kernel_cc${aros_gcc_version}; ac_word
=$2
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8978 $as_echo_n "checking for $ac_word... " >&6; }
8979 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8980 $as_echo_n "(cached) " >&6
8982 case $aros_kernel_cc in
8984 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8991 test -z "$as_dir" && as_dir
=.
8992 for ac_exec_ext
in '' $ac_executable_extensions; do
8993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8994 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9005 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9006 if test -n "$aros_kernel_cc"; then
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9008 $as_echo "$aros_kernel_cc" >&6; }
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9011 $as_echo "no" >&6; }
9017 if test "$aros_kernel_cc" = ""; then
9018 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9020 if test "x$aros_kernel_cxx" = "x"; then
9021 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9024 if test "$aros_kernel_cxx${aros_gcc_version}" = ""; then
9025 if test "$cross_compiling" = "yes" ; then
9026 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9027 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9029 $as_echo_n "checking for $ac_word... " >&6; }
9030 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9031 $as_echo_n "(cached) " >&6
9033 case $aros_kernel_cxx in
9035 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9042 test -z "$as_dir" && as_dir
=.
9043 for ac_exec_ext
in '' $ac_executable_extensions; do
9044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9045 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9056 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9057 if test -n "$aros_kernel_cxx"; then
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9059 $as_echo "$aros_kernel_cxx" >&6; }
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9062 $as_echo "no" >&6; }
9067 if test "$GCC" = "yes"; then
9068 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9069 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9070 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9072 $as_echo_n "checking for $ac_word... " >&6; }
9073 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9074 $as_echo_n "(cached) " >&6
9076 case $aros_kernel_cxx in
9078 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9082 for as_dir
in `dirname $aros_gcc_cxx`
9085 test -z "$as_dir" && as_dir
=.
9086 for ac_exec_ext
in '' $ac_executable_extensions; do
9087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9088 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9099 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9100 if test -n "$aros_kernel_cxx"; then
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9102 $as_echo "$aros_kernel_cxx" >&6; }
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9105 $as_echo "no" >&6; }
9110 if test "$aros_kernel_cxx" = ""; then
9111 # Extract the first word of "cxx", so it can be a program name with args.
9112 set dummy cxx
; ac_word
=$2
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9114 $as_echo_n "checking for $ac_word... " >&6; }
9115 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9116 $as_echo_n "(cached) " >&6
9118 case $aros_kernel_cxx in
9120 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9127 test -z "$as_dir" && as_dir
=.
9128 for ac_exec_ext
in '' $ac_executable_extensions; do
9129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9130 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9141 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9142 if test -n "$aros_kernel_cxx"; then
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9144 $as_echo "$aros_kernel_cxx" >&6; }
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9147 $as_echo "no" >&6; }
9154 # Extract the first word of "$aros_kernel_cxx${aros_gcc_version}", so it can be a program name with args.
9155 set dummy
$aros_kernel_cxx${aros_gcc_version}; ac_word
=$2
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9157 $as_echo_n "checking for $ac_word... " >&6; }
9158 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9159 $as_echo_n "(cached) " >&6
9161 case $aros_kernel_cxx in
9163 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9170 test -z "$as_dir" && as_dir
=.
9171 for ac_exec_ext
in '' $ac_executable_extensions; do
9172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9173 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9184 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9185 if test -n "$aros_kernel_cxx"; then
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9187 $as_echo "$aros_kernel_cxx" >&6; }
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9190 $as_echo "no" >&6; }
9196 # If it's set, make sure it's really there
9197 if test "x$aros_kernel_cxx" != "x" ; then
9198 if test "$aros_kernel_cxx" = ""; then
9199 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9203 if test "$aros_kernel_ld" = ""; then
9204 if test "$cross_compiling" = "yes" ; then
9205 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9206 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9208 $as_echo_n "checking for $ac_word... " >&6; }
9209 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9210 $as_echo_n "(cached) " >&6
9212 case $aros_kernel_ld in
9214 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9221 test -z "$as_dir" && as_dir
=.
9222 for ac_exec_ext
in '' $ac_executable_extensions; do
9223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9224 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9235 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9236 if test -n "$aros_kernel_ld"; then
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9238 $as_echo "$aros_kernel_ld" >&6; }
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9241 $as_echo "no" >&6; }
9246 if test "$GCC" = "yes"; then
9247 aros_gcc_ld
=`$CC -print-prog-name=ld`
9248 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9249 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9251 $as_echo_n "checking for $ac_word... " >&6; }
9252 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9253 $as_echo_n "(cached) " >&6
9255 case $aros_kernel_ld in
9257 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9261 for as_dir
in `dirname $aros_gcc_ld`
9264 test -z "$as_dir" && as_dir
=.
9265 for ac_exec_ext
in '' $ac_executable_extensions; do
9266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9267 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9278 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9279 if test -n "$aros_kernel_ld"; then
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9281 $as_echo "$aros_kernel_ld" >&6; }
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9284 $as_echo "no" >&6; }
9289 if test "$aros_kernel_ld" = ""; then
9290 # Extract the first word of "ld", so it can be a program name with args.
9291 set dummy ld
; ac_word
=$2
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9293 $as_echo_n "checking for $ac_word... " >&6; }
9294 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9295 $as_echo_n "(cached) " >&6
9297 case $aros_kernel_ld in
9299 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9306 test -z "$as_dir" && as_dir
=.
9307 for ac_exec_ext
in '' $ac_executable_extensions; do
9308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9309 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9320 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9321 if test -n "$aros_kernel_ld"; then
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9323 $as_echo "$aros_kernel_ld" >&6; }
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9326 $as_echo "no" >&6; }
9333 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9334 set dummy
$aros_kernel_ld; ac_word
=$2
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9336 $as_echo_n "checking for $ac_word... " >&6; }
9337 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9338 $as_echo_n "(cached) " >&6
9340 case $aros_kernel_ld in
9342 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9349 test -z "$as_dir" && as_dir
=.
9350 for ac_exec_ext
in '' $ac_executable_extensions; do
9351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9352 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9363 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9364 if test -n "$aros_kernel_ld"; then
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9366 $as_echo "$aros_kernel_ld" >&6; }
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9369 $as_echo "no" >&6; }
9375 if test "$aros_kernel_ld" = ""; then
9376 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9379 if test "$aros_kernel_as" = ""; then
9380 if test "$cross_compiling" = "yes" ; then
9381 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9382 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9384 $as_echo_n "checking for $ac_word... " >&6; }
9385 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9386 $as_echo_n "(cached) " >&6
9388 case $aros_kernel_as in
9390 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9397 test -z "$as_dir" && as_dir
=.
9398 for ac_exec_ext
in '' $ac_executable_extensions; do
9399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9400 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9411 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9412 if test -n "$aros_kernel_as"; then
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9414 $as_echo "$aros_kernel_as" >&6; }
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9417 $as_echo "no" >&6; }
9422 if test "$GCC" = "yes"; then
9423 aros_gcc_as
=`$CC -print-prog-name=as`
9424 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9425 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9427 $as_echo_n "checking for $ac_word... " >&6; }
9428 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9429 $as_echo_n "(cached) " >&6
9431 case $aros_kernel_as in
9433 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9437 for as_dir
in `dirname $aros_gcc_as`
9440 test -z "$as_dir" && as_dir
=.
9441 for ac_exec_ext
in '' $ac_executable_extensions; do
9442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9443 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9454 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9455 if test -n "$aros_kernel_as"; then
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9457 $as_echo "$aros_kernel_as" >&6; }
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9460 $as_echo "no" >&6; }
9465 if test "$aros_kernel_as" = ""; then
9466 # Extract the first word of "as", so it can be a program name with args.
9467 set dummy as
; ac_word
=$2
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9469 $as_echo_n "checking for $ac_word... " >&6; }
9470 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9471 $as_echo_n "(cached) " >&6
9473 case $aros_kernel_as in
9475 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9482 test -z "$as_dir" && as_dir
=.
9483 for ac_exec_ext
in '' $ac_executable_extensions; do
9484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9485 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9496 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9497 if test -n "$aros_kernel_as"; then
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9499 $as_echo "$aros_kernel_as" >&6; }
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9502 $as_echo "no" >&6; }
9509 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9510 set dummy
$aros_kernel_as; ac_word
=$2
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9512 $as_echo_n "checking for $ac_word... " >&6; }
9513 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9514 $as_echo_n "(cached) " >&6
9516 case $aros_kernel_as in
9518 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9525 test -z "$as_dir" && as_dir
=.
9526 for ac_exec_ext
in '' $ac_executable_extensions; do
9527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9528 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9539 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9540 if test -n "$aros_kernel_as"; then
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9542 $as_echo "$aros_kernel_as" >&6; }
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9545 $as_echo "no" >&6; }
9551 if test "$aros_kernel_as" = ""; then
9552 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9555 if test "$aros_kernel_ar" = ""; then
9556 if test "$cross_compiling" = "yes" ; then
9557 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9558 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9560 $as_echo_n "checking for $ac_word... " >&6; }
9561 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9562 $as_echo_n "(cached) " >&6
9564 case $aros_kernel_ar in
9566 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9573 test -z "$as_dir" && as_dir
=.
9574 for ac_exec_ext
in '' $ac_executable_extensions; do
9575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9576 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9587 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9588 if test -n "$aros_kernel_ar"; then
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9590 $as_echo "$aros_kernel_ar" >&6; }
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9593 $as_echo "no" >&6; }
9598 if test "$GCC" = "yes"; then
9599 aros_gcc_ar
=`$CC -print-prog-name=ar`
9600 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9601 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9603 $as_echo_n "checking for $ac_word... " >&6; }
9604 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9605 $as_echo_n "(cached) " >&6
9607 case $aros_kernel_ar in
9609 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9613 for as_dir
in `dirname $aros_gcc_ar`
9616 test -z "$as_dir" && as_dir
=.
9617 for ac_exec_ext
in '' $ac_executable_extensions; do
9618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9619 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9630 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9631 if test -n "$aros_kernel_ar"; then
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9633 $as_echo "$aros_kernel_ar" >&6; }
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9636 $as_echo "no" >&6; }
9641 if test "$aros_kernel_ar" = ""; then
9642 # Extract the first word of "ar", so it can be a program name with args.
9643 set dummy
ar; ac_word
=$2
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9645 $as_echo_n "checking for $ac_word... " >&6; }
9646 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9647 $as_echo_n "(cached) " >&6
9649 case $aros_kernel_ar in
9651 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9658 test -z "$as_dir" && as_dir
=.
9659 for ac_exec_ext
in '' $ac_executable_extensions; do
9660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9661 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9672 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9673 if test -n "$aros_kernel_ar"; then
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9675 $as_echo "$aros_kernel_ar" >&6; }
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9678 $as_echo "no" >&6; }
9685 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9686 set dummy
$aros_kernel_ar; ac_word
=$2
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9688 $as_echo_n "checking for $ac_word... " >&6; }
9689 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9690 $as_echo_n "(cached) " >&6
9692 case $aros_kernel_ar in
9694 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9701 test -z "$as_dir" && as_dir
=.
9702 for ac_exec_ext
in '' $ac_executable_extensions; do
9703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9704 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9715 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9716 if test -n "$aros_kernel_ar"; then
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9718 $as_echo "$aros_kernel_ar" >&6; }
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9721 $as_echo "no" >&6; }
9727 if test "$aros_kernel_ar" = ""; then
9728 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9731 if test "$aros_kernel_ranlib" = ""; then
9732 if test "$cross_compiling" = "yes" ; then
9733 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9734 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9736 $as_echo_n "checking for $ac_word... " >&6; }
9737 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9738 $as_echo_n "(cached) " >&6
9740 case $aros_kernel_ranlib in
9742 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9749 test -z "$as_dir" && as_dir
=.
9750 for ac_exec_ext
in '' $ac_executable_extensions; do
9751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9752 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9763 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9764 if test -n "$aros_kernel_ranlib"; then
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9766 $as_echo "$aros_kernel_ranlib" >&6; }
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9769 $as_echo "no" >&6; }
9774 if test "$GCC" = "yes"; then
9775 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9776 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9777 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9779 $as_echo_n "checking for $ac_word... " >&6; }
9780 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9781 $as_echo_n "(cached) " >&6
9783 case $aros_kernel_ranlib in
9785 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9789 for as_dir
in `dirname $aros_gcc_ranlib`
9792 test -z "$as_dir" && as_dir
=.
9793 for ac_exec_ext
in '' $ac_executable_extensions; do
9794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9795 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9806 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9807 if test -n "$aros_kernel_ranlib"; then
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9809 $as_echo "$aros_kernel_ranlib" >&6; }
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9812 $as_echo "no" >&6; }
9817 if test "$aros_kernel_ranlib" = ""; then
9818 # Extract the first word of "ranlib", so it can be a program name with args.
9819 set dummy ranlib
; ac_word
=$2
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9821 $as_echo_n "checking for $ac_word... " >&6; }
9822 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9823 $as_echo_n "(cached) " >&6
9825 case $aros_kernel_ranlib in
9827 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9834 test -z "$as_dir" && as_dir
=.
9835 for ac_exec_ext
in '' $ac_executable_extensions; do
9836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9837 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9848 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9849 if test -n "$aros_kernel_ranlib"; then
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9851 $as_echo "$aros_kernel_ranlib" >&6; }
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9854 $as_echo "no" >&6; }
9861 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9862 set dummy
$aros_kernel_ranlib; ac_word
=$2
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9864 $as_echo_n "checking for $ac_word... " >&6; }
9865 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9866 $as_echo_n "(cached) " >&6
9868 case $aros_kernel_ranlib in
9870 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9877 test -z "$as_dir" && as_dir
=.
9878 for ac_exec_ext
in '' $ac_executable_extensions; do
9879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9880 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9891 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9892 if test -n "$aros_kernel_ranlib"; then
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9894 $as_echo "$aros_kernel_ranlib" >&6; }
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9897 $as_echo "no" >&6; }
9903 if test "$aros_kernel_ranlib" = ""; then
9904 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9907 if test "$aros_kernel_nm" = ""; then
9908 if test "$cross_compiling" = "yes" ; then
9909 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9910 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9912 $as_echo_n "checking for $ac_word... " >&6; }
9913 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9914 $as_echo_n "(cached) " >&6
9916 case $aros_kernel_nm in
9918 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9925 test -z "$as_dir" && as_dir
=.
9926 for ac_exec_ext
in '' $ac_executable_extensions; do
9927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9928 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9939 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9940 if test -n "$aros_kernel_nm"; then
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9942 $as_echo "$aros_kernel_nm" >&6; }
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9945 $as_echo "no" >&6; }
9950 if test "$GCC" = "yes"; then
9951 aros_gcc_nm
=`$CC -print-prog-name=nm`
9952 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9953 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9955 $as_echo_n "checking for $ac_word... " >&6; }
9956 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9957 $as_echo_n "(cached) " >&6
9959 case $aros_kernel_nm in
9961 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9965 for as_dir
in `dirname $aros_gcc_nm`
9968 test -z "$as_dir" && as_dir
=.
9969 for ac_exec_ext
in '' $ac_executable_extensions; do
9970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9971 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9982 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9983 if test -n "$aros_kernel_nm"; then
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9985 $as_echo "$aros_kernel_nm" >&6; }
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9988 $as_echo "no" >&6; }
9993 if test "$aros_kernel_nm" = ""; then
9994 # Extract the first word of "nm", so it can be a program name with args.
9995 set dummy nm
; ac_word
=$2
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9997 $as_echo_n "checking for $ac_word... " >&6; }
9998 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9999 $as_echo_n "(cached) " >&6
10001 case $aros_kernel_nm in
10003 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10007 for as_dir
in $PATH
10010 test -z "$as_dir" && as_dir
=.
10011 for ac_exec_ext
in '' $ac_executable_extensions; do
10012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10013 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10024 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10025 if test -n "$aros_kernel_nm"; then
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10027 $as_echo "$aros_kernel_nm" >&6; }
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10030 $as_echo "no" >&6; }
10037 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10038 set dummy
$aros_kernel_nm; ac_word
=$2
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10040 $as_echo_n "checking for $ac_word... " >&6; }
10041 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10042 $as_echo_n "(cached) " >&6
10044 case $aros_kernel_nm in
10046 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10050 for as_dir
in $PATH
10053 test -z "$as_dir" && as_dir
=.
10054 for ac_exec_ext
in '' $ac_executable_extensions; do
10055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10056 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10067 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10068 if test -n "$aros_kernel_nm"; then
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10070 $as_echo "$aros_kernel_nm" >&6; }
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10073 $as_echo "no" >&6; }
10079 if test "$aros_kernel_nm" = ""; then
10080 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10083 if test "$aros_kernel_strip" = ""; then
10084 if test "$cross_compiling" = "yes" ; then
10085 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10086 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10088 $as_echo_n "checking for $ac_word... " >&6; }
10089 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10090 $as_echo_n "(cached) " >&6
10092 case $aros_kernel_strip in
10094 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10098 for as_dir
in $PATH
10101 test -z "$as_dir" && as_dir
=.
10102 for ac_exec_ext
in '' $ac_executable_extensions; do
10103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10104 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10115 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10116 if test -n "$aros_kernel_strip"; then
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10118 $as_echo "$aros_kernel_strip" >&6; }
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10121 $as_echo "no" >&6; }
10126 if test "$GCC" = "yes"; then
10127 aros_gcc_strip
=`$CC -print-prog-name=strip`
10128 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10129 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10131 $as_echo_n "checking for $ac_word... " >&6; }
10132 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10133 $as_echo_n "(cached) " >&6
10135 case $aros_kernel_strip in
10137 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10141 for as_dir
in `dirname $aros_gcc_strip`
10144 test -z "$as_dir" && as_dir
=.
10145 for ac_exec_ext
in '' $ac_executable_extensions; do
10146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10147 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10158 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10159 if test -n "$aros_kernel_strip"; then
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10161 $as_echo "$aros_kernel_strip" >&6; }
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10164 $as_echo "no" >&6; }
10169 if test "$aros_kernel_strip" = ""; then
10170 # Extract the first word of "strip", so it can be a program name with args.
10171 set dummy strip
; ac_word
=$2
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10173 $as_echo_n "checking for $ac_word... " >&6; }
10174 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10175 $as_echo_n "(cached) " >&6
10177 case $aros_kernel_strip in
10179 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10183 for as_dir
in $PATH
10186 test -z "$as_dir" && as_dir
=.
10187 for ac_exec_ext
in '' $ac_executable_extensions; do
10188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10189 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10200 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10201 if test -n "$aros_kernel_strip"; then
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10203 $as_echo "$aros_kernel_strip" >&6; }
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10206 $as_echo "no" >&6; }
10213 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10214 set dummy
$aros_kernel_strip; ac_word
=$2
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10216 $as_echo_n "checking for $ac_word... " >&6; }
10217 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10218 $as_echo_n "(cached) " >&6
10220 case $aros_kernel_strip in
10222 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10226 for as_dir
in $PATH
10229 test -z "$as_dir" && as_dir
=.
10230 for ac_exec_ext
in '' $ac_executable_extensions; do
10231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10232 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10243 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10244 if test -n "$aros_kernel_strip"; then
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10246 $as_echo "$aros_kernel_strip" >&6; }
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10249 $as_echo "no" >&6; }
10255 if test "$aros_kernel_strip" = ""; then
10256 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10259 # Objcopy and objdump are not required for the kernel
10260 # toolchain on many architectures.
10261 # So we'll look for them, but not make them strictly required.
10263 if test "$aros_kernel_objcopy" = ""; then
10264 if test "$cross_compiling" = "yes" ; then
10265 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10266 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10268 $as_echo_n "checking for $ac_word... " >&6; }
10269 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10270 $as_echo_n "(cached) " >&6
10272 case $aros_kernel_objcopy in
10274 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10278 for as_dir
in $PATH
10281 test -z "$as_dir" && as_dir
=.
10282 for ac_exec_ext
in '' $ac_executable_extensions; do
10283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10284 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10295 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10296 if test -n "$aros_kernel_objcopy"; then
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10298 $as_echo "$aros_kernel_objcopy" >&6; }
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10301 $as_echo "no" >&6; }
10306 if test "$GCC" = "yes"; then
10307 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10308 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10309 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10311 $as_echo_n "checking for $ac_word... " >&6; }
10312 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10313 $as_echo_n "(cached) " >&6
10315 case $aros_kernel_objcopy in
10317 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10321 for as_dir
in `dirname $aros_gcc_objcopy`
10324 test -z "$as_dir" && as_dir
=.
10325 for ac_exec_ext
in '' $ac_executable_extensions; do
10326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10327 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10338 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10339 if test -n "$aros_kernel_objcopy"; then
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10341 $as_echo "$aros_kernel_objcopy" >&6; }
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10344 $as_echo "no" >&6; }
10349 if test "$aros_kernel_objcopy" = ""; then
10350 # Extract the first word of "objcopy", so it can be a program name with args.
10351 set dummy objcopy
; ac_word
=$2
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10353 $as_echo_n "checking for $ac_word... " >&6; }
10354 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10355 $as_echo_n "(cached) " >&6
10357 case $aros_kernel_objcopy in
10359 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10363 for as_dir
in $PATH
10366 test -z "$as_dir" && as_dir
=.
10367 for ac_exec_ext
in '' $ac_executable_extensions; do
10368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10369 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10380 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10381 if test -n "$aros_kernel_objcopy"; then
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10383 $as_echo "$aros_kernel_objcopy" >&6; }
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10386 $as_echo "no" >&6; }
10393 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10394 set dummy
$aros_kernel_objcopy; ac_word
=$2
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10396 $as_echo_n "checking for $ac_word... " >&6; }
10397 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10398 $as_echo_n "(cached) " >&6
10400 case $aros_kernel_objcopy in
10402 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10406 for as_dir
in $PATH
10409 test -z "$as_dir" && as_dir
=.
10410 for ac_exec_ext
in '' $ac_executable_extensions; do
10411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10412 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10423 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10424 if test -n "$aros_kernel_objcopy"; then
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10426 $as_echo "$aros_kernel_objcopy" >&6; }
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10429 $as_echo "no" >&6; }
10436 if test "$aros_kernel_objdump" = ""; then
10437 if test "$cross_compiling" = "yes" ; then
10438 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10439 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10441 $as_echo_n "checking for $ac_word... " >&6; }
10442 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10443 $as_echo_n "(cached) " >&6
10445 case $aros_kernel_objdump in
10447 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10451 for as_dir
in $PATH
10454 test -z "$as_dir" && as_dir
=.
10455 for ac_exec_ext
in '' $ac_executable_extensions; do
10456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10457 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10468 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10469 if test -n "$aros_kernel_objdump"; then
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10471 $as_echo "$aros_kernel_objdump" >&6; }
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10474 $as_echo "no" >&6; }
10479 if test "$GCC" = "yes"; then
10480 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10481 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10482 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10484 $as_echo_n "checking for $ac_word... " >&6; }
10485 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10486 $as_echo_n "(cached) " >&6
10488 case $aros_kernel_objdump in
10490 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10494 for as_dir
in `dirname $aros_gcc_objdump`
10497 test -z "$as_dir" && as_dir
=.
10498 for ac_exec_ext
in '' $ac_executable_extensions; do
10499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10500 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10511 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10512 if test -n "$aros_kernel_objdump"; then
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10514 $as_echo "$aros_kernel_objdump" >&6; }
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10517 $as_echo "no" >&6; }
10522 if test "$aros_kernel_objdump" = ""; then
10523 # Extract the first word of "objdump", so it can be a program name with args.
10524 set dummy objdump
; ac_word
=$2
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10526 $as_echo_n "checking for $ac_word... " >&6; }
10527 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10528 $as_echo_n "(cached) " >&6
10530 case $aros_kernel_objdump in
10532 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10536 for as_dir
in $PATH
10539 test -z "$as_dir" && as_dir
=.
10540 for ac_exec_ext
in '' $ac_executable_extensions; do
10541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10542 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10553 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10554 if test -n "$aros_kernel_objdump"; then
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10556 $as_echo "$aros_kernel_objdump" >&6; }
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10559 $as_echo "no" >&6; }
10566 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10567 set dummy
$aros_kernel_objdump; ac_word
=$2
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10569 $as_echo_n "checking for $ac_word... " >&6; }
10570 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10571 $as_echo_n "(cached) " >&6
10573 case $aros_kernel_objdump in
10575 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10579 for as_dir
in $PATH
10582 test -z "$as_dir" && as_dir
=.
10583 for ac_exec_ext
in '' $ac_executable_extensions; do
10584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10585 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10596 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10597 if test -n "$aros_kernel_objdump"; then
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10599 $as_echo "$aros_kernel_objdump" >&6; }
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10602 $as_echo "no" >&6; }
10608 if test "x${crosstools}" != "xyes" ; then
10609 if test "$aros_kernel_objcopy" = ""; then
10610 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10612 if test "$aros_kernel_objdump" = ""; then
10613 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10619 $as_echo_n "checking which target tools to use... " >&6; }
10620 if test "$crosstools" = "yes"; then
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10622 $as_echo "$target_tool_prefix" >&6; }
10623 # We are are building AROS crosstools
10624 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10625 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10626 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10627 orig_target_cpp
="${tmp_tool_prefix}cpp"
10628 orig_target_ld
="${tmp_tool_prefix}ld"
10629 orig_target_as
="${tmp_tool_prefix}as"
10630 orig_target_ar
="${tmp_tool_prefix}ar"
10631 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10632 orig_target_nm
="${tmp_tool_prefix}nm"
10633 orig_target_strip
="${tmp_tool_prefix}strip"
10634 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10635 orig_target_objdump
="${tmp_tool_prefix}objdump"
10637 # Determine whether AROS or ELF tools should be used
10638 if test "$aros_tool_prefix" = "none"; then
10639 aros_tool_prefix
="${elf_tool_prefix}"
10640 crosstools_cxx_target
=tools-crosstools
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10644 $as_echo "$aros_tool_prefix" >&6; }
10645 # We are *not* building AROS crosstools - use the AROS or ELF tools
10647 if test "${aros_tool_prefix}cpp" = ""; then
10648 if test "$cross_compiling" = "yes" ; then
10649 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10650 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10652 $as_echo_n "checking for $ac_word... " >&6; }
10653 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10654 $as_echo_n "(cached) " >&6
10656 case $orig_target_cpp in
10658 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10662 for as_dir
in $PATH
10665 test -z "$as_dir" && as_dir
=.
10666 for ac_exec_ext
in '' $ac_executable_extensions; do
10667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10668 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10679 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10680 if test -n "$orig_target_cpp"; then
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10682 $as_echo "$orig_target_cpp" >&6; }
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10685 $as_echo "no" >&6; }
10690 if test "$GCC" = "yes"; then
10691 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10692 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10693 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10695 $as_echo_n "checking for $ac_word... " >&6; }
10696 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10697 $as_echo_n "(cached) " >&6
10699 case $orig_target_cpp in
10701 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10705 for as_dir
in `dirname $aros_gcc_cpp`
10708 test -z "$as_dir" && as_dir
=.
10709 for ac_exec_ext
in '' $ac_executable_extensions; do
10710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10711 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10722 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10723 if test -n "$orig_target_cpp"; then
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10725 $as_echo "$orig_target_cpp" >&6; }
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10728 $as_echo "no" >&6; }
10733 if test "$orig_target_cpp" = ""; then
10734 # Extract the first word of "cpp", so it can be a program name with args.
10735 set dummy cpp
; ac_word
=$2
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10737 $as_echo_n "checking for $ac_word... " >&6; }
10738 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10739 $as_echo_n "(cached) " >&6
10741 case $orig_target_cpp in
10743 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10747 for as_dir
in $PATH
10750 test -z "$as_dir" && as_dir
=.
10751 for ac_exec_ext
in '' $ac_executable_extensions; do
10752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10753 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10764 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10765 if test -n "$orig_target_cpp"; then
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10767 $as_echo "$orig_target_cpp" >&6; }
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10770 $as_echo "no" >&6; }
10777 # Extract the first word of "${aros_tool_prefix}cpp", so it can be a program name with args.
10778 set dummy
${aros_tool_prefix}cpp
; ac_word
=$2
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10780 $as_echo_n "checking for $ac_word... " >&6; }
10781 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10782 $as_echo_n "(cached) " >&6
10784 case $orig_target_cpp in
10786 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10790 for as_dir
in $PATH
10793 test -z "$as_dir" && as_dir
=.
10794 for ac_exec_ext
in '' $ac_executable_extensions; do
10795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10796 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10807 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10808 if test -n "$orig_target_cpp"; then
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10810 $as_echo "$orig_target_cpp" >&6; }
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10813 $as_echo "no" >&6; }
10819 if test "$orig_target_cpp" = ""; then
10820 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10823 if test "${aros_tool_prefix}gcc" = ""; then
10824 if test "$cross_compiling" = "yes" ; then
10825 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10826 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10828 $as_echo_n "checking for $ac_word... " >&6; }
10829 if ${ac_cv_path_orig_target_cc+:} false
; then :
10830 $as_echo_n "(cached) " >&6
10832 case $orig_target_cc in
10834 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10838 for as_dir
in $PATH
10841 test -z "$as_dir" && as_dir
=.
10842 for ac_exec_ext
in '' $ac_executable_extensions; do
10843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10844 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10855 orig_target_cc
=$ac_cv_path_orig_target_cc
10856 if test -n "$orig_target_cc"; then
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10858 $as_echo "$orig_target_cc" >&6; }
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10861 $as_echo "no" >&6; }
10866 if test "$GCC" = "yes"; then
10867 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10868 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10869 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10871 $as_echo_n "checking for $ac_word... " >&6; }
10872 if ${ac_cv_path_orig_target_cc+:} false
; then :
10873 $as_echo_n "(cached) " >&6
10875 case $orig_target_cc in
10877 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10881 for as_dir
in `dirname $aros_gcc_gcc`
10884 test -z "$as_dir" && as_dir
=.
10885 for ac_exec_ext
in '' $ac_executable_extensions; do
10886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10887 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10898 orig_target_cc
=$ac_cv_path_orig_target_cc
10899 if test -n "$orig_target_cc"; then
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10901 $as_echo "$orig_target_cc" >&6; }
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10904 $as_echo "no" >&6; }
10909 if test "$orig_target_cc" = ""; then
10910 # Extract the first word of "gcc", so it can be a program name with args.
10911 set dummy gcc
; ac_word
=$2
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10913 $as_echo_n "checking for $ac_word... " >&6; }
10914 if ${ac_cv_path_orig_target_cc+:} false
; then :
10915 $as_echo_n "(cached) " >&6
10917 case $orig_target_cc in
10919 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10923 for as_dir
in $PATH
10926 test -z "$as_dir" && as_dir
=.
10927 for ac_exec_ext
in '' $ac_executable_extensions; do
10928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10929 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10940 orig_target_cc
=$ac_cv_path_orig_target_cc
10941 if test -n "$orig_target_cc"; then
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10943 $as_echo "$orig_target_cc" >&6; }
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10946 $as_echo "no" >&6; }
10953 # Extract the first word of "${aros_tool_prefix}gcc", so it can be a program name with args.
10954 set dummy
${aros_tool_prefix}gcc
; ac_word
=$2
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10956 $as_echo_n "checking for $ac_word... " >&6; }
10957 if ${ac_cv_path_orig_target_cc+:} false
; then :
10958 $as_echo_n "(cached) " >&6
10960 case $orig_target_cc in
10962 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10966 for as_dir
in $PATH
10969 test -z "$as_dir" && as_dir
=.
10970 for ac_exec_ext
in '' $ac_executable_extensions; do
10971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10972 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10983 orig_target_cc
=$ac_cv_path_orig_target_cc
10984 if test -n "$orig_target_cc"; then
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10986 $as_echo "$orig_target_cc" >&6; }
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10989 $as_echo "no" >&6; }
10995 if test "$orig_target_cc" = ""; then
10996 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
10998 if test "x${crosstools_cxx_target}" = "x" ; then
11000 if test "${aros_tool_prefix}g++" = ""; then
11001 if test "$cross_compiling" = "yes" ; then
11002 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11003 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11005 $as_echo_n "checking for $ac_word... " >&6; }
11006 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11007 $as_echo_n "(cached) " >&6
11009 case $orig_target_cxx in
11011 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11015 for as_dir
in $PATH
11018 test -z "$as_dir" && as_dir
=.
11019 for ac_exec_ext
in '' $ac_executable_extensions; do
11020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11021 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11032 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11033 if test -n "$orig_target_cxx"; then
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11035 $as_echo "$orig_target_cxx" >&6; }
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11038 $as_echo "no" >&6; }
11043 if test "$GCC" = "yes"; then
11044 aros_gcc_g
++=`$CC -print-prog-name=g++`
11045 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11046 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11048 $as_echo_n "checking for $ac_word... " >&6; }
11049 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11050 $as_echo_n "(cached) " >&6
11052 case $orig_target_cxx in
11054 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11058 for as_dir
in `dirname $aros_gcc_g++`
11061 test -z "$as_dir" && as_dir
=.
11062 for ac_exec_ext
in '' $ac_executable_extensions; do
11063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11064 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11075 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11076 if test -n "$orig_target_cxx"; then
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11078 $as_echo "$orig_target_cxx" >&6; }
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11081 $as_echo "no" >&6; }
11086 if test "$orig_target_cxx" = ""; then
11087 # Extract the first word of "g++", so it can be a program name with args.
11088 set dummy g
++; ac_word
=$2
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11090 $as_echo_n "checking for $ac_word... " >&6; }
11091 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11092 $as_echo_n "(cached) " >&6
11094 case $orig_target_cxx in
11096 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11100 for as_dir
in $PATH
11103 test -z "$as_dir" && as_dir
=.
11104 for ac_exec_ext
in '' $ac_executable_extensions; do
11105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11106 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11117 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11118 if test -n "$orig_target_cxx"; then
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11120 $as_echo "$orig_target_cxx" >&6; }
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11123 $as_echo "no" >&6; }
11130 # Extract the first word of "${aros_tool_prefix}g++", so it can be a program name with args.
11131 set dummy
${aros_tool_prefix}g
++; ac_word
=$2
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11133 $as_echo_n "checking for $ac_word... " >&6; }
11134 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11135 $as_echo_n "(cached) " >&6
11137 case $orig_target_cxx in
11139 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11143 for as_dir
in $PATH
11146 test -z "$as_dir" && as_dir
=.
11147 for ac_exec_ext
in '' $ac_executable_extensions; do
11148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11149 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11160 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11161 if test -n "$orig_target_cxx"; then
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11163 $as_echo "$orig_target_cxx" >&6; }
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11166 $as_echo "no" >&6; }
11172 if test "$orig_target_cxx" = ""; then
11173 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11177 if test "${aros_tool_prefix}ld" = ""; then
11178 if test "$cross_compiling" = "yes" ; then
11179 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11180 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11182 $as_echo_n "checking for $ac_word... " >&6; }
11183 if ${ac_cv_path_orig_target_ld+:} false
; then :
11184 $as_echo_n "(cached) " >&6
11186 case $orig_target_ld in
11188 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11192 for as_dir
in $PATH
11195 test -z "$as_dir" && as_dir
=.
11196 for ac_exec_ext
in '' $ac_executable_extensions; do
11197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11198 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11209 orig_target_ld
=$ac_cv_path_orig_target_ld
11210 if test -n "$orig_target_ld"; then
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11212 $as_echo "$orig_target_ld" >&6; }
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11215 $as_echo "no" >&6; }
11220 if test "$GCC" = "yes"; then
11221 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11222 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11223 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11225 $as_echo_n "checking for $ac_word... " >&6; }
11226 if ${ac_cv_path_orig_target_ld+:} false
; then :
11227 $as_echo_n "(cached) " >&6
11229 case $orig_target_ld in
11231 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11235 for as_dir
in `dirname $aros_gcc_gcc`
11238 test -z "$as_dir" && as_dir
=.
11239 for ac_exec_ext
in '' $ac_executable_extensions; do
11240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11241 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11252 orig_target_ld
=$ac_cv_path_orig_target_ld
11253 if test -n "$orig_target_ld"; then
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11255 $as_echo "$orig_target_ld" >&6; }
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11258 $as_echo "no" >&6; }
11263 if test "$orig_target_ld" = ""; then
11264 # Extract the first word of "gcc", so it can be a program name with args.
11265 set dummy gcc
; ac_word
=$2
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11267 $as_echo_n "checking for $ac_word... " >&6; }
11268 if ${ac_cv_path_orig_target_ld+:} false
; then :
11269 $as_echo_n "(cached) " >&6
11271 case $orig_target_ld in
11273 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11277 for as_dir
in $PATH
11280 test -z "$as_dir" && as_dir
=.
11281 for ac_exec_ext
in '' $ac_executable_extensions; do
11282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11283 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11294 orig_target_ld
=$ac_cv_path_orig_target_ld
11295 if test -n "$orig_target_ld"; then
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11297 $as_echo "$orig_target_ld" >&6; }
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11300 $as_echo "no" >&6; }
11307 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11308 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11310 $as_echo_n "checking for $ac_word... " >&6; }
11311 if ${ac_cv_path_orig_target_ld+:} false
; then :
11312 $as_echo_n "(cached) " >&6
11314 case $orig_target_ld in
11316 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11320 for as_dir
in $PATH
11323 test -z "$as_dir" && as_dir
=.
11324 for ac_exec_ext
in '' $ac_executable_extensions; do
11325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11326 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11337 orig_target_ld
=$ac_cv_path_orig_target_ld
11338 if test -n "$orig_target_ld"; then
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11340 $as_echo "$orig_target_ld" >&6; }
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11343 $as_echo "no" >&6; }
11349 if test "$orig_target_ld" = ""; then
11350 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11353 if test "${aros_tool_prefix}as" = ""; then
11354 if test "$cross_compiling" = "yes" ; then
11355 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11356 set dummy
${target_tool_prefix}as
; ac_word
=$2
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11358 $as_echo_n "checking for $ac_word... " >&6; }
11359 if ${ac_cv_path_orig_target_as+:} false
; then :
11360 $as_echo_n "(cached) " >&6
11362 case $orig_target_as in
11364 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11368 for as_dir
in $PATH
11371 test -z "$as_dir" && as_dir
=.
11372 for ac_exec_ext
in '' $ac_executable_extensions; do
11373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11374 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11385 orig_target_as
=$ac_cv_path_orig_target_as
11386 if test -n "$orig_target_as"; then
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11388 $as_echo "$orig_target_as" >&6; }
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11391 $as_echo "no" >&6; }
11396 if test "$GCC" = "yes"; then
11397 aros_gcc_as
=`$CC -print-prog-name=as`
11398 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11399 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11401 $as_echo_n "checking for $ac_word... " >&6; }
11402 if ${ac_cv_path_orig_target_as+:} false
; then :
11403 $as_echo_n "(cached) " >&6
11405 case $orig_target_as in
11407 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11411 for as_dir
in `dirname $aros_gcc_as`
11414 test -z "$as_dir" && as_dir
=.
11415 for ac_exec_ext
in '' $ac_executable_extensions; do
11416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11417 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11428 orig_target_as
=$ac_cv_path_orig_target_as
11429 if test -n "$orig_target_as"; then
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11431 $as_echo "$orig_target_as" >&6; }
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11434 $as_echo "no" >&6; }
11439 if test "$orig_target_as" = ""; then
11440 # Extract the first word of "as", so it can be a program name with args.
11441 set dummy as
; ac_word
=$2
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11443 $as_echo_n "checking for $ac_word... " >&6; }
11444 if ${ac_cv_path_orig_target_as+:} false
; then :
11445 $as_echo_n "(cached) " >&6
11447 case $orig_target_as in
11449 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11453 for as_dir
in $PATH
11456 test -z "$as_dir" && as_dir
=.
11457 for ac_exec_ext
in '' $ac_executable_extensions; do
11458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11459 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11470 orig_target_as
=$ac_cv_path_orig_target_as
11471 if test -n "$orig_target_as"; then
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11473 $as_echo "$orig_target_as" >&6; }
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11476 $as_echo "no" >&6; }
11483 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11484 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11486 $as_echo_n "checking for $ac_word... " >&6; }
11487 if ${ac_cv_path_orig_target_as+:} false
; then :
11488 $as_echo_n "(cached) " >&6
11490 case $orig_target_as in
11492 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11496 for as_dir
in $PATH
11499 test -z "$as_dir" && as_dir
=.
11500 for ac_exec_ext
in '' $ac_executable_extensions; do
11501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11502 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11513 orig_target_as
=$ac_cv_path_orig_target_as
11514 if test -n "$orig_target_as"; then
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11516 $as_echo "$orig_target_as" >&6; }
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11519 $as_echo "no" >&6; }
11525 if test "$orig_target_as" = ""; then
11526 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11529 if test "${aros_tool_prefix}ar" = ""; then
11530 if test "$cross_compiling" = "yes" ; then
11531 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11532 set dummy
${target_tool_prefix}ar; ac_word
=$2
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11534 $as_echo_n "checking for $ac_word... " >&6; }
11535 if ${ac_cv_path_orig_target_ar+:} false
; then :
11536 $as_echo_n "(cached) " >&6
11538 case $orig_target_ar in
11540 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11544 for as_dir
in $PATH
11547 test -z "$as_dir" && as_dir
=.
11548 for ac_exec_ext
in '' $ac_executable_extensions; do
11549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11550 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11561 orig_target_ar
=$ac_cv_path_orig_target_ar
11562 if test -n "$orig_target_ar"; then
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11564 $as_echo "$orig_target_ar" >&6; }
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11567 $as_echo "no" >&6; }
11572 if test "$GCC" = "yes"; then
11573 aros_gcc_ar
=`$CC -print-prog-name=ar`
11574 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11575 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11577 $as_echo_n "checking for $ac_word... " >&6; }
11578 if ${ac_cv_path_orig_target_ar+:} false
; then :
11579 $as_echo_n "(cached) " >&6
11581 case $orig_target_ar in
11583 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11587 for as_dir
in `dirname $aros_gcc_ar`
11590 test -z "$as_dir" && as_dir
=.
11591 for ac_exec_ext
in '' $ac_executable_extensions; do
11592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11593 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11604 orig_target_ar
=$ac_cv_path_orig_target_ar
11605 if test -n "$orig_target_ar"; then
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11607 $as_echo "$orig_target_ar" >&6; }
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11610 $as_echo "no" >&6; }
11615 if test "$orig_target_ar" = ""; then
11616 # Extract the first word of "ar", so it can be a program name with args.
11617 set dummy
ar; ac_word
=$2
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11619 $as_echo_n "checking for $ac_word... " >&6; }
11620 if ${ac_cv_path_orig_target_ar+:} false
; then :
11621 $as_echo_n "(cached) " >&6
11623 case $orig_target_ar in
11625 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11629 for as_dir
in $PATH
11632 test -z "$as_dir" && as_dir
=.
11633 for ac_exec_ext
in '' $ac_executable_extensions; do
11634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11635 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11646 orig_target_ar
=$ac_cv_path_orig_target_ar
11647 if test -n "$orig_target_ar"; then
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11649 $as_echo "$orig_target_ar" >&6; }
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11652 $as_echo "no" >&6; }
11659 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11660 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11662 $as_echo_n "checking for $ac_word... " >&6; }
11663 if ${ac_cv_path_orig_target_ar+:} false
; then :
11664 $as_echo_n "(cached) " >&6
11666 case $orig_target_ar in
11668 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11672 for as_dir
in $PATH
11675 test -z "$as_dir" && as_dir
=.
11676 for ac_exec_ext
in '' $ac_executable_extensions; do
11677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11678 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11689 orig_target_ar
=$ac_cv_path_orig_target_ar
11690 if test -n "$orig_target_ar"; then
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11692 $as_echo "$orig_target_ar" >&6; }
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11695 $as_echo "no" >&6; }
11701 if test "$orig_target_ar" = ""; then
11702 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11705 if test "${aros_tool_prefix}ranlib" = ""; then
11706 if test "$cross_compiling" = "yes" ; then
11707 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11708 set dummy
${target_tool_prefix}ar; ac_word
=$2
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11710 $as_echo_n "checking for $ac_word... " >&6; }
11711 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11712 $as_echo_n "(cached) " >&6
11714 case $orig_target_ranlib in
11716 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11720 for as_dir
in $PATH
11723 test -z "$as_dir" && as_dir
=.
11724 for ac_exec_ext
in '' $ac_executable_extensions; do
11725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11726 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11737 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11738 if test -n "$orig_target_ranlib"; then
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11740 $as_echo "$orig_target_ranlib" >&6; }
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11743 $as_echo "no" >&6; }
11748 if test "$GCC" = "yes"; then
11749 aros_gcc_ar
=`$CC -print-prog-name=ar`
11750 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11751 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11753 $as_echo_n "checking for $ac_word... " >&6; }
11754 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11755 $as_echo_n "(cached) " >&6
11757 case $orig_target_ranlib in
11759 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11763 for as_dir
in `dirname $aros_gcc_ar`
11766 test -z "$as_dir" && as_dir
=.
11767 for ac_exec_ext
in '' $ac_executable_extensions; do
11768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11769 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11780 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11781 if test -n "$orig_target_ranlib"; then
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11783 $as_echo "$orig_target_ranlib" >&6; }
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11786 $as_echo "no" >&6; }
11791 if test "$orig_target_ranlib" = ""; then
11792 # Extract the first word of "ar", so it can be a program name with args.
11793 set dummy
ar; ac_word
=$2
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11795 $as_echo_n "checking for $ac_word... " >&6; }
11796 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11797 $as_echo_n "(cached) " >&6
11799 case $orig_target_ranlib in
11801 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11805 for as_dir
in $PATH
11808 test -z "$as_dir" && as_dir
=.
11809 for ac_exec_ext
in '' $ac_executable_extensions; do
11810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11811 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11822 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11823 if test -n "$orig_target_ranlib"; then
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11825 $as_echo "$orig_target_ranlib" >&6; }
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11828 $as_echo "no" >&6; }
11835 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11836 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11838 $as_echo_n "checking for $ac_word... " >&6; }
11839 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11840 $as_echo_n "(cached) " >&6
11842 case $orig_target_ranlib in
11844 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11848 for as_dir
in $PATH
11851 test -z "$as_dir" && as_dir
=.
11852 for ac_exec_ext
in '' $ac_executable_extensions; do
11853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11854 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11865 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11866 if test -n "$orig_target_ranlib"; then
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11868 $as_echo "$orig_target_ranlib" >&6; }
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11871 $as_echo "no" >&6; }
11877 if test "$orig_target_ranlib" = ""; then
11878 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11881 if test "${aros_tool_prefix}nm" = ""; then
11882 if test "$cross_compiling" = "yes" ; then
11883 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
11884 set dummy
${target_tool_prefix}nm
; ac_word
=$2
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11886 $as_echo_n "checking for $ac_word... " >&6; }
11887 if ${ac_cv_path_orig_target_nm+:} false
; then :
11888 $as_echo_n "(cached) " >&6
11890 case $orig_target_nm in
11892 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11896 for as_dir
in $PATH
11899 test -z "$as_dir" && as_dir
=.
11900 for ac_exec_ext
in '' $ac_executable_extensions; do
11901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11902 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11913 orig_target_nm
=$ac_cv_path_orig_target_nm
11914 if test -n "$orig_target_nm"; then
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11916 $as_echo "$orig_target_nm" >&6; }
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11919 $as_echo "no" >&6; }
11924 if test "$GCC" = "yes"; then
11925 aros_gcc_nm
=`$CC -print-prog-name=nm`
11926 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11927 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11929 $as_echo_n "checking for $ac_word... " >&6; }
11930 if ${ac_cv_path_orig_target_nm+:} false
; then :
11931 $as_echo_n "(cached) " >&6
11933 case $orig_target_nm in
11935 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11939 for as_dir
in `dirname $aros_gcc_nm`
11942 test -z "$as_dir" && as_dir
=.
11943 for ac_exec_ext
in '' $ac_executable_extensions; do
11944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11945 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11956 orig_target_nm
=$ac_cv_path_orig_target_nm
11957 if test -n "$orig_target_nm"; then
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11959 $as_echo "$orig_target_nm" >&6; }
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11962 $as_echo "no" >&6; }
11967 if test "$orig_target_nm" = ""; then
11968 # Extract the first word of "nm", so it can be a program name with args.
11969 set dummy nm
; ac_word
=$2
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11971 $as_echo_n "checking for $ac_word... " >&6; }
11972 if ${ac_cv_path_orig_target_nm+:} false
; then :
11973 $as_echo_n "(cached) " >&6
11975 case $orig_target_nm in
11977 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11981 for as_dir
in $PATH
11984 test -z "$as_dir" && as_dir
=.
11985 for ac_exec_ext
in '' $ac_executable_extensions; do
11986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11987 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11998 orig_target_nm
=$ac_cv_path_orig_target_nm
11999 if test -n "$orig_target_nm"; then
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12001 $as_echo "$orig_target_nm" >&6; }
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12004 $as_echo "no" >&6; }
12011 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12012 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12014 $as_echo_n "checking for $ac_word... " >&6; }
12015 if ${ac_cv_path_orig_target_nm+:} false
; then :
12016 $as_echo_n "(cached) " >&6
12018 case $orig_target_nm in
12020 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12024 for as_dir
in $PATH
12027 test -z "$as_dir" && as_dir
=.
12028 for ac_exec_ext
in '' $ac_executable_extensions; do
12029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12030 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12041 orig_target_nm
=$ac_cv_path_orig_target_nm
12042 if test -n "$orig_target_nm"; then
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12044 $as_echo "$orig_target_nm" >&6; }
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12047 $as_echo "no" >&6; }
12053 if test "$orig_target_nm" = ""; then
12054 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12057 if test "${aros_tool_prefix}strip" = ""; then
12058 if test "$cross_compiling" = "yes" ; then
12059 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12060 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12062 $as_echo_n "checking for $ac_word... " >&6; }
12063 if ${ac_cv_path_orig_target_strip+:} false
; then :
12064 $as_echo_n "(cached) " >&6
12066 case $orig_target_strip in
12068 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12072 for as_dir
in $PATH
12075 test -z "$as_dir" && as_dir
=.
12076 for ac_exec_ext
in '' $ac_executable_extensions; do
12077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12078 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12089 orig_target_strip
=$ac_cv_path_orig_target_strip
12090 if test -n "$orig_target_strip"; then
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12092 $as_echo "$orig_target_strip" >&6; }
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12095 $as_echo "no" >&6; }
12100 if test "$GCC" = "yes"; then
12101 aros_gcc_strip
=`$CC -print-prog-name=strip`
12102 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12103 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12105 $as_echo_n "checking for $ac_word... " >&6; }
12106 if ${ac_cv_path_orig_target_strip+:} false
; then :
12107 $as_echo_n "(cached) " >&6
12109 case $orig_target_strip in
12111 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12115 for as_dir
in `dirname $aros_gcc_strip`
12118 test -z "$as_dir" && as_dir
=.
12119 for ac_exec_ext
in '' $ac_executable_extensions; do
12120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12121 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12132 orig_target_strip
=$ac_cv_path_orig_target_strip
12133 if test -n "$orig_target_strip"; then
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12135 $as_echo "$orig_target_strip" >&6; }
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12138 $as_echo "no" >&6; }
12143 if test "$orig_target_strip" = ""; then
12144 # Extract the first word of "strip", so it can be a program name with args.
12145 set dummy strip
; ac_word
=$2
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12147 $as_echo_n "checking for $ac_word... " >&6; }
12148 if ${ac_cv_path_orig_target_strip+:} false
; then :
12149 $as_echo_n "(cached) " >&6
12151 case $orig_target_strip in
12153 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12157 for as_dir
in $PATH
12160 test -z "$as_dir" && as_dir
=.
12161 for ac_exec_ext
in '' $ac_executable_extensions; do
12162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12163 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12174 orig_target_strip
=$ac_cv_path_orig_target_strip
12175 if test -n "$orig_target_strip"; then
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12177 $as_echo "$orig_target_strip" >&6; }
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12180 $as_echo "no" >&6; }
12187 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12188 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12190 $as_echo_n "checking for $ac_word... " >&6; }
12191 if ${ac_cv_path_orig_target_strip+:} false
; then :
12192 $as_echo_n "(cached) " >&6
12194 case $orig_target_strip in
12196 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12200 for as_dir
in $PATH
12203 test -z "$as_dir" && as_dir
=.
12204 for ac_exec_ext
in '' $ac_executable_extensions; do
12205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12206 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12217 orig_target_strip
=$ac_cv_path_orig_target_strip
12218 if test -n "$orig_target_strip"; then
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12220 $as_echo "$orig_target_strip" >&6; }
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12223 $as_echo "no" >&6; }
12229 if test "$orig_target_strip" = ""; then
12230 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12233 if test "${aros_tool_prefix}objcopy" = ""; then
12234 if test "$cross_compiling" = "yes" ; then
12235 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12236 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12238 $as_echo_n "checking for $ac_word... " >&6; }
12239 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12240 $as_echo_n "(cached) " >&6
12242 case $orig_target_objcopy in
12244 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12248 for as_dir
in $PATH
12251 test -z "$as_dir" && as_dir
=.
12252 for ac_exec_ext
in '' $ac_executable_extensions; do
12253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12254 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12265 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12266 if test -n "$orig_target_objcopy"; then
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12268 $as_echo "$orig_target_objcopy" >&6; }
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12271 $as_echo "no" >&6; }
12276 if test "$GCC" = "yes"; then
12277 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12278 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12279 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12281 $as_echo_n "checking for $ac_word... " >&6; }
12282 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12283 $as_echo_n "(cached) " >&6
12285 case $orig_target_objcopy in
12287 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12291 for as_dir
in `dirname $aros_gcc_objcopy`
12294 test -z "$as_dir" && as_dir
=.
12295 for ac_exec_ext
in '' $ac_executable_extensions; do
12296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12297 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12308 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12309 if test -n "$orig_target_objcopy"; then
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12311 $as_echo "$orig_target_objcopy" >&6; }
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12314 $as_echo "no" >&6; }
12319 if test "$orig_target_objcopy" = ""; then
12320 # Extract the first word of "objcopy", so it can be a program name with args.
12321 set dummy objcopy
; ac_word
=$2
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12323 $as_echo_n "checking for $ac_word... " >&6; }
12324 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12325 $as_echo_n "(cached) " >&6
12327 case $orig_target_objcopy in
12329 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12333 for as_dir
in $PATH
12336 test -z "$as_dir" && as_dir
=.
12337 for ac_exec_ext
in '' $ac_executable_extensions; do
12338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12339 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12350 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12351 if test -n "$orig_target_objcopy"; then
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12353 $as_echo "$orig_target_objcopy" >&6; }
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12356 $as_echo "no" >&6; }
12363 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12364 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12366 $as_echo_n "checking for $ac_word... " >&6; }
12367 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12368 $as_echo_n "(cached) " >&6
12370 case $orig_target_objcopy in
12372 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12376 for as_dir
in $PATH
12379 test -z "$as_dir" && as_dir
=.
12380 for ac_exec_ext
in '' $ac_executable_extensions; do
12381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12382 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12393 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12394 if test -n "$orig_target_objcopy"; then
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12396 $as_echo "$orig_target_objcopy" >&6; }
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12399 $as_echo "no" >&6; }
12405 if test "$orig_target_objcopy" = ""; then
12406 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12409 if test "${aros_tool_prefix}objdump" = ""; then
12410 if test "$cross_compiling" = "yes" ; then
12411 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12412 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12414 $as_echo_n "checking for $ac_word... " >&6; }
12415 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12416 $as_echo_n "(cached) " >&6
12418 case $orig_target_objdump in
12420 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12424 for as_dir
in $PATH
12427 test -z "$as_dir" && as_dir
=.
12428 for ac_exec_ext
in '' $ac_executable_extensions; do
12429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12430 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12441 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12442 if test -n "$orig_target_objdump"; then
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12444 $as_echo "$orig_target_objdump" >&6; }
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12447 $as_echo "no" >&6; }
12452 if test "$GCC" = "yes"; then
12453 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12454 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12455 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12457 $as_echo_n "checking for $ac_word... " >&6; }
12458 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12459 $as_echo_n "(cached) " >&6
12461 case $orig_target_objdump in
12463 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12467 for as_dir
in `dirname $aros_gcc_objdump`
12470 test -z "$as_dir" && as_dir
=.
12471 for ac_exec_ext
in '' $ac_executable_extensions; do
12472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12473 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12484 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12485 if test -n "$orig_target_objdump"; then
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12487 $as_echo "$orig_target_objdump" >&6; }
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12490 $as_echo "no" >&6; }
12495 if test "$orig_target_objdump" = ""; then
12496 # Extract the first word of "objdump", so it can be a program name with args.
12497 set dummy objdump
; ac_word
=$2
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12499 $as_echo_n "checking for $ac_word... " >&6; }
12500 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12501 $as_echo_n "(cached) " >&6
12503 case $orig_target_objdump in
12505 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12509 for as_dir
in $PATH
12512 test -z "$as_dir" && as_dir
=.
12513 for ac_exec_ext
in '' $ac_executable_extensions; do
12514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12515 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12526 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12527 if test -n "$orig_target_objdump"; then
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12529 $as_echo "$orig_target_objdump" >&6; }
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12532 $as_echo "no" >&6; }
12539 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12540 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12542 $as_echo_n "checking for $ac_word... " >&6; }
12543 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12544 $as_echo_n "(cached) " >&6
12546 case $orig_target_objdump in
12548 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12552 for as_dir
in $PATH
12555 test -z "$as_dir" && as_dir
=.
12556 for ac_exec_ext
in '' $ac_executable_extensions; do
12557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12558 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12569 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12570 if test -n "$orig_target_objdump"; then
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12572 $as_echo "$orig_target_objdump" >&6; }
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12575 $as_echo "no" >&6; }
12581 if test "$orig_target_objdump" = ""; then
12582 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12586 if test "$kernel_tool_prefix" = "none" ; then
12587 # No kernel tools specified
12588 # Assume target tools == kernel tools with ELF wrapper
12589 aros_kernel_cc
=$orig_target_cc
12590 aros_kernel_cxx
=$orig_target_cxx
12591 aros_kernel_cpp
=$orig_target_cpp
12592 aros_kernel_ld
=$orig_target_ld
12593 aros_kernel_as
=$orig_target_as
12594 aros_kernel_ar
=$orig_target_ar
12595 aros_kernel_ranlib
=$orig_target_ranlib
12596 aros_kernel_nm
=$orig_target_nm
12597 aros_kernel_strip
=$orig_target_strip
12598 aros_kernel_objcopy
=$orig_target_objcopy
12599 aros_kernel_objdump
=$orig_target_objdump
12600 use_kernel_cc_wrapper
=yes
12603 # At this point, all aros_kernel_* and aros_target_*
12604 # tools should be set up correctly
12606 CC
="$aros_kernel_cc $kernel_tool_flags"
12607 CPP
="$aros_kernel_cpp"
12609 #-----------------------------------------------------------------------------
12611 # Disable pointer-signedness warnings if the compiler recognises the option
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12614 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12615 save_cflags
="$CFLAGS"
12616 if test "$crosstools" != "yes" ; then
12617 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12619 /* end confdefs.h. */
12629 if ac_fn_c_try_compile
"$LINENO"; then :
12630 use_no_sign_warning
="yes"
12632 use_no_sign_warning
="no"
12634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12636 # we do know it is supported for the smallest version of gcc we are going to build
12637 # we assume it's also supported by later versions
12638 use_no_sign_warning
=yes
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12641 $as_echo "$use_no_sign_warning" >&6; }
12642 if test "x-$use_no_sign_warning" = "x-yes" ; then
12643 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12645 CFLAGS
="$save_cflags"
12647 #-----------------------------------------------------------------------------
12649 # Find all the tools we need to compile. This could be cross-compiling
12650 # though! If that is the case we use the GNU form of the target and
12651 # simply add this to the front of the binary name. This is rather simple,
12652 # but it should work under most circumstances.
12654 # The default tools are to use the same as the host, but only if the
12655 # host and target CPU are the same. With GCC this is normally enough.
12659 aros_shared_ld
="$aros_host_ld"
12661 aros_target_mkdep
="$aros_host_mkdep"
12663 # The default tools executables to be linked to.
12664 if test "$rescomp" != ""; then
12665 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12666 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12668 $as_echo_n "checking for $ac_word... " >&6; }
12669 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12670 $as_echo_n "(cached) " >&6
12672 case $aros_kernel_rescomp in
12674 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12678 for as_dir
in $PATH
12681 test -z "$as_dir" && as_dir
=.
12682 for ac_exec_ext
in '' $ac_executable_extensions; do
12683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12684 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12695 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12696 if test -n "$aros_kernel_rescomp"; then
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12698 $as_echo "$aros_kernel_rescomp" >&6; }
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12701 $as_echo "no" >&6; }
12705 if test "$aros_kernel_rescomp" = ""; then
12706 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12710 # Set up the sources for the symlink farm
12711 if test "$crosstools" = "yes"; then
12712 crosstools_target
=tools-crosstools
12715 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12716 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12719 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12720 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12721 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12722 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12723 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12724 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12725 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12727 # aros_cc_pre is a variable that is added to the front of the compiler name
12728 # in the generated aros-gcc shell script. We need this to enable the cache
12729 # to work across cleaned builds. Also, support DISTCC using the correct
12730 # environment variable.
12733 if test "x${DISTCC}" != "x" ; then
12734 if test "x${CCACHE}" != "x" ; then
12735 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12737 aros_cc_pre
="${DISTCC} "
12740 if test "x${CCACHE}" != "x" ; then
12741 aros_cc_pre
="${CCACHE} "
12745 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12747 aros_target_nostdinc_cflags
=-nostdinc
12749 aros_target_nostartup_ldflags
=-nostartfiles
12751 aros_target_nix_ldflags
=-nix
12753 aros_target_detach_ldflags
=-detach
12755 aros_target_nostdlib_ldflags
=-nostdlib
12759 if test "$crosstools" != "yes"; then
12760 if test "$GCC" = "yes"; then
12761 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12764 # We do not know which gcc version we are going to build and what we need to know
12765 # here is different for different versions so this will be set later during the
12766 # build of crosstools.
12767 aros_target_cc_path
=@aros_target_cc_path@
12769 aros_target_cpp
="${prefix}cpp"
12770 aros_target_cc
="${prefix}gcc"
12771 aros_target_cxx
="${prefix}g++"
12772 aros_target_as
="${prefix}as"
12773 aros_target_ld
="${prefix}ld"
12774 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12775 aros_target_objcopy
="${prefix}objcopy"
12776 aros_target_objdump
="${prefix}objdump"
12777 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12778 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12779 aros_target_strip
="${prefix}strip"
12780 aros_plain_nm
="${prefix}nm"
12781 aros_plain_ar
="${prefix}ar"
12783 # Check whether --enable-includes was given.
12784 if test "${enable_includes+set}" = set; then :
12785 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12787 aros_target_incl
="/usr/include"
12791 if test "$aros_kernel_includes" = ""; then
12792 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12793 aros_kernel_includes
="-isystem $aros_target_incl"
12797 if test "$aros_kernel_includes" != "" ; then
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12799 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12800 if test "$aros_kernel_cc_includes" = "" ; then
12801 # Try to guess where the directory is.
12802 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12803 if test -d $aros_kernel_cc_includes; then
12804 # Check if there is also an include-fixed directory and add it
12805 # to kernel compiler's include path as it may contain some of
12806 # the headers we need.
12807 if test -d "$aros_kernel_cc_includes"-fixed; then
12808 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12810 # Check for specific includes directory. Neede for Ubuntu 11.10
12811 if test -d "/usr/include/i386-linux-gnu"; then
12812 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12815 # The directory doesn't exist, we need to do some more work.
12816 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12818 # These are the headers we're looking for.
12819 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12820 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12824 for h
in $headers; do
12825 # Which other headers are needed by each of the above?
12826 deps
=$
(echo "#include <$h>" | \
12827 $aros_kernel_cc -E -M - 2>/dev
/null | \
12828 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12830 # Copy all the needed headers to a directory beneath gendir.
12833 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12834 sed -n "s,^.*/include\(/.*\),\1,p")
12835 ! test -d $dir && mkdir
-p $dir
12836 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12842 $as_echo "$aros_kernel_cc_includes" >&6; }
12843 # Adding -nostdinc to kernel includes as they are always used together.
12844 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12847 if test "$crosstools" != "yes"; then
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12849 $as_echo_n "checking for the target compiler's include path... " >&6; }
12850 if test "$aros_target_cc_includes" = "" ; then
12851 #try to guess where the directory is
12852 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12853 if ! test -d $aros_target_cc_includes; then
12854 #the directory doesn't exist, we need to do some more work
12855 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12857 #these are the headers we're looking for
12858 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12859 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12863 for h
in $headers; do
12864 #which other headers each of the above headers needs?
12865 deps
=$
(echo "#include <$h>" | \
12866 $orig_target_cc -E -M - 2>/dev
/null | \
12867 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12869 #copy all the needed headers to a directory beneath gendir
12872 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
12873 sed -n "s,^.*/include\(/.*\),\1,p")
12874 ! test -d $dir && mkdir
-p $dir
12875 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
12881 $as_echo "$aros_target_cc_includes" >&6; }
12883 # We do not know which gcc version we are going to build and what we need to know
12884 # here is different for different versions so this will be set later during the
12885 # build of crosstools.
12886 aros_target_cc_includes
=@aros_target_cc_includes@
12890 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
12891 # On GCC >= 4.0 -iquote should be used
12895 save_cflags
="$CFLAGS"
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12898 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12899 if test "x-$crosstools" != "x-yes"; then
12900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12901 /* end confdefs.h. */
12911 if ac_fn_c_try_compile
"$LINENO"; then :
12916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12918 # we do know it is supported for the smallest version of gcc we are going to build
12919 # we assume it's also supported by later versions
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12923 $as_echo "$has_iquote" >&6; }
12924 if test "x-$has_iquote" = "x-yes" ; then
12925 host_cflags_iquote
=-iquote
12926 host_cflags_iquote_end
=
12928 host_cflags_iquote
=-I
12929 host_cflags_iquote_end
=-I-
12931 kernel_cflags_iquote
=$host_cflags_iquote
12932 kernel_cflags_iquote_end
=$host_cflags_iquote_end
12933 if test "x-$cross_compiling" = "x-yes"; then
12934 CC
="$aros_kernel_cc"
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
12936 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
12937 if test "x-$crosstools" != "x-yes"; then
12938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12949 if ac_fn_c_try_compile
"$LINENO"; then :
12950 use_no_stack_protector
="yes"
12952 use_no_stack_protector
="no"
12954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12956 # we do know it is supported for the smallest version of gcc we are going to build
12957 # we assume it's also supported by later versions
12958 use_no_stack_protector
=yes
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
12961 $as_echo "$use_no_stack_protector" >&6; }
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12963 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12964 if test "x-$crosstools" != "x-yes"; then
12965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12966 /* end confdefs.h. */
12976 if ac_fn_c_try_compile
"$LINENO"; then :
12981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12983 # we do know it is supported for the smallest version of gcc we are going to build
12984 # we assume it's also supported by later versions
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12988 $as_echo "$has_iquote" >&6; }
12989 if test "x-$has_iquote" = "x-yes" ; then
12990 kernel_cflags_iquote
=-iquote
12991 kernel_cflags_iquote_end
=
12993 kernel_cflags_iquote
=-I
12994 kernel_cflags_iquote_end
=-I-
12997 aros_cflags_iquote
=$kernel_cflags_iquote
12998 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
12999 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13000 CC
="$orig_target_cc"
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13002 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13003 if test "x-$crosstools" != "x-yes"; then
13004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13005 /* end confdefs.h. */
13015 if ac_fn_c_try_compile
"$LINENO"; then :
13020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13022 # we do know it is supported for the smallest version of gcc we are going to build
13023 # we assume it's also supported by later versions
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13027 $as_echo "$has_iquote" >&6; }
13028 if test "x-$has_iquote" = "x-yes" ; then
13029 aros_cflags_iquote
=-iquote
13030 aros_cflags_iquote_end
=
13032 aros_cflags_iquote
=-I
13033 aros_cflags_iquote_end
=-I-
13036 if test "x-$use_no_stack_protector" = "x-yes" ; then
13037 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13041 #-----------------------------------------------------------------------------
13043 # Check if the target compiler supports some options used for delinting:
13044 # -Wunused-but-set-variable
13047 # -Wstrict-overflow
13048 # -Wformat-security
13050 if test "x-$crosstools" != "x-yes"; then
13051 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13052 CC
="$orig_target_cc"
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13055 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13056 CFLAGS
=-Wunused-but-set-variable
13057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13058 /* end confdefs.h. */
13068 if ac_fn_c_try_compile
"$LINENO"; then :
13069 aros_unused_but_set_variable
="yes"
13071 aros_unused_but_set_variable
="no"
13073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13075 $as_echo "$aros_unused_but_set_variable" >&6; }
13076 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13077 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13081 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13082 CFLAGS
=-Warray-bounds
13083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13084 /* end confdefs.h. */
13094 if ac_fn_c_try_compile
"$LINENO"; then :
13095 aros_array_bounds
="yes"
13097 aros_array_bounds
="no"
13099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13101 $as_echo "$aros_array_bounds" >&6; }
13102 if test "x-$aros_array_bounds" = "x-yes" ; then
13103 aros_cflags_array_bounds
=-Wno-array-bounds
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13107 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13108 CFLAGS
=-Wenum-compare
13109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13120 if ac_fn_c_try_compile
"$LINENO"; then :
13121 aros_enum_compare
="yes"
13123 aros_enum_compare
="no"
13125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13127 $as_echo "$aros_enum_compare" >&6; }
13128 if test "x-$aros_enum_compare" = "x-yes" ; then
13129 aros_cflags_enum_compare
=-Wno-enum-compare
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13133 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13134 CFLAGS
=-Wstrict-overflow
13135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13136 /* end confdefs.h. */
13146 if ac_fn_c_try_compile
"$LINENO"; then :
13147 aros_strict_overflow
="yes"
13149 aros_strict_overflow
="no"
13151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13153 $as_echo "$aros_strict_overflow" >&6; }
13154 if test "x-$aros_strict_overflow" = "x-yes" ; then
13155 aros_cflags_strict_overflow
=-Wno-strict-overflow
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13159 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13160 CFLAGS
=-Wformat-security
13161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13162 /* end confdefs.h. */
13172 if ac_fn_c_try_compile
"$LINENO"; then :
13173 aros_format_security
="yes"
13175 aros_format_security
="no"
13177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13179 $as_echo "$aros_format_security" >&6; }
13180 if test "x-$aros_format_security" = "x-yes" ; then
13181 aros_cflags_format_security
=-Wno-format-security
13184 # We do not know which gcc version we are going to build and what we need to know
13185 # here is different for different versions so this will be set later during the
13186 # build of crosstools.
13187 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13188 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13189 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13190 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13191 aros_cflags_format_security
=@aros_cflags_format_security@
13194 #-----------------------------------------------------------------------------
13196 # Check if we can explicitly choose older version of symbol hashing
13198 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13199 CC
="$aros_kernel_cc"
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13201 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13203 /* end confdefs.h. */
13213 if ac_fn_c_try_link
"$LINENO"; then :
13214 use_hash_style
="yes"
13216 use_hash_style
="no"
13218 rm -f core conftest.err conftest.
$ac_objext \
13219 conftest
$ac_exeext conftest.
$ac_ext
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13221 $as_echo "$use_hash_style" >&6; }
13222 if test "x-$use_hash_style" = "x-yes" ; then
13223 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13226 CFLAGS
="$save_cflags"
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13237 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13239 # Check whether --with-resolution was given.
13240 if test "${with_resolution+set}" = set; then :
13241 withval
=$with_resolution; resolution
=$withval
13246 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13247 if test "$resolution" = "yes" ; then
13250 if test "$resolution" = "no" ; then
13253 if test "$resolution" != "none" ; then
13254 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13255 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13256 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13259 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13260 aros_cv_default_wbwidth
=$aros_default_wbwidth
13261 aros_cv_default_wbheight
=$aros_default_wbheight
13262 aros_cv_default_wbdepth
=$aros_default_wbdepth
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13265 $as_echo_n "checking if serial debug is enabled... " >&6; }
13267 # Check whether --with-serial-debug was given.
13268 if test "${with_serial_debug+set}" = set; then :
13269 withval
=$with_serial_debug; serial_debug
=$withval
13274 if test "$aros_serial_debug" = 0 ; then
13275 serial_debug_forced
=""
13276 if test "$serial_debug" = "yes" ; then
13279 if test "$serial_debug" = "no" ; then
13280 serial_debug
="none"
13283 serial_debug_forced
="(forced)"
13284 serial_debug
=$aros_serial_debug
13286 if test "$serial_debug" != "none" ; then
13287 aros_serial_debug
=$serial_debug
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13289 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13292 $as_echo "no" >&6; }
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13296 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13297 # Check whether --enable-palm_debug_hack was given.
13298 if test "${enable_palm_debug_hack+set}" = set; then :
13299 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13301 palm_debug_hack
="no"
13304 if test "$palm_debug_hack" = "yes" ; then
13305 aros_palm_debug_hack
="1"
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13308 $as_echo "$palm_debug_hack" >&6; }
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13311 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13312 # Check whether --enable-nesting_supervisor was given.
13313 if test "${enable_nesting_supervisor+set}" = set; then :
13314 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13316 nesting_supervisor
="no"
13319 if test "$nesting_supervisor" = "yes" ; then
13320 aros_nesting_supervisor
="1"
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13323 $as_echo "$nesting_supervisor" >&6; }
13325 if test "$aros_enable_mmu" = "" ; then
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13327 $as_echo_n "checking if MMU support is enabled... " >&6; }
13328 # Check whether --enable-mmu was given.
13329 if test "${enable_mmu+set}" = set; then :
13330 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13332 aros_enable_mmu
="yes"
13335 if test "$aros_enable_mmu" = "" ; then
13336 aros_enable_mmu
="yes"
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13339 $as_echo "$aros_enable_mmu" >&6; }
13341 if test "$aros_enable_mmu" = "no" ; then
13342 aros_enable_mmu
="0"
13344 aros_enable_mmu
="1"
13348 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13350 if test "x-$need_dlopen" != "x-no" ; then
13351 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13352 if test "x$ac_cv_func_dlopen" = xyes
; then :
13358 if test "x-$have_dl" = "x-no" ; then
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13360 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13361 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13362 $as_echo_n "(cached) " >&6
13364 ac_check_lib_save_LIBS
=$LIBS
13366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13367 /* end confdefs.h. */
13369 /* Override any GCC internal prototype to avoid an error.
13370 Use char because int might match the return type of a GCC
13371 builtin and then its argument prototype would still apply. */
13384 if ac_fn_c_try_link
"$LINENO"; then :
13385 ac_cv_lib_dl_dlopen
=yes
13387 ac_cv_lib_dl_dlopen
=no
13389 rm -f core conftest.err conftest.
$ac_objext \
13390 conftest
$ac_exeext conftest.
$ac_ext
13391 LIBS
=$ac_check_lib_save_LIBS
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13394 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13395 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13397 aros_host_ldflags
="$aros_host_ldflags -ldl"
13403 if test "x-$have_dl" = "x-no" ; then
13404 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13409 # Check whether --enable-x11_hidd was given.
13410 if test "${enable_x11_hidd+set}" = set; then :
13411 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13413 x11_hidd
="$need_x11"
13416 case "x-$x11_hidd" in
13417 x-yes|x-no|x-auto
) ;;
13418 *) x11_hidd
="$need_x11" ;;
13423 if test "x-$x11_hidd" != "x-no" ; then
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13426 $as_echo_n "checking for X... " >&6; }
13429 # Check whether --with-x was given.
13430 if test "${with_x+set}" = set; then :
13434 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13435 if test "x$with_x" = xno
; then
13436 # The user explicitly disabled X.
13439 case $x_includes,$x_libraries in #(
13440 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13441 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13442 $as_echo_n "(cached) " >&6
13444 # One or both of the vars are not set, and there is no cached value.
13445 ac_x_includes
=no ac_x_libraries
=no
13446 rm -f -r conftest.dir
13447 if mkdir conftest.dir
; then
13449 cat >Imakefile
<<'_ACEOF'
13451 @echo incroot='${INCROOT}'
13453 @echo usrlibdir='${USRLIBDIR}'
13455 @echo libdir='${LIBDIR}'
13457 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13458 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13459 for ac_var
in incroot usrlibdir libdir
; do
13460 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13462 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13463 for ac_extension
in a so sl dylib la dll
; do
13464 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13465 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13466 ac_im_usrlibdir
=$ac_im_libdir; break
13469 # Screen out bogus values from the imake configuration. They are
13470 # bogus both because they are the default anyway, and because
13471 # using them would break gcc on systems where it needs fixed includes.
13472 case $ac_im_incroot in
13473 /usr
/include
) ac_x_includes
= ;;
13474 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13476 case $ac_im_usrlibdir in
13477 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13478 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13482 rm -f -r conftest.dir
13485 # Standard set of common directories for X headers.
13486 # Check X11 before X11Rn because it is often a symlink to the current release.
13500 /usr/local/X11/include
13501 /usr/local/X11R7/include
13502 /usr/local/X11R6/include
13503 /usr/local/X11R5/include
13504 /usr/local/X11R4/include
13506 /usr/local/include/X11
13507 /usr/local/include/X11R7
13508 /usr/local/include/X11R6
13509 /usr/local/include/X11R5
13510 /usr/local/include/X11R4
13514 /usr/XFree86/include/X11
13518 /usr/unsupported/include
13519 /usr/athena/include
13520 /usr/local/x11r5/include
13521 /usr/lpp/Xamples/include
13523 /usr/openwin/include
13524 /usr/openwin/share/include'
13526 if test "$ac_x_includes" = no
; then
13527 # Guess where to find include files, by looking for Xlib.h.
13528 # First, try using that file with no special directory specified.
13529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13530 /* end confdefs.h. */
13531 #include <X11/Xlib.h>
13533 if ac_fn_c_try_cpp
"$LINENO"; then :
13534 # We can compile using X headers with no special include directory.
13537 for ac_dir
in $ac_x_header_dirs; do
13538 if test -r "$ac_dir/X11/Xlib.h"; then
13539 ac_x_includes
=$ac_dir
13544 rm -f conftest.err conftest.i conftest.
$ac_ext
13545 fi # $ac_x_includes = no
13547 if test "$ac_x_libraries" = no
; then
13548 # Check for the libraries.
13549 # See if we find them without any special options.
13550 # Don't add to $LIBS permanently.
13553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13554 /* end confdefs.h. */
13555 #include <X11/Xlib.h>
13564 if ac_fn_c_try_link
"$LINENO"; then :
13566 # We can link X programs with no special library path.
13570 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13572 # Don't even attempt the hair of trying to link an X program!
13573 for ac_extension
in a so sl dylib la dll
; do
13574 if test -r "$ac_dir/libX11.$ac_extension"; then
13575 ac_x_libraries
=$ac_dir
13581 rm -f core conftest.err conftest.
$ac_objext \
13582 conftest
$ac_exeext conftest.
$ac_ext
13583 fi # $ac_x_libraries = no
13585 case $ac_x_includes,$ac_x_libraries in #(
13586 no
,* |
*,no |
*\'*)
13587 # Didn't find X, or a directory has "'" in its name.
13588 ac_cv_have_x
="have_x=no";; #(
13590 # Record where we found X for the cache.
13591 ac_cv_have_x
="have_x=yes\
13592 ac_x_includes='$ac_x_includes'\
13593 ac_x_libraries='$ac_x_libraries'"
13599 eval "$ac_cv_have_x"
13602 if test "$have_x" != yes; then
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13604 $as_echo "$have_x" >&6; }
13607 # If each of the values was on the command line, it overrides each guess.
13608 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13609 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13610 # Update the cache value to reflect the command line values.
13611 ac_cv_have_x
="have_x=yes\
13612 ac_x_includes='$x_includes'\
13613 ac_x_libraries='$x_libraries'"
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13615 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13620 for path
in $x_libraries
13622 x_cflags
="$x_cflags -L$path"
13625 for path
in $x_includes
13627 x_cflags
="$x_cflags -I$path"
13630 if test "x-$no_x" = "x-yes" ; then
13632 if test "x-$x11_hidd" != "x-auto" ; then
13633 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13637 x11_hidd_target
=kernel-x11gfx-kobj
13640 # Check whether --enable-x11_shm was given.
13641 if test "${enable_x11_shm+set}" = set; then :
13642 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13644 x11_hidd_shm
="auto"
13647 case "x-$x11_hidd_shm" in
13648 x-yes|x-no|x-auto
) ;;
13649 *) x11_hidd_shm
="auto" ;;
13654 if test "x-$x11_hidd_shm" != "x-no" ; then
13656 for ac_header
in sys
/ipc.h
13658 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13659 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13660 cat >>confdefs.h
<<_ACEOF
13661 #define HAVE_SYS_IPC_H 1
13668 for ac_header
in sys
/shm.h
13670 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13671 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13672 cat >>confdefs.h
<<_ACEOF
13673 #define HAVE_SYS_SHM_H 1
13681 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13683 save_cflags
="$CFLAGS"
13684 CFLAGS
="$CFLAGS $x_cflags"
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13686 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13687 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13688 $as_echo_n "(cached) " >&6
13690 ac_check_lib_save_LIBS
=$LIBS
13691 LIBS
="-lXext $LIBS"
13692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13693 /* end confdefs.h. */
13695 /* Override any GCC internal prototype to avoid an error.
13696 Use char because int might match the return type of a GCC
13697 builtin and then its argument prototype would still apply. */
13701 char XShmQueryExtension ();
13705 return XShmQueryExtension ();
13710 if ac_fn_c_try_link
"$LINENO"; then :
13711 ac_cv_lib_Xext_XShmQueryExtension
=yes
13713 ac_cv_lib_Xext_XShmQueryExtension
=no
13715 rm -f core conftest.err conftest.
$ac_objext \
13716 conftest
$ac_exeext conftest.
$ac_ext
13717 LIBS
=$ac_check_lib_save_LIBS
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13720 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13721 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13725 CFLAGS
="$save_cflags"
13729 if test "x-$have_xshm" = "x-yes" ; then
13730 DO_XSHM_SUPPORT
="1"
13731 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13732 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13734 DO_XSHM_SUPPORT
="0"
13738 # Check whether --enable-x11_vidmode was given.
13739 if test "${enable_x11_vidmode+set}" = set; then :
13740 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13742 x11_hidd_vidmode
="auto"
13745 case "x-$x11_hidd_vidmode" in
13746 x-yes|x-no|x-auto
) ;;
13747 *) x11_hidd_vidmode
="auto" ;;
13752 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13754 save_cflags
="$CFLAGS"
13755 CFLAGS
="$CFLAGS $x_cflags"
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13757 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13758 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13759 $as_echo_n "(cached) " >&6
13761 ac_check_lib_save_LIBS
=$LIBS
13762 LIBS
="-lXxf86vm $LIBS"
13763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13764 /* end confdefs.h. */
13766 /* Override any GCC internal prototype to avoid an error.
13767 Use char because int might match the return type of a GCC
13768 builtin and then its argument prototype would still apply. */
13772 char XF86VidModeQueryExtension ();
13776 return XF86VidModeQueryExtension ();
13781 if ac_fn_c_try_link
"$LINENO"; then :
13782 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13784 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13786 rm -f core conftest.err conftest.
$ac_objext \
13787 conftest
$ac_exeext conftest.
$ac_ext
13788 LIBS
=$ac_check_lib_save_LIBS
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13791 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13792 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13796 CFLAGS
="$save_cflags"
13799 if test "x-$have_vidmode" = "x-yes" ; then
13800 DO_VIDMODE_SUPPORT
="1"
13801 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13802 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13804 DO_VIDMODE_SUPPORT
="0"
13808 aros_host_x11_includes
=$x_includes
13809 aros_host_x11_libdirs
=$x_libraries
13813 # Check whether --enable-sdl_hidd was given.
13814 if test "${enable_sdl_hidd+set}" = set; then :
13815 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13820 case "x-$sdl_hidd" in
13821 x-yes|x-no|x-auto
) ;;
13822 *) sdl_hidd
="auto" ;;
13825 if test "x-$sdl_hidd" != "x-no" ; then
13828 # Check whether --with-sdl-prefix was given.
13829 if test "${with_sdl_prefix+set}" = set; then :
13830 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13836 # Check whether --with-sdl-exec-prefix was given.
13837 if test "${with_sdl_exec_prefix+set}" = set; then :
13838 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13843 # Check whether --enable-sdltest was given.
13844 if test "${enable_sdltest+set}" = set; then :
13845 enableval
=$enable_sdltest;
13851 if test x
$sdl_exec_prefix != x
; then
13852 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
13853 if test x
${SDL_CONFIG+set} != xset
; then
13854 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
13857 if test x
$sdl_prefix != x
; then
13858 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
13859 if test x
${SDL_CONFIG+set} != xset
; then
13860 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
13864 as_save_PATH
="$PATH"
13865 if test "x$prefix" != xNONE
; then
13866 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
13868 # Extract the first word of "sdl-config", so it can be a program name with args.
13869 set dummy sdl-config
; ac_word
=$2
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13871 $as_echo_n "checking for $ac_word... " >&6; }
13872 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
13873 $as_echo_n "(cached) " >&6
13875 case $SDL_CONFIG in
13877 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
13880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13881 for as_dir
in $PATH
13884 test -z "$as_dir" && as_dir
=.
13885 for ac_exec_ext
in '' $ac_executable_extensions; do
13886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13887 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13895 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
13899 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
13900 if test -n "$SDL_CONFIG"; then
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
13902 $as_echo "$SDL_CONFIG" >&6; }
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13905 $as_echo "no" >&6; }
13909 PATH
="$as_save_PATH"
13910 min_sdl_version
=1.2.10
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
13912 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
13914 if test "$SDL_CONFIG" = "no" ; then
13917 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
13918 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
13920 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
13921 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13922 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
13923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13924 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
13925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13926 if test "x$enable_sdltest" = "xyes" ; then
13927 ac_save_CFLAGS
="$CFLAGS"
13928 ac_save_CXXFLAGS
="$CXXFLAGS"
13929 ac_save_LIBS
="$LIBS"
13930 CFLAGS
="$CFLAGS $SDL_CFLAGS"
13931 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
13932 LIBS
="$LIBS $SDL_LIBS"
13934 if test "$cross_compiling" = yes; then :
13935 echo $ac_n "cross compiling; assumed OK... $ac_c"
13937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13938 /* end confdefs.h. */
13941 #include <stdlib.h>
13942 #include <string.h>
13946 my_strdup (char *str)
13952 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
13953 strcpy (new_str, str);
13961 int main (int argc, char *argv[])
13963 int major, minor, micro;
13966 /* This hangs on some systems (?)
13967 system ("touch conf.sdltest");
13969 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
13971 /* HP/UX 9 (%@#!) writes to sscanf strings */
13972 tmp_version = my_strdup("$min_sdl_version");
13973 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
13974 printf("%s, bad version string\n", "$min_sdl_version");
13978 if (($sdl_major_version > major) ||
13979 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
13980 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
13986 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
13987 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
13988 printf("*** best to upgrade to the required version.\n");
13989 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
13990 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
13991 printf("*** config.cache before re-running configure\n");
13998 if ac_fn_c_try_run
"$LINENO"; then :
14003 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14004 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14007 CFLAGS
="$ac_save_CFLAGS"
14008 CXXFLAGS
="$ac_save_CXXFLAGS"
14009 LIBS
="$ac_save_LIBS"
14012 if test "x$no_sdl" = x
; then
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14014 $as_echo "yes" >&6; }
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14018 $as_echo "no" >&6; }
14019 if test "$SDL_CONFIG" = "no" ; then
14020 echo "*** The sdl-config script installed by SDL could not be found"
14021 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14022 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14023 echo "*** full path to sdl-config."
14025 if test -f conf.sdltest
; then
14028 echo "*** Could not run SDL test program, checking why..."
14029 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14030 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14031 LIBS
="$LIBS $SDL_LIBS"
14032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14038 int main(int argc, char *argv[])
14041 #define main K_and_R_C_main
14051 if ac_fn_c_try_link
"$LINENO"; then :
14052 echo "*** The test program compiled, but did not run. This usually means"
14053 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14054 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14055 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14056 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14057 echo "*** is required on your system"
14059 echo "*** If you have an old version installed, it is best to remove it, although"
14060 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14062 echo "*** The test program failed to compile or link. See the file config.log for the"
14063 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14064 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14065 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14067 rm -f core conftest.err conftest.
$ac_objext \
14068 conftest
$ac_exeext conftest.
$ac_ext
14069 CFLAGS
="$ac_save_CFLAGS"
14070 CXXFLAGS
="$ac_save_CXXFLAGS"
14071 LIBS
="$ac_save_LIBS"
14083 if test "x-$have_sdl" != "x-yes" ; then
14085 if test "x-$sdl_hidd" != "x-auto" ; then
14086 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14090 sdl_hidd_target
=kernel-hidd-sdl
14091 aros_host_sdl_cflags
=SDL_CFLAGS
14092 aros_host_sdl_libs
=SDL_LIBS
14096 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14097 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14102 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14103 oss_library_target
=workbench-libs-oss-unix
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14109 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14110 # Check whether --enable-dbus was given.
14111 if test "${enable_dbus+set}" = set; then :
14112 enableval
=$enable_dbus; dbus
="yes"
14117 if test "$dbus" = "yes" ; then
14119 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14120 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14121 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14122 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14127 $as_echo "$dbus" >&6; }
14129 if test "$use_kernel_cc_wrapper" = "yes" ; then
14130 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14133 if test "${crosstools}" != "yes" ; then
14134 aros_target_toolchain
=no
14136 aros_target_toolchain
=yes
14152 # Compatability with other Amiga-like operation systems
14247 # Delinting target compiler flags
14271 # Native version related
14274 # Palm native version related
14277 # Unix/Hosted version related
14283 # Apple iOS related
14308 # Collect-aros stuff: "-ius" to ignore undefined symbols
14311 # C compiler related
14314 case "$aros_flavour" in
14315 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14316 aros_flavour
="emulation" ;;
14317 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14318 aros_flavour
="emulation" ;;
14319 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14320 aros_flavour
="standalone";;
14321 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14322 aros_flavour
="standalone";;
14323 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14324 aros_flavour
="native" ;;
14325 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14326 aros_flavour
="native" ;;
14327 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14328 aros_flavour
="linklib" ;;
14329 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14330 aros_flavour
="palmnative" ;;
14331 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14332 aros_flavour
="mac68knative" ;;
14333 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14334 aros_flavour
="ppcnative" ;;
14337 if test ! -d ${aros_inc_dir} ; then
14338 ${MKDIR} ${aros_inc_dir}
14340 if test ! -d ${aros_geninc_dir} ; then
14341 ${MKDIR} ${aros_geninc_dir}
14343 if test ! -d ${aros_hostcfg_dir} ; then
14344 ${MKDIR} ${aros_hostcfg_dir}
14346 if test ! -d ${aros_targetcfg_dir} ; then
14347 ${MKDIR} ${aros_targetcfg_dir}
14349 if test ! -d ${aros_tools_dir} ; then
14350 ${MKDIR} ${aros_tools_dir}
14352 if test ! -d ${aros_scripts_dir} ; then
14353 ${MKDIR} ${aros_scripts_dir}
14356 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14359 ac_config_commands
="$ac_config_commands compiler_executable"
14361 ac_config_commands
="$ac_config_commands genmf_executable"
14364 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"
14367 cat >confcache
<<\_ACEOF
14368 # This file is a shell script that caches the results of configure
14369 # tests run on this system so they can be shared between configure
14370 # scripts and configure runs, see configure's option --config-cache.
14371 # It is not useful on other systems. If it contains results you don't
14372 # want to keep, you may remove or edit it.
14374 # config.status only pays attention to the cache file if you give it
14375 # the --recheck option to rerun configure.
14377 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14378 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14379 # following values.
14383 # The following way of writing the cache mishandles newlines in values,
14384 # but we know of no workaround that is simple, portable, and efficient.
14385 # So, we kill variables containing newlines.
14386 # Ultrix sh set writes to stderr and can't be redirected directly,
14387 # and sets the high bit in the cache file unless we assign to the vars.
14389 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14390 eval ac_val
=\$
$ac_var
14394 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14395 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14398 _ | IFS | as_nl
) ;; #(
14399 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14400 *) { eval $ac_var=; unset $ac_var;} ;;
14406 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14407 *${as_nl}ac_space
=\
*)
14408 # `set' does not quote correctly, so add quotes: double-quote
14409 # substitution turns \\\\ into \\, and sed turns \\ into \.
14412 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14415 # `set' quotes correctly as required by POSIX, so do not add quotes.
14416 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14425 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14427 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14429 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14430 if test -w "$cache_file"; then
14431 if test "x$cache_file" != "x/dev/null"; then
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14433 $as_echo "$as_me: updating cache $cache_file" >&6;}
14434 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14435 cat confcache
>"$cache_file"
14437 case $cache_file in #(
14439 mv -f confcache
"$cache_file"$$
&&
14440 mv -f "$cache_file"$$
"$cache_file" ;; #(
14442 mv -f confcache
"$cache_file" ;;
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14448 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14453 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14454 # Let make expand exec_prefix.
14455 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14457 DEFS
=-DHAVE_CONFIG_H
14462 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14463 # 1. Remove the extension, and $U if already installed.
14464 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14465 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14466 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14467 # will be set to the directory where LIBOBJS objects are built.
14468 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14469 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14471 LIBOBJS
=$ac_libobjs
14473 LTLIBOBJS
=$ac_ltlibobjs
14477 : "${CONFIG_STATUS=./config.status}"
14479 ac_clean_files_save
=$ac_clean_files
14480 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14482 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14484 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14486 # Generated by $as_me.
14487 # Run this file to recreate the current configuration.
14488 # Compiler output produced by configure, useful for debugging
14489 # configure, is in config.log if it exists.
14492 ac_cs_recheck=false
14495 SHELL=\${CONFIG_SHELL-$SHELL}
14498 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14499 ## -------------------- ##
14500 ## M4sh Initialization. ##
14501 ## -------------------- ##
14503 # Be more Bourne compatible
14504 DUALCASE
=1; export DUALCASE
# for MKS sh
14505 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14508 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14509 # is contrary to our usage. Disable this feature.
14510 alias -g '${1+"$@"}'='"$@"'
14511 setopt NO_GLOB_SUBST
14513 case `(set -o) 2>/dev/null` in #(
14525 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14526 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14527 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14528 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14529 # Prefer a ksh shell builtin over an external printf program on Solaris,
14530 # but without wasting forks for bash or zsh.
14531 if test -z "$BASH_VERSION$ZSH_VERSION" \
14532 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14533 as_echo='print
-r --'
14534 as_echo_n='print
-rn --'
14535 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14536 as_echo='printf %s
\n'
14537 as_echo_n='printf %s
'
14539 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14540 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14541 as_echo_n='/usr
/ucb
/echo -n'
14543 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14544 as_echo_n_body='eval
14548 expr "X$arg" : "X\\(.*\\)$as_nl";
14549 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14551 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14553 export as_echo_n_body
14554 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14556 export as_echo_body
14557 as_echo='sh
-c $as_echo_body as_echo
'
14560 # The user is always right.
14561 if test "${PATH_SEPARATOR+set}" != set; then
14563 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14564 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14571 # We need space, tab and new line, in precisely that order. Quoting is
14572 # there to prevent editors from complaining about space-tab.
14573 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14574 # splitting by setting IFS to empty value.)
14577 # Find who we are. Look in the path if we contain no directory separator.
14580 *[\\/]* ) as_myself=$0 ;;
14581 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14582 for as_dir in $PATH
14585 test -z "$as_dir" && as_dir=.
14586 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14592 # We did not find ourselves, most probably we were run as `sh COMMAND'
14593 # in which case we are not to be found in the path.
14594 if test "x$as_myself" = x
; then
14597 if test ! -f "$as_myself"; then
14598 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14602 # Unset variables that we do not need and which cause bugs (e.g. in
14603 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14604 # suppresses any "Segmentation fault" message there. '((' could
14605 # trigger a bug in pdksh 5.2.14.
14606 for as_var
in BASH_ENV ENV MAIL MAILPATH
14607 do eval test x\
${$as_var+set} = xset \
14608 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14621 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14624 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14625 # ----------------------------------------
14626 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14627 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14628 # script with STATUS, using 1 if that was 0.
14631 as_status
=$1; test $as_status -eq 0 && as_status
=1
14633 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14634 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14636 $as_echo "$as_me: error: $2" >&2
14637 as_fn_exit
$as_status
14641 # as_fn_set_status STATUS
14642 # -----------------------
14643 # Set $? to STATUS, without forking.
14644 as_fn_set_status
()
14647 } # as_fn_set_status
14649 # as_fn_exit STATUS
14650 # -----------------
14651 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14655 as_fn_set_status
$1
14661 # Portably unset VAR.
14664 { eval $1=; unset $1;}
14666 as_unset
=as_fn_unset
14667 # as_fn_append VAR VALUE
14668 # ----------------------
14669 # Append the text in VALUE to the end of the definition contained in VAR. Take
14670 # advantage of any shell optimizations that allow amortized linear growth over
14671 # repeated appends, instead of the typical quadratic growth present in naive
14673 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14674 eval 'as_fn_append ()
14685 # as_fn_arith ARG...
14686 # ------------------
14687 # Perform arithmetic evaluation on the ARGs, and store the result in the
14688 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14689 # must be portable across $(()) and expr.
14690 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14691 eval 'as_fn_arith ()
14698 as_val
=`expr "$@" || test $? -eq 1`
14703 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14704 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14710 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14711 as_basename
=basename
14716 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14722 as_me
=`$as_basename -- "$0" ||
14723 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14724 X"$0" : 'X\(//\)$' \| \
14725 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14727 sed '/^.*\/\([^/][^/]*\)\/*$/{
14741 # Avoid depending upon Character Ranges.
14742 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14743 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14744 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14745 as_cr_digits
='0123456789'
14746 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14748 ECHO_C
= ECHO_N
= ECHO_T
=
14749 case `echo -n x` in #(((((
14751 case `echo 'xy\c'` in
14752 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14754 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14761 rm -f conf$$ conf$$.exe conf$$.
file
14762 if test -d conf$$.dir
; then
14763 rm -f conf$$.dir
/conf$$.
file
14766 mkdir conf$$.dir
2>/dev
/null
14768 if (echo >conf$$.
file) 2>/dev
/null
; then
14769 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14771 # ... but there are two gotchas:
14772 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14773 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14774 # In both cases, we have to default to `cp -p'.
14775 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14777 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14785 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14786 rmdir conf$$.dir
2>/dev
/null
14791 # Create "$as_dir" as a directory, including parents if necessary.
14796 -*) as_dir
=.
/$as_dir;;
14798 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14802 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14803 *) as_qdir
=$as_dir;;
14805 as_dirs
="'$as_qdir' $as_dirs"
14806 as_dir
=`$as_dirname -- "$as_dir" ||
14807 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14808 X"$as_dir" : 'X\(//\)[^/]' \| \
14809 X"$as_dir" : 'X\(//\)$' \| \
14810 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14811 $as_echo X"$as_dir" |
14812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14816 /^X\(\/\/\)[^/].*/{
14829 test -d "$as_dir" && break
14831 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14832 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14836 if mkdir
-p .
2>/dev
/null
; then
14837 as_mkdir_p
='mkdir -p "$as_dir"'
14839 test -d .
/-p && rmdir .
/-p
14843 if test -x / >/dev
/null
2>&1; then
14844 as_test_x
='test -x'
14846 if ls -dL / >/dev
/null
2>&1; then
14853 if test -d "$1"; then
14859 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14860 ???[sx]*):;;*)false;;esac;fi
14864 as_executable_p
=$as_test_x
14866 # Sed expression to map a string onto a valid CPP name.
14867 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14869 # Sed expression to map a string onto a valid variable name.
14870 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14874 ## ----------------------------------- ##
14875 ## Main body of $CONFIG_STATUS script. ##
14876 ## ----------------------------------- ##
14878 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14881 # Save the log message, to keep $0 and so on meaningful, and to
14882 # report actual input values of CONFIG_FILES etc. instead of their
14883 # values after options handling.
14885 This file was extended by $as_me, which was
14886 generated by GNU Autoconf 2.68. Invocation command line was
14888 CONFIG_FILES = $CONFIG_FILES
14889 CONFIG_HEADERS = $CONFIG_HEADERS
14890 CONFIG_LINKS = $CONFIG_LINKS
14891 CONFIG_COMMANDS = $CONFIG_COMMANDS
14894 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14899 case $ac_config_files in *"
14900 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14903 case $ac_config_headers in *"
14904 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14909 # Files that config.status was made for.
14910 config_files="$ac_config_files"
14911 config_headers="$ac_config_headers"
14912 config_commands="$ac_config_commands"
14916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14918 \`$as_me' instantiates files and other configuration actions
14919 from templates according to the current configuration. Unless the files
14920 and actions are specified as TAGs, all are instantiated by default.
14922 Usage: $0 [OPTION]... [TAG]...
14924 -h, --help print this help, then exit
14925 -V, --version print version number and configuration settings, then exit
14926 --config print configuration, then exit
14927 -q, --quiet, --silent
14928 do not print progress messages
14929 -d, --debug don't remove temporary files
14930 --recheck update $as_me by reconfiguring in the same conditions
14931 --file=FILE[:TEMPLATE]
14932 instantiate the configuration file FILE
14933 --header=FILE[:TEMPLATE]
14934 instantiate the configuration header FILE
14936 Configuration files:
14939 Configuration headers:
14942 Configuration commands:
14945 Report bugs to the package provider."
14948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14949 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14952 configured by $0, generated by GNU Autoconf 2.68,
14953 with options \\"\$ac_cs_config\\"
14955 Copyright (C) 2010 Free Software Foundation, Inc.
14956 This config.status script is free software; the Free Software Foundation
14957 gives unlimited permission to copy, distribute and modify it."
14961 test -n "\$AWK" || AWK=awk
14964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14965 # The default lists apply if the user does not specify any file.
14971 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14972 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14976 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14988 # Handling of the options.
14989 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14991 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14992 $as_echo "$ac_cs_version"; exit ;;
14993 --config |
--confi |
--conf |
--con |
--co |
--c )
14994 $as_echo "$ac_cs_config"; exit ;;
14995 --debug |
--debu |
--deb |
--de |
--d |
-d )
14997 --file |
--fil |
--fi |
--f )
15000 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15001 '') as_fn_error $?
"missing file argument" ;;
15003 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15004 ac_need_defaults
=false
;;
15005 --header |
--heade |
--head |
--hea )
15008 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15010 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15011 ac_need_defaults
=false
;;
15013 # Conflict between --help and --header
15014 as_fn_error $?
"ambiguous option: \`$1'
15015 Try \`$0 --help' for more information.";;
15016 --help |
--hel |
-h )
15017 $as_echo "$ac_cs_usage"; exit ;;
15018 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15019 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15022 # This is an error.
15023 -*) as_fn_error $?
"unrecognized option: \`$1'
15024 Try \`$0 --help' for more information." ;;
15026 *) as_fn_append ac_config_targets
" $1"
15027 ac_need_defaults
=false
;;
15033 ac_configure_extra_args
=
15035 if $ac_cs_silent; then
15037 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15042 if \$ac_cs_recheck; then
15043 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15045 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15046 CONFIG_SHELL='$SHELL'
15047 export CONFIG_SHELL
15052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15056 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15057 ## Running $as_me. ##
15063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15068 aros_host_exe_suffix=${aros_host_exe_suffix}
15069 aros_tools_dir=${aros_tools_dir}
15070 aros_target_cpu=${aros_target_cpu}
15071 aros_target_arch=${aros_target_arch}
15072 aros_target_suffix=${aros_target_suffix}
15073 orig_target_nm=${orig_target_nm}
15074 orig_target_as=${orig_target_as}
15075 orig_target_ar=${orig_target_ar}
15076 orig_target_ranlib=${orig_target_ranlib}
15077 orig_target_objdump=${orig_target_objdump}
15078 orig_target_objcopy=${orig_target_objcopy}
15079 orig_target_strip=${orig_target_strip}
15080 aros_kernel_ld=${aros_kernel_ld}
15083 aros_tools_dir=${aros_tools_dir}
15088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15090 # Handling of arguments.
15091 for ac_config_target
in $ac_config_targets
15093 case $ac_config_target in
15094 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15095 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15096 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15097 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15098 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15099 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15100 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15101 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15102 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15103 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15104 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15105 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15106 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15107 "${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" ;;
15108 "${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" ;;
15109 "${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" ;;
15110 "${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" ;;
15111 "${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" ;;
15112 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15113 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15114 "${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" ;;
15116 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15121 # If the user did not use the arguments to specify the items to instantiate,
15122 # then the envvar interface is used. Set only those that are not.
15123 # We use the long form for the default assignment because of an extremely
15124 # bizarre bug on SunOS 4.1.3.
15125 if $ac_need_defaults; then
15126 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15127 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15128 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15131 # Have a temporary directory for convenience. Make it in the build tree
15132 # simply because there is no reason against having it here, and in addition,
15133 # creating and moving files from /tmp can sometimes cause problems.
15134 # Hook for its removal unless debugging.
15135 # Note that there is a small window in which the directory will not be cleaned:
15136 # after its creation but before its name has been assigned to `$tmp'.
15140 trap 'exit_status=$?
15141 : "${ac_tmp:=$tmp}"
15142 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15144 trap 'as_fn_exit 1' 1 2 13 15
15146 # Create a (secure) tmp directory for tmp files.
15149 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15153 tmp
=.
/conf$$
-$RANDOM
15154 (umask 077 && mkdir
"$tmp")
15155 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15158 # Set up the scripts for CONFIG_FILES section.
15159 # No need to generate them if there are no CONFIG_FILES.
15160 # This happens for instance with `./config.status config.h'.
15161 if test -n "$CONFIG_FILES"; then
15164 ac_cr
=`echo X | tr X '\015'`
15165 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15166 # But we know of no other shell where ac_cr would be empty at this
15167 # point, so we can use a bashism as a fallback.
15168 if test "x$ac_cr" = x
; then
15169 eval ac_cr
=\$
\'\\r
\'
15171 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15172 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15175 ac_cs_awk_cr
=$ac_cr
15178 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15183 echo "cat >conf$$subs.awk <<_ACEOF" &&
15184 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15186 } >conf$$subs.sh ||
15187 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15188 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15190 for ac_last_try in false false false false false :; do
15191 . ./conf$$subs.sh ||
15192 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15194 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15195 if test $ac_delim_n = $ac_delim_num; then
15197 elif $ac_last_try; then
15198 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15200 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15203 rm -f conf$$subs.sh
15205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15206 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15210 s/^/S["/; s
/!.
*/"]=/
15220 s/\(.\{148\}\)..*/\1/
15222 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15227 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15234 s/\(.\{148\}\)..*/\1/
15236 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15240 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15245 ' <conf$$subs.awk | sed '
15250 ' >>$CONFIG_STATUS || ac_write_fail=1
15251 rm -f conf$$subs.awk
15252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15254 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15255 for (key in S) S_is_set[key] = 1
15261 nfields = split(line, field, "@
")
15263 len = length(field[1])
15264 for (i = 2; i < nfields; i++) {
15266 keylen = length(key)
15267 if (S_is_set[key]) {
15269 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15270 len += length(value) + length(field[++i])
15281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15282 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15283 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15286 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15287 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15290 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15291 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15292 # trailing colons and then remove the whole line if VPATH becomes empty
15293 # (actually we leave an empty line to preserve line numbers).
15294 if test "x
$srcdir" = x.; then
15295 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15314 fi # test -n "$CONFIG_FILES"
15316 # Set up the scripts for CONFIG_HEADERS section.
15317 # No need to generate them if there are no CONFIG_HEADERS.
15318 # This happens for instance with `./config.status Makefile'.
15319 if test -n "$CONFIG_HEADERS"; then
15320 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15324 # Transform confdefs.h into an awk script `defines.awk', embedded as
15325 # here-document in config.status, that substitutes the proper values into
15326 # config.h.in to produce config.h.
15328 # Create a delimiter string that does not exist in confdefs.h, to ease
15329 # handling of long lines.
15331 for ac_last_try in false false :; do
15332 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15333 if test -z "$ac_tt"; then
15335 elif $ac_last_try; then
15336 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15338 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15342 # For the awk script, D is an array of macro values keyed by name,
15343 # likewise P contains macro parameters if any. Preserve backslash
15344 # newline sequences.
15346 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15348 s/.\{148\}/&'"$ac_delim"'/g
15351 s/^[ ]*#[ ]*define[ ][ ]*/ /
15358 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15360 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15364 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15365 D["\
1"]=" \
3\\\\\\n
"\\/p
15367 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15372 s/.\{148\}/&'"$ac_delim"'/g
15377 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15380 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15382 ' <confdefs.h | sed '
15383 s/'"$ac_delim"'/"\\\
15384 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15387 for (key in D) D_is_set[key] = 1
15390 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15392 split(line, arg, " ")
15393 if (arg[1] == "#") {
15397 defundef
= substr
(arg
[1], 2)
15400 split(mac1
, mac2
, "(") #)
15402 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15403 if (D_is_set
[macro
]) {
15404 # Preserve the white space surrounding the "#".
15405 print prefix
"define", macro P
[macro
] D
[macro
]
15408 # Replace #undef with comments. This is necessary, for example,
15409 # in the case of _POSIX_SOURCE, which is predefined and required
15410 # on some systems where configure will not decide to define it.
15411 if (defundef
== "undef") {
15412 print
"/*", prefix defundef
, macro
, "*/"
15420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15421 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15422 fi # test -n "$CONFIG_HEADERS"
15425 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15430 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15432 case $ac_mode$ac_tag in
15434 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15435 :[FH
]-) ac_tag
=-:-;;
15436 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15453 -) ac_f
="$ac_tmp/stdin";;
15454 *) # Look for the file first in the build tree, then in the source tree
15455 # (if the path is not absolute). The absolute path cannot be DOS-style,
15456 # because $ac_f cannot contain `:'.
15460 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15462 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15464 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15465 as_fn_append ac_file_inputs
" '$ac_f'"
15468 # Let's still pretend it is `configure' which instantiates (i.e., don't
15469 # use $as_me), people would be surprised to read:
15470 # /* config.h. Generated by config.status. */
15471 configure_input
='Generated from '`
15472 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15474 if test x
"$ac_file" != x-
; then
15475 configure_input
="$ac_file. $configure_input"
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15477 $as_echo "$as_me: creating $ac_file" >&6;}
15479 # Neutralize special characters interpreted by sed in replacement strings.
15480 case $configure_input in #(
15481 *\
&* |
*\|
* |
*\\* )
15482 ac_sed_conf_input
=`$as_echo "$configure_input" |
15483 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15484 *) ac_sed_conf_input
=$configure_input;;
15488 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15489 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15494 ac_dir
=`$as_dirname -- "$ac_file" ||
15495 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15496 X"$ac_file" : 'X\(//\)[^/]' \| \
15497 X"$ac_file" : 'X\(//\)$' \| \
15498 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15499 $as_echo X"$ac_file" |
15500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15504 /^X\(\/\/\)[^/].*/{
15517 as_dir
="$ac_dir"; as_fn_mkdir_p
15521 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15523 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15524 # A ".." for each directory in $ac_dir_suffix.
15525 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15526 case $ac_top_builddir_sub in
15527 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15528 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15531 ac_abs_top_builddir
=$ac_pwd
15532 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15533 # for backward compatibility:
15534 ac_top_builddir
=$ac_top_build_prefix
15537 .
) # We are building in place.
15539 ac_top_srcdir
=$ac_top_builddir_sub
15540 ac_abs_top_srcdir
=$ac_pwd ;;
15541 [\\/]* | ?
:[\\/]* ) # Absolute name.
15542 ac_srcdir
=$srcdir$ac_dir_suffix;
15543 ac_top_srcdir
=$srcdir
15544 ac_abs_top_srcdir
=$srcdir ;;
15545 *) # Relative name.
15546 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15547 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15548 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15550 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15562 # If the template does not know about datarootdir, expand it.
15563 # FIXME: This hack should be removed a few years after 2.60.
15564 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15575 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15576 *datarootdir
*) ac_datarootdir_seen
=yes;;
15577 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15579 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15582 ac_datarootdir_hack='
15583 s&@datadir@&$datadir&g
15584 s&@docdir@&$docdir&g
15585 s&@infodir@&$infodir&g
15586 s&@localedir@&$localedir&g
15587 s&@mandir@&$mandir&g
15588 s&\\\${datarootdir}&$datarootdir&g' ;;
15592 # Neutralize VPATH when `$srcdir' = `.'.
15593 # Shell code in configure.ac might set extrasub.
15594 # FIXME: do we really want to maintain this feature?
15595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15596 ac_sed_extra="$ac_vpsub
15599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15601 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15602 s|@configure_input@|
$ac_sed_conf_input|
;t t
15603 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15604 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15605 s
&@srcdir@
&$ac_srcdir&;t t
15606 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15607 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15608 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15609 s
&@builddir@
&$ac_builddir&;t t
15610 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15611 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15612 $ac_datarootdir_hack
15614 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15615 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15617 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15618 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15619 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15620 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15622 which seems to be undefined. Please make sure it is defined" >&5
15623 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15624 which seems to be undefined. Please make sure it is defined" >&2;}
15626 rm -f "$ac_tmp/stdin"
15628 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15629 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15631 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15637 if test x"$ac_file" != x-; then
15639 $as_echo "/* $configure_input */" \
15640 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15641 } >"$ac_tmp/config.h" \
15642 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15643 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15645 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15648 mv "$ac_tmp/config.h" "$ac_file" \
15649 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15652 $as_echo "/* $configure_input */" \
15653 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15654 || as_fn_error $? "could not create -" "$LINENO" 5
15658 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15659 $as_echo "$as_me: executing $ac_file commands" >&6;}
15664 case $ac_file$ac_mode in
15665 "compiler_executable":C)
15666 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15668 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15669 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15673 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15675 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15676 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15677 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15678 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15679 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15680 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15681 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15683 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15685 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15693 ac_clean_files=$ac_clean_files_save
15695 test $ac_write_fail = 0 ||
15696 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15699 # configure is writing to config.log, and then calls config.status.
15700 # config.status does its own redirection, appending to config.log.
15701 # Unfortunately, on DOS this fails, as config.log is still kept open
15702 # by configure, so config.status won't be able to
write to it
; its
15703 # output is simply discarded. So we exec the FD to /dev/null,
15704 # effectively closing config.log, so it can be properly (re)opened and
15705 # appended to by config.status. When coming back to configure, we
15706 # need to make the FD available again.
15707 if test "$no_create" != yes; then
15709 ac_config_status_args
=
15710 test "$silent" = yes &&
15711 ac_config_status_args
="$ac_config_status_args --quiet"
15713 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15715 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15716 # would make configure fail if this is the last instruction.
15717 $ac_cs_success || as_fn_exit
1
15719 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15721 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15726 #XXX compatability...
15727 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15729 if test -n "$aros_shared_cflags" ; then
15730 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15731 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg