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
617 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 android_tool_dir_prefix
="arm-linux-androideabi"
7820 android_tool_prefix
="arm-linux-androideabi"
7821 android_ndk_arch
="arm"
7822 kernel_tool_prefix
="arm-linux-gnueabihf-"
7825 aros_target_cpu
="arm"
7826 aros_object_format
="armelf_linux_eabi"
7827 aros_flavour
="emulation"
7828 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7829 gcc_target_cpu
="arm"
7830 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7831 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7832 aros_arch_libs
="-laeabi"
7833 android_tool_dir_prefix
="arm-linux-androideabi"
7834 android_tool_prefix
="arm-linux-androideabi"
7835 android_ndk_arch
="arm"
7836 kernel_tool_prefix
="arm-linux-gnueabi-"
7839 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7842 case "$aros_target_variant" in
7845 if test "$android_ndk_arch" = ""; then
7846 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7849 aros_default_wbwidth
=320
7850 aros_default_wbheight
=480
7851 if test "$aros_android_ndk" = "none"; then
7852 aros_kernel_cflags
="-mandroid"
7853 aros_kernel_ldflags
="-mandroid"
7856 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7857 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7858 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7859 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7860 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7861 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7864 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7865 # Disable implicit PIC mode
7866 aros_target_cflags
="$aros_target_cflags -fno-pic"
7867 kernel_tool_prefix
="$android_tool_prefix-"
7873 aros_target_arch
="pc"
7874 aros_shared_default
="no"
7875 target_bootloader
="grub2"
7876 case "$target_cpu" in
7878 aros_target_cpu
="i386"
7881 if test "$aros_object_format" = "" ; then
7882 aros_object_format
="elf_i386"
7884 aros_flavour
="standalone"
7885 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7886 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7887 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7888 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7889 aros_config_ldflags
="-m32 -march=i486"
7890 aros_kernel_ldflags
="-melf_i386"
7891 aros_default_wbwidth
=640
7892 aros_default_wbheight
=480
7893 gcc_target_cpu
="i386"
7896 aros_target_cpu
="x86_64"
7898 if test "$aros_object_format" = "" ; then
7899 aros_object_format
="elf_x86_64"
7901 aros_flavour
="standalone"
7902 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7903 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7904 aros_kernel_ldflags
=""
7905 aros_default_wbwidth
=640
7906 aros_default_wbheight
=480
7909 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7915 aros_target_arch
="prep"
7916 aros_shared_default
="no"
7917 aros_target_cpu
="ppc"
7918 aros_object_format
="elf32ppc"
7919 aros_flavour
="ppcnative"
7920 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7921 aros_kernel_ldflags
=""
7922 aros_default_wbwidth
=640
7923 aros_default_wbheight
=480
7924 gcc_target_cpu
="ppc"
7928 aros_target_arch
="freebsd"
7929 aros_target_family
="unix"
7930 aros_target_cpu
="i386"
7931 aros_flavour
="emulation"
7932 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7933 gcc_target_cpu
="i386"
7935 aros_target_strip_flags
="-x"
7939 aros_target_arch
="darwin"
7940 aros_target_family
="unix"
7941 aros_flavour
="emulation"
7942 case "$target_cpu" in
7944 aros_ios_platform
="iPhoneSimulator"
7945 aros_target_cpu
="i386"
7946 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7947 aros_kernel_ldflags
=""
7948 aros_macosx_version
="10.4"
7949 aros_default_wbdepth
=8
7950 gcc_target_cpu
="i386"
7951 aros_object_format
="elf_i386"
7952 aros_kernel_ar_flags
="-cr"
7953 aros_target_strip_flags
="-x"
7954 kernel_tool_flags
="-m32"
7957 aros_target_cpu
="x86_64"
7958 aros_object_format
="elf_x86_64"
7959 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7960 aros_macosx_version
="10.6"
7961 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7962 aros_kernel_cflags
="-m64"
7963 aros_kernel_ldflags
="-m64"
7964 aros_target_cflags
="-mcmodel=large"
7965 aros_default_wbdepth
=8
7967 aros_kernel_ar_flags
="-cr"
7969 aros_kernel_ranlib
="ranlib"
7972 aros_target_cpu
="ppc"
7973 aros_object_format
="elf32ppc"
7974 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7975 aros_kernel_ldflags
=""
7976 aros_macosx_version
="10.0"
7977 aros_default_wbdepth
=8
7978 gcc_target_cpu
="ppc"
7980 aros_kernel_ar_flags
="-cr"
7981 aros_kernel_ld
="ld -arch ppc"
7982 aros_kernel_ranlib
="ranlib -arch ppc"
7983 kernel_tool_prefix
="powerpc-apple-darwin10-"
7986 aros_ios_platform
="iPhoneOS"
7987 aros_target_cpu
="arm"
7988 aros_object_format
="armelf_linux_eabi"
7989 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7990 aros_arch_libs
="-laeabi"
7991 aros_default_wbdepth
=8
7992 gcc_target_cpu
="arm"
7994 aros_kernel_ar_flags
="-cr"
7995 aros_kernel_ld
="ld -arch arm"
7996 aros_kernel_ranlib
="ranlib -arch arm"
7997 kernel_tool_prefix
="arm-apple-darwin10-"
7998 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8001 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8004 case "$aros_target_variant" in
8006 aros_ios_version
="3.0"
8007 aros_default_wbwidth
=320
8008 aros_default_wbheight
=480
8009 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8010 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8011 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8013 # This is here because it may depend on iOS or SDK version
8014 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8015 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8016 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8019 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8020 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8026 aros_target_arch
="dragonfly"
8027 aros_target_family
="unix"
8028 aros_flavour
="emulation"
8029 case "$target_cpu" in
8031 aros_target_cpu
="i386"
8032 aros_object_format
="elf_i386"
8033 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8036 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8037 aros_target_cpu
="x86_64"
8038 aros_object_format
="elf_x86_64"
8039 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8042 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8048 aros_target_arch
="netbsd"
8049 aros_target_family
="unix"
8050 case "$target_cpu" in
8052 aros_target_cpu
="m68k"
8053 aros_object_format
="m68kelf"
8054 aros_flavour
="emulcompat"
8055 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8056 gcc_target_cpu
="mc68000"
8059 aros_target_cpu
="i386"
8060 aros_object_format
="elf_i386"
8061 aros_flavour
="emulation"
8062 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8063 aros_default_wbdepth
=8
8064 gcc_target_cpu
="i386"
8067 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8070 aros_target_genmap
="-Wl,-M -Xlinker >"
8071 aros_flavour
="emulation"
8072 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8076 aros_target_arch
="openbsd"
8077 aros_target_family
="unix"
8078 case "$target_cpu" in
8080 aros_target_cpu
="i386"
8081 aros_object_format
="elf_i386"
8082 aros_flavour
="emulation"
8083 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8084 gcc_target_cpu
="i386"
8087 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8090 aros_target_genmap
="-Wl,-M -Xlinker >"
8091 aros_target_nm_flags
="-u"
8092 aros_flavour
="emulation"
8096 aros_target_arch
="solaris"
8097 aros_target_family
="unix"
8098 case "$target_cpu" in
8100 aros_target_cpu
="i386"
8101 aros_object_format
="elf_i386"
8102 aros_flavour
="emulation"
8103 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8104 aros_default_wbdepth
=8
8105 gcc_target_cpu
="i386"
8108 aros_target_cpu
="sparc"
8109 aros_object_format
="elf_sparc"
8110 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8111 gcc_target_cpu
="sparc"
8114 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8117 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8118 aros_flavour
="emulation"
8122 aros_target_arch
="morphos"
8123 aros_shared_default
="no"
8124 aros_target_cpu
="ppc"
8125 aros_object_format
="elf_ppc"
8126 aros_flavour
="nativecompat"
8127 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8128 gcc_target_cpu
="ppc"
8132 aros_target_arch
="sam440"
8133 aros_shared_default
="no"
8134 aros_target_cpu
="ppc"
8135 aros_object_format
="elf32ppc"
8136 aros_flavour
="ppcnative"
8137 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8138 aros_kernel_ldflags
=""
8139 aros_default_wbwidth
=1024
8140 aros_default_wbheight
=768
8141 aros_default_wbdepth
=24
8142 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8143 gcc_target_cpu
="powerpc"
8147 aros_target_arch
="efika"
8148 aros_shared_default
="no"
8149 aros_target_cpu
="arm"
8150 aros_object_format
="armelf_linux_eabi"
8151 aros_flavour
="standalone"
8152 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8153 aros_kernel_ldflags
=""
8154 aros_default_wbwidth
=1024
8155 aros_default_wbheight
=600
8156 aros_arch_libs
="-laeabi"
8157 gcc_default_cpu
="armv7-a"
8158 gcc_default_fpu
="vfpv3"
8159 gcc_default_float_abi
="softfp"
8160 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8161 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8165 aros_target_arch
="chrp"
8166 aros_shared_default
="no"
8167 aros_target_cpu
="ppc"
8168 aros_object_format
="elf32ppc"
8169 aros_flavour
="ppcnative"
8170 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8171 aros_kernel_ldflags
=""
8172 aros_default_wbwidth
=640
8173 aros_default_wbheight
=480
8174 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8175 gcc_target_cpu
="powerpc"
8176 case "$aros_target_variant" in
8178 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8184 aros_target_arch
="amiga"
8185 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8186 aros_shared_default
="no"
8188 case "$target_cpu" in
8190 # Check whether --enable-amigaos_compliance was given.
8191 if test "${enable_amigaos_compliance+set}" = set; then :
8192 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8196 aros_target_cpu
="m68k"
8197 aros_object_format
="m68kelf"
8198 aros_flavour
="standcompat"
8199 gcc_target_cpu
="m68000"
8200 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -Os -DNOLIBINLINE"
8201 aros_config_aflags
="$aros_config_aflags"
8202 aros_target_strip_flags
="-R.comment --strip-debug"
8203 aros_default_wbwidth
=640
8204 aros_default_wbheight
=256
8205 aros_default_wbdepth
=2
8209 aros_flavour
="native"
8210 gcc_target_cpu
="ppc"
8213 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8219 aros_target_arch
="mingw32"
8220 aros_shared_default
="no"
8221 aros_flavour
="emulation"
8222 aros_shared_cflags
=""
8223 need_crosstools
="yes"
8226 case "$target_cpu" in
8228 aros_target_cpu
="i386"
8229 aros_object_format
="elf_i386"
8230 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8231 aros_default_wbdepth
=8
8232 gcc_target_cpu
="i386"
8234 kernel_tool_prefix
="i386-mingw32-"
8237 aros_target_cpu
="x86_64"
8238 aros_object_format
="elf_x86_64"
8239 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8240 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8241 aros_default_wbdepth
=8
8242 kernel_tool_prefix
="x86_64-w64-mingw32-"
8245 aros_target_cpu
="arm"
8246 aros_object_format
="armelf_linux_eabi"
8247 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8248 aros_arch_libs
="-laeabi"
8249 aros_default_wbdepth
=8
8250 gcc_target_cpu
="arm"
8251 gcc_default_float_abi
="soft"
8252 kernel_tool_prefix
="arm-mingw32ce-"
8253 aros_default_wbwidth
=160
8254 aros_default_wbheight
=160
8257 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8260 if test $host_os = "cygwin"; then
8261 aros_kernel_cflags
="-mno-cygwin"
8265 aros_target_arch
="pp"
8266 aros_shared_default
="no"
8267 case "$target_cpu" in
8269 aros_target_cpu
="m68k"
8270 aros_object_format
="m68kelf"
8271 aros_flavour
="palmnative"
8272 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8273 aros_default_wbwidth
=160
8274 aros_default_wbheight
=160
8275 aros_default_wbdepth
=1
8276 aros_target_ar_flags
="cru"
8277 aros_compiler_libs
="-lgcc1"
8278 aros_shared_default
=no
8279 aros_shared_cflags
="-fpic"
8280 aros_shared_aflags
=""
8281 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8282 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8283 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8284 aros_debug_aflags
=""
8285 aros_debug_ldflags
="$aros_symbols_debug"
8286 aros_mungwall_debug
="0"
8287 aros_modules_debug
="0"
8288 gcc_target_cpu
="mc68000"
8289 ignore_undefined_symbols
="-ius"
8292 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8298 aros_target_arch
="mac"
8299 aros_shared_default
="no"
8300 case "$target_cpu" in
8302 aros_target_cpu
="m68k"
8303 aros_object_format
="m68kelf"
8304 aros_flavour
="mac68knative"
8305 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8306 aros_default_wbwidth
=512
8307 aros_default_wbheight
=384
8308 aros_default_wbdepth
=8
8309 aros_target_ar_flags
="cru"
8310 aros_compiler_libs
="-lgcc1"
8311 aros_shared_default
=no
8312 aros_shared_cflags
="-fpic"
8313 aros_shared_aflags
=""
8314 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8315 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8316 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8317 aros_debug_aflags
=""
8318 aros_debug_ldflags
="$aros_symbols_debug"
8319 aros_mungwall_debug
="0"
8320 aros_modules_debug
="0"
8321 gcc_target_cpu
="mc68000"
8322 ignore_undefined_symbols
="-ius"
8325 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8331 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8335 #-----------------------------------------------------------------------------
8336 crosstools_guess
=yes
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8339 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8341 # Check whether --with-kernel-toolchain-prefix was given.
8342 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8343 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8347 $as_echo "$kernel_tool_prefix" >&6; }
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8350 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8352 # Check whether --with-elf-toolchain-prefix was given.
8353 if test "${with_elf_toolchain_prefix+set}" = set; then :
8354 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8359 $as_echo "$elf_tool_prefix" >&6; }
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8362 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8364 # Check whether --with-aros-toolchain was given.
8365 if test "${with_aros_toolchain+set}" = set; then :
8366 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8370 if test "$aros_tool_prefix" = "yes" ; then
8371 aros_tool_prefix
=$aros_target_cpu-aros-
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8374 $as_echo "$aros_tool_prefix" >&6; }
8376 #-----------------------------------------------------------------------------
8377 # Checking if we should build crosstools..
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8379 $as_echo_n "checking whether to build crosstools... " >&6; }
8380 # Check whether --enable-crosstools was given.
8381 if test "${enable_crosstools+set}" = set; then :
8382 enableval
=$enable_crosstools; crosstools
="$enableval"
8384 crosstools
="$crosstools_guess"
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8388 $as_echo "$crosstools" >&6; }
8390 if test "${crosstools}" = "yes"; then
8391 if test "${crosstools_guess}" = "no"; then
8392 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8397 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8399 # Check whether --with-aros-toolchain-install was given.
8400 if test "${with_aros_toolchain_install+set}" = set; then :
8401 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8404 if test "x$aros_toolchain_install" = "x"; then
8405 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8407 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8408 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8411 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8414 # Now process extra architecture-specific options.
8415 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8416 # as well as floating-point ABI.
8417 case "$aros_target_cpu" in
8419 if test "$gcc_default_cpu" = ""; then
8420 gcc_default_cpu
="armv6"
8422 if test "$gcc_default_fpu" = ""; then
8423 gcc_default_fpu
="vfp"
8425 if test "$gcc_default_float_abi" = ""; then
8426 gcc_default_float_abi
="softfp"
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8430 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8432 # Check whether --with-cpu was given.
8433 if test "${with_cpu+set}" = set; then :
8434 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8436 aros_gcc_cpu
=$gcc_default_cpu
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8440 $as_echo "$aros_gcc_cpu" >&6; }
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8443 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8445 # Check whether --with-fpu was given.
8446 if test "${with_fpu+set}" = set; then :
8447 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8449 aros_gcc_fpu
=$gcc_default_fpu
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8453 $as_echo "$aros_gcc_fpu" >&6; }
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8456 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8458 # Check whether --with-float was given.
8459 if test "${with_float+set}" = set; then :
8460 withval
=$with_float; aros_gcc_float_abi
="$withval"
8462 aros_gcc_float_abi
=$gcc_default_float_abi
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8466 $as_echo "$aros_gcc_float_abi" >&6; }
8468 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"
8469 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"
8473 # Some formats need custom ELF specs.
8474 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8475 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8476 elf_specs_in
=config
/${aros_object_format}-specs.
in
8478 elf_specs_in
=config
/elf-specs.
in
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8482 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8484 # Check whether --with-aros-gcc was given.
8485 if test "${with_aros_gcc+set}" = set; then :
8486 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8492 $as_echo "$aros_gcc_version" >&6; }
8494 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8495 # Since we override specs, we may need to put these defines there
8496 if test "$gcc_target_cpu" != ""; then
8497 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8501 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8503 # Check whether --with-portssources was given.
8504 if test "${with_portssources+set}" = set; then :
8505 withval
=$with_portssources; with_portssrcdir
=$withval
8507 with_portssrcdir
="default"
8510 if test "$with_portssrcdir" = "default"; then
8511 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8513 AROS_PORTSSRCDIR
="$with_portssrcdir"
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8516 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8519 $as_echo_n "checking which bootloader to use... " >&6; }
8521 # Check whether --with-bootloader was given.
8522 if test "${with_bootloader+set}" = set; then :
8523 withval
=$with_bootloader; target_bootloader
=$withval
8525 target_bootloader
=$target_bootloader
8528 if test "$target_bootloader" = "none"; then
8529 aros_target_bootloader
=""
8531 aros_target_bootloader
="$target_bootloader"
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8534 $as_echo "$target_bootloader" >&6; }
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8537 $as_echo_n "checking which icon-set to use... " >&6; }
8539 # Check whether --with-iconset was given.
8540 if test "${with_iconset+set}" = set; then :
8541 withval
=$with_iconset; target_iconset
=$withval
8543 target_iconset
="default"
8546 if test "$target_iconset" = "default"; then
8547 aros_target_iconset
="Gorilla"
8548 target_iconset
="default (Gorilla)"
8550 aros_target_iconset
="$target_iconset"
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8553 $as_echo "$target_iconset" >&6; }
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8556 $as_echo_n "checking which GUI Theme to use... " >&6; }
8558 # Check whether --with-theme was given.
8559 if test "${with_theme+set}" = set; then :
8560 withval
=$with_theme; target_guitheme
=$withval
8562 target_guitheme
="default"
8565 if test "$target_guitheme" = "default"; then
8566 aros_target_guitheme
="Ice"
8568 aros_target_guitheme
="$target_guitheme"
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8571 $as_echo "$aros_target_guitheme" >&6; }
8573 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8577 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8581 if test "$aros_host_cpu" == "x86_64" ; then
8582 if test "$aros_target_cpu" == "i386" ; then
8587 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8588 if test "$aros_host_arch" != "$aros_target_arch" ; then
8592 if test "$host_cc_elf" = "no" ; then
8597 if test "$cross_compiling" = "no" ; then
8598 kernel_tool_prefix
=""
8599 if test "$host_cc_elf" = "yes" ; then
8604 #######################################################################
8605 ## Compute what toolchains to use, and their paths ##
8606 #######################################################################
8608 # This takes, as input:
8609 # crosstools {yes,no}
8610 # aros_gcc_version {default,[version]}
8611 # kernel_tool_prefix {none,[some-arch-os-]}
8612 # aros_tool_prefix ${target_cpu}-aros-
8615 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8616 # Where the 'kernel' binaries are located
8617 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8618 # Where the 'target' binaries are located
8619 # (not the symlink farm - that is aros_target_*!)
8622 # if crosstools then
8623 # if kernel_tools_prefix = "no-kernel-prefix-"
8624 # aros_kernel_* = crosstools cc paths
8625 # aros_kernel_cc = elf cc wrapper around crosstools cc
8627 # VALIDATE(${kernel_tools_prefix}*)
8628 # aros_kernel_* = ${kernel_tools_prefix}*
8629 # if ${kernel_tools_prefix}cc is an AROS gcc
8630 # aros_kernel_cc = ${kernel_tools_prefix}cc
8632 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8636 # orig_target_* = aros built crosstools
8637 # orig_target_cc = elf cc wrapper around crosstools cc
8639 # VALIDATE(${kernel_tools_prefix}*)
8641 # orig_target_* = aros_kernel_*
8642 # if aros_kernel_cc is an AROS gcc
8643 # orig_target_cc = aros_kernel_cc
8645 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8649 target_tool_prefix
="${target_cpu}-aros-"
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8652 $as_echo_n "checking which kernel tools... " >&6; }
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8654 $as_echo "$kernel_tool_prefix" >&6; };
8656 if test "$kernel_tool_prefix" = "none" ; then
8657 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8658 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8661 # Kernel tools required - find them
8662 # Note that 'normally', aros_kernel_* overrides will
8663 # empty, unless specified in the per-arch sections above.
8665 if test "$aros_kernel_cpp" = ""; then
8666 if test "$cross_compiling" = "yes" ; then
8667 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8668 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8670 $as_echo_n "checking for $ac_word... " >&6; }
8671 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8672 $as_echo_n "(cached) " >&6
8674 case $aros_kernel_cpp in
8676 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8683 test -z "$as_dir" && as_dir
=.
8684 for ac_exec_ext
in '' $ac_executable_extensions; do
8685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8686 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8697 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8698 if test -n "$aros_kernel_cpp"; then
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8700 $as_echo "$aros_kernel_cpp" >&6; }
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8703 $as_echo "no" >&6; }
8708 if test "$GCC" = "yes"; then
8709 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8710 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8711 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8713 $as_echo_n "checking for $ac_word... " >&6; }
8714 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8715 $as_echo_n "(cached) " >&6
8717 case $aros_kernel_cpp in
8719 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8723 for as_dir
in `dirname $aros_gcc_cpp`
8726 test -z "$as_dir" && as_dir
=.
8727 for ac_exec_ext
in '' $ac_executable_extensions; do
8728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8729 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8740 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8741 if test -n "$aros_kernel_cpp"; then
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8743 $as_echo "$aros_kernel_cpp" >&6; }
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8746 $as_echo "no" >&6; }
8751 if test "$aros_kernel_cpp" = ""; then
8752 # Extract the first word of "cpp", so it can be a program name with args.
8753 set dummy cpp
; ac_word
=$2
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8755 $as_echo_n "checking for $ac_word... " >&6; }
8756 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8757 $as_echo_n "(cached) " >&6
8759 case $aros_kernel_cpp in
8761 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8768 test -z "$as_dir" && as_dir
=.
8769 for ac_exec_ext
in '' $ac_executable_extensions; do
8770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8771 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8782 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8783 if test -n "$aros_kernel_cpp"; then
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8785 $as_echo "$aros_kernel_cpp" >&6; }
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8788 $as_echo "no" >&6; }
8795 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
8796 set dummy
$aros_kernel_cpp; ac_word
=$2
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8798 $as_echo_n "checking for $ac_word... " >&6; }
8799 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8800 $as_echo_n "(cached) " >&6
8802 case $aros_kernel_cpp in
8804 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8811 test -z "$as_dir" && as_dir
=.
8812 for ac_exec_ext
in '' $ac_executable_extensions; do
8813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8814 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8825 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8826 if test -n "$aros_kernel_cpp"; then
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8828 $as_echo "$aros_kernel_cpp" >&6; }
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8831 $as_echo "no" >&6; }
8837 if test "$aros_kernel_cpp" = ""; then
8838 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8840 if test "x$aros_kernel_cc" = "x"; then
8841 aros_kernel_cc
=${kernel_tool_prefix}gcc
8844 if test "$aros_kernel_cc${aros_gcc_version}" = ""; then
8845 if test "$cross_compiling" = "yes" ; then
8846 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8847 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8849 $as_echo_n "checking for $ac_word... " >&6; }
8850 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8851 $as_echo_n "(cached) " >&6
8853 case $aros_kernel_cc in
8855 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8862 test -z "$as_dir" && as_dir
=.
8863 for ac_exec_ext
in '' $ac_executable_extensions; do
8864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8865 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8876 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8877 if test -n "$aros_kernel_cc"; then
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8879 $as_echo "$aros_kernel_cc" >&6; }
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8882 $as_echo "no" >&6; }
8887 if test "$GCC" = "yes"; then
8888 aros_gcc_cc
=`$CC -print-prog-name=cc`
8889 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8890 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8892 $as_echo_n "checking for $ac_word... " >&6; }
8893 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8894 $as_echo_n "(cached) " >&6
8896 case $aros_kernel_cc in
8898 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8902 for as_dir
in `dirname $aros_gcc_cc`
8905 test -z "$as_dir" && as_dir
=.
8906 for ac_exec_ext
in '' $ac_executable_extensions; do
8907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8908 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8919 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8920 if test -n "$aros_kernel_cc"; then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8922 $as_echo "$aros_kernel_cc" >&6; }
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8925 $as_echo "no" >&6; }
8930 if test "$aros_kernel_cc" = ""; then
8931 # Extract the first word of "cc", so it can be a program name with args.
8932 set dummy cc
; ac_word
=$2
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8934 $as_echo_n "checking for $ac_word... " >&6; }
8935 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8936 $as_echo_n "(cached) " >&6
8938 case $aros_kernel_cc in
8940 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8947 test -z "$as_dir" && as_dir
=.
8948 for ac_exec_ext
in '' $ac_executable_extensions; do
8949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8950 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8961 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8962 if test -n "$aros_kernel_cc"; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8964 $as_echo "$aros_kernel_cc" >&6; }
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8967 $as_echo "no" >&6; }
8974 # Extract the first word of "$aros_kernel_cc${aros_gcc_version}", so it can be a program name with args.
8975 set dummy
$aros_kernel_cc${aros_gcc_version}; ac_word
=$2
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8977 $as_echo_n "checking for $ac_word... " >&6; }
8978 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8979 $as_echo_n "(cached) " >&6
8981 case $aros_kernel_cc in
8983 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8990 test -z "$as_dir" && as_dir
=.
8991 for ac_exec_ext
in '' $ac_executable_extensions; do
8992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8993 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9004 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9005 if test -n "$aros_kernel_cc"; then
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9007 $as_echo "$aros_kernel_cc" >&6; }
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9010 $as_echo "no" >&6; }
9016 if test "$aros_kernel_cc" = ""; then
9017 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9019 if test "x$aros_kernel_cxx" = "x"; then
9020 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9023 if test "$aros_kernel_cxx${aros_gcc_version}" = ""; then
9024 if test "$cross_compiling" = "yes" ; then
9025 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9026 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9028 $as_echo_n "checking for $ac_word... " >&6; }
9029 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9030 $as_echo_n "(cached) " >&6
9032 case $aros_kernel_cxx in
9034 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9041 test -z "$as_dir" && as_dir
=.
9042 for ac_exec_ext
in '' $ac_executable_extensions; do
9043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9044 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9055 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9056 if test -n "$aros_kernel_cxx"; then
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9058 $as_echo "$aros_kernel_cxx" >&6; }
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9061 $as_echo "no" >&6; }
9066 if test "$GCC" = "yes"; then
9067 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9068 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9069 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9071 $as_echo_n "checking for $ac_word... " >&6; }
9072 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9073 $as_echo_n "(cached) " >&6
9075 case $aros_kernel_cxx in
9077 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9081 for as_dir
in `dirname $aros_gcc_cxx`
9084 test -z "$as_dir" && as_dir
=.
9085 for ac_exec_ext
in '' $ac_executable_extensions; do
9086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9087 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9098 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9099 if test -n "$aros_kernel_cxx"; then
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9101 $as_echo "$aros_kernel_cxx" >&6; }
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9104 $as_echo "no" >&6; }
9109 if test "$aros_kernel_cxx" = ""; then
9110 # Extract the first word of "cxx", so it can be a program name with args.
9111 set dummy cxx
; ac_word
=$2
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9113 $as_echo_n "checking for $ac_word... " >&6; }
9114 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9115 $as_echo_n "(cached) " >&6
9117 case $aros_kernel_cxx in
9119 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9126 test -z "$as_dir" && as_dir
=.
9127 for ac_exec_ext
in '' $ac_executable_extensions; do
9128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9129 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9140 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9141 if test -n "$aros_kernel_cxx"; then
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9143 $as_echo "$aros_kernel_cxx" >&6; }
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9146 $as_echo "no" >&6; }
9153 # Extract the first word of "$aros_kernel_cxx${aros_gcc_version}", so it can be a program name with args.
9154 set dummy
$aros_kernel_cxx${aros_gcc_version}; ac_word
=$2
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9156 $as_echo_n "checking for $ac_word... " >&6; }
9157 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9158 $as_echo_n "(cached) " >&6
9160 case $aros_kernel_cxx in
9162 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9169 test -z "$as_dir" && as_dir
=.
9170 for ac_exec_ext
in '' $ac_executable_extensions; do
9171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9172 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9183 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9184 if test -n "$aros_kernel_cxx"; then
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9186 $as_echo "$aros_kernel_cxx" >&6; }
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9189 $as_echo "no" >&6; }
9195 # If it's set, make sure it's really there
9196 if test "x$aros_kernel_cxx" != "x" ; then
9197 if test "$aros_kernel_cxx" = ""; then
9198 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9202 if test "$aros_kernel_ld" = ""; then
9203 if test "$cross_compiling" = "yes" ; then
9204 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9205 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9207 $as_echo_n "checking for $ac_word... " >&6; }
9208 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9209 $as_echo_n "(cached) " >&6
9211 case $aros_kernel_ld in
9213 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9220 test -z "$as_dir" && as_dir
=.
9221 for ac_exec_ext
in '' $ac_executable_extensions; do
9222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9223 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9234 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9235 if test -n "$aros_kernel_ld"; then
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9237 $as_echo "$aros_kernel_ld" >&6; }
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9240 $as_echo "no" >&6; }
9245 if test "$GCC" = "yes"; then
9246 aros_gcc_ld
=`$CC -print-prog-name=ld`
9247 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9248 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9250 $as_echo_n "checking for $ac_word... " >&6; }
9251 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9252 $as_echo_n "(cached) " >&6
9254 case $aros_kernel_ld in
9256 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9260 for as_dir
in `dirname $aros_gcc_ld`
9263 test -z "$as_dir" && as_dir
=.
9264 for ac_exec_ext
in '' $ac_executable_extensions; do
9265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9266 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9277 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9278 if test -n "$aros_kernel_ld"; then
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9280 $as_echo "$aros_kernel_ld" >&6; }
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9283 $as_echo "no" >&6; }
9288 if test "$aros_kernel_ld" = ""; then
9289 # Extract the first word of "ld", so it can be a program name with args.
9290 set dummy ld
; ac_word
=$2
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9292 $as_echo_n "checking for $ac_word... " >&6; }
9293 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9294 $as_echo_n "(cached) " >&6
9296 case $aros_kernel_ld in
9298 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9305 test -z "$as_dir" && as_dir
=.
9306 for ac_exec_ext
in '' $ac_executable_extensions; do
9307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9308 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9319 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9320 if test -n "$aros_kernel_ld"; then
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9322 $as_echo "$aros_kernel_ld" >&6; }
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9325 $as_echo "no" >&6; }
9332 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9333 set dummy
$aros_kernel_ld; ac_word
=$2
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9335 $as_echo_n "checking for $ac_word... " >&6; }
9336 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9337 $as_echo_n "(cached) " >&6
9339 case $aros_kernel_ld in
9341 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9348 test -z "$as_dir" && as_dir
=.
9349 for ac_exec_ext
in '' $ac_executable_extensions; do
9350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9351 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9362 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9363 if test -n "$aros_kernel_ld"; then
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9365 $as_echo "$aros_kernel_ld" >&6; }
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9368 $as_echo "no" >&6; }
9374 if test "$aros_kernel_ld" = ""; then
9375 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9378 if test "$aros_kernel_as" = ""; then
9379 if test "$cross_compiling" = "yes" ; then
9380 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9381 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9383 $as_echo_n "checking for $ac_word... " >&6; }
9384 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9385 $as_echo_n "(cached) " >&6
9387 case $aros_kernel_as in
9389 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9396 test -z "$as_dir" && as_dir
=.
9397 for ac_exec_ext
in '' $ac_executable_extensions; do
9398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9399 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9410 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9411 if test -n "$aros_kernel_as"; then
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9413 $as_echo "$aros_kernel_as" >&6; }
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9416 $as_echo "no" >&6; }
9421 if test "$GCC" = "yes"; then
9422 aros_gcc_as
=`$CC -print-prog-name=as`
9423 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9424 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9426 $as_echo_n "checking for $ac_word... " >&6; }
9427 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9428 $as_echo_n "(cached) " >&6
9430 case $aros_kernel_as in
9432 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9436 for as_dir
in `dirname $aros_gcc_as`
9439 test -z "$as_dir" && as_dir
=.
9440 for ac_exec_ext
in '' $ac_executable_extensions; do
9441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9442 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9453 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9454 if test -n "$aros_kernel_as"; then
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9456 $as_echo "$aros_kernel_as" >&6; }
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9459 $as_echo "no" >&6; }
9464 if test "$aros_kernel_as" = ""; then
9465 # Extract the first word of "as", so it can be a program name with args.
9466 set dummy as
; ac_word
=$2
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9468 $as_echo_n "checking for $ac_word... " >&6; }
9469 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9470 $as_echo_n "(cached) " >&6
9472 case $aros_kernel_as in
9474 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9481 test -z "$as_dir" && as_dir
=.
9482 for ac_exec_ext
in '' $ac_executable_extensions; do
9483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9484 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9495 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9496 if test -n "$aros_kernel_as"; then
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9498 $as_echo "$aros_kernel_as" >&6; }
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9501 $as_echo "no" >&6; }
9508 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9509 set dummy
$aros_kernel_as; ac_word
=$2
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9511 $as_echo_n "checking for $ac_word... " >&6; }
9512 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9513 $as_echo_n "(cached) " >&6
9515 case $aros_kernel_as in
9517 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9524 test -z "$as_dir" && as_dir
=.
9525 for ac_exec_ext
in '' $ac_executable_extensions; do
9526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9527 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9538 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9539 if test -n "$aros_kernel_as"; then
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9541 $as_echo "$aros_kernel_as" >&6; }
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9544 $as_echo "no" >&6; }
9550 if test "$aros_kernel_as" = ""; then
9551 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9554 if test "$aros_kernel_ar" = ""; then
9555 if test "$cross_compiling" = "yes" ; then
9556 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9557 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9559 $as_echo_n "checking for $ac_word... " >&6; }
9560 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9561 $as_echo_n "(cached) " >&6
9563 case $aros_kernel_ar in
9565 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9572 test -z "$as_dir" && as_dir
=.
9573 for ac_exec_ext
in '' $ac_executable_extensions; do
9574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9575 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9586 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9587 if test -n "$aros_kernel_ar"; then
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9589 $as_echo "$aros_kernel_ar" >&6; }
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9592 $as_echo "no" >&6; }
9597 if test "$GCC" = "yes"; then
9598 aros_gcc_ar
=`$CC -print-prog-name=ar`
9599 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9600 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9602 $as_echo_n "checking for $ac_word... " >&6; }
9603 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9604 $as_echo_n "(cached) " >&6
9606 case $aros_kernel_ar in
9608 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9612 for as_dir
in `dirname $aros_gcc_ar`
9615 test -z "$as_dir" && as_dir
=.
9616 for ac_exec_ext
in '' $ac_executable_extensions; do
9617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9618 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9629 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9630 if test -n "$aros_kernel_ar"; then
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9632 $as_echo "$aros_kernel_ar" >&6; }
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9635 $as_echo "no" >&6; }
9640 if test "$aros_kernel_ar" = ""; then
9641 # Extract the first word of "ar", so it can be a program name with args.
9642 set dummy
ar; ac_word
=$2
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9644 $as_echo_n "checking for $ac_word... " >&6; }
9645 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9646 $as_echo_n "(cached) " >&6
9648 case $aros_kernel_ar in
9650 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9657 test -z "$as_dir" && as_dir
=.
9658 for ac_exec_ext
in '' $ac_executable_extensions; do
9659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9660 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9671 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9672 if test -n "$aros_kernel_ar"; then
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9674 $as_echo "$aros_kernel_ar" >&6; }
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9677 $as_echo "no" >&6; }
9684 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9685 set dummy
$aros_kernel_ar; ac_word
=$2
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9687 $as_echo_n "checking for $ac_word... " >&6; }
9688 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9689 $as_echo_n "(cached) " >&6
9691 case $aros_kernel_ar in
9693 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9700 test -z "$as_dir" && as_dir
=.
9701 for ac_exec_ext
in '' $ac_executable_extensions; do
9702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9703 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9714 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9715 if test -n "$aros_kernel_ar"; then
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9717 $as_echo "$aros_kernel_ar" >&6; }
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9720 $as_echo "no" >&6; }
9726 if test "$aros_kernel_ar" = ""; then
9727 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9730 if test "$aros_kernel_ranlib" = ""; then
9731 if test "$cross_compiling" = "yes" ; then
9732 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9733 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9735 $as_echo_n "checking for $ac_word... " >&6; }
9736 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9737 $as_echo_n "(cached) " >&6
9739 case $aros_kernel_ranlib in
9741 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9748 test -z "$as_dir" && as_dir
=.
9749 for ac_exec_ext
in '' $ac_executable_extensions; do
9750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9751 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9762 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9763 if test -n "$aros_kernel_ranlib"; then
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9765 $as_echo "$aros_kernel_ranlib" >&6; }
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9768 $as_echo "no" >&6; }
9773 if test "$GCC" = "yes"; then
9774 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9775 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9776 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9778 $as_echo_n "checking for $ac_word... " >&6; }
9779 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9780 $as_echo_n "(cached) " >&6
9782 case $aros_kernel_ranlib in
9784 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9788 for as_dir
in `dirname $aros_gcc_ranlib`
9791 test -z "$as_dir" && as_dir
=.
9792 for ac_exec_ext
in '' $ac_executable_extensions; do
9793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9794 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9805 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9806 if test -n "$aros_kernel_ranlib"; then
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9808 $as_echo "$aros_kernel_ranlib" >&6; }
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9811 $as_echo "no" >&6; }
9816 if test "$aros_kernel_ranlib" = ""; then
9817 # Extract the first word of "ranlib", so it can be a program name with args.
9818 set dummy ranlib
; ac_word
=$2
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9820 $as_echo_n "checking for $ac_word... " >&6; }
9821 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9822 $as_echo_n "(cached) " >&6
9824 case $aros_kernel_ranlib in
9826 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9833 test -z "$as_dir" && as_dir
=.
9834 for ac_exec_ext
in '' $ac_executable_extensions; do
9835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9836 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9847 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9848 if test -n "$aros_kernel_ranlib"; then
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9850 $as_echo "$aros_kernel_ranlib" >&6; }
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9853 $as_echo "no" >&6; }
9860 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9861 set dummy
$aros_kernel_ranlib; ac_word
=$2
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9863 $as_echo_n "checking for $ac_word... " >&6; }
9864 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9865 $as_echo_n "(cached) " >&6
9867 case $aros_kernel_ranlib in
9869 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9876 test -z "$as_dir" && as_dir
=.
9877 for ac_exec_ext
in '' $ac_executable_extensions; do
9878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9879 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9890 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9891 if test -n "$aros_kernel_ranlib"; then
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9893 $as_echo "$aros_kernel_ranlib" >&6; }
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9896 $as_echo "no" >&6; }
9902 if test "$aros_kernel_ranlib" = ""; then
9903 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9906 if test "$aros_kernel_nm" = ""; then
9907 if test "$cross_compiling" = "yes" ; then
9908 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9909 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9911 $as_echo_n "checking for $ac_word... " >&6; }
9912 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9913 $as_echo_n "(cached) " >&6
9915 case $aros_kernel_nm in
9917 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9924 test -z "$as_dir" && as_dir
=.
9925 for ac_exec_ext
in '' $ac_executable_extensions; do
9926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9927 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9938 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9939 if test -n "$aros_kernel_nm"; then
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9941 $as_echo "$aros_kernel_nm" >&6; }
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9944 $as_echo "no" >&6; }
9949 if test "$GCC" = "yes"; then
9950 aros_gcc_nm
=`$CC -print-prog-name=nm`
9951 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9952 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9954 $as_echo_n "checking for $ac_word... " >&6; }
9955 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9956 $as_echo_n "(cached) " >&6
9958 case $aros_kernel_nm in
9960 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9964 for as_dir
in `dirname $aros_gcc_nm`
9967 test -z "$as_dir" && as_dir
=.
9968 for ac_exec_ext
in '' $ac_executable_extensions; do
9969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9970 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9981 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9982 if test -n "$aros_kernel_nm"; then
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9984 $as_echo "$aros_kernel_nm" >&6; }
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9987 $as_echo "no" >&6; }
9992 if test "$aros_kernel_nm" = ""; then
9993 # Extract the first word of "nm", so it can be a program name with args.
9994 set dummy nm
; ac_word
=$2
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9996 $as_echo_n "checking for $ac_word... " >&6; }
9997 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9998 $as_echo_n "(cached) " >&6
10000 case $aros_kernel_nm in
10002 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10006 for as_dir
in $PATH
10009 test -z "$as_dir" && as_dir
=.
10010 for ac_exec_ext
in '' $ac_executable_extensions; do
10011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10012 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10023 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10024 if test -n "$aros_kernel_nm"; then
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10026 $as_echo "$aros_kernel_nm" >&6; }
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10029 $as_echo "no" >&6; }
10036 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10037 set dummy
$aros_kernel_nm; ac_word
=$2
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10039 $as_echo_n "checking for $ac_word... " >&6; }
10040 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10041 $as_echo_n "(cached) " >&6
10043 case $aros_kernel_nm in
10045 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10049 for as_dir
in $PATH
10052 test -z "$as_dir" && as_dir
=.
10053 for ac_exec_ext
in '' $ac_executable_extensions; do
10054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10055 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10066 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10067 if test -n "$aros_kernel_nm"; then
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10069 $as_echo "$aros_kernel_nm" >&6; }
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10072 $as_echo "no" >&6; }
10078 if test "$aros_kernel_nm" = ""; then
10079 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10082 if test "$aros_kernel_strip" = ""; then
10083 if test "$cross_compiling" = "yes" ; then
10084 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10085 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10087 $as_echo_n "checking for $ac_word... " >&6; }
10088 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10089 $as_echo_n "(cached) " >&6
10091 case $aros_kernel_strip in
10093 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10097 for as_dir
in $PATH
10100 test -z "$as_dir" && as_dir
=.
10101 for ac_exec_ext
in '' $ac_executable_extensions; do
10102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10103 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10114 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10115 if test -n "$aros_kernel_strip"; then
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10117 $as_echo "$aros_kernel_strip" >&6; }
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10120 $as_echo "no" >&6; }
10125 if test "$GCC" = "yes"; then
10126 aros_gcc_strip
=`$CC -print-prog-name=strip`
10127 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10128 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10130 $as_echo_n "checking for $ac_word... " >&6; }
10131 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10132 $as_echo_n "(cached) " >&6
10134 case $aros_kernel_strip in
10136 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10140 for as_dir
in `dirname $aros_gcc_strip`
10143 test -z "$as_dir" && as_dir
=.
10144 for ac_exec_ext
in '' $ac_executable_extensions; do
10145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10146 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10157 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10158 if test -n "$aros_kernel_strip"; then
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10160 $as_echo "$aros_kernel_strip" >&6; }
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10163 $as_echo "no" >&6; }
10168 if test "$aros_kernel_strip" = ""; then
10169 # Extract the first word of "strip", so it can be a program name with args.
10170 set dummy strip
; ac_word
=$2
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10172 $as_echo_n "checking for $ac_word... " >&6; }
10173 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10174 $as_echo_n "(cached) " >&6
10176 case $aros_kernel_strip in
10178 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10182 for as_dir
in $PATH
10185 test -z "$as_dir" && as_dir
=.
10186 for ac_exec_ext
in '' $ac_executable_extensions; do
10187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10188 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10199 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10200 if test -n "$aros_kernel_strip"; then
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10202 $as_echo "$aros_kernel_strip" >&6; }
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10205 $as_echo "no" >&6; }
10212 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10213 set dummy
$aros_kernel_strip; ac_word
=$2
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10215 $as_echo_n "checking for $ac_word... " >&6; }
10216 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10217 $as_echo_n "(cached) " >&6
10219 case $aros_kernel_strip in
10221 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10225 for as_dir
in $PATH
10228 test -z "$as_dir" && as_dir
=.
10229 for ac_exec_ext
in '' $ac_executable_extensions; do
10230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10231 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10242 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10243 if test -n "$aros_kernel_strip"; then
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10245 $as_echo "$aros_kernel_strip" >&6; }
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10248 $as_echo "no" >&6; }
10254 if test "$aros_kernel_strip" = ""; then
10255 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10258 # Objcopy and objdump are not required for the kernel
10259 # toolchain on many architectures.
10260 # So we'll look for them, but not make them strictly required.
10262 if test "$aros_kernel_objcopy" = ""; then
10263 if test "$cross_compiling" = "yes" ; then
10264 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10265 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10267 $as_echo_n "checking for $ac_word... " >&6; }
10268 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10269 $as_echo_n "(cached) " >&6
10271 case $aros_kernel_objcopy in
10273 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10277 for as_dir
in $PATH
10280 test -z "$as_dir" && as_dir
=.
10281 for ac_exec_ext
in '' $ac_executable_extensions; do
10282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10283 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10294 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10295 if test -n "$aros_kernel_objcopy"; then
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10297 $as_echo "$aros_kernel_objcopy" >&6; }
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10300 $as_echo "no" >&6; }
10305 if test "$GCC" = "yes"; then
10306 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10307 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10308 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10310 $as_echo_n "checking for $ac_word... " >&6; }
10311 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10312 $as_echo_n "(cached) " >&6
10314 case $aros_kernel_objcopy in
10316 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10320 for as_dir
in `dirname $aros_gcc_objcopy`
10323 test -z "$as_dir" && as_dir
=.
10324 for ac_exec_ext
in '' $ac_executable_extensions; do
10325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10326 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10337 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10338 if test -n "$aros_kernel_objcopy"; then
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10340 $as_echo "$aros_kernel_objcopy" >&6; }
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10343 $as_echo "no" >&6; }
10348 if test "$aros_kernel_objcopy" = ""; then
10349 # Extract the first word of "objcopy", so it can be a program name with args.
10350 set dummy objcopy
; ac_word
=$2
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10352 $as_echo_n "checking for $ac_word... " >&6; }
10353 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10354 $as_echo_n "(cached) " >&6
10356 case $aros_kernel_objcopy in
10358 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10362 for as_dir
in $PATH
10365 test -z "$as_dir" && as_dir
=.
10366 for ac_exec_ext
in '' $ac_executable_extensions; do
10367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10368 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10379 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10380 if test -n "$aros_kernel_objcopy"; then
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10382 $as_echo "$aros_kernel_objcopy" >&6; }
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10385 $as_echo "no" >&6; }
10392 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10393 set dummy
$aros_kernel_objcopy; ac_word
=$2
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10395 $as_echo_n "checking for $ac_word... " >&6; }
10396 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10397 $as_echo_n "(cached) " >&6
10399 case $aros_kernel_objcopy in
10401 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10405 for as_dir
in $PATH
10408 test -z "$as_dir" && as_dir
=.
10409 for ac_exec_ext
in '' $ac_executable_extensions; do
10410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10411 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10422 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10423 if test -n "$aros_kernel_objcopy"; then
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10425 $as_echo "$aros_kernel_objcopy" >&6; }
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10428 $as_echo "no" >&6; }
10435 if test "$aros_kernel_objdump" = ""; then
10436 if test "$cross_compiling" = "yes" ; then
10437 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10438 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10440 $as_echo_n "checking for $ac_word... " >&6; }
10441 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10442 $as_echo_n "(cached) " >&6
10444 case $aros_kernel_objdump in
10446 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10450 for as_dir
in $PATH
10453 test -z "$as_dir" && as_dir
=.
10454 for ac_exec_ext
in '' $ac_executable_extensions; do
10455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10456 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10467 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10468 if test -n "$aros_kernel_objdump"; then
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10470 $as_echo "$aros_kernel_objdump" >&6; }
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10473 $as_echo "no" >&6; }
10478 if test "$GCC" = "yes"; then
10479 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10480 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10481 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10483 $as_echo_n "checking for $ac_word... " >&6; }
10484 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10485 $as_echo_n "(cached) " >&6
10487 case $aros_kernel_objdump in
10489 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10493 for as_dir
in `dirname $aros_gcc_objdump`
10496 test -z "$as_dir" && as_dir
=.
10497 for ac_exec_ext
in '' $ac_executable_extensions; do
10498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10499 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10510 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10511 if test -n "$aros_kernel_objdump"; then
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10513 $as_echo "$aros_kernel_objdump" >&6; }
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10516 $as_echo "no" >&6; }
10521 if test "$aros_kernel_objdump" = ""; then
10522 # Extract the first word of "objdump", so it can be a program name with args.
10523 set dummy objdump
; ac_word
=$2
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10525 $as_echo_n "checking for $ac_word... " >&6; }
10526 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10527 $as_echo_n "(cached) " >&6
10529 case $aros_kernel_objdump in
10531 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10535 for as_dir
in $PATH
10538 test -z "$as_dir" && as_dir
=.
10539 for ac_exec_ext
in '' $ac_executable_extensions; do
10540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10541 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10552 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10553 if test -n "$aros_kernel_objdump"; then
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10555 $as_echo "$aros_kernel_objdump" >&6; }
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10558 $as_echo "no" >&6; }
10565 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10566 set dummy
$aros_kernel_objdump; ac_word
=$2
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10568 $as_echo_n "checking for $ac_word... " >&6; }
10569 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10570 $as_echo_n "(cached) " >&6
10572 case $aros_kernel_objdump in
10574 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10578 for as_dir
in $PATH
10581 test -z "$as_dir" && as_dir
=.
10582 for ac_exec_ext
in '' $ac_executable_extensions; do
10583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10584 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10595 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10596 if test -n "$aros_kernel_objdump"; then
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10598 $as_echo "$aros_kernel_objdump" >&6; }
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10601 $as_echo "no" >&6; }
10607 if test "x${crosstools}" != "xyes" ; then
10608 if test "$aros_kernel_objcopy" = ""; then
10609 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10611 if test "$aros_kernel_objdump" = ""; then
10612 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10618 $as_echo_n "checking which target tools to use... " >&6; }
10619 if test "$crosstools" = "yes"; then
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10621 $as_echo "$target_tool_prefix" >&6; }
10622 # We are are building AROS crosstools
10623 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10624 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10625 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10626 orig_target_cpp
="${tmp_tool_prefix}cpp"
10627 orig_target_ld
="${tmp_tool_prefix}ld"
10628 orig_target_as
="${tmp_tool_prefix}as"
10629 orig_target_ar
="${tmp_tool_prefix}ar"
10630 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10631 orig_target_nm
="${tmp_tool_prefix}nm"
10632 orig_target_strip
="${tmp_tool_prefix}strip"
10633 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10634 orig_target_objdump
="${tmp_tool_prefix}objdump"
10636 # Determine whether AROS or ELF tools should be used
10637 if test "$aros_tool_prefix" = "none"; then
10638 aros_tool_prefix
="${elf_tool_prefix}"
10639 crosstools_cxx_target
=tools-crosstools
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10643 $as_echo "$aros_tool_prefix" >&6; }
10644 # We are *not* building AROS crosstools - use the AROS or ELF tools
10646 if test "${aros_tool_prefix}cpp" = ""; then
10647 if test "$cross_compiling" = "yes" ; then
10648 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10649 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10651 $as_echo_n "checking for $ac_word... " >&6; }
10652 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10653 $as_echo_n "(cached) " >&6
10655 case $orig_target_cpp in
10657 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10661 for as_dir
in $PATH
10664 test -z "$as_dir" && as_dir
=.
10665 for ac_exec_ext
in '' $ac_executable_extensions; do
10666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10667 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10678 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10679 if test -n "$orig_target_cpp"; then
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10681 $as_echo "$orig_target_cpp" >&6; }
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10684 $as_echo "no" >&6; }
10689 if test "$GCC" = "yes"; then
10690 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10691 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10692 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10694 $as_echo_n "checking for $ac_word... " >&6; }
10695 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10696 $as_echo_n "(cached) " >&6
10698 case $orig_target_cpp in
10700 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10704 for as_dir
in `dirname $aros_gcc_cpp`
10707 test -z "$as_dir" && as_dir
=.
10708 for ac_exec_ext
in '' $ac_executable_extensions; do
10709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10710 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10721 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10722 if test -n "$orig_target_cpp"; then
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10724 $as_echo "$orig_target_cpp" >&6; }
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10727 $as_echo "no" >&6; }
10732 if test "$orig_target_cpp" = ""; then
10733 # Extract the first word of "cpp", so it can be a program name with args.
10734 set dummy cpp
; ac_word
=$2
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10736 $as_echo_n "checking for $ac_word... " >&6; }
10737 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10738 $as_echo_n "(cached) " >&6
10740 case $orig_target_cpp in
10742 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10746 for as_dir
in $PATH
10749 test -z "$as_dir" && as_dir
=.
10750 for ac_exec_ext
in '' $ac_executable_extensions; do
10751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10752 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10763 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10764 if test -n "$orig_target_cpp"; then
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10766 $as_echo "$orig_target_cpp" >&6; }
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10769 $as_echo "no" >&6; }
10776 # Extract the first word of "${aros_tool_prefix}cpp", so it can be a program name with args.
10777 set dummy
${aros_tool_prefix}cpp
; ac_word
=$2
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10779 $as_echo_n "checking for $ac_word... " >&6; }
10780 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10781 $as_echo_n "(cached) " >&6
10783 case $orig_target_cpp in
10785 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10789 for as_dir
in $PATH
10792 test -z "$as_dir" && as_dir
=.
10793 for ac_exec_ext
in '' $ac_executable_extensions; do
10794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10795 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10806 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10807 if test -n "$orig_target_cpp"; then
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10809 $as_echo "$orig_target_cpp" >&6; }
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10812 $as_echo "no" >&6; }
10818 if test "$orig_target_cpp" = ""; then
10819 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10822 if test "${aros_tool_prefix}gcc" = ""; then
10823 if test "$cross_compiling" = "yes" ; then
10824 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10825 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10827 $as_echo_n "checking for $ac_word... " >&6; }
10828 if ${ac_cv_path_orig_target_cc+:} false
; then :
10829 $as_echo_n "(cached) " >&6
10831 case $orig_target_cc in
10833 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10837 for as_dir
in $PATH
10840 test -z "$as_dir" && as_dir
=.
10841 for ac_exec_ext
in '' $ac_executable_extensions; do
10842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10843 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10854 orig_target_cc
=$ac_cv_path_orig_target_cc
10855 if test -n "$orig_target_cc"; then
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10857 $as_echo "$orig_target_cc" >&6; }
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10860 $as_echo "no" >&6; }
10865 if test "$GCC" = "yes"; then
10866 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10867 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10868 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10870 $as_echo_n "checking for $ac_word... " >&6; }
10871 if ${ac_cv_path_orig_target_cc+:} false
; then :
10872 $as_echo_n "(cached) " >&6
10874 case $orig_target_cc in
10876 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10880 for as_dir
in `dirname $aros_gcc_gcc`
10883 test -z "$as_dir" && as_dir
=.
10884 for ac_exec_ext
in '' $ac_executable_extensions; do
10885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10886 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10897 orig_target_cc
=$ac_cv_path_orig_target_cc
10898 if test -n "$orig_target_cc"; then
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10900 $as_echo "$orig_target_cc" >&6; }
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10903 $as_echo "no" >&6; }
10908 if test "$orig_target_cc" = ""; then
10909 # Extract the first word of "gcc", so it can be a program name with args.
10910 set dummy gcc
; ac_word
=$2
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10912 $as_echo_n "checking for $ac_word... " >&6; }
10913 if ${ac_cv_path_orig_target_cc+:} false
; then :
10914 $as_echo_n "(cached) " >&6
10916 case $orig_target_cc in
10918 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10922 for as_dir
in $PATH
10925 test -z "$as_dir" && as_dir
=.
10926 for ac_exec_ext
in '' $ac_executable_extensions; do
10927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10928 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10939 orig_target_cc
=$ac_cv_path_orig_target_cc
10940 if test -n "$orig_target_cc"; then
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10942 $as_echo "$orig_target_cc" >&6; }
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10945 $as_echo "no" >&6; }
10952 # Extract the first word of "${aros_tool_prefix}gcc", so it can be a program name with args.
10953 set dummy
${aros_tool_prefix}gcc
; ac_word
=$2
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10955 $as_echo_n "checking for $ac_word... " >&6; }
10956 if ${ac_cv_path_orig_target_cc+:} false
; then :
10957 $as_echo_n "(cached) " >&6
10959 case $orig_target_cc in
10961 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10965 for as_dir
in $PATH
10968 test -z "$as_dir" && as_dir
=.
10969 for ac_exec_ext
in '' $ac_executable_extensions; do
10970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10971 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10982 orig_target_cc
=$ac_cv_path_orig_target_cc
10983 if test -n "$orig_target_cc"; then
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10985 $as_echo "$orig_target_cc" >&6; }
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10988 $as_echo "no" >&6; }
10994 if test "$orig_target_cc" = ""; then
10995 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
10997 if test "x${crosstools_cxx_target}" = "x" ; then
10999 if test "${aros_tool_prefix}g++" = ""; then
11000 if test "$cross_compiling" = "yes" ; then
11001 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11002 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11004 $as_echo_n "checking for $ac_word... " >&6; }
11005 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11006 $as_echo_n "(cached) " >&6
11008 case $orig_target_cxx in
11010 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11014 for as_dir
in $PATH
11017 test -z "$as_dir" && as_dir
=.
11018 for ac_exec_ext
in '' $ac_executable_extensions; do
11019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11020 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11031 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11032 if test -n "$orig_target_cxx"; then
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11034 $as_echo "$orig_target_cxx" >&6; }
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11037 $as_echo "no" >&6; }
11042 if test "$GCC" = "yes"; then
11043 aros_gcc_g
++=`$CC -print-prog-name=g++`
11044 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11045 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11047 $as_echo_n "checking for $ac_word... " >&6; }
11048 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11049 $as_echo_n "(cached) " >&6
11051 case $orig_target_cxx in
11053 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11057 for as_dir
in `dirname $aros_gcc_g++`
11060 test -z "$as_dir" && as_dir
=.
11061 for ac_exec_ext
in '' $ac_executable_extensions; do
11062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11063 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11074 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11075 if test -n "$orig_target_cxx"; then
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11077 $as_echo "$orig_target_cxx" >&6; }
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11080 $as_echo "no" >&6; }
11085 if test "$orig_target_cxx" = ""; then
11086 # Extract the first word of "g++", so it can be a program name with args.
11087 set dummy g
++; ac_word
=$2
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11089 $as_echo_n "checking for $ac_word... " >&6; }
11090 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11091 $as_echo_n "(cached) " >&6
11093 case $orig_target_cxx in
11095 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11099 for as_dir
in $PATH
11102 test -z "$as_dir" && as_dir
=.
11103 for ac_exec_ext
in '' $ac_executable_extensions; do
11104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11105 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11116 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11117 if test -n "$orig_target_cxx"; then
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11119 $as_echo "$orig_target_cxx" >&6; }
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11122 $as_echo "no" >&6; }
11129 # Extract the first word of "${aros_tool_prefix}g++", so it can be a program name with args.
11130 set dummy
${aros_tool_prefix}g
++; ac_word
=$2
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11132 $as_echo_n "checking for $ac_word... " >&6; }
11133 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11134 $as_echo_n "(cached) " >&6
11136 case $orig_target_cxx in
11138 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11142 for as_dir
in $PATH
11145 test -z "$as_dir" && as_dir
=.
11146 for ac_exec_ext
in '' $ac_executable_extensions; do
11147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11148 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11159 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11160 if test -n "$orig_target_cxx"; then
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11162 $as_echo "$orig_target_cxx" >&6; }
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11165 $as_echo "no" >&6; }
11171 if test "$orig_target_cxx" = ""; then
11172 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11176 if test "${aros_tool_prefix}ld" = ""; then
11177 if test "$cross_compiling" = "yes" ; then
11178 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11179 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11181 $as_echo_n "checking for $ac_word... " >&6; }
11182 if ${ac_cv_path_orig_target_ld+:} false
; then :
11183 $as_echo_n "(cached) " >&6
11185 case $orig_target_ld in
11187 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11191 for as_dir
in $PATH
11194 test -z "$as_dir" && as_dir
=.
11195 for ac_exec_ext
in '' $ac_executable_extensions; do
11196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11197 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11208 orig_target_ld
=$ac_cv_path_orig_target_ld
11209 if test -n "$orig_target_ld"; then
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11211 $as_echo "$orig_target_ld" >&6; }
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11214 $as_echo "no" >&6; }
11219 if test "$GCC" = "yes"; then
11220 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11221 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11222 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11224 $as_echo_n "checking for $ac_word... " >&6; }
11225 if ${ac_cv_path_orig_target_ld+:} false
; then :
11226 $as_echo_n "(cached) " >&6
11228 case $orig_target_ld in
11230 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11234 for as_dir
in `dirname $aros_gcc_gcc`
11237 test -z "$as_dir" && as_dir
=.
11238 for ac_exec_ext
in '' $ac_executable_extensions; do
11239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11240 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11251 orig_target_ld
=$ac_cv_path_orig_target_ld
11252 if test -n "$orig_target_ld"; then
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11254 $as_echo "$orig_target_ld" >&6; }
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11257 $as_echo "no" >&6; }
11262 if test "$orig_target_ld" = ""; then
11263 # Extract the first word of "gcc", so it can be a program name with args.
11264 set dummy gcc
; ac_word
=$2
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11266 $as_echo_n "checking for $ac_word... " >&6; }
11267 if ${ac_cv_path_orig_target_ld+:} false
; then :
11268 $as_echo_n "(cached) " >&6
11270 case $orig_target_ld in
11272 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11276 for as_dir
in $PATH
11279 test -z "$as_dir" && as_dir
=.
11280 for ac_exec_ext
in '' $ac_executable_extensions; do
11281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11282 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11293 orig_target_ld
=$ac_cv_path_orig_target_ld
11294 if test -n "$orig_target_ld"; then
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11296 $as_echo "$orig_target_ld" >&6; }
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11299 $as_echo "no" >&6; }
11306 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11307 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11309 $as_echo_n "checking for $ac_word... " >&6; }
11310 if ${ac_cv_path_orig_target_ld+:} false
; then :
11311 $as_echo_n "(cached) " >&6
11313 case $orig_target_ld in
11315 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11319 for as_dir
in $PATH
11322 test -z "$as_dir" && as_dir
=.
11323 for ac_exec_ext
in '' $ac_executable_extensions; do
11324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11325 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11336 orig_target_ld
=$ac_cv_path_orig_target_ld
11337 if test -n "$orig_target_ld"; then
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11339 $as_echo "$orig_target_ld" >&6; }
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11342 $as_echo "no" >&6; }
11348 if test "$orig_target_ld" = ""; then
11349 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11352 if test "${aros_tool_prefix}as" = ""; then
11353 if test "$cross_compiling" = "yes" ; then
11354 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11355 set dummy
${target_tool_prefix}as
; ac_word
=$2
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11357 $as_echo_n "checking for $ac_word... " >&6; }
11358 if ${ac_cv_path_orig_target_as+:} false
; then :
11359 $as_echo_n "(cached) " >&6
11361 case $orig_target_as in
11363 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11367 for as_dir
in $PATH
11370 test -z "$as_dir" && as_dir
=.
11371 for ac_exec_ext
in '' $ac_executable_extensions; do
11372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11373 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11384 orig_target_as
=$ac_cv_path_orig_target_as
11385 if test -n "$orig_target_as"; then
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11387 $as_echo "$orig_target_as" >&6; }
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11390 $as_echo "no" >&6; }
11395 if test "$GCC" = "yes"; then
11396 aros_gcc_as
=`$CC -print-prog-name=as`
11397 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11398 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11400 $as_echo_n "checking for $ac_word... " >&6; }
11401 if ${ac_cv_path_orig_target_as+:} false
; then :
11402 $as_echo_n "(cached) " >&6
11404 case $orig_target_as in
11406 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11410 for as_dir
in `dirname $aros_gcc_as`
11413 test -z "$as_dir" && as_dir
=.
11414 for ac_exec_ext
in '' $ac_executable_extensions; do
11415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11416 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11427 orig_target_as
=$ac_cv_path_orig_target_as
11428 if test -n "$orig_target_as"; then
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11430 $as_echo "$orig_target_as" >&6; }
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11433 $as_echo "no" >&6; }
11438 if test "$orig_target_as" = ""; then
11439 # Extract the first word of "as", so it can be a program name with args.
11440 set dummy as
; ac_word
=$2
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11442 $as_echo_n "checking for $ac_word... " >&6; }
11443 if ${ac_cv_path_orig_target_as+:} false
; then :
11444 $as_echo_n "(cached) " >&6
11446 case $orig_target_as in
11448 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11452 for as_dir
in $PATH
11455 test -z "$as_dir" && as_dir
=.
11456 for ac_exec_ext
in '' $ac_executable_extensions; do
11457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11458 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11469 orig_target_as
=$ac_cv_path_orig_target_as
11470 if test -n "$orig_target_as"; then
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11472 $as_echo "$orig_target_as" >&6; }
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11475 $as_echo "no" >&6; }
11482 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11483 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11485 $as_echo_n "checking for $ac_word... " >&6; }
11486 if ${ac_cv_path_orig_target_as+:} false
; then :
11487 $as_echo_n "(cached) " >&6
11489 case $orig_target_as in
11491 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11495 for as_dir
in $PATH
11498 test -z "$as_dir" && as_dir
=.
11499 for ac_exec_ext
in '' $ac_executable_extensions; do
11500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11501 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11512 orig_target_as
=$ac_cv_path_orig_target_as
11513 if test -n "$orig_target_as"; then
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11515 $as_echo "$orig_target_as" >&6; }
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11518 $as_echo "no" >&6; }
11524 if test "$orig_target_as" = ""; then
11525 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11528 if test "${aros_tool_prefix}ar" = ""; then
11529 if test "$cross_compiling" = "yes" ; then
11530 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11531 set dummy
${target_tool_prefix}ar; ac_word
=$2
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11533 $as_echo_n "checking for $ac_word... " >&6; }
11534 if ${ac_cv_path_orig_target_ar+:} false
; then :
11535 $as_echo_n "(cached) " >&6
11537 case $orig_target_ar in
11539 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11543 for as_dir
in $PATH
11546 test -z "$as_dir" && as_dir
=.
11547 for ac_exec_ext
in '' $ac_executable_extensions; do
11548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11549 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11560 orig_target_ar
=$ac_cv_path_orig_target_ar
11561 if test -n "$orig_target_ar"; then
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11563 $as_echo "$orig_target_ar" >&6; }
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11566 $as_echo "no" >&6; }
11571 if test "$GCC" = "yes"; then
11572 aros_gcc_ar
=`$CC -print-prog-name=ar`
11573 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11574 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11576 $as_echo_n "checking for $ac_word... " >&6; }
11577 if ${ac_cv_path_orig_target_ar+:} false
; then :
11578 $as_echo_n "(cached) " >&6
11580 case $orig_target_ar in
11582 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11586 for as_dir
in `dirname $aros_gcc_ar`
11589 test -z "$as_dir" && as_dir
=.
11590 for ac_exec_ext
in '' $ac_executable_extensions; do
11591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11592 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11603 orig_target_ar
=$ac_cv_path_orig_target_ar
11604 if test -n "$orig_target_ar"; then
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11606 $as_echo "$orig_target_ar" >&6; }
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11609 $as_echo "no" >&6; }
11614 if test "$orig_target_ar" = ""; then
11615 # Extract the first word of "ar", so it can be a program name with args.
11616 set dummy
ar; ac_word
=$2
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11618 $as_echo_n "checking for $ac_word... " >&6; }
11619 if ${ac_cv_path_orig_target_ar+:} false
; then :
11620 $as_echo_n "(cached) " >&6
11622 case $orig_target_ar in
11624 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11628 for as_dir
in $PATH
11631 test -z "$as_dir" && as_dir
=.
11632 for ac_exec_ext
in '' $ac_executable_extensions; do
11633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11634 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11645 orig_target_ar
=$ac_cv_path_orig_target_ar
11646 if test -n "$orig_target_ar"; then
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11648 $as_echo "$orig_target_ar" >&6; }
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11651 $as_echo "no" >&6; }
11658 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11659 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11661 $as_echo_n "checking for $ac_word... " >&6; }
11662 if ${ac_cv_path_orig_target_ar+:} false
; then :
11663 $as_echo_n "(cached) " >&6
11665 case $orig_target_ar in
11667 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11671 for as_dir
in $PATH
11674 test -z "$as_dir" && as_dir
=.
11675 for ac_exec_ext
in '' $ac_executable_extensions; do
11676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11677 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11688 orig_target_ar
=$ac_cv_path_orig_target_ar
11689 if test -n "$orig_target_ar"; then
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11691 $as_echo "$orig_target_ar" >&6; }
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11694 $as_echo "no" >&6; }
11700 if test "$orig_target_ar" = ""; then
11701 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11704 if test "${aros_tool_prefix}ranlib" = ""; then
11705 if test "$cross_compiling" = "yes" ; then
11706 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11707 set dummy
${target_tool_prefix}ar; ac_word
=$2
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11709 $as_echo_n "checking for $ac_word... " >&6; }
11710 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11711 $as_echo_n "(cached) " >&6
11713 case $orig_target_ranlib in
11715 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11719 for as_dir
in $PATH
11722 test -z "$as_dir" && as_dir
=.
11723 for ac_exec_ext
in '' $ac_executable_extensions; do
11724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11725 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11736 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11737 if test -n "$orig_target_ranlib"; then
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11739 $as_echo "$orig_target_ranlib" >&6; }
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11742 $as_echo "no" >&6; }
11747 if test "$GCC" = "yes"; then
11748 aros_gcc_ar
=`$CC -print-prog-name=ar`
11749 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11750 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11752 $as_echo_n "checking for $ac_word... " >&6; }
11753 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11754 $as_echo_n "(cached) " >&6
11756 case $orig_target_ranlib in
11758 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11762 for as_dir
in `dirname $aros_gcc_ar`
11765 test -z "$as_dir" && as_dir
=.
11766 for ac_exec_ext
in '' $ac_executable_extensions; do
11767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11768 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11779 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11780 if test -n "$orig_target_ranlib"; then
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11782 $as_echo "$orig_target_ranlib" >&6; }
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11785 $as_echo "no" >&6; }
11790 if test "$orig_target_ranlib" = ""; then
11791 # Extract the first word of "ar", so it can be a program name with args.
11792 set dummy
ar; ac_word
=$2
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11794 $as_echo_n "checking for $ac_word... " >&6; }
11795 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11796 $as_echo_n "(cached) " >&6
11798 case $orig_target_ranlib in
11800 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11804 for as_dir
in $PATH
11807 test -z "$as_dir" && as_dir
=.
11808 for ac_exec_ext
in '' $ac_executable_extensions; do
11809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11810 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11821 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11822 if test -n "$orig_target_ranlib"; then
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11824 $as_echo "$orig_target_ranlib" >&6; }
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11827 $as_echo "no" >&6; }
11834 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11835 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11837 $as_echo_n "checking for $ac_word... " >&6; }
11838 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11839 $as_echo_n "(cached) " >&6
11841 case $orig_target_ranlib in
11843 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11847 for as_dir
in $PATH
11850 test -z "$as_dir" && as_dir
=.
11851 for ac_exec_ext
in '' $ac_executable_extensions; do
11852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11853 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11864 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11865 if test -n "$orig_target_ranlib"; then
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11867 $as_echo "$orig_target_ranlib" >&6; }
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11870 $as_echo "no" >&6; }
11876 if test "$orig_target_ranlib" = ""; then
11877 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11880 if test "${aros_tool_prefix}nm" = ""; then
11881 if test "$cross_compiling" = "yes" ; then
11882 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
11883 set dummy
${target_tool_prefix}nm
; ac_word
=$2
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11885 $as_echo_n "checking for $ac_word... " >&6; }
11886 if ${ac_cv_path_orig_target_nm+:} false
; then :
11887 $as_echo_n "(cached) " >&6
11889 case $orig_target_nm in
11891 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11895 for as_dir
in $PATH
11898 test -z "$as_dir" && as_dir
=.
11899 for ac_exec_ext
in '' $ac_executable_extensions; do
11900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11901 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11912 orig_target_nm
=$ac_cv_path_orig_target_nm
11913 if test -n "$orig_target_nm"; then
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11915 $as_echo "$orig_target_nm" >&6; }
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11918 $as_echo "no" >&6; }
11923 if test "$GCC" = "yes"; then
11924 aros_gcc_nm
=`$CC -print-prog-name=nm`
11925 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11926 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11928 $as_echo_n "checking for $ac_word... " >&6; }
11929 if ${ac_cv_path_orig_target_nm+:} false
; then :
11930 $as_echo_n "(cached) " >&6
11932 case $orig_target_nm in
11934 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11938 for as_dir
in `dirname $aros_gcc_nm`
11941 test -z "$as_dir" && as_dir
=.
11942 for ac_exec_ext
in '' $ac_executable_extensions; do
11943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11944 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11955 orig_target_nm
=$ac_cv_path_orig_target_nm
11956 if test -n "$orig_target_nm"; then
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11958 $as_echo "$orig_target_nm" >&6; }
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11961 $as_echo "no" >&6; }
11966 if test "$orig_target_nm" = ""; then
11967 # Extract the first word of "nm", so it can be a program name with args.
11968 set dummy nm
; ac_word
=$2
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11970 $as_echo_n "checking for $ac_word... " >&6; }
11971 if ${ac_cv_path_orig_target_nm+:} false
; then :
11972 $as_echo_n "(cached) " >&6
11974 case $orig_target_nm in
11976 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11980 for as_dir
in $PATH
11983 test -z "$as_dir" && as_dir
=.
11984 for ac_exec_ext
in '' $ac_executable_extensions; do
11985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11986 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11997 orig_target_nm
=$ac_cv_path_orig_target_nm
11998 if test -n "$orig_target_nm"; then
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12000 $as_echo "$orig_target_nm" >&6; }
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12003 $as_echo "no" >&6; }
12010 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12011 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12013 $as_echo_n "checking for $ac_word... " >&6; }
12014 if ${ac_cv_path_orig_target_nm+:} false
; then :
12015 $as_echo_n "(cached) " >&6
12017 case $orig_target_nm in
12019 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12023 for as_dir
in $PATH
12026 test -z "$as_dir" && as_dir
=.
12027 for ac_exec_ext
in '' $ac_executable_extensions; do
12028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12029 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12040 orig_target_nm
=$ac_cv_path_orig_target_nm
12041 if test -n "$orig_target_nm"; then
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12043 $as_echo "$orig_target_nm" >&6; }
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12046 $as_echo "no" >&6; }
12052 if test "$orig_target_nm" = ""; then
12053 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12056 if test "${aros_tool_prefix}strip" = ""; then
12057 if test "$cross_compiling" = "yes" ; then
12058 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12059 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12061 $as_echo_n "checking for $ac_word... " >&6; }
12062 if ${ac_cv_path_orig_target_strip+:} false
; then :
12063 $as_echo_n "(cached) " >&6
12065 case $orig_target_strip in
12067 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12071 for as_dir
in $PATH
12074 test -z "$as_dir" && as_dir
=.
12075 for ac_exec_ext
in '' $ac_executable_extensions; do
12076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12077 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12088 orig_target_strip
=$ac_cv_path_orig_target_strip
12089 if test -n "$orig_target_strip"; then
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12091 $as_echo "$orig_target_strip" >&6; }
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12094 $as_echo "no" >&6; }
12099 if test "$GCC" = "yes"; then
12100 aros_gcc_strip
=`$CC -print-prog-name=strip`
12101 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12102 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12104 $as_echo_n "checking for $ac_word... " >&6; }
12105 if ${ac_cv_path_orig_target_strip+:} false
; then :
12106 $as_echo_n "(cached) " >&6
12108 case $orig_target_strip in
12110 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12114 for as_dir
in `dirname $aros_gcc_strip`
12117 test -z "$as_dir" && as_dir
=.
12118 for ac_exec_ext
in '' $ac_executable_extensions; do
12119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12120 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12131 orig_target_strip
=$ac_cv_path_orig_target_strip
12132 if test -n "$orig_target_strip"; then
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12134 $as_echo "$orig_target_strip" >&6; }
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12137 $as_echo "no" >&6; }
12142 if test "$orig_target_strip" = ""; then
12143 # Extract the first word of "strip", so it can be a program name with args.
12144 set dummy strip
; ac_word
=$2
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12146 $as_echo_n "checking for $ac_word... " >&6; }
12147 if ${ac_cv_path_orig_target_strip+:} false
; then :
12148 $as_echo_n "(cached) " >&6
12150 case $orig_target_strip in
12152 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12156 for as_dir
in $PATH
12159 test -z "$as_dir" && as_dir
=.
12160 for ac_exec_ext
in '' $ac_executable_extensions; do
12161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12162 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12173 orig_target_strip
=$ac_cv_path_orig_target_strip
12174 if test -n "$orig_target_strip"; then
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12176 $as_echo "$orig_target_strip" >&6; }
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12179 $as_echo "no" >&6; }
12186 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12187 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12189 $as_echo_n "checking for $ac_word... " >&6; }
12190 if ${ac_cv_path_orig_target_strip+:} false
; then :
12191 $as_echo_n "(cached) " >&6
12193 case $orig_target_strip in
12195 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12199 for as_dir
in $PATH
12202 test -z "$as_dir" && as_dir
=.
12203 for ac_exec_ext
in '' $ac_executable_extensions; do
12204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12205 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12216 orig_target_strip
=$ac_cv_path_orig_target_strip
12217 if test -n "$orig_target_strip"; then
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12219 $as_echo "$orig_target_strip" >&6; }
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12222 $as_echo "no" >&6; }
12228 if test "$orig_target_strip" = ""; then
12229 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12232 if test "${aros_tool_prefix}objcopy" = ""; then
12233 if test "$cross_compiling" = "yes" ; then
12234 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12235 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12237 $as_echo_n "checking for $ac_word... " >&6; }
12238 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12239 $as_echo_n "(cached) " >&6
12241 case $orig_target_objcopy in
12243 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12247 for as_dir
in $PATH
12250 test -z "$as_dir" && as_dir
=.
12251 for ac_exec_ext
in '' $ac_executable_extensions; do
12252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12253 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12264 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12265 if test -n "$orig_target_objcopy"; then
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12267 $as_echo "$orig_target_objcopy" >&6; }
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12270 $as_echo "no" >&6; }
12275 if test "$GCC" = "yes"; then
12276 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12277 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12278 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12280 $as_echo_n "checking for $ac_word... " >&6; }
12281 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12282 $as_echo_n "(cached) " >&6
12284 case $orig_target_objcopy in
12286 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12290 for as_dir
in `dirname $aros_gcc_objcopy`
12293 test -z "$as_dir" && as_dir
=.
12294 for ac_exec_ext
in '' $ac_executable_extensions; do
12295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12296 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12307 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12308 if test -n "$orig_target_objcopy"; then
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12310 $as_echo "$orig_target_objcopy" >&6; }
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12313 $as_echo "no" >&6; }
12318 if test "$orig_target_objcopy" = ""; then
12319 # Extract the first word of "objcopy", so it can be a program name with args.
12320 set dummy objcopy
; ac_word
=$2
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12322 $as_echo_n "checking for $ac_word... " >&6; }
12323 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12324 $as_echo_n "(cached) " >&6
12326 case $orig_target_objcopy in
12328 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12332 for as_dir
in $PATH
12335 test -z "$as_dir" && as_dir
=.
12336 for ac_exec_ext
in '' $ac_executable_extensions; do
12337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12338 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12349 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12350 if test -n "$orig_target_objcopy"; then
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12352 $as_echo "$orig_target_objcopy" >&6; }
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12355 $as_echo "no" >&6; }
12362 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12363 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12365 $as_echo_n "checking for $ac_word... " >&6; }
12366 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12367 $as_echo_n "(cached) " >&6
12369 case $orig_target_objcopy in
12371 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12375 for as_dir
in $PATH
12378 test -z "$as_dir" && as_dir
=.
12379 for ac_exec_ext
in '' $ac_executable_extensions; do
12380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12381 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12392 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12393 if test -n "$orig_target_objcopy"; then
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12395 $as_echo "$orig_target_objcopy" >&6; }
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12398 $as_echo "no" >&6; }
12404 if test "$orig_target_objcopy" = ""; then
12405 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12408 if test "${aros_tool_prefix}objdump" = ""; then
12409 if test "$cross_compiling" = "yes" ; then
12410 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12411 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12413 $as_echo_n "checking for $ac_word... " >&6; }
12414 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12415 $as_echo_n "(cached) " >&6
12417 case $orig_target_objdump in
12419 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12423 for as_dir
in $PATH
12426 test -z "$as_dir" && as_dir
=.
12427 for ac_exec_ext
in '' $ac_executable_extensions; do
12428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12429 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12440 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12441 if test -n "$orig_target_objdump"; then
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12443 $as_echo "$orig_target_objdump" >&6; }
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12446 $as_echo "no" >&6; }
12451 if test "$GCC" = "yes"; then
12452 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12453 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12454 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12456 $as_echo_n "checking for $ac_word... " >&6; }
12457 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12458 $as_echo_n "(cached) " >&6
12460 case $orig_target_objdump in
12462 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12466 for as_dir
in `dirname $aros_gcc_objdump`
12469 test -z "$as_dir" && as_dir
=.
12470 for ac_exec_ext
in '' $ac_executable_extensions; do
12471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12472 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12483 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12484 if test -n "$orig_target_objdump"; then
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12486 $as_echo "$orig_target_objdump" >&6; }
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12489 $as_echo "no" >&6; }
12494 if test "$orig_target_objdump" = ""; then
12495 # Extract the first word of "objdump", so it can be a program name with args.
12496 set dummy objdump
; ac_word
=$2
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12498 $as_echo_n "checking for $ac_word... " >&6; }
12499 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12500 $as_echo_n "(cached) " >&6
12502 case $orig_target_objdump in
12504 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12508 for as_dir
in $PATH
12511 test -z "$as_dir" && as_dir
=.
12512 for ac_exec_ext
in '' $ac_executable_extensions; do
12513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12514 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12525 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12526 if test -n "$orig_target_objdump"; then
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12528 $as_echo "$orig_target_objdump" >&6; }
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12531 $as_echo "no" >&6; }
12538 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12539 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12541 $as_echo_n "checking for $ac_word... " >&6; }
12542 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12543 $as_echo_n "(cached) " >&6
12545 case $orig_target_objdump in
12547 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12551 for as_dir
in $PATH
12554 test -z "$as_dir" && as_dir
=.
12555 for ac_exec_ext
in '' $ac_executable_extensions; do
12556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12557 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12568 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12569 if test -n "$orig_target_objdump"; then
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12571 $as_echo "$orig_target_objdump" >&6; }
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12574 $as_echo "no" >&6; }
12580 if test "$orig_target_objdump" = ""; then
12581 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12585 if test "$kernel_tool_prefix" = "none" ; then
12586 # No kernel tools specified
12587 # Assume target tools == kernel tools with ELF wrapper
12588 aros_kernel_cc
=$orig_target_cc
12589 aros_kernel_cxx
=$orig_target_cxx
12590 aros_kernel_cpp
=$orig_target_cpp
12591 aros_kernel_ld
=$orig_target_ld
12592 aros_kernel_as
=$orig_target_as
12593 aros_kernel_ar
=$orig_target_ar
12594 aros_kernel_ranlib
=$orig_target_ranlib
12595 aros_kernel_nm
=$orig_target_nm
12596 aros_kernel_strip
=$orig_target_strip
12597 aros_kernel_objcopy
=$orig_target_objcopy
12598 aros_kernel_objdump
=$orig_target_objdump
12599 use_kernel_cc_wrapper
=yes
12602 # At this point, all aros_kernel_* and aros_target_*
12603 # tools should be set up correctly
12605 CC
="$aros_kernel_cc $kernel_tool_flags"
12606 CPP
="$aros_kernel_cpp"
12608 #-----------------------------------------------------------------------------
12610 # Disable pointer-signedness warnings if the compiler recognises the option
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12613 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12614 save_cflags
="$CFLAGS"
12615 if test "$crosstools" != "yes" ; then
12616 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12628 if ac_fn_c_try_compile
"$LINENO"; then :
12629 use_no_sign_warning
="yes"
12631 use_no_sign_warning
="no"
12633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12635 # we do know it is supported for the smallest version of gcc we are going to build
12636 # we assume it's also supported by later versions
12637 use_no_sign_warning
=yes
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12640 $as_echo "$use_no_sign_warning" >&6; }
12641 if test "x-$use_no_sign_warning" = "x-yes" ; then
12642 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12644 CFLAGS
="$save_cflags"
12646 #-----------------------------------------------------------------------------
12648 # Find all the tools we need to compile. This could be cross-compiling
12649 # though! If that is the case we use the GNU form of the target and
12650 # simply add this to the front of the binary name. This is rather simple,
12651 # but it should work under most circumstances.
12653 # The default tools are to use the same as the host, but only if the
12654 # host and target CPU are the same. With GCC this is normally enough.
12658 aros_shared_ld
="$aros_host_ld"
12660 aros_target_mkdep
="$aros_host_mkdep"
12662 # The default tools executables to be linked to.
12663 if test "$rescomp" != ""; then
12664 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12665 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12667 $as_echo_n "checking for $ac_word... " >&6; }
12668 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12669 $as_echo_n "(cached) " >&6
12671 case $aros_kernel_rescomp in
12673 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12677 for as_dir
in $PATH
12680 test -z "$as_dir" && as_dir
=.
12681 for ac_exec_ext
in '' $ac_executable_extensions; do
12682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12683 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12694 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12695 if test -n "$aros_kernel_rescomp"; then
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12697 $as_echo "$aros_kernel_rescomp" >&6; }
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12700 $as_echo "no" >&6; }
12704 if test "$aros_kernel_rescomp" = ""; then
12705 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12709 # Set up the sources for the symlink farm
12710 if test "$crosstools" = "yes"; then
12711 crosstools_target
=tools-crosstools
12714 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12715 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12718 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12719 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12720 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12721 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12722 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12723 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12724 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12726 # aros_cc_pre is a variable that is added to the front of the compiler name
12727 # in the generated aros-gcc shell script. We need this to enable the cache
12728 # to work across cleaned builds. Also, support DISTCC using the correct
12729 # environment variable.
12732 if test "x${DISTCC}" != "x" ; then
12733 if test "x${CCACHE}" != "x" ; then
12734 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12736 aros_cc_pre
="${DISTCC} "
12739 if test "x${CCACHE}" != "x" ; then
12740 aros_cc_pre
="${CCACHE} "
12744 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12746 aros_target_nostdinc_cflags
=-nostdinc
12748 aros_target_nostartup_ldflags
=-nostartfiles
12750 aros_target_nix_ldflags
=-nix
12752 aros_target_detach_ldflags
=-detach
12754 aros_target_nostdlib_ldflags
=-nostdlib
12758 if test "$crosstools" != "yes"; then
12759 if test "$GCC" = "yes"; then
12760 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12763 # We do not know which gcc version we are going to build and what we need to know
12764 # here is different for different versions so this will be set later during the
12765 # build of crosstools.
12766 aros_target_cc_path
=@aros_target_cc_path@
12768 aros_target_cpp
="${prefix}cpp"
12769 aros_target_cc
="${prefix}gcc"
12770 aros_target_cxx
="${prefix}g++"
12771 aros_target_as
="${prefix}as"
12772 aros_target_ld
="${prefix}ld"
12773 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12774 aros_target_objcopy
="${prefix}objcopy"
12775 aros_target_objdump
="${prefix}objdump"
12776 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12777 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12778 aros_target_strip
="${prefix}strip"
12779 aros_plain_nm
="${prefix}nm"
12780 aros_plain_ar
="${prefix}ar"
12782 # Check whether --enable-includes was given.
12783 if test "${enable_includes+set}" = set; then :
12784 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12786 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
12790 if test "$aros_kernel_includes" = ""; then
12791 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12792 aros_kernel_includes
="-isystem $aros_target_incl"
12796 if test "$aros_kernel_includes" != "" ; then
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12798 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12799 if test "$aros_kernel_cc_includes" = "" ; then
12800 # Try to guess where the directory is.
12801 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12802 if test -d $aros_kernel_cc_includes; then
12803 # Check if there is also an include-fixed directory and add it
12804 # to kernel compiler's include path as it may contain some of
12805 # the headers we need.
12806 if test -d "$aros_kernel_cc_includes"-fixed; then
12807 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12809 # Check for specific includes directory. Neede for Ubuntu 11.10
12810 if test -d "/usr/include/i386-linux-gnu"; then
12811 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12814 # The directory doesn't exist, we need to do some more work.
12815 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12817 # These are the headers we're looking for.
12818 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12819 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12823 for h
in $headers; do
12824 # Which other headers are needed by each of the above?
12825 deps
=$
(echo "#include <$h>" | \
12826 $aros_kernel_cc -E -M - 2>/dev
/null | \
12827 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12829 # Copy all the needed headers to a directory beneath gendir.
12832 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12833 sed -n "s,^.*/include\(/.*\),\1,p")
12834 ! test -d $dir && mkdir
-p $dir
12835 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12841 $as_echo "$aros_kernel_cc_includes" >&6; }
12842 # Adding -nostdinc to kernel includes as they are always used together.
12843 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12846 if test "$crosstools" != "yes"; then
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12848 $as_echo_n "checking for the target compiler's include path... " >&6; }
12849 if test "$aros_target_cc_includes" = "" ; then
12850 #try to guess where the directory is
12851 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12852 if ! test -d $aros_target_cc_includes; then
12853 #the directory doesn't exist, we need to do some more work
12854 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12856 #these are the headers we're looking for
12857 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12858 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12862 for h
in $headers; do
12863 #which other headers each of the above headers needs?
12864 deps
=$
(echo "#include <$h>" | \
12865 $orig_target_cc -E -M - 2>/dev
/null | \
12866 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12868 #copy all the needed headers to a directory beneath gendir
12871 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
12872 sed -n "s,^.*/include\(/.*\),\1,p")
12873 ! test -d $dir && mkdir
-p $dir
12874 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
12880 $as_echo "$aros_target_cc_includes" >&6; }
12882 # We do not know which gcc version we are going to build and what we need to know
12883 # here is different for different versions so this will be set later during the
12884 # build of crosstools.
12885 aros_target_cc_includes
=@aros_target_cc_includes@
12889 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
12890 # On GCC >= 4.0 -iquote should be used
12894 save_cflags
="$CFLAGS"
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12897 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12898 if test "x-$crosstools" != "x-yes"; then
12899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12900 /* end confdefs.h. */
12910 if ac_fn_c_try_compile
"$LINENO"; then :
12915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12917 # we do know it is supported for the smallest version of gcc we are going to build
12918 # we assume it's also supported by later versions
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12922 $as_echo "$has_iquote" >&6; }
12923 if test "x-$has_iquote" = "x-yes" ; then
12924 host_cflags_iquote
=-iquote
12925 host_cflags_iquote_end
=
12927 host_cflags_iquote
=-I
12928 host_cflags_iquote_end
=-I-
12930 kernel_cflags_iquote
=$host_cflags_iquote
12931 kernel_cflags_iquote_end
=$host_cflags_iquote_end
12932 if test "x-$cross_compiling" = "x-yes"; then
12933 CC
="$aros_kernel_cc"
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
12935 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
12936 if test "x-$crosstools" != "x-yes"; then
12937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12938 /* end confdefs.h. */
12948 if ac_fn_c_try_compile
"$LINENO"; then :
12949 use_no_stack_protector
="yes"
12951 use_no_stack_protector
="no"
12953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12955 # we do know it is supported for the smallest version of gcc we are going to build
12956 # we assume it's also supported by later versions
12957 use_no_stack_protector
=yes
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
12960 $as_echo "$use_no_stack_protector" >&6; }
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12962 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12963 if test "x-$crosstools" != "x-yes"; then
12964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12965 /* end confdefs.h. */
12975 if ac_fn_c_try_compile
"$LINENO"; then :
12980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12982 # we do know it is supported for the smallest version of gcc we are going to build
12983 # we assume it's also supported by later versions
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12987 $as_echo "$has_iquote" >&6; }
12988 if test "x-$has_iquote" = "x-yes" ; then
12989 kernel_cflags_iquote
=-iquote
12990 kernel_cflags_iquote_end
=
12992 kernel_cflags_iquote
=-I
12993 kernel_cflags_iquote_end
=-I-
12996 aros_cflags_iquote
=$kernel_cflags_iquote
12997 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
12998 if test "$orig_target_cc" != "$aros_kernel_cc"; then
12999 CC
="$orig_target_cc"
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13001 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13002 if test "x-$crosstools" != "x-yes"; then
13003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13004 /* end confdefs.h. */
13014 if ac_fn_c_try_compile
"$LINENO"; then :
13019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13021 # we do know it is supported for the smallest version of gcc we are going to build
13022 # we assume it's also supported by later versions
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13026 $as_echo "$has_iquote" >&6; }
13027 if test "x-$has_iquote" = "x-yes" ; then
13028 aros_cflags_iquote
=-iquote
13029 aros_cflags_iquote_end
=
13031 aros_cflags_iquote
=-I
13032 aros_cflags_iquote_end
=-I-
13035 if test "x-$use_no_stack_protector" = "x-yes" ; then
13036 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13040 #-----------------------------------------------------------------------------
13042 # Check if the target compiler supports some options used for delinting:
13043 # -Wunused-but-set-variable
13046 # -Wstrict-overflow
13047 # -Wformat-security
13049 if test "x-$crosstools" != "x-yes"; then
13050 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13051 CC
="$orig_target_cc"
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13054 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13055 CFLAGS
=-Wunused-but-set-variable
13056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */
13067 if ac_fn_c_try_compile
"$LINENO"; then :
13068 aros_unused_but_set_variable
="yes"
13070 aros_unused_but_set_variable
="no"
13072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13074 $as_echo "$aros_unused_but_set_variable" >&6; }
13075 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13076 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13080 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13081 CFLAGS
=-Warray-bounds
13082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13093 if ac_fn_c_try_compile
"$LINENO"; then :
13094 aros_array_bounds
="yes"
13096 aros_array_bounds
="no"
13098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13100 $as_echo "$aros_array_bounds" >&6; }
13101 if test "x-$aros_array_bounds" = "x-yes" ; then
13102 aros_cflags_array_bounds
=-Wno-array-bounds
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13106 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13107 CFLAGS
=-Wenum-compare
13108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13109 /* end confdefs.h. */
13119 if ac_fn_c_try_compile
"$LINENO"; then :
13120 aros_enum_compare
="yes"
13122 aros_enum_compare
="no"
13124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13126 $as_echo "$aros_enum_compare" >&6; }
13127 if test "x-$aros_enum_compare" = "x-yes" ; then
13128 aros_cflags_enum_compare
=-Wno-enum-compare
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13132 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13133 CFLAGS
=-Wstrict-overflow
13134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13135 /* end confdefs.h. */
13145 if ac_fn_c_try_compile
"$LINENO"; then :
13146 aros_strict_overflow
="yes"
13148 aros_strict_overflow
="no"
13150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13152 $as_echo "$aros_strict_overflow" >&6; }
13153 if test "x-$aros_strict_overflow" = "x-yes" ; then
13154 aros_cflags_strict_overflow
=-Wno-strict-overflow
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13158 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13159 CFLAGS
=-Wformat-security
13160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13161 /* end confdefs.h. */
13171 if ac_fn_c_try_compile
"$LINENO"; then :
13172 aros_format_security
="yes"
13174 aros_format_security
="no"
13176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13178 $as_echo "$aros_format_security" >&6; }
13179 if test "x-$aros_format_security" = "x-yes" ; then
13180 aros_cflags_format_security
=-Wno-format-security
13183 # We do not know which gcc version we are going to build and what we need to know
13184 # here is different for different versions so this will be set later during the
13185 # build of crosstools.
13186 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13187 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13188 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13189 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13190 aros_cflags_format_security
=@aros_cflags_format_security@
13193 #-----------------------------------------------------------------------------
13195 # Check if we can explicitly choose older version of symbol hashing
13197 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13198 CC
="$aros_kernel_cc"
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13200 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13212 if ac_fn_c_try_link
"$LINENO"; then :
13213 use_hash_style
="yes"
13215 use_hash_style
="no"
13217 rm -f core conftest.err conftest.
$ac_objext \
13218 conftest
$ac_exeext conftest.
$ac_ext
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13220 $as_echo "$use_hash_style" >&6; }
13221 if test "x-$use_hash_style" = "x-yes" ; then
13222 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13225 CFLAGS
="$save_cflags"
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13236 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13238 # Check whether --with-resolution was given.
13239 if test "${with_resolution+set}" = set; then :
13240 withval
=$with_resolution; resolution
=$withval
13245 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13246 if test "$resolution" = "yes" ; then
13249 if test "$resolution" = "no" ; then
13252 if test "$resolution" != "none" ; then
13253 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13254 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13255 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13258 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13259 aros_cv_default_wbwidth
=$aros_default_wbwidth
13260 aros_cv_default_wbheight
=$aros_default_wbheight
13261 aros_cv_default_wbdepth
=$aros_default_wbdepth
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13264 $as_echo_n "checking if serial debug is enabled... " >&6; }
13266 # Check whether --with-serial-debug was given.
13267 if test "${with_serial_debug+set}" = set; then :
13268 withval
=$with_serial_debug; serial_debug
=$withval
13273 if test "$aros_serial_debug" = 0 ; then
13274 serial_debug_forced
=""
13275 if test "$serial_debug" = "yes" ; then
13278 if test "$serial_debug" = "no" ; then
13279 serial_debug
="none"
13282 serial_debug_forced
="(forced)"
13283 serial_debug
=$aros_serial_debug
13285 if test "$serial_debug" != "none" ; then
13286 aros_serial_debug
=$serial_debug
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13288 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13291 $as_echo "no" >&6; }
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13295 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13296 # Check whether --enable-palm_debug_hack was given.
13297 if test "${enable_palm_debug_hack+set}" = set; then :
13298 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13300 palm_debug_hack
="no"
13303 if test "$palm_debug_hack" = "yes" ; then
13304 aros_palm_debug_hack
="1"
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13307 $as_echo "$palm_debug_hack" >&6; }
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13310 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13311 # Check whether --enable-nesting_supervisor was given.
13312 if test "${enable_nesting_supervisor+set}" = set; then :
13313 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13315 nesting_supervisor
="no"
13318 if test "$nesting_supervisor" = "yes" ; then
13319 aros_nesting_supervisor
="1"
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13322 $as_echo "$nesting_supervisor" >&6; }
13324 if test "$aros_enable_mmu" = "" ; then
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13326 $as_echo_n "checking if MMU support is enabled... " >&6; }
13327 # Check whether --enable-mmu was given.
13328 if test "${enable_mmu+set}" = set; then :
13329 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13331 aros_enable_mmu
="yes"
13334 if test "$aros_enable_mmu" = "" ; then
13335 aros_enable_mmu
="yes"
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13338 $as_echo "$aros_enable_mmu" >&6; }
13340 if test "$aros_enable_mmu" = "no" ; then
13341 aros_enable_mmu
="0"
13343 aros_enable_mmu
="1"
13347 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13349 if test "x-$need_dlopen" != "x-no" ; then
13350 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13351 if test "x$ac_cv_func_dlopen" = xyes
; then :
13357 if test "x-$have_dl" = "x-no" ; then
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13359 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13360 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13361 $as_echo_n "(cached) " >&6
13363 ac_check_lib_save_LIBS
=$LIBS
13365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13366 /* end confdefs.h. */
13368 /* Override any GCC internal prototype to avoid an error.
13369 Use char because int might match the return type of a GCC
13370 builtin and then its argument prototype would still apply. */
13383 if ac_fn_c_try_link
"$LINENO"; then :
13384 ac_cv_lib_dl_dlopen
=yes
13386 ac_cv_lib_dl_dlopen
=no
13388 rm -f core conftest.err conftest.
$ac_objext \
13389 conftest
$ac_exeext conftest.
$ac_ext
13390 LIBS
=$ac_check_lib_save_LIBS
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13393 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13394 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13396 aros_host_ldflags
="$aros_host_ldflags -ldl"
13402 if test "x-$have_dl" = "x-no" ; then
13403 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13408 # Check whether --enable-x11_hidd was given.
13409 if test "${enable_x11_hidd+set}" = set; then :
13410 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13412 x11_hidd
="$need_x11"
13415 case "x-$x11_hidd" in
13416 x-yes|x-no|x-auto
) ;;
13417 *) x11_hidd
="$need_x11" ;;
13422 if test "x-$x11_hidd" != "x-no" ; then
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13425 $as_echo_n "checking for X... " >&6; }
13428 # Check whether --with-x was given.
13429 if test "${with_x+set}" = set; then :
13433 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13434 if test "x$with_x" = xno
; then
13435 # The user explicitly disabled X.
13438 case $x_includes,$x_libraries in #(
13439 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13440 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13441 $as_echo_n "(cached) " >&6
13443 # One or both of the vars are not set, and there is no cached value.
13444 ac_x_includes
=no ac_x_libraries
=no
13445 rm -f -r conftest.dir
13446 if mkdir conftest.dir
; then
13448 cat >Imakefile
<<'_ACEOF'
13450 @echo incroot='${INCROOT}'
13452 @echo usrlibdir='${USRLIBDIR}'
13454 @echo libdir='${LIBDIR}'
13456 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13457 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13458 for ac_var
in incroot usrlibdir libdir
; do
13459 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13461 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13462 for ac_extension
in a so sl dylib la dll
; do
13463 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13464 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13465 ac_im_usrlibdir
=$ac_im_libdir; break
13468 # Screen out bogus values from the imake configuration. They are
13469 # bogus both because they are the default anyway, and because
13470 # using them would break gcc on systems where it needs fixed includes.
13471 case $ac_im_incroot in
13472 /usr
/include
) ac_x_includes
= ;;
13473 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13475 case $ac_im_usrlibdir in
13476 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13477 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13481 rm -f -r conftest.dir
13484 # Standard set of common directories for X headers.
13485 # Check X11 before X11Rn because it is often a symlink to the current release.
13499 /usr/local/X11/include
13500 /usr/local/X11R7/include
13501 /usr/local/X11R6/include
13502 /usr/local/X11R5/include
13503 /usr/local/X11R4/include
13505 /usr/local/include/X11
13506 /usr/local/include/X11R7
13507 /usr/local/include/X11R6
13508 /usr/local/include/X11R5
13509 /usr/local/include/X11R4
13513 /usr/XFree86/include/X11
13517 /usr/unsupported/include
13518 /usr/athena/include
13519 /usr/local/x11r5/include
13520 /usr/lpp/Xamples/include
13522 /usr/openwin/include
13523 /usr/openwin/share/include'
13525 if test "$ac_x_includes" = no
; then
13526 # Guess where to find include files, by looking for Xlib.h.
13527 # First, try using that file with no special directory specified.
13528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13529 /* end confdefs.h. */
13530 #include <X11/Xlib.h>
13532 if ac_fn_c_try_cpp
"$LINENO"; then :
13533 # We can compile using X headers with no special include directory.
13536 for ac_dir
in $ac_x_header_dirs; do
13537 if test -r "$ac_dir/X11/Xlib.h"; then
13538 ac_x_includes
=$ac_dir
13543 rm -f conftest.err conftest.i conftest.
$ac_ext
13544 fi # $ac_x_includes = no
13546 if test "$ac_x_libraries" = no
; then
13547 # Check for the libraries.
13548 # See if we find them without any special options.
13549 # Don't add to $LIBS permanently.
13552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13553 /* end confdefs.h. */
13554 #include <X11/Xlib.h>
13563 if ac_fn_c_try_link
"$LINENO"; then :
13565 # We can link X programs with no special library path.
13569 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13571 # Don't even attempt the hair of trying to link an X program!
13572 for ac_extension
in a so sl dylib la dll
; do
13573 if test -r "$ac_dir/libX11.$ac_extension"; then
13574 ac_x_libraries
=$ac_dir
13580 rm -f core conftest.err conftest.
$ac_objext \
13581 conftest
$ac_exeext conftest.
$ac_ext
13582 fi # $ac_x_libraries = no
13584 case $ac_x_includes,$ac_x_libraries in #(
13585 no
,* |
*,no |
*\'*)
13586 # Didn't find X, or a directory has "'" in its name.
13587 ac_cv_have_x
="have_x=no";; #(
13589 # Record where we found X for the cache.
13590 ac_cv_have_x
="have_x=yes\
13591 ac_x_includes='$ac_x_includes'\
13592 ac_x_libraries='$ac_x_libraries'"
13598 eval "$ac_cv_have_x"
13601 if test "$have_x" != yes; then
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13603 $as_echo "$have_x" >&6; }
13606 # If each of the values was on the command line, it overrides each guess.
13607 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13608 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13609 # Update the cache value to reflect the command line values.
13610 ac_cv_have_x
="have_x=yes\
13611 ac_x_includes='$x_includes'\
13612 ac_x_libraries='$x_libraries'"
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13614 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13619 for path
in $x_libraries
13621 x_cflags
="$x_cflags -L$path"
13624 for path
in $x_includes
13626 x_cflags
="$x_cflags -I$path"
13629 if test "x-$no_x" = "x-yes" ; then
13631 if test "x-$x11_hidd" != "x-auto" ; then
13632 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13636 x11_hidd_target
=kernel-x11gfx-kobj
13639 # Check whether --enable-x11_shm was given.
13640 if test "${enable_x11_shm+set}" = set; then :
13641 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13643 x11_hidd_shm
="auto"
13646 case "x-$x11_hidd_shm" in
13647 x-yes|x-no|x-auto
) ;;
13648 *) x11_hidd_shm
="auto" ;;
13653 if test "x-$x11_hidd_shm" != "x-no" ; then
13655 for ac_header
in sys
/ipc.h
13657 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13658 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13659 cat >>confdefs.h
<<_ACEOF
13660 #define HAVE_SYS_IPC_H 1
13667 for ac_header
in sys
/shm.h
13669 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13670 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13671 cat >>confdefs.h
<<_ACEOF
13672 #define HAVE_SYS_SHM_H 1
13680 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13682 save_cflags
="$CFLAGS"
13683 CFLAGS
="$CFLAGS $x_cflags"
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13685 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13686 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13687 $as_echo_n "(cached) " >&6
13689 ac_check_lib_save_LIBS
=$LIBS
13690 LIBS
="-lXext $LIBS"
13691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13692 /* end confdefs.h. */
13694 /* Override any GCC internal prototype to avoid an error.
13695 Use char because int might match the return type of a GCC
13696 builtin and then its argument prototype would still apply. */
13700 char XShmQueryExtension ();
13704 return XShmQueryExtension ();
13709 if ac_fn_c_try_link
"$LINENO"; then :
13710 ac_cv_lib_Xext_XShmQueryExtension
=yes
13712 ac_cv_lib_Xext_XShmQueryExtension
=no
13714 rm -f core conftest.err conftest.
$ac_objext \
13715 conftest
$ac_exeext conftest.
$ac_ext
13716 LIBS
=$ac_check_lib_save_LIBS
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13719 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13720 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13724 CFLAGS
="$save_cflags"
13728 if test "x-$have_xshm" = "x-yes" ; then
13729 DO_XSHM_SUPPORT
="1"
13730 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13731 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13733 DO_XSHM_SUPPORT
="0"
13737 # Check whether --enable-x11_vidmode was given.
13738 if test "${enable_x11_vidmode+set}" = set; then :
13739 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13741 x11_hidd_vidmode
="auto"
13744 case "x-$x11_hidd_vidmode" in
13745 x-yes|x-no|x-auto
) ;;
13746 *) x11_hidd_vidmode
="auto" ;;
13751 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13753 save_cflags
="$CFLAGS"
13754 CFLAGS
="$CFLAGS $x_cflags"
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13756 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13757 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13758 $as_echo_n "(cached) " >&6
13760 ac_check_lib_save_LIBS
=$LIBS
13761 LIBS
="-lXxf86vm $LIBS"
13762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13763 /* end confdefs.h. */
13765 /* Override any GCC internal prototype to avoid an error.
13766 Use char because int might match the return type of a GCC
13767 builtin and then its argument prototype would still apply. */
13771 char XF86VidModeQueryExtension ();
13775 return XF86VidModeQueryExtension ();
13780 if ac_fn_c_try_link
"$LINENO"; then :
13781 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13783 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13785 rm -f core conftest.err conftest.
$ac_objext \
13786 conftest
$ac_exeext conftest.
$ac_ext
13787 LIBS
=$ac_check_lib_save_LIBS
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13790 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13791 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13795 CFLAGS
="$save_cflags"
13798 if test "x-$have_vidmode" = "x-yes" ; then
13799 DO_VIDMODE_SUPPORT
="1"
13800 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13801 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13803 DO_VIDMODE_SUPPORT
="0"
13807 aros_host_x11_includes
=$x_includes
13808 aros_host_x11_libdirs
=$x_libraries
13812 # Check whether --enable-sdl_hidd was given.
13813 if test "${enable_sdl_hidd+set}" = set; then :
13814 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13819 case "x-$sdl_hidd" in
13820 x-yes|x-no|x-auto
) ;;
13821 *) sdl_hidd
="auto" ;;
13824 if test "x-$sdl_hidd" != "x-no" ; then
13827 # Check whether --with-sdl-prefix was given.
13828 if test "${with_sdl_prefix+set}" = set; then :
13829 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13835 # Check whether --with-sdl-exec-prefix was given.
13836 if test "${with_sdl_exec_prefix+set}" = set; then :
13837 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13842 # Check whether --enable-sdltest was given.
13843 if test "${enable_sdltest+set}" = set; then :
13844 enableval
=$enable_sdltest;
13850 if test x
$sdl_exec_prefix != x
; then
13851 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
13852 if test x
${SDL_CONFIG+set} != xset
; then
13853 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
13856 if test x
$sdl_prefix != x
; then
13857 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
13858 if test x
${SDL_CONFIG+set} != xset
; then
13859 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
13863 as_save_PATH
="$PATH"
13864 if test "x$prefix" != xNONE
; then
13865 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
13867 # Extract the first word of "sdl-config", so it can be a program name with args.
13868 set dummy sdl-config
; ac_word
=$2
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13870 $as_echo_n "checking for $ac_word... " >&6; }
13871 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
13872 $as_echo_n "(cached) " >&6
13874 case $SDL_CONFIG in
13876 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
13879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13880 for as_dir
in $PATH
13883 test -z "$as_dir" && as_dir
=.
13884 for ac_exec_ext
in '' $ac_executable_extensions; do
13885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13886 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13894 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
13898 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
13899 if test -n "$SDL_CONFIG"; then
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
13901 $as_echo "$SDL_CONFIG" >&6; }
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13904 $as_echo "no" >&6; }
13908 PATH
="$as_save_PATH"
13909 min_sdl_version
=1.2.10
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
13911 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
13913 if test "$SDL_CONFIG" = "no" ; then
13916 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
13917 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
13919 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
13920 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13921 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
13922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13923 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
13924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13925 if test "x$enable_sdltest" = "xyes" ; then
13926 ac_save_CFLAGS
="$CFLAGS"
13927 ac_save_CXXFLAGS
="$CXXFLAGS"
13928 ac_save_LIBS
="$LIBS"
13929 CFLAGS
="$CFLAGS $SDL_CFLAGS"
13930 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
13931 LIBS
="$LIBS $SDL_LIBS"
13933 if test "$cross_compiling" = yes; then :
13934 echo $ac_n "cross compiling; assumed OK... $ac_c"
13936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13937 /* end confdefs.h. */
13940 #include <stdlib.h>
13941 #include <string.h>
13945 my_strdup (char *str)
13951 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
13952 strcpy (new_str, str);
13960 int main (int argc, char *argv[])
13962 int major, minor, micro;
13965 /* This hangs on some systems (?)
13966 system ("touch conf.sdltest");
13968 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
13970 /* HP/UX 9 (%@#!) writes to sscanf strings */
13971 tmp_version = my_strdup("$min_sdl_version");
13972 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
13973 printf("%s, bad version string\n", "$min_sdl_version");
13977 if (($sdl_major_version > major) ||
13978 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
13979 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
13985 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
13986 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
13987 printf("*** best to upgrade to the required version.\n");
13988 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
13989 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
13990 printf("*** config.cache before re-running configure\n");
13997 if ac_fn_c_try_run
"$LINENO"; then :
14002 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14003 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14006 CFLAGS
="$ac_save_CFLAGS"
14007 CXXFLAGS
="$ac_save_CXXFLAGS"
14008 LIBS
="$ac_save_LIBS"
14011 if test "x$no_sdl" = x
; then
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14013 $as_echo "yes" >&6; }
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14017 $as_echo "no" >&6; }
14018 if test "$SDL_CONFIG" = "no" ; then
14019 echo "*** The sdl-config script installed by SDL could not be found"
14020 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14021 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14022 echo "*** full path to sdl-config."
14024 if test -f conf.sdltest
; then
14027 echo "*** Could not run SDL test program, checking why..."
14028 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14029 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14030 LIBS
="$LIBS $SDL_LIBS"
14031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14032 /* end confdefs.h. */
14037 int main(int argc, char *argv[])
14040 #define main K_and_R_C_main
14050 if ac_fn_c_try_link
"$LINENO"; then :
14051 echo "*** The test program compiled, but did not run. This usually means"
14052 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14053 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14054 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14055 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14056 echo "*** is required on your system"
14058 echo "*** If you have an old version installed, it is best to remove it, although"
14059 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14061 echo "*** The test program failed to compile or link. See the file config.log for the"
14062 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14063 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14064 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14066 rm -f core conftest.err conftest.
$ac_objext \
14067 conftest
$ac_exeext conftest.
$ac_ext
14068 CFLAGS
="$ac_save_CFLAGS"
14069 CXXFLAGS
="$ac_save_CXXFLAGS"
14070 LIBS
="$ac_save_LIBS"
14082 if test "x-$have_sdl" != "x-yes" ; then
14084 if test "x-$sdl_hidd" != "x-auto" ; then
14085 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14089 sdl_hidd_target
=kernel-hidd-sdl
14090 aros_host_sdl_cflags
=SDL_CFLAGS
14091 aros_host_sdl_libs
=SDL_LIBS
14095 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14096 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14101 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14102 oss_library_target
=workbench-libs-oss-unix
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14108 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14109 # Check whether --enable-dbus was given.
14110 if test "${enable_dbus+set}" = set; then :
14111 enableval
=$enable_dbus; dbus
="yes"
14116 if test "$dbus" = "yes" ; then
14118 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14119 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14120 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14121 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14126 $as_echo "$dbus" >&6; }
14128 if test "$use_kernel_cc_wrapper" = "yes" ; then
14129 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14132 if test "${crosstools}" != "yes" ; then
14133 aros_target_toolchain
=no
14135 aros_target_toolchain
=yes
14151 # Compatability with other Amiga-like operation systems
14246 # Delinting target compiler flags
14270 # Native version related
14273 # Palm native version related
14276 # Unix/Hosted version related
14282 # Apple iOS related
14287 # ARM default GCC target related
14312 # Collect-aros stuff: "-ius" to ignore undefined symbols
14315 # C compiler related
14318 case "$aros_flavour" in
14319 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14320 aros_flavour
="emulation" ;;
14321 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14322 aros_flavour
="emulation" ;;
14323 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14324 aros_flavour
="standalone";;
14325 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14326 aros_flavour
="standalone";;
14327 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14328 aros_flavour
="native" ;;
14329 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14330 aros_flavour
="native" ;;
14331 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14332 aros_flavour
="linklib" ;;
14333 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14334 aros_flavour
="palmnative" ;;
14335 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14336 aros_flavour
="mac68knative" ;;
14337 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14338 aros_flavour
="ppcnative" ;;
14341 if test ! -d ${aros_inc_dir} ; then
14342 ${MKDIR} ${aros_inc_dir}
14344 if test ! -d ${aros_geninc_dir} ; then
14345 ${MKDIR} ${aros_geninc_dir}
14347 if test ! -d ${aros_hostcfg_dir} ; then
14348 ${MKDIR} ${aros_hostcfg_dir}
14350 if test ! -d ${aros_targetcfg_dir} ; then
14351 ${MKDIR} ${aros_targetcfg_dir}
14353 if test ! -d ${aros_tools_dir} ; then
14354 ${MKDIR} ${aros_tools_dir}
14356 if test ! -d ${aros_scripts_dir} ; then
14357 ${MKDIR} ${aros_scripts_dir}
14360 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14363 ac_config_commands
="$ac_config_commands compiler_executable"
14365 ac_config_commands
="$ac_config_commands genmf_executable"
14368 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"
14371 cat >confcache
<<\_ACEOF
14372 # This file is a shell script that caches the results of configure
14373 # tests run on this system so they can be shared between configure
14374 # scripts and configure runs, see configure's option --config-cache.
14375 # It is not useful on other systems. If it contains results you don't
14376 # want to keep, you may remove or edit it.
14378 # config.status only pays attention to the cache file if you give it
14379 # the --recheck option to rerun configure.
14381 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14382 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14383 # following values.
14387 # The following way of writing the cache mishandles newlines in values,
14388 # but we know of no workaround that is simple, portable, and efficient.
14389 # So, we kill variables containing newlines.
14390 # Ultrix sh set writes to stderr and can't be redirected directly,
14391 # and sets the high bit in the cache file unless we assign to the vars.
14393 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14394 eval ac_val
=\$
$ac_var
14398 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14399 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14402 _ | IFS | as_nl
) ;; #(
14403 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14404 *) { eval $ac_var=; unset $ac_var;} ;;
14410 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14411 *${as_nl}ac_space
=\
*)
14412 # `set' does not quote correctly, so add quotes: double-quote
14413 # substitution turns \\\\ into \\, and sed turns \\ into \.
14416 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14419 # `set' quotes correctly as required by POSIX, so do not add quotes.
14420 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14429 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14431 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14433 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14434 if test -w "$cache_file"; then
14435 if test "x$cache_file" != "x/dev/null"; then
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14437 $as_echo "$as_me: updating cache $cache_file" >&6;}
14438 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14439 cat confcache
>"$cache_file"
14441 case $cache_file in #(
14443 mv -f confcache
"$cache_file"$$
&&
14444 mv -f "$cache_file"$$
"$cache_file" ;; #(
14446 mv -f confcache
"$cache_file" ;;
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14452 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14457 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14458 # Let make expand exec_prefix.
14459 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14461 DEFS
=-DHAVE_CONFIG_H
14466 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14467 # 1. Remove the extension, and $U if already installed.
14468 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14469 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14470 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14471 # will be set to the directory where LIBOBJS objects are built.
14472 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14473 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14475 LIBOBJS
=$ac_libobjs
14477 LTLIBOBJS
=$ac_ltlibobjs
14481 : "${CONFIG_STATUS=./config.status}"
14483 ac_clean_files_save
=$ac_clean_files
14484 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14486 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14488 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14490 # Generated by $as_me.
14491 # Run this file to recreate the current configuration.
14492 # Compiler output produced by configure, useful for debugging
14493 # configure, is in config.log if it exists.
14496 ac_cs_recheck=false
14499 SHELL=\${CONFIG_SHELL-$SHELL}
14502 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14503 ## -------------------- ##
14504 ## M4sh Initialization. ##
14505 ## -------------------- ##
14507 # Be more Bourne compatible
14508 DUALCASE
=1; export DUALCASE
# for MKS sh
14509 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14512 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14513 # is contrary to our usage. Disable this feature.
14514 alias -g '${1+"$@"}'='"$@"'
14515 setopt NO_GLOB_SUBST
14517 case `(set -o) 2>/dev/null` in #(
14529 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14530 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14531 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14532 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14533 # Prefer a ksh shell builtin over an external printf program on Solaris,
14534 # but without wasting forks for bash or zsh.
14535 if test -z "$BASH_VERSION$ZSH_VERSION" \
14536 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14537 as_echo='print
-r --'
14538 as_echo_n='print
-rn --'
14539 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14540 as_echo='printf %s
\n'
14541 as_echo_n='printf %s
'
14543 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14544 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14545 as_echo_n='/usr
/ucb
/echo -n'
14547 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14548 as_echo_n_body='eval
14552 expr "X$arg" : "X\\(.*\\)$as_nl";
14553 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14555 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14557 export as_echo_n_body
14558 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14560 export as_echo_body
14561 as_echo='sh
-c $as_echo_body as_echo
'
14564 # The user is always right.
14565 if test "${PATH_SEPARATOR+set}" != set; then
14567 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14568 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14575 # We need space, tab and new line, in precisely that order. Quoting is
14576 # there to prevent editors from complaining about space-tab.
14577 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14578 # splitting by setting IFS to empty value.)
14581 # Find who we are. Look in the path if we contain no directory separator.
14584 *[\\/]* ) as_myself=$0 ;;
14585 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14586 for as_dir in $PATH
14589 test -z "$as_dir" && as_dir=.
14590 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14596 # We did not find ourselves, most probably we were run as `sh COMMAND'
14597 # in which case we are not to be found in the path.
14598 if test "x$as_myself" = x
; then
14601 if test ! -f "$as_myself"; then
14602 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14606 # Unset variables that we do not need and which cause bugs (e.g. in
14607 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14608 # suppresses any "Segmentation fault" message there. '((' could
14609 # trigger a bug in pdksh 5.2.14.
14610 for as_var
in BASH_ENV ENV MAIL MAILPATH
14611 do eval test x\
${$as_var+set} = xset \
14612 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14625 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14628 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14629 # ----------------------------------------
14630 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14631 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14632 # script with STATUS, using 1 if that was 0.
14635 as_status
=$1; test $as_status -eq 0 && as_status
=1
14637 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14638 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14640 $as_echo "$as_me: error: $2" >&2
14641 as_fn_exit
$as_status
14645 # as_fn_set_status STATUS
14646 # -----------------------
14647 # Set $? to STATUS, without forking.
14648 as_fn_set_status
()
14651 } # as_fn_set_status
14653 # as_fn_exit STATUS
14654 # -----------------
14655 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14659 as_fn_set_status
$1
14665 # Portably unset VAR.
14668 { eval $1=; unset $1;}
14670 as_unset
=as_fn_unset
14671 # as_fn_append VAR VALUE
14672 # ----------------------
14673 # Append the text in VALUE to the end of the definition contained in VAR. Take
14674 # advantage of any shell optimizations that allow amortized linear growth over
14675 # repeated appends, instead of the typical quadratic growth present in naive
14677 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14678 eval 'as_fn_append ()
14689 # as_fn_arith ARG...
14690 # ------------------
14691 # Perform arithmetic evaluation on the ARGs, and store the result in the
14692 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14693 # must be portable across $(()) and expr.
14694 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14695 eval 'as_fn_arith ()
14702 as_val
=`expr "$@" || test $? -eq 1`
14707 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14708 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14714 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14715 as_basename
=basename
14720 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14726 as_me
=`$as_basename -- "$0" ||
14727 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14728 X"$0" : 'X\(//\)$' \| \
14729 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14731 sed '/^.*\/\([^/][^/]*\)\/*$/{
14745 # Avoid depending upon Character Ranges.
14746 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14747 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14748 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14749 as_cr_digits
='0123456789'
14750 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14752 ECHO_C
= ECHO_N
= ECHO_T
=
14753 case `echo -n x` in #(((((
14755 case `echo 'xy\c'` in
14756 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14758 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14765 rm -f conf$$ conf$$.exe conf$$.
file
14766 if test -d conf$$.dir
; then
14767 rm -f conf$$.dir
/conf$$.
file
14770 mkdir conf$$.dir
2>/dev
/null
14772 if (echo >conf$$.
file) 2>/dev
/null
; then
14773 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14775 # ... but there are two gotchas:
14776 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14777 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14778 # In both cases, we have to default to `cp -p'.
14779 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14781 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14789 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14790 rmdir conf$$.dir
2>/dev
/null
14795 # Create "$as_dir" as a directory, including parents if necessary.
14800 -*) as_dir
=.
/$as_dir;;
14802 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14806 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14807 *) as_qdir
=$as_dir;;
14809 as_dirs
="'$as_qdir' $as_dirs"
14810 as_dir
=`$as_dirname -- "$as_dir" ||
14811 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14812 X"$as_dir" : 'X\(//\)[^/]' \| \
14813 X"$as_dir" : 'X\(//\)$' \| \
14814 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14815 $as_echo X"$as_dir" |
14816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14820 /^X\(\/\/\)[^/].*/{
14833 test -d "$as_dir" && break
14835 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14836 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14840 if mkdir
-p .
2>/dev
/null
; then
14841 as_mkdir_p
='mkdir -p "$as_dir"'
14843 test -d .
/-p && rmdir .
/-p
14847 if test -x / >/dev
/null
2>&1; then
14848 as_test_x
='test -x'
14850 if ls -dL / >/dev
/null
2>&1; then
14857 if test -d "$1"; then
14863 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14864 ???[sx]*):;;*)false;;esac;fi
14868 as_executable_p
=$as_test_x
14870 # Sed expression to map a string onto a valid CPP name.
14871 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14873 # Sed expression to map a string onto a valid variable name.
14874 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14878 ## ----------------------------------- ##
14879 ## Main body of $CONFIG_STATUS script. ##
14880 ## ----------------------------------- ##
14882 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14885 # Save the log message, to keep $0 and so on meaningful, and to
14886 # report actual input values of CONFIG_FILES etc. instead of their
14887 # values after options handling.
14889 This file was extended by $as_me, which was
14890 generated by GNU Autoconf 2.68. Invocation command line was
14892 CONFIG_FILES = $CONFIG_FILES
14893 CONFIG_HEADERS = $CONFIG_HEADERS
14894 CONFIG_LINKS = $CONFIG_LINKS
14895 CONFIG_COMMANDS = $CONFIG_COMMANDS
14898 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14903 case $ac_config_files in *"
14904 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14907 case $ac_config_headers in *"
14908 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14913 # Files that config.status was made for.
14914 config_files="$ac_config_files"
14915 config_headers="$ac_config_headers"
14916 config_commands="$ac_config_commands"
14920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14922 \`$as_me' instantiates files and other configuration actions
14923 from templates according to the current configuration. Unless the files
14924 and actions are specified as TAGs, all are instantiated by default.
14926 Usage: $0 [OPTION]... [TAG]...
14928 -h, --help print this help, then exit
14929 -V, --version print version number and configuration settings, then exit
14930 --config print configuration, then exit
14931 -q, --quiet, --silent
14932 do not print progress messages
14933 -d, --debug don't remove temporary files
14934 --recheck update $as_me by reconfiguring in the same conditions
14935 --file=FILE[:TEMPLATE]
14936 instantiate the configuration file FILE
14937 --header=FILE[:TEMPLATE]
14938 instantiate the configuration header FILE
14940 Configuration files:
14943 Configuration headers:
14946 Configuration commands:
14949 Report bugs to the package provider."
14952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14953 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14956 configured by $0, generated by GNU Autoconf 2.68,
14957 with options \\"\$ac_cs_config\\"
14959 Copyright (C) 2010 Free Software Foundation, Inc.
14960 This config.status script is free software; the Free Software Foundation
14961 gives unlimited permission to copy, distribute and modify it."
14965 test -n "\$AWK" || AWK=awk
14968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14969 # The default lists apply if the user does not specify any file.
14975 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14976 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14980 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14992 # Handling of the options.
14993 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14995 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14996 $as_echo "$ac_cs_version"; exit ;;
14997 --config |
--confi |
--conf |
--con |
--co |
--c )
14998 $as_echo "$ac_cs_config"; exit ;;
14999 --debug |
--debu |
--deb |
--de |
--d |
-d )
15001 --file |
--fil |
--fi |
--f )
15004 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15005 '') as_fn_error $?
"missing file argument" ;;
15007 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15008 ac_need_defaults
=false
;;
15009 --header |
--heade |
--head |
--hea )
15012 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15014 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15015 ac_need_defaults
=false
;;
15017 # Conflict between --help and --header
15018 as_fn_error $?
"ambiguous option: \`$1'
15019 Try \`$0 --help' for more information.";;
15020 --help |
--hel |
-h )
15021 $as_echo "$ac_cs_usage"; exit ;;
15022 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15023 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15026 # This is an error.
15027 -*) as_fn_error $?
"unrecognized option: \`$1'
15028 Try \`$0 --help' for more information." ;;
15030 *) as_fn_append ac_config_targets
" $1"
15031 ac_need_defaults
=false
;;
15037 ac_configure_extra_args
=
15039 if $ac_cs_silent; then
15041 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15046 if \$ac_cs_recheck; then
15047 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15049 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15050 CONFIG_SHELL='$SHELL'
15051 export CONFIG_SHELL
15056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15060 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15061 ## Running $as_me. ##
15067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15072 aros_host_exe_suffix=${aros_host_exe_suffix}
15073 aros_tools_dir=${aros_tools_dir}
15074 aros_target_cpu=${aros_target_cpu}
15075 aros_target_arch=${aros_target_arch}
15076 aros_target_suffix=${aros_target_suffix}
15077 orig_target_nm=${orig_target_nm}
15078 orig_target_as=${orig_target_as}
15079 orig_target_ar=${orig_target_ar}
15080 orig_target_ranlib=${orig_target_ranlib}
15081 orig_target_objdump=${orig_target_objdump}
15082 orig_target_objcopy=${orig_target_objcopy}
15083 orig_target_strip=${orig_target_strip}
15084 aros_kernel_ld=${aros_kernel_ld}
15087 aros_tools_dir=${aros_tools_dir}
15092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15094 # Handling of arguments.
15095 for ac_config_target
in $ac_config_targets
15097 case $ac_config_target in
15098 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15099 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15100 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15101 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15102 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15103 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15104 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15105 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15106 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15107 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15108 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15109 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15110 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15111 "${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" ;;
15112 "${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" ;;
15113 "${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" ;;
15114 "${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" ;;
15115 "${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" ;;
15116 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15117 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15118 "${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" ;;
15120 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15125 # If the user did not use the arguments to specify the items to instantiate,
15126 # then the envvar interface is used. Set only those that are not.
15127 # We use the long form for the default assignment because of an extremely
15128 # bizarre bug on SunOS 4.1.3.
15129 if $ac_need_defaults; then
15130 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15131 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15132 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15135 # Have a temporary directory for convenience. Make it in the build tree
15136 # simply because there is no reason against having it here, and in addition,
15137 # creating and moving files from /tmp can sometimes cause problems.
15138 # Hook for its removal unless debugging.
15139 # Note that there is a small window in which the directory will not be cleaned:
15140 # after its creation but before its name has been assigned to `$tmp'.
15144 trap 'exit_status=$?
15145 : "${ac_tmp:=$tmp}"
15146 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15148 trap 'as_fn_exit 1' 1 2 13 15
15150 # Create a (secure) tmp directory for tmp files.
15153 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15157 tmp
=.
/conf$$
-$RANDOM
15158 (umask 077 && mkdir
"$tmp")
15159 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15162 # Set up the scripts for CONFIG_FILES section.
15163 # No need to generate them if there are no CONFIG_FILES.
15164 # This happens for instance with `./config.status config.h'.
15165 if test -n "$CONFIG_FILES"; then
15168 ac_cr
=`echo X | tr X '\015'`
15169 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15170 # But we know of no other shell where ac_cr would be empty at this
15171 # point, so we can use a bashism as a fallback.
15172 if test "x$ac_cr" = x
; then
15173 eval ac_cr
=\$
\'\\r
\'
15175 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15176 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15179 ac_cs_awk_cr
=$ac_cr
15182 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15187 echo "cat >conf$$subs.awk <<_ACEOF" &&
15188 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15190 } >conf$$subs.sh ||
15191 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15192 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15194 for ac_last_try in false false false false false :; do
15195 . ./conf$$subs.sh ||
15196 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15198 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15199 if test $ac_delim_n = $ac_delim_num; then
15201 elif $ac_last_try; then
15202 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15204 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15207 rm -f conf$$subs.sh
15209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15210 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15214 s/^/S["/; s
/!.
*/"]=/
15224 s/\(.\{148\}\)..*/\1/
15226 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15231 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15238 s/\(.\{148\}\)..*/\1/
15240 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15244 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15249 ' <conf$$subs.awk | sed '
15254 ' >>$CONFIG_STATUS || ac_write_fail=1
15255 rm -f conf$$subs.awk
15256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15258 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15259 for (key in S) S_is_set[key] = 1
15265 nfields = split(line, field, "@
")
15267 len = length(field[1])
15268 for (i = 2; i < nfields; i++) {
15270 keylen = length(key)
15271 if (S_is_set[key]) {
15273 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15274 len += length(value) + length(field[++i])
15285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15286 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15287 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15290 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15291 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15294 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15295 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15296 # trailing colons and then remove the whole line if VPATH becomes empty
15297 # (actually we leave an empty line to preserve line numbers).
15298 if test "x
$srcdir" = x.; then
15299 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15318 fi # test -n "$CONFIG_FILES"
15320 # Set up the scripts for CONFIG_HEADERS section.
15321 # No need to generate them if there are no CONFIG_HEADERS.
15322 # This happens for instance with `./config.status Makefile'.
15323 if test -n "$CONFIG_HEADERS"; then
15324 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15328 # Transform confdefs.h into an awk script `defines.awk', embedded as
15329 # here-document in config.status, that substitutes the proper values into
15330 # config.h.in to produce config.h.
15332 # Create a delimiter string that does not exist in confdefs.h, to ease
15333 # handling of long lines.
15335 for ac_last_try in false false :; do
15336 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15337 if test -z "$ac_tt"; then
15339 elif $ac_last_try; then
15340 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15342 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15346 # For the awk script, D is an array of macro values keyed by name,
15347 # likewise P contains macro parameters if any. Preserve backslash
15348 # newline sequences.
15350 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15352 s/.\{148\}/&'"$ac_delim"'/g
15355 s/^[ ]*#[ ]*define[ ][ ]*/ /
15362 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15364 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15368 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15369 D["\
1"]=" \
3\\\\\\n
"\\/p
15371 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15376 s/.\{148\}/&'"$ac_delim"'/g
15381 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15384 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15386 ' <confdefs.h | sed '
15387 s/'"$ac_delim"'/"\\\
15388 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15391 for (key in D) D_is_set[key] = 1
15394 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15396 split(line, arg, " ")
15397 if (arg[1] == "#") {
15401 defundef
= substr
(arg
[1], 2)
15404 split(mac1
, mac2
, "(") #)
15406 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15407 if (D_is_set
[macro
]) {
15408 # Preserve the white space surrounding the "#".
15409 print prefix
"define", macro P
[macro
] D
[macro
]
15412 # Replace #undef with comments. This is necessary, for example,
15413 # in the case of _POSIX_SOURCE, which is predefined and required
15414 # on some systems where configure will not decide to define it.
15415 if (defundef
== "undef") {
15416 print
"/*", prefix defundef
, macro
, "*/"
15424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15425 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15426 fi # test -n "$CONFIG_HEADERS"
15429 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15434 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15436 case $ac_mode$ac_tag in
15438 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15439 :[FH
]-) ac_tag
=-:-;;
15440 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15457 -) ac_f
="$ac_tmp/stdin";;
15458 *) # Look for the file first in the build tree, then in the source tree
15459 # (if the path is not absolute). The absolute path cannot be DOS-style,
15460 # because $ac_f cannot contain `:'.
15464 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15466 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15468 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15469 as_fn_append ac_file_inputs
" '$ac_f'"
15472 # Let's still pretend it is `configure' which instantiates (i.e., don't
15473 # use $as_me), people would be surprised to read:
15474 # /* config.h. Generated by config.status. */
15475 configure_input
='Generated from '`
15476 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15478 if test x
"$ac_file" != x-
; then
15479 configure_input
="$ac_file. $configure_input"
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15481 $as_echo "$as_me: creating $ac_file" >&6;}
15483 # Neutralize special characters interpreted by sed in replacement strings.
15484 case $configure_input in #(
15485 *\
&* |
*\|
* |
*\\* )
15486 ac_sed_conf_input
=`$as_echo "$configure_input" |
15487 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15488 *) ac_sed_conf_input
=$configure_input;;
15492 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15493 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15498 ac_dir
=`$as_dirname -- "$ac_file" ||
15499 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15500 X"$ac_file" : 'X\(//\)[^/]' \| \
15501 X"$ac_file" : 'X\(//\)$' \| \
15502 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15503 $as_echo X"$ac_file" |
15504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15508 /^X\(\/\/\)[^/].*/{
15521 as_dir
="$ac_dir"; as_fn_mkdir_p
15525 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15527 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15528 # A ".." for each directory in $ac_dir_suffix.
15529 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15530 case $ac_top_builddir_sub in
15531 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15532 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15535 ac_abs_top_builddir
=$ac_pwd
15536 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15537 # for backward compatibility:
15538 ac_top_builddir
=$ac_top_build_prefix
15541 .
) # We are building in place.
15543 ac_top_srcdir
=$ac_top_builddir_sub
15544 ac_abs_top_srcdir
=$ac_pwd ;;
15545 [\\/]* | ?
:[\\/]* ) # Absolute name.
15546 ac_srcdir
=$srcdir$ac_dir_suffix;
15547 ac_top_srcdir
=$srcdir
15548 ac_abs_top_srcdir
=$srcdir ;;
15549 *) # Relative name.
15550 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15551 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15552 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15554 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15566 # If the template does not know about datarootdir, expand it.
15567 # FIXME: This hack should be removed a few years after 2.60.
15568 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15579 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15580 *datarootdir
*) ac_datarootdir_seen
=yes;;
15581 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15583 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15586 ac_datarootdir_hack='
15587 s&@datadir@&$datadir&g
15588 s&@docdir@&$docdir&g
15589 s&@infodir@&$infodir&g
15590 s&@localedir@&$localedir&g
15591 s&@mandir@&$mandir&g
15592 s&\\\${datarootdir}&$datarootdir&g' ;;
15596 # Neutralize VPATH when `$srcdir' = `.'.
15597 # Shell code in configure.ac might set extrasub.
15598 # FIXME: do we really want to maintain this feature?
15599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15600 ac_sed_extra="$ac_vpsub
15603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15605 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15606 s|@configure_input@|
$ac_sed_conf_input|
;t t
15607 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15608 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15609 s
&@srcdir@
&$ac_srcdir&;t t
15610 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15611 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15612 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15613 s
&@builddir@
&$ac_builddir&;t t
15614 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15615 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15616 $ac_datarootdir_hack
15618 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15619 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15621 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15622 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15623 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15624 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15626 which seems to be undefined. Please make sure it is defined" >&5
15627 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15628 which seems to be undefined. Please make sure it is defined" >&2;}
15630 rm -f "$ac_tmp/stdin"
15632 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15633 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15635 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15641 if test x"$ac_file" != x-; then
15643 $as_echo "/* $configure_input */" \
15644 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15645 } >"$ac_tmp/config.h" \
15646 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15647 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15649 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15652 mv "$ac_tmp/config.h" "$ac_file" \
15653 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15656 $as_echo "/* $configure_input */" \
15657 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15658 || as_fn_error $? "could not create -" "$LINENO" 5
15662 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15663 $as_echo "$as_me: executing $ac_file commands" >&6;}
15668 case $ac_file$ac_mode in
15669 "compiler_executable":C)
15670 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15672 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15673 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15677 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15679 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15680 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15681 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15682 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15683 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15684 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15685 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15687 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15689 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15697 ac_clean_files=$ac_clean_files_save
15699 test $ac_write_fail = 0 ||
15700 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15703 # configure is writing to config.log, and then calls config.status.
15704 # config.status does its own redirection, appending to config.log.
15705 # Unfortunately, on DOS this fails, as config.log is still kept open
15706 # by configure, so config.status won't be able to
write to it
; its
15707 # output is simply discarded. So we exec the FD to /dev/null,
15708 # effectively closing config.log, so it can be properly (re)opened and
15709 # appended to by config.status. When coming back to configure, we
15710 # need to make the FD available again.
15711 if test "$no_create" != yes; then
15713 ac_config_status_args
=
15714 test "$silent" = yes &&
15715 ac_config_status_args
="$ac_config_status_args --quiet"
15717 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15719 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15720 # would make configure fail if this is the last instruction.
15721 $ac_cs_success || as_fn_exit
1
15723 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15725 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15730 #XXX compatability...
15731 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15733 if test -n "$aros_shared_cflags" ; then
15734 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15735 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg