2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev
/null
; then :
181 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
186 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir
=.
193 for as_base
in sh bash ksh sh5
; do
194 # Try only shells that exist, to save several forks.
195 as_shell
=$as_dir/$as_base
196 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
198 CONFIG_SHELL
=$as_shell as_have_required
=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
207 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
209 CONFIG_SHELL
=$SHELL as_have_required
=yes
214 if test "x$CONFIG_SHELL" != x
; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
224 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status
=$1; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 ac_default_prefix
=/usr
/local
550 ac_config_libobj_dir
=.
557 # Identity of this package.
565 ac_unique_file
="mmakefile"
566 # Factoring default headers for most tests.
567 ac_includes_default
="\
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
579 # ifdef HAVE_STDLIB_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
603 ac_subst_vars
='LTLIBOBJS
605 ignore_undefined_symbols
621 aros_nesting_supervisor
626 aros_host_x11_libdirs
627 aros_host_x11_includes
631 aros_default_wbheight
637 aros_cflags_format_security
638 aros_cflags_strict_overflow
639 aros_cflags_enum_compare
640 aros_cflags_array_bounds
641 aros_cflags_unused_but_set_variable
642 crosstools_cxx_target
644 aros_target_strip_flags
651 aros_kernel_objcflags
670 aros_target_cc_includes
685 aros_target_bootloader
705 aros_amigaos_compliance
711 aros_target_toolchain
720 aros_cflags_iquote_end
722 kernel_cflags_iquote_end
724 host_cflags_iquote_end
726 aros_target_nostdlib_ldflags
727 aros_target_detach_ldflags
728 aros_target_nix_ldflags
729 aros_target_nostartup_ldflags
730 aros_target_nostdinc_cflags
847 program_transform_name
860 enable_option_checking
868 enable_target_variant
874 enable_amigaos_compliance
875 with_kernel_toolchain_prefix
876 with_elf_toolchain_prefix
879 with_aros_toolchain_install
891 enable_palm_debug_hack
892 enable_nesting_supervisor
904 ac_precious_vars
='build_alias
920 # Initialize some variables set by options.
922 ac_init_version
=false
923 ac_unrecognized_opts
=
925 # The variables have the same names as the options, with
926 # dashes changed to underlines.
934 program_transform_name
=s
,x
,x
,
942 # Installation directory options.
943 # These are left unexpanded so users can "make install exec_prefix=/foo"
944 # and all the variables that are supposed to be based on exec_prefix
945 # by default will actually change.
946 # Use braces instead of parens because sh, perl, etc. also accept them.
947 # (The list follows the same order as the GNU Coding Standards.)
948 bindir
='${exec_prefix}/bin'
949 sbindir
='${exec_prefix}/sbin'
950 libexecdir
='${exec_prefix}/libexec'
951 datarootdir
='${prefix}/share'
952 datadir
='${datarootdir}'
953 sysconfdir
='${prefix}/etc'
954 sharedstatedir
='${prefix}/com'
955 localstatedir
='${prefix}/var'
956 includedir
='${prefix}/include'
957 oldincludedir
='/usr/include'
958 docdir
='${datarootdir}/doc/${PACKAGE}'
959 infodir
='${datarootdir}/info'
964 libdir
='${exec_prefix}/lib'
965 localedir
='${datarootdir}/locale'
966 mandir
='${datarootdir}/man'
972 # If the previous option needs an argument, assign it.
973 if test -n "$ac_prev"; then
974 eval $ac_prev=\
$ac_option
980 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
985 # Accept the important Cygnus configure options, so we can diagnose typos.
987 case $ac_dashdash$ac_option in
991 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
993 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
996 -build |
--build |
--buil |
--bui |
--bu)
997 ac_prev
=build_alias
;;
998 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
999 build_alias
=$ac_optarg ;;
1001 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1002 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1003 ac_prev
=cache_file
;;
1004 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1005 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1006 cache_file
=$ac_optarg ;;
1008 --config-cache |
-C)
1009 cache_file
=config.cache
;;
1011 -datadir |
--datadir |
--datadi |
--datad)
1013 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1014 datadir
=$ac_optarg ;;
1016 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1017 |
--dataroo |
--dataro |
--datar)
1018 ac_prev
=datarootdir
;;
1019 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1020 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1021 datarootdir
=$ac_optarg ;;
1023 -disable-* |
--disable-*)
1024 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1027 as_fn_error $?
"invalid feature name: $ac_useropt"
1028 ac_useropt_orig
=$ac_useropt
1029 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1032 "enable_
$ac_useropt"
1034 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1035 ac_unrecognized_sep
=', ';;
1037 eval enable_
$ac_useropt=no
;;
1039 -docdir |
--docdir |
--docdi |
--doc |
--do)
1041 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1042 docdir
=$ac_optarg ;;
1044 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1046 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1047 dvidir
=$ac_optarg ;;
1049 -enable-* |
--enable-*)
1050 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1053 as_fn_error $?
"invalid feature name: $ac_useropt"
1054 ac_useropt_orig
=$ac_useropt
1055 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1056 case $ac_user_opts in
1058 "enable_
$ac_useropt"
1060 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1061 ac_unrecognized_sep
=', ';;
1063 eval enable_
$ac_useropt=\
$ac_optarg ;;
1065 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1066 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1067 |
--exec |
--exe |
--ex)
1068 ac_prev
=exec_prefix
;;
1069 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1070 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1071 |
--exec=* |
--exe=* |
--ex=*)
1072 exec_prefix
=$ac_optarg ;;
1074 -gas |
--gas |
--ga |
--g)
1075 # Obsolete; use --with-gas.
1078 -help |
--help |
--hel |
--he |
-h)
1079 ac_init_help
=long
;;
1080 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1081 ac_init_help
=recursive
;;
1082 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1083 ac_init_help
=short
;;
1085 -host |
--host |
--hos |
--ho)
1086 ac_prev
=host_alias
;;
1087 -host=* |
--host=* |
--hos=* |
--ho=*)
1088 host_alias
=$ac_optarg ;;
1090 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1092 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1094 htmldir
=$ac_optarg ;;
1096 -includedir |
--includedir |
--includedi |
--included |
--include \
1097 |
--includ |
--inclu |
--incl |
--inc)
1098 ac_prev
=includedir
;;
1099 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1100 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1101 includedir
=$ac_optarg ;;
1103 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1105 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1106 infodir
=$ac_optarg ;;
1108 -libdir |
--libdir |
--libdi |
--libd)
1110 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1111 libdir
=$ac_optarg ;;
1113 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1114 |
--libexe |
--libex |
--libe)
1115 ac_prev
=libexecdir
;;
1116 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1117 |
--libexe=* |
--libex=* |
--libe=*)
1118 libexecdir
=$ac_optarg ;;
1120 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1121 ac_prev
=localedir
;;
1122 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1123 localedir
=$ac_optarg ;;
1125 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1126 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1127 ac_prev
=localstatedir
;;
1128 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1129 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1130 localstatedir
=$ac_optarg ;;
1132 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1134 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1135 mandir
=$ac_optarg ;;
1137 -nfp |
--nfp |
--nf)
1138 # Obsolete; use --without-fp.
1141 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1142 |
--no-cr |
--no-c |
-n)
1145 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1146 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1149 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1150 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1151 |
--oldin |
--oldi |
--old |
--ol |
--o)
1152 ac_prev
=oldincludedir
;;
1153 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1154 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1155 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1156 oldincludedir
=$ac_optarg ;;
1158 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1160 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1161 prefix
=$ac_optarg ;;
1163 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1164 |
--program-pre |
--program-pr |
--program-p)
1165 ac_prev
=program_prefix
;;
1166 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1167 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1168 program_prefix
=$ac_optarg ;;
1170 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1171 |
--program-suf |
--program-su |
--program-s)
1172 ac_prev
=program_suffix
;;
1173 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1174 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1175 program_suffix
=$ac_optarg ;;
1177 -program-transform-name |
--program-transform-name \
1178 |
--program-transform-nam |
--program-transform-na \
1179 |
--program-transform-n |
--program-transform- \
1180 |
--program-transform |
--program-transfor \
1181 |
--program-transfo |
--program-transf \
1182 |
--program-trans |
--program-tran \
1183 |
--progr-tra |
--program-tr |
--program-t)
1184 ac_prev
=program_transform_name
;;
1185 -program-transform-name=* |
--program-transform-name=* \
1186 |
--program-transform-nam=* |
--program-transform-na=* \
1187 |
--program-transform-n=* |
--program-transform-=* \
1188 |
--program-transform=* |
--program-transfor=* \
1189 |
--program-transfo=* |
--program-transf=* \
1190 |
--program-trans=* |
--program-tran=* \
1191 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1192 program_transform_name
=$ac_optarg ;;
1194 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1196 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1197 pdfdir
=$ac_optarg ;;
1199 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1201 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1204 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1205 |
-silent |
--silent |
--silen |
--sile |
--sil)
1208 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1210 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1212 sbindir
=$ac_optarg ;;
1214 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1215 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1216 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1218 ac_prev
=sharedstatedir
;;
1219 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1220 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1221 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1223 sharedstatedir
=$ac_optarg ;;
1225 -site |
--site |
--sit)
1227 -site=* |
--site=* |
--sit=*)
1230 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1232 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1233 srcdir
=$ac_optarg ;;
1235 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1236 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1237 ac_prev
=sysconfdir
;;
1238 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1239 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1240 sysconfdir
=$ac_optarg ;;
1242 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1243 ac_prev
=target_alias
;;
1244 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1245 target_alias
=$ac_optarg ;;
1247 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1250 -version |
--version |
--versio |
--versi |
--vers |
-V)
1251 ac_init_version
=: ;;
1254 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1255 # Reject names that are not valid shell variable names.
1256 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1257 as_fn_error $?
"invalid package name: $ac_useropt"
1258 ac_useropt_orig
=$ac_useropt
1259 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1260 case $ac_user_opts in
1264 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1265 ac_unrecognized_sep
=', ';;
1267 eval with_
$ac_useropt=\
$ac_optarg ;;
1269 -without-* |
--without-*)
1270 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1271 # Reject names that are not valid shell variable names.
1272 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1273 as_fn_error $?
"invalid package name: $ac_useropt"
1274 ac_useropt_orig
=$ac_useropt
1275 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1276 case $ac_user_opts in
1280 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1281 ac_unrecognized_sep
=', ';;
1283 eval with_
$ac_useropt=no
;;
1286 # Obsolete; use --with-x.
1289 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1290 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1291 ac_prev
=x_includes
;;
1292 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1293 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1294 x_includes
=$ac_optarg ;;
1296 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1297 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1298 ac_prev
=x_libraries
;;
1299 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1300 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1301 x_libraries
=$ac_optarg ;;
1303 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1304 Try \`$0 --help' for more information"
1308 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1309 # Reject names that are not valid shell variable names.
1310 case $ac_envvar in #(
1311 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1312 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1314 eval $ac_envvar=\
$ac_optarg
1315 export $ac_envvar ;;
1318 # FIXME: should be removed in autoconf 3.0.
1319 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1320 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1321 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1322 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1328 if test -n "$ac_prev"; then
1329 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1330 as_fn_error $?
"missing argument to $ac_option"
1333 if test -n "$ac_unrecognized_opts"; then
1334 case $enable_option_checking in
1336 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1337 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1341 # Check all directory arguments for consistency.
1342 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1343 datadir sysconfdir sharedstatedir localstatedir includedir \
1344 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1345 libdir localedir mandir
1347 eval ac_val
=\$
$ac_var
1348 # Remove trailing slashes.
1351 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1352 eval $ac_var=\
$ac_val;;
1354 # Be sure to have absolute directory names.
1356 [\\/$
]* | ?
:[\\/]* ) continue;;
1357 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1359 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1362 # There might be people who depend on the old broken behavior: `$host'
1363 # used to hold the argument of --host etc.
1364 # FIXME: To remove some day.
1367 target
=$target_alias
1369 # FIXME: To remove some day.
1370 if test "x$host_alias" != x
; then
1371 if test "x$build_alias" = x
; then
1372 cross_compiling
=maybe
1373 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1374 If a cross compiler is detected then cross compile mode will be used" >&2
1375 elif test "x$build_alias" != "x$host_alias"; then
1381 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1383 test "$silent" = yes && exec 6>/dev
/null
1386 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1387 ac_ls_di
=`ls -di .` &&
1388 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1389 as_fn_error $?
"working directory cannot be determined"
1390 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1391 as_fn_error $?
"pwd does not report name of working directory"
1394 # Find the source files, if location was not specified.
1395 if test -z "$srcdir"; then
1396 ac_srcdir_defaulted
=yes
1397 # Try the directory containing this script, then the parent directory.
1398 ac_confdir
=`$as_dirname -- "$as_myself" ||
1399 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1400 X"$as_myself" : 'X\(//\)[^/]' \| \
1401 X"$as_myself" : 'X\(//\)$' \| \
1402 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1403 $as_echo X"$as_myself" |
1404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1422 if test ! -r "$srcdir/$ac_unique_file"; then
1426 ac_srcdir_defaulted
=no
1428 if test ! -r "$srcdir/$ac_unique_file"; then
1429 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1430 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1432 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1434 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1436 # When building in place, set srcdir=.
1437 if test "$ac_abs_confdir" = "$ac_pwd"; then
1440 # Remove unnecessary trailing slashes from srcdir.
1441 # Double slashes in file names in object file debugging info
1442 # mess up M-x gdb in Emacs.
1444 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1446 for ac_var
in $ac_precious_vars; do
1447 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1448 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1449 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1450 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1454 # Report the --help message.
1456 if test "$ac_init_help" = "long"; then
1457 # Omit some internal or obsolete options to make the list less imposing.
1458 # This message is too long to be a string in the A/UX 3.1 sh.
1460 \`configure' configures this package to adapt to many kinds of systems.
1462 Usage: $0 [OPTION]... [VAR=VALUE]...
1464 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1465 VAR=VALUE. See below for descriptions of some of the useful variables.
1467 Defaults for the options are specified in brackets.
1470 -h, --help display this help and exit
1471 --help=short display options specific to this package
1472 --help=recursive display the short help of all the included packages
1473 -V, --version display version information and exit
1474 -q, --quiet, --silent do not print \`checking ...' messages
1475 --cache-file=FILE cache test results in FILE [disabled]
1476 -C, --config-cache alias for \`--cache-file=config.cache'
1477 -n, --no-create do not create output files
1478 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1480 Installation directories:
1481 --prefix=PREFIX install architecture-independent files in PREFIX
1482 [$ac_default_prefix]
1483 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1486 By default, \`make install' will install all the files in
1487 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1488 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1489 for instance \`--prefix=\$HOME'.
1491 For better control, use the options below.
1493 Fine tuning of the installation directories:
1494 --bindir=DIR user executables [EPREFIX/bin]
1495 --sbindir=DIR system admin executables [EPREFIX/sbin]
1496 --libexecdir=DIR program executables [EPREFIX/libexec]
1497 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1498 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1499 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1500 --libdir=DIR object code libraries [EPREFIX/lib]
1501 --includedir=DIR C header files [PREFIX/include]
1502 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1503 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1504 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1505 --infodir=DIR info documentation [DATAROOTDIR/info]
1506 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1507 --mandir=DIR man documentation [DATAROOTDIR/man]
1508 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1509 --htmldir=DIR html documentation [DOCDIR]
1510 --dvidir=DIR dvi documentation [DOCDIR]
1511 --pdfdir=DIR pdf documentation [DOCDIR]
1512 --psdir=DIR ps documentation [DOCDIR]
1518 --x-includes=DIR X include files are
in DIR
1519 --x-libraries=DIR X library files are
in DIR
1522 --build=BUILD configure
for building on BUILD
[guessed
]
1523 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1527 if test -n "$ac_init_help"; then
1532 --disable-option-checking ignore unrecognized
--enable/--with options
1533 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1534 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1535 --enable-build-type=TYPE
1536 Select the build
type. Available types are
:
1537 personal
, nightly
, snapshot
, milestone
, release. Do
1538 NOT use this option unless you know what you are
1539 doing
! (default
=personal
)
1540 --enable-debug=list Enable different types of debug. Commas or
1541 whitespaces can be used to separate the items
in the
1542 list. Available types of debug are
: all
, none
,
1543 messages
, stack
, mungwall
, modules
, symbols. If no
1544 list is provided
then "all" is assumed.
1546 --enable-distcc Use distcc as a front end to the compiler
1548 --enable-ccache Use ccache as a front end to the compiler
1550 --enable-target-variant=NAME
1551 Enable a specific target variant
(default
=none
)
1552 --enable-amigaos-compliance=VERSION
1553 Enforce userspace AmigaOS compliance to a specific
1554 KickStart version
(default
=none
).
1555 --disable-crosstools Do not build cross-compiler toolchain
1556 --enable-includes=dir Alternative system include directory
1557 --enable-palm-debug-hack
1558 Enable palm debug output hack
in palm native
1560 --enable-nesting-supervisor
1561 Enable nesting supervisor support
in unix
1563 --disable-mmu Disable MMU support
(default
=enabled
)
1564 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1565 --enable-x11-shm use X11 shared memory
(default
=auto
)
1566 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1567 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1568 --disable-sdltest Do not try to compile and run a
test SDL program
1569 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1572 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1573 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1574 --with-kernel-gcc-version=VERSION
1575 Use
host gcc-VERSION
for building AROS
1576 --with-gcc-version=VERSION
1577 Use
host gcc-VERSION
for building AROS
1578 --with-optimization=FLAGS
1579 Use optimization flags FLAGS
(default
=-O2).
1580 --with-paranoia=FLAGS CC flags to
enable paranoia
1581 --with-xcode=PATH Specify XCode path
for iOS targets
1582 (default
=/Developer
).
1583 --with-sdk-version=VERSION
1584 Use iOS SDK version VERSION
(default
=4.1).
1585 --with-sdk=PATH Specify Android SDK path
1586 (default
=$default_android_sdk).
1587 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1588 --with-sdk-version=LEVEL
1589 Use Android SDK
for API LEVEL
(default
=12).
1590 --with-ndk-version=LEVEL
1591 Use Android NDK
for API LEVEL
(default
=9).
1592 --with-kernel-toolchain-prefix=...
1593 Specify crosscompile toolchain prefix
for kernel
1595 --with-elf-toolchain-prefix=...
1596 Specify crosscompile toolchain prefix to wrap
for
1598 --with-aros-toolchain=PREFIX
1599 Specify prebuilt AROS toolchain
1600 --with-aros-toolchain-install=DIR
1601 Where to
install or search
for cross tools binaries
1602 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1603 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1604 --with-float=<spec
> Specify floating point ABI
1605 (default
=$gcc_default_float_abi).
1606 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1607 --with-portssources=DIR Where to download sourcecode
for external ports
1608 --with-bootloader=NAME Use a specific bootloader
1609 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1610 --with-theme=NAME Use a specific GUI Theme
1611 --with-resolution=XRESxYRESxDEPTH
1612 Default resolution of the initial WorkbenchScreen
1613 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1614 --with-x use the X Window System
1615 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1616 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1618 Some influential environment variables
:
1619 CC C compiler
command
1620 CFLAGS C compiler flags
1621 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1622 nonstandard directory
<lib dir
>
1623 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1624 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1625 you have headers
in a nonstandard directory
<include dir
>
1626 CXX C
++ compiler
command
1627 CXXFLAGS C
++ compiler flags
1629 PYTHON the Python interpreter
1630 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1632 Use these variables to override the choices made by
`configure' or to help
1633 it to find libraries and programs with nonstandard names/locations.
1635 Report bugs to the package provider.
1640 if test "$ac_init_help" = "recursive"; then
1641 # If there are subdirs, report their specific --help.
1642 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1643 test -d "$ac_dir" ||
1644 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1649 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1651 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1652 # A ".." for each directory in $ac_dir_suffix.
1653 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1654 case $ac_top_builddir_sub in
1655 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1656 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1659 ac_abs_top_builddir=$ac_pwd
1660 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1661 # for backward compatibility:
1662 ac_top_builddir=$ac_top_build_prefix
1665 .) # We are building in place.
1667 ac_top_srcdir=$ac_top_builddir_sub
1668 ac_abs_top_srcdir=$ac_pwd ;;
1669 [\\/]* | ?:[\\/]* ) # Absolute name.
1670 ac_srcdir=$srcdir$ac_dir_suffix;
1671 ac_top_srcdir=$srcdir
1672 ac_abs_top_srcdir=$srcdir ;;
1674 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1675 ac_top_srcdir=$ac_top_build_prefix$srcdir
1676 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1678 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1680 cd "$ac_dir" || { ac_status=$?; continue; }
1681 # Check for guested configure.
1682 if test -f "$ac_srcdir/configure.gnu"; then
1684 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1685 elif test -f "$ac_srcdir/configure"; then
1687 $SHELL "$ac_srcdir/configure" --help=recursive
1689 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1691 cd "$ac_pwd" || { ac_status=$?; break; }
1695 test -n "$ac_init_help" && exit $ac_status
1696 if $ac_init_version; then
1699 generated by GNU Autoconf 2.68
1701 Copyright (C) 2010 Free Software Foundation, Inc.
1702 This configure script is free software; the Free Software Foundation
1703 gives unlimited permission to copy, distribute and modify it.
1708 ## ------------------------ ##
1709 ## Autoconf initialization. ##
1710 ## ------------------------ ##
1712 # ac_fn_c_try_compile LINENO
1713 # --------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_c_try_compile ()
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext
1719 if { { ac_try="$ac_compile"
1721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1722 *) ac_try_echo
=$ac_try;;
1724 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1728 if test -s conftest.err
; then
1729 grep -v '^ *+' conftest.err
>conftest.er1
1730 cat conftest.er1
>&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.
$ac_objext; then :
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.
$ac_ext >&5
1745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746 as_fn_set_status
$ac_retval
1748 } # ac_fn_c_try_compile
1750 # ac_fn_cxx_try_compile LINENO
1751 # ----------------------------
1752 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_cxx_try_compile
()
1755 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1756 rm -f conftest.
$ac_objext
1757 if { { ac_try
="$ac_compile"
1759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_compile") 2>conftest.err
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_cxx_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest.$ac_objext; then :
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1784 as_fn_set_status $ac_retval
1786 } # ac_fn_cxx_try_compile
1788 # ac_fn_c_try_cpp LINENO
1789 # ----------------------
1790 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 if { { ac_try="$ac_cpp conftest.$ac_ext"
1796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1797 *) ac_try_echo
=$ac_try;;
1799 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1803 if test -s conftest.err
; then
1804 grep -v '^ *+' conftest.err
>conftest.er1
1805 cat conftest.er1
>&5
1806 mv -f conftest.er1 conftest.err
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } > conftest.i
&& {
1810 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.
$ac_ext >&5
1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821 as_fn_set_status
$ac_retval
1825 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1826 # -------------------------------------------------------
1827 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1828 # the include files in INCLUDES and setting the cache variable VAR
1830 ac_fn_c_check_header_mongrel
()
1832 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1833 if eval \
${$3+:} false
; then :
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1835 $as_echo_n "checking for $2... " >&6; }
1836 if eval \
${$3+:} false
; then :
1837 $as_echo_n "(cached) " >&6
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841 $as_echo "$ac_res" >&6; }
1843 # Is the header compilable?
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1845 $as_echo_n "checking $2 usability... " >&6; }
1846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1851 if ac_fn_c_try_compile
"$LINENO"; then :
1852 ac_header_compiler
=yes
1854 ac_header_compiler
=no
1856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1858 $as_echo "$ac_header_compiler" >&6; }
1860 # Is the header present?
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1862 $as_echo_n "checking $2 presence... " >&6; }
1863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1864 /* end confdefs.h. */
1867 if ac_fn_c_try_cpp
"$LINENO"; then :
1868 ac_header_preproc
=yes
1870 ac_header_preproc
=no
1872 rm -f conftest.err conftest.i conftest.
$ac_ext
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1874 $as_echo "$ac_header_preproc" >&6; }
1876 # So? What about this header?
1877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1880 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1882 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1886 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1888 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1890 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1892 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1894 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898 $as_echo_n "checking for $2... " >&6; }
1899 if eval \
${$3+:} false
; then :
1900 $as_echo_n "(cached) " >&6
1902 eval "$3=\$ac_header_compiler"
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1906 $as_echo "$ac_res" >&6; }
1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 } # ac_fn_c_check_header_mongrel
1912 # ac_fn_c_try_run LINENO
1913 # ----------------------
1914 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1915 # that executables *can* be run.
1918 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1919 if { { ac_try
="$ac_link"
1921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1922 *) ac_try_echo=$ac_try;;
1924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_link") 2>&5
1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1929 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1930 { { case "(($ac_try" in
1931 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1932 *) ac_try_echo
=$ac_try;;
1934 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1935 $as_echo "$ac_try_echo"; } >&5
1936 (eval "$ac_try") 2>&5
1938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1939 test $ac_status = 0; }; }; then :
1942 $as_echo "$as_me: program exited with status $ac_status" >&5
1943 $as_echo "$as_me: failed program was:" >&5
1944 sed 's/^/| /' conftest.
$ac_ext >&5
1946 ac_retval
=$ac_status
1948 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950 as_fn_set_status
$ac_retval
1954 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1955 # -------------------------------------------------------
1956 # Tests whether HEADER exists and can be compiled using the include files in
1957 # INCLUDES, setting the cache variable VAR accordingly.
1958 ac_fn_c_check_header_compile
()
1960 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1962 $as_echo_n "checking for $2... " >&6; }
1963 if eval \
${$3+:} false
; then :
1964 $as_echo_n "(cached) " >&6
1966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1967 /* end confdefs.h. */
1971 if ac_fn_c_try_compile
"$LINENO"; then :
1976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1980 $as_echo "$ac_res" >&6; }
1981 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1983 } # ac_fn_c_check_header_compile
1985 # ac_fn_c_try_link LINENO
1986 # -----------------------
1987 # Try to link conftest.$ac_ext, and return whether this succeeded.
1990 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1991 rm -f conftest.
$ac_objext conftest
$ac_exeext
1992 if { { ac_try
="$ac_link"
1994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1995 *) ac_try_echo=$ac_try;;
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999 (eval "$ac_link") 2>conftest.err
2001 if test -s conftest.err; then
2002 grep -v '^ *+' conftest.err >conftest.er1
2003 cat conftest.er1 >&5
2004 mv -f conftest.er1 conftest.err
2006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2007 test $ac_status = 0; } && {
2008 test -z "$ac_c_werror_flag" ||
2009 test ! -s conftest.err
2010 } && test -s conftest$ac_exeext && {
2011 test "$cross_compiling" = yes ||
2012 $as_test_x conftest$ac_exeext
2016 $as_echo "$as_me: failed program was:" >&5
2017 sed 's/^/| /' conftest.$ac_ext >&5
2021 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2022 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2023 # interfere with the next link command; also delete a directory that is
2024 # left behind by Apple's compiler. We do this before executing the actions.
2025 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2027 as_fn_set_status $ac_retval
2029 } # ac_fn_c_try_link
2031 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2032 # ----------------------------------------------------
2033 # Tries to find if the field MEMBER exists in type AGGR, after including
2034 # INCLUDES, setting cache variable VAR accordingly.
2035 ac_fn_c_check_member ()
2037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2039 $as_echo_n "checking for $2.$3... " >&6; }
2040 if eval \${$4+:} false; then :
2041 $as_echo_n "(cached) " >&6
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2056 if ac_fn_c_try_compile "$LINENO"; then :
2059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2066 if (sizeof ac_aggr.$3)
2072 if ac_fn_c_try_compile "$LINENO"; then :
2077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2083 $as_echo "$ac_res" >&6; }
2084 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2086 } # ac_fn_c_check_member
2088 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2089 # ---------------------------------------------
2090 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2092 ac_fn_c_check_decl ()
2094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2095 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2096 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2098 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2099 if eval \${$3+:} false; then :
2100 $as_echo_n "(cached) " >&6
2102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2103 /* end confdefs.h. */
2108 #ifndef $as_decl_name
2110 (void) $as_decl_use;
2112 (void) $as_decl_name;
2120 if ac_fn_c_try_compile "$LINENO"; then :
2125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2129 $as_echo "$ac_res" >&6; }
2130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2132 } # ac_fn_c_check_decl
2134 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2135 # -------------------------------------------
2136 # Tests whether TYPE exists after having included INCLUDES, setting cache
2137 # variable VAR accordingly.
2138 ac_fn_c_check_type ()
2140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2142 $as_echo_n "checking for $2... " >&6; }
2143 if eval \${$3+:} false; then :
2144 $as_echo_n "(cached) " >&6
2147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h. */
2159 if ac_fn_c_try_compile "$LINENO"; then :
2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2172 if ac_fn_c_try_compile "$LINENO"; then :
2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2183 $as_echo "$ac_res" >&6; }
2184 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2186 } # ac_fn_c_check_type
2188 # ac_fn_c_check_func LINENO FUNC VAR
2189 # ----------------------------------
2190 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2191 ac_fn_c_check_func ()
2193 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2195 $as_echo_n "checking for $2... " >&6; }
2196 if eval \${$3+:} false; then :
2197 $as_echo_n "(cached) " >&6
2199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2200 /* end confdefs.h. */
2201 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2203 #define $2 innocuous_$2
2205 /* System header to define __stub macros and hopefully few prototypes,
2206 which can conflict with char $2 (); below.
2207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2208 <limits.h> exists even on freestanding compilers. */
2211 # include <limits.h>
2213 # include <assert.h>
2218 /* Override any GCC internal prototype to avoid an error.
2219 Use char because int might match the return type of a GCC
2220 builtin and then its argument prototype would still apply. */
2225 /* The GNU C library defines this for functions which it implements
2226 to always fail with ENOSYS. Some functions are actually named
2227 something starting with __ and the normal name is an alias. */
2228 #if defined __stub_$2 || defined __stub___$2
2240 if ac_fn_c_try_link "$LINENO"; then :
2245 rm -f core conftest.err conftest.$ac_objext \
2246 conftest$ac_exeext conftest.$ac_ext
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2250 $as_echo "$ac_res" >&6; }
2251 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2253 } # ac_fn_c_check_func
2254 cat >config.log <<_ACEOF
2255 This file contains any messages produced by compilers while
2256 running configure, to aid debugging if configure makes a mistake.
2258 It was created by $as_me, which was
2259 generated by GNU Autoconf 2.68. Invocation command line was
2271 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2272 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2273 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2274 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2275 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2277 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2278 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2280 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2281 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2282 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2283 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2284 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2285 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2286 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 test -z "$as_dir" && as_dir=.
2295 $as_echo "PATH: $as_dir"
2311 # Keep a trace of the command line.
2312 # Strip out --no-create and --no-recursion so they do not pile up.
2313 # Strip out --silent because we don't want to record it for future runs.
2314 # Also quote any args containing shell meta-characters.
2315 # Make two passes to allow for proper duplicate-argument suppression.
2319 ac_must_keep_next=false
2325 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2327 | -silent | --silent | --silen | --sile | --sil)
2330 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2333 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2335 as_fn_append ac_configure_args1 " '$ac_arg'"
2336 if test $ac_must_keep_next = true; then
2337 ac_must_keep_next=false # Got value, back to normal.
2340 *=* | --config-cache | -C | -disable-* | --disable-* \
2341 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2342 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2343 | -with-* | --with-* | -without-* | --without-* | --x)
2344 case "$ac_configure_args0 " in
2345 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2348 -* ) ac_must_keep_next=true ;;
2351 as_fn_append ac_configure_args " '$ac_arg'"
2356 { ac_configure_args0=; unset ac_configure_args0;}
2357 { ac_configure_args1=; unset ac_configure_args1;}
2359 # When interrupted or exit'd, cleanup temporary files, and complete
2360 # config.log. We remove comments because anyway the quotes in there
2361 # would cause problems or look ugly.
2362 # WARNING: Use '\'' to represent an apostrophe within the trap.
2363 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2364 trap 'exit_status=$?
2365 # Save into config.log some information that might help in debugging.
2369 $as_echo "## ---------------- ##
2370 ## Cache variables. ##
2371 ## ---------------- ##"
2373 # The following way of writing the cache mishandles newlines in values,
2375 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2376 eval ac_val=\$$ac_var
2380 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2381 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2384 _ | IFS | as_nl) ;; #(
2385 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2386 *) { eval $ac_var=; unset $ac_var;} ;;
2391 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2392 *${as_nl}ac_space=\ *)
2394 "s/'\''/'\''\\\\'\'''\''/g;
2395 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2398 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2405 $as_echo "## ----------------- ##
2406 ## Output variables. ##
2407 ## ----------------- ##"
2409 for ac_var in $ac_subst_vars
2411 eval ac_val=\$$ac_var
2413 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2415 $as_echo "$ac_var='\''$ac_val'\''"
2419 if test -n "$ac_subst_files"; then
2420 $as_echo "## ------------------- ##
2421 ## File substitutions. ##
2422 ## ------------------- ##"
2424 for ac_var in $ac_subst_files
2426 eval ac_val=\$$ac_var
2428 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2430 $as_echo "$ac_var='\''$ac_val'\''"
2435 if test -s confdefs.h; then
2436 $as_echo "## ----------- ##
2443 test "$ac_signal" != 0 &&
2444 $as_echo "$as_me: caught signal $ac_signal"
2445 $as_echo "$as_me: exit $exit_status"
2447 rm -f core *.core core.conftest.* &&
2448 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2451 for ac_signal in 1 2 13 15; do
2452 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2456 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2457 rm -f -r conftest* confdefs.h
2459 $as_echo "/* confdefs.h */" > confdefs.h
2461 # Predefined preprocessor variables.
2463 cat >>confdefs.h <<_ACEOF
2464 #define PACKAGE_NAME "$PACKAGE_NAME"
2467 cat >>confdefs.h <<_ACEOF
2468 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2471 cat >>confdefs.h <<_ACEOF
2472 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2475 cat >>confdefs.h <<_ACEOF
2476 #define PACKAGE_STRING "$PACKAGE_STRING"
2479 cat >>confdefs.h <<_ACEOF
2480 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2483 cat >>confdefs.h <<_ACEOF
2484 #define PACKAGE_URL "$PACKAGE_URL"
2488 # Let the site file select an alternate cache file if it wants to.
2489 # Prefer an explicitly selected file to automatically selected ones.
2492 if test -n "$CONFIG_SITE"; then
2493 # We do not want a PATH search for config.site.
2494 case $CONFIG_SITE in #((
2495 -*) ac_site_file1=./$CONFIG_SITE;;
2496 */*) ac_site_file1=$CONFIG_SITE;;
2497 *) ac_site_file1=./$CONFIG_SITE;;
2499 elif test "x$prefix" != xNONE; then
2500 ac_site_file1=$prefix/share/config.site
2501 ac_site_file2=$prefix/etc/config.site
2503 ac_site_file1=$ac_default_prefix/share/config.site
2504 ac_site_file2=$ac_default_prefix/etc/config.site
2506 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2508 test "x$ac_site_file" = xNONE && continue
2509 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2511 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2512 sed 's/^/| /' "$ac_site_file" >&5
2514 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2516 as_fn_error $? "failed to load site
script $ac_site_file
2517 See \
`config.log' for more details" "$LINENO" 5; }
2521 if test -r "$cache_file"; then
2522 # Some versions of bash will fail to source /dev/null (special files
2523 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2524 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2526 $as_echo "$as_me: loading cache $cache_file" >&6;}
2528 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2529 *) . "./$cache_file";;
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2534 $as_echo "$as_me: creating cache $cache_file" >&6;}
2538 as_fn_append ac_header_list " stdlib.h"
2539 as_fn_append ac_header_list " unistd.h"
2540 as_fn_append ac_header_list " sys/param.h"
2541 # Check that the precious variables saved in the cache have kept the same
2543 ac_cache_corrupted=false
2544 for ac_var in $ac_precious_vars; do
2545 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2546 eval ac_new_set=\$ac_env_${ac_var}_set
2547 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2548 eval ac_new_val=\$ac_env_${ac_var}_value
2549 case $ac_old_set,$ac_new_set in
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2552 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2553 ac_cache_corrupted=: ;;
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2556 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2557 ac_cache_corrupted=: ;;
2560 if test "x$ac_old_val" != "x$ac_new_val"; then
2561 # differences in whitespace do not lead to failure.
2562 ac_old_val_w=`echo x
$ac_old_val`
2563 ac_new_val_w=`echo x
$ac_new_val`
2564 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2566 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2567 ac_cache_corrupted=:
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2570 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2571 eval $ac_var=\$ac_old_val
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2574 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2576 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2579 # Pass precious variables to config.status.
2580 if test "$ac_new_set" = set; then
2582 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2583 *) ac_arg=$ac_var=$ac_new_val ;;
2585 case " $ac_configure_args " in
2586 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2587 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2591 if $ac_cache_corrupted; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2595 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2596 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2598 ## -------------------- ##
2599 ## Main body of script. ##
2600 ## -------------------- ##
2603 ac_cpp='$CPP $CPPFLAGS'
2604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2611 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2612 if test -f "$ac_dir/install-sh"; then
2614 ac_install_sh="$ac_aux_dir/install-sh -c"
2616 elif test -f "$ac_dir/install.sh"; then
2618 ac_install_sh="$ac_aux_dir/install.sh -c"
2620 elif test -f "$ac_dir/shtool"; then
2622 ac_install_sh="$ac_aux_dir/shtool install -c"
2626 if test -z "$ac_aux_dir"; then
2627 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2630 # These three variables are undocumented and unsupported,
2631 # and are intended to be withdrawn in a future Autoconf release.
2632 # They can cause serious problems if a builder's source tree is in a directory
2633 # whose full name contains unusual characters.
2634 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2635 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2636 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2640 # Check what host we are running on.
2641 # If a target is not suggested, we use this one.
2642 # Note that what we call a target, Autoconf calls a host.
2643 # Make sure we can run config.sub.
2644 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2645 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2648 $as_echo_n "checking build system type... " >&6; }
2649 if ${ac_cv_build+:} false; then :
2650 $as_echo_n "(cached) " >&6
2652 ac_build_alias=$build_alias
2653 test "x$ac_build_alias" = x &&
2654 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2655 test "x$ac_build_alias" = x &&
2656 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2657 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2658 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2662 $as_echo "$ac_cv_build" >&6; }
2663 case $ac_cv_build in
2665 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2668 ac_save_IFS=$IFS; IFS='-'
2674 # Remember, the first character of IFS is used to create $*,
2675 # except with old shells:
2678 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2682 $as_echo_n "checking host system type... " >&6; }
2683 if ${ac_cv_host+:} false; then :
2684 $as_echo_n "(cached) " >&6
2686 if test "x$host_alias" = x; then
2687 ac_cv_host=$ac_cv_build
2689 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2690 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2695 $as_echo "$ac_cv_host" >&6; }
2698 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2701 ac_save_IFS=$IFS; IFS='-'
2707 # Remember, the first character of IFS is used to create $*,
2708 # except with old shells:
2711 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2715 # The AROS target is slightly different to the normal GNU style
2716 # format. We don't have the middle part, and we reverse the order
2717 # of the $(CPU) and $(OS) bits.
2719 # Don't strip the version of the target yet, it might be
2720 # useful on some systems.
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2723 $as_echo_n "checking for AROS style target... " >&6; }
2725 if test "$target" = "NONE" ; then
2726 target=$host_os-$host_cpu
2728 if test "$target" = "" ; then
2729 target=$host_os-$host_cpu
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2733 $as_echo "$target" >&6; }
2735 if test "$host_os" = "mingw32" ; then
2739 # Don't know where else to put this...
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2741 $as_echo_n "checking building AROS in... " >&6; }
2742 AROS_BUILDDIR=`${PWDCMD-pwd}`
2743 AROS_BUILDDIR_UNIX=${PWD}
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2745 $as_echo "$AROS_BUILDDIR" >&6; }
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2748 $as_echo_n "checking AROS source in... " >&6; }
2749 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2752 $as_echo "$SRCDIR" >&6; }
2754 # Parse the target field into something useful.
2756 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2757 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2760 # Some debug output, to be removed again.
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2762 $as_echo_n "checking for target system (debug output)... " >&6; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2764 $as_echo "$target_os" >&6; }
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2766 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2768 $as_echo "$target_cpu" >&6; }
2770 aros_default_wbwidth=800
2771 aros_default_wbheight=600
2772 aros_default_wbdepth=4
2775 # The first step is to find the host binaries.
2776 # Check for a compiler.
2778 ac_cpp='$CPP $CPPFLAGS'
2779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2782 if test -n "$ac_tool_prefix"; then
2783 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2784 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2786 $as_echo_n "checking for $ac_word... " >&6; }
2787 if ${ac_cv_prog_CC+:} false; then :
2788 $as_echo_n "(cached) " >&6
2790 if test -n "$CC"; then
2791 ac_cv_prog_CC="$CC" # Let the user override the test.
2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2797 test -z "$as_dir" && as_dir=.
2798 for ac_exec_ext in '' $ac_executable_extensions; do
2799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2800 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 if test -n "$CC"; then
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2813 $as_echo "$CC" >&6; }
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2816 $as_echo "no" >&6; }
2821 if test -z "$ac_cv_prog_CC"; then
2823 # Extract the first word of "gcc", so it can be a program name with args.
2824 set dummy gcc; ac_word=$2
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2826 $as_echo_n "checking for $ac_word... " >&6; }
2827 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2828 $as_echo_n "(cached) " >&6
2830 if test -n "$ac_ct_CC"; then
2831 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2837 test -z "$as_dir" && as_dir=.
2838 for ac_exec_ext in '' $ac_executable_extensions; do
2839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2840 ac_cv_prog_ac_ct_CC="gcc"
2841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2851 if test -n "$ac_ct_CC"; then
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2853 $as_echo "$ac_ct_CC" >&6; }
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2856 $as_echo "no" >&6; }
2859 if test "x$ac_ct_CC" = x; then
2862 case $cross_compiling:$ac_tool_warned in
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2866 ac_tool_warned=yes ;;
2874 if test -z "$CC"; then
2875 if test -n "$ac_tool_prefix"; then
2876 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2877 set dummy ${ac_tool_prefix}cc; ac_word=$2
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2879 $as_echo_n "checking for $ac_word... " >&6; }
2880 if ${ac_cv_prog_CC+:} false; then :
2881 $as_echo_n "(cached) " >&6
2883 if test -n "$CC"; then
2884 ac_cv_prog_CC="$CC" # Let the user override the test.
2886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2890 test -z "$as_dir" && as_dir=.
2891 for ac_exec_ext in '' $ac_executable_extensions; do
2892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2893 ac_cv_prog_CC="${ac_tool_prefix}cc"
2894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2904 if test -n "$CC"; then
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2906 $as_echo "$CC" >&6; }
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2909 $as_echo "no" >&6; }
2915 if test -z "$CC"; then
2916 # Extract the first word of "cc", so it can be a program name with args.
2917 set dummy cc; ac_word=$2
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2919 $as_echo_n "checking for $ac_word... " >&6; }
2920 if ${ac_cv_prog_CC+:} false; then :
2921 $as_echo_n "(cached) " >&6
2923 if test -n "$CC"; then
2924 ac_cv_prog_CC="$CC" # Let the user override the test.
2927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931 test -z "$as_dir" && as_dir=.
2932 for ac_exec_ext in '' $ac_executable_extensions; do
2933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2934 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2935 ac_prog_rejected=yes
2939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946 if test $ac_prog_rejected = yes; then
2947 # We found a bogon in the path, so make sure we never use it.
2948 set dummy $ac_cv_prog_CC
2950 if test $# != 0; then
2951 # We chose a different compiler from the bogus one.
2952 # However, it has the same basename, so the bogon will be chosen
2953 # first if we set CC to just the basename; use the full file name.
2955 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2961 if test -n "$CC"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2963 $as_echo "$CC" >&6; }
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2971 if test -z "$CC"; then
2972 if test -n "$ac_tool_prefix"; then
2973 for ac_prog in cl.exe
2975 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2976 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978 $as_echo_n "checking for $ac_word... " >&6; }
2979 if ${ac_cv_prog_CC+:} false; then :
2980 $as_echo_n "(cached) " >&6
2982 if test -n "$CC"; then
2983 ac_cv_prog_CC="$CC" # Let the user override the test.
2985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir=.
2990 for ac_exec_ext in '' $ac_executable_extensions; do
2991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2992 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3003 if test -n "$CC"; then
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3005 $as_echo "$CC" >&6; }
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008 $as_echo "no" >&6; }
3012 test -n "$CC" && break
3015 if test -z "$CC"; then
3017 for ac_prog in cl.exe
3019 # Extract the first word of "$ac_prog", so it can be a program name with args.
3020 set dummy $ac_prog; ac_word=$2
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3022 $as_echo_n "checking for $ac_word... " >&6; }
3023 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3024 $as_echo_n "(cached) " >&6
3026 if test -n "$ac_ct_CC"; then
3027 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 test -z "$as_dir" && as_dir=.
3034 for ac_exec_ext in '' $ac_executable_extensions; do
3035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036 ac_cv_prog_ac_ct_CC="$ac_prog"
3037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3047 if test -n "$ac_ct_CC"; then
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3049 $as_echo "$ac_ct_CC" >&6; }
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052 $as_echo "no" >&6; }
3056 test -n "$ac_ct_CC" && break
3059 if test "x$ac_ct_CC" = x; then
3062 case $cross_compiling:$ac_tool_warned in
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3066 ac_tool_warned=yes ;;
3075 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3077 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3078 See \
`config.log' for more details" "$LINENO" 5; }
3080 # Provide some information about the compiler.
3081 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3084 for ac_option in --version -v -V -qversion; do
3085 { { ac_try="$ac_compiler $ac_option >&5"
3087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3088 *) ac_try_echo
=$ac_try;;
3090 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3091 $as_echo "$ac_try_echo"; } >&5
3092 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3094 if test -s conftest.err
; then
3096 ... rest of stderr output deleted ...
3097 10q' conftest.err
>conftest.er1
3098 cat conftest.er1
>&5
3100 rm -f conftest.er1 conftest.err
3101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3102 test $ac_status = 0; }
3105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3106 /* end confdefs.h. */
3116 ac_clean_files_save
=$ac_clean_files
3117 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3118 # Try to create an executable without -o first, disregard a.out.
3119 # It will help us diagnose broken compilers, and finding out an intuition
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3122 $as_echo_n "checking whether the C compiler works... " >&6; }
3123 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3125 # The possible output files:
3126 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3129 for ac_file
in $ac_files
3132 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3133 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3138 if { { ac_try
="$ac_link_default"
3140 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3141 *) ac_try_echo=$ac_try;;
3143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3144 $as_echo "$ac_try_echo"; } >&5
3145 (eval "$ac_link_default") 2>&5
3147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3148 test $ac_status = 0; }; then :
3149 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3150 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3151 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3152 # so that the user can short-circuit this test for compilers unknown to
3154 for ac_file in $ac_files ''
3156 test -f "$ac_file" || continue
3158 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3161 # We found the default executable, but exeext='' is most
3165 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3167 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3169 # We set ac_cv_exeext here because the later test for it is not
3170 # safe: cross compilers may not add the suffix if given an `-o'
3171 # argument, so we may need to know it at that point already.
3172 # Even if this section looks crufty: it has the advantage of
3179 test "$ac_cv_exeext" = no && ac_cv_exeext=
3184 if test -z "$ac_file"; then :
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3186 $as_echo "no" >&6; }
3187 $as_echo "$as_me: failed program was:" >&5
3188 sed 's
/^
/|
/' conftest.$ac_ext >&5
3190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3191 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3192 as_fn_error 77 "C compiler cannot create executables
3193 See \`config.log
' for more details" "$LINENO" 5; }
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3196 $as_echo "yes" >&6; }
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3199 $as_echo_n "checking for C compiler default output file name... " >&6; }
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3201 $as_echo "$ac_file" >&6; }
3202 ac_exeext=$ac_cv_exeext
3204 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3205 ac_clean_files=$ac_clean_files_save
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3207 $as_echo_n "checking for suffix of executables... " >&6; }
3208 if { { ac_try="$ac_link"
3210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3211 *) ac_try_echo=$ac_try;;
3213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3214 $as_echo "$ac_try_echo"; } >&5
3215 (eval "$ac_link") 2>&5
3217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3218 test $ac_status = 0; }; then :
3219 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3220 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3221 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3223 for ac_file
in conftest.exe conftest conftest.
*; do
3224 test -f "$ac_file" ||
continue
3226 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3227 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3235 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3236 See \`config.log' for more details" "$LINENO" 5; }
3238 rm -f conftest conftest
$ac_cv_exeext
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3240 $as_echo "$ac_cv_exeext" >&6; }
3242 rm -f conftest.
$ac_ext
3243 EXEEXT
=$ac_cv_exeext
3245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3246 /* end confdefs.h. */
3251 FILE *f = fopen ("conftest.out", "w");
3252 return ferror (f) || fclose (f) != 0;
3258 ac_clean_files
="$ac_clean_files conftest.out"
3259 # Check that the compiler produces executables we can run. If not, either
3260 # the compiler is broken, or we cross compile.
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3262 $as_echo_n "checking whether we are cross compiling... " >&6; }
3263 if test "$cross_compiling" != yes; then
3264 { { ac_try
="$ac_link"
3266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3267 *) ac_try_echo=$ac_try;;
3269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3270 $as_echo "$ac_try_echo"; } >&5
3271 (eval "$ac_link") 2>&5
3273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3274 test $ac_status = 0; }
3275 if { ac_try='./conftest$ac_cv_exeext'
3276 { { case "(($ac_try" in
3277 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3278 *) ac_try_echo
=$ac_try;;
3280 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3281 $as_echo "$ac_try_echo"; } >&5
3282 (eval "$ac_try") 2>&5
3284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3285 test $ac_status = 0; }; }; then
3288 if test "$cross_compiling" = maybe
; then
3291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3293 as_fn_error $?
"cannot run C compiled programs.
3294 If you meant to cross compile, use \`--host'.
3295 See \`config.log' for more details" "$LINENO" 5; }
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3300 $as_echo "$cross_compiling" >&6; }
3302 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3303 ac_clean_files
=$ac_clean_files_save
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3305 $as_echo_n "checking for suffix of object files... " >&6; }
3306 if ${ac_cv_objext+:} false
; then :
3307 $as_echo_n "(cached) " >&6
3309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3320 rm -f conftest.o conftest.obj
3321 if { { ac_try
="$ac_compile"
3323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3327 $as_echo "$ac_try_echo"; } >&5
3328 (eval "$ac_compile") 2>&5
3330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3331 test $ac_status = 0; }; then :
3332 for ac_file in conftest.o conftest.obj conftest.*; do
3333 test -f "$ac_file" || continue;
3335 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3336 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3341 $as_echo "$as_me: failed program was:" >&5
3342 sed 's/^/| /' conftest.$ac_ext >&5
3344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3346 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3347 See \
`config.log' for more details" "$LINENO" 5; }
3349 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3352 $as_echo "$ac_cv_objext" >&6; }
3353 OBJEXT=$ac_cv_objext
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3356 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3357 if ${ac_cv_c_compiler_gnu+:} false; then :
3358 $as_echo_n "(cached) " >&6
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3374 if ac_fn_c_try_compile "$LINENO"; then :
3379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3380 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3384 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3385 if test $ac_compiler_gnu = yes; then
3390 ac_test_CFLAGS=${CFLAGS+set}
3391 ac_save_CFLAGS=$CFLAGS
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3393 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3394 if ${ac_cv_prog_cc_g+:} false; then :
3395 $as_echo_n "(cached) " >&6
3397 ac_save_c_werror_flag=$ac_c_werror_flag
3398 ac_c_werror_flag=yes
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3412 if ac_fn_c_try_compile "$LINENO"; then :
3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3427 if ac_fn_c_try_compile "$LINENO"; then :
3430 ac_c_werror_flag=$ac_save_c_werror_flag
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3443 if ac_fn_c_try_compile "$LINENO"; then :
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3451 ac_c_werror_flag=$ac_save_c_werror_flag
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3454 $as_echo "$ac_cv_prog_cc_g" >&6; }
3455 if test "$ac_test_CFLAGS" = set; then
3456 CFLAGS=$ac_save_CFLAGS
3457 elif test $ac_cv_prog_cc_g = yes; then
3458 if test "$GCC" = yes; then
3464 if test "$GCC" = yes; then
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3471 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3472 if ${ac_cv_prog_cc_c89+:} false; then :
3473 $as_echo_n "(cached) " >&6
3475 ac_cv_prog_cc_c89=no
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3481 #include <sys/types.h>
3482 #include <sys/stat.h>
3483 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3484 struct buf { int x; };
3485 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3486 static char *e (p, i)
3492 static char *f (char * (*g) (char **, int), char **p, ...)
3497 s = g (p, va_arg (v,int));
3502 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3503 function prototypes and stuff, but not '\xHH' hex character constants.
3504 These don't provoke an error unfortunately, instead are silently treated
3505 as 'x'. The following induces an error, until -std is added to get
3506 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3507 array size at least. It's necessary to write '\x00'==0 to get something
3508 that's true only with -std. */
3509 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3511 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3512 inside strings and character constants. */
3514 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3516 int test (int i, double x);
3517 struct s1 {int (*f) (int a);};
3518 struct s2 {int (*f) (double a);};
3519 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3525 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3530 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3531 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3533 CC="$ac_save_CC $ac_arg"
3534 if ac_fn_c_try_compile "$LINENO"; then :
3535 ac_cv_prog_cc_c89=$ac_arg
3537 rm -f core conftest.err conftest.$ac_objext
3538 test "x$ac_cv_prog_cc_c89" != "xno" && break
3540 rm -f conftest.$ac_ext
3545 case "x$ac_cv_prog_cc_c89" in
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3548 $as_echo "none needed" >&6; } ;;
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3551 $as_echo "unsupported" >&6; } ;;
3553 CC="$CC $ac_cv_prog_cc_c89"
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3555 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3557 if test "x$ac_cv_prog_cc_c89" != xno; then :
3562 ac_cpp='$CPP $CPPFLAGS'
3563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3567 case $ac_cv_prog_cc_stdc in #(
3569 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3572 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3573 if ${ac_cv_prog_cc_c99+:} false; then :
3574 $as_echo_n "(cached) " >&6
3576 ac_cv_prog_cc_c99=no
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3581 #include <stdbool.h>
3586 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3587 #define debug(...) fprintf (stderr, __VA_ARGS__)
3588 #define showlist(...) puts (#__VA_ARGS__)
3589 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3591 test_varargs_macros (void)
3596 debug ("X = %d\n", x);
3597 showlist (The first, second, and third items.);
3598 report (x>y, "x is %d but y is %d", x, y);
3601 // Check long long types.
3602 #define BIG64 18446744073709551615ull
3603 #define BIG32 4294967295ul
3604 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3606 your preprocessor is broken;
3610 your preprocessor is broken;
3612 static long long int bignum = -9223372036854775807LL;
3613 static unsigned long long int ubignum = BIG64;
3615 struct incomplete_array
3623 const wchar_t *name;
3627 typedef const char *ccp;
3630 test_restrict (ccp restrict text)
3632 // See if C++-style comments work.
3633 // Iterate through items via the restricted pointer.
3634 // Also check for declarations in for loops.
3635 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3640 // Check varargs and va_copy.
3642 test_varargs (const char *format, ...)
3645 va_start (args, format);
3647 va_copy (args_copy, args);
3658 str = va_arg (args_copy, const char *);
3661 number = va_arg (args_copy, int);
3664 fnumber = va_arg (args_copy, double);
3679 _Bool success = false;
3682 if (test_restrict ("String literal") == 0)
3684 char *restrict newvar = "Another string";
3687 test_varargs ("s, d' f .", "string", 65, 34.234);
3688 test_varargs_macros ();
3690 // Check flexible array members.
3691 struct incomplete_array *ia =
3692 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3694 for (int i = 0; i < ia->datasize; ++i)
3695 ia->data[i] = i * 1.234;
3697 // Check named initializers.
3698 struct named_init ni = {
3700 .name = L"Test wide string",
3701 .average = 543.34343,
3706 int dynamic_array[ni.number];
3707 dynamic_array[ni.number - 1] = 543;
3709 // work around unused variable warnings
3710 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3711 || dynamic_array[ni.number - 1] != 543);
3717 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3719 CC="$ac_save_CC $ac_arg"
3720 if ac_fn_c_try_compile "$LINENO"; then :
3721 ac_cv_prog_cc_c99=$ac_arg
3723 rm -f core conftest.err conftest.$ac_objext
3724 test "x$ac_cv_prog_cc_c99" != "xno" && break
3726 rm -f conftest.$ac_ext
3731 case "x$ac_cv_prog_cc_c99" in
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3734 $as_echo "none needed" >&6; } ;;
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3737 $as_echo "unsupported" >&6; } ;;
3739 CC="$CC $ac_cv_prog_cc_c99"
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3741 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3743 if test "x$ac_cv_prog_cc_c99" != xno; then :
3744 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3747 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3748 if ${ac_cv_prog_cc_c89+:} false; then :
3749 $as_echo_n "(cached) " >&6
3751 ac_cv_prog_cc_c89=no
3753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3754 /* end confdefs.h. */
3757 #include <sys/types.h>
3758 #include <sys/stat.h>
3759 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3760 struct buf { int x; };
3761 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3762 static char *e (p, i)
3768 static char *f (char * (*g) (char **, int), char **p, ...)
3773 s = g (p, va_arg (v,int));
3778 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3779 function prototypes and stuff, but not '\xHH' hex character constants.
3780 These don't provoke an error unfortunately, instead are silently treated
3781 as 'x'. The following induces an error, until -std is added to get
3782 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3783 array size at least. It's necessary to write '\x00'==0 to get something
3784 that's true only with -std. */
3785 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3787 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3788 inside strings and character constants. */
3790 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3792 int test (int i, double x);
3793 struct s1 {int (*f) (int a);};
3794 struct s2 {int (*f) (double a);};
3795 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3801 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3806 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3807 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3809 CC="$ac_save_CC $ac_arg"
3810 if ac_fn_c_try_compile "$LINENO"; then :
3811 ac_cv_prog_cc_c89=$ac_arg
3813 rm -f core conftest.err conftest.$ac_objext
3814 test "x$ac_cv_prog_cc_c89" != "xno" && break
3816 rm -f conftest.$ac_ext
3821 case "x$ac_cv_prog_cc_c89" in
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3824 $as_echo "none needed" >&6; } ;;
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3827 $as_echo "unsupported" >&6; } ;;
3829 CC="$CC $ac_cv_prog_cc_c89"
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3831 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3833 if test "x$ac_cv_prog_cc_c89" != xno; then :
3834 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3836 ac_cv_prog_cc_stdc=no
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3843 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3844 if ${ac_cv_prog_cc_stdc+:} false; then :
3845 $as_echo_n "(cached) " >&6
3848 case $ac_cv_prog_cc_stdc in #(
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3851 $as_echo "unsupported" >&6; } ;; #(
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3854 $as_echo "none needed" >&6; } ;; #(
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3857 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3861 ac_cpp='$CXXCPP $CPPFLAGS'
3862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3865 if test -z "$CXX"; then
3866 if test -n "$CCC"; then
3869 if test -n "$ac_tool_prefix"; then
3870 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3872 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3873 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3875 $as_echo_n "checking for $ac_word... " >&6; }
3876 if ${ac_cv_prog_CXX+:} false; then :
3877 $as_echo_n "(cached) " >&6
3879 if test -n "$CXX"; then
3880 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3886 test -z "$as_dir" && as_dir=.
3887 for ac_exec_ext in '' $ac_executable_extensions; do
3888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3889 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 if test -n "$CXX"; then
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3902 $as_echo "$CXX" >&6; }
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3905 $as_echo "no" >&6; }
3909 test -n "$CXX" && break
3912 if test -z "$CXX"; then
3914 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3916 # Extract the first word of "$ac_prog", so it can be a program name with args.
3917 set dummy $ac_prog; ac_word=$2
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3919 $as_echo_n "checking for $ac_word... " >&6; }
3920 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3921 $as_echo_n "(cached) " >&6
3923 if test -n "$ac_ct_CXX"; then
3924 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3930 test -z "$as_dir" && as_dir=.
3931 for ac_exec_ext in '' $ac_executable_extensions; do
3932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3933 ac_cv_prog_ac_ct_CXX="$ac_prog"
3934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3944 if test -n "$ac_ct_CXX"; then
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3946 $as_echo "$ac_ct_CXX" >&6; }
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3949 $as_echo "no" >&6; }
3953 test -n "$ac_ct_CXX" && break
3956 if test "x$ac_ct_CXX" = x; then
3959 case $cross_compiling:$ac_tool_warned in
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3963 ac_tool_warned=yes ;;
3971 # Provide some information about the compiler.
3972 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3975 for ac_option in --version -v -V -qversion; do
3976 { { ac_try="$ac_compiler $ac_option >&5"
3978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3979 *) ac_try_echo
=$ac_try;;
3981 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3982 $as_echo "$ac_try_echo"; } >&5
3983 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3985 if test -s conftest.err
; then
3987 ... rest of stderr output deleted ...
3988 10q' conftest.err
>conftest.er1
3989 cat conftest.er1
>&5
3991 rm -f conftest.er1 conftest.err
3992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3993 test $ac_status = 0; }
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3997 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3998 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3999 $as_echo_n "(cached) " >&6
4001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4015 if ac_fn_cxx_try_compile
"$LINENO"; then :
4020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4021 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4025 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4026 if test $ac_compiler_gnu = yes; then
4031 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4032 ac_save_CXXFLAGS
=$CXXFLAGS
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4034 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4035 if ${ac_cv_prog_cxx_g+:} false
; then :
4036 $as_echo_n "(cached) " >&6
4038 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4039 ac_cxx_werror_flag
=yes
4042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h. */
4053 if ac_fn_cxx_try_compile
"$LINENO"; then :
4054 ac_cv_prog_cxx_g
=yes
4057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4058 /* end confdefs.h. */
4068 if ac_fn_cxx_try_compile
"$LINENO"; then :
4071 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4084 if ac_fn_cxx_try_compile
"$LINENO"; then :
4085 ac_cv_prog_cxx_g
=yes
4087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4092 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4095 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4096 if test "$ac_test_CXXFLAGS" = set; then
4097 CXXFLAGS
=$ac_save_CXXFLAGS
4098 elif test $ac_cv_prog_cxx_g = yes; then
4099 if test "$GXX" = yes; then
4105 if test "$GXX" = yes; then
4112 ac_cpp
='$CPP $CPPFLAGS'
4113 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4114 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4115 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4118 ac_cpp
='$CPP $CPPFLAGS'
4119 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4120 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4121 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4123 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4124 # On Suns, sometimes $CPP names a directory.
4125 if test -n "$CPP" && test -d "$CPP"; then
4128 if test -z "$CPP"; then
4129 if ${ac_cv_prog_CPP+:} false
; then :
4130 $as_echo_n "(cached) " >&6
4132 # Double quotes because CPP needs to be expanded
4133 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4136 for ac_c_preproc_warn_flag
in '' yes
4138 # Use a header file that comes with gcc, so configuring glibc
4139 # with a fresh cross-compiler works.
4140 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4141 # <limits.h> exists even on freestanding compilers.
4142 # On the NeXT, cc -E runs the code through the compiler's parser,
4143 # not just through cpp. "Syntax error" is here to catch this case.
4144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4147 # include <limits.h>
4149 # include <assert.h>
4153 if ac_fn_c_try_cpp
"$LINENO"; then :
4156 # Broken: fails on valid input.
4159 rm -f conftest.err conftest.i conftest.
$ac_ext
4161 # OK, works on sane cases. Now check whether nonexistent headers
4162 # can be detected and how.
4163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4165 #include <ac_nonexistent.h>
4167 if ac_fn_c_try_cpp
"$LINENO"; then :
4168 # Broken: success on invalid input.
4171 # Passes both tests.
4175 rm -f conftest.err conftest.i conftest.
$ac_ext
4178 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4179 rm -f conftest.i conftest.err conftest.
$ac_ext
4180 if $ac_preproc_ok; then :
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4193 $as_echo "$CPP" >&6; }
4195 for ac_c_preproc_warn_flag
in '' yes
4197 # Use a header file that comes with gcc, so configuring glibc
4198 # with a fresh cross-compiler works.
4199 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4200 # <limits.h> exists even on freestanding compilers.
4201 # On the NeXT, cc -E runs the code through the compiler's parser,
4202 # not just through cpp. "Syntax error" is here to catch this case.
4203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4206 # include <limits.h>
4208 # include <assert.h>
4212 if ac_fn_c_try_cpp
"$LINENO"; then :
4215 # Broken: fails on valid input.
4218 rm -f conftest.err conftest.i conftest.
$ac_ext
4220 # OK, works on sane cases. Now check whether nonexistent headers
4221 # can be detected and how.
4222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4224 #include <ac_nonexistent.h>
4226 if ac_fn_c_try_cpp
"$LINENO"; then :
4227 # Broken: success on invalid input.
4230 # Passes both tests.
4234 rm -f conftest.err conftest.i conftest.
$ac_ext
4237 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4238 rm -f conftest.i conftest.err conftest.
$ac_ext
4239 if $ac_preproc_ok; then :
4242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4244 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4245 See \`config.log' for more details" "$LINENO" 5; }
4249 ac_cpp
='$CPP $CPPFLAGS'
4250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4255 # Check for a compatible awk
4256 for ac_prog
in gawk nawk
4258 # Extract the first word of "$ac_prog", so it can be a program name with args.
4259 set dummy
$ac_prog; ac_word
=$2
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261 $as_echo_n "checking for $ac_word... " >&6; }
4262 if ${ac_cv_prog_AWK+:} false
; then :
4263 $as_echo_n "(cached) " >&6
4265 if test -n "$AWK"; then
4266 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir
=.
4273 for ac_exec_ext
in '' $ac_executable_extensions; do
4274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4275 ac_cv_prog_AWK
="$ac_prog"
4276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4286 if test -n "$AWK"; then
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4288 $as_echo "$AWK" >&6; }
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291 $as_echo "no" >&6; }
4295 test -n "$AWK" && break
4298 if test "$AWK" = ""; then
4299 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4301 # Extract the first word of "mmake", so it can be a program name with args.
4302 set dummy mmake
; ac_word
=$2
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4304 $as_echo_n "checking for $ac_word... " >&6; }
4305 if ${ac_cv_prog_MMAKE+:} false
; then :
4306 $as_echo_n "(cached) " >&6
4308 if test -n "$MMAKE"; then
4309 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4315 test -z "$as_dir" && as_dir
=.
4316 for ac_exec_ext
in '' $ac_executable_extensions; do
4317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4318 ac_cv_prog_MMAKE
="mmake "
4319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4328 MMAKE
=$ac_cv_prog_MMAKE
4329 if test -n "$MMAKE"; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4331 $as_echo "$MMAKE" >&6; }
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4339 # Perform some default variable assignments. Note all of these will be
4340 # Regenerated from the script, so there is no need to cache them.
4342 aros_host_cpp
="$CPP"
4344 aros_host_cxx
="$CXX"
4345 if test "$GCC" = "yes"; then
4346 aros_gcc_ld
=`$CC -print-prog-name=ld`
4347 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4348 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4350 $as_echo_n "checking for $ac_word... " >&6; }
4351 if ${ac_cv_path_aros_host_ld+:} false
; then :
4352 $as_echo_n "(cached) " >&6
4354 case $aros_host_ld in
4356 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4360 for as_dir
in `dirname $aros_gcc_ld`
4363 test -z "$as_dir" && as_dir
=.
4364 for ac_exec_ext
in '' $ac_executable_extensions; do
4365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4366 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 aros_host_ld
=$ac_cv_path_aros_host_ld
4378 if test -n "$aros_host_ld"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4380 $as_echo "$aros_host_ld" >&6; }
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4388 if test "$aros_host_ld" = ""; then
4389 # Extract the first word of "ld", so it can be a program name with args.
4390 set dummy ld
; ac_word
=$2
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4392 $as_echo_n "checking for $ac_word... " >&6; }
4393 if ${ac_cv_path_aros_host_ld+:} false
; then :
4394 $as_echo_n "(cached) " >&6
4396 case $aros_host_ld in
4398 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4405 test -z "$as_dir" && as_dir
=.
4406 for ac_exec_ext
in '' $ac_executable_extensions; do
4407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4408 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4419 aros_host_ld
=$ac_cv_path_aros_host_ld
4420 if test -n "$aros_host_ld"; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4422 $as_echo "$aros_host_ld" >&6; }
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4430 if test "$aros_host_ld" = ""; then
4431 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4433 aros_host_make
="make"
4434 aros_host_cflags
=$CFLAGS
4435 aros_host_cxxflags
=$CXXFLAGS
4436 aros_host_ldflags
=$LDFLAGS
4437 aros_host_debug
="-g -O0"
4438 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4439 aros_host_mkargs
="--no-print-directory"
4440 aros_host_exe_suffix
="$EXEEXT"
4441 aros_host_lib_suffix
=""
4443 # Ignore all compliance, AROS ROMs = 0
4444 # KickStart v1.0 = 30
4445 # KickStart v1.3 = 34
4446 # KickStart v2.0 = 37
4447 # KickStart v3.0 = 39
4448 # KickStart v3.1 = 40
4450 aros_amigaos_compliance
=0
4452 for ac_prog
in aclocal aclocal19 aclocal-1.9
4454 # Extract the first word of "$ac_prog", so it can be a program name with args.
4455 set dummy
$ac_prog; ac_word
=$2
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4457 $as_echo_n "checking for $ac_word... " >&6; }
4458 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4459 $as_echo_n "(cached) " >&6
4461 if test -n "$aros_host_aclocal"; then
4462 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4468 test -z "$as_dir" && as_dir
=.
4469 for ac_exec_ext
in '' $ac_executable_extensions; do
4470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4471 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4482 if test -n "$aros_host_aclocal"; then
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4484 $as_echo "$aros_host_aclocal" >&6; }
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4487 $as_echo "no" >&6; }
4491 test -n "$aros_host_aclocal" && break
4494 for ac_prog
in autoconf autoconf259 autoconf253
4496 # Extract the first word of "$ac_prog", so it can be a program name with args.
4497 set dummy
$ac_prog; ac_word
=$2
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4499 $as_echo_n "checking for $ac_word... " >&6; }
4500 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4501 $as_echo_n "(cached) " >&6
4503 if test -n "$aros_host_autoconf"; then
4504 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4510 test -z "$as_dir" && as_dir
=.
4511 for ac_exec_ext
in '' $ac_executable_extensions; do
4512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4513 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4523 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4524 if test -n "$aros_host_autoconf"; then
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4526 $as_echo "$aros_host_autoconf" >&6; }
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4529 $as_echo "no" >&6; }
4533 test -n "$aros_host_autoconf" && break
4536 for ac_prog
in autoheader autoheader259 autoheader253
4538 # Extract the first word of "$ac_prog", so it can be a program name with args.
4539 set dummy
$ac_prog; ac_word
=$2
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4543 $as_echo_n "(cached) " >&6
4545 if test -n "$aros_host_autoheader"; then
4546 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir
=.
4553 for ac_exec_ext
in '' $ac_executable_extensions; do
4554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4555 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4566 if test -n "$aros_host_autoheader"; then
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4568 $as_echo "$aros_host_autoheader" >&6; }
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571 $as_echo "no" >&6; }
4575 test -n "$aros_host_autoheader" && break
4578 for ac_prog
in automake automake19 automake-1.9
4580 # Extract the first word of "$ac_prog", so it can be a program name with args.
4581 set dummy
$ac_prog; ac_word
=$2
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4583 $as_echo_n "checking for $ac_word... " >&6; }
4584 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4585 $as_echo_n "(cached) " >&6
4587 if test -n "$aros_host_automake"; then
4588 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir
=.
4595 for ac_exec_ext
in '' $ac_executable_extensions; do
4596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4597 ac_cv_prog_aros_host_automake
="$ac_prog"
4598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 aros_host_automake
=$ac_cv_prog_aros_host_automake
4608 if test -n "$aros_host_automake"; then
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4610 $as_echo "$aros_host_automake" >&6; }
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4613 $as_echo "no" >&6; }
4617 test -n "$aros_host_automake" && break
4621 if test "$aros_host_aclocal" = ""; then
4622 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4624 if test "$aros_host_automake" = ""; then
4625 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4628 case "$aros_host_cc" in
4630 aros_host_cc_pipe
="-pipe"
4633 aros_host_cc_pipe
=""
4636 aros_host_cc_pipe
=""
4640 aros_kernel_cc_includes
=""
4641 aros_target_cc_includes
=""
4644 # ----------------------------------------------------------------------------------------
4645 # Host-specific defaults
4647 # This is the main host configuration section. It is where the host
4648 # can change the values of any variables it needs to change. We do
4649 # not look at anything that compiles to the target yet, we'll get
4654 aros_host_arch
="aros"
4655 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4658 aros_host_cpu
="i386"
4661 aros_host_cpu
="x86_64"
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4668 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4669 aros_host_cpu
="$host_cpu"
4675 aros_host_arch
="linux"
4676 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4677 android_build_os
="linux-x86"
4678 android_tool
="android"
4679 default_android_sdk
="/opt/android-sdk-linux_x86"
4682 aros_host_cpu
="i386"
4685 aros_host_cpu
="x86_64"
4688 aros_host_cpu
="m68k"
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4698 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4699 aros_host_cpu
="$host_cpu"
4705 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4706 aros_host_make
="gmake"
4707 aros_host_arch
="freebsd"
4708 aros_host_cpu
="i386"
4710 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4714 aros_object_format
="elf_i386"
4718 aros_object_format
="elf_i386_fbsd"
4725 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4726 aros_host_arch
="darwin"
4728 android_build_os
="darwin-x86"
4729 android_tool
="android"
4730 default_android_sdk
="/android-sdk-mac_x86"
4733 aros_host_cpu
="i386"
4736 aros_host_cpu
="x86_64"
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4743 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4744 aros_host_cpu
="$host_cpu"
4748 aros_host_ldflags
="$aros_host_ldflags -liconv"
4753 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4754 aros_host_make
="gmake"
4755 aros_host_arch
="dragonfly"
4758 aros_host_cpu
="i386"
4761 aros_host_cpu
="x86_64"
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4765 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4766 aros_host_cpu
="$host_cpu"
4772 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4773 aros_host_make
="gmake"
4774 aros_host_arch
="netbsd"
4777 aros_host_cpu
="i386"
4780 aros_host_cpu
="m68k"
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4784 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4785 aros_host_cpu
="$host_cpu"
4788 aros_host_lib_suffix
=".0.0"
4792 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4793 aros_host_make
="gmake"
4794 aros_host_arch
="openbsd"
4797 aros_host_cpu
="i386"
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4801 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4802 aros_host_cpu
="$host_cpu"
4808 aros_host_arch
="solaris"
4809 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4812 aros_host_cpu
="i386"
4815 aros_host_cpu
="sparc"
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4819 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4820 aros_host_cpu
="$host_cpu"
4826 aros_host_arch
="morphos"
4832 aros_host_arch
="amiga"
4838 TOUCH
="/gg/bin/touch"
4841 aros_host_cpu
="m68k"
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4848 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4849 aros_host_cpu
="$host_cpu"
4855 aros_host_arch
="cygwin"
4856 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4858 android_build_os
="windows"
4859 android_tool
="android.bat"
4860 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4864 aros_host_cpu
="i386"
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4868 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4869 aros_host_cpu
="$host_cpu"
4875 aros_host_arch
="mingw32"
4876 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4878 android_build_os
="windows"
4879 android_tool
="android.bat"
4880 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4886 $as_echo_n "checking for Windows native gcc target... " >&6; }
4887 host_cpu
=`gcc -dumpmachine`
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4889 $as_echo "$host_cpu" >&6; }
4896 aros_host_cpu
="i386"
4900 aros_host_cpu
="i386"
4904 aros_host_cpu
="x86_64"
4905 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4910 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4911 aros_host_cpu
="$host_cpu"
4916 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4920 # Extract the first word of "ar", so it can be a program name with args.
4921 set dummy
ar; ac_word
=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4925 $as_echo_n "(cached) " >&6
4927 if test -n "$aros_host_ar"; then
4928 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4934 test -z "$as_dir" && as_dir
=.
4935 for ac_exec_ext
in '' $ac_executable_extensions; do
4936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937 ac_cv_prog_aros_host_ar
="ar cr"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4947 aros_host_ar
=$ac_cv_prog_aros_host_ar
4948 if test -n "$aros_host_ar"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4950 $as_echo "$aros_host_ar" >&6; }
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4957 if test "$aros_host_ar" = ""; then
4958 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4960 # Extract the first word of "ranlib", so it can be a program name with args.
4961 set dummy ranlib
; ac_word
=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4965 $as_echo_n "(cached) " >&6
4967 if test -n "$aros_host_ranlib"; then
4968 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4974 test -z "$as_dir" && as_dir
=.
4975 for ac_exec_ext
in '' $ac_executable_extensions; do
4976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4977 ac_cv_prog_aros_host_ranlib
="ranlib "
4978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4987 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4988 if test -n "$aros_host_ranlib"; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4990 $as_echo "$aros_host_ranlib" >&6; }
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993 $as_echo "no" >&6; }
4997 if test "$aros_host_ranlib" = ""; then
4998 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5000 # Extract the first word of "strip", so it can be a program name with args.
5001 set dummy strip
; ac_word
=$2
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5003 $as_echo_n "checking for $ac_word... " >&6; }
5004 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5005 $as_echo_n "(cached) " >&6
5007 if test -n "$aros_host_strip"; then
5008 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5014 test -z "$as_dir" && as_dir
=.
5015 for ac_exec_ext
in '' $ac_executable_extensions; do
5016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5017 ac_cv_prog_aros_host_strip
="strip "
5018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 aros_host_strip
=$ac_cv_prog_aros_host_strip
5028 if test -n "$aros_host_strip"; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5030 $as_echo "$aros_host_strip" >&6; }
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5033 $as_echo "no" >&6; }
5037 if test "$aros_host_strip" = ""; then
5038 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5041 # Extract the first word of "rm", so it can be a program name with args.
5042 set dummy
rm; ac_word
=$2
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5044 $as_echo_n "checking for $ac_word... " >&6; }
5045 if ${ac_cv_prog_RM+:} false
; then :
5046 $as_echo_n "(cached) " >&6
5048 if test -n "$RM"; then
5049 ac_cv_prog_RM
="$RM" # Let the user override the test.
5051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5055 test -z "$as_dir" && as_dir
=.
5056 for ac_exec_ext
in '' $ac_executable_extensions; do
5057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5058 ac_cv_prog_RM
="rm -rf"
5059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 if test -n "$RM"; then
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5071 $as_echo "$RM" >&6; }
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5078 if test "$RM" = ""; then
5079 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5081 # Extract the first word of "cp", so it can be a program name with args.
5082 set dummy
cp; ac_word
=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if ${ac_cv_prog_CP+:} false
; then :
5086 $as_echo_n "(cached) " >&6
5088 if test -n "$CP"; then
5089 ac_cv_prog_CP
="$CP" # Let the user override the test.
5091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5095 test -z "$as_dir" && as_dir
=.
5096 for ac_exec_ext
in '' $ac_executable_extensions; do
5097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5109 if test -n "$CP"; then
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5111 $as_echo "$CP" >&6; }
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5118 if test "$CP" = ""; then
5119 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5121 # Extract the first word of "mv", so it can be a program name with args.
5122 set dummy
mv; ac_word
=$2
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5124 $as_echo_n "checking for $ac_word... " >&6; }
5125 if ${ac_cv_prog_MV+:} false
; then :
5126 $as_echo_n "(cached) " >&6
5128 if test -n "$MV"; then
5129 ac_cv_prog_MV
="$MV" # Let the user override the test.
5131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5135 test -z "$as_dir" && as_dir
=.
5136 for ac_exec_ext
in '' $ac_executable_extensions; do
5137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5149 if test -n "$MV"; then
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5151 $as_echo "$MV" >&6; }
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5154 $as_echo "no" >&6; }
5158 if test "$MV" = ""; then
5159 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5161 # Extract the first word of "echo", so it can be a program name with args.
5162 set dummy
echo; ac_word
=$2
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5164 $as_echo_n "checking for $ac_word... " >&6; }
5165 if ${ac_cv_prog_ECHO+:} false
; then :
5166 $as_echo_n "(cached) " >&6
5168 if test -n "$ECHO"; then
5169 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5175 test -z "$as_dir" && as_dir
=.
5176 for ac_exec_ext
in '' $ac_executable_extensions; do
5177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5178 ac_cv_prog_ECHO
="echo "
5179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5188 ECHO
=$ac_cv_prog_ECHO
5189 if test -n "$ECHO"; then
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5191 $as_echo "$ECHO" >&6; }
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5194 $as_echo "no" >&6; }
5198 if test "$ECHO" = ""; then
5199 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5201 # Extract the first word of "mkdir", so it can be a program name with args.
5202 set dummy mkdir
; ac_word
=$2
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204 $as_echo_n "checking for $ac_word... " >&6; }
5205 if ${ac_cv_prog_MKDIR+:} false
; then :
5206 $as_echo_n "(cached) " >&6
5208 if test -n "$MKDIR"; then
5209 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5215 test -z "$as_dir" && as_dir
=.
5216 for ac_exec_ext
in '' $ac_executable_extensions; do
5217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5218 ac_cv_prog_MKDIR
="mkdir -p"
5219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 MKDIR
=$ac_cv_prog_MKDIR
5229 if test -n "$MKDIR"; then
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5231 $as_echo "$MKDIR" >&6; }
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5234 $as_echo "no" >&6; }
5238 if test "$MKDIR" = ""; then
5239 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5241 # Extract the first word of "touch", so it can be a program name with args.
5242 set dummy
touch; ac_word
=$2
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5244 $as_echo_n "checking for $ac_word... " >&6; }
5245 if ${ac_cv_prog_TOUCH+:} false
; then :
5246 $as_echo_n "(cached) " >&6
5248 if test -n "$TOUCH"; then
5249 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir
=.
5256 for ac_exec_ext
in '' $ac_executable_extensions; do
5257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5258 ac_cv_prog_TOUCH
="touch "
5259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 TOUCH
=$ac_cv_prog_TOUCH
5269 if test -n "$TOUCH"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5271 $as_echo "$TOUCH" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5278 if test "$TOUCH" = ""; then
5279 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5281 # Extract the first word of "sort", so it can be a program name with args.
5282 set dummy
sort; ac_word
=$2
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5284 $as_echo_n "checking for $ac_word... " >&6; }
5285 if ${ac_cv_prog_SORT+:} false
; then :
5286 $as_echo_n "(cached) " >&6
5288 if test -n "$SORT"; then
5289 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5295 test -z "$as_dir" && as_dir
=.
5296 for ac_exec_ext
in '' $ac_executable_extensions; do
5297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5298 ac_cv_prog_SORT
="sort "
5299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5308 SORT
=$ac_cv_prog_SORT
5309 if test -n "$SORT"; then
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5311 $as_echo "$SORT" >&6; }
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5314 $as_echo "no" >&6; }
5318 if test "$SORT" = ""; then
5319 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5321 # Extract the first word of "uniq", so it can be a program name with args.
5322 set dummy
uniq; ac_word
=$2
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5324 $as_echo_n "checking for $ac_word... " >&6; }
5325 if ${ac_cv_prog_UNIQ+:} false
; then :
5326 $as_echo_n "(cached) " >&6
5328 if test -n "$UNIQ"; then
5329 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5335 test -z "$as_dir" && as_dir
=.
5336 for ac_exec_ext
in '' $ac_executable_extensions; do
5337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5338 ac_cv_prog_UNIQ
="uniq "
5339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5348 UNIQ
=$ac_cv_prog_UNIQ
5349 if test -n "$UNIQ"; then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5351 $as_echo "$UNIQ" >&6; }
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5358 if test "$UNIQ" = ""; then
5359 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5361 # Extract the first word of "true", so it can be a program name with args.
5362 set dummy true
; ac_word
=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_prog_NOP+:} false
; then :
5366 $as_echo_n "(cached) " >&6
5368 if test -n "$NOP"; then
5369 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5375 test -z "$as_dir" && as_dir
=.
5376 for ac_exec_ext
in '' $ac_executable_extensions; do
5377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5378 ac_cv_prog_NOP
="true "
5379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5389 if test -n "$NOP"; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5391 $as_echo "$NOP" >&6; }
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5398 if test "$NOP" = ""; then
5399 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5401 # Extract the first word of "cat", so it can be a program name with args.
5402 set dummy
cat; ac_word
=$2
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5404 $as_echo_n "checking for $ac_word... " >&6; }
5405 if ${ac_cv_prog_CAT+:} false
; then :
5406 $as_echo_n "(cached) " >&6
5408 if test -n "$CAT"; then
5409 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5415 test -z "$as_dir" && as_dir
=.
5416 for ac_exec_ext
in '' $ac_executable_extensions; do
5417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5418 ac_cv_prog_CAT
="cat "
5419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5429 if test -n "$CAT"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5431 $as_echo "$CAT" >&6; }
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5434 $as_echo "no" >&6; }
5438 if test "$CAT" = ""; then
5439 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5441 # Extract the first word of "bison", so it can be a program name with args.
5442 set dummy bison
; ac_word
=$2
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5444 $as_echo_n "checking for $ac_word... " >&6; }
5445 if ${ac_cv_prog_BISON+:} false
; then :
5446 $as_echo_n "(cached) " >&6
5448 if test -n "$BISON"; then
5449 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5455 test -z "$as_dir" && as_dir
=.
5456 for ac_exec_ext
in '' $ac_executable_extensions; do
5457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5458 ac_cv_prog_BISON
="bison "
5459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5468 BISON
=$ac_cv_prog_BISON
5469 if test -n "$BISON"; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5471 $as_echo "$BISON" >&6; }
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5474 $as_echo "no" >&6; }
5478 if test "$BISON" = ""; then
5479 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5481 # Extract the first word of "flex", so it can be a program name with args.
5482 set dummy flex
; ac_word
=$2
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5484 $as_echo_n "checking for $ac_word... " >&6; }
5485 if ${ac_cv_prog_FLEX+:} false
; then :
5486 $as_echo_n "(cached) " >&6
5488 if test -n "$FLEX"; then
5489 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5495 test -z "$as_dir" && as_dir
=.
5496 for ac_exec_ext
in '' $ac_executable_extensions; do
5497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5498 ac_cv_prog_FLEX
="flex "
5499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5508 FLEX
=$ac_cv_prog_FLEX
5509 if test -n "$FLEX"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5511 $as_echo "$FLEX" >&6; }
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5514 $as_echo "no" >&6; }
5518 if test "$FLEX" = ""; then
5519 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5521 # Extract the first word of "pngtopnm", so it can be a program name with args.
5522 set dummy pngtopnm
; ac_word
=$2
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524 $as_echo_n "checking for $ac_word... " >&6; }
5525 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5526 $as_echo_n "(cached) " >&6
5528 if test -n "$PNGTOPNM"; then
5529 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5535 test -z "$as_dir" && as_dir
=.
5536 for ac_exec_ext
in '' $ac_executable_extensions; do
5537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5538 ac_cv_prog_PNGTOPNM
="pngtopnm "
5539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5549 if test -n "$PNGTOPNM"; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5551 $as_echo "$PNGTOPNM" >&6; }
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554 $as_echo "no" >&6; }
5558 if test "$PNGTOPNM" = ""; then
5559 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5561 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5562 set dummy ppmtoilbm
; ac_word
=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5566 $as_echo_n "(cached) " >&6
5568 if test -n "$PPMTOILBM"; then
5569 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5575 test -z "$as_dir" && as_dir
=.
5576 for ac_exec_ext
in '' $ac_executable_extensions; do
5577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5578 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5588 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5589 if test -n "$PPMTOILBM"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5591 $as_echo "$PPMTOILBM" >&6; }
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5598 if test "$PPMTOILBM" = ""; then
5599 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5601 # Extract the first word of "sed", so it can be a program name with args.
5602 set dummy
sed; ac_word
=$2
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 $as_echo_n "checking for $ac_word... " >&6; }
5605 if ${ac_cv_prog_SED+:} false
; then :
5606 $as_echo_n "(cached) " >&6
5608 if test -n "$SED"; then
5609 ac_cv_prog_SED
="$SED" # Let the user override the test.
5611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir
=.
5616 for ac_exec_ext
in '' $ac_executable_extensions; do
5617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5618 ac_cv_prog_SED
="sed "
5619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 if test -n "$SED"; then
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5631 $as_echo "$SED" >&6; }
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5634 $as_echo "no" >&6; }
5638 if test "$SED" = ""; then
5639 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5641 # Extract the first word of "chmod", so it can be a program name with args.
5642 set dummy
chmod; ac_word
=$2
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644 $as_echo_n "checking for $ac_word... " >&6; }
5645 if ${ac_cv_prog_CHMOD+:} false
; then :
5646 $as_echo_n "(cached) " >&6
5648 if test -n "$CHMOD"; then
5649 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5655 test -z "$as_dir" && as_dir
=.
5656 for ac_exec_ext
in '' $ac_executable_extensions; do
5657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5658 ac_cv_prog_CHMOD
="chmod "
5659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5668 CHMOD
=$ac_cv_prog_CHMOD
5669 if test -n "$CHMOD"; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5671 $as_echo "$CHMOD" >&6; }
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5678 if test "$CHMOD" = ""; then
5679 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5681 # Extract the first word of "patch", so it can be a program name with args.
5682 set dummy
patch; ac_word
=$2
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684 $as_echo_n "checking for $ac_word... " >&6; }
5685 if ${ac_cv_prog_PATCH+:} false
; then :
5686 $as_echo_n "(cached) " >&6
5688 if test -n "$PATCH"; then
5689 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5695 test -z "$as_dir" && as_dir
=.
5696 for ac_exec_ext
in '' $ac_executable_extensions; do
5697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5698 ac_cv_prog_PATCH
="patch "
5699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 PATCH
=$ac_cv_prog_PATCH
5709 if test -n "$PATCH"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5711 $as_echo "$PATCH" >&6; }
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }
5718 if test "$PATCH" = ""; then
5719 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5728 if test -n "$PYTHON"; then
5729 # If the user set $PYTHON, use it and don't search something else.
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5731 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5733 # split strings by '.' and convert to numeric. Append some zeros
5734 # because we need at least 4 digits for the hex conversion.
5735 # map returns an iterator in Python 3.0 and a list in 2.x
5736 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5738 # xrange is not present in Python 3.0 and range returns an iterator
5739 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5740 sys.exit(sys.hexversion < minverhex)"
5741 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5742 ($PYTHON -c "$prog") >&5 2>&5
5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 (exit $ac_status); }; then :
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5747 $as_echo "yes" >&6; }
5749 as_fn_error $?
"too old" "$LINENO" 5
5751 am_display_PYTHON
=$PYTHON
5753 # Otherwise, try each interpreter until we find one that satisfies
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5756 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5757 if ${am_cv_pathless_PYTHON+:} false
; then :
5758 $as_echo_n "(cached) " >&6
5761 for am_cv_pathless_PYTHON
in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none
; do
5762 test "$am_cv_pathless_PYTHON" = none
&& break
5764 # split strings by '.' and convert to numeric. Append some zeros
5765 # because we need at least 4 digits for the hex conversion.
5766 # map returns an iterator in Python 3.0 and a list in 2.x
5767 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5769 # xrange is not present in Python 3.0 and range returns an iterator
5770 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5771 sys.exit(sys.hexversion < minverhex)"
5772 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5773 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; then :
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5782 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5783 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5784 if test "$am_cv_pathless_PYTHON" = none
; then
5787 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5788 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5790 $as_echo_n "checking for $ac_word... " >&6; }
5791 if ${ac_cv_path_PYTHON+:} false
; then :
5792 $as_echo_n "(cached) " >&6
5796 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5803 test -z "$as_dir" && as_dir
=.
5804 for ac_exec_ext
in '' $ac_executable_extensions; do
5805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5806 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5817 PYTHON
=$ac_cv_path_PYTHON
5818 if test -n "$PYTHON"; then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5820 $as_echo "$PYTHON" >&6; }
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 $as_echo "no" >&6; }
5828 am_display_PYTHON
=$am_cv_pathless_PYTHON
5832 if test "$PYTHON" = :; then
5833 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5838 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5839 if ${am_cv_python_version+:} false
; then :
5840 $as_echo_n "(cached) " >&6
5842 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5845 $as_echo "$am_cv_python_version" >&6; }
5846 PYTHON_VERSION
=$am_cv_python_version
5850 PYTHON_PREFIX
='${prefix}'
5852 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5857 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5858 if ${am_cv_python_platform+:} false
; then :
5859 $as_echo_n "(cached) " >&6
5861 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5864 $as_echo "$am_cv_python_platform" >&6; }
5865 PYTHON_PLATFORM
=$am_cv_python_platform
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5871 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5872 if ${am_cv_python_pythondir+:} false
; then :
5873 $as_echo_n "(cached) " >&6
5875 if test "x$prefix" = xNONE
5877 am_py_prefix
=$ac_default_prefix
5879 am_py_prefix
=$prefix
5881 am_cv_python_pythondir
=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
5882 case $am_cv_python_pythondir in
5884 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5885 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5888 case $am_py_prefix in
5891 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5899 $as_echo "$am_cv_python_pythondir" >&6; }
5900 pythondir
=$am_cv_python_pythondir
5904 pkgpythondir
=\
${pythondir}/$PACKAGE
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5908 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5909 if ${am_cv_python_pyexecdir+:} false
; then :
5910 $as_echo_n "(cached) " >&6
5912 if test "x$exec_prefix" = xNONE
5914 am_py_exec_prefix
=$am_py_prefix
5916 am_py_exec_prefix
=$exec_prefix
5918 am_cv_python_pyexecdir
=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
5919 case $am_cv_python_pyexecdir in
5920 $am_py_exec_prefix*)
5921 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5922 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5925 case $am_py_exec_prefix in
5928 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5936 $as_echo "$am_cv_python_pyexecdir" >&6; }
5937 pyexecdir
=$am_cv_python_pyexecdir
5941 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5959 # Check for some includes for the X11 HIDD and the kernel
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5963 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5964 if ${ac_cv_path_GREP+:} false
; then :
5965 $as_echo_n "(cached) " >&6
5967 if test -z "$GREP"; then
5968 ac_path_GREP_found
=false
5969 # Loop through the user's path and test for each of PROGNAME-LIST
5970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5971 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5974 test -z "$as_dir" && as_dir
=.
5975 for ac_prog
in grep ggrep
; do
5976 for ac_exec_ext
in '' $ac_executable_extensions; do
5977 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5978 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5979 # Check for GNU ac_path_GREP and select it if it is found.
5980 # Check for GNU $ac_path_GREP
5981 case `"$ac_path_GREP" --version 2>&1` in
5983 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5986 $as_echo_n 0123456789 >"conftest.in"
5989 cat "conftest.in" "conftest.in" >"conftest.tmp"
5990 mv "conftest.tmp" "conftest.in"
5991 cp "conftest.in" "conftest.nl"
5992 $as_echo 'GREP' >> "conftest.nl"
5993 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5994 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5995 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5996 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5997 # Best one so far, save it but keep looking for a better one
5998 ac_cv_path_GREP
="$ac_path_GREP"
5999 ac_path_GREP_max
=$ac_count
6001 # 10*(2^10) chars as input seems more than enough
6002 test $ac_count -gt 10 && break
6004 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6007 $ac_path_GREP_found && break 3
6012 if test -z "$ac_cv_path_GREP"; then
6013 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6016 ac_cv_path_GREP
=$GREP
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6021 $as_echo "$ac_cv_path_GREP" >&6; }
6022 GREP
="$ac_cv_path_GREP"
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6026 $as_echo_n "checking for egrep... " >&6; }
6027 if ${ac_cv_path_EGREP+:} false
; then :
6028 $as_echo_n "(cached) " >&6
6030 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6031 then ac_cv_path_EGREP
="$GREP -E"
6033 if test -z "$EGREP"; then
6034 ac_path_EGREP_found
=false
6035 # Loop through the user's path and test for each of PROGNAME-LIST
6036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6037 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6040 test -z "$as_dir" && as_dir
=.
6041 for ac_prog
in egrep; do
6042 for ac_exec_ext
in '' $ac_executable_extensions; do
6043 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6044 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6045 # Check for GNU ac_path_EGREP and select it if it is found.
6046 # Check for GNU $ac_path_EGREP
6047 case `"$ac_path_EGREP" --version 2>&1` in
6049 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6052 $as_echo_n 0123456789 >"conftest.in"
6055 cat "conftest.in" "conftest.in" >"conftest.tmp"
6056 mv "conftest.tmp" "conftest.in"
6057 cp "conftest.in" "conftest.nl"
6058 $as_echo 'EGREP' >> "conftest.nl"
6059 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6060 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6061 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6062 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6063 # Best one so far, save it but keep looking for a better one
6064 ac_cv_path_EGREP
="$ac_path_EGREP"
6065 ac_path_EGREP_max
=$ac_count
6067 # 10*(2^10) chars as input seems more than enough
6068 test $ac_count -gt 10 && break
6070 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6073 $ac_path_EGREP_found && break 3
6078 if test -z "$ac_cv_path_EGREP"; then
6079 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6082 ac_cv_path_EGREP
=$EGREP
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6088 $as_echo "$ac_cv_path_EGREP" >&6; }
6089 EGREP
="$ac_cv_path_EGREP"
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6093 $as_echo_n "checking for ANSI C header files... " >&6; }
6094 if ${ac_cv_header_stdc+:} false
; then :
6095 $as_echo_n "(cached) " >&6
6097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6098 /* end confdefs.h. */
6112 if ac_fn_c_try_compile
"$LINENO"; then :
6113 ac_cv_header_stdc
=yes
6115 ac_cv_header_stdc
=no
6117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6119 if test $ac_cv_header_stdc = yes; then
6120 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6122 /* end confdefs.h. */
6126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6127 $EGREP "memchr" >/dev
/null
2>&1; then :
6130 ac_cv_header_stdc
=no
6136 if test $ac_cv_header_stdc = yes; then
6137 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6139 /* end confdefs.h. */
6143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6144 $EGREP "free" >/dev
/null
2>&1; then :
6147 ac_cv_header_stdc
=no
6153 if test $ac_cv_header_stdc = yes; then
6154 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6155 if test "$cross_compiling" = yes; then :
6158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6159 /* end confdefs.h. */
6162 #if ((' ' & 0x0FF) == 0x020)
6163 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6164 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6166 # define ISLOWER(c) \
6167 (('a' <= (c) && (c) <= 'i') \
6168 || ('j' <= (c) && (c) <= 'r') \
6169 || ('s' <= (c) && (c) <= 'z'))
6170 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6173 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6178 for (i = 0; i < 256; i++)
6179 if (XOR (islower (i), ISLOWER (i))
6180 || toupper (i) != TOUPPER (i))
6185 if ac_fn_c_try_run
"$LINENO"; then :
6188 ac_cv_header_stdc
=no
6190 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6191 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6197 $as_echo "$ac_cv_header_stdc" >&6; }
6198 if test $ac_cv_header_stdc = yes; then
6200 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6204 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6205 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6206 inttypes.h stdint.h unistd.h
6208 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6209 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6211 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6212 cat >>confdefs.h
<<_ACEOF
6213 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6221 for ac_header
in sys
/ipc.h sys
/shm.h \
6222 sys
/mmap.h sys
/mman.h sysexits.h \
6223 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6226 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6227 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6228 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6229 cat >>confdefs.h
<<_ACEOF
6230 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6238 for ac_header
in sys
/mount.h
6240 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6242 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6243 cat >>confdefs.h
<<_ACEOF
6244 #define HAVE_SYS_MOUNT_H 1
6253 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6254 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6256 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6257 if eval \
${$as_ac_Header+:} false
; then :
6258 $as_echo_n "(cached) " >&6
6260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6261 /* end confdefs.h. */
6262 #include <sys/types.h>
6274 if ac_fn_c_try_compile
"$LINENO"; then :
6275 eval "$as_ac_Header=yes"
6277 eval "$as_ac_Header=no"
6279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6281 eval ac_res
=\$
$as_ac_Header
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6283 $as_echo "$ac_res" >&6; }
6284 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6285 cat >>confdefs.h
<<_ACEOF
6286 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6289 ac_header_dirent
=$ac_hdr; break
6293 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6294 if test $ac_header_dirent = dirent.h
; then
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6296 $as_echo_n "checking for library containing opendir... " >&6; }
6297 if ${ac_cv_search_opendir+:} false
; then :
6298 $as_echo_n "(cached) " >&6
6300 ac_func_search_save_LIBS
=$LIBS
6301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6302 /* end confdefs.h. */
6304 /* Override any GCC internal prototype to avoid an error.
6305 Use char because int might match the return type of a GCC
6306 builtin and then its argument prototype would still apply. */
6319 for ac_lib
in '' dir
; do
6320 if test -z "$ac_lib"; then
6321 ac_res
="none required"
6324 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6326 if ac_fn_c_try_link
"$LINENO"; then :
6327 ac_cv_search_opendir
=$ac_res
6329 rm -f core conftest.err conftest.
$ac_objext \
6331 if ${ac_cv_search_opendir+:} false
; then :
6335 if ${ac_cv_search_opendir+:} false
; then :
6338 ac_cv_search_opendir
=no
6341 LIBS
=$ac_func_search_save_LIBS
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6344 $as_echo "$ac_cv_search_opendir" >&6; }
6345 ac_res
=$ac_cv_search_opendir
6346 if test "$ac_res" != no
; then :
6347 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6353 $as_echo_n "checking for library containing opendir... " >&6; }
6354 if ${ac_cv_search_opendir+:} false
; then :
6355 $as_echo_n "(cached) " >&6
6357 ac_func_search_save_LIBS
=$LIBS
6358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6359 /* end confdefs.h. */
6361 /* Override any GCC internal prototype to avoid an error.
6362 Use char because int might match the return type of a GCC
6363 builtin and then its argument prototype would still apply. */
6376 for ac_lib
in '' x
; do
6377 if test -z "$ac_lib"; then
6378 ac_res
="none required"
6381 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6383 if ac_fn_c_try_link
"$LINENO"; then :
6384 ac_cv_search_opendir
=$ac_res
6386 rm -f core conftest.err conftest.
$ac_objext \
6388 if ${ac_cv_search_opendir+:} false
; then :
6392 if ${ac_cv_search_opendir+:} false
; then :
6395 ac_cv_search_opendir
=no
6398 LIBS
=$ac_func_search_save_LIBS
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6401 $as_echo "$ac_cv_search_opendir" >&6; }
6402 ac_res
=$ac_cv_search_opendir
6403 if test "$ac_res" != no
; then :
6404 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6411 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6412 if ${ac_cv_header_stat_broken+:} false
; then :
6413 $as_echo_n "(cached) " >&6
6415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6416 /* end confdefs.h. */
6417 #include <sys/types.h>
6418 #include <sys/stat.h>
6420 #if defined S_ISBLK && defined S_IFDIR
6421 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6424 #if defined S_ISBLK && defined S_IFCHR
6425 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6428 #if defined S_ISLNK && defined S_IFREG
6429 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6432 #if defined S_ISSOCK && defined S_IFREG
6433 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6437 if ac_fn_c_try_compile
"$LINENO"; then :
6438 ac_cv_header_stat_broken
=no
6440 ac_cv_header_stat_broken
=yes
6442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6445 $as_echo "$ac_cv_header_stat_broken" >&6; }
6446 if test $ac_cv_header_stat_broken = yes; then
6448 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6453 $as_echo_n "checking for ANSI C header files... " >&6; }
6454 if ${ac_cv_header_stdc+:} false
; then :
6455 $as_echo_n "(cached) " >&6
6457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6458 /* end confdefs.h. */
6472 if ac_fn_c_try_compile
"$LINENO"; then :
6473 ac_cv_header_stdc
=yes
6475 ac_cv_header_stdc
=no
6477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6479 if test $ac_cv_header_stdc = yes; then
6480 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6482 /* end confdefs.h. */
6486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6487 $EGREP "memchr" >/dev
/null
2>&1; then :
6490 ac_cv_header_stdc
=no
6496 if test $ac_cv_header_stdc = yes; then
6497 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6499 /* end confdefs.h. */
6503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6504 $EGREP "free" >/dev
/null
2>&1; then :
6507 ac_cv_header_stdc
=no
6513 if test $ac_cv_header_stdc = yes; then
6514 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6515 if test "$cross_compiling" = yes; then :
6518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6519 /* end confdefs.h. */
6522 #if ((' ' & 0x0FF) == 0x020)
6523 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6524 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6526 # define ISLOWER(c) \
6527 (('a' <= (c) && (c) <= 'i') \
6528 || ('j' <= (c) && (c) <= 'r') \
6529 || ('s' <= (c) && (c) <= 'z'))
6530 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6533 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6538 for (i = 0; i < 256; i++)
6539 if (XOR (islower (i), ISLOWER (i))
6540 || toupper (i) != TOUPPER (i))
6545 if ac_fn_c_try_run
"$LINENO"; then :
6548 ac_cv_header_stdc
=no
6550 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6551 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6557 $as_echo "$ac_cv_header_stdc" >&6; }
6558 if test $ac_cv_header_stdc = yes; then
6560 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6565 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6566 if ${ac_cv_header_sys_wait_h+:} false
; then :
6567 $as_echo_n "(cached) " >&6
6569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6571 #include <sys/types.h>
6572 #include <sys/wait.h>
6574 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6577 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6585 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6590 if ac_fn_c_try_compile
"$LINENO"; then :
6591 ac_cv_header_sys_wait_h
=yes
6593 ac_cv_header_sys_wait_h
=no
6595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6598 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6599 if test $ac_cv_header_sys_wait_h = yes; then
6601 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6606 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6607 if ${ac_cv_header_time+:} false
; then :
6608 $as_echo_n "(cached) " >&6
6610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h. */
6612 #include <sys/types.h>
6613 #include <sys/time.h>
6619 if ((struct tm *) 0)
6625 if ac_fn_c_try_compile
"$LINENO"; then :
6626 ac_cv_header_time
=yes
6628 ac_cv_header_time
=no
6630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6633 $as_echo "$ac_cv_header_time" >&6; }
6634 if test $ac_cv_header_time = yes; then
6636 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6640 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6641 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6643 cat >>confdefs.h
<<_ACEOF
6644 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6648 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6653 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6654 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6656 cat >>confdefs.h
<<_ACEOF
6657 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6661 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6664 case " $LIBOBJS " in
6665 *" fileblocks.$ac_objext "* ) ;;
6666 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6673 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6674 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6676 cat >>confdefs.h
<<_ACEOF
6677 #define HAVE_STRUCT_STAT_ST_RDEV 1
6681 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6687 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6688 if ${ac_cv_struct_tm+:} false
; then :
6689 $as_echo_n "(cached) " >&6
6691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6692 /* end confdefs.h. */
6693 #include <sys/types.h>
6700 int *p = &tm.tm_sec;
6706 if ac_fn_c_try_compile
"$LINENO"; then :
6707 ac_cv_struct_tm
=time.h
6709 ac_cv_struct_tm
=sys
/time.h
6711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6714 $as_echo "$ac_cv_struct_tm" >&6; }
6715 if test $ac_cv_struct_tm = sys
/time.h
; then
6717 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6721 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6722 #include <$ac_cv_struct_tm>
6725 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6727 cat >>confdefs.h
<<_ACEOF
6728 #define HAVE_STRUCT_TM_TM_ZONE 1
6734 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6736 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6739 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6741 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6747 cat >>confdefs.h
<<_ACEOF
6748 #define HAVE_DECL_TZNAME $ac_have_decl
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6752 $as_echo_n "checking for tzname... " >&6; }
6753 if ${ac_cv_var_tzname+:} false
; then :
6754 $as_echo_n "(cached) " >&6
6756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6757 /* end confdefs.h. */
6759 #if !HAVE_DECL_TZNAME
6760 extern char *tzname[];
6766 return tzname[0][0];
6771 if ac_fn_c_try_link
"$LINENO"; then :
6772 ac_cv_var_tzname
=yes
6776 rm -f core conftest.err conftest.
$ac_objext \
6777 conftest
$ac_exeext conftest.
$ac_ext
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6780 $as_echo "$ac_cv_var_tzname" >&6; }
6781 if test $ac_cv_var_tzname = yes; then
6783 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6788 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6789 if test "x$ac_cv_type_off_t" = xyes
; then :
6793 cat >>confdefs.h
<<_ACEOF
6794 #define off_t long int
6799 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6800 if test "x$ac_cv_type_pid_t" = xyes
; then :
6804 cat >>confdefs.h
<<_ACEOF
6810 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6811 if test "x$ac_cv_type_size_t" = xyes
; then :
6815 cat >>confdefs.h
<<_ACEOF
6816 #define size_t unsigned int
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6822 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6823 if ${ac_cv_type_uid_t+:} false
; then :
6824 $as_echo_n "(cached) " >&6
6826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6827 /* end confdefs.h. */
6828 #include <sys/types.h>
6831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6832 $EGREP "uid_t" >/dev
/null
2>&1; then :
6833 ac_cv_type_uid_t
=yes
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6841 $as_echo "$ac_cv_type_uid_t" >&6; }
6842 if test $ac_cv_type_uid_t = no
; then
6844 $as_echo "#define uid_t int" >>confdefs.h
6847 $as_echo "#define gid_t int" >>confdefs.h
6852 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6853 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6855 cat >>confdefs.h
<<_ACEOF
6856 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6863 # Look for some functions
6864 for ac_func
in getpagesize kqueue statfs statvfs \
6865 clone kse_create rfork_thread thr_create sa_register \
6866 getcontext makecontext setcontext sigaltstack swapcontext
6868 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6869 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6870 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6871 cat >>confdefs.h
<<_ACEOF
6872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6882 for ac_header
in $ac_header_list
6884 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6885 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6887 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6888 cat >>confdefs.h
<<_ACEOF
6889 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6903 for ac_func
in getpagesize
6905 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6906 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6907 cat >>confdefs.h
<<_ACEOF
6908 #define HAVE_GETPAGESIZE 1
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6915 $as_echo_n "checking for working mmap... " >&6; }
6916 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6917 $as_echo_n "(cached) " >&6
6919 if test "$cross_compiling" = yes; then :
6920 ac_cv_func_mmap_fixed_mapped
=no
6922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6923 /* end confdefs.h. */
6924 $ac_includes_default
6925 /* malloc might have been renamed as rpl_malloc. */
6928 /* Thanks to Mike Haertel and Jim Avera for this test.
6929 Here is a matrix of mmap possibilities:
6930 mmap private not fixed
6931 mmap private fixed at somewhere currently unmapped
6932 mmap private fixed at somewhere already mapped
6933 mmap shared not fixed
6934 mmap shared fixed at somewhere currently unmapped
6935 mmap shared fixed at somewhere already mapped
6936 For private mappings, we should verify that changes cannot be read()
6937 back from the file, nor mmap's back from the file at a different
6938 address. (There have been systems where private was not correctly
6939 implemented like the infamous i386 svr4.0, and systems where the
6940 VM page cache was not coherent with the file system buffer cache
6941 like early versions of FreeBSD and possibly contemporary NetBSD.)
6942 For shared mappings, we should conversely verify that changes get
6943 propagated back to all the places they're supposed to be.
6945 Grep wants private fixed already mapped.
6946 The main things grep needs to know about mmap are:
6947 * does it exist and is it safe to write into the mmap'd area
6948 * how to use it (BSD variants) */
6951 #include <sys/mman.h>
6953 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6957 /* This mess was copied from the GNU getpagesize.h. */
6958 #ifndef HAVE_GETPAGESIZE
6959 # ifdef _SC_PAGESIZE
6960 # define getpagesize() sysconf(_SC_PAGESIZE)
6961 # else /* no _SC_PAGESIZE */
6962 # ifdef HAVE_SYS_PARAM_H
6963 # include <sys/param.h>
6964 # ifdef EXEC_PAGESIZE
6965 # define getpagesize() EXEC_PAGESIZE
6966 # else /* no EXEC_PAGESIZE */
6968 # define getpagesize() NBPG * CLSIZE
6971 # endif /* no CLSIZE */
6972 # else /* no NBPG */
6974 # define getpagesize() NBPC
6975 # else /* no NBPC */
6977 # define getpagesize() PAGESIZE
6978 # endif /* PAGESIZE */
6979 # endif /* no NBPC */
6980 # endif /* no NBPG */
6981 # endif /* no EXEC_PAGESIZE */
6982 # else /* no HAVE_SYS_PARAM_H */
6983 # define getpagesize() 8192 /* punt totally */
6984 # endif /* no HAVE_SYS_PARAM_H */
6985 # endif /* no _SC_PAGESIZE */
6987 #endif /* no HAVE_GETPAGESIZE */
6992 char *data, *data2, *data3;
6997 pagesize = getpagesize ();
6999 /* First, make a file with some known garbage in it. */
7000 data = (char *) malloc (pagesize);
7003 for (i = 0; i < pagesize; ++i)
7004 *(data + i) = rand ();
7006 fd = creat ("conftest.mmap", 0600);
7009 if (write (fd, data, pagesize) != pagesize)
7013 /* Next, check that the tail of a page is zero-filled. File must have
7014 non-zero length, otherwise we risk SIGBUS for entire page. */
7015 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7019 if (write (fd2, cdata2, 1) != 1)
7021 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7022 if (data2 == MAP_FAILED)
7024 for (i = 0; i < pagesize; ++i)
7028 if (munmap (data2, pagesize))
7031 /* Next, try to mmap the file at a fixed address which already has
7032 something else allocated at it. If we can, also make sure that
7033 we see the same garbage. */
7034 fd = open ("conftest.mmap", O_RDWR);
7037 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7038 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7040 for (i = 0; i < pagesize; ++i)
7041 if (*(data + i) != *(data2 + i))
7044 /* Finally, make sure that changes to the mapped area do not
7045 percolate back to the file as seen by read(). (This is a bug on
7046 some variants of i386 svr4.0.) */
7047 for (i = 0; i < pagesize; ++i)
7048 *(data2 + i) = *(data2 + i) + 1;
7049 data3 = (char *) malloc (pagesize);
7052 if (read (fd, data3, pagesize) != pagesize)
7054 for (i = 0; i < pagesize; ++i)
7055 if (*(data + i) != *(data3 + i))
7061 if ac_fn_c_try_run
"$LINENO"; then :
7062 ac_cv_func_mmap_fixed_mapped
=yes
7064 ac_cv_func_mmap_fixed_mapped
=no
7066 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7067 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7072 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7073 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7075 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7078 rm -f conftest.mmap conftest.txt
7083 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7084 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7085 aros_config_ldflags
=""
7087 aros_shared_default
=yes
7089 aros_shared_cflags
="-fPIC"
7090 aros_shared_aflags
=""
7091 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7092 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7094 aros_kernel_ar_flags
="cr"
7095 aros_target_ar_flags
="cr"
7096 aros_target_nm_flags
="-C -ul"
7097 aros_target_strip_flags
="--strip-unneeded -R.comment"
7102 aros_target_genmap
="-Wl,-Map -Xlinker"
7104 # Native flavour stuff
7105 aros_serial_debug
="0"
7107 # Palm native flavour stuff
7108 aros_palm_debug_hack
="0"
7110 # Unix flavour stuff
7111 aros_nesting_supervisor
="0"
7113 # Collect-aros stuff: "-ius" to ignore undefined symbols
7114 ignore_undefined_symbols
=""
7116 # Check for X11 by default
7119 #-----------------------------------------------------------------------------
7122 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7123 # it switched on by default, and we use the host compiler, so it compiles AROS
7124 # code with this enabled resulting in link failures as we don't have support
7127 # We use two methods to disable it. For the host compiler (used to compile
7128 # some hosted modules), we test to see if the compiler supports stack
7129 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7130 # work on all platforms.
7132 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7133 # (this is done unconditionally, as it should have no effect on compilers
7134 # without the stack protection feature). This may be specific to the way that
7135 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7136 # strong enough to disable it in a generic way though, so we'll live with it
7137 # until another vendor ships GCC with it enabled in a different way, and deal
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7142 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7143 save_cflags
="$CFLAGS"
7144 CFLAGS
="$CFLAGS -fno-stack-protector"
7145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7146 /* end confdefs.h. */
7156 if ac_fn_c_try_compile
"$LINENO"; then :
7157 use_no_stack_protector
="yes"
7159 use_no_stack_protector
="no"
7161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7163 $as_echo "$use_no_stack_protector" >&6; }
7164 if test "x-$use_no_stack_protector" = "x-yes" ; then
7165 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7167 CFLAGS
="$save_cflags"
7169 #-----------------------------------------------------------------------------
7171 # Disable pointer-signedness warnings if the compiler recognises the option
7172 # (this only works for the host compiler at the moment)
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7175 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7176 save_cflags
="$CFLAGS"
7177 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7179 /* end confdefs.h. */
7189 if ac_fn_c_try_compile
"$LINENO"; then :
7190 use_no_sign_warning
="yes"
7192 use_no_sign_warning
="no"
7194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7196 $as_echo "$use_no_sign_warning" >&6; }
7197 if test "x-$use_no_sign_warning" = "x-yes" ; then
7198 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7200 CFLAGS
="$save_cflags"
7202 #-----------------------------------------------------------------------------
7204 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7207 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7208 save_cflags
="$CFLAGS"
7209 CFLAGS
="$CFLAGS -fgnu89-inline"
7210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7211 /* end confdefs.h. */
7221 if ac_fn_c_try_compile
"$LINENO"; then :
7222 use_gnu89_inline
="yes"
7224 use_gnu89_inline
="no"
7226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7228 $as_echo "$use_gnu89_inline" >&6; }
7229 if test "x-$use_gnu89_inline" = "x-yes" ; then
7230 gnu89_inline
="-fgnu89-inline"
7232 CFLAGS
="$save_cflags"
7234 #-----------------------------------------------------------------------------
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7237 $as_echo_n "checking for type of build... " >&6; }
7238 # Check whether --enable-build_type was given.
7239 if test "${enable_build_type+set}" = set; then :
7240 enableval
=$enable_build_type; build_type
=$enableval
7242 build_type
="personal"
7246 if test "$build_type" = "nightly"; then
7247 build_type_string
="NIGHTLY"
7248 elif test "$build_type" = "snapshot"; then
7249 build_type_string
="SNAPSHOT"
7250 elif test "$build_type" = "milestone"; then
7251 build_type_string
="MILESTONE"
7252 elif test "$build_type" = "release"; then
7253 build_type_string
="RELEASE"
7255 build_type_string
="PERSONAL"
7256 build_type
="personal"
7259 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7262 $as_echo "$build_type" >&6; }
7264 #-----------------------------------------------------------------------------
7265 all_debug_types
="messages stack modules mungwall symbols"
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7268 $as_echo_n "checking which debug types to enable... " >&6; }
7269 # Check whether --enable-debug was given.
7270 if test "${enable_debug+set}" = set; then :
7271 enableval
=$enable_debug; debug
="$enableval"
7277 if test "$debug" = "" -o "$debug" = "no"; then
7279 elif test "$debug" = "yes"; then
7283 if test "$debug" = "all" ; then
7284 debug
="messages stack modules symbols"
7285 for d
in $all_debug_types; do
7286 export aros_
${d}_debug
="1"
7289 for d
in $all_debug_types; do
7290 export aros_
${d}_debug
="0"
7294 if test "$debug" != "none"; then
7295 debug
=`echo $debug | sed s/,/\ /g`
7298 for d2
in $all_debug_types; do
7299 if test "$d2" = "$d"; then
7304 if test "$found" = "0"; then
7305 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7307 export aros_
${d}_debug
="1"
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7312 $as_echo "$debug" >&6; }
7314 if test "$aros_messages_debug" = "1"; then
7315 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7317 aros_messages_debug
=""
7319 if test "$aros_symbols_debug" = "1"; then
7320 aros_symbols_debug
="-g"
7322 aros_symbols_debug
=""
7325 # These are the flags to pass when compiling debugged programs
7326 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7327 aros_debug_aflags
=""
7328 aros_debug_ldflags
="$aros_symbols_debug"
7330 #-----------------------------------------------------------------------------
7331 # Checking for distcc and ccache.
7333 # Always apply the transforms in this particular order. Basically you should
7334 # always run 'ccache distcc compiler' in that order for the best performance.
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7337 $as_echo_n "checking whether to enable distcc... " >&6; }
7338 # Check whether --enable-distcc was given.
7339 if test "${enable_distcc+set}" = set; then :
7340 enableval
=$enable_distcc; distcc
="$enableval"
7345 if test "$distcc" != "" -a "$distcc" != "no"; then
7346 # AC_CHECK_PROG will print out the result in this case
7347 # Extract the first word of "distcc", so it can be a program name with args.
7348 set dummy distcc
; ac_word
=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if ${ac_cv_path_DISTCC+:} false
; then :
7352 $as_echo_n "(cached) " >&6
7356 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7363 test -z "$as_dir" && as_dir
=.
7364 for ac_exec_ext
in '' $ac_executable_extensions; do
7365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7366 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7374 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7378 DISTCC
=$ac_cv_path_DISTCC
7379 if test -n "$DISTCC"; then
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7381 $as_echo "$DISTCC" >&6; }
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7384 $as_echo "no" >&6; }
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 $as_echo "no" >&6; }
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7394 $as_echo_n "checking whether to enable ccache... " >&6; }
7395 # Check whether --enable-ccache was given.
7396 if test "${enable_ccache+set}" = set; then :
7397 enableval
=$enable_ccache; ccache
="$enableval"
7402 if test "$ccache" != "" -a "$ccache" != "no"; then
7403 # AC_CHECK_PROG will print out the result in this case
7404 # Extract the first word of "ccache", so it can be a program name with args.
7405 set dummy ccache
; ac_word
=$2
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7407 $as_echo_n "checking for $ac_word... " >&6; }
7408 if ${ac_cv_prog_CCACHE+:} false
; then :
7409 $as_echo_n "(cached) " >&6
7411 if test -n "$CCACHE"; then
7412 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7418 test -z "$as_dir" && as_dir
=.
7419 for ac_exec_ext
in '' $ac_executable_extensions; do
7420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7421 ac_cv_prog_CCACHE
="ccache"
7422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7431 CCACHE
=$ac_cv_prog_CCACHE
7432 if test -n "$CCACHE"; then
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7434 $as_echo "$CCACHE" >&6; }
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7437 $as_echo "no" >&6; }
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7443 $as_echo "no" >&6; }
7446 #-----------------------------------------------------------------------------
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7448 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7450 # Check whether --with-gcc-version was given.
7451 if test "${with_gcc_version+set}" = set; then :
7452 withval
=$with_gcc_version; kernel_tool_version
="$withval"
7454 kernel_tool_version
="default"
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7458 $as_echo "$kernel_tool_version" >&6; }
7460 #-----------------------------------------------------------------------------
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7462 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7464 # Check whether --with-gcc-version was given.
7465 if test "${with_gcc_version+set}" = set; then :
7466 withval
=$with_gcc_version; target_tool_version
="$withval"
7468 target_tool_version
="default"
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7472 $as_echo "$target_tool_version" >&6; }
7474 #-----------------------------------------------------------------------------
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7476 $as_echo_n "checking what optimization flags to use... " >&6; }
7478 # Check whether --with-optimization was given.
7479 if test "${with_optimization+set}" = set; then :
7480 withval
=$with_optimization; optimization
="$withval"
7482 optimization
="unknown"
7485 if test "$optimization" = "unknown"; then
7486 if test "$debug" != "none"; then
7492 aros_config_cflags
="$aros_config_cflags $optimization"
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7494 $as_echo "$optimization" >&6; }
7496 #-----------------------------------------------------------------------------
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7498 $as_echo_n "checking what paranoia flags to use... " >&6; }
7500 # Check whether --with-paranoia was given.
7501 if test "${with_paranoia+set}" = set; then :
7502 withval
=$with_paranoia; paranoia_flags
="$withval"
7504 paranoia_flags
="default"
7507 if test "$paranoia_flags" = "default"; then
7509 else if test "$paranoia_flags" = "yes"; then
7510 paranoia_flags
="-Wall -Werror"
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7513 $as_echo "$paranoia_flags" >&6; }
7514 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7516 #-----------------------------------------------------------------------------
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7518 $as_echo_n "checking what target variant to enable... " >&6; }
7519 # Check whether --enable-target_variant was given.
7520 if test "${enable_target_variant+set}" = set; then :
7521 enableval
=$enable_target_variant; target_variant
=$enableval
7526 if test "$target_variant" = ""; then
7527 aros_target_variant
=""
7528 aros_target_suffix
=""
7531 aros_target_variant
="$target_variant"
7532 aros_target_suffix
="-$target_variant"
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7535 $as_echo "$enableval" >&6; }
7537 #-----------------------------------------------------------------------------
7538 # Target-specific defaults. You can override then on a per-target basis.
7540 # Bootloader name. Currently used by PC target.
7541 target_bootloader
="none"
7543 #-----------------------------------------------------------------------------
7544 # Additional options for some specific targets
7546 case "$aros_target_variant" in
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7549 $as_echo_n "checking XCode path... " >&6; }
7551 # Check whether --with-xcode was given.
7552 if test "${with_xcode+set}" = set; then :
7553 withval
=$with_xcode; aros_xcode_path
="$withval"
7555 aros_xcode_path
="/Developer"
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7559 $as_echo "$aros_xcode_path" >&6; }
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7562 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7564 # Check whether --with-sdk-version was given.
7565 if test "${with_sdk_version+set}" = set; then :
7566 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7568 aros_sdk_version
="4.1"
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7572 $as_echo "$aros_sdk_version" >&6; }
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7578 $as_echo_n "checking Android SDK path... " >&6; }
7580 # Check whether --with-sdk was given.
7581 if test "${with_sdk+set}" = set; then :
7582 withval
=$with_sdk; aros_android_sdk
="$withval"
7584 aros_android_sdk
=$default_android_sdk
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7588 $as_echo "$aros_android_sdk" >&6; }
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7591 $as_echo_n "checking Android NDK path... " >&6; }
7593 # Check whether --with-ndk was given.
7594 if test "${with_ndk+set}" = set; then :
7595 withval
=$with_ndk; aros_android_ndk
="$withval"
7597 aros_android_ndk
="none"
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7601 $as_echo "$aros_android_ndk" >&6; }
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7604 $as_echo_n "checking what Android SDK version to use... " >&6; }
7606 # Check whether --with-sdk-version was given.
7607 if test "${with_sdk_version+set}" = set; then :
7608 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7610 aros_sdk_version
="12"
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7614 $as_echo "$aros_sdk_version" >&6; }
7616 if test "$aros_android_ndk" != "none"; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7618 $as_echo_n "checking what Android NDK version to use... " >&6; }
7620 # Check whether --with-ndk-version was given.
7621 if test "${with_ndk_version+set}" = set; then :
7622 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7624 aros_ndk_version
="9"
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7628 $as_echo "$aros_ndk_version" >&6; }
7631 export PATH
="$aros_android_sdk/tools:$PATH"
7632 # Extract the first word of "$android_tool", so it can be a program name with args.
7633 set dummy
$android_tool; ac_word
=$2
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7635 $as_echo_n "checking for $ac_word... " >&6; }
7636 if ${ac_cv_path_android_tool+:} false
; then :
7637 $as_echo_n "(cached) " >&6
7639 case $android_tool in
7641 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7648 test -z "$as_dir" && as_dir
=.
7649 for ac_exec_ext
in '' $ac_executable_extensions; do
7650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7651 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7662 android_tool
=$ac_cv_path_android_tool
7663 if test -n "$android_tool"; then
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7665 $as_echo "$android_tool" >&6; }
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7668 $as_echo "no" >&6; }
7672 if test "$android_tool" = ""; then
7673 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7676 aros_android_level
=android-
$aros_sdk_version
7677 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7678 echo "Platform $aros_android_level is not installed in your SDK"
7679 echo "Use --with-sdk-version=<API level number> to select another platform version"
7680 echo "You can check what plaform versions are installed in your SDK"
7681 echo "by examining contents of $aros_android_sdk/platforms directory"
7682 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7685 # Extract the first word of "ant", so it can be a program name with args.
7686 set dummy ant
; ac_word
=$2
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7688 $as_echo_n "checking for $ac_word... " >&6; }
7689 if ${ac_cv_path_ant+:} false
; then :
7690 $as_echo_n "(cached) " >&6
7694 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7701 test -z "$as_dir" && as_dir
=.
7702 for ac_exec_ext
in '' $ac_executable_extensions; do
7703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7704 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7716 if test -n "$ant"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7718 $as_echo "$ant" >&6; }
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7721 $as_echo "no" >&6; }
7725 if test "$ant" = ""; then
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7727 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7730 if test "$host_os" = "mingw32"; then
7731 android_tool
="cmd //c $android_tool"
7737 #-----------------------------------------------------------------------------
7738 # External toolchains
7739 kernel_tool_prefix
="none"
7740 aros_tool_prefix
="none"
7741 elf_tool_prefix
="${target_cpu}-elf-"
7743 # This is the target configuration switch.
7744 case "$target_os" in
7746 aros_target_arch
="linux"
7747 aros_target_family
="unix"
7748 case "$target_cpu" in
7750 aros_target_cpu
="m68k"
7751 aros_object_format
="m68kelf"
7752 aros_flavour
="emulcompat"
7753 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7754 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7755 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7756 gcc_target_cpu
="mc68000"
7759 aros_target_cpu
="i386"
7760 aros_object_format
="elf_i386"
7761 aros_flavour
="emulation"
7762 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7763 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7764 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7765 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7766 aros_config_ldflags
="-m32 -march=i486"
7767 aros_kernel_ldflags
="-melf_i386"
7768 aros_default_wbdepth
=8
7769 gcc_target_cpu
="i386"
7770 pci_hidd_target
="hidd-pci-linux"
7771 android_tool_dir_prefix
="x86"
7772 android_tool_prefix
="i686-android-linux"
7773 android_ndk_arch
="x86"
7776 aros_target_cpu
="x86_64"
7777 aros_object_format
="elf_x86_64"
7778 aros_flavour
="emulation"
7779 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7780 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7781 aros_default_wbdepth
=8
7782 pci_hidd_target
="hidd-pci-linux"
7785 aros_target_cpu
="ppc"
7786 aros_object_format
="elf32ppc"
7787 aros_flavour
="emulation"
7788 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7789 aros_default_wbdepth
=8
7790 gcc_target_cpu
="ppc"
7793 # Same as powerpc, but I need this for the nightly build to work again.
7794 # Actually, the nightly should be made working with powerpc target.
7795 # That just was too much work for the moment, another week or two.
7797 aros_target_cpu
="ppc"
7798 aros_object_format
="elf32ppc"
7799 aros_flavour
="emulation"
7800 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7801 aros_default_wbdepth
=8
7802 gcc_target_cpu
="ppc"
7805 aros_target_cpu
="arm"
7806 aros_object_format
="armelf_linux_eabi"
7807 aros_flavour
="emulation"
7808 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7809 gcc_target_cpu
="arm"
7810 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7811 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7812 aros_arch_libs
="-laeabi"
7813 android_tool_dir_prefix
="arm-linux-androideabi"
7814 android_tool_prefix
="arm-linux-androideabi"
7815 android_ndk_arch
="arm"
7816 kernel_tool_prefix
="arm-linux-gnueabi-"
7819 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7822 case "$aros_target_variant" in
7825 if test "$android_ndk_arch" = ""; then
7826 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7829 aros_default_wbwidth
=320
7830 aros_default_wbheight
=480
7831 if test "$aros_android_ndk" = "none"; then
7832 aros_kernel_cflags
="-mandroid"
7833 aros_kernel_ldflags
="-mandroid"
7836 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7837 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7838 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7839 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7840 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7841 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7844 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7845 # Disable implicit PIC mode
7846 aros_target_cflags
="$aros_target_cflags -fno-pic"
7847 kernel_tool_prefix
="$android_tool_prefix-"
7853 aros_target_arch
="pc"
7854 aros_shared_default
="no"
7855 target_bootloader
="grub2"
7856 case "$target_cpu" in
7858 aros_target_cpu
="i386"
7861 if test "$aros_object_format" = "" ; then
7862 aros_object_format
="elf_i386"
7864 aros_flavour
="standalone"
7865 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7866 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7867 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7868 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7869 aros_config_ldflags
="-m32 -march=i486"
7870 aros_kernel_ldflags
="-melf_i386"
7871 aros_default_wbwidth
=640
7872 aros_default_wbheight
=480
7873 gcc_target_cpu
="i386"
7876 aros_target_cpu
="x86_64"
7878 if test "$aros_object_format" = "" ; then
7879 aros_object_format
="elf_x86_64"
7881 aros_flavour
="standalone"
7882 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7883 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7884 aros_kernel_ldflags
=""
7885 aros_default_wbwidth
=640
7886 aros_default_wbheight
=480
7889 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7895 aros_target_arch
="prep"
7896 aros_shared_default
="no"
7897 aros_target_cpu
="ppc"
7898 aros_object_format
="elf32ppc"
7899 aros_flavour
="ppcnative"
7900 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7901 aros_kernel_ldflags
=""
7902 aros_default_wbwidth
=640
7903 aros_default_wbheight
=480
7904 gcc_target_cpu
="ppc"
7908 aros_target_arch
="freebsd"
7909 aros_target_family
="unix"
7910 aros_target_cpu
="i386"
7911 aros_flavour
="emulation"
7912 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7913 gcc_target_cpu
="i386"
7915 aros_target_strip_flags
="-x"
7919 aros_target_arch
="darwin"
7920 aros_target_family
="unix"
7921 aros_flavour
="emulation"
7922 case "$target_cpu" in
7924 aros_ios_platform
="iPhoneSimulator"
7925 aros_target_cpu
="i386"
7926 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7927 aros_kernel_ldflags
=""
7928 aros_macosx_version
="10.4"
7929 aros_default_wbdepth
=8
7930 gcc_target_cpu
="i386"
7931 aros_object_format
="elf_i386"
7932 aros_kernel_ar_flags
="-cr"
7933 aros_target_strip_flags
="-x"
7934 kernel_tool_flags
="-m32"
7937 aros_target_cpu
="x86_64"
7938 aros_object_format
="elf_x86_64"
7939 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7940 aros_macosx_version
="10.6"
7941 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7942 aros_kernel_cflags
="-m64"
7943 aros_kernel_ldflags
="-m64"
7944 aros_target_cflags
="-mcmodel=large"
7945 aros_default_wbdepth
=8
7947 aros_kernel_ar_flags
="-cr"
7949 aros_kernel_ranlib
="ranlib"
7952 aros_target_cpu
="ppc"
7953 aros_object_format
="elf32ppc"
7954 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7955 aros_kernel_ldflags
=""
7956 aros_macosx_version
="10.0"
7957 aros_default_wbdepth
=8
7958 gcc_target_cpu
="ppc"
7960 aros_kernel_ar_flags
="-cr"
7961 aros_kernel_ld
="ld -arch ppc"
7962 aros_kernel_ranlib
="ranlib -arch ppc"
7963 kernel_tool_prefix
="powerpc-apple-darwin10-"
7966 aros_ios_platform
="iPhoneOS"
7967 aros_target_cpu
="arm"
7968 aros_object_format
="armelf_linux_eabi"
7969 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7970 aros_arch_libs
="-laeabi"
7971 aros_default_wbdepth
=8
7972 gcc_target_cpu
="arm"
7974 aros_kernel_ar_flags
="-cr"
7975 aros_kernel_ld
="ld -arch arm"
7976 aros_kernel_ranlib
="ranlib -arch arm"
7977 kernel_tool_prefix
="arm-apple-darwin10-"
7978 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7981 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7984 case "$aros_target_variant" in
7986 aros_ios_version
="3.0"
7987 aros_default_wbwidth
=320
7988 aros_default_wbheight
=480
7989 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
7990 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
7991 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7993 # This is here because it may depend on iOS or SDK version
7994 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7995 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7996 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7999 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8000 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8006 aros_target_arch
="dragonfly"
8007 aros_target_family
="unix"
8008 aros_flavour
="emulation"
8009 case "$target_cpu" in
8011 aros_target_cpu
="i386"
8012 aros_object_format
="elf_i386"
8013 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8016 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8017 aros_target_cpu
="x86_64"
8018 aros_object_format
="elf_x86_64"
8019 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8022 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8028 aros_target_arch
="netbsd"
8029 aros_target_family
="unix"
8030 case "$target_cpu" in
8032 aros_target_cpu
="m68k"
8033 aros_object_format
="m68kelf"
8034 aros_flavour
="emulcompat"
8035 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8036 gcc_target_cpu
="mc68000"
8039 aros_target_cpu
="i386"
8040 aros_object_format
="elf_i386"
8041 aros_flavour
="emulation"
8042 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8043 aros_default_wbdepth
=8
8044 gcc_target_cpu
="i386"
8047 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8050 aros_target_genmap
="-Wl,-M -Xlinker >"
8051 aros_flavour
="emulation"
8052 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8056 aros_target_arch
="openbsd"
8057 aros_target_family
="unix"
8058 case "$target_cpu" in
8060 aros_target_cpu
="i386"
8061 aros_object_format
="elf_i386"
8062 aros_flavour
="emulation"
8063 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8064 gcc_target_cpu
="i386"
8067 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8070 aros_target_genmap
="-Wl,-M -Xlinker >"
8071 aros_target_nm_flags
="-u"
8072 aros_flavour
="emulation"
8076 aros_target_arch
="solaris"
8077 aros_target_family
="unix"
8078 case "$target_cpu" in
8080 aros_target_cpu
="i386"
8081 aros_object_format
="elf_i386"
8082 aros_flavour
="emulation"
8083 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8084 aros_default_wbdepth
=8
8085 gcc_target_cpu
="i386"
8088 aros_target_cpu
="sparc"
8089 aros_object_format
="elf_sparc"
8090 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8091 gcc_target_cpu
="sparc"
8094 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8097 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8098 aros_flavour
="emulation"
8102 aros_target_arch
="morphos"
8103 aros_shared_default
="no"
8104 aros_target_cpu
="ppc"
8105 aros_object_format
="elf_ppc"
8106 aros_flavour
="nativecompat"
8107 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8108 gcc_target_cpu
="ppc"
8112 aros_target_arch
="sam440"
8113 aros_shared_default
="no"
8114 aros_target_cpu
="ppc"
8115 aros_object_format
="elf32ppc"
8116 aros_flavour
="ppcnative"
8117 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8118 aros_kernel_ldflags
=""
8119 aros_default_wbwidth
=1024
8120 aros_default_wbheight
=768
8121 aros_default_wbdepth
=24
8122 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8123 gcc_target_cpu
="powerpc"
8127 aros_target_arch
="efika"
8128 aros_shared_default
="no"
8129 aros_target_cpu
="arm"
8130 aros_object_format
="armelf_linux_eabi"
8131 aros_flavour
="standalone"
8132 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8133 aros_kernel_ldflags
=""
8134 aros_default_wbwidth
=1024
8135 aros_default_wbheight
=600
8136 aros_arch_libs
="-laeabi"
8137 gcc_default_cpu
="armv7-a"
8138 gcc_default_fpu
="vfpv3"
8139 gcc_default_float_abi
="softfp"
8140 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8141 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8145 aros_target_arch
="chrp"
8146 aros_shared_default
="no"
8147 aros_target_cpu
="ppc"
8148 aros_object_format
="elf32ppc"
8149 aros_flavour
="ppcnative"
8150 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8151 aros_kernel_ldflags
=""
8152 aros_default_wbwidth
=640
8153 aros_default_wbheight
=480
8154 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8155 gcc_target_cpu
="powerpc"
8156 case "$aros_target_variant" in
8158 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8164 aros_target_arch
="amiga"
8165 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8166 aros_shared_default
="no"
8168 case "$target_cpu" in
8170 # Check whether --enable-amigaos_compliance was given.
8171 if test "${enable_amigaos_compliance+set}" = set; then :
8172 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8176 aros_target_cpu
="m68k"
8177 aros_object_format
="m68kelf"
8178 aros_flavour
="standcompat"
8179 gcc_target_cpu
="m68000"
8180 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -Os"
8181 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
8182 # Needed to get the correct multilib
8183 aros_config_ldflags
="-${gcc_target_cpu}"
8184 aros_shared_ldflags
="-${gcc_target_cpu}"
8185 aros_kernel_ldflags
="-${gcc_target_cpu}"
8186 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
8187 aros_target_strip_flags
="-R.comment --strip-debug"
8188 aros_default_wbwidth
=640
8189 aros_default_wbheight
=256
8190 aros_default_wbdepth
=2
8194 aros_flavour
="native"
8195 gcc_target_cpu
="ppc"
8198 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8204 aros_target_arch
="mingw32"
8205 aros_shared_default
="no"
8206 aros_flavour
="emulation"
8207 aros_shared_cflags
=""
8208 need_crosstools
="yes"
8211 case "$target_cpu" in
8213 aros_target_cpu
="i386"
8214 aros_object_format
="elf_i386"
8215 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8216 aros_default_wbdepth
=8
8217 gcc_target_cpu
="i386"
8219 kernel_tool_prefix
="i386-mingw32-"
8222 aros_target_cpu
="x86_64"
8223 aros_object_format
="elf_x86_64"
8224 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8225 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8226 aros_default_wbdepth
=8
8227 kernel_tool_prefix
="x86_64-w64-mingw32-"
8230 aros_target_cpu
="arm"
8231 aros_object_format
="armelf_linux_eabi"
8232 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8233 aros_arch_libs
="-laeabi"
8234 aros_default_wbdepth
=8
8235 gcc_target_cpu
="arm"
8236 gcc_default_float_abi
="soft"
8237 kernel_tool_prefix
="arm-mingw32ce-"
8238 aros_default_wbwidth
=160
8239 aros_default_wbheight
=160
8242 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8245 if test $host_os = "cygwin"; then
8246 aros_kernel_cflags
="-mno-cygwin"
8250 aros_target_arch
="pp"
8251 aros_shared_default
="no"
8252 case "$target_cpu" in
8254 aros_target_cpu
="m68k"
8255 aros_object_format
="m68kelf"
8256 aros_flavour
="palmnative"
8257 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8258 aros_default_wbwidth
=160
8259 aros_default_wbheight
=160
8260 aros_default_wbdepth
=1
8261 aros_target_ar_flags
="cru"
8262 aros_compiler_libs
="-lgcc1"
8263 aros_shared_default
=no
8264 aros_shared_cflags
="-fpic"
8265 aros_shared_aflags
=""
8266 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8267 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8268 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8269 aros_debug_aflags
=""
8270 aros_debug_ldflags
="$aros_symbols_debug"
8271 aros_mungwall_debug
="0"
8272 aros_modules_debug
="0"
8273 gcc_target_cpu
="mc68000"
8274 ignore_undefined_symbols
="-ius"
8277 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8283 aros_target_arch
="mac"
8284 aros_shared_default
="no"
8285 case "$target_cpu" in
8287 aros_target_cpu
="m68k"
8288 aros_object_format
="m68kelf"
8289 aros_flavour
="mac68knative"
8290 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8291 aros_default_wbwidth
=512
8292 aros_default_wbheight
=384
8293 aros_default_wbdepth
=8
8294 aros_target_ar_flags
="cru"
8295 aros_compiler_libs
="-lgcc1"
8296 aros_shared_default
=no
8297 aros_shared_cflags
="-fpic"
8298 aros_shared_aflags
=""
8299 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8300 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8301 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000"
8302 aros_debug_aflags
=""
8303 aros_debug_ldflags
="$aros_symbols_debug"
8304 aros_mungwall_debug
="0"
8305 aros_modules_debug
="0"
8306 gcc_target_cpu
="mc68000"
8307 ignore_undefined_symbols
="-ius"
8310 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8316 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8320 #-----------------------------------------------------------------------------
8321 crosstools_guess
=yes
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8324 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8326 # Check whether --with-kernel-toolchain-prefix was given.
8327 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8328 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8332 $as_echo "$kernel_tool_prefix" >&6; }
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8335 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8337 # Check whether --with-elf-toolchain-prefix was given.
8338 if test "${with_elf_toolchain_prefix+set}" = set; then :
8339 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8344 $as_echo "$elf_tool_prefix" >&6; }
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8347 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8349 # Check whether --with-aros-toolchain was given.
8350 if test "${with_aros_toolchain+set}" = set; then :
8351 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8355 if test "$aros_tool_prefix" = "yes" ; then
8356 aros_tool_prefix
=$aros_target_cpu-aros-
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8359 $as_echo "$aros_tool_prefix" >&6; }
8361 #-----------------------------------------------------------------------------
8362 # Checking if we should build crosstools..
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8364 $as_echo_n "checking whether to build crosstools... " >&6; }
8365 # Check whether --enable-crosstools was given.
8366 if test "${enable_crosstools+set}" = set; then :
8367 enableval
=$enable_crosstools; crosstools
="$enableval"
8369 crosstools
="$crosstools_guess"
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8373 $as_echo "$crosstools" >&6; }
8375 if test "${crosstools}" = "yes"; then
8376 if test "${crosstools_guess}" = "no"; then
8377 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8382 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8384 # Check whether --with-aros-toolchain-install was given.
8385 if test "${with_aros_toolchain_install+set}" = set; then :
8386 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8389 if test "x$aros_toolchain_install" = "x"; then
8390 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8392 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8393 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8396 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8399 # Now process extra architecture-specific options.
8400 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8401 # as well as floating-point ABI.
8402 case "$aros_target_cpu" in
8404 if test "$gcc_default_cpu" = ""; then
8405 gcc_default_cpu
="armv6"
8407 if test "$gcc_default_fpu" = ""; then
8408 gcc_default_fpu
="vfp"
8410 if test "$gcc_default_float_abi" = ""; then
8411 gcc_default_float_abi
="softfp"
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8415 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8417 # Check whether --with-cpu was given.
8418 if test "${with_cpu+set}" = set; then :
8419 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8421 aros_gcc_cpu
=$gcc_default_cpu
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8425 $as_echo "$aros_gcc_cpu" >&6; }
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8428 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8430 # Check whether --with-fpu was given.
8431 if test "${with_fpu+set}" = set; then :
8432 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8434 aros_gcc_fpu
=$gcc_default_fpu
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8438 $as_echo "$aros_gcc_fpu" >&6; }
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8441 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8443 # Check whether --with-float was given.
8444 if test "${with_float+set}" = set; then :
8445 withval
=$with_float; aros_gcc_float_abi
="$withval"
8447 aros_gcc_float_abi
=$gcc_default_float_abi
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8451 $as_echo "$aros_gcc_float_abi" >&6; }
8453 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"
8454 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"
8458 # Some formats need custom ELF specs.
8459 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8460 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8461 elf_specs_in
=config
/${aros_object_format}-specs.
in
8463 elf_specs_in
=config
/elf-specs.
in
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8467 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8469 # Check whether --with-aros-gcc was given.
8470 if test "${with_aros_gcc+set}" = set; then :
8471 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8477 $as_echo "$aros_gcc_version" >&6; }
8479 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8480 # Since we override specs, we may need to put these defines there
8481 if test "$gcc_target_cpu" != ""; then
8482 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8486 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8488 # Check whether --with-portssources was given.
8489 if test "${with_portssources+set}" = set; then :
8490 withval
=$with_portssources; with_portssrcdir
=$withval
8492 with_portssrcdir
="default"
8495 if test "$with_portssrcdir" = "default"; then
8496 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8498 AROS_PORTSSRCDIR
="$with_portssrcdir"
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8501 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8504 $as_echo_n "checking which bootloader to use... " >&6; }
8506 # Check whether --with-bootloader was given.
8507 if test "${with_bootloader+set}" = set; then :
8508 withval
=$with_bootloader; target_bootloader
=$withval
8510 target_bootloader
=$target_bootloader
8513 if test "$target_bootloader" = "none"; then
8514 aros_target_bootloader
=""
8516 aros_target_bootloader
="$target_bootloader"
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8519 $as_echo "$target_bootloader" >&6; }
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8522 $as_echo_n "checking which icon-set to use... " >&6; }
8524 # Check whether --with-iconset was given.
8525 if test "${with_iconset+set}" = set; then :
8526 withval
=$with_iconset; target_iconset
=$withval
8528 target_iconset
="default"
8531 if test "$target_iconset" = "default"; then
8532 aros_target_iconset
="Gorilla"
8533 target_iconset
="default (Gorilla)"
8535 aros_target_iconset
="$target_iconset"
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8538 $as_echo "$target_iconset" >&6; }
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8541 $as_echo_n "checking which GUI Theme to use... " >&6; }
8543 # Check whether --with-theme was given.
8544 if test "${with_theme+set}" = set; then :
8545 withval
=$with_theme; target_guitheme
=$withval
8547 target_guitheme
="default"
8550 if test "$target_guitheme" = "default"; then
8551 aros_target_guitheme
="Ice"
8553 aros_target_guitheme
="$target_guitheme"
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8556 $as_echo "$aros_target_guitheme" >&6; }
8558 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8562 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8566 if test "$aros_host_cpu" == "x86_64" ; then
8567 if test "$aros_target_cpu" == "i386" ; then
8572 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8573 if test "$aros_host_arch" != "$aros_target_arch" ; then
8577 if test "$host_cc_elf" = "no" ; then
8582 if test "$cross_compiling" = "no" ; then
8583 kernel_tool_prefix
=""
8584 if test "$host_cc_elf" = "yes" ; then
8589 #######################################################################
8590 ## Compute what toolchains to use, and their paths ##
8591 #######################################################################
8593 # This takes, as input:
8594 # crosstools {yes,no}
8595 # aros_gcc_version {default,[version]}
8596 # kernel_tool_prefix {none,[some-arch-os-]}
8597 # aros_tool_prefix ${target_cpu}-aros-
8600 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8601 # Where the 'kernel' binaries are located
8602 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8603 # Where the 'target' binaries are located
8604 # (not the symlink farm - that is aros_target_*!)
8607 # if crosstools then
8608 # if kernel_tools_prefix = "no-kernel-prefix-"
8609 # aros_kernel_* = crosstools cc paths
8610 # aros_kernel_cc = elf cc wrapper around crosstools cc
8612 # VALIDATE(${kernel_tools_prefix}*)
8613 # aros_kernel_* = ${kernel_tools_prefix}*
8614 # if ${kernel_tools_prefix}cc is an AROS gcc
8615 # aros_kernel_cc = ${kernel_tools_prefix}cc
8617 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8621 # orig_target_* = aros built crosstools
8622 # orig_target_cc = elf cc wrapper around crosstools cc
8624 # VALIDATE(${kernel_tools_prefix}*)
8626 # orig_target_* = aros_kernel_*
8627 # if aros_kernel_cc is an AROS gcc
8628 # orig_target_cc = aros_kernel_cc
8630 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8634 target_tool_prefix
="${target_cpu}-aros-"
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8637 $as_echo_n "checking which kernel tools... " >&6; }
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8639 $as_echo "$kernel_tool_prefix" >&6; };
8641 if test "$kernel_tool_prefix" = "none" ; then
8642 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8643 as_fn_error $?
"--with-kernel-tool-prefix= is required for this arch" "$LINENO" 5
8646 # Kernel tools required - find them
8647 # Note that 'normally', aros_kernel_* overrides will
8648 # empty, unless specified in the per-arch sections above.
8650 if test "$aros_kernel_cpp" = ""; then
8651 if test "$cross_compiling" = "yes" ; then
8652 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8653 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8655 $as_echo_n "checking for $ac_word... " >&6; }
8656 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8657 $as_echo_n "(cached) " >&6
8659 case $aros_kernel_cpp in
8661 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8668 test -z "$as_dir" && as_dir
=.
8669 for ac_exec_ext
in '' $ac_executable_extensions; do
8670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8671 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8682 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8683 if test -n "$aros_kernel_cpp"; then
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8685 $as_echo "$aros_kernel_cpp" >&6; }
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8688 $as_echo "no" >&6; }
8693 if test "$GCC" = "yes"; then
8694 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8695 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8696 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8698 $as_echo_n "checking for $ac_word... " >&6; }
8699 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8700 $as_echo_n "(cached) " >&6
8702 case $aros_kernel_cpp in
8704 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8708 for as_dir
in `dirname $aros_gcc_cpp`
8711 test -z "$as_dir" && as_dir
=.
8712 for ac_exec_ext
in '' $ac_executable_extensions; do
8713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8714 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8725 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8726 if test -n "$aros_kernel_cpp"; then
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8728 $as_echo "$aros_kernel_cpp" >&6; }
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8731 $as_echo "no" >&6; }
8736 if test "$aros_kernel_cpp" = ""; then
8737 # Extract the first word of "cpp", so it can be a program name with args.
8738 set dummy cpp
; ac_word
=$2
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8740 $as_echo_n "checking for $ac_word... " >&6; }
8741 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8742 $as_echo_n "(cached) " >&6
8744 case $aros_kernel_cpp in
8746 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8753 test -z "$as_dir" && as_dir
=.
8754 for ac_exec_ext
in '' $ac_executable_extensions; do
8755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8756 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8767 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8768 if test -n "$aros_kernel_cpp"; then
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8770 $as_echo "$aros_kernel_cpp" >&6; }
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8773 $as_echo "no" >&6; }
8780 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
8781 set dummy
$aros_kernel_cpp; ac_word
=$2
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8783 $as_echo_n "checking for $ac_word... " >&6; }
8784 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8785 $as_echo_n "(cached) " >&6
8787 case $aros_kernel_cpp in
8789 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8796 test -z "$as_dir" && as_dir
=.
8797 for ac_exec_ext
in '' $ac_executable_extensions; do
8798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8799 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8810 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8811 if test -n "$aros_kernel_cpp"; then
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8813 $as_echo "$aros_kernel_cpp" >&6; }
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8816 $as_echo "no" >&6; }
8822 if test "$aros_kernel_cpp" = ""; then
8823 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8825 if test "x$aros_kernel_cc" = "x"; then
8826 aros_kernel_cc
=${kernel_tool_prefix}gcc
8829 if test "$aros_kernel_cc${aros_gcc_version}" = ""; then
8830 if test "$cross_compiling" = "yes" ; then
8831 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8832 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8834 $as_echo_n "checking for $ac_word... " >&6; }
8835 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8836 $as_echo_n "(cached) " >&6
8838 case $aros_kernel_cc in
8840 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8847 test -z "$as_dir" && as_dir
=.
8848 for ac_exec_ext
in '' $ac_executable_extensions; do
8849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8850 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8861 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8862 if test -n "$aros_kernel_cc"; then
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8864 $as_echo "$aros_kernel_cc" >&6; }
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8867 $as_echo "no" >&6; }
8872 if test "$GCC" = "yes"; then
8873 aros_gcc_cc
=`$CC -print-prog-name=cc`
8874 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8875 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8877 $as_echo_n "checking for $ac_word... " >&6; }
8878 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8879 $as_echo_n "(cached) " >&6
8881 case $aros_kernel_cc in
8883 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8887 for as_dir
in `dirname $aros_gcc_cc`
8890 test -z "$as_dir" && as_dir
=.
8891 for ac_exec_ext
in '' $ac_executable_extensions; do
8892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8893 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8904 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8905 if test -n "$aros_kernel_cc"; then
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8907 $as_echo "$aros_kernel_cc" >&6; }
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8910 $as_echo "no" >&6; }
8915 if test "$aros_kernel_cc" = ""; then
8916 # Extract the first word of "cc", so it can be a program name with args.
8917 set dummy cc
; ac_word
=$2
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8919 $as_echo_n "checking for $ac_word... " >&6; }
8920 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8921 $as_echo_n "(cached) " >&6
8923 case $aros_kernel_cc in
8925 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8932 test -z "$as_dir" && as_dir
=.
8933 for ac_exec_ext
in '' $ac_executable_extensions; do
8934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8935 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8946 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8947 if test -n "$aros_kernel_cc"; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8949 $as_echo "$aros_kernel_cc" >&6; }
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8952 $as_echo "no" >&6; }
8959 # Extract the first word of "$aros_kernel_cc${aros_gcc_version}", so it can be a program name with args.
8960 set dummy
$aros_kernel_cc${aros_gcc_version}; ac_word
=$2
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8962 $as_echo_n "checking for $ac_word... " >&6; }
8963 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8964 $as_echo_n "(cached) " >&6
8966 case $aros_kernel_cc in
8968 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8975 test -z "$as_dir" && as_dir
=.
8976 for ac_exec_ext
in '' $ac_executable_extensions; do
8977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8978 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8989 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8990 if test -n "$aros_kernel_cc"; then
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8992 $as_echo "$aros_kernel_cc" >&6; }
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8995 $as_echo "no" >&6; }
9001 if test "$aros_kernel_cc" = ""; then
9002 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9004 if test "x$aros_kernel_cxx" = "x"; then
9005 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9008 if test "$aros_kernel_cxx${aros_gcc_version}" = ""; then
9009 if test "$cross_compiling" = "yes" ; then
9010 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9011 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9013 $as_echo_n "checking for $ac_word... " >&6; }
9014 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9015 $as_echo_n "(cached) " >&6
9017 case $aros_kernel_cxx in
9019 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9026 test -z "$as_dir" && as_dir
=.
9027 for ac_exec_ext
in '' $ac_executable_extensions; do
9028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9029 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9040 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9041 if test -n "$aros_kernel_cxx"; then
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9043 $as_echo "$aros_kernel_cxx" >&6; }
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9046 $as_echo "no" >&6; }
9051 if test "$GCC" = "yes"; then
9052 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9053 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9054 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9056 $as_echo_n "checking for $ac_word... " >&6; }
9057 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9058 $as_echo_n "(cached) " >&6
9060 case $aros_kernel_cxx in
9062 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9066 for as_dir
in `dirname $aros_gcc_cxx`
9069 test -z "$as_dir" && as_dir
=.
9070 for ac_exec_ext
in '' $ac_executable_extensions; do
9071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9072 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9083 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9084 if test -n "$aros_kernel_cxx"; then
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9086 $as_echo "$aros_kernel_cxx" >&6; }
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9089 $as_echo "no" >&6; }
9094 if test "$aros_kernel_cxx" = ""; then
9095 # Extract the first word of "cxx", so it can be a program name with args.
9096 set dummy cxx
; ac_word
=$2
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9098 $as_echo_n "checking for $ac_word... " >&6; }
9099 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9100 $as_echo_n "(cached) " >&6
9102 case $aros_kernel_cxx in
9104 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9111 test -z "$as_dir" && as_dir
=.
9112 for ac_exec_ext
in '' $ac_executable_extensions; do
9113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9114 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9125 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9126 if test -n "$aros_kernel_cxx"; then
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9128 $as_echo "$aros_kernel_cxx" >&6; }
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9131 $as_echo "no" >&6; }
9138 # Extract the first word of "$aros_kernel_cxx${aros_gcc_version}", so it can be a program name with args.
9139 set dummy
$aros_kernel_cxx${aros_gcc_version}; ac_word
=$2
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9141 $as_echo_n "checking for $ac_word... " >&6; }
9142 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9143 $as_echo_n "(cached) " >&6
9145 case $aros_kernel_cxx in
9147 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9154 test -z "$as_dir" && as_dir
=.
9155 for ac_exec_ext
in '' $ac_executable_extensions; do
9156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9157 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9168 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9169 if test -n "$aros_kernel_cxx"; then
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9171 $as_echo "$aros_kernel_cxx" >&6; }
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9174 $as_echo "no" >&6; }
9180 # If it's set, make sure it's really there
9181 if test "x$aros_kernel_cxx" != "x" ; then
9182 if test "$aros_kernel_cxx" = ""; then
9183 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9187 if test "$aros_kernel_ld" = ""; then
9188 if test "$cross_compiling" = "yes" ; then
9189 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9190 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9192 $as_echo_n "checking for $ac_word... " >&6; }
9193 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9194 $as_echo_n "(cached) " >&6
9196 case $aros_kernel_ld in
9198 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9205 test -z "$as_dir" && as_dir
=.
9206 for ac_exec_ext
in '' $ac_executable_extensions; do
9207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9208 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9219 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9220 if test -n "$aros_kernel_ld"; then
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9222 $as_echo "$aros_kernel_ld" >&6; }
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9225 $as_echo "no" >&6; }
9230 if test "$GCC" = "yes"; then
9231 aros_gcc_ld
=`$CC -print-prog-name=ld`
9232 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9233 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9235 $as_echo_n "checking for $ac_word... " >&6; }
9236 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9237 $as_echo_n "(cached) " >&6
9239 case $aros_kernel_ld in
9241 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9245 for as_dir
in `dirname $aros_gcc_ld`
9248 test -z "$as_dir" && as_dir
=.
9249 for ac_exec_ext
in '' $ac_executable_extensions; do
9250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9251 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9262 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9263 if test -n "$aros_kernel_ld"; then
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9265 $as_echo "$aros_kernel_ld" >&6; }
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9268 $as_echo "no" >&6; }
9273 if test "$aros_kernel_ld" = ""; then
9274 # Extract the first word of "ld", so it can be a program name with args.
9275 set dummy ld
; ac_word
=$2
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9277 $as_echo_n "checking for $ac_word... " >&6; }
9278 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9279 $as_echo_n "(cached) " >&6
9281 case $aros_kernel_ld in
9283 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9290 test -z "$as_dir" && as_dir
=.
9291 for ac_exec_ext
in '' $ac_executable_extensions; do
9292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9293 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9304 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9305 if test -n "$aros_kernel_ld"; then
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9307 $as_echo "$aros_kernel_ld" >&6; }
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9310 $as_echo "no" >&6; }
9317 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9318 set dummy
$aros_kernel_ld; ac_word
=$2
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9320 $as_echo_n "checking for $ac_word... " >&6; }
9321 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9322 $as_echo_n "(cached) " >&6
9324 case $aros_kernel_ld in
9326 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9333 test -z "$as_dir" && as_dir
=.
9334 for ac_exec_ext
in '' $ac_executable_extensions; do
9335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9336 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9347 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9348 if test -n "$aros_kernel_ld"; then
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9350 $as_echo "$aros_kernel_ld" >&6; }
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9353 $as_echo "no" >&6; }
9359 if test "$aros_kernel_ld" = ""; then
9360 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9363 if test "$aros_kernel_as" = ""; then
9364 if test "$cross_compiling" = "yes" ; then
9365 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9366 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9368 $as_echo_n "checking for $ac_word... " >&6; }
9369 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9370 $as_echo_n "(cached) " >&6
9372 case $aros_kernel_as in
9374 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9381 test -z "$as_dir" && as_dir
=.
9382 for ac_exec_ext
in '' $ac_executable_extensions; do
9383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9384 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9395 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9396 if test -n "$aros_kernel_as"; then
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9398 $as_echo "$aros_kernel_as" >&6; }
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9401 $as_echo "no" >&6; }
9406 if test "$GCC" = "yes"; then
9407 aros_gcc_as
=`$CC -print-prog-name=as`
9408 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9409 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9411 $as_echo_n "checking for $ac_word... " >&6; }
9412 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9413 $as_echo_n "(cached) " >&6
9415 case $aros_kernel_as in
9417 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9421 for as_dir
in `dirname $aros_gcc_as`
9424 test -z "$as_dir" && as_dir
=.
9425 for ac_exec_ext
in '' $ac_executable_extensions; do
9426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9427 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9438 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9439 if test -n "$aros_kernel_as"; then
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9441 $as_echo "$aros_kernel_as" >&6; }
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9444 $as_echo "no" >&6; }
9449 if test "$aros_kernel_as" = ""; then
9450 # Extract the first word of "as", so it can be a program name with args.
9451 set dummy as
; ac_word
=$2
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9453 $as_echo_n "checking for $ac_word... " >&6; }
9454 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9455 $as_echo_n "(cached) " >&6
9457 case $aros_kernel_as in
9459 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9466 test -z "$as_dir" && as_dir
=.
9467 for ac_exec_ext
in '' $ac_executable_extensions; do
9468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9469 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9480 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9481 if test -n "$aros_kernel_as"; then
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9483 $as_echo "$aros_kernel_as" >&6; }
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9486 $as_echo "no" >&6; }
9493 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9494 set dummy
$aros_kernel_as; ac_word
=$2
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9496 $as_echo_n "checking for $ac_word... " >&6; }
9497 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9498 $as_echo_n "(cached) " >&6
9500 case $aros_kernel_as in
9502 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9509 test -z "$as_dir" && as_dir
=.
9510 for ac_exec_ext
in '' $ac_executable_extensions; do
9511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9512 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9523 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9524 if test -n "$aros_kernel_as"; then
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9526 $as_echo "$aros_kernel_as" >&6; }
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9529 $as_echo "no" >&6; }
9535 if test "$aros_kernel_as" = ""; then
9536 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9539 if test "$aros_kernel_ar" = ""; then
9540 if test "$cross_compiling" = "yes" ; then
9541 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9542 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9544 $as_echo_n "checking for $ac_word... " >&6; }
9545 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9546 $as_echo_n "(cached) " >&6
9548 case $aros_kernel_ar in
9550 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9557 test -z "$as_dir" && as_dir
=.
9558 for ac_exec_ext
in '' $ac_executable_extensions; do
9559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9560 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9571 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9572 if test -n "$aros_kernel_ar"; then
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9574 $as_echo "$aros_kernel_ar" >&6; }
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9577 $as_echo "no" >&6; }
9582 if test "$GCC" = "yes"; then
9583 aros_gcc_ar
=`$CC -print-prog-name=ar`
9584 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9585 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9587 $as_echo_n "checking for $ac_word... " >&6; }
9588 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9589 $as_echo_n "(cached) " >&6
9591 case $aros_kernel_ar in
9593 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9597 for as_dir
in `dirname $aros_gcc_ar`
9600 test -z "$as_dir" && as_dir
=.
9601 for ac_exec_ext
in '' $ac_executable_extensions; do
9602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9603 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9614 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9615 if test -n "$aros_kernel_ar"; then
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9617 $as_echo "$aros_kernel_ar" >&6; }
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9620 $as_echo "no" >&6; }
9625 if test "$aros_kernel_ar" = ""; then
9626 # Extract the first word of "ar", so it can be a program name with args.
9627 set dummy
ar; ac_word
=$2
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9629 $as_echo_n "checking for $ac_word... " >&6; }
9630 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9631 $as_echo_n "(cached) " >&6
9633 case $aros_kernel_ar in
9635 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9642 test -z "$as_dir" && as_dir
=.
9643 for ac_exec_ext
in '' $ac_executable_extensions; do
9644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9645 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9656 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9657 if test -n "$aros_kernel_ar"; then
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9659 $as_echo "$aros_kernel_ar" >&6; }
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9662 $as_echo "no" >&6; }
9669 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9670 set dummy
$aros_kernel_ar; ac_word
=$2
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9672 $as_echo_n "checking for $ac_word... " >&6; }
9673 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9674 $as_echo_n "(cached) " >&6
9676 case $aros_kernel_ar in
9678 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9685 test -z "$as_dir" && as_dir
=.
9686 for ac_exec_ext
in '' $ac_executable_extensions; do
9687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9688 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9699 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9700 if test -n "$aros_kernel_ar"; then
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9702 $as_echo "$aros_kernel_ar" >&6; }
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9705 $as_echo "no" >&6; }
9711 if test "$aros_kernel_ar" = ""; then
9712 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9715 if test "$aros_kernel_ranlib" = ""; then
9716 if test "$cross_compiling" = "yes" ; then
9717 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9718 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9720 $as_echo_n "checking for $ac_word... " >&6; }
9721 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9722 $as_echo_n "(cached) " >&6
9724 case $aros_kernel_ranlib in
9726 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9733 test -z "$as_dir" && as_dir
=.
9734 for ac_exec_ext
in '' $ac_executable_extensions; do
9735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9736 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9747 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9748 if test -n "$aros_kernel_ranlib"; then
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9750 $as_echo "$aros_kernel_ranlib" >&6; }
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9753 $as_echo "no" >&6; }
9758 if test "$GCC" = "yes"; then
9759 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9760 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9761 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9763 $as_echo_n "checking for $ac_word... " >&6; }
9764 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9765 $as_echo_n "(cached) " >&6
9767 case $aros_kernel_ranlib in
9769 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9773 for as_dir
in `dirname $aros_gcc_ranlib`
9776 test -z "$as_dir" && as_dir
=.
9777 for ac_exec_ext
in '' $ac_executable_extensions; do
9778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9779 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9790 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9791 if test -n "$aros_kernel_ranlib"; then
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9793 $as_echo "$aros_kernel_ranlib" >&6; }
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9796 $as_echo "no" >&6; }
9801 if test "$aros_kernel_ranlib" = ""; then
9802 # Extract the first word of "ranlib", so it can be a program name with args.
9803 set dummy ranlib
; ac_word
=$2
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9805 $as_echo_n "checking for $ac_word... " >&6; }
9806 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9807 $as_echo_n "(cached) " >&6
9809 case $aros_kernel_ranlib in
9811 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9818 test -z "$as_dir" && as_dir
=.
9819 for ac_exec_ext
in '' $ac_executable_extensions; do
9820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9821 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9832 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9833 if test -n "$aros_kernel_ranlib"; then
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9835 $as_echo "$aros_kernel_ranlib" >&6; }
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9838 $as_echo "no" >&6; }
9845 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9846 set dummy
$aros_kernel_ranlib; ac_word
=$2
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9848 $as_echo_n "checking for $ac_word... " >&6; }
9849 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9850 $as_echo_n "(cached) " >&6
9852 case $aros_kernel_ranlib in
9854 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9861 test -z "$as_dir" && as_dir
=.
9862 for ac_exec_ext
in '' $ac_executable_extensions; do
9863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9864 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9875 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9876 if test -n "$aros_kernel_ranlib"; then
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9878 $as_echo "$aros_kernel_ranlib" >&6; }
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9881 $as_echo "no" >&6; }
9887 if test "$aros_kernel_ranlib" = ""; then
9888 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9891 if test "$aros_kernel_nm" = ""; then
9892 if test "$cross_compiling" = "yes" ; then
9893 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9894 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9896 $as_echo_n "checking for $ac_word... " >&6; }
9897 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9898 $as_echo_n "(cached) " >&6
9900 case $aros_kernel_nm in
9902 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9909 test -z "$as_dir" && as_dir
=.
9910 for ac_exec_ext
in '' $ac_executable_extensions; do
9911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9912 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9923 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9924 if test -n "$aros_kernel_nm"; then
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9926 $as_echo "$aros_kernel_nm" >&6; }
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9929 $as_echo "no" >&6; }
9934 if test "$GCC" = "yes"; then
9935 aros_gcc_nm
=`$CC -print-prog-name=nm`
9936 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9937 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9939 $as_echo_n "checking for $ac_word... " >&6; }
9940 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9941 $as_echo_n "(cached) " >&6
9943 case $aros_kernel_nm in
9945 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9949 for as_dir
in `dirname $aros_gcc_nm`
9952 test -z "$as_dir" && as_dir
=.
9953 for ac_exec_ext
in '' $ac_executable_extensions; do
9954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9955 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9966 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9967 if test -n "$aros_kernel_nm"; then
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9969 $as_echo "$aros_kernel_nm" >&6; }
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9972 $as_echo "no" >&6; }
9977 if test "$aros_kernel_nm" = ""; then
9978 # Extract the first word of "nm", so it can be a program name with args.
9979 set dummy nm
; ac_word
=$2
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9981 $as_echo_n "checking for $ac_word... " >&6; }
9982 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9983 $as_echo_n "(cached) " >&6
9985 case $aros_kernel_nm in
9987 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9994 test -z "$as_dir" && as_dir
=.
9995 for ac_exec_ext
in '' $ac_executable_extensions; do
9996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9997 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10008 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10009 if test -n "$aros_kernel_nm"; then
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10011 $as_echo "$aros_kernel_nm" >&6; }
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10014 $as_echo "no" >&6; }
10021 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10022 set dummy
$aros_kernel_nm; ac_word
=$2
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10024 $as_echo_n "checking for $ac_word... " >&6; }
10025 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10026 $as_echo_n "(cached) " >&6
10028 case $aros_kernel_nm in
10030 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10034 for as_dir
in $PATH
10037 test -z "$as_dir" && as_dir
=.
10038 for ac_exec_ext
in '' $ac_executable_extensions; do
10039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10040 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10051 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10052 if test -n "$aros_kernel_nm"; then
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10054 $as_echo "$aros_kernel_nm" >&6; }
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10057 $as_echo "no" >&6; }
10063 if test "$aros_kernel_nm" = ""; then
10064 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10067 if test "$aros_kernel_strip" = ""; then
10068 if test "$cross_compiling" = "yes" ; then
10069 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10070 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10072 $as_echo_n "checking for $ac_word... " >&6; }
10073 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10074 $as_echo_n "(cached) " >&6
10076 case $aros_kernel_strip in
10078 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10082 for as_dir
in $PATH
10085 test -z "$as_dir" && as_dir
=.
10086 for ac_exec_ext
in '' $ac_executable_extensions; do
10087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10088 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10099 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10100 if test -n "$aros_kernel_strip"; then
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10102 $as_echo "$aros_kernel_strip" >&6; }
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10105 $as_echo "no" >&6; }
10110 if test "$GCC" = "yes"; then
10111 aros_gcc_strip
=`$CC -print-prog-name=strip`
10112 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10113 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10115 $as_echo_n "checking for $ac_word... " >&6; }
10116 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10117 $as_echo_n "(cached) " >&6
10119 case $aros_kernel_strip in
10121 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10125 for as_dir
in `dirname $aros_gcc_strip`
10128 test -z "$as_dir" && as_dir
=.
10129 for ac_exec_ext
in '' $ac_executable_extensions; do
10130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10131 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10142 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10143 if test -n "$aros_kernel_strip"; then
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10145 $as_echo "$aros_kernel_strip" >&6; }
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10148 $as_echo "no" >&6; }
10153 if test "$aros_kernel_strip" = ""; then
10154 # Extract the first word of "strip", so it can be a program name with args.
10155 set dummy strip
; ac_word
=$2
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10157 $as_echo_n "checking for $ac_word... " >&6; }
10158 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10159 $as_echo_n "(cached) " >&6
10161 case $aros_kernel_strip in
10163 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10167 for as_dir
in $PATH
10170 test -z "$as_dir" && as_dir
=.
10171 for ac_exec_ext
in '' $ac_executable_extensions; do
10172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10173 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10184 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10185 if test -n "$aros_kernel_strip"; then
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10187 $as_echo "$aros_kernel_strip" >&6; }
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10190 $as_echo "no" >&6; }
10197 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10198 set dummy
$aros_kernel_strip; ac_word
=$2
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10200 $as_echo_n "checking for $ac_word... " >&6; }
10201 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10202 $as_echo_n "(cached) " >&6
10204 case $aros_kernel_strip in
10206 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10210 for as_dir
in $PATH
10213 test -z "$as_dir" && as_dir
=.
10214 for ac_exec_ext
in '' $ac_executable_extensions; do
10215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10216 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10227 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10228 if test -n "$aros_kernel_strip"; then
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10230 $as_echo "$aros_kernel_strip" >&6; }
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10233 $as_echo "no" >&6; }
10239 if test "$aros_kernel_strip" = ""; then
10240 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10243 # Objcopy and objdump are not required for the kernel
10244 # toolchain on many architectures.
10245 # So we'll look for them, but not make them strictly required.
10247 if test "$aros_kernel_objcopy" = ""; then
10248 if test "$cross_compiling" = "yes" ; then
10249 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10250 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10252 $as_echo_n "checking for $ac_word... " >&6; }
10253 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10254 $as_echo_n "(cached) " >&6
10256 case $aros_kernel_objcopy in
10258 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10262 for as_dir
in $PATH
10265 test -z "$as_dir" && as_dir
=.
10266 for ac_exec_ext
in '' $ac_executable_extensions; do
10267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10268 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10279 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10280 if test -n "$aros_kernel_objcopy"; then
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10282 $as_echo "$aros_kernel_objcopy" >&6; }
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10285 $as_echo "no" >&6; }
10290 if test "$GCC" = "yes"; then
10291 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10292 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10293 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10295 $as_echo_n "checking for $ac_word... " >&6; }
10296 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10297 $as_echo_n "(cached) " >&6
10299 case $aros_kernel_objcopy in
10301 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10305 for as_dir
in `dirname $aros_gcc_objcopy`
10308 test -z "$as_dir" && as_dir
=.
10309 for ac_exec_ext
in '' $ac_executable_extensions; do
10310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10311 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10322 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10323 if test -n "$aros_kernel_objcopy"; then
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10325 $as_echo "$aros_kernel_objcopy" >&6; }
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10328 $as_echo "no" >&6; }
10333 if test "$aros_kernel_objcopy" = ""; then
10334 # Extract the first word of "objcopy", so it can be a program name with args.
10335 set dummy objcopy
; ac_word
=$2
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10337 $as_echo_n "checking for $ac_word... " >&6; }
10338 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10339 $as_echo_n "(cached) " >&6
10341 case $aros_kernel_objcopy in
10343 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10347 for as_dir
in $PATH
10350 test -z "$as_dir" && as_dir
=.
10351 for ac_exec_ext
in '' $ac_executable_extensions; do
10352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10353 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10364 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10365 if test -n "$aros_kernel_objcopy"; then
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10367 $as_echo "$aros_kernel_objcopy" >&6; }
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10370 $as_echo "no" >&6; }
10377 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10378 set dummy
$aros_kernel_objcopy; ac_word
=$2
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10380 $as_echo_n "checking for $ac_word... " >&6; }
10381 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10382 $as_echo_n "(cached) " >&6
10384 case $aros_kernel_objcopy in
10386 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10390 for as_dir
in $PATH
10393 test -z "$as_dir" && as_dir
=.
10394 for ac_exec_ext
in '' $ac_executable_extensions; do
10395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10396 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10407 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10408 if test -n "$aros_kernel_objcopy"; then
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10410 $as_echo "$aros_kernel_objcopy" >&6; }
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10413 $as_echo "no" >&6; }
10420 if test "$aros_kernel_objdump" = ""; then
10421 if test "$cross_compiling" = "yes" ; then
10422 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10423 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10425 $as_echo_n "checking for $ac_word... " >&6; }
10426 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10427 $as_echo_n "(cached) " >&6
10429 case $aros_kernel_objdump in
10431 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10435 for as_dir
in $PATH
10438 test -z "$as_dir" && as_dir
=.
10439 for ac_exec_ext
in '' $ac_executable_extensions; do
10440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10441 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10452 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10453 if test -n "$aros_kernel_objdump"; then
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10455 $as_echo "$aros_kernel_objdump" >&6; }
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10458 $as_echo "no" >&6; }
10463 if test "$GCC" = "yes"; then
10464 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10465 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10466 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10468 $as_echo_n "checking for $ac_word... " >&6; }
10469 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10470 $as_echo_n "(cached) " >&6
10472 case $aros_kernel_objdump in
10474 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10478 for as_dir
in `dirname $aros_gcc_objdump`
10481 test -z "$as_dir" && as_dir
=.
10482 for ac_exec_ext
in '' $ac_executable_extensions; do
10483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10484 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10495 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10496 if test -n "$aros_kernel_objdump"; then
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10498 $as_echo "$aros_kernel_objdump" >&6; }
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10501 $as_echo "no" >&6; }
10506 if test "$aros_kernel_objdump" = ""; then
10507 # Extract the first word of "objdump", so it can be a program name with args.
10508 set dummy objdump
; ac_word
=$2
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10510 $as_echo_n "checking for $ac_word... " >&6; }
10511 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10512 $as_echo_n "(cached) " >&6
10514 case $aros_kernel_objdump in
10516 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10520 for as_dir
in $PATH
10523 test -z "$as_dir" && as_dir
=.
10524 for ac_exec_ext
in '' $ac_executable_extensions; do
10525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10526 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10537 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10538 if test -n "$aros_kernel_objdump"; then
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10540 $as_echo "$aros_kernel_objdump" >&6; }
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10543 $as_echo "no" >&6; }
10550 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10551 set dummy
$aros_kernel_objdump; ac_word
=$2
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10553 $as_echo_n "checking for $ac_word... " >&6; }
10554 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10555 $as_echo_n "(cached) " >&6
10557 case $aros_kernel_objdump in
10559 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10563 for as_dir
in $PATH
10566 test -z "$as_dir" && as_dir
=.
10567 for ac_exec_ext
in '' $ac_executable_extensions; do
10568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10569 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10580 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10581 if test -n "$aros_kernel_objdump"; then
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10583 $as_echo "$aros_kernel_objdump" >&6; }
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10586 $as_echo "no" >&6; }
10592 if test "x${crosstools}" != "xyes" ; then
10593 if test "$aros_kernel_objcopy" = ""; then
10594 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10596 if test "$aros_kernel_objdump" = ""; then
10597 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10603 $as_echo_n "checking which target tools to use... " >&6; }
10604 if test "$crosstools" = "yes"; then
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10606 $as_echo "$target_tool_prefix" >&6; }
10607 # We are are building AROS crosstools
10608 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10609 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10610 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10611 orig_target_cpp
="${tmp_tool_prefix}cpp"
10612 orig_target_ld
="${tmp_tool_prefix}ld"
10613 orig_target_as
="${tmp_tool_prefix}as"
10614 orig_target_ar
="${tmp_tool_prefix}ar"
10615 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10616 orig_target_nm
="${tmp_tool_prefix}nm"
10617 orig_target_strip
="${tmp_tool_prefix}strip"
10618 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10619 orig_target_objdump
="${tmp_tool_prefix}objdump"
10621 # Determine whether AROS or ELF tools should be used
10622 if test "$aros_tool_prefix" = "none"; then
10623 aros_tool_prefix
="${elf_tool_prefix}"
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10627 $as_echo "$aros_tool_prefix" >&6; }
10628 # We are *not* building AROS crosstools - use the AROS or ELF tools
10630 if test "${aros_tool_prefix}cpp" = ""; then
10631 if test "$cross_compiling" = "yes" ; then
10632 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10633 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10635 $as_echo_n "checking for $ac_word... " >&6; }
10636 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10637 $as_echo_n "(cached) " >&6
10639 case $orig_target_cpp in
10641 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10645 for as_dir
in $PATH
10648 test -z "$as_dir" && as_dir
=.
10649 for ac_exec_ext
in '' $ac_executable_extensions; do
10650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10651 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10662 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10663 if test -n "$orig_target_cpp"; then
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10665 $as_echo "$orig_target_cpp" >&6; }
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10668 $as_echo "no" >&6; }
10673 if test "$GCC" = "yes"; then
10674 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10675 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10676 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10678 $as_echo_n "checking for $ac_word... " >&6; }
10679 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10680 $as_echo_n "(cached) " >&6
10682 case $orig_target_cpp in
10684 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10688 for as_dir
in `dirname $aros_gcc_cpp`
10691 test -z "$as_dir" && as_dir
=.
10692 for ac_exec_ext
in '' $ac_executable_extensions; do
10693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10694 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10705 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10706 if test -n "$orig_target_cpp"; then
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10708 $as_echo "$orig_target_cpp" >&6; }
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10711 $as_echo "no" >&6; }
10716 if test "$orig_target_cpp" = ""; then
10717 # Extract the first word of "cpp", so it can be a program name with args.
10718 set dummy cpp
; ac_word
=$2
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10720 $as_echo_n "checking for $ac_word... " >&6; }
10721 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10722 $as_echo_n "(cached) " >&6
10724 case $orig_target_cpp in
10726 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10730 for as_dir
in $PATH
10733 test -z "$as_dir" && as_dir
=.
10734 for ac_exec_ext
in '' $ac_executable_extensions; do
10735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10736 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10747 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10748 if test -n "$orig_target_cpp"; then
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10750 $as_echo "$orig_target_cpp" >&6; }
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10753 $as_echo "no" >&6; }
10760 # Extract the first word of "${aros_tool_prefix}cpp", so it can be a program name with args.
10761 set dummy
${aros_tool_prefix}cpp
; ac_word
=$2
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10763 $as_echo_n "checking for $ac_word... " >&6; }
10764 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10765 $as_echo_n "(cached) " >&6
10767 case $orig_target_cpp in
10769 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10773 for as_dir
in $PATH
10776 test -z "$as_dir" && as_dir
=.
10777 for ac_exec_ext
in '' $ac_executable_extensions; do
10778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10779 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10790 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10791 if test -n "$orig_target_cpp"; then
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10793 $as_echo "$orig_target_cpp" >&6; }
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10796 $as_echo "no" >&6; }
10802 if test "$orig_target_cpp" = ""; then
10803 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10806 if test "${aros_tool_prefix}gcc" = ""; then
10807 if test "$cross_compiling" = "yes" ; then
10808 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10809 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10811 $as_echo_n "checking for $ac_word... " >&6; }
10812 if ${ac_cv_path_orig_target_cc+:} false
; then :
10813 $as_echo_n "(cached) " >&6
10815 case $orig_target_cc in
10817 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10821 for as_dir
in $PATH
10824 test -z "$as_dir" && as_dir
=.
10825 for ac_exec_ext
in '' $ac_executable_extensions; do
10826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10827 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10838 orig_target_cc
=$ac_cv_path_orig_target_cc
10839 if test -n "$orig_target_cc"; then
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10841 $as_echo "$orig_target_cc" >&6; }
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10844 $as_echo "no" >&6; }
10849 if test "$GCC" = "yes"; then
10850 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10851 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10852 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10854 $as_echo_n "checking for $ac_word... " >&6; }
10855 if ${ac_cv_path_orig_target_cc+:} false
; then :
10856 $as_echo_n "(cached) " >&6
10858 case $orig_target_cc in
10860 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10864 for as_dir
in `dirname $aros_gcc_gcc`
10867 test -z "$as_dir" && as_dir
=.
10868 for ac_exec_ext
in '' $ac_executable_extensions; do
10869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10870 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10881 orig_target_cc
=$ac_cv_path_orig_target_cc
10882 if test -n "$orig_target_cc"; then
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10884 $as_echo "$orig_target_cc" >&6; }
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10887 $as_echo "no" >&6; }
10892 if test "$orig_target_cc" = ""; then
10893 # Extract the first word of "gcc", so it can be a program name with args.
10894 set dummy gcc
; ac_word
=$2
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10896 $as_echo_n "checking for $ac_word... " >&6; }
10897 if ${ac_cv_path_orig_target_cc+:} false
; then :
10898 $as_echo_n "(cached) " >&6
10900 case $orig_target_cc in
10902 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10906 for as_dir
in $PATH
10909 test -z "$as_dir" && as_dir
=.
10910 for ac_exec_ext
in '' $ac_executable_extensions; do
10911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10912 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10923 orig_target_cc
=$ac_cv_path_orig_target_cc
10924 if test -n "$orig_target_cc"; then
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10926 $as_echo "$orig_target_cc" >&6; }
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10929 $as_echo "no" >&6; }
10936 # Extract the first word of "${aros_tool_prefix}gcc", so it can be a program name with args.
10937 set dummy
${aros_tool_prefix}gcc
; ac_word
=$2
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10939 $as_echo_n "checking for $ac_word... " >&6; }
10940 if ${ac_cv_path_orig_target_cc+:} false
; then :
10941 $as_echo_n "(cached) " >&6
10943 case $orig_target_cc in
10945 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10949 for as_dir
in $PATH
10952 test -z "$as_dir" && as_dir
=.
10953 for ac_exec_ext
in '' $ac_executable_extensions; do
10954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10955 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10966 orig_target_cc
=$ac_cv_path_orig_target_cc
10967 if test -n "$orig_target_cc"; then
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10969 $as_echo "$orig_target_cc" >&6; }
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10972 $as_echo "no" >&6; }
10978 if test "$orig_target_cc" = ""; then
10979 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
10981 if test "x$orig_target_cxx" != "x" ; then
10983 if test "${aros_tool_prefix}g++" = ""; then
10984 if test "$cross_compiling" = "yes" ; then
10985 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
10986 set dummy
${target_tool_prefix}g
++; ac_word
=$2
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10988 $as_echo_n "checking for $ac_word... " >&6; }
10989 if ${ac_cv_path_orig_target_cxx+:} false
; then :
10990 $as_echo_n "(cached) " >&6
10992 case $orig_target_cxx in
10994 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
10997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10998 for as_dir
in $PATH
11001 test -z "$as_dir" && as_dir
=.
11002 for ac_exec_ext
in '' $ac_executable_extensions; do
11003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11004 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11015 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11016 if test -n "$orig_target_cxx"; then
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11018 $as_echo "$orig_target_cxx" >&6; }
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11021 $as_echo "no" >&6; }
11026 if test "$GCC" = "yes"; then
11027 aros_gcc_g
++=`$CC -print-prog-name=g++`
11028 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11029 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11031 $as_echo_n "checking for $ac_word... " >&6; }
11032 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11033 $as_echo_n "(cached) " >&6
11035 case $orig_target_cxx in
11037 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11041 for as_dir
in `dirname $aros_gcc_g++`
11044 test -z "$as_dir" && as_dir
=.
11045 for ac_exec_ext
in '' $ac_executable_extensions; do
11046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11047 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11058 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11059 if test -n "$orig_target_cxx"; then
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11061 $as_echo "$orig_target_cxx" >&6; }
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11064 $as_echo "no" >&6; }
11069 if test "$orig_target_cxx" = ""; then
11070 # Extract the first word of "g++", so it can be a program name with args.
11071 set dummy g
++; ac_word
=$2
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11073 $as_echo_n "checking for $ac_word... " >&6; }
11074 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11075 $as_echo_n "(cached) " >&6
11077 case $orig_target_cxx in
11079 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11083 for as_dir
in $PATH
11086 test -z "$as_dir" && as_dir
=.
11087 for ac_exec_ext
in '' $ac_executable_extensions; do
11088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11089 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11100 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11101 if test -n "$orig_target_cxx"; then
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11103 $as_echo "$orig_target_cxx" >&6; }
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11106 $as_echo "no" >&6; }
11113 # Extract the first word of "${aros_tool_prefix}g++", so it can be a program name with args.
11114 set dummy
${aros_tool_prefix}g
++; ac_word
=$2
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11116 $as_echo_n "checking for $ac_word... " >&6; }
11117 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11118 $as_echo_n "(cached) " >&6
11120 case $orig_target_cxx in
11122 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11126 for as_dir
in $PATH
11129 test -z "$as_dir" && as_dir
=.
11130 for ac_exec_ext
in '' $ac_executable_extensions; do
11131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11132 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11143 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11144 if test -n "$orig_target_cxx"; then
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11146 $as_echo "$orig_target_cxx" >&6; }
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11149 $as_echo "no" >&6; }
11155 if test "$orig_target_cxx" = ""; then
11156 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11160 if test "${aros_tool_prefix}ld" = ""; then
11161 if test "$cross_compiling" = "yes" ; then
11162 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11163 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11165 $as_echo_n "checking for $ac_word... " >&6; }
11166 if ${ac_cv_path_orig_target_ld+:} false
; then :
11167 $as_echo_n "(cached) " >&6
11169 case $orig_target_ld in
11171 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11175 for as_dir
in $PATH
11178 test -z "$as_dir" && as_dir
=.
11179 for ac_exec_ext
in '' $ac_executable_extensions; do
11180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11181 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11192 orig_target_ld
=$ac_cv_path_orig_target_ld
11193 if test -n "$orig_target_ld"; then
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11195 $as_echo "$orig_target_ld" >&6; }
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11198 $as_echo "no" >&6; }
11203 if test "$GCC" = "yes"; then
11204 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11205 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11206 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11208 $as_echo_n "checking for $ac_word... " >&6; }
11209 if ${ac_cv_path_orig_target_ld+:} false
; then :
11210 $as_echo_n "(cached) " >&6
11212 case $orig_target_ld in
11214 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11218 for as_dir
in `dirname $aros_gcc_gcc`
11221 test -z "$as_dir" && as_dir
=.
11222 for ac_exec_ext
in '' $ac_executable_extensions; do
11223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11224 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11235 orig_target_ld
=$ac_cv_path_orig_target_ld
11236 if test -n "$orig_target_ld"; then
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11238 $as_echo "$orig_target_ld" >&6; }
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11241 $as_echo "no" >&6; }
11246 if test "$orig_target_ld" = ""; then
11247 # Extract the first word of "gcc", so it can be a program name with args.
11248 set dummy gcc
; ac_word
=$2
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11250 $as_echo_n "checking for $ac_word... " >&6; }
11251 if ${ac_cv_path_orig_target_ld+:} false
; then :
11252 $as_echo_n "(cached) " >&6
11254 case $orig_target_ld in
11256 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11260 for as_dir
in $PATH
11263 test -z "$as_dir" && as_dir
=.
11264 for ac_exec_ext
in '' $ac_executable_extensions; do
11265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11266 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11277 orig_target_ld
=$ac_cv_path_orig_target_ld
11278 if test -n "$orig_target_ld"; then
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11280 $as_echo "$orig_target_ld" >&6; }
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11283 $as_echo "no" >&6; }
11290 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11291 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11293 $as_echo_n "checking for $ac_word... " >&6; }
11294 if ${ac_cv_path_orig_target_ld+:} false
; then :
11295 $as_echo_n "(cached) " >&6
11297 case $orig_target_ld in
11299 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11303 for as_dir
in $PATH
11306 test -z "$as_dir" && as_dir
=.
11307 for ac_exec_ext
in '' $ac_executable_extensions; do
11308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11309 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11320 orig_target_ld
=$ac_cv_path_orig_target_ld
11321 if test -n "$orig_target_ld"; then
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11323 $as_echo "$orig_target_ld" >&6; }
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11326 $as_echo "no" >&6; }
11332 if test "$orig_target_ld" = ""; then
11333 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11336 if test "${aros_tool_prefix}as" = ""; then
11337 if test "$cross_compiling" = "yes" ; then
11338 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11339 set dummy
${target_tool_prefix}as
; ac_word
=$2
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11341 $as_echo_n "checking for $ac_word... " >&6; }
11342 if ${ac_cv_path_orig_target_as+:} false
; then :
11343 $as_echo_n "(cached) " >&6
11345 case $orig_target_as in
11347 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11351 for as_dir
in $PATH
11354 test -z "$as_dir" && as_dir
=.
11355 for ac_exec_ext
in '' $ac_executable_extensions; do
11356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11357 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11368 orig_target_as
=$ac_cv_path_orig_target_as
11369 if test -n "$orig_target_as"; then
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11371 $as_echo "$orig_target_as" >&6; }
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11374 $as_echo "no" >&6; }
11379 if test "$GCC" = "yes"; then
11380 aros_gcc_as
=`$CC -print-prog-name=as`
11381 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11382 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11384 $as_echo_n "checking for $ac_word... " >&6; }
11385 if ${ac_cv_path_orig_target_as+:} false
; then :
11386 $as_echo_n "(cached) " >&6
11388 case $orig_target_as in
11390 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11394 for as_dir
in `dirname $aros_gcc_as`
11397 test -z "$as_dir" && as_dir
=.
11398 for ac_exec_ext
in '' $ac_executable_extensions; do
11399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11400 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11411 orig_target_as
=$ac_cv_path_orig_target_as
11412 if test -n "$orig_target_as"; then
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11414 $as_echo "$orig_target_as" >&6; }
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11417 $as_echo "no" >&6; }
11422 if test "$orig_target_as" = ""; then
11423 # Extract the first word of "as", so it can be a program name with args.
11424 set dummy as
; ac_word
=$2
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11426 $as_echo_n "checking for $ac_word... " >&6; }
11427 if ${ac_cv_path_orig_target_as+:} false
; then :
11428 $as_echo_n "(cached) " >&6
11430 case $orig_target_as in
11432 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11436 for as_dir
in $PATH
11439 test -z "$as_dir" && as_dir
=.
11440 for ac_exec_ext
in '' $ac_executable_extensions; do
11441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11442 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11453 orig_target_as
=$ac_cv_path_orig_target_as
11454 if test -n "$orig_target_as"; then
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11456 $as_echo "$orig_target_as" >&6; }
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11459 $as_echo "no" >&6; }
11466 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11467 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11469 $as_echo_n "checking for $ac_word... " >&6; }
11470 if ${ac_cv_path_orig_target_as+:} false
; then :
11471 $as_echo_n "(cached) " >&6
11473 case $orig_target_as in
11475 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11479 for as_dir
in $PATH
11482 test -z "$as_dir" && as_dir
=.
11483 for ac_exec_ext
in '' $ac_executable_extensions; do
11484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11485 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11496 orig_target_as
=$ac_cv_path_orig_target_as
11497 if test -n "$orig_target_as"; then
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11499 $as_echo "$orig_target_as" >&6; }
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11502 $as_echo "no" >&6; }
11508 if test "$orig_target_as" = ""; then
11509 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11512 if test "${aros_tool_prefix}ar" = ""; then
11513 if test "$cross_compiling" = "yes" ; then
11514 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11515 set dummy
${target_tool_prefix}ar; ac_word
=$2
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11517 $as_echo_n "checking for $ac_word... " >&6; }
11518 if ${ac_cv_path_orig_target_ar+:} false
; then :
11519 $as_echo_n "(cached) " >&6
11521 case $orig_target_ar in
11523 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11527 for as_dir
in $PATH
11530 test -z "$as_dir" && as_dir
=.
11531 for ac_exec_ext
in '' $ac_executable_extensions; do
11532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11533 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11544 orig_target_ar
=$ac_cv_path_orig_target_ar
11545 if test -n "$orig_target_ar"; then
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11547 $as_echo "$orig_target_ar" >&6; }
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11550 $as_echo "no" >&6; }
11555 if test "$GCC" = "yes"; then
11556 aros_gcc_ar
=`$CC -print-prog-name=ar`
11557 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11558 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11560 $as_echo_n "checking for $ac_word... " >&6; }
11561 if ${ac_cv_path_orig_target_ar+:} false
; then :
11562 $as_echo_n "(cached) " >&6
11564 case $orig_target_ar in
11566 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11570 for as_dir
in `dirname $aros_gcc_ar`
11573 test -z "$as_dir" && as_dir
=.
11574 for ac_exec_ext
in '' $ac_executable_extensions; do
11575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11576 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11587 orig_target_ar
=$ac_cv_path_orig_target_ar
11588 if test -n "$orig_target_ar"; then
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11590 $as_echo "$orig_target_ar" >&6; }
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11593 $as_echo "no" >&6; }
11598 if test "$orig_target_ar" = ""; then
11599 # Extract the first word of "ar", so it can be a program name with args.
11600 set dummy
ar; ac_word
=$2
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11602 $as_echo_n "checking for $ac_word... " >&6; }
11603 if ${ac_cv_path_orig_target_ar+:} false
; then :
11604 $as_echo_n "(cached) " >&6
11606 case $orig_target_ar in
11608 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11612 for as_dir
in $PATH
11615 test -z "$as_dir" && as_dir
=.
11616 for ac_exec_ext
in '' $ac_executable_extensions; do
11617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11618 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11629 orig_target_ar
=$ac_cv_path_orig_target_ar
11630 if test -n "$orig_target_ar"; then
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11632 $as_echo "$orig_target_ar" >&6; }
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11635 $as_echo "no" >&6; }
11642 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11643 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11645 $as_echo_n "checking for $ac_word... " >&6; }
11646 if ${ac_cv_path_orig_target_ar+:} false
; then :
11647 $as_echo_n "(cached) " >&6
11649 case $orig_target_ar in
11651 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11655 for as_dir
in $PATH
11658 test -z "$as_dir" && as_dir
=.
11659 for ac_exec_ext
in '' $ac_executable_extensions; do
11660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11661 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11672 orig_target_ar
=$ac_cv_path_orig_target_ar
11673 if test -n "$orig_target_ar"; then
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11675 $as_echo "$orig_target_ar" >&6; }
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11678 $as_echo "no" >&6; }
11684 if test "$orig_target_ar" = ""; then
11685 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11688 if test "${aros_tool_prefix}ranlib" = ""; then
11689 if test "$cross_compiling" = "yes" ; then
11690 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11691 set dummy
${target_tool_prefix}ar; ac_word
=$2
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11693 $as_echo_n "checking for $ac_word... " >&6; }
11694 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11695 $as_echo_n "(cached) " >&6
11697 case $orig_target_ranlib in
11699 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11703 for as_dir
in $PATH
11706 test -z "$as_dir" && as_dir
=.
11707 for ac_exec_ext
in '' $ac_executable_extensions; do
11708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11709 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11720 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11721 if test -n "$orig_target_ranlib"; then
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11723 $as_echo "$orig_target_ranlib" >&6; }
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11726 $as_echo "no" >&6; }
11731 if test "$GCC" = "yes"; then
11732 aros_gcc_ar
=`$CC -print-prog-name=ar`
11733 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11734 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11736 $as_echo_n "checking for $ac_word... " >&6; }
11737 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11738 $as_echo_n "(cached) " >&6
11740 case $orig_target_ranlib in
11742 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11746 for as_dir
in `dirname $aros_gcc_ar`
11749 test -z "$as_dir" && as_dir
=.
11750 for ac_exec_ext
in '' $ac_executable_extensions; do
11751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11752 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11763 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11764 if test -n "$orig_target_ranlib"; then
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11766 $as_echo "$orig_target_ranlib" >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11769 $as_echo "no" >&6; }
11774 if test "$orig_target_ranlib" = ""; then
11775 # Extract the first word of "ar", so it can be a program name with args.
11776 set dummy
ar; ac_word
=$2
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11778 $as_echo_n "checking for $ac_word... " >&6; }
11779 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11780 $as_echo_n "(cached) " >&6
11782 case $orig_target_ranlib in
11784 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11788 for as_dir
in $PATH
11791 test -z "$as_dir" && as_dir
=.
11792 for ac_exec_ext
in '' $ac_executable_extensions; do
11793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11794 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11805 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11806 if test -n "$orig_target_ranlib"; then
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11808 $as_echo "$orig_target_ranlib" >&6; }
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11811 $as_echo "no" >&6; }
11818 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11819 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11821 $as_echo_n "checking for $ac_word... " >&6; }
11822 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11823 $as_echo_n "(cached) " >&6
11825 case $orig_target_ranlib in
11827 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11831 for as_dir
in $PATH
11834 test -z "$as_dir" && as_dir
=.
11835 for ac_exec_ext
in '' $ac_executable_extensions; do
11836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11837 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11848 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11849 if test -n "$orig_target_ranlib"; then
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11851 $as_echo "$orig_target_ranlib" >&6; }
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11854 $as_echo "no" >&6; }
11860 if test "$orig_target_ranlib" = ""; then
11861 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11864 if test "${aros_tool_prefix}nm" = ""; then
11865 if test "$cross_compiling" = "yes" ; then
11866 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
11867 set dummy
${target_tool_prefix}nm
; ac_word
=$2
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11869 $as_echo_n "checking for $ac_word... " >&6; }
11870 if ${ac_cv_path_orig_target_nm+:} false
; then :
11871 $as_echo_n "(cached) " >&6
11873 case $orig_target_nm in
11875 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11879 for as_dir
in $PATH
11882 test -z "$as_dir" && as_dir
=.
11883 for ac_exec_ext
in '' $ac_executable_extensions; do
11884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11885 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11896 orig_target_nm
=$ac_cv_path_orig_target_nm
11897 if test -n "$orig_target_nm"; then
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11899 $as_echo "$orig_target_nm" >&6; }
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11902 $as_echo "no" >&6; }
11907 if test "$GCC" = "yes"; then
11908 aros_gcc_nm
=`$CC -print-prog-name=nm`
11909 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11910 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11912 $as_echo_n "checking for $ac_word... " >&6; }
11913 if ${ac_cv_path_orig_target_nm+:} false
; then :
11914 $as_echo_n "(cached) " >&6
11916 case $orig_target_nm in
11918 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11922 for as_dir
in `dirname $aros_gcc_nm`
11925 test -z "$as_dir" && as_dir
=.
11926 for ac_exec_ext
in '' $ac_executable_extensions; do
11927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11928 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11939 orig_target_nm
=$ac_cv_path_orig_target_nm
11940 if test -n "$orig_target_nm"; then
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11942 $as_echo "$orig_target_nm" >&6; }
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11945 $as_echo "no" >&6; }
11950 if test "$orig_target_nm" = ""; then
11951 # Extract the first word of "nm", so it can be a program name with args.
11952 set dummy nm
; ac_word
=$2
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11954 $as_echo_n "checking for $ac_word... " >&6; }
11955 if ${ac_cv_path_orig_target_nm+:} false
; then :
11956 $as_echo_n "(cached) " >&6
11958 case $orig_target_nm in
11960 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11964 for as_dir
in $PATH
11967 test -z "$as_dir" && as_dir
=.
11968 for ac_exec_ext
in '' $ac_executable_extensions; do
11969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11970 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11981 orig_target_nm
=$ac_cv_path_orig_target_nm
11982 if test -n "$orig_target_nm"; then
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11984 $as_echo "$orig_target_nm" >&6; }
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11987 $as_echo "no" >&6; }
11994 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
11995 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11997 $as_echo_n "checking for $ac_word... " >&6; }
11998 if ${ac_cv_path_orig_target_nm+:} false
; then :
11999 $as_echo_n "(cached) " >&6
12001 case $orig_target_nm in
12003 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12007 for as_dir
in $PATH
12010 test -z "$as_dir" && as_dir
=.
12011 for ac_exec_ext
in '' $ac_executable_extensions; do
12012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12013 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12024 orig_target_nm
=$ac_cv_path_orig_target_nm
12025 if test -n "$orig_target_nm"; then
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12027 $as_echo "$orig_target_nm" >&6; }
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12030 $as_echo "no" >&6; }
12036 if test "$orig_target_nm" = ""; then
12037 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12040 if test "${aros_tool_prefix}strip" = ""; then
12041 if test "$cross_compiling" = "yes" ; then
12042 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12043 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12045 $as_echo_n "checking for $ac_word... " >&6; }
12046 if ${ac_cv_path_orig_target_strip+:} false
; then :
12047 $as_echo_n "(cached) " >&6
12049 case $orig_target_strip in
12051 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12055 for as_dir
in $PATH
12058 test -z "$as_dir" && as_dir
=.
12059 for ac_exec_ext
in '' $ac_executable_extensions; do
12060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12061 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12072 orig_target_strip
=$ac_cv_path_orig_target_strip
12073 if test -n "$orig_target_strip"; then
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12075 $as_echo "$orig_target_strip" >&6; }
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12078 $as_echo "no" >&6; }
12083 if test "$GCC" = "yes"; then
12084 aros_gcc_strip
=`$CC -print-prog-name=strip`
12085 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12086 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12088 $as_echo_n "checking for $ac_word... " >&6; }
12089 if ${ac_cv_path_orig_target_strip+:} false
; then :
12090 $as_echo_n "(cached) " >&6
12092 case $orig_target_strip in
12094 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12098 for as_dir
in `dirname $aros_gcc_strip`
12101 test -z "$as_dir" && as_dir
=.
12102 for ac_exec_ext
in '' $ac_executable_extensions; do
12103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12104 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12115 orig_target_strip
=$ac_cv_path_orig_target_strip
12116 if test -n "$orig_target_strip"; then
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12118 $as_echo "$orig_target_strip" >&6; }
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12121 $as_echo "no" >&6; }
12126 if test "$orig_target_strip" = ""; then
12127 # Extract the first word of "strip", so it can be a program name with args.
12128 set dummy strip
; ac_word
=$2
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12130 $as_echo_n "checking for $ac_word... " >&6; }
12131 if ${ac_cv_path_orig_target_strip+:} false
; then :
12132 $as_echo_n "(cached) " >&6
12134 case $orig_target_strip in
12136 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12140 for as_dir
in $PATH
12143 test -z "$as_dir" && as_dir
=.
12144 for ac_exec_ext
in '' $ac_executable_extensions; do
12145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12146 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12157 orig_target_strip
=$ac_cv_path_orig_target_strip
12158 if test -n "$orig_target_strip"; then
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12160 $as_echo "$orig_target_strip" >&6; }
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12163 $as_echo "no" >&6; }
12170 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12171 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12173 $as_echo_n "checking for $ac_word... " >&6; }
12174 if ${ac_cv_path_orig_target_strip+:} false
; then :
12175 $as_echo_n "(cached) " >&6
12177 case $orig_target_strip in
12179 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12183 for as_dir
in $PATH
12186 test -z "$as_dir" && as_dir
=.
12187 for ac_exec_ext
in '' $ac_executable_extensions; do
12188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12189 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12200 orig_target_strip
=$ac_cv_path_orig_target_strip
12201 if test -n "$orig_target_strip"; then
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12203 $as_echo "$orig_target_strip" >&6; }
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12206 $as_echo "no" >&6; }
12212 if test "$orig_target_strip" = ""; then
12213 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12216 if test "${aros_tool_prefix}objcopy" = ""; then
12217 if test "$cross_compiling" = "yes" ; then
12218 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12219 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12221 $as_echo_n "checking for $ac_word... " >&6; }
12222 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12223 $as_echo_n "(cached) " >&6
12225 case $orig_target_objcopy in
12227 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12231 for as_dir
in $PATH
12234 test -z "$as_dir" && as_dir
=.
12235 for ac_exec_ext
in '' $ac_executable_extensions; do
12236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12237 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12248 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12249 if test -n "$orig_target_objcopy"; then
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12251 $as_echo "$orig_target_objcopy" >&6; }
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12254 $as_echo "no" >&6; }
12259 if test "$GCC" = "yes"; then
12260 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12261 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12262 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12264 $as_echo_n "checking for $ac_word... " >&6; }
12265 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12266 $as_echo_n "(cached) " >&6
12268 case $orig_target_objcopy in
12270 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12274 for as_dir
in `dirname $aros_gcc_objcopy`
12277 test -z "$as_dir" && as_dir
=.
12278 for ac_exec_ext
in '' $ac_executable_extensions; do
12279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12280 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12291 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12292 if test -n "$orig_target_objcopy"; then
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12294 $as_echo "$orig_target_objcopy" >&6; }
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12297 $as_echo "no" >&6; }
12302 if test "$orig_target_objcopy" = ""; then
12303 # Extract the first word of "objcopy", so it can be a program name with args.
12304 set dummy objcopy
; ac_word
=$2
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12306 $as_echo_n "checking for $ac_word... " >&6; }
12307 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12308 $as_echo_n "(cached) " >&6
12310 case $orig_target_objcopy in
12312 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12316 for as_dir
in $PATH
12319 test -z "$as_dir" && as_dir
=.
12320 for ac_exec_ext
in '' $ac_executable_extensions; do
12321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12322 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12333 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12334 if test -n "$orig_target_objcopy"; then
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12336 $as_echo "$orig_target_objcopy" >&6; }
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12339 $as_echo "no" >&6; }
12346 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12347 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12349 $as_echo_n "checking for $ac_word... " >&6; }
12350 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12351 $as_echo_n "(cached) " >&6
12353 case $orig_target_objcopy in
12355 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12359 for as_dir
in $PATH
12362 test -z "$as_dir" && as_dir
=.
12363 for ac_exec_ext
in '' $ac_executable_extensions; do
12364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12365 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12376 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12377 if test -n "$orig_target_objcopy"; then
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12379 $as_echo "$orig_target_objcopy" >&6; }
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12382 $as_echo "no" >&6; }
12388 if test "$orig_target_objcopy" = ""; then
12389 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12392 if test "${aros_tool_prefix}objdump" = ""; then
12393 if test "$cross_compiling" = "yes" ; then
12394 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12395 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12397 $as_echo_n "checking for $ac_word... " >&6; }
12398 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12399 $as_echo_n "(cached) " >&6
12401 case $orig_target_objdump in
12403 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12407 for as_dir
in $PATH
12410 test -z "$as_dir" && as_dir
=.
12411 for ac_exec_ext
in '' $ac_executable_extensions; do
12412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12413 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12424 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12425 if test -n "$orig_target_objdump"; then
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12427 $as_echo "$orig_target_objdump" >&6; }
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12430 $as_echo "no" >&6; }
12435 if test "$GCC" = "yes"; then
12436 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12437 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12438 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12440 $as_echo_n "checking for $ac_word... " >&6; }
12441 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12442 $as_echo_n "(cached) " >&6
12444 case $orig_target_objdump in
12446 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12450 for as_dir
in `dirname $aros_gcc_objdump`
12453 test -z "$as_dir" && as_dir
=.
12454 for ac_exec_ext
in '' $ac_executable_extensions; do
12455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12456 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12467 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12468 if test -n "$orig_target_objdump"; then
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12470 $as_echo "$orig_target_objdump" >&6; }
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12473 $as_echo "no" >&6; }
12478 if test "$orig_target_objdump" = ""; then
12479 # Extract the first word of "objdump", so it can be a program name with args.
12480 set dummy objdump
; ac_word
=$2
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12482 $as_echo_n "checking for $ac_word... " >&6; }
12483 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12484 $as_echo_n "(cached) " >&6
12486 case $orig_target_objdump in
12488 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12492 for as_dir
in $PATH
12495 test -z "$as_dir" && as_dir
=.
12496 for ac_exec_ext
in '' $ac_executable_extensions; do
12497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12498 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12509 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12510 if test -n "$orig_target_objdump"; then
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12512 $as_echo "$orig_target_objdump" >&6; }
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12515 $as_echo "no" >&6; }
12522 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12523 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12525 $as_echo_n "checking for $ac_word... " >&6; }
12526 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12527 $as_echo_n "(cached) " >&6
12529 case $orig_target_objdump in
12531 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12535 for as_dir
in $PATH
12538 test -z "$as_dir" && as_dir
=.
12539 for ac_exec_ext
in '' $ac_executable_extensions; do
12540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12541 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12552 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12553 if test -n "$orig_target_objdump"; then
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12555 $as_echo "$orig_target_objdump" >&6; }
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12558 $as_echo "no" >&6; }
12564 if test "$orig_target_objdump" = ""; then
12565 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12569 if test "$kernel_tool_prefix" = "none" ; then
12570 # No kernel tools specified
12571 # Assume target tools == kernel tools with ELF wrapper
12572 aros_kernel_cc
=$orig_target_cc
12573 aros_kernel_cxx
=$orig_target_cxx
12574 aros_kernel_cpp
=$orig_target_cpp
12575 aros_kernel_ld
=$orig_target_ld
12576 aros_kernel_as
=$orig_target_as
12577 aros_kernel_ar
=$orig_target_ar
12578 aros_kernel_ranlib
=$orig_target_ranlib
12579 aros_kernel_nm
=$orig_target_nm
12580 aros_kernel_strip
=$orig_target_strip
12581 aros_kernel_objcopy
=$orig_target_objcopy
12582 aros_kernel_objdump
=$orig_target_objdump
12583 use_kernel_cc_wrapper
=yes
12586 # At this point, all aros_kernel_* and aros_target_*
12587 # tools should be set up correctly
12589 CC
="$aros_kernel_cc $kernel_tool_flags"
12590 CPP
="$aros_kernel_cpp"
12592 #-----------------------------------------------------------------------------
12594 # Disable pointer-signedness warnings if the compiler recognises the option
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12597 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12598 save_cflags
="$CFLAGS"
12599 if test "$crosstools" != "yes" ; then
12600 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12602 /* end confdefs.h. */
12612 if ac_fn_c_try_compile
"$LINENO"; then :
12613 use_no_sign_warning
="yes"
12615 use_no_sign_warning
="no"
12617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12619 # we do know it is supported for the smallest version of gcc we are going to build
12620 # we assume it's also supported by later versions
12621 use_no_sign_warning
=yes
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12624 $as_echo "$use_no_sign_warning" >&6; }
12625 if test "x-$use_no_sign_warning" = "x-yes" ; then
12626 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12628 CFLAGS
="$save_cflags"
12630 #-----------------------------------------------------------------------------
12632 # Find all the tools we need to compile. This could be cross-compiling
12633 # though! If that is the case we use the GNU form of the target and
12634 # simply add this to the front of the binary name. This is rather simple,
12635 # but it should work under most circumstances.
12637 # The default tools are to use the same as the host, but only if the
12638 # host and target CPU are the same. With GCC this is normally enough.
12642 aros_shared_ld
="$aros_host_ld"
12644 aros_target_mkdep
="$aros_host_mkdep"
12646 # The default tools executables to be linked to.
12647 if test "$rescomp" != ""; then
12648 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12649 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12651 $as_echo_n "checking for $ac_word... " >&6; }
12652 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12653 $as_echo_n "(cached) " >&6
12655 case $aros_kernel_rescomp in
12657 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12661 for as_dir
in $PATH
12664 test -z "$as_dir" && as_dir
=.
12665 for ac_exec_ext
in '' $ac_executable_extensions; do
12666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12667 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12678 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12679 if test -n "$aros_kernel_rescomp"; then
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12681 $as_echo "$aros_kernel_rescomp" >&6; }
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12684 $as_echo "no" >&6; }
12688 if test "$aros_kernel_rescomp" = ""; then
12689 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12693 # Set up the sources for the symlink farm
12694 if test "$crosstools" = "yes"; then
12695 crosstools_target
=tools-crosstools
12697 crosstools_cxx_target
=tools-crosstools
12700 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12701 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12704 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12705 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12706 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12707 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12708 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12709 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12710 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12712 # aros_cc_pre is a variable that is added to the front of the compiler name
12713 # in the generated aros-gcc shell script. We need this to enable the cache
12714 # to work across cleaned builds. Also, support DISTCC using the correct
12715 # environment variable.
12718 if test "x${DISTCC}" != "x" ; then
12719 if test "x${CCACHE}" != "x" ; then
12720 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12722 aros_cc_pre
="${DISTCC} "
12725 if test "x${CCACHE}" != "x" ; then
12726 aros_cc_pre
="${CCACHE} "
12730 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12732 aros_target_nostdinc_cflags
=-nostdinc
12734 aros_target_nostartup_ldflags
=-nostartfiles
12736 aros_target_nix_ldflags
=-nix
12738 aros_target_detach_ldflags
=-detach
12740 aros_target_nostdlib_ldflags
=-nostdlib
12744 if test "$crosstools" != "yes"; then
12745 if test "$GCC" = "yes"; then
12746 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12749 # We do not know which gcc version we are going to build and what we need to know
12750 # here is different for different versions so this will be set later during the
12751 # build of crosstools.
12752 aros_target_cc_path
=@aros_target_cc_path@
12754 aros_target_cpp
="${prefix}cpp"
12755 aros_target_cc
="${prefix}gcc"
12756 aros_target_cxx
="${prefix}g++"
12757 aros_target_as
="${prefix}as"
12758 aros_target_ld
="${prefix}ld"
12759 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12760 aros_target_objcopy
="${prefix}objcopy"
12761 aros_target_objdump
="${prefix}objdump"
12762 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12763 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12764 aros_target_strip
="${prefix}strip"
12765 aros_plain_nm
="${prefix}nm"
12766 aros_plain_ar
="${prefix}ar"
12768 # Check whether --enable-includes was given.
12769 if test "${enable_includes+set}" = set; then :
12770 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12772 aros_target_incl
="/usr/include"
12776 if test "$aros_kernel_includes" = ""; then
12777 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12778 aros_kernel_includes
="-isystem $aros_target_incl"
12782 if test "$aros_kernel_includes" != "" ; then
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12784 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12785 if test "$aros_kernel_cc_includes" = "" ; then
12786 # Try to guess where the directory is.
12787 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12788 if test -d $aros_kernel_cc_includes; then
12789 # Check if there is also an include-fixed directory and add it
12790 # to kernel compiler's include path as it may contain some of
12791 # the headers we need.
12792 if test -d "$aros_kernel_cc_includes"-fixed; then
12793 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12795 # Check for specific includes directory. Neede for Ubuntu 11.10
12796 if test -d "/usr/include/i386-linux-gnu"; then
12797 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12800 # The directory doesn't exist, we need to do some more work.
12801 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12803 # These are the headers we're looking for.
12804 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12805 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12809 for h
in $headers; do
12810 # Which other headers are needed by each of the above?
12811 deps
=$
(echo "#include <$h>" | \
12812 $aros_kernel_cc -E -M - 2>/dev
/null | \
12813 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12815 # Copy all the needed headers to a directory beneath gendir.
12818 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12819 sed -n "s,^.*/include\(/.*\),\1,p")
12820 ! test -d $dir && mkdir
-p $dir
12821 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12827 $as_echo "$aros_kernel_cc_includes" >&6; }
12828 # Adding -nostdinc to kernel includes as they are always used together.
12829 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12832 if test "$crosstools" != "yes"; then
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12834 $as_echo_n "checking for the target compiler's include path... " >&6; }
12835 if test "$aros_target_cc_includes" = "" ; then
12836 #try to guess where the directory is
12837 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12838 if ! test -d $aros_target_cc_includes; then
12839 #the directory doesn't exist, we need to do some more work
12840 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12842 #these are the headers we're looking for
12843 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12844 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12848 for h
in $headers; do
12849 #which other headers each of the above headers needs?
12850 deps
=$
(echo "#include <$h>" | \
12851 $orig_target_cc -E -M - 2>/dev
/null | \
12852 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12854 #copy all the needed headers to a directory beneath gendir
12857 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
12858 sed -n "s,^.*/include\(/.*\),\1,p")
12859 ! test -d $dir && mkdir
-p $dir
12860 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
12866 $as_echo "$aros_target_cc_includes" >&6; }
12868 # We do not know which gcc version we are going to build and what we need to know
12869 # here is different for different versions so this will be set later during the
12870 # build of crosstools.
12871 aros_target_cc_includes
=@aros_target_cc_includes@
12875 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
12876 # On GCC >= 4.0 -iquote should be used
12880 save_cflags
="$CFLAGS"
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12883 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12884 if test "x-$crosstools" != "x-yes"; then
12885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12886 /* end confdefs.h. */
12896 if ac_fn_c_try_compile
"$LINENO"; then :
12901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12903 # we do know it is supported for the smallest version of gcc we are going to build
12904 # we assume it's also supported by later versions
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12908 $as_echo "$has_iquote" >&6; }
12909 if test "x-$has_iquote" = "x-yes" ; then
12910 host_cflags_iquote
=-iquote
12911 host_cflags_iquote_end
=
12913 host_cflags_iquote
=-I
12914 host_cflags_iquote_end
=-I-
12916 kernel_cflags_iquote
=$host_cflags_iquote
12917 kernel_cflags_iquote_end
=$host_cflags_iquote_end
12918 if test "x-$cross_compiling" = "x-yes"; then
12919 CC
="$aros_kernel_cc"
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
12921 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
12922 if test "x-$crosstools" != "x-yes"; then
12923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12924 /* end confdefs.h. */
12934 if ac_fn_c_try_compile
"$LINENO"; then :
12935 use_no_stack_protector
="yes"
12937 use_no_stack_protector
="no"
12939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12941 # we do know it is supported for the smallest version of gcc we are going to build
12942 # we assume it's also supported by later versions
12943 use_no_stack_protector
=yes
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
12946 $as_echo "$use_no_stack_protector" >&6; }
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12948 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12949 if test "x-$crosstools" != "x-yes"; then
12950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12951 /* end confdefs.h. */
12961 if ac_fn_c_try_compile
"$LINENO"; then :
12966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12968 # we do know it is supported for the smallest version of gcc we are going to build
12969 # we assume it's also supported by later versions
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12973 $as_echo "$has_iquote" >&6; }
12974 if test "x-$has_iquote" = "x-yes" ; then
12975 kernel_cflags_iquote
=-iquote
12976 kernel_cflags_iquote_end
=
12978 kernel_cflags_iquote
=-I
12979 kernel_cflags_iquote_end
=-I-
12982 aros_cflags_iquote
=$kernel_cflags_iquote
12983 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
12984 if test "$orig_target_cc" != "$aros_kernel_cc"; then
12985 CC
="$orig_target_cc"
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12987 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12988 if test "x-$crosstools" != "x-yes"; then
12989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12990 /* end confdefs.h. */
13000 if ac_fn_c_try_compile
"$LINENO"; then :
13005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13007 # we do know it is supported for the smallest version of gcc we are going to build
13008 # we assume it's also supported by later versions
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13012 $as_echo "$has_iquote" >&6; }
13013 if test "x-$has_iquote" = "x-yes" ; then
13014 aros_cflags_iquote
=-iquote
13015 aros_cflags_iquote_end
=
13017 aros_cflags_iquote
=-I
13018 aros_cflags_iquote_end
=-I-
13021 if test "x-$use_no_stack_protector" = "x-yes" ; then
13022 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13026 #-----------------------------------------------------------------------------
13028 # Check if the target compiler supports some options used for delinting:
13029 # -Wunused-but-set-variable
13032 # -Wstrict-overflow
13033 # -Wformat-security
13035 if test "x-$crosstools" != "x-yes"; then
13036 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13037 CC
="$orig_target_cc"
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13040 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13041 CFLAGS
=-Wunused-but-set-variable
13042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13043 /* end confdefs.h. */
13053 if ac_fn_c_try_compile
"$LINENO"; then :
13054 aros_unused_but_set_variable
="yes"
13056 aros_unused_but_set_variable
="no"
13058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13060 $as_echo "$aros_unused_but_set_variable" >&6; }
13061 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13062 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13066 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13067 CFLAGS
=-Warray-bounds
13068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13069 /* end confdefs.h. */
13079 if ac_fn_c_try_compile
"$LINENO"; then :
13080 aros_array_bounds
="yes"
13082 aros_array_bounds
="no"
13084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13086 $as_echo "$aros_array_bounds" >&6; }
13087 if test "x-$aros_array_bounds" = "x-yes" ; then
13088 aros_cflags_array_bounds
=-Wno-array-bounds
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13092 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13093 CFLAGS
=-Wenum-compare
13094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h. */
13105 if ac_fn_c_try_compile
"$LINENO"; then :
13106 aros_enum_compare
="yes"
13108 aros_enum_compare
="no"
13110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13112 $as_echo "$aros_enum_compare" >&6; }
13113 if test "x-$aros_enum_compare" = "x-yes" ; then
13114 aros_cflags_enum_compare
=-Wno-enum-compare
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13118 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13119 CFLAGS
=-Wstrict-overflow
13120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13121 /* end confdefs.h. */
13131 if ac_fn_c_try_compile
"$LINENO"; then :
13132 aros_strict_overflow
="yes"
13134 aros_strict_overflow
="no"
13136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13138 $as_echo "$aros_strict_overflow" >&6; }
13139 if test "x-$aros_strict_overflow" = "x-yes" ; then
13140 aros_cflags_strict_overflow
=-Wno-strict-overflow
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13144 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13145 CFLAGS
=-Wformat-security
13146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13147 /* end confdefs.h. */
13157 if ac_fn_c_try_compile
"$LINENO"; then :
13158 aros_format_security
="yes"
13160 aros_format_security
="no"
13162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13164 $as_echo "$aros_format_security" >&6; }
13165 if test "x-$aros_format_security" = "x-yes" ; then
13166 aros_cflags_format_security
=-Wno-format-security
13169 # We do not know which gcc version we are going to build and what we need to know
13170 # here is different for different versions so this will be set later during the
13171 # build of crosstools.
13172 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13173 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13174 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13175 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13176 aros_cflags_format_security
=@aros_cflags_format_security@
13179 #-----------------------------------------------------------------------------
13181 # Check if we can explicitly choose older version of symbol hashing
13183 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13184 CC
="$aros_kernel_cc"
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13186 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13188 /* end confdefs.h. */
13198 if ac_fn_c_try_link
"$LINENO"; then :
13199 use_hash_style
="yes"
13201 use_hash_style
="no"
13203 rm -f core conftest.err conftest.
$ac_objext \
13204 conftest
$ac_exeext conftest.
$ac_ext
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13206 $as_echo "$use_hash_style" >&6; }
13207 if test "x-$use_hash_style" = "x-yes" ; then
13208 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13211 CFLAGS
="$save_cflags"
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13222 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13224 # Check whether --with-resolution was given.
13225 if test "${with_resolution+set}" = set; then :
13226 withval
=$with_resolution; resolution
=$withval
13231 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13232 if test "$resolution" = "yes" ; then
13235 if test "$resolution" = "no" ; then
13238 if test "$resolution" != "none" ; then
13239 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13240 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13241 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13244 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13245 aros_cv_default_wbwidth
=$aros_default_wbwidth
13246 aros_cv_default_wbheight
=$aros_default_wbheight
13247 aros_cv_default_wbdepth
=$aros_default_wbdepth
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13250 $as_echo_n "checking if serial debug is enabled... " >&6; }
13252 # Check whether --with-serial-debug was given.
13253 if test "${with_serial_debug+set}" = set; then :
13254 withval
=$with_serial_debug; serial_debug
=$withval
13259 if test "$aros_serial_debug" = 0 ; then
13260 serial_debug_forced
=""
13261 if test "$serial_debug" = "yes" ; then
13264 if test "$serial_debug" = "no" ; then
13265 serial_debug
="none"
13268 serial_debug_forced
="(forced)"
13269 serial_debug
=$aros_serial_debug
13271 if test "$serial_debug" != "none" ; then
13272 aros_serial_debug
=$serial_debug
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13274 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13277 $as_echo "no" >&6; }
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13281 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13282 # Check whether --enable-palm_debug_hack was given.
13283 if test "${enable_palm_debug_hack+set}" = set; then :
13284 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13286 palm_debug_hack
="no"
13289 if test "$palm_debug_hack" = "yes" ; then
13290 aros_palm_debug_hack
="1"
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13293 $as_echo "$palm_debug_hack" >&6; }
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13296 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13297 # Check whether --enable-nesting_supervisor was given.
13298 if test "${enable_nesting_supervisor+set}" = set; then :
13299 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13301 nesting_supervisor
="no"
13304 if test "$nesting_supervisor" = "yes" ; then
13305 aros_nesting_supervisor
="1"
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13308 $as_echo "$nesting_supervisor" >&6; }
13310 if test "$aros_enable_mmu" = "" ; then
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13312 $as_echo_n "checking if MMU support is enabled... " >&6; }
13313 # Check whether --enable-mmu was given.
13314 if test "${enable_mmu+set}" = set; then :
13315 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13317 aros_enable_mmu
="yes"
13320 if test "$aros_enable_mmu" = "" ; then
13321 aros_enable_mmu
="yes"
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13324 $as_echo "$aros_enable_mmu" >&6; }
13326 if test "$aros_enable_mmu" = "no" ; then
13327 aros_enable_mmu
="0"
13329 aros_enable_mmu
="1"
13333 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13335 if test "x-$need_dlopen" != "x-no" ; then
13336 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13337 if test "x$ac_cv_func_dlopen" = xyes
; then :
13343 if test "x-$have_dl" = "x-no" ; then
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13345 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13346 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13347 $as_echo_n "(cached) " >&6
13349 ac_check_lib_save_LIBS
=$LIBS
13351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13352 /* end confdefs.h. */
13354 /* Override any GCC internal prototype to avoid an error.
13355 Use char because int might match the return type of a GCC
13356 builtin and then its argument prototype would still apply. */
13369 if ac_fn_c_try_link
"$LINENO"; then :
13370 ac_cv_lib_dl_dlopen
=yes
13372 ac_cv_lib_dl_dlopen
=no
13374 rm -f core conftest.err conftest.
$ac_objext \
13375 conftest
$ac_exeext conftest.
$ac_ext
13376 LIBS
=$ac_check_lib_save_LIBS
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13379 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13380 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13382 aros_host_ldflags
="$aros_host_ldflags -ldl"
13388 if test "x-$have_dl" = "x-no" ; then
13389 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13394 # Check whether --enable-x11_hidd was given.
13395 if test "${enable_x11_hidd+set}" = set; then :
13396 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13398 x11_hidd
="$need_x11"
13401 case "x-$x11_hidd" in
13402 x-yes|x-no|x-auto
) ;;
13403 *) x11_hidd
="$need_x11" ;;
13408 if test "x-$x11_hidd" != "x-no" ; then
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13411 $as_echo_n "checking for X... " >&6; }
13414 # Check whether --with-x was given.
13415 if test "${with_x+set}" = set; then :
13419 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13420 if test "x$with_x" = xno
; then
13421 # The user explicitly disabled X.
13424 case $x_includes,$x_libraries in #(
13425 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13426 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13427 $as_echo_n "(cached) " >&6
13429 # One or both of the vars are not set, and there is no cached value.
13430 ac_x_includes
=no ac_x_libraries
=no
13431 rm -f -r conftest.dir
13432 if mkdir conftest.dir
; then
13434 cat >Imakefile
<<'_ACEOF'
13436 @echo incroot='${INCROOT}'
13438 @echo usrlibdir='${USRLIBDIR}'
13440 @echo libdir='${LIBDIR}'
13442 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13443 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13444 for ac_var
in incroot usrlibdir libdir
; do
13445 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13447 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13448 for ac_extension
in a so sl dylib la dll
; do
13449 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13450 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13451 ac_im_usrlibdir
=$ac_im_libdir; break
13454 # Screen out bogus values from the imake configuration. They are
13455 # bogus both because they are the default anyway, and because
13456 # using them would break gcc on systems where it needs fixed includes.
13457 case $ac_im_incroot in
13458 /usr
/include
) ac_x_includes
= ;;
13459 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13461 case $ac_im_usrlibdir in
13462 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13463 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13467 rm -f -r conftest.dir
13470 # Standard set of common directories for X headers.
13471 # Check X11 before X11Rn because it is often a symlink to the current release.
13485 /usr/local/X11/include
13486 /usr/local/X11R7/include
13487 /usr/local/X11R6/include
13488 /usr/local/X11R5/include
13489 /usr/local/X11R4/include
13491 /usr/local/include/X11
13492 /usr/local/include/X11R7
13493 /usr/local/include/X11R6
13494 /usr/local/include/X11R5
13495 /usr/local/include/X11R4
13499 /usr/XFree86/include/X11
13503 /usr/unsupported/include
13504 /usr/athena/include
13505 /usr/local/x11r5/include
13506 /usr/lpp/Xamples/include
13508 /usr/openwin/include
13509 /usr/openwin/share/include'
13511 if test "$ac_x_includes" = no
; then
13512 # Guess where to find include files, by looking for Xlib.h.
13513 # First, try using that file with no special directory specified.
13514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13515 /* end confdefs.h. */
13516 #include <X11/Xlib.h>
13518 if ac_fn_c_try_cpp
"$LINENO"; then :
13519 # We can compile using X headers with no special include directory.
13522 for ac_dir
in $ac_x_header_dirs; do
13523 if test -r "$ac_dir/X11/Xlib.h"; then
13524 ac_x_includes
=$ac_dir
13529 rm -f conftest.err conftest.i conftest.
$ac_ext
13530 fi # $ac_x_includes = no
13532 if test "$ac_x_libraries" = no
; then
13533 # Check for the libraries.
13534 # See if we find them without any special options.
13535 # Don't add to $LIBS permanently.
13538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13539 /* end confdefs.h. */
13540 #include <X11/Xlib.h>
13549 if ac_fn_c_try_link
"$LINENO"; then :
13551 # We can link X programs with no special library path.
13555 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13557 # Don't even attempt the hair of trying to link an X program!
13558 for ac_extension
in a so sl dylib la dll
; do
13559 if test -r "$ac_dir/libX11.$ac_extension"; then
13560 ac_x_libraries
=$ac_dir
13566 rm -f core conftest.err conftest.
$ac_objext \
13567 conftest
$ac_exeext conftest.
$ac_ext
13568 fi # $ac_x_libraries = no
13570 case $ac_x_includes,$ac_x_libraries in #(
13571 no
,* |
*,no |
*\'*)
13572 # Didn't find X, or a directory has "'" in its name.
13573 ac_cv_have_x
="have_x=no";; #(
13575 # Record where we found X for the cache.
13576 ac_cv_have_x
="have_x=yes\
13577 ac_x_includes='$ac_x_includes'\
13578 ac_x_libraries='$ac_x_libraries'"
13584 eval "$ac_cv_have_x"
13587 if test "$have_x" != yes; then
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13589 $as_echo "$have_x" >&6; }
13592 # If each of the values was on the command line, it overrides each guess.
13593 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13594 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13595 # Update the cache value to reflect the command line values.
13596 ac_cv_have_x
="have_x=yes\
13597 ac_x_includes='$x_includes'\
13598 ac_x_libraries='$x_libraries'"
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13600 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13605 for path
in $x_libraries
13607 x_cflags
="$x_cflags -L$path"
13610 for path
in $x_includes
13612 x_cflags
="$x_cflags -I$path"
13615 if test "x-$no_x" = "x-yes" ; then
13617 if test "x-$x11_hidd" != "x-auto" ; then
13618 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13622 x11_hidd_target
=kernel-x11gfx-kobj
13625 # Check whether --enable-x11_shm was given.
13626 if test "${enable_x11_shm+set}" = set; then :
13627 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13629 x11_hidd_shm
="auto"
13632 case "x-$x11_hidd_shm" in
13633 x-yes|x-no|x-auto
) ;;
13634 *) x11_hidd_shm
="auto" ;;
13639 if test "x-$x11_hidd_shm" != "x-no" ; then
13641 for ac_header
in sys
/ipc.h
13643 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13644 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13645 cat >>confdefs.h
<<_ACEOF
13646 #define HAVE_SYS_IPC_H 1
13653 for ac_header
in sys
/shm.h
13655 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13656 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13657 cat >>confdefs.h
<<_ACEOF
13658 #define HAVE_SYS_SHM_H 1
13666 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13668 save_cflags
="$CFLAGS"
13669 CFLAGS
="$CFLAGS $x_cflags"
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13671 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13672 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13673 $as_echo_n "(cached) " >&6
13675 ac_check_lib_save_LIBS
=$LIBS
13676 LIBS
="-lXext $LIBS"
13677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13678 /* end confdefs.h. */
13680 /* Override any GCC internal prototype to avoid an error.
13681 Use char because int might match the return type of a GCC
13682 builtin and then its argument prototype would still apply. */
13686 char XShmQueryExtension ();
13690 return XShmQueryExtension ();
13695 if ac_fn_c_try_link
"$LINENO"; then :
13696 ac_cv_lib_Xext_XShmQueryExtension
=yes
13698 ac_cv_lib_Xext_XShmQueryExtension
=no
13700 rm -f core conftest.err conftest.
$ac_objext \
13701 conftest
$ac_exeext conftest.
$ac_ext
13702 LIBS
=$ac_check_lib_save_LIBS
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13705 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13706 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13710 CFLAGS
="$save_cflags"
13714 if test "x-$have_xshm" = "x-yes" ; then
13715 DO_XSHM_SUPPORT
="1"
13716 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13717 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13719 DO_XSHM_SUPPORT
="0"
13723 # Check whether --enable-x11_vidmode was given.
13724 if test "${enable_x11_vidmode+set}" = set; then :
13725 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13727 x11_hidd_vidmode
="auto"
13730 case "x-$x11_hidd_vidmode" in
13731 x-yes|x-no|x-auto
) ;;
13732 *) x11_hidd_vidmode
="auto" ;;
13737 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13739 save_cflags
="$CFLAGS"
13740 CFLAGS
="$CFLAGS $x_cflags"
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13742 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13743 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13744 $as_echo_n "(cached) " >&6
13746 ac_check_lib_save_LIBS
=$LIBS
13747 LIBS
="-lXxf86vm $LIBS"
13748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13751 /* Override any GCC internal prototype to avoid an error.
13752 Use char because int might match the return type of a GCC
13753 builtin and then its argument prototype would still apply. */
13757 char XF86VidModeQueryExtension ();
13761 return XF86VidModeQueryExtension ();
13766 if ac_fn_c_try_link
"$LINENO"; then :
13767 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13769 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13771 rm -f core conftest.err conftest.
$ac_objext \
13772 conftest
$ac_exeext conftest.
$ac_ext
13773 LIBS
=$ac_check_lib_save_LIBS
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13776 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13777 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13781 CFLAGS
="$save_cflags"
13784 if test "x-$have_vidmode" = "x-yes" ; then
13785 DO_VIDMODE_SUPPORT
="1"
13786 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13787 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13789 DO_VIDMODE_SUPPORT
="0"
13793 aros_host_x11_includes
=$x_includes
13794 aros_host_x11_libdirs
=$x_libraries
13798 # Check whether --enable-sdl_hidd was given.
13799 if test "${enable_sdl_hidd+set}" = set; then :
13800 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13805 case "x-$sdl_hidd" in
13806 x-yes|x-no|x-auto
) ;;
13807 *) sdl_hidd
="auto" ;;
13810 if test "x-$sdl_hidd" != "x-no" ; then
13813 # Check whether --with-sdl-prefix was given.
13814 if test "${with_sdl_prefix+set}" = set; then :
13815 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13821 # Check whether --with-sdl-exec-prefix was given.
13822 if test "${with_sdl_exec_prefix+set}" = set; then :
13823 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13828 # Check whether --enable-sdltest was given.
13829 if test "${enable_sdltest+set}" = set; then :
13830 enableval
=$enable_sdltest;
13836 if test x
$sdl_exec_prefix != x
; then
13837 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
13838 if test x
${SDL_CONFIG+set} != xset
; then
13839 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
13842 if test x
$sdl_prefix != x
; then
13843 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
13844 if test x
${SDL_CONFIG+set} != xset
; then
13845 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
13849 as_save_PATH
="$PATH"
13850 if test "x$prefix" != xNONE
; then
13851 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
13853 # Extract the first word of "sdl-config", so it can be a program name with args.
13854 set dummy sdl-config
; ac_word
=$2
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13856 $as_echo_n "checking for $ac_word... " >&6; }
13857 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
13858 $as_echo_n "(cached) " >&6
13860 case $SDL_CONFIG in
13862 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
13865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13866 for as_dir
in $PATH
13869 test -z "$as_dir" && as_dir
=.
13870 for ac_exec_ext
in '' $ac_executable_extensions; do
13871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13872 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13880 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
13884 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
13885 if test -n "$SDL_CONFIG"; then
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
13887 $as_echo "$SDL_CONFIG" >&6; }
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13890 $as_echo "no" >&6; }
13894 PATH
="$as_save_PATH"
13895 min_sdl_version
=1.2.10
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
13897 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
13899 if test "$SDL_CONFIG" = "no" ; then
13902 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
13903 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
13905 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
13906 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13907 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
13908 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13909 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
13910 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13911 if test "x$enable_sdltest" = "xyes" ; then
13912 ac_save_CFLAGS
="$CFLAGS"
13913 ac_save_CXXFLAGS
="$CXXFLAGS"
13914 ac_save_LIBS
="$LIBS"
13915 CFLAGS
="$CFLAGS $SDL_CFLAGS"
13916 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
13917 LIBS
="$LIBS $SDL_LIBS"
13919 if test "$cross_compiling" = yes; then :
13920 echo $ac_n "cross compiling; assumed OK... $ac_c"
13922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13923 /* end confdefs.h. */
13926 #include <stdlib.h>
13927 #include <string.h>
13931 my_strdup (char *str)
13937 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
13938 strcpy (new_str, str);
13946 int main (int argc, char *argv[])
13948 int major, minor, micro;
13951 /* This hangs on some systems (?)
13952 system ("touch conf.sdltest");
13954 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
13956 /* HP/UX 9 (%@#!) writes to sscanf strings */
13957 tmp_version = my_strdup("$min_sdl_version");
13958 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
13959 printf("%s, bad version string\n", "$min_sdl_version");
13963 if (($sdl_major_version > major) ||
13964 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
13965 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
13971 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
13972 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
13973 printf("*** best to upgrade to the required version.\n");
13974 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
13975 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
13976 printf("*** config.cache before re-running configure\n");
13983 if ac_fn_c_try_run
"$LINENO"; then :
13988 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13989 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13992 CFLAGS
="$ac_save_CFLAGS"
13993 CXXFLAGS
="$ac_save_CXXFLAGS"
13994 LIBS
="$ac_save_LIBS"
13997 if test "x$no_sdl" = x
; then
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13999 $as_echo "yes" >&6; }
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14003 $as_echo "no" >&6; }
14004 if test "$SDL_CONFIG" = "no" ; then
14005 echo "*** The sdl-config script installed by SDL could not be found"
14006 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14007 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14008 echo "*** full path to sdl-config."
14010 if test -f conf.sdltest
; then
14013 echo "*** Could not run SDL test program, checking why..."
14014 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14015 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14016 LIBS
="$LIBS $SDL_LIBS"
14017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14018 /* end confdefs.h. */
14023 int main(int argc, char *argv[])
14026 #define main K_and_R_C_main
14036 if ac_fn_c_try_link
"$LINENO"; then :
14037 echo "*** The test program compiled, but did not run. This usually means"
14038 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14039 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14040 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14041 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14042 echo "*** is required on your system"
14044 echo "*** If you have an old version installed, it is best to remove it, although"
14045 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14047 echo "*** The test program failed to compile or link. See the file config.log for the"
14048 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14049 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14050 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14052 rm -f core conftest.err conftest.
$ac_objext \
14053 conftest
$ac_exeext conftest.
$ac_ext
14054 CFLAGS
="$ac_save_CFLAGS"
14055 CXXFLAGS
="$ac_save_CXXFLAGS"
14056 LIBS
="$ac_save_LIBS"
14068 if test "x-$have_sdl" != "x-yes" ; then
14070 if test "x-$sdl_hidd" != "x-auto" ; then
14071 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14075 sdl_hidd_target
=kernel-hidd-sdl
14076 aros_host_sdl_cflags
=SDL_CFLAGS
14077 aros_host_sdl_libs
=SDL_LIBS
14081 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14082 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14087 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14088 oss_library_target
=workbench-libs-oss-unix
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14094 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14095 # Check whether --enable-dbus was given.
14096 if test "${enable_dbus+set}" = set; then :
14097 enableval
=$enable_dbus; dbus
="yes"
14102 if test "$dbus" = "yes" ; then
14104 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14105 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14106 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14107 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14112 $as_echo "$dbus" >&6; }
14114 if test "$use_kernel_cc_wrapper" = "yes" ; then
14115 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14118 if test "${crosstools}" != "yes" ; then
14119 aros_target_toolchain
=no
14121 aros_target_toolchain
=yes
14137 # Compatability with other Amiga-like operation systems
14232 # Delinting target compiler flags
14256 # Native version related
14259 # Palm native version related
14262 # Unix/Hosted version related
14268 # Apple iOS related
14293 # Collect-aros stuff: "-ius" to ignore undefined symbols
14296 # C compiler related
14299 case "$aros_flavour" in
14300 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14301 aros_flavour
="emulation" ;;
14302 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14303 aros_flavour
="emulation" ;;
14304 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14305 aros_flavour
="standalone";;
14306 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14307 aros_flavour
="standalone";;
14308 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14309 aros_flavour
="native" ;;
14310 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14311 aros_flavour
="native" ;;
14312 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14313 aros_flavour
="linklib" ;;
14314 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14315 aros_flavour
="palmnative" ;;
14316 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14317 aros_flavour
="mac68knative" ;;
14318 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14319 aros_flavour
="ppcnative" ;;
14322 if test ! -d ${aros_inc_dir} ; then
14323 ${MKDIR} ${aros_inc_dir}
14325 if test ! -d ${aros_geninc_dir} ; then
14326 ${MKDIR} ${aros_geninc_dir}
14328 if test ! -d ${aros_hostcfg_dir} ; then
14329 ${MKDIR} ${aros_hostcfg_dir}
14331 if test ! -d ${aros_targetcfg_dir} ; then
14332 ${MKDIR} ${aros_targetcfg_dir}
14334 if test ! -d ${aros_tools_dir} ; then
14335 ${MKDIR} ${aros_tools_dir}
14337 if test ! -d ${aros_scripts_dir} ; then
14338 ${MKDIR} ${aros_scripts_dir}
14341 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14344 ac_config_commands
="$ac_config_commands compiler_executable"
14346 ac_config_commands
="$ac_config_commands genmf_executable"
14349 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"
14352 cat >confcache
<<\_ACEOF
14353 # This file is a shell script that caches the results of configure
14354 # tests run on this system so they can be shared between configure
14355 # scripts and configure runs, see configure's option --config-cache.
14356 # It is not useful on other systems. If it contains results you don't
14357 # want to keep, you may remove or edit it.
14359 # config.status only pays attention to the cache file if you give it
14360 # the --recheck option to rerun configure.
14362 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14363 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14364 # following values.
14368 # The following way of writing the cache mishandles newlines in values,
14369 # but we know of no workaround that is simple, portable, and efficient.
14370 # So, we kill variables containing newlines.
14371 # Ultrix sh set writes to stderr and can't be redirected directly,
14372 # and sets the high bit in the cache file unless we assign to the vars.
14374 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14375 eval ac_val
=\$
$ac_var
14379 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14380 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14383 _ | IFS | as_nl
) ;; #(
14384 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14385 *) { eval $ac_var=; unset $ac_var;} ;;
14391 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14392 *${as_nl}ac_space
=\
*)
14393 # `set' does not quote correctly, so add quotes: double-quote
14394 # substitution turns \\\\ into \\, and sed turns \\ into \.
14397 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14400 # `set' quotes correctly as required by POSIX, so do not add quotes.
14401 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14410 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14412 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14414 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14415 if test -w "$cache_file"; then
14416 if test "x$cache_file" != "x/dev/null"; then
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14418 $as_echo "$as_me: updating cache $cache_file" >&6;}
14419 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14420 cat confcache
>"$cache_file"
14422 case $cache_file in #(
14424 mv -f confcache
"$cache_file"$$
&&
14425 mv -f "$cache_file"$$
"$cache_file" ;; #(
14427 mv -f confcache
"$cache_file" ;;
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14433 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14438 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14439 # Let make expand exec_prefix.
14440 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14442 DEFS
=-DHAVE_CONFIG_H
14447 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14448 # 1. Remove the extension, and $U if already installed.
14449 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14450 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14451 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14452 # will be set to the directory where LIBOBJS objects are built.
14453 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14454 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14456 LIBOBJS
=$ac_libobjs
14458 LTLIBOBJS
=$ac_ltlibobjs
14462 : "${CONFIG_STATUS=./config.status}"
14464 ac_clean_files_save
=$ac_clean_files
14465 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14467 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14469 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14471 # Generated by $as_me.
14472 # Run this file to recreate the current configuration.
14473 # Compiler output produced by configure, useful for debugging
14474 # configure, is in config.log if it exists.
14477 ac_cs_recheck=false
14480 SHELL=\${CONFIG_SHELL-$SHELL}
14483 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14484 ## -------------------- ##
14485 ## M4sh Initialization. ##
14486 ## -------------------- ##
14488 # Be more Bourne compatible
14489 DUALCASE
=1; export DUALCASE
# for MKS sh
14490 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14493 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14494 # is contrary to our usage. Disable this feature.
14495 alias -g '${1+"$@"}'='"$@"'
14496 setopt NO_GLOB_SUBST
14498 case `(set -o) 2>/dev/null` in #(
14510 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14511 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14512 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14513 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14514 # Prefer a ksh shell builtin over an external printf program on Solaris,
14515 # but without wasting forks for bash or zsh.
14516 if test -z "$BASH_VERSION$ZSH_VERSION" \
14517 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14518 as_echo='print
-r --'
14519 as_echo_n='print
-rn --'
14520 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14521 as_echo='printf %s
\n'
14522 as_echo_n='printf %s
'
14524 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14525 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14526 as_echo_n='/usr
/ucb
/echo -n'
14528 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14529 as_echo_n_body='eval
14533 expr "X$arg" : "X\\(.*\\)$as_nl";
14534 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14536 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14538 export as_echo_n_body
14539 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14541 export as_echo_body
14542 as_echo='sh
-c $as_echo_body as_echo
'
14545 # The user is always right.
14546 if test "${PATH_SEPARATOR+set}" != set; then
14548 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14549 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14556 # We need space, tab and new line, in precisely that order. Quoting is
14557 # there to prevent editors from complaining about space-tab.
14558 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14559 # splitting by setting IFS to empty value.)
14562 # Find who we are. Look in the path if we contain no directory separator.
14565 *[\\/]* ) as_myself=$0 ;;
14566 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14567 for as_dir in $PATH
14570 test -z "$as_dir" && as_dir=.
14571 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14577 # We did not find ourselves, most probably we were run as `sh COMMAND'
14578 # in which case we are not to be found in the path.
14579 if test "x$as_myself" = x
; then
14582 if test ! -f "$as_myself"; then
14583 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14587 # Unset variables that we do not need and which cause bugs (e.g. in
14588 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14589 # suppresses any "Segmentation fault" message there. '((' could
14590 # trigger a bug in pdksh 5.2.14.
14591 for as_var
in BASH_ENV ENV MAIL MAILPATH
14592 do eval test x\
${$as_var+set} = xset \
14593 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14606 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14609 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14610 # ----------------------------------------
14611 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14612 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14613 # script with STATUS, using 1 if that was 0.
14616 as_status
=$1; test $as_status -eq 0 && as_status
=1
14618 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14619 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14621 $as_echo "$as_me: error: $2" >&2
14622 as_fn_exit
$as_status
14626 # as_fn_set_status STATUS
14627 # -----------------------
14628 # Set $? to STATUS, without forking.
14629 as_fn_set_status
()
14632 } # as_fn_set_status
14634 # as_fn_exit STATUS
14635 # -----------------
14636 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14640 as_fn_set_status
$1
14646 # Portably unset VAR.
14649 { eval $1=; unset $1;}
14651 as_unset
=as_fn_unset
14652 # as_fn_append VAR VALUE
14653 # ----------------------
14654 # Append the text in VALUE to the end of the definition contained in VAR. Take
14655 # advantage of any shell optimizations that allow amortized linear growth over
14656 # repeated appends, instead of the typical quadratic growth present in naive
14658 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14659 eval 'as_fn_append ()
14670 # as_fn_arith ARG...
14671 # ------------------
14672 # Perform arithmetic evaluation on the ARGs, and store the result in the
14673 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14674 # must be portable across $(()) and expr.
14675 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14676 eval 'as_fn_arith ()
14683 as_val
=`expr "$@" || test $? -eq 1`
14688 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14689 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14695 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14696 as_basename
=basename
14701 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14707 as_me
=`$as_basename -- "$0" ||
14708 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14709 X"$0" : 'X\(//\)$' \| \
14710 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14712 sed '/^.*\/\([^/][^/]*\)\/*$/{
14726 # Avoid depending upon Character Ranges.
14727 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14728 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14729 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14730 as_cr_digits
='0123456789'
14731 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14733 ECHO_C
= ECHO_N
= ECHO_T
=
14734 case `echo -n x` in #(((((
14736 case `echo 'xy\c'` in
14737 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14739 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14746 rm -f conf$$ conf$$.exe conf$$.
file
14747 if test -d conf$$.dir
; then
14748 rm -f conf$$.dir
/conf$$.
file
14751 mkdir conf$$.dir
2>/dev
/null
14753 if (echo >conf$$.
file) 2>/dev
/null
; then
14754 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14756 # ... but there are two gotchas:
14757 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14758 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14759 # In both cases, we have to default to `cp -p'.
14760 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14762 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14770 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14771 rmdir conf$$.dir
2>/dev
/null
14776 # Create "$as_dir" as a directory, including parents if necessary.
14781 -*) as_dir
=.
/$as_dir;;
14783 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14787 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14788 *) as_qdir
=$as_dir;;
14790 as_dirs
="'$as_qdir' $as_dirs"
14791 as_dir
=`$as_dirname -- "$as_dir" ||
14792 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14793 X"$as_dir" : 'X\(//\)[^/]' \| \
14794 X"$as_dir" : 'X\(//\)$' \| \
14795 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14796 $as_echo X"$as_dir" |
14797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14801 /^X\(\/\/\)[^/].*/{
14814 test -d "$as_dir" && break
14816 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14817 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14821 if mkdir
-p .
2>/dev
/null
; then
14822 as_mkdir_p
='mkdir -p "$as_dir"'
14824 test -d .
/-p && rmdir .
/-p
14828 if test -x / >/dev
/null
2>&1; then
14829 as_test_x
='test -x'
14831 if ls -dL / >/dev
/null
2>&1; then
14838 if test -d "$1"; then
14844 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14845 ???[sx]*):;;*)false;;esac;fi
14849 as_executable_p
=$as_test_x
14851 # Sed expression to map a string onto a valid CPP name.
14852 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14854 # Sed expression to map a string onto a valid variable name.
14855 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14859 ## ----------------------------------- ##
14860 ## Main body of $CONFIG_STATUS script. ##
14861 ## ----------------------------------- ##
14863 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14866 # Save the log message, to keep $0 and so on meaningful, and to
14867 # report actual input values of CONFIG_FILES etc. instead of their
14868 # values after options handling.
14870 This file was extended by $as_me, which was
14871 generated by GNU Autoconf 2.68. Invocation command line was
14873 CONFIG_FILES = $CONFIG_FILES
14874 CONFIG_HEADERS = $CONFIG_HEADERS
14875 CONFIG_LINKS = $CONFIG_LINKS
14876 CONFIG_COMMANDS = $CONFIG_COMMANDS
14879 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14884 case $ac_config_files in *"
14885 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14888 case $ac_config_headers in *"
14889 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14894 # Files that config.status was made for.
14895 config_files="$ac_config_files"
14896 config_headers="$ac_config_headers"
14897 config_commands="$ac_config_commands"
14901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14903 \`$as_me' instantiates files and other configuration actions
14904 from templates according to the current configuration. Unless the files
14905 and actions are specified as TAGs, all are instantiated by default.
14907 Usage: $0 [OPTION]... [TAG]...
14909 -h, --help print this help, then exit
14910 -V, --version print version number and configuration settings, then exit
14911 --config print configuration, then exit
14912 -q, --quiet, --silent
14913 do not print progress messages
14914 -d, --debug don't remove temporary files
14915 --recheck update $as_me by reconfiguring in the same conditions
14916 --file=FILE[:TEMPLATE]
14917 instantiate the configuration file FILE
14918 --header=FILE[:TEMPLATE]
14919 instantiate the configuration header FILE
14921 Configuration files:
14924 Configuration headers:
14927 Configuration commands:
14930 Report bugs to the package provider."
14933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14934 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14937 configured by $0, generated by GNU Autoconf 2.68,
14938 with options \\"\$ac_cs_config\\"
14940 Copyright (C) 2010 Free Software Foundation, Inc.
14941 This config.status script is free software; the Free Software Foundation
14942 gives unlimited permission to copy, distribute and modify it."
14946 test -n "\$AWK" || AWK=awk
14949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14950 # The default lists apply if the user does not specify any file.
14956 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14957 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14961 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14973 # Handling of the options.
14974 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14976 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14977 $as_echo "$ac_cs_version"; exit ;;
14978 --config |
--confi |
--conf |
--con |
--co |
--c )
14979 $as_echo "$ac_cs_config"; exit ;;
14980 --debug |
--debu |
--deb |
--de |
--d |
-d )
14982 --file |
--fil |
--fi |
--f )
14985 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14986 '') as_fn_error $?
"missing file argument" ;;
14988 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14989 ac_need_defaults
=false
;;
14990 --header |
--heade |
--head |
--hea )
14993 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14995 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14996 ac_need_defaults
=false
;;
14998 # Conflict between --help and --header
14999 as_fn_error $?
"ambiguous option: \`$1'
15000 Try \`$0 --help' for more information.";;
15001 --help |
--hel |
-h )
15002 $as_echo "$ac_cs_usage"; exit ;;
15003 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15004 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15007 # This is an error.
15008 -*) as_fn_error $?
"unrecognized option: \`$1'
15009 Try \`$0 --help' for more information." ;;
15011 *) as_fn_append ac_config_targets
" $1"
15012 ac_need_defaults
=false
;;
15018 ac_configure_extra_args
=
15020 if $ac_cs_silent; then
15022 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15027 if \$ac_cs_recheck; then
15028 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15030 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15031 CONFIG_SHELL='$SHELL'
15032 export CONFIG_SHELL
15037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15041 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15042 ## Running $as_me. ##
15048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15053 aros_host_exe_suffix=${aros_host_exe_suffix}
15054 aros_tools_dir=${aros_tools_dir}
15055 aros_target_cpu=${aros_target_cpu}
15056 aros_target_arch=${aros_target_arch}
15057 aros_target_suffix=${aros_target_suffix}
15058 orig_target_nm=${orig_target_nm}
15059 orig_target_as=${orig_target_as}
15060 orig_target_ar=${orig_target_ar}
15061 orig_target_ranlib=${orig_target_ranlib}
15062 orig_target_objdump=${orig_target_objdump}
15063 orig_target_objcopy=${orig_target_objcopy}
15064 orig_target_strip=${orig_target_strip}
15065 aros_kernel_ld=${aros_kernel_ld}
15068 aros_tools_dir=${aros_tools_dir}
15073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15075 # Handling of arguments.
15076 for ac_config_target
in $ac_config_targets
15078 case $ac_config_target in
15079 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15080 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15081 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15082 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15083 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15084 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15085 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15086 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15087 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15088 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15089 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15090 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15091 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15092 "${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" ;;
15093 "${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" ;;
15094 "${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" ;;
15095 "${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" ;;
15096 "${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" ;;
15097 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15098 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15099 "${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" ;;
15101 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15106 # If the user did not use the arguments to specify the items to instantiate,
15107 # then the envvar interface is used. Set only those that are not.
15108 # We use the long form for the default assignment because of an extremely
15109 # bizarre bug on SunOS 4.1.3.
15110 if $ac_need_defaults; then
15111 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15112 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15113 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15116 # Have a temporary directory for convenience. Make it in the build tree
15117 # simply because there is no reason against having it here, and in addition,
15118 # creating and moving files from /tmp can sometimes cause problems.
15119 # Hook for its removal unless debugging.
15120 # Note that there is a small window in which the directory will not be cleaned:
15121 # after its creation but before its name has been assigned to `$tmp'.
15125 trap 'exit_status=$?
15126 : "${ac_tmp:=$tmp}"
15127 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15129 trap 'as_fn_exit 1' 1 2 13 15
15131 # Create a (secure) tmp directory for tmp files.
15134 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15138 tmp
=.
/conf$$
-$RANDOM
15139 (umask 077 && mkdir
"$tmp")
15140 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15143 # Set up the scripts for CONFIG_FILES section.
15144 # No need to generate them if there are no CONFIG_FILES.
15145 # This happens for instance with `./config.status config.h'.
15146 if test -n "$CONFIG_FILES"; then
15149 ac_cr
=`echo X | tr X '\015'`
15150 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15151 # But we know of no other shell where ac_cr would be empty at this
15152 # point, so we can use a bashism as a fallback.
15153 if test "x$ac_cr" = x
; then
15154 eval ac_cr
=\$
\'\\r
\'
15156 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15157 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15160 ac_cs_awk_cr
=$ac_cr
15163 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15168 echo "cat >conf$$subs.awk <<_ACEOF" &&
15169 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15171 } >conf$$subs.sh ||
15172 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15173 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15175 for ac_last_try in false false false false false :; do
15176 . ./conf$$subs.sh ||
15177 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15179 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15180 if test $ac_delim_n = $ac_delim_num; then
15182 elif $ac_last_try; then
15183 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15185 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15188 rm -f conf$$subs.sh
15190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15191 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15195 s/^/S["/; s
/!.
*/"]=/
15205 s/\(.\{148\}\)..*/\1/
15207 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15212 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15219 s/\(.\{148\}\)..*/\1/
15221 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15225 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15230 ' <conf$$subs.awk | sed '
15235 ' >>$CONFIG_STATUS || ac_write_fail=1
15236 rm -f conf$$subs.awk
15237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15239 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15240 for (key in S) S_is_set[key] = 1
15246 nfields = split(line, field, "@
")
15248 len = length(field[1])
15249 for (i = 2; i < nfields; i++) {
15251 keylen = length(key)
15252 if (S_is_set[key]) {
15254 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15255 len += length(value) + length(field[++i])
15266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15267 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15268 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15271 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15272 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15275 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15276 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15277 # trailing colons and then remove the whole line if VPATH becomes empty
15278 # (actually we leave an empty line to preserve line numbers).
15279 if test "x
$srcdir" = x.; then
15280 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15299 fi # test -n "$CONFIG_FILES"
15301 # Set up the scripts for CONFIG_HEADERS section.
15302 # No need to generate them if there are no CONFIG_HEADERS.
15303 # This happens for instance with `./config.status Makefile'.
15304 if test -n "$CONFIG_HEADERS"; then
15305 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15309 # Transform confdefs.h into an awk script `defines.awk', embedded as
15310 # here-document in config.status, that substitutes the proper values into
15311 # config.h.in to produce config.h.
15313 # Create a delimiter string that does not exist in confdefs.h, to ease
15314 # handling of long lines.
15316 for ac_last_try in false false :; do
15317 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15318 if test -z "$ac_tt"; then
15320 elif $ac_last_try; then
15321 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15323 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15327 # For the awk script, D is an array of macro values keyed by name,
15328 # likewise P contains macro parameters if any. Preserve backslash
15329 # newline sequences.
15331 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15333 s/.\{148\}/&'"$ac_delim"'/g
15336 s/^[ ]*#[ ]*define[ ][ ]*/ /
15343 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15345 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15349 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15350 D["\
1"]=" \
3\\\\\\n
"\\/p
15352 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15357 s/.\{148\}/&'"$ac_delim"'/g
15362 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15365 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15367 ' <confdefs.h | sed '
15368 s/'"$ac_delim"'/"\\\
15369 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15372 for (key in D) D_is_set[key] = 1
15375 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15377 split(line, arg, " ")
15378 if (arg[1] == "#") {
15382 defundef
= substr
(arg
[1], 2)
15385 split(mac1
, mac2
, "(") #)
15387 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15388 if (D_is_set
[macro
]) {
15389 # Preserve the white space surrounding the "#".
15390 print prefix
"define", macro P
[macro
] D
[macro
]
15393 # Replace #undef with comments. This is necessary, for example,
15394 # in the case of _POSIX_SOURCE, which is predefined and required
15395 # on some systems where configure will not decide to define it.
15396 if (defundef
== "undef") {
15397 print
"/*", prefix defundef
, macro
, "*/"
15405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15406 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15407 fi # test -n "$CONFIG_HEADERS"
15410 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15415 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15417 case $ac_mode$ac_tag in
15419 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15420 :[FH
]-) ac_tag
=-:-;;
15421 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15438 -) ac_f
="$ac_tmp/stdin";;
15439 *) # Look for the file first in the build tree, then in the source tree
15440 # (if the path is not absolute). The absolute path cannot be DOS-style,
15441 # because $ac_f cannot contain `:'.
15445 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15447 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15449 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15450 as_fn_append ac_file_inputs
" '$ac_f'"
15453 # Let's still pretend it is `configure' which instantiates (i.e., don't
15454 # use $as_me), people would be surprised to read:
15455 # /* config.h. Generated by config.status. */
15456 configure_input
='Generated from '`
15457 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15459 if test x
"$ac_file" != x-
; then
15460 configure_input
="$ac_file. $configure_input"
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15462 $as_echo "$as_me: creating $ac_file" >&6;}
15464 # Neutralize special characters interpreted by sed in replacement strings.
15465 case $configure_input in #(
15466 *\
&* |
*\|
* |
*\\* )
15467 ac_sed_conf_input
=`$as_echo "$configure_input" |
15468 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15469 *) ac_sed_conf_input
=$configure_input;;
15473 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15474 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15479 ac_dir
=`$as_dirname -- "$ac_file" ||
15480 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15481 X"$ac_file" : 'X\(//\)[^/]' \| \
15482 X"$ac_file" : 'X\(//\)$' \| \
15483 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15484 $as_echo X"$ac_file" |
15485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15489 /^X\(\/\/\)[^/].*/{
15502 as_dir
="$ac_dir"; as_fn_mkdir_p
15506 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15508 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15509 # A ".." for each directory in $ac_dir_suffix.
15510 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15511 case $ac_top_builddir_sub in
15512 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15513 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15516 ac_abs_top_builddir
=$ac_pwd
15517 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15518 # for backward compatibility:
15519 ac_top_builddir
=$ac_top_build_prefix
15522 .
) # We are building in place.
15524 ac_top_srcdir
=$ac_top_builddir_sub
15525 ac_abs_top_srcdir
=$ac_pwd ;;
15526 [\\/]* | ?
:[\\/]* ) # Absolute name.
15527 ac_srcdir
=$srcdir$ac_dir_suffix;
15528 ac_top_srcdir
=$srcdir
15529 ac_abs_top_srcdir
=$srcdir ;;
15530 *) # Relative name.
15531 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15532 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15533 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15535 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15547 # If the template does not know about datarootdir, expand it.
15548 # FIXME: This hack should be removed a few years after 2.60.
15549 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15560 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15561 *datarootdir
*) ac_datarootdir_seen
=yes;;
15562 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15564 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15567 ac_datarootdir_hack='
15568 s&@datadir@&$datadir&g
15569 s&@docdir@&$docdir&g
15570 s&@infodir@&$infodir&g
15571 s&@localedir@&$localedir&g
15572 s&@mandir@&$mandir&g
15573 s&\\\${datarootdir}&$datarootdir&g' ;;
15577 # Neutralize VPATH when `$srcdir' = `.'.
15578 # Shell code in configure.ac might set extrasub.
15579 # FIXME: do we really want to maintain this feature?
15580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15581 ac_sed_extra="$ac_vpsub
15584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15586 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15587 s|@configure_input@|
$ac_sed_conf_input|
;t t
15588 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15589 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15590 s
&@srcdir@
&$ac_srcdir&;t t
15591 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15592 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15593 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15594 s
&@builddir@
&$ac_builddir&;t t
15595 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15596 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15597 $ac_datarootdir_hack
15599 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15600 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15602 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15603 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15604 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15605 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15607 which seems to be undefined. Please make sure it is defined" >&5
15608 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15609 which seems to be undefined. Please make sure it is defined" >&2;}
15611 rm -f "$ac_tmp/stdin"
15613 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15614 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15616 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15622 if test x"$ac_file" != x-; then
15624 $as_echo "/* $configure_input */" \
15625 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15626 } >"$ac_tmp/config.h" \
15627 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15628 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15630 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15633 mv "$ac_tmp/config.h" "$ac_file" \
15634 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15637 $as_echo "/* $configure_input */" \
15638 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15639 || as_fn_error $? "could not create -" "$LINENO" 5
15643 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15644 $as_echo "$as_me: executing $ac_file commands" >&6;}
15649 case $ac_file$ac_mode in
15650 "compiler_executable":C)
15651 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15653 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15654 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15658 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15660 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15661 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15662 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15663 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15664 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15665 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15666 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15668 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15670 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15678 ac_clean_files=$ac_clean_files_save
15680 test $ac_write_fail = 0 ||
15681 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15684 # configure is writing to config.log, and then calls config.status.
15685 # config.status does its own redirection, appending to config.log.
15686 # Unfortunately, on DOS this fails, as config.log is still kept open
15687 # by configure, so config.status won't be able to
write to it
; its
15688 # output is simply discarded. So we exec the FD to /dev/null,
15689 # effectively closing config.log, so it can be properly (re)opened and
15690 # appended to by config.status. When coming back to configure, we
15691 # need to make the FD available again.
15692 if test "$no_create" != yes; then
15694 ac_config_status_args
=
15695 test "$silent" = yes &&
15696 ac_config_status_args
="$ac_config_status_args --quiet"
15698 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15700 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15701 # would make configure fail if this is the last instruction.
15702 $ac_cs_success || as_fn_exit
1
15704 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15706 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15711 #XXX compatability...
15712 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15714 if test -n "$aros_shared_cflags" ; then
15715 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15716 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg