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
607 ignore_undefined_symbols
619 gcc_default_float_abi
627 aros_nesting_supervisor
632 aros_host_x11_libdirs
633 aros_host_x11_includes
637 aros_default_wbheight
643 aros_cflags_format_security
644 aros_cflags_strict_overflow
645 aros_cflags_enum_compare
646 aros_cflags_array_bounds
647 aros_cflags_unused_but_set_variable
648 crosstools_cxx_target
650 aros_target_strip_flags
657 aros_kernel_objcflags
676 aros_target_cc_includes
691 aros_target_bootloader
711 aros_amigaos_compliance
717 aros_target_toolchain
726 aros_cflags_iquote_end
728 kernel_cflags_iquote_end
730 host_cflags_iquote_end
732 aros_target_nostdlib_ldflags
733 aros_target_detach_ldflags
734 aros_target_nix_ldflags
735 aros_target_nostartup_ldflags
736 aros_target_nostdinc_cflags
853 program_transform_name
866 enable_option_checking
871 with_kernel_gcc_version
875 enable_target_variant
881 enable_amigaos_compliance
882 with_kernel_toolchain_prefix
883 with_elf_toolchain_prefix
886 with_aros_toolchain_install
898 enable_palm_debug_hack
900 enable_nesting_supervisor
912 ac_precious_vars
='build_alias
928 # Initialize some variables set by options.
930 ac_init_version
=false
931 ac_unrecognized_opts
=
933 # The variables have the same names as the options, with
934 # dashes changed to underlines.
942 program_transform_name
=s
,x
,x
,
950 # Installation directory options.
951 # These are left unexpanded so users can "make install exec_prefix=/foo"
952 # and all the variables that are supposed to be based on exec_prefix
953 # by default will actually change.
954 # Use braces instead of parens because sh, perl, etc. also accept them.
955 # (The list follows the same order as the GNU Coding Standards.)
956 bindir
='${exec_prefix}/bin'
957 sbindir
='${exec_prefix}/sbin'
958 libexecdir
='${exec_prefix}/libexec'
959 datarootdir
='${prefix}/share'
960 datadir
='${datarootdir}'
961 sysconfdir
='${prefix}/etc'
962 sharedstatedir
='${prefix}/com'
963 localstatedir
='${prefix}/var'
964 includedir
='${prefix}/include'
965 oldincludedir
='/usr/include'
966 docdir
='${datarootdir}/doc/${PACKAGE}'
967 infodir
='${datarootdir}/info'
972 libdir
='${exec_prefix}/lib'
973 localedir
='${datarootdir}/locale'
974 mandir
='${datarootdir}/man'
980 # If the previous option needs an argument, assign it.
981 if test -n "$ac_prev"; then
982 eval $ac_prev=\
$ac_option
988 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
993 # Accept the important Cygnus configure options, so we can diagnose typos.
995 case $ac_dashdash$ac_option in
999 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1001 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1002 bindir
=$ac_optarg ;;
1004 -build |
--build |
--buil |
--bui |
--bu)
1005 ac_prev
=build_alias
;;
1006 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1007 build_alias
=$ac_optarg ;;
1009 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1010 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1011 ac_prev
=cache_file
;;
1012 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1013 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1014 cache_file
=$ac_optarg ;;
1016 --config-cache |
-C)
1017 cache_file
=config.cache
;;
1019 -datadir |
--datadir |
--datadi |
--datad)
1021 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1022 datadir
=$ac_optarg ;;
1024 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1025 |
--dataroo |
--dataro |
--datar)
1026 ac_prev
=datarootdir
;;
1027 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1028 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1029 datarootdir
=$ac_optarg ;;
1031 -disable-* |
--disable-*)
1032 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1035 as_fn_error $?
"invalid feature name: $ac_useropt"
1036 ac_useropt_orig
=$ac_useropt
1037 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "enable_
$ac_useropt"
1042 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1043 ac_unrecognized_sep
=', ';;
1045 eval enable_
$ac_useropt=no
;;
1047 -docdir |
--docdir |
--docdi |
--doc |
--do)
1049 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1050 docdir
=$ac_optarg ;;
1052 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1054 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1055 dvidir
=$ac_optarg ;;
1057 -enable-* |
--enable-*)
1058 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1061 as_fn_error $?
"invalid feature name: $ac_useropt"
1062 ac_useropt_orig
=$ac_useropt
1063 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1066 "enable_
$ac_useropt"
1068 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1069 ac_unrecognized_sep
=', ';;
1071 eval enable_
$ac_useropt=\
$ac_optarg ;;
1073 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1074 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1075 |
--exec |
--exe |
--ex)
1076 ac_prev
=exec_prefix
;;
1077 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1078 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1079 |
--exec=* |
--exe=* |
--ex=*)
1080 exec_prefix
=$ac_optarg ;;
1082 -gas |
--gas |
--ga |
--g)
1083 # Obsolete; use --with-gas.
1086 -help |
--help |
--hel |
--he |
-h)
1087 ac_init_help
=long
;;
1088 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1089 ac_init_help
=recursive
;;
1090 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1091 ac_init_help
=short
;;
1093 -host |
--host |
--hos |
--ho)
1094 ac_prev
=host_alias
;;
1095 -host=* |
--host=* |
--hos=* |
--ho=*)
1096 host_alias
=$ac_optarg ;;
1098 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1100 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1102 htmldir
=$ac_optarg ;;
1104 -includedir |
--includedir |
--includedi |
--included |
--include \
1105 |
--includ |
--inclu |
--incl |
--inc)
1106 ac_prev
=includedir
;;
1107 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1108 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1109 includedir
=$ac_optarg ;;
1111 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1113 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1114 infodir
=$ac_optarg ;;
1116 -libdir |
--libdir |
--libdi |
--libd)
1118 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1119 libdir
=$ac_optarg ;;
1121 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1122 |
--libexe |
--libex |
--libe)
1123 ac_prev
=libexecdir
;;
1124 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1125 |
--libexe=* |
--libex=* |
--libe=*)
1126 libexecdir
=$ac_optarg ;;
1128 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1129 ac_prev
=localedir
;;
1130 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1131 localedir
=$ac_optarg ;;
1133 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1134 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1135 ac_prev
=localstatedir
;;
1136 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1137 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1138 localstatedir
=$ac_optarg ;;
1140 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1142 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1143 mandir
=$ac_optarg ;;
1145 -nfp |
--nfp |
--nf)
1146 # Obsolete; use --without-fp.
1149 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1150 |
--no-cr |
--no-c |
-n)
1153 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1154 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1157 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1158 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1159 |
--oldin |
--oldi |
--old |
--ol |
--o)
1160 ac_prev
=oldincludedir
;;
1161 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1162 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1163 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1164 oldincludedir
=$ac_optarg ;;
1166 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1168 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1169 prefix
=$ac_optarg ;;
1171 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1172 |
--program-pre |
--program-pr |
--program-p)
1173 ac_prev
=program_prefix
;;
1174 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1175 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1176 program_prefix
=$ac_optarg ;;
1178 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1179 |
--program-suf |
--program-su |
--program-s)
1180 ac_prev
=program_suffix
;;
1181 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1182 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1183 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1193 -program-transform-name=* |
--program-transform-name=* \
1194 |
--program-transform-nam=* |
--program-transform-na=* \
1195 |
--program-transform-n=* |
--program-transform-=* \
1196 |
--program-transform=* |
--program-transfor=* \
1197 |
--program-transfo=* |
--program-transf=* \
1198 |
--program-trans=* |
--program-tran=* \
1199 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1200 program_transform_name
=$ac_optarg ;;
1202 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1204 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1205 pdfdir
=$ac_optarg ;;
1207 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1209 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1212 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1213 |
-silent |
--silent |
--silen |
--sile |
--sil)
1216 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1218 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1220 sbindir
=$ac_optarg ;;
1222 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1223 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1224 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1226 ac_prev
=sharedstatedir
;;
1227 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1228 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1229 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1231 sharedstatedir
=$ac_optarg ;;
1233 -site |
--site |
--sit)
1235 -site=* |
--site=* |
--sit=*)
1238 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1240 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1241 srcdir
=$ac_optarg ;;
1243 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1244 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1245 ac_prev
=sysconfdir
;;
1246 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1247 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1248 sysconfdir
=$ac_optarg ;;
1250 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1251 ac_prev
=target_alias
;;
1252 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1253 target_alias
=$ac_optarg ;;
1255 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1258 -version |
--version |
--versio |
--versi |
--vers |
-V)
1259 ac_init_version
=: ;;
1262 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1263 # Reject names that are not valid shell variable names.
1264 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1265 as_fn_error $?
"invalid package name: $ac_useropt"
1266 ac_useropt_orig
=$ac_useropt
1267 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1268 case $ac_user_opts in
1272 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1273 ac_unrecognized_sep
=', ';;
1275 eval with_
$ac_useropt=\
$ac_optarg ;;
1277 -without-* |
--without-*)
1278 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1279 # Reject names that are not valid shell variable names.
1280 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1281 as_fn_error $?
"invalid package name: $ac_useropt"
1282 ac_useropt_orig
=$ac_useropt
1283 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1284 case $ac_user_opts in
1288 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1289 ac_unrecognized_sep
=', ';;
1291 eval with_
$ac_useropt=no
;;
1294 # Obsolete; use --with-x.
1297 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1298 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1299 ac_prev
=x_includes
;;
1300 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1301 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1302 x_includes
=$ac_optarg ;;
1304 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1305 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1306 ac_prev
=x_libraries
;;
1307 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1308 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1309 x_libraries
=$ac_optarg ;;
1311 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1312 Try \`$0 --help' for more information"
1316 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1317 # Reject names that are not valid shell variable names.
1318 case $ac_envvar in #(
1319 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1320 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1322 eval $ac_envvar=\
$ac_optarg
1323 export $ac_envvar ;;
1326 # FIXME: should be removed in autoconf 3.0.
1327 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1328 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1329 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1330 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1336 if test -n "$ac_prev"; then
1337 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1338 as_fn_error $?
"missing argument to $ac_option"
1341 if test -n "$ac_unrecognized_opts"; then
1342 case $enable_option_checking in
1344 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1345 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1349 # Check all directory arguments for consistency.
1350 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1351 datadir sysconfdir sharedstatedir localstatedir includedir \
1352 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1353 libdir localedir mandir
1355 eval ac_val
=\$
$ac_var
1356 # Remove trailing slashes.
1359 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1360 eval $ac_var=\
$ac_val;;
1362 # Be sure to have absolute directory names.
1364 [\\/$
]* | ?
:[\\/]* ) continue;;
1365 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1367 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1370 # There might be people who depend on the old broken behavior: `$host'
1371 # used to hold the argument of --host etc.
1372 # FIXME: To remove some day.
1375 target
=$target_alias
1377 # FIXME: To remove some day.
1378 if test "x$host_alias" != x
; then
1379 if test "x$build_alias" = x
; then
1380 cross_compiling
=maybe
1381 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1382 If a cross compiler is detected then cross compile mode will be used" >&2
1383 elif test "x$build_alias" != "x$host_alias"; then
1389 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1391 test "$silent" = yes && exec 6>/dev
/null
1394 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1395 ac_ls_di
=`ls -di .` &&
1396 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1397 as_fn_error $?
"working directory cannot be determined"
1398 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1399 as_fn_error $?
"pwd does not report name of working directory"
1402 # Find the source files, if location was not specified.
1403 if test -z "$srcdir"; then
1404 ac_srcdir_defaulted
=yes
1405 # Try the directory containing this script, then the parent directory.
1406 ac_confdir
=`$as_dirname -- "$as_myself" ||
1407 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1408 X"$as_myself" : 'X\(//\)[^/]' \| \
1409 X"$as_myself" : 'X\(//\)$' \| \
1410 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1411 $as_echo X"$as_myself" |
1412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1430 if test ! -r "$srcdir/$ac_unique_file"; then
1434 ac_srcdir_defaulted
=no
1436 if test ! -r "$srcdir/$ac_unique_file"; then
1437 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1438 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1440 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1442 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1444 # When building in place, set srcdir=.
1445 if test "$ac_abs_confdir" = "$ac_pwd"; then
1448 # Remove unnecessary trailing slashes from srcdir.
1449 # Double slashes in file names in object file debugging info
1450 # mess up M-x gdb in Emacs.
1452 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1454 for ac_var
in $ac_precious_vars; do
1455 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1456 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1457 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1458 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1462 # Report the --help message.
1464 if test "$ac_init_help" = "long"; then
1465 # Omit some internal or obsolete options to make the list less imposing.
1466 # This message is too long to be a string in the A/UX 3.1 sh.
1468 \`configure' configures this package to adapt to many kinds of systems.
1470 Usage: $0 [OPTION]... [VAR=VALUE]...
1472 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1473 VAR=VALUE. See below for descriptions of some of the useful variables.
1475 Defaults for the options are specified in brackets.
1478 -h, --help display this help and exit
1479 --help=short display options specific to this package
1480 --help=recursive display the short help of all the included packages
1481 -V, --version display version information and exit
1482 -q, --quiet, --silent do not print \`checking ...' messages
1483 --cache-file=FILE cache test results in FILE [disabled]
1484 -C, --config-cache alias for \`--cache-file=config.cache'
1485 -n, --no-create do not create output files
1486 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1488 Installation directories:
1489 --prefix=PREFIX install architecture-independent files in PREFIX
1490 [$ac_default_prefix]
1491 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1494 By default, \`make install' will install all the files in
1495 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1496 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1497 for instance \`--prefix=\$HOME'.
1499 For better control, use the options below.
1501 Fine tuning of the installation directories:
1502 --bindir=DIR user executables [EPREFIX/bin]
1503 --sbindir=DIR system admin executables [EPREFIX/sbin]
1504 --libexecdir=DIR program executables [EPREFIX/libexec]
1505 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1506 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1507 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1508 --libdir=DIR object code libraries [EPREFIX/lib]
1509 --includedir=DIR C header files [PREFIX/include]
1510 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1511 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1512 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1513 --infodir=DIR info documentation [DATAROOTDIR/info]
1514 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1515 --mandir=DIR man documentation [DATAROOTDIR/man]
1516 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1517 --htmldir=DIR html documentation [DOCDIR]
1518 --dvidir=DIR dvi documentation [DOCDIR]
1519 --pdfdir=DIR pdf documentation [DOCDIR]
1520 --psdir=DIR ps documentation [DOCDIR]
1526 --x-includes=DIR X include files are
in DIR
1527 --x-libraries=DIR X library files are
in DIR
1530 --build=BUILD configure
for building on BUILD
[guessed
]
1531 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1535 if test -n "$ac_init_help"; then
1540 --disable-option-checking ignore unrecognized
--enable/--with options
1541 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1542 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1543 --enable-build-type=TYPE
1544 Select the build
type. Available types are
:
1545 personal
, nightly
, snapshot
, milestone
, release. Do
1546 NOT use this option unless you know what you are
1547 doing
! (default
=personal
)
1548 --enable-debug=list Enable different types of debug. Commas or
1549 whitespaces can be used to separate the items
in the
1550 list. Available types of debug are
: all
, none
,
1551 messages
, stack
, mungwall
, modules
, symbols. If no
1552 list is provided
then "all" is assumed.
1554 --enable-distcc Use distcc as a front end to the compiler
1556 --enable-ccache Use ccache as a front end to the compiler
1558 --enable-target-variant=NAME
1559 Enable a specific target variant
(default
=none
)
1560 --enable-amigaos-compliance=VERSION
1561 Enforce userspace AmigaOS compliance to a specific
1562 KickStart version
(default
=none
).
1563 --disable-crosstools Do not build cross-compiler toolchain
1564 --disable-objc Build without Objectve-C support
1565 --enable-includes=dir Alternative system include directory
1566 --enable-palm-debug-hack
1567 Enable palm debug output hack
in palm native
1569 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1570 --enable-nesting-supervisor
1571 Enable nesting supervisor support
in unix
1573 --disable-mmu Disable MMU support
(default
=enabled
)
1574 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1575 --enable-x11-shm use X11 shared memory
(default
=auto
)
1576 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1577 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1578 --disable-sdltest Do not try to compile and run a
test SDL program
1579 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1582 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1583 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1584 --with-kernel-gcc-version=VERSION
1585 Use gcc-VERSION
for building bootstrap
1586 --with-gcc-version=VERSION
1587 Use gcc-VERSION
for building AROS
1588 --with-optimization=FLAGS
1589 Use optimization flags FLAGS
(default
=-O2).
1590 --with-paranoia=FLAGS CC flags to
enable paranoia
1591 --with-xcode=PATH Specify XCode path
for iOS targets
1592 (default
=/Developer
).
1593 --with-sdk-version=VERSION
1594 Use iOS SDK version VERSION
(default
=4.1).
1595 --with-sdk=PATH Specify Android SDK path
1596 (default
=$default_android_sdk).
1597 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1598 --with-sdk-version=LEVEL
1599 Use Android SDK
for API LEVEL
(default
=12).
1600 --with-ndk-version=LEVEL
1601 Use Android NDK
for API LEVEL
(default
=9).
1602 --with-kernel-toolchain-prefix=...
1603 Specify crosscompile toolchain prefix
for kernel
1605 --with-elf-toolchain-prefix=...
1606 Specify crosscompile toolchain prefix to wrap
for
1608 --with-aros-toolchain=PREFIX
1609 Specify prebuilt AROS toolchain
1610 --with-aros-toolchain-install=DIR
1611 Where to
install or search
for cross tools binaries
1612 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1613 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1614 --with-float=<spec
> Specify floating point ABI
1615 (default
=$gcc_default_float_abi).
1616 --with-portssources=DIR Where to download sourcecode
for external ports
1617 --with-bootloader=NAME Use a specific bootloader
1618 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1619 --with-theme=NAME Use a specific GUI Theme
1620 --with-resolution=XRESxYRESxDEPTH
1621 Default resolution of the initial WorkbenchScreen
1622 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1623 --with-x use the X Window System
1624 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1625 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1627 Some influential environment variables
:
1628 CXX C
++ compiler
command
1629 CXXFLAGS C
++ compiler flags
1630 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1631 nonstandard directory
<lib dir
>
1632 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1633 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1634 you have headers
in a nonstandard directory
<include dir
>
1635 CC C compiler
command
1636 CFLAGS C compiler flags
1638 PYTHON the Python interpreter
1639 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1641 Use these variables to override the choices made by
`configure' or to help
1642 it to find libraries and programs with nonstandard names/locations.
1644 Report bugs to the package provider.
1649 if test "$ac_init_help" = "recursive"; then
1650 # If there are subdirs, report their specific --help.
1651 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1652 test -d "$ac_dir" ||
1653 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1658 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1660 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1661 # A ".." for each directory in $ac_dir_suffix.
1662 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1663 case $ac_top_builddir_sub in
1664 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1665 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1668 ac_abs_top_builddir=$ac_pwd
1669 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1670 # for backward compatibility:
1671 ac_top_builddir=$ac_top_build_prefix
1674 .) # We are building in place.
1676 ac_top_srcdir=$ac_top_builddir_sub
1677 ac_abs_top_srcdir=$ac_pwd ;;
1678 [\\/]* | ?:[\\/]* ) # Absolute name.
1679 ac_srcdir=$srcdir$ac_dir_suffix;
1680 ac_top_srcdir=$srcdir
1681 ac_abs_top_srcdir=$srcdir ;;
1683 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1684 ac_top_srcdir=$ac_top_build_prefix$srcdir
1685 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1687 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1689 cd "$ac_dir" || { ac_status=$?; continue; }
1690 # Check for guested configure.
1691 if test -f "$ac_srcdir/configure.gnu"; then
1693 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1694 elif test -f "$ac_srcdir/configure"; then
1696 $SHELL "$ac_srcdir/configure" --help=recursive
1698 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1700 cd "$ac_pwd" || { ac_status=$?; break; }
1704 test -n "$ac_init_help" && exit $ac_status
1705 if $ac_init_version; then
1708 generated by GNU Autoconf 2.68
1710 Copyright (C) 2010 Free Software Foundation, Inc.
1711 This configure script is free software; the Free Software Foundation
1712 gives unlimited permission to copy, distribute and modify it.
1717 ## ------------------------ ##
1718 ## Autoconf initialization. ##
1719 ## ------------------------ ##
1721 # ac_fn_cxx_try_compile LINENO
1722 # ----------------------------
1723 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1724 ac_fn_cxx_try_compile ()
1726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727 rm -f conftest.$ac_objext
1728 if { { ac_try="$ac_compile"
1730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1731 *) ac_try_echo
=$ac_try;;
1733 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1734 $as_echo "$ac_try_echo"; } >&5
1735 (eval "$ac_compile") 2>conftest.err
1737 if test -s conftest.err
; then
1738 grep -v '^ *+' conftest.err
>conftest.er1
1739 cat conftest.er1
>&5
1740 mv -f conftest.er1 conftest.err
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; } && {
1744 test -z "$ac_cxx_werror_flag" ||
1745 test ! -s conftest.err
1746 } && test -s conftest.
$ac_objext; then :
1749 $as_echo "$as_me: failed program was:" >&5
1750 sed 's/^/| /' conftest.
$ac_ext >&5
1754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755 as_fn_set_status
$ac_retval
1757 } # ac_fn_cxx_try_compile
1759 # ac_fn_c_try_compile LINENO
1760 # --------------------------
1761 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1762 ac_fn_c_try_compile
()
1764 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1765 rm -f conftest.
$ac_objext
1766 if { { ac_try
="$ac_compile"
1768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_compile") 2>conftest.err
1775 if test -s conftest.err; then
1776 grep -v '^ *+' conftest.err >conftest.er1
1777 cat conftest.er1 >&5
1778 mv -f conftest.er1 conftest.err
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; } && {
1782 test -z "$ac_c_werror_flag" ||
1783 test ! -s conftest.err
1784 } && test -s conftest.$ac_objext; then :
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 as_fn_set_status $ac_retval
1795 } # ac_fn_c_try_compile
1797 # ac_fn_c_try_cpp LINENO
1798 # ----------------------
1799 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 if { { ac_try="$ac_cpp conftest.$ac_ext"
1805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1806 *) ac_try_echo
=$ac_try;;
1808 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809 $as_echo "$ac_try_echo"; } >&5
1810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1812 if test -s conftest.err
; then
1813 grep -v '^ *+' conftest.err
>conftest.er1
1814 cat conftest.er1
>&5
1815 mv -f conftest.er1 conftest.err
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; } > conftest.i
&& {
1819 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1820 test ! -s conftest.err
1824 $as_echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.
$ac_ext >&5
1829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830 as_fn_set_status
$ac_retval
1834 # ac_fn_c_try_link LINENO
1835 # -----------------------
1836 # Try to link conftest.$ac_ext, and return whether this succeeded.
1839 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1840 rm -f conftest.
$ac_objext conftest
$ac_exeext
1841 if { { ac_try
="$ac_link"
1843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1844 *) ac_try_echo=$ac_try;;
1846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_link") 2>conftest.err
1850 if test -s conftest.err; then
1851 grep -v '^ *+' conftest.err >conftest.er1
1852 cat conftest.er1 >&5
1853 mv -f conftest.er1 conftest.err
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } && {
1857 test -z "$ac_c_werror_flag" ||
1858 test ! -s conftest.err
1859 } && test -s conftest$ac_exeext && {
1860 test "$cross_compiling" = yes ||
1861 $as_test_x conftest$ac_exeext
1865 $as_echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.$ac_ext >&5
1870 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1871 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1872 # interfere with the next link command; also delete a directory that is
1873 # left behind by Apple's compiler. We do this before executing the actions.
1874 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1876 as_fn_set_status $ac_retval
1878 } # ac_fn_c_try_link
1880 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1881 # -------------------------------------------------------
1882 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1883 # the include files in INCLUDES and setting the cache variable VAR
1885 ac_fn_c_check_header_mongrel ()
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 if eval \${$3+:} false; then :
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1890 $as_echo_n "checking for $2... " >&6; }
1891 if eval \${$3+:} false; then :
1892 $as_echo_n "(cached) " >&6
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1896 $as_echo "$ac_res" >&6; }
1898 # Is the header compilable?
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1900 $as_echo_n "checking $2 usability... " >&6; }
1901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1902 /* end confdefs.h. */
1906 if ac_fn_c_try_compile "$LINENO"; then :
1907 ac_header_compiler=yes
1909 ac_header_compiler=no
1911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1913 $as_echo "$ac_header_compiler" >&6; }
1915 # Is the header present?
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1917 $as_echo_n "checking $2 presence... " >&6; }
1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h. */
1922 if ac_fn_c_try_cpp "$LINENO"; then :
1923 ac_header_preproc=yes
1925 ac_header_preproc=no
1927 rm -f conftest.err conftest.i conftest.$ac_ext
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1929 $as_echo "$ac_header_preproc" >&6; }
1931 # So? What about this header?
1932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1935 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1937 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1941 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1943 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1945 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1947 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1949 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1953 $as_echo_n "checking for $2... " >&6; }
1954 if eval \${$3+:} false; then :
1955 $as_echo_n "(cached) " >&6
1957 eval "$3=\$ac_header_compiler"
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1961 $as_echo "$ac_res" >&6; }
1963 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1965 } # ac_fn_c_check_header_mongrel
1967 # ac_fn_c_try_run LINENO
1968 # ----------------------
1969 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1970 # that executables *can* be run.
1973 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1974 if { { ac_try="$ac_link"
1976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1977 *) ac_try_echo
=$ac_try;;
1979 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1980 $as_echo "$ac_try_echo"; } >&5
1981 (eval "$ac_link") 2>&5
1983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1984 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1985 { { case "(($ac_try" in
1986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1987 *) ac_try_echo=$ac_try;;
1989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1990 $as_echo "$ac_try_echo"; } >&5
1991 (eval "$ac_try") 2>&5
1993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1994 test $ac_status = 0; }; }; then :
1997 $as_echo "$as_me: program exited with status $ac_status" >&5
1998 $as_echo "$as_me: failed program was:" >&5
1999 sed 's/^/| /' conftest.$ac_ext >&5
2001 ac_retval=$ac_status
2003 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2004 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2005 as_fn_set_status $ac_retval
2009 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2010 # -------------------------------------------------------
2011 # Tests whether HEADER exists and can be compiled using the include files in
2012 # INCLUDES, setting the cache variable VAR accordingly.
2013 ac_fn_c_check_header_compile ()
2015 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2017 $as_echo_n "checking for $2... " >&6; }
2018 if eval \${$3+:} false; then :
2019 $as_echo_n "(cached) " >&6
2021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2022 /* end confdefs.h. */
2026 if ac_fn_c_try_compile "$LINENO"; then :
2031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2035 $as_echo "$ac_res" >&6; }
2036 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2038 } # ac_fn_c_check_header_compile
2040 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2041 # ----------------------------------------------------
2042 # Tries to find if the field MEMBER exists in type AGGR, after including
2043 # INCLUDES, setting cache variable VAR accordingly.
2044 ac_fn_c_check_member ()
2046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2048 $as_echo_n "checking for $2.$3... " >&6; }
2049 if eval \${$4+:} false; then :
2050 $as_echo_n "(cached) " >&6
2052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2053 /* end confdefs.h. */
2065 if ac_fn_c_try_compile "$LINENO"; then :
2068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069 /* end confdefs.h. */
2075 if (sizeof ac_aggr.$3)
2081 if ac_fn_c_try_compile "$LINENO"; then :
2086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 $as_echo "$ac_res" >&6; }
2093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2095 } # ac_fn_c_check_member
2097 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2098 # ---------------------------------------------
2099 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2101 ac_fn_c_check_decl ()
2103 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2104 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2105 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2107 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2108 if eval \${$3+:} false; then :
2109 $as_echo_n "(cached) " >&6
2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2117 #ifndef $as_decl_name
2119 (void) $as_decl_use;
2121 (void) $as_decl_name;
2129 if ac_fn_c_try_compile "$LINENO"; then :
2134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2138 $as_echo "$ac_res" >&6; }
2139 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2141 } # ac_fn_c_check_decl
2143 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2144 # -------------------------------------------
2145 # Tests whether TYPE exists after having included INCLUDES, setting cache
2146 # variable VAR accordingly.
2147 ac_fn_c_check_type ()
2149 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2151 $as_echo_n "checking for $2... " >&6; }
2152 if eval \${$3+:} false; then :
2153 $as_echo_n "(cached) " >&6
2156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2157 /* end confdefs.h. */
2168 if ac_fn_c_try_compile "$LINENO"; then :
2169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2170 /* end confdefs.h. */
2181 if ac_fn_c_try_compile "$LINENO"; then :
2186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2192 $as_echo "$ac_res" >&6; }
2193 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2195 } # ac_fn_c_check_type
2197 # ac_fn_c_check_func LINENO FUNC VAR
2198 # ----------------------------------
2199 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2200 ac_fn_c_check_func ()
2202 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2204 $as_echo_n "checking for $2... " >&6; }
2205 if eval \${$3+:} false; then :
2206 $as_echo_n "(cached) " >&6
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2210 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2212 #define $2 innocuous_$2
2214 /* System header to define __stub macros and hopefully few prototypes,
2215 which can conflict with char $2 (); below.
2216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2217 <limits.h> exists even on freestanding compilers. */
2220 # include <limits.h>
2222 # include <assert.h>
2227 /* Override any GCC internal prototype to avoid an error.
2228 Use char because int might match the return type of a GCC
2229 builtin and then its argument prototype would still apply. */
2234 /* The GNU C library defines this for functions which it implements
2235 to always fail with ENOSYS. Some functions are actually named
2236 something starting with __ and the normal name is an alias. */
2237 #if defined __stub_$2 || defined __stub___$2
2249 if ac_fn_c_try_link "$LINENO"; then :
2254 rm -f core conftest.err conftest.$ac_objext \
2255 conftest$ac_exeext conftest.$ac_ext
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2259 $as_echo "$ac_res" >&6; }
2260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2262 } # ac_fn_c_check_func
2263 cat >config.log <<_ACEOF
2264 This file contains any messages produced by compilers while
2265 running configure, to aid debugging if configure makes a mistake.
2267 It was created by $as_me, which was
2268 generated by GNU Autoconf 2.68. Invocation command line was
2280 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2281 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2282 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2283 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2284 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2286 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2287 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2289 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2290 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2291 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2292 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2293 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2294 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2295 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2303 test -z "$as_dir" && as_dir=.
2304 $as_echo "PATH: $as_dir"
2320 # Keep a trace of the command line.
2321 # Strip out --no-create and --no-recursion so they do not pile up.
2322 # Strip out --silent because we don't want to record it for future runs.
2323 # Also quote any args containing shell meta-characters.
2324 # Make two passes to allow for proper duplicate-argument suppression.
2328 ac_must_keep_next=false
2334 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2335 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2336 | -silent | --silent | --silen | --sile | --sil)
2339 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2342 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2344 as_fn_append ac_configure_args1 " '$ac_arg'"
2345 if test $ac_must_keep_next = true; then
2346 ac_must_keep_next=false # Got value, back to normal.
2349 *=* | --config-cache | -C | -disable-* | --disable-* \
2350 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2351 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2352 | -with-* | --with-* | -without-* | --without-* | --x)
2353 case "$ac_configure_args0 " in
2354 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2357 -* ) ac_must_keep_next=true ;;
2360 as_fn_append ac_configure_args " '$ac_arg'"
2365 { ac_configure_args0=; unset ac_configure_args0;}
2366 { ac_configure_args1=; unset ac_configure_args1;}
2368 # When interrupted or exit'd, cleanup temporary files, and complete
2369 # config.log. We remove comments because anyway the quotes in there
2370 # would cause problems or look ugly.
2371 # WARNING: Use '\'' to represent an apostrophe within the trap.
2372 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2373 trap 'exit_status=$?
2374 # Save into config.log some information that might help in debugging.
2378 $as_echo "## ---------------- ##
2379 ## Cache variables. ##
2380 ## ---------------- ##"
2382 # The following way of writing the cache mishandles newlines in values,
2384 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2385 eval ac_val=\$$ac_var
2389 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2390 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2393 _ | IFS | as_nl) ;; #(
2394 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2395 *) { eval $ac_var=; unset $ac_var;} ;;
2400 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2401 *${as_nl}ac_space=\ *)
2403 "s/'\''/'\''\\\\'\'''\''/g;
2404 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2407 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2414 $as_echo "## ----------------- ##
2415 ## Output variables. ##
2416 ## ----------------- ##"
2418 for ac_var in $ac_subst_vars
2420 eval ac_val=\$$ac_var
2422 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2424 $as_echo "$ac_var='\''$ac_val'\''"
2428 if test -n "$ac_subst_files"; then
2429 $as_echo "## ------------------- ##
2430 ## File substitutions. ##
2431 ## ------------------- ##"
2433 for ac_var in $ac_subst_files
2435 eval ac_val=\$$ac_var
2437 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2439 $as_echo "$ac_var='\''$ac_val'\''"
2444 if test -s confdefs.h; then
2445 $as_echo "## ----------- ##
2452 test "$ac_signal" != 0 &&
2453 $as_echo "$as_me: caught signal $ac_signal"
2454 $as_echo "$as_me: exit $exit_status"
2456 rm -f core *.core core.conftest.* &&
2457 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2460 for ac_signal in 1 2 13 15; do
2461 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2465 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2466 rm -f -r conftest* confdefs.h
2468 $as_echo "/* confdefs.h */" > confdefs.h
2470 # Predefined preprocessor variables.
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE_NAME "$PACKAGE_NAME"
2476 cat >>confdefs.h <<_ACEOF
2477 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2480 cat >>confdefs.h <<_ACEOF
2481 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2484 cat >>confdefs.h <<_ACEOF
2485 #define PACKAGE_STRING "$PACKAGE_STRING"
2488 cat >>confdefs.h <<_ACEOF
2489 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2492 cat >>confdefs.h <<_ACEOF
2493 #define PACKAGE_URL "$PACKAGE_URL"
2497 # Let the site file select an alternate cache file if it wants to.
2498 # Prefer an explicitly selected file to automatically selected ones.
2501 if test -n "$CONFIG_SITE"; then
2502 # We do not want a PATH search for config.site.
2503 case $CONFIG_SITE in #((
2504 -*) ac_site_file1=./$CONFIG_SITE;;
2505 */*) ac_site_file1=$CONFIG_SITE;;
2506 *) ac_site_file1=./$CONFIG_SITE;;
2508 elif test "x$prefix" != xNONE; then
2509 ac_site_file1=$prefix/share/config.site
2510 ac_site_file2=$prefix/etc/config.site
2512 ac_site_file1=$ac_default_prefix/share/config.site
2513 ac_site_file2=$ac_default_prefix/etc/config.site
2515 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2517 test "x$ac_site_file" = xNONE && continue
2518 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2520 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2521 sed 's/^/| /' "$ac_site_file" >&5
2523 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2525 as_fn_error $? "failed to load site
script $ac_site_file
2526 See \
`config.log' for more details" "$LINENO" 5; }
2530 if test -r "$cache_file"; then
2531 # Some versions of bash will fail to source /dev/null (special files
2532 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2533 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2535 $as_echo "$as_me: loading cache $cache_file" >&6;}
2537 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2538 *) . "./$cache_file";;
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2543 $as_echo "$as_me: creating cache $cache_file" >&6;}
2547 as_fn_append ac_header_list " stdlib.h"
2548 as_fn_append ac_header_list " unistd.h"
2549 as_fn_append ac_header_list " sys/param.h"
2550 # Check that the precious variables saved in the cache have kept the same
2552 ac_cache_corrupted=false
2553 for ac_var in $ac_precious_vars; do
2554 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2555 eval ac_new_set=\$ac_env_${ac_var}_set
2556 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2557 eval ac_new_val=\$ac_env_${ac_var}_value
2558 case $ac_old_set,$ac_new_set in
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2561 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2562 ac_cache_corrupted=: ;;
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2565 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2566 ac_cache_corrupted=: ;;
2569 if test "x$ac_old_val" != "x$ac_new_val"; then
2570 # differences in whitespace do not lead to failure.
2571 ac_old_val_w=`echo x
$ac_old_val`
2572 ac_new_val_w=`echo x
$ac_new_val`
2573 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2575 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2576 ac_cache_corrupted=:
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2579 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2580 eval $ac_var=\$ac_old_val
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2583 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2585 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2588 # Pass precious variables to config.status.
2589 if test "$ac_new_set" = set; then
2591 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2592 *) ac_arg=$ac_var=$ac_new_val ;;
2594 case " $ac_configure_args " in
2595 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2596 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2600 if $ac_cache_corrupted; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2604 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2605 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2607 ## -------------------- ##
2608 ## Main body of script. ##
2609 ## -------------------- ##
2612 ac_cpp='$CPP $CPPFLAGS'
2613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2620 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2621 if test -f "$ac_dir/install-sh"; then
2623 ac_install_sh="$ac_aux_dir/install-sh -c"
2625 elif test -f "$ac_dir/install.sh"; then
2627 ac_install_sh="$ac_aux_dir/install.sh -c"
2629 elif test -f "$ac_dir/shtool"; then
2631 ac_install_sh="$ac_aux_dir/shtool install -c"
2635 if test -z "$ac_aux_dir"; then
2636 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2639 # These three variables are undocumented and unsupported,
2640 # and are intended to be withdrawn in a future Autoconf release.
2641 # They can cause serious problems if a builder's source tree is in a directory
2642 # whose full name contains unusual characters.
2643 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2644 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2645 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2649 # Check what host we are running on.
2650 # If a target is not suggested, we use this one.
2651 # Note that what we call a target, Autoconf calls a host.
2652 # Make sure we can run config.sub.
2653 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2654 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2657 $as_echo_n "checking build system type... " >&6; }
2658 if ${ac_cv_build+:} false; then :
2659 $as_echo_n "(cached) " >&6
2661 ac_build_alias=$build_alias
2662 test "x$ac_build_alias" = x &&
2663 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2664 test "x$ac_build_alias" = x &&
2665 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2666 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2667 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2671 $as_echo "$ac_cv_build" >&6; }
2672 case $ac_cv_build in
2674 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2677 ac_save_IFS=$IFS; IFS='-'
2683 # Remember, the first character of IFS is used to create $*,
2684 # except with old shells:
2687 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2691 $as_echo_n "checking host system type... " >&6; }
2692 if ${ac_cv_host+:} false; then :
2693 $as_echo_n "(cached) " >&6
2695 if test "x$host_alias" = x; then
2696 ac_cv_host=$ac_cv_build
2698 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2699 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2704 $as_echo "$ac_cv_host" >&6; }
2707 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2710 ac_save_IFS=$IFS; IFS='-'
2716 # Remember, the first character of IFS is used to create $*,
2717 # except with old shells:
2720 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2724 # The AROS target is slightly different to the normal GNU style
2725 # format. We don't have the middle part, and we reverse the order
2726 # of the $(CPU) and $(OS) bits.
2728 # Don't strip the version of the target yet, it might be
2729 # useful on some systems.
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2732 $as_echo_n "checking for AROS style target... " >&6; }
2734 if test "$target" = "NONE" ; then
2735 target=$host_os-$host_cpu
2737 if test "$target" = "" ; then
2738 target=$host_os-$host_cpu
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2742 $as_echo "$target" >&6; }
2744 if test "$host_os" = "mingw32" ; then
2748 # Don't know where else to put this...
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2750 $as_echo_n "checking building AROS in... " >&6; }
2751 AROS_BUILDDIR=`${PWDCMD-pwd}`
2752 AROS_BUILDDIR_UNIX=${PWD}
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2754 $as_echo "$AROS_BUILDDIR" >&6; }
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2757 $as_echo_n "checking AROS source in... " >&6; }
2758 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2761 $as_echo "$SRCDIR" >&6; }
2763 # Parse the target field into something useful.
2765 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2766 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2769 # Some debug output, to be removed again.
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2771 $as_echo_n "checking for target system (debug output)... " >&6; }
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2773 $as_echo "$target_os" >&6; }
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2775 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2777 $as_echo "$target_cpu" >&6; }
2779 aros_default_wbwidth=800
2780 aros_default_wbheight=600
2781 aros_default_wbdepth=4
2784 # The first step is to find the host binaries.
2785 # Check for a compiler.
2786 # Due to a bug in autoconf check for c++ compiler first.
2787 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2789 ac_cpp='$CXXCPP $CPPFLAGS'
2790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2793 if test -z "$CXX"; then
2794 if test -n "$CCC"; then
2797 if test -n "$ac_tool_prefix"; then
2798 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2800 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2801 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2803 $as_echo_n "checking for $ac_word... " >&6; }
2804 if ${ac_cv_prog_CXX+:} false; then :
2805 $as_echo_n "(cached) " >&6
2807 if test -n "$CXX"; then
2808 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814 test -z "$as_dir" && as_dir=.
2815 for ac_exec_ext in '' $ac_executable_extensions; do
2816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2817 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2828 if test -n "$CXX"; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2830 $as_echo "$CXX" >&6; }
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833 $as_echo "no" >&6; }
2837 test -n "$CXX" && break
2840 if test -z "$CXX"; then
2842 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2844 # Extract the first word of "$ac_prog", so it can be a program name with args.
2845 set dummy $ac_prog; ac_word=$2
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2847 $as_echo_n "checking for $ac_word... " >&6; }
2848 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2849 $as_echo_n "(cached) " >&6
2851 if test -n "$ac_ct_CXX"; then
2852 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2858 test -z "$as_dir" && as_dir=.
2859 for ac_exec_ext in '' $ac_executable_extensions; do
2860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2861 ac_cv_prog_ac_ct_CXX="$ac_prog"
2862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2871 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2872 if test -n "$ac_ct_CXX"; then
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2874 $as_echo "$ac_ct_CXX" >&6; }
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2877 $as_echo "no" >&6; }
2881 test -n "$ac_ct_CXX" && break
2884 if test "x$ac_ct_CXX" = x; then
2887 case $cross_compiling:$ac_tool_warned in
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2891 ac_tool_warned=yes ;;
2899 # Provide some information about the compiler.
2900 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2903 for ac_option in --version -v -V -qversion; do
2904 { { ac_try="$ac_compiler $ac_option >&5"
2906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2907 *) ac_try_echo
=$ac_try;;
2909 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2910 $as_echo "$ac_try_echo"; } >&5
2911 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2913 if test -s conftest.err
; then
2915 ... rest of stderr output deleted ...
2916 10q' conftest.err
>conftest.er1
2917 cat conftest.er1
>&5
2919 rm -f conftest.er1 conftest.err
2920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2921 test $ac_status = 0; }
2924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2925 /* end confdefs.h. */
2935 ac_clean_files_save
=$ac_clean_files
2936 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2937 # Try to create an executable without -o first, disregard a.out.
2938 # It will help us diagnose broken compilers, and finding out an intuition
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2941 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2942 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2944 # The possible output files:
2945 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2948 for ac_file
in $ac_files
2951 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2952 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2957 if { { ac_try
="$ac_link_default"
2959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2963 $as_echo "$ac_try_echo"; } >&5
2964 (eval "$ac_link_default") 2>&5
2966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2967 test $ac_status = 0; }; then :
2968 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2969 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2970 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2971 # so that the user can short-circuit this test for compilers unknown to
2973 for ac_file in $ac_files ''
2975 test -f "$ac_file" || continue
2977 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2980 # We found the default executable, but exeext='' is most
2984 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2986 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2988 # We set ac_cv_exeext here because the later test for it is not
2989 # safe: cross compilers may not add the suffix if given an `-o'
2990 # argument, so we may need to know it at that point already.
2991 # Even if this section looks crufty: it has the advantage of
2998 test "$ac_cv_exeext" = no && ac_cv_exeext=
3003 if test -z "$ac_file"; then :
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3005 $as_echo "no" >&6; }
3006 $as_echo "$as_me: failed program was:" >&5
3007 sed 's
/^
/|
/' conftest.$ac_ext >&5
3009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3010 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3011 as_fn_error 77 "C++ compiler cannot create executables
3012 See \`config.log
' for more details" "$LINENO" 5; }
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3015 $as_echo "yes" >&6; }
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3018 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3020 $as_echo "$ac_file" >&6; }
3021 ac_exeext=$ac_cv_exeext
3023 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3024 ac_clean_files=$ac_clean_files_save
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3026 $as_echo_n "checking for suffix of executables... " >&6; }
3027 if { { ac_try="$ac_link"
3029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030 *) ac_try_echo=$ac_try;;
3032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3033 $as_echo "$ac_try_echo"; } >&5
3034 (eval "$ac_link") 2>&5
3036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3037 test $ac_status = 0; }; then :
3038 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3039 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3040 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3042 for ac_file
in conftest.exe conftest conftest.
*; do
3043 test -f "$ac_file" ||
continue
3045 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3046 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3054 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3055 See \`config.log' for more details" "$LINENO" 5; }
3057 rm -f conftest conftest
$ac_cv_exeext
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3059 $as_echo "$ac_cv_exeext" >&6; }
3061 rm -f conftest.
$ac_ext
3062 EXEEXT
=$ac_cv_exeext
3064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3065 /* end confdefs.h. */
3070 FILE *f = fopen ("conftest.out", "w");
3071 return ferror (f) || fclose (f) != 0;
3077 ac_clean_files
="$ac_clean_files conftest.out"
3078 # Check that the compiler produces executables we can run. If not, either
3079 # the compiler is broken, or we cross compile.
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3081 $as_echo_n "checking whether we are cross compiling... " >&6; }
3082 if test "$cross_compiling" != yes; then
3083 { { ac_try
="$ac_link"
3085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3086 *) ac_try_echo=$ac_try;;
3088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3089 $as_echo "$ac_try_echo"; } >&5
3090 (eval "$ac_link") 2>&5
3092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3093 test $ac_status = 0; }
3094 if { ac_try='./conftest$ac_cv_exeext'
3095 { { case "(($ac_try" in
3096 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3097 *) ac_try_echo
=$ac_try;;
3099 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3100 $as_echo "$ac_try_echo"; } >&5
3101 (eval "$ac_try") 2>&5
3103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3104 test $ac_status = 0; }; }; then
3107 if test "$cross_compiling" = maybe
; then
3110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3112 as_fn_error $?
"cannot run C++ compiled programs.
3113 If you meant to cross compile, use \`--host'.
3114 See \`config.log' for more details" "$LINENO" 5; }
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3119 $as_echo "$cross_compiling" >&6; }
3121 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3122 ac_clean_files
=$ac_clean_files_save
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3124 $as_echo_n "checking for suffix of object files... " >&6; }
3125 if ${ac_cv_objext+:} false
; then :
3126 $as_echo_n "(cached) " >&6
3128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3129 /* end confdefs.h. */
3139 rm -f conftest.o conftest.obj
3140 if { { ac_try
="$ac_compile"
3142 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3143 *) ac_try_echo=$ac_try;;
3145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3146 $as_echo "$ac_try_echo"; } >&5
3147 (eval "$ac_compile") 2>&5
3149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3150 test $ac_status = 0; }; then :
3151 for ac_file in conftest.o conftest.obj conftest.*; do
3152 test -f "$ac_file" || continue;
3154 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3155 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3160 $as_echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.$ac_ext >&5
3163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3165 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3166 See \
`config.log' for more details" "$LINENO" 5; }
3168 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3171 $as_echo "$ac_cv_objext" >&6; }
3172 OBJEXT=$ac_cv_objext
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3175 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3176 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3177 $as_echo_n "(cached) " >&6
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3193 if ac_fn_cxx_try_compile "$LINENO"; then :
3198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3199 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3203 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3204 if test $ac_compiler_gnu = yes; then
3209 ac_test_CXXFLAGS=${CXXFLAGS+set}
3210 ac_save_CXXFLAGS=$CXXFLAGS
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3212 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3213 if ${ac_cv_prog_cxx_g+:} false; then :
3214 $as_echo_n "(cached) " >&6
3216 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3217 ac_cxx_werror_flag=yes
3220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3221 /* end confdefs.h. */
3231 if ac_fn_cxx_try_compile "$LINENO"; then :
3232 ac_cv_prog_cxx_g=yes
3235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3236 /* end confdefs.h. */
3246 if ac_fn_cxx_try_compile "$LINENO"; then :
3249 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3252 /* end confdefs.h. */
3262 if ac_fn_cxx_try_compile "$LINENO"; then :
3263 ac_cv_prog_cxx_g=yes
3265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3270 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3273 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3274 if test "$ac_test_CXXFLAGS" = set; then
3275 CXXFLAGS=$ac_save_CXXFLAGS
3276 elif test $ac_cv_prog_cxx_g = yes; then
3277 if test "$GXX" = yes; then
3283 if test "$GXX" = yes; then
3290 ac_cpp='$CPP $CPPFLAGS'
3291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3296 ac_cpp='$CPP $CPPFLAGS'
3297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3300 if test -n "$ac_tool_prefix"; then
3301 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3302 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3304 $as_echo_n "checking for $ac_word... " >&6; }
3305 if ${ac_cv_prog_CC+:} false; then :
3306 $as_echo_n "(cached) " >&6
3308 if test -n "$CC"; then
3309 ac_cv_prog_CC="$CC" # Let the user override the test.
3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3315 test -z "$as_dir" && as_dir=.
3316 for ac_exec_ext in '' $ac_executable_extensions; do
3317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3318 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3329 if test -n "$CC"; then
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3331 $as_echo "$CC" >&6; }
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3334 $as_echo "no" >&6; }
3339 if test -z "$ac_cv_prog_CC"; then
3341 # Extract the first word of "gcc", so it can be a program name with args.
3342 set dummy gcc; ac_word=$2
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 $as_echo_n "checking for $ac_word... " >&6; }
3345 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3346 $as_echo_n "(cached) " >&6
3348 if test -n "$ac_ct_CC"; then
3349 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 test -z "$as_dir" && as_dir=.
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3358 ac_cv_prog_ac_ct_CC="gcc"
3359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3368 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3369 if test -n "$ac_ct_CC"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3371 $as_echo "$ac_ct_CC" >&6; }
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3374 $as_echo "no" >&6; }
3377 if test "x$ac_ct_CC" = x; then
3380 case $cross_compiling:$ac_tool_warned in
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3384 ac_tool_warned=yes ;;
3392 if test -z "$CC"; then
3393 if test -n "$ac_tool_prefix"; then
3394 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3395 set dummy ${ac_tool_prefix}cc; ac_word=$2
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3397 $as_echo_n "checking for $ac_word... " >&6; }
3398 if ${ac_cv_prog_CC+:} false; then :
3399 $as_echo_n "(cached) " >&6
3401 if test -n "$CC"; then
3402 ac_cv_prog_CC="$CC" # Let the user override the test.
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3408 test -z "$as_dir" && as_dir=.
3409 for ac_exec_ext in '' $ac_executable_extensions; do
3410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 ac_cv_prog_CC="${ac_tool_prefix}cc"
3412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 if test -n "$CC"; then
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3424 $as_echo "$CC" >&6; }
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3433 if test -z "$CC"; then
3434 # Extract the first word of "cc", so it can be a program name with args.
3435 set dummy cc; ac_word=$2
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3437 $as_echo_n "checking for $ac_word... " >&6; }
3438 if ${ac_cv_prog_CC+:} false; then :
3439 $as_echo_n "(cached) " >&6
3441 if test -n "$CC"; then
3442 ac_cv_prog_CC="$CC" # Let the user override the test.
3445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3449 test -z "$as_dir" && as_dir=.
3450 for ac_exec_ext in '' $ac_executable_extensions; do
3451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3452 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3453 ac_prog_rejected=yes
3457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3464 if test $ac_prog_rejected = yes; then
3465 # We found a bogon in the path, so make sure we never use it.
3466 set dummy $ac_cv_prog_CC
3468 if test $# != 0; then
3469 # We chose a different compiler from the bogus one.
3470 # However, it has the same basename, so the bogon will be chosen
3471 # first if we set CC to just the basename; use the full file name.
3473 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3479 if test -n "$CC"; then
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3481 $as_echo "$CC" >&6; }
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3489 if test -z "$CC"; then
3490 if test -n "$ac_tool_prefix"; then
3491 for ac_prog in cl.exe
3493 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3494 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3496 $as_echo_n "checking for $ac_word... " >&6; }
3497 if ${ac_cv_prog_CC+:} false; then :
3498 $as_echo_n "(cached) " >&6
3500 if test -n "$CC"; then
3501 ac_cv_prog_CC="$CC" # Let the user override the test.
3503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 test -z "$as_dir" && as_dir=.
3508 for ac_exec_ext in '' $ac_executable_extensions; do
3509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3510 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3521 if test -n "$CC"; then
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3523 $as_echo "$CC" >&6; }
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3526 $as_echo "no" >&6; }
3530 test -n "$CC" && break
3533 if test -z "$CC"; then
3535 for ac_prog in cl.exe
3537 # Extract the first word of "$ac_prog", so it can be a program name with args.
3538 set dummy $ac_prog; ac_word=$2
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3540 $as_echo_n "checking for $ac_word... " >&6; }
3541 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3542 $as_echo_n "(cached) " >&6
3544 if test -n "$ac_ct_CC"; then
3545 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 test -z "$as_dir" && as_dir=.
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3554 ac_cv_prog_ac_ct_CC="$ac_prog"
3555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3564 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3565 if test -n "$ac_ct_CC"; then
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3567 $as_echo "$ac_ct_CC" >&6; }
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3570 $as_echo "no" >&6; }
3574 test -n "$ac_ct_CC" && break
3577 if test "x$ac_ct_CC" = x; then
3580 case $cross_compiling:$ac_tool_warned in
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3584 ac_tool_warned=yes ;;
3593 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3595 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3596 See \
`config.log' for more details" "$LINENO" 5; }
3598 # Provide some information about the compiler.
3599 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3602 for ac_option in --version -v -V -qversion; do
3603 { { ac_try="$ac_compiler $ac_option >&5"
3605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3606 *) ac_try_echo
=$ac_try;;
3608 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3609 $as_echo "$ac_try_echo"; } >&5
3610 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3612 if test -s conftest.err
; then
3614 ... rest of stderr output deleted ...
3615 10q' conftest.err
>conftest.er1
3616 cat conftest.er1
>&5
3618 rm -f conftest.er1 conftest.err
3619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3620 test $ac_status = 0; }
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3624 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3625 if ${ac_cv_c_compiler_gnu+:} false
; then :
3626 $as_echo_n "(cached) " >&6
3628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h. */
3642 if ac_fn_c_try_compile
"$LINENO"; then :
3647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3648 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3652 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3653 if test $ac_compiler_gnu = yes; then
3658 ac_test_CFLAGS
=${CFLAGS+set}
3659 ac_save_CFLAGS
=$CFLAGS
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3661 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3662 if ${ac_cv_prog_cc_g+:} false
; then :
3663 $as_echo_n "(cached) " >&6
3665 ac_save_c_werror_flag
=$ac_c_werror_flag
3666 ac_c_werror_flag
=yes
3669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3670 /* end confdefs.h. */
3680 if ac_fn_c_try_compile
"$LINENO"; then :
3684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3685 /* end confdefs.h. */
3695 if ac_fn_c_try_compile
"$LINENO"; then :
3698 ac_c_werror_flag
=$ac_save_c_werror_flag
3700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3701 /* end confdefs.h. */
3711 if ac_fn_c_try_compile
"$LINENO"; then :
3714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3719 ac_c_werror_flag
=$ac_save_c_werror_flag
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3722 $as_echo "$ac_cv_prog_cc_g" >&6; }
3723 if test "$ac_test_CFLAGS" = set; then
3724 CFLAGS
=$ac_save_CFLAGS
3725 elif test $ac_cv_prog_cc_g = yes; then
3726 if test "$GCC" = yes; then
3732 if test "$GCC" = yes; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3739 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3740 if ${ac_cv_prog_cc_c89+:} false
; then :
3741 $as_echo_n "(cached) " >&6
3743 ac_cv_prog_cc_c89
=no
3745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3746 /* end confdefs.h. */
3749 #include <sys/types.h>
3750 #include <sys/stat.h>
3751 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3752 struct buf { int x; };
3753 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3754 static char *e (p, i)
3760 static char *f (char * (*g) (char **, int), char **p, ...)
3765 s = g (p, va_arg (v,int));
3770 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3771 function prototypes and stuff, but not '\xHH' hex character constants.
3772 These don't provoke an error unfortunately, instead are silently treated
3773 as 'x'. The following induces an error, until -std is added to get
3774 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3775 array size at least. It's necessary to write '\x00'==0 to get something
3776 that's true only with -std. */
3777 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3779 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3780 inside strings and character constants. */
3782 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3784 int test (int i, double x);
3785 struct s1 {int (*f) (int a);};
3786 struct s2 {int (*f) (double a);};
3787 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3793 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3798 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3799 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3801 CC
="$ac_save_CC $ac_arg"
3802 if ac_fn_c_try_compile
"$LINENO"; then :
3803 ac_cv_prog_cc_c89
=$ac_arg
3805 rm -f core conftest.err conftest.
$ac_objext
3806 test "x$ac_cv_prog_cc_c89" != "xno" && break
3808 rm -f conftest.
$ac_ext
3813 case "x$ac_cv_prog_cc_c89" in
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3816 $as_echo "none needed" >&6; } ;;
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3819 $as_echo "unsupported" >&6; } ;;
3821 CC
="$CC $ac_cv_prog_cc_c89"
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3823 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3825 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3830 ac_cpp
='$CPP $CPPFLAGS'
3831 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3832 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3833 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3835 case $ac_cv_prog_cc_stdc in #(
3837 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3840 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3841 if ${ac_cv_prog_cc_c99+:} false
; then :
3842 $as_echo_n "(cached) " >&6
3844 ac_cv_prog_cc_c99
=no
3846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3847 /* end confdefs.h. */
3849 #include <stdbool.h>
3854 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3855 #define debug(...) fprintf (stderr, __VA_ARGS__)
3856 #define showlist(...) puts (#__VA_ARGS__)
3857 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3859 test_varargs_macros (void)
3864 debug ("X = %d\n", x);
3865 showlist (The first, second, and third items.);
3866 report (x>y, "x is %d but y is %d", x, y);
3869 // Check long long types.
3870 #define BIG64 18446744073709551615ull
3871 #define BIG32 4294967295ul
3872 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3874 your preprocessor is broken;
3878 your preprocessor is broken;
3880 static long long int bignum = -9223372036854775807LL;
3881 static unsigned long long int ubignum = BIG64;
3883 struct incomplete_array
3891 const wchar_t *name;
3895 typedef const char *ccp;
3898 test_restrict (ccp restrict text)
3900 // See if C++-style comments work.
3901 // Iterate through items via the restricted pointer.
3902 // Also check for declarations in for loops.
3903 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3908 // Check varargs and va_copy.
3910 test_varargs (const char *format, ...)
3913 va_start (args, format);
3915 va_copy (args_copy, args);
3926 str = va_arg (args_copy, const char *);
3929 number = va_arg (args_copy, int);
3932 fnumber = va_arg (args_copy, double);
3947 _Bool success = false;
3950 if (test_restrict ("String literal") == 0)
3952 char *restrict newvar = "Another string";
3955 test_varargs ("s, d' f .", "string", 65, 34.234);
3956 test_varargs_macros ();
3958 // Check flexible array members.
3959 struct incomplete_array *ia =
3960 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3962 for (int i = 0; i < ia->datasize; ++i)
3963 ia->data[i] = i * 1.234;
3965 // Check named initializers.
3966 struct named_init ni = {
3968 .name = L"Test wide string",
3969 .average = 543.34343,
3974 int dynamic_array[ni.number];
3975 dynamic_array[ni.number - 1] = 543;
3977 // work around unused variable warnings
3978 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3979 || dynamic_array[ni.number - 1] != 543);
3985 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -xc99=all
-qlanglvl=extc99
3987 CC
="$ac_save_CC $ac_arg"
3988 if ac_fn_c_try_compile
"$LINENO"; then :
3989 ac_cv_prog_cc_c99
=$ac_arg
3991 rm -f core conftest.err conftest.
$ac_objext
3992 test "x$ac_cv_prog_cc_c99" != "xno" && break
3994 rm -f conftest.
$ac_ext
3999 case "x$ac_cv_prog_cc_c99" in
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4002 $as_echo "none needed" >&6; } ;;
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4005 $as_echo "unsupported" >&6; } ;;
4007 CC
="$CC $ac_cv_prog_cc_c99"
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4009 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4011 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4012 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4015 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4016 if ${ac_cv_prog_cc_c89+:} false
; then :
4017 $as_echo_n "(cached) " >&6
4019 ac_cv_prog_cc_c89
=no
4021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4022 /* end confdefs.h. */
4025 #include <sys/types.h>
4026 #include <sys/stat.h>
4027 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4028 struct buf { int x; };
4029 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4030 static char *e (p, i)
4036 static char *f (char * (*g) (char **, int), char **p, ...)
4041 s = g (p, va_arg (v,int));
4046 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4047 function prototypes and stuff, but not '\xHH' hex character constants.
4048 These don't provoke an error unfortunately, instead are silently treated
4049 as 'x'. The following induces an error, until -std is added to get
4050 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4051 array size at least. It's necessary to write '\x00'==0 to get something
4052 that's true only with -std. */
4053 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4055 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4056 inside strings and character constants. */
4058 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4060 int test (int i, double x);
4061 struct s1 {int (*f) (int a);};
4062 struct s2 {int (*f) (double a);};
4063 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4069 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4074 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4075 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4077 CC
="$ac_save_CC $ac_arg"
4078 if ac_fn_c_try_compile
"$LINENO"; then :
4079 ac_cv_prog_cc_c89
=$ac_arg
4081 rm -f core conftest.err conftest.
$ac_objext
4082 test "x$ac_cv_prog_cc_c89" != "xno" && break
4084 rm -f conftest.
$ac_ext
4089 case "x$ac_cv_prog_cc_c89" in
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4092 $as_echo "none needed" >&6; } ;;
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4095 $as_echo "unsupported" >&6; } ;;
4097 CC
="$CC $ac_cv_prog_cc_c89"
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4099 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4101 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4102 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4104 ac_cv_prog_cc_stdc
=no
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4111 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4112 if ${ac_cv_prog_cc_stdc+:} false
; then :
4113 $as_echo_n "(cached) " >&6
4116 case $ac_cv_prog_cc_stdc in #(
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4119 $as_echo "unsupported" >&6; } ;; #(
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4122 $as_echo "none needed" >&6; } ;; #(
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4125 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4129 ac_cpp
='$CPP $CPPFLAGS'
4130 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4131 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4132 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4134 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4135 # On Suns, sometimes $CPP names a directory.
4136 if test -n "$CPP" && test -d "$CPP"; then
4139 if test -z "$CPP"; then
4140 if ${ac_cv_prog_CPP+:} false
; then :
4141 $as_echo_n "(cached) " >&6
4143 # Double quotes because CPP needs to be expanded
4144 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4147 for ac_c_preproc_warn_flag
in '' yes
4149 # Use a header file that comes with gcc, so configuring glibc
4150 # with a fresh cross-compiler works.
4151 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4152 # <limits.h> exists even on freestanding compilers.
4153 # On the NeXT, cc -E runs the code through the compiler's parser,
4154 # not just through cpp. "Syntax error" is here to catch this case.
4155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4156 /* end confdefs.h. */
4158 # include <limits.h>
4160 # include <assert.h>
4164 if ac_fn_c_try_cpp
"$LINENO"; then :
4167 # Broken: fails on valid input.
4170 rm -f conftest.err conftest.i conftest.
$ac_ext
4172 # OK, works on sane cases. Now check whether nonexistent headers
4173 # can be detected and how.
4174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4176 #include <ac_nonexistent.h>
4178 if ac_fn_c_try_cpp
"$LINENO"; then :
4179 # Broken: success on invalid input.
4182 # Passes both tests.
4186 rm -f conftest.err conftest.i conftest.
$ac_ext
4189 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4190 rm -f conftest.i conftest.err conftest.
$ac_ext
4191 if $ac_preproc_ok; then :
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4204 $as_echo "$CPP" >&6; }
4206 for ac_c_preproc_warn_flag
in '' yes
4208 # Use a header file that comes with gcc, so configuring glibc
4209 # with a fresh cross-compiler works.
4210 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4211 # <limits.h> exists even on freestanding compilers.
4212 # On the NeXT, cc -E runs the code through the compiler's parser,
4213 # not just through cpp. "Syntax error" is here to catch this case.
4214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4217 # include <limits.h>
4219 # include <assert.h>
4223 if ac_fn_c_try_cpp
"$LINENO"; then :
4226 # Broken: fails on valid input.
4229 rm -f conftest.err conftest.i conftest.
$ac_ext
4231 # OK, works on sane cases. Now check whether nonexistent headers
4232 # can be detected and how.
4233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4234 /* end confdefs.h. */
4235 #include <ac_nonexistent.h>
4237 if ac_fn_c_try_cpp
"$LINENO"; then :
4238 # Broken: success on invalid input.
4241 # Passes both tests.
4245 rm -f conftest.err conftest.i conftest.
$ac_ext
4248 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4249 rm -f conftest.i conftest.err conftest.
$ac_ext
4250 if $ac_preproc_ok; then :
4253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4255 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4256 See \`config.log' for more details" "$LINENO" 5; }
4260 ac_cpp
='$CPP $CPPFLAGS'
4261 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4262 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4263 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4266 # Check for a compatible awk
4267 for ac_prog
in gawk nawk
4269 # Extract the first word of "$ac_prog", so it can be a program name with args.
4270 set dummy
$ac_prog; ac_word
=$2
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4272 $as_echo_n "checking for $ac_word... " >&6; }
4273 if ${ac_cv_prog_AWK+:} false
; then :
4274 $as_echo_n "(cached) " >&6
4276 if test -n "$AWK"; then
4277 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4283 test -z "$as_dir" && as_dir
=.
4284 for ac_exec_ext
in '' $ac_executable_extensions; do
4285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4286 ac_cv_prog_AWK
="$ac_prog"
4287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4297 if test -n "$AWK"; then
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4299 $as_echo "$AWK" >&6; }
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4302 $as_echo "no" >&6; }
4306 test -n "$AWK" && break
4309 if test "$AWK" = ""; then
4310 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4312 # Extract the first word of "mmake", so it can be a program name with args.
4313 set dummy mmake
; ac_word
=$2
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4315 $as_echo_n "checking for $ac_word... " >&6; }
4316 if ${ac_cv_prog_MMAKE+:} false
; then :
4317 $as_echo_n "(cached) " >&6
4319 if test -n "$MMAKE"; then
4320 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4326 test -z "$as_dir" && as_dir
=.
4327 for ac_exec_ext
in '' $ac_executable_extensions; do
4328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4329 ac_cv_prog_MMAKE
="mmake "
4330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4339 MMAKE
=$ac_cv_prog_MMAKE
4340 if test -n "$MMAKE"; then
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4342 $as_echo "$MMAKE" >&6; }
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4345 $as_echo "no" >&6; }
4350 # Perform some default variable assignments. Note all of these will be
4351 # Regenerated from the script, so there is no need to cache them.
4353 aros_host_cpp
="$CPP"
4355 aros_host_cxx
="$CXX"
4356 if test "$GCC" = "yes"; then
4357 aros_gcc_ld
=`$CC -print-prog-name=ld`
4358 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4359 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4361 $as_echo_n "checking for $ac_word... " >&6; }
4362 if ${ac_cv_path_aros_host_ld+:} false
; then :
4363 $as_echo_n "(cached) " >&6
4365 case $aros_host_ld in
4367 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4371 for as_dir
in `dirname $aros_gcc_ld`
4374 test -z "$as_dir" && as_dir
=.
4375 for ac_exec_ext
in '' $ac_executable_extensions; do
4376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4377 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388 aros_host_ld
=$ac_cv_path_aros_host_ld
4389 if test -n "$aros_host_ld"; then
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4391 $as_echo "$aros_host_ld" >&6; }
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4394 $as_echo "no" >&6; }
4399 if test "$aros_host_ld" = ""; then
4400 # Extract the first word of "ld", so it can be a program name with args.
4401 set dummy ld
; ac_word
=$2
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4403 $as_echo_n "checking for $ac_word... " >&6; }
4404 if ${ac_cv_path_aros_host_ld+:} false
; then :
4405 $as_echo_n "(cached) " >&6
4407 case $aros_host_ld in
4409 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4416 test -z "$as_dir" && as_dir
=.
4417 for ac_exec_ext
in '' $ac_executable_extensions; do
4418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4419 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4430 aros_host_ld
=$ac_cv_path_aros_host_ld
4431 if test -n "$aros_host_ld"; then
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4433 $as_echo "$aros_host_ld" >&6; }
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4436 $as_echo "no" >&6; }
4441 if test "$aros_host_ld" = ""; then
4442 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4444 aros_host_make
="make"
4445 aros_host_cflags
=$CFLAGS
4446 aros_host_cxxflags
=$CXXFLAGS
4447 aros_host_ldflags
=$LDFLAGS
4448 aros_host_debug
="-g -O0"
4449 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4450 aros_host_mkargs
="--no-print-directory"
4451 aros_host_exe_suffix
="$EXEEXT"
4452 aros_host_lib_suffix
=""
4454 # Ignore all compliance, AROS ROMs = 0
4455 # KickStart v1.0 = 30
4456 # KickStart v1.3 = 34
4457 # KickStart v2.0 = 37
4458 # KickStart v3.0 = 39
4459 # KickStart v3.1 = 40
4461 aros_amigaos_compliance
=0
4463 for ac_prog
in aclocal aclocal19 aclocal-1.9
4465 # Extract the first word of "$ac_prog", so it can be a program name with args.
4466 set dummy
$ac_prog; ac_word
=$2
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4468 $as_echo_n "checking for $ac_word... " >&6; }
4469 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4470 $as_echo_n "(cached) " >&6
4472 if test -n "$aros_host_aclocal"; then
4473 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4479 test -z "$as_dir" && as_dir
=.
4480 for ac_exec_ext
in '' $ac_executable_extensions; do
4481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4482 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4493 if test -n "$aros_host_aclocal"; then
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4495 $as_echo "$aros_host_aclocal" >&6; }
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4498 $as_echo "no" >&6; }
4502 test -n "$aros_host_aclocal" && break
4505 for ac_prog
in autoconf autoconf259 autoconf253
4507 # Extract the first word of "$ac_prog", so it can be a program name with args.
4508 set dummy
$ac_prog; ac_word
=$2
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4510 $as_echo_n "checking for $ac_word... " >&6; }
4511 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4512 $as_echo_n "(cached) " >&6
4514 if test -n "$aros_host_autoconf"; then
4515 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4521 test -z "$as_dir" && as_dir
=.
4522 for ac_exec_ext
in '' $ac_executable_extensions; do
4523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4524 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4535 if test -n "$aros_host_autoconf"; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4537 $as_echo "$aros_host_autoconf" >&6; }
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4540 $as_echo "no" >&6; }
4544 test -n "$aros_host_autoconf" && break
4547 for ac_prog
in autoheader autoheader259 autoheader253
4549 # Extract the first word of "$ac_prog", so it can be a program name with args.
4550 set dummy
$ac_prog; ac_word
=$2
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4552 $as_echo_n "checking for $ac_word... " >&6; }
4553 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4554 $as_echo_n "(cached) " >&6
4556 if test -n "$aros_host_autoheader"; then
4557 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4563 test -z "$as_dir" && as_dir
=.
4564 for ac_exec_ext
in '' $ac_executable_extensions; do
4565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4566 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4576 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4577 if test -n "$aros_host_autoheader"; then
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4579 $as_echo "$aros_host_autoheader" >&6; }
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4582 $as_echo "no" >&6; }
4586 test -n "$aros_host_autoheader" && break
4589 for ac_prog
in automake automake19 automake-1.9
4591 # Extract the first word of "$ac_prog", so it can be a program name with args.
4592 set dummy
$ac_prog; ac_word
=$2
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4594 $as_echo_n "checking for $ac_word... " >&6; }
4595 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4596 $as_echo_n "(cached) " >&6
4598 if test -n "$aros_host_automake"; then
4599 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4605 test -z "$as_dir" && as_dir
=.
4606 for ac_exec_ext
in '' $ac_executable_extensions; do
4607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4608 ac_cv_prog_aros_host_automake
="$ac_prog"
4609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4618 aros_host_automake
=$ac_cv_prog_aros_host_automake
4619 if test -n "$aros_host_automake"; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4621 $as_echo "$aros_host_automake" >&6; }
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4628 test -n "$aros_host_automake" && break
4632 if test "$aros_host_aclocal" = ""; then
4633 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4635 if test "$aros_host_automake" = ""; then
4636 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4639 case "$aros_host_cc" in
4641 aros_host_cc_pipe
="-pipe"
4644 aros_host_cc_pipe
=""
4647 aros_host_cc_pipe
=""
4651 aros_kernel_cc_includes
=""
4652 aros_target_cc_includes
=""
4655 # ----------------------------------------------------------------------------------------
4656 # Host-specific defaults
4658 # This is the main host configuration section. It is where the host
4659 # can change the values of any variables it needs to change. We do
4660 # not look at anything that compiles to the target yet, we'll get
4665 aros_host_arch
="aros"
4666 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4669 aros_host_cpu
="i386"
4672 aros_host_cpu
="x86_64"
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4679 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4680 aros_host_cpu
="$host_cpu"
4686 aros_host_arch
="linux"
4687 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4688 android_build_os
="linux-x86"
4689 android_tool
="android"
4690 default_android_sdk
="/opt/android-sdk-linux_x86"
4693 aros_host_cpu
="i386"
4696 aros_host_cpu
="x86_64"
4699 aros_host_cpu
="m68k"
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4709 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4710 aros_host_cpu
="$host_cpu"
4716 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4717 aros_host_make
="gmake"
4718 aros_host_arch
="freebsd"
4719 aros_host_cpu
="i386"
4721 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4725 aros_object_format
="elf_i386"
4729 aros_object_format
="elf_i386_fbsd"
4736 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4737 aros_host_arch
="darwin"
4739 android_build_os
="darwin-x86"
4740 android_tool
="android"
4741 default_android_sdk
="/android-sdk-mac_x86"
4744 aros_host_cpu
="i386"
4747 aros_host_cpu
="x86_64"
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4754 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4755 aros_host_cpu
="$host_cpu"
4759 aros_host_ldflags
="$aros_host_ldflags -liconv"
4764 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4765 aros_host_make
="gmake"
4766 aros_host_arch
="dragonfly"
4769 aros_host_cpu
="i386"
4772 aros_host_cpu
="x86_64"
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4776 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4777 aros_host_cpu
="$host_cpu"
4783 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4784 aros_host_make
="gmake"
4785 aros_host_arch
="netbsd"
4788 aros_host_cpu
="i386"
4791 aros_host_cpu
="m68k"
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4795 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4796 aros_host_cpu
="$host_cpu"
4799 aros_host_lib_suffix
=".0.0"
4803 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4804 aros_host_make
="gmake"
4805 aros_host_arch
="openbsd"
4808 aros_host_cpu
="i386"
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4812 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4813 aros_host_cpu
="$host_cpu"
4819 aros_host_arch
="solaris"
4820 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4823 aros_host_cpu
="i386"
4826 aros_host_cpu
="sparc"
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4830 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4831 aros_host_cpu
="$host_cpu"
4837 aros_host_arch
="morphos"
4843 aros_host_arch
="amiga"
4849 TOUCH
="/gg/bin/touch"
4852 aros_host_cpu
="m68k"
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4859 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4860 aros_host_cpu
="$host_cpu"
4866 aros_host_arch
="cygwin"
4867 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4869 android_build_os
="windows"
4870 android_tool
="android.bat"
4871 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4875 aros_host_cpu
="i386"
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4879 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4880 aros_host_cpu
="$host_cpu"
4886 aros_host_arch
="mingw32"
4887 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4889 android_build_os
="windows"
4890 android_tool
="android.bat"
4891 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4897 $as_echo_n "checking for Windows native gcc target... " >&6; }
4898 host_cpu
=`gcc -dumpmachine`
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4900 $as_echo "$host_cpu" >&6; }
4907 aros_host_cpu
="i386"
4911 aros_host_cpu
="i386"
4915 aros_host_cpu
="x86_64"
4916 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4921 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4922 aros_host_cpu
="$host_cpu"
4927 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4931 # Extract the first word of "ar", so it can be a program name with args.
4932 set dummy
ar; ac_word
=$2
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4934 $as_echo_n "checking for $ac_word... " >&6; }
4935 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4936 $as_echo_n "(cached) " >&6
4938 if test -n "$aros_host_ar"; then
4939 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4945 test -z "$as_dir" && as_dir
=.
4946 for ac_exec_ext
in '' $ac_executable_extensions; do
4947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4948 ac_cv_prog_aros_host_ar
="ar cr"
4949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4958 aros_host_ar
=$ac_cv_prog_aros_host_ar
4959 if test -n "$aros_host_ar"; then
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4961 $as_echo "$aros_host_ar" >&6; }
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4968 if test "$aros_host_ar" = ""; then
4969 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4971 # Extract the first word of "ranlib", so it can be a program name with args.
4972 set dummy ranlib
; ac_word
=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4976 $as_echo_n "(cached) " >&6
4978 if test -n "$aros_host_ranlib"; then
4979 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4985 test -z "$as_dir" && as_dir
=.
4986 for ac_exec_ext
in '' $ac_executable_extensions; do
4987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4988 ac_cv_prog_aros_host_ranlib
="ranlib "
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4998 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4999 if test -n "$aros_host_ranlib"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
5001 $as_echo "$aros_host_ranlib" >&6; }
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5008 if test "$aros_host_ranlib" = ""; then
5009 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5011 # Extract the first word of "strip", so it can be a program name with args.
5012 set dummy strip
; ac_word
=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5016 $as_echo_n "(cached) " >&6
5018 if test -n "$aros_host_strip"; then
5019 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5025 test -z "$as_dir" && as_dir
=.
5026 for ac_exec_ext
in '' $ac_executable_extensions; do
5027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5028 ac_cv_prog_aros_host_strip
="strip "
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 aros_host_strip
=$ac_cv_prog_aros_host_strip
5039 if test -n "$aros_host_strip"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5041 $as_echo "$aros_host_strip" >&6; }
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5048 if test "$aros_host_strip" = ""; then
5049 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5052 # Extract the first word of "rm", so it can be a program name with args.
5053 set dummy
rm; ac_word
=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if ${ac_cv_prog_RM+:} false
; then :
5057 $as_echo_n "(cached) " >&6
5059 if test -n "$RM"; then
5060 ac_cv_prog_RM
="$RM" # Let the user override the test.
5062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5066 test -z "$as_dir" && as_dir
=.
5067 for ac_exec_ext
in '' $ac_executable_extensions; do
5068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5069 ac_cv_prog_RM
="rm -rf"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080 if test -n "$RM"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5082 $as_echo "$RM" >&6; }
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5089 if test "$RM" = ""; then
5090 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5092 # Extract the first word of "cp", so it can be a program name with args.
5093 set dummy
cp; ac_word
=$2
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5095 $as_echo_n "checking for $ac_word... " >&6; }
5096 if ${ac_cv_prog_CP+:} false
; then :
5097 $as_echo_n "(cached) " >&6
5099 if test -n "$CP"; then
5100 ac_cv_prog_CP
="$CP" # Let the user override the test.
5102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5106 test -z "$as_dir" && as_dir
=.
5107 for ac_exec_ext
in '' $ac_executable_extensions; do
5108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5120 if test -n "$CP"; then
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5122 $as_echo "$CP" >&6; }
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125 $as_echo "no" >&6; }
5129 if test "$CP" = ""; then
5130 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5132 # Extract the first word of "mv", so it can be a program name with args.
5133 set dummy
mv; ac_word
=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_prog_MV+:} false
; then :
5137 $as_echo_n "(cached) " >&6
5139 if test -n "$MV"; then
5140 ac_cv_prog_MV
="$MV" # Let the user override the test.
5142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5146 test -z "$as_dir" && as_dir
=.
5147 for ac_exec_ext
in '' $ac_executable_extensions; do
5148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 if test -n "$MV"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5162 $as_echo "$MV" >&6; }
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5169 if test "$MV" = ""; then
5170 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5172 # Extract the first word of "echo", so it can be a program name with args.
5173 set dummy
echo; ac_word
=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if ${ac_cv_prog_ECHO+:} false
; then :
5177 $as_echo_n "(cached) " >&6
5179 if test -n "$ECHO"; then
5180 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5186 test -z "$as_dir" && as_dir
=.
5187 for ac_exec_ext
in '' $ac_executable_extensions; do
5188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5189 ac_cv_prog_ECHO
="echo "
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 ECHO
=$ac_cv_prog_ECHO
5200 if test -n "$ECHO"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5202 $as_echo "$ECHO" >&6; }
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5209 if test "$ECHO" = ""; then
5210 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5212 # Extract the first word of "mkdir", so it can be a program name with args.
5213 set dummy mkdir
; ac_word
=$2
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if ${ac_cv_prog_MKDIR+:} false
; then :
5217 $as_echo_n "(cached) " >&6
5219 if test -n "$MKDIR"; then
5220 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5226 test -z "$as_dir" && as_dir
=.
5227 for ac_exec_ext
in '' $ac_executable_extensions; do
5228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5229 ac_cv_prog_MKDIR
="mkdir -p"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 MKDIR
=$ac_cv_prog_MKDIR
5240 if test -n "$MKDIR"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5242 $as_echo "$MKDIR" >&6; }
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245 $as_echo "no" >&6; }
5249 if test "$MKDIR" = ""; then
5250 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5252 # Extract the first word of "touch", so it can be a program name with args.
5253 set dummy
touch; ac_word
=$2
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5255 $as_echo_n "checking for $ac_word... " >&6; }
5256 if ${ac_cv_prog_TOUCH+:} false
; then :
5257 $as_echo_n "(cached) " >&6
5259 if test -n "$TOUCH"; then
5260 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5266 test -z "$as_dir" && as_dir
=.
5267 for ac_exec_ext
in '' $ac_executable_extensions; do
5268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5269 ac_cv_prog_TOUCH
="touch "
5270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 TOUCH
=$ac_cv_prog_TOUCH
5280 if test -n "$TOUCH"; then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5282 $as_echo "$TOUCH" >&6; }
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5285 $as_echo "no" >&6; }
5289 if test "$TOUCH" = ""; then
5290 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5292 # Extract the first word of "sort", so it can be a program name with args.
5293 set dummy
sort; ac_word
=$2
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5295 $as_echo_n "checking for $ac_word... " >&6; }
5296 if ${ac_cv_prog_SORT+:} false
; then :
5297 $as_echo_n "(cached) " >&6
5299 if test -n "$SORT"; then
5300 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5306 test -z "$as_dir" && as_dir
=.
5307 for ac_exec_ext
in '' $ac_executable_extensions; do
5308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5309 ac_cv_prog_SORT
="sort "
5310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5319 SORT
=$ac_cv_prog_SORT
5320 if test -n "$SORT"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5322 $as_echo "$SORT" >&6; }
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5329 if test "$SORT" = ""; then
5330 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5332 # Extract the first word of "uniq", so it can be a program name with args.
5333 set dummy
uniq; ac_word
=$2
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5335 $as_echo_n "checking for $ac_word... " >&6; }
5336 if ${ac_cv_prog_UNIQ+:} false
; then :
5337 $as_echo_n "(cached) " >&6
5339 if test -n "$UNIQ"; then
5340 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5346 test -z "$as_dir" && as_dir
=.
5347 for ac_exec_ext
in '' $ac_executable_extensions; do
5348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5349 ac_cv_prog_UNIQ
="uniq "
5350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5359 UNIQ
=$ac_cv_prog_UNIQ
5360 if test -n "$UNIQ"; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5362 $as_echo "$UNIQ" >&6; }
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5369 if test "$UNIQ" = ""; then
5370 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5372 # Extract the first word of "true", so it can be a program name with args.
5373 set dummy true
; ac_word
=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_NOP+:} false
; then :
5377 $as_echo_n "(cached) " >&6
5379 if test -n "$NOP"; then
5380 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5386 test -z "$as_dir" && as_dir
=.
5387 for ac_exec_ext
in '' $ac_executable_extensions; do
5388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5389 ac_cv_prog_NOP
="true "
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5400 if test -n "$NOP"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5402 $as_echo "$NOP" >&6; }
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5409 if test "$NOP" = ""; then
5410 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5412 # Extract the first word of "cat", so it can be a program name with args.
5413 set dummy
cat; ac_word
=$2
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5415 $as_echo_n "checking for $ac_word... " >&6; }
5416 if ${ac_cv_prog_CAT+:} false
; then :
5417 $as_echo_n "(cached) " >&6
5419 if test -n "$CAT"; then
5420 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5426 test -z "$as_dir" && as_dir
=.
5427 for ac_exec_ext
in '' $ac_executable_extensions; do
5428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5429 ac_cv_prog_CAT
="cat "
5430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5440 if test -n "$CAT"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5442 $as_echo "$CAT" >&6; }
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 $as_echo "no" >&6; }
5449 if test "$CAT" = ""; then
5450 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5452 # Extract the first word of "bison", so it can be a program name with args.
5453 set dummy bison
; ac_word
=$2
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5455 $as_echo_n "checking for $ac_word... " >&6; }
5456 if ${ac_cv_prog_BISON+:} false
; then :
5457 $as_echo_n "(cached) " >&6
5459 if test -n "$BISON"; then
5460 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5466 test -z "$as_dir" && as_dir
=.
5467 for ac_exec_ext
in '' $ac_executable_extensions; do
5468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5469 ac_cv_prog_BISON
="bison "
5470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5479 BISON
=$ac_cv_prog_BISON
5480 if test -n "$BISON"; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5482 $as_echo "$BISON" >&6; }
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 $as_echo "no" >&6; }
5489 if test "$BISON" = ""; then
5490 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5492 # Extract the first word of "flex", so it can be a program name with args.
5493 set dummy flex
; ac_word
=$2
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5495 $as_echo_n "checking for $ac_word... " >&6; }
5496 if ${ac_cv_prog_FLEX+:} false
; then :
5497 $as_echo_n "(cached) " >&6
5499 if test -n "$FLEX"; then
5500 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5506 test -z "$as_dir" && as_dir
=.
5507 for ac_exec_ext
in '' $ac_executable_extensions; do
5508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5509 ac_cv_prog_FLEX
="flex "
5510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5519 FLEX
=$ac_cv_prog_FLEX
5520 if test -n "$FLEX"; then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5522 $as_echo "$FLEX" >&6; }
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5529 if test "$FLEX" = ""; then
5530 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5532 # Extract the first word of "pngtopnm", so it can be a program name with args.
5533 set dummy pngtopnm
; ac_word
=$2
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5535 $as_echo_n "checking for $ac_word... " >&6; }
5536 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5537 $as_echo_n "(cached) " >&6
5539 if test -n "$PNGTOPNM"; then
5540 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5546 test -z "$as_dir" && as_dir
=.
5547 for ac_exec_ext
in '' $ac_executable_extensions; do
5548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5549 ac_cv_prog_PNGTOPNM
="pngtopnm "
5550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5559 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5560 if test -n "$PNGTOPNM"; then
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5562 $as_echo "$PNGTOPNM" >&6; }
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5565 $as_echo "no" >&6; }
5569 if test "$PNGTOPNM" = ""; then
5570 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5572 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5573 set dummy ppmtoilbm
; ac_word
=$2
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5575 $as_echo_n "checking for $ac_word... " >&6; }
5576 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5577 $as_echo_n "(cached) " >&6
5579 if test -n "$PPMTOILBM"; then
5580 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5586 test -z "$as_dir" && as_dir
=.
5587 for ac_exec_ext
in '' $ac_executable_extensions; do
5588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5589 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5600 if test -n "$PPMTOILBM"; then
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5602 $as_echo "$PPMTOILBM" >&6; }
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5605 $as_echo "no" >&6; }
5609 if test "$PPMTOILBM" = ""; then
5610 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5612 # Extract the first word of "sed", so it can be a program name with args.
5613 set dummy
sed; ac_word
=$2
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5615 $as_echo_n "checking for $ac_word... " >&6; }
5616 if ${ac_cv_prog_SED+:} false
; then :
5617 $as_echo_n "(cached) " >&6
5619 if test -n "$SED"; then
5620 ac_cv_prog_SED
="$SED" # Let the user override the test.
5622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5626 test -z "$as_dir" && as_dir
=.
5627 for ac_exec_ext
in '' $ac_executable_extensions; do
5628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5629 ac_cv_prog_SED
="sed "
5630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5640 if test -n "$SED"; then
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5642 $as_echo "$SED" >&6; }
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5645 $as_echo "no" >&6; }
5649 if test "$SED" = ""; then
5650 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5652 # Extract the first word of "chmod", so it can be a program name with args.
5653 set dummy
chmod; ac_word
=$2
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5655 $as_echo_n "checking for $ac_word... " >&6; }
5656 if ${ac_cv_prog_CHMOD+:} false
; then :
5657 $as_echo_n "(cached) " >&6
5659 if test -n "$CHMOD"; then
5660 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5666 test -z "$as_dir" && as_dir
=.
5667 for ac_exec_ext
in '' $ac_executable_extensions; do
5668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5669 ac_cv_prog_CHMOD
="chmod "
5670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5679 CHMOD
=$ac_cv_prog_CHMOD
5680 if test -n "$CHMOD"; then
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5682 $as_echo "$CHMOD" >&6; }
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5685 $as_echo "no" >&6; }
5689 if test "$CHMOD" = ""; then
5690 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5692 # Extract the first word of "patch", so it can be a program name with args.
5693 set dummy
patch; ac_word
=$2
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5695 $as_echo_n "checking for $ac_word... " >&6; }
5696 if ${ac_cv_prog_PATCH+:} false
; then :
5697 $as_echo_n "(cached) " >&6
5699 if test -n "$PATCH"; then
5700 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5706 test -z "$as_dir" && as_dir
=.
5707 for ac_exec_ext
in '' $ac_executable_extensions; do
5708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5709 ac_cv_prog_PATCH
="patch "
5710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 PATCH
=$ac_cv_prog_PATCH
5720 if test -n "$PATCH"; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5722 $as_echo "$PATCH" >&6; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5725 $as_echo "no" >&6; }
5729 if test "$PATCH" = ""; then
5730 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5739 if test -n "$PYTHON"; then
5740 # If the user set $PYTHON, use it and don't search something else.
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5742 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5744 # split strings by '.' and convert to numeric. Append some zeros
5745 # because we need at least 4 digits for the hex conversion.
5746 # map returns an iterator in Python 3.0 and a list in 2.x
5747 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5749 # xrange is not present in Python 3.0 and range returns an iterator
5750 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5751 sys.exit(sys.hexversion < minverhex)"
5752 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5753 ($PYTHON -c "$prog") >&5 2>&5
5755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 (exit $ac_status); }; then :
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5758 $as_echo "yes" >&6; }
5760 as_fn_error $?
"too old" "$LINENO" 5
5762 am_display_PYTHON
=$PYTHON
5764 # Otherwise, try each interpreter until we find one that satisfies
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5767 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5768 if ${am_cv_pathless_PYTHON+:} false
; then :
5769 $as_echo_n "(cached) " >&6
5772 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
5773 test "$am_cv_pathless_PYTHON" = none
&& break
5775 # split strings by '.' and convert to numeric. Append some zeros
5776 # because we need at least 4 digits for the hex conversion.
5777 # map returns an iterator in Python 3.0 and a list in 2.x
5778 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5780 # xrange is not present in Python 3.0 and range returns an iterator
5781 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5782 sys.exit(sys.hexversion < minverhex)"
5783 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5784 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); }; then :
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5793 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5794 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5795 if test "$am_cv_pathless_PYTHON" = none
; then
5798 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5799 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5801 $as_echo_n "checking for $ac_word... " >&6; }
5802 if ${ac_cv_path_PYTHON+:} false
; then :
5803 $as_echo_n "(cached) " >&6
5807 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5814 test -z "$as_dir" && as_dir
=.
5815 for ac_exec_ext
in '' $ac_executable_extensions; do
5816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5817 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 PYTHON
=$ac_cv_path_PYTHON
5829 if test -n "$PYTHON"; then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5831 $as_echo "$PYTHON" >&6; }
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5834 $as_echo "no" >&6; }
5839 am_display_PYTHON
=$am_cv_pathless_PYTHON
5843 if test "$PYTHON" = :; then
5844 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5849 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5850 if ${am_cv_python_version+:} false
; then :
5851 $as_echo_n "(cached) " >&6
5853 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5856 $as_echo "$am_cv_python_version" >&6; }
5857 PYTHON_VERSION
=$am_cv_python_version
5861 PYTHON_PREFIX
='${prefix}'
5863 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5868 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5869 if ${am_cv_python_platform+:} false
; then :
5870 $as_echo_n "(cached) " >&6
5872 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5875 $as_echo "$am_cv_python_platform" >&6; }
5876 PYTHON_PLATFORM
=$am_cv_python_platform
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5882 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5883 if ${am_cv_python_pythondir+:} false
; then :
5884 $as_echo_n "(cached) " >&6
5886 if test "x$prefix" = xNONE
5888 am_py_prefix
=$ac_default_prefix
5890 am_py_prefix
=$prefix
5892 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`
5893 case $am_cv_python_pythondir in
5895 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5896 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5899 case $am_py_prefix in
5902 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5910 $as_echo "$am_cv_python_pythondir" >&6; }
5911 pythondir
=$am_cv_python_pythondir
5915 pkgpythondir
=\
${pythondir}/$PACKAGE
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5919 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5920 if ${am_cv_python_pyexecdir+:} false
; then :
5921 $as_echo_n "(cached) " >&6
5923 if test "x$exec_prefix" = xNONE
5925 am_py_exec_prefix
=$am_py_prefix
5927 am_py_exec_prefix
=$exec_prefix
5929 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`
5930 case $am_cv_python_pyexecdir in
5931 $am_py_exec_prefix*)
5932 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5933 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5936 case $am_py_exec_prefix in
5939 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5947 $as_echo "$am_cv_python_pyexecdir" >&6; }
5948 pyexecdir
=$am_cv_python_pyexecdir
5952 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
5962 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
5963 if ${ac_cv_lib_png_png_read_png+:} false
; then :
5964 $as_echo_n "(cached) " >&6
5966 ac_check_lib_save_LIBS
=$LIBS
5968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5969 /* end confdefs.h. */
5971 /* Override any GCC internal prototype to avoid an error.
5972 Use char because int might match the return type of a GCC
5973 builtin and then its argument prototype would still apply. */
5977 char png_read_png ();
5981 return png_read_png ();
5986 if ac_fn_c_try_link
"$LINENO"; then :
5987 ac_cv_lib_png_png_read_png
=yes
5989 ac_cv_lib_png_png_read_png
=no
5991 rm -f core conftest.err conftest.
$ac_objext \
5992 conftest
$ac_exeext conftest.
$ac_ext
5993 LIBS
=$ac_check_lib_save_LIBS
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
5996 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
5997 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
5998 cat >>confdefs.h
<<_ACEOF
5999 #define HAVE_LIBPNG 1
6006 if test "$ac_cv_lib_png_png_read_png" = ""; then
6007 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6020 # Check for some includes for the X11 HIDD and the kernel
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6023 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6024 if ${ac_cv_path_GREP+:} false
; then :
6025 $as_echo_n "(cached) " >&6
6027 if test -z "$GREP"; then
6028 ac_path_GREP_found
=false
6029 # Loop through the user's path and test for each of PROGNAME-LIST
6030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6031 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6034 test -z "$as_dir" && as_dir
=.
6035 for ac_prog
in grep ggrep
; do
6036 for ac_exec_ext
in '' $ac_executable_extensions; do
6037 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6038 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
6039 # Check for GNU ac_path_GREP and select it if it is found.
6040 # Check for GNU $ac_path_GREP
6041 case `"$ac_path_GREP" --version 2>&1` in
6043 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6046 $as_echo_n 0123456789 >"conftest.in"
6049 cat "conftest.in" "conftest.in" >"conftest.tmp"
6050 mv "conftest.tmp" "conftest.in"
6051 cp "conftest.in" "conftest.nl"
6052 $as_echo 'GREP' >> "conftest.nl"
6053 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6054 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6055 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6056 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6057 # Best one so far, save it but keep looking for a better one
6058 ac_cv_path_GREP
="$ac_path_GREP"
6059 ac_path_GREP_max
=$ac_count
6061 # 10*(2^10) chars as input seems more than enough
6062 test $ac_count -gt 10 && break
6064 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6067 $ac_path_GREP_found && break 3
6072 if test -z "$ac_cv_path_GREP"; then
6073 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6076 ac_cv_path_GREP
=$GREP
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6081 $as_echo "$ac_cv_path_GREP" >&6; }
6082 GREP
="$ac_cv_path_GREP"
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6086 $as_echo_n "checking for egrep... " >&6; }
6087 if ${ac_cv_path_EGREP+:} false
; then :
6088 $as_echo_n "(cached) " >&6
6090 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6091 then ac_cv_path_EGREP
="$GREP -E"
6093 if test -z "$EGREP"; then
6094 ac_path_EGREP_found
=false
6095 # Loop through the user's path and test for each of PROGNAME-LIST
6096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6097 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6100 test -z "$as_dir" && as_dir
=.
6101 for ac_prog
in egrep; do
6102 for ac_exec_ext
in '' $ac_executable_extensions; do
6103 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6104 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6105 # Check for GNU ac_path_EGREP and select it if it is found.
6106 # Check for GNU $ac_path_EGREP
6107 case `"$ac_path_EGREP" --version 2>&1` in
6109 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6112 $as_echo_n 0123456789 >"conftest.in"
6115 cat "conftest.in" "conftest.in" >"conftest.tmp"
6116 mv "conftest.tmp" "conftest.in"
6117 cp "conftest.in" "conftest.nl"
6118 $as_echo 'EGREP' >> "conftest.nl"
6119 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6120 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6121 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6122 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6123 # Best one so far, save it but keep looking for a better one
6124 ac_cv_path_EGREP
="$ac_path_EGREP"
6125 ac_path_EGREP_max
=$ac_count
6127 # 10*(2^10) chars as input seems more than enough
6128 test $ac_count -gt 10 && break
6130 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6133 $ac_path_EGREP_found && break 3
6138 if test -z "$ac_cv_path_EGREP"; then
6139 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6142 ac_cv_path_EGREP
=$EGREP
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6148 $as_echo "$ac_cv_path_EGREP" >&6; }
6149 EGREP
="$ac_cv_path_EGREP"
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6153 $as_echo_n "checking for ANSI C header files... " >&6; }
6154 if ${ac_cv_header_stdc+:} false
; then :
6155 $as_echo_n "(cached) " >&6
6157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6158 /* end confdefs.h. */
6172 if ac_fn_c_try_compile
"$LINENO"; then :
6173 ac_cv_header_stdc
=yes
6175 ac_cv_header_stdc
=no
6177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6179 if test $ac_cv_header_stdc = yes; then
6180 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6182 /* end confdefs.h. */
6186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6187 $EGREP "memchr" >/dev
/null
2>&1; then :
6190 ac_cv_header_stdc
=no
6196 if test $ac_cv_header_stdc = yes; then
6197 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6199 /* end confdefs.h. */
6203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6204 $EGREP "free" >/dev
/null
2>&1; then :
6207 ac_cv_header_stdc
=no
6213 if test $ac_cv_header_stdc = yes; then
6214 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6215 if test "$cross_compiling" = yes; then :
6218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6219 /* end confdefs.h. */
6222 #if ((' ' & 0x0FF) == 0x020)
6223 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6224 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6226 # define ISLOWER(c) \
6227 (('a' <= (c) && (c) <= 'i') \
6228 || ('j' <= (c) && (c) <= 'r') \
6229 || ('s' <= (c) && (c) <= 'z'))
6230 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6233 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6238 for (i = 0; i < 256; i++)
6239 if (XOR (islower (i), ISLOWER (i))
6240 || toupper (i) != TOUPPER (i))
6245 if ac_fn_c_try_run
"$LINENO"; then :
6248 ac_cv_header_stdc
=no
6250 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6251 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6257 $as_echo "$ac_cv_header_stdc" >&6; }
6258 if test $ac_cv_header_stdc = yes; then
6260 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6264 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6265 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6266 inttypes.h stdint.h unistd.h
6268 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6269 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6271 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6272 cat >>confdefs.h
<<_ACEOF
6273 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6281 for ac_header
in sys
/ipc.h sys
/shm.h \
6282 sys
/mmap.h sys
/mman.h sysexits.h \
6283 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6286 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6287 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6288 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6289 cat >>confdefs.h
<<_ACEOF
6290 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6298 for ac_header
in sys
/mount.h
6300 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6302 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6303 cat >>confdefs.h
<<_ACEOF
6304 #define HAVE_SYS_MOUNT_H 1
6313 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6314 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6316 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6317 if eval \
${$as_ac_Header+:} false
; then :
6318 $as_echo_n "(cached) " >&6
6320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6322 #include <sys/types.h>
6334 if ac_fn_c_try_compile
"$LINENO"; then :
6335 eval "$as_ac_Header=yes"
6337 eval "$as_ac_Header=no"
6339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6341 eval ac_res
=\$
$as_ac_Header
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6343 $as_echo "$ac_res" >&6; }
6344 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6345 cat >>confdefs.h
<<_ACEOF
6346 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6349 ac_header_dirent
=$ac_hdr; break
6353 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6354 if test $ac_header_dirent = dirent.h
; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6356 $as_echo_n "checking for library containing opendir... " >&6; }
6357 if ${ac_cv_search_opendir+:} false
; then :
6358 $as_echo_n "(cached) " >&6
6360 ac_func_search_save_LIBS
=$LIBS
6361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6362 /* end confdefs.h. */
6364 /* Override any GCC internal prototype to avoid an error.
6365 Use char because int might match the return type of a GCC
6366 builtin and then its argument prototype would still apply. */
6379 for ac_lib
in '' dir
; do
6380 if test -z "$ac_lib"; then
6381 ac_res
="none required"
6384 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6386 if ac_fn_c_try_link
"$LINENO"; then :
6387 ac_cv_search_opendir
=$ac_res
6389 rm -f core conftest.err conftest.
$ac_objext \
6391 if ${ac_cv_search_opendir+:} false
; then :
6395 if ${ac_cv_search_opendir+:} false
; then :
6398 ac_cv_search_opendir
=no
6401 LIBS
=$ac_func_search_save_LIBS
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6404 $as_echo "$ac_cv_search_opendir" >&6; }
6405 ac_res
=$ac_cv_search_opendir
6406 if test "$ac_res" != no
; then :
6407 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6413 $as_echo_n "checking for library containing opendir... " >&6; }
6414 if ${ac_cv_search_opendir+:} false
; then :
6415 $as_echo_n "(cached) " >&6
6417 ac_func_search_save_LIBS
=$LIBS
6418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6419 /* end confdefs.h. */
6421 /* Override any GCC internal prototype to avoid an error.
6422 Use char because int might match the return type of a GCC
6423 builtin and then its argument prototype would still apply. */
6436 for ac_lib
in '' x
; do
6437 if test -z "$ac_lib"; then
6438 ac_res
="none required"
6441 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6443 if ac_fn_c_try_link
"$LINENO"; then :
6444 ac_cv_search_opendir
=$ac_res
6446 rm -f core conftest.err conftest.
$ac_objext \
6448 if ${ac_cv_search_opendir+:} false
; then :
6452 if ${ac_cv_search_opendir+:} false
; then :
6455 ac_cv_search_opendir
=no
6458 LIBS
=$ac_func_search_save_LIBS
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6461 $as_echo "$ac_cv_search_opendir" >&6; }
6462 ac_res
=$ac_cv_search_opendir
6463 if test "$ac_res" != no
; then :
6464 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6471 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6472 if ${ac_cv_header_stat_broken+:} false
; then :
6473 $as_echo_n "(cached) " >&6
6475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6476 /* end confdefs.h. */
6477 #include <sys/types.h>
6478 #include <sys/stat.h>
6480 #if defined S_ISBLK && defined S_IFDIR
6481 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6484 #if defined S_ISBLK && defined S_IFCHR
6485 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6488 #if defined S_ISLNK && defined S_IFREG
6489 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6492 #if defined S_ISSOCK && defined S_IFREG
6493 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6497 if ac_fn_c_try_compile
"$LINENO"; then :
6498 ac_cv_header_stat_broken
=no
6500 ac_cv_header_stat_broken
=yes
6502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6505 $as_echo "$ac_cv_header_stat_broken" >&6; }
6506 if test $ac_cv_header_stat_broken = yes; then
6508 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6513 $as_echo_n "checking for ANSI C header files... " >&6; }
6514 if ${ac_cv_header_stdc+:} false
; then :
6515 $as_echo_n "(cached) " >&6
6517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6518 /* end confdefs.h. */
6532 if ac_fn_c_try_compile
"$LINENO"; then :
6533 ac_cv_header_stdc
=yes
6535 ac_cv_header_stdc
=no
6537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6539 if test $ac_cv_header_stdc = yes; then
6540 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6542 /* end confdefs.h. */
6546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6547 $EGREP "memchr" >/dev
/null
2>&1; then :
6550 ac_cv_header_stdc
=no
6556 if test $ac_cv_header_stdc = yes; then
6557 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6559 /* end confdefs.h. */
6563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6564 $EGREP "free" >/dev
/null
2>&1; then :
6567 ac_cv_header_stdc
=no
6573 if test $ac_cv_header_stdc = yes; then
6574 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6575 if test "$cross_compiling" = yes; then :
6578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6579 /* end confdefs.h. */
6582 #if ((' ' & 0x0FF) == 0x020)
6583 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6584 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6586 # define ISLOWER(c) \
6587 (('a' <= (c) && (c) <= 'i') \
6588 || ('j' <= (c) && (c) <= 'r') \
6589 || ('s' <= (c) && (c) <= 'z'))
6590 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6593 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6598 for (i = 0; i < 256; i++)
6599 if (XOR (islower (i), ISLOWER (i))
6600 || toupper (i) != TOUPPER (i))
6605 if ac_fn_c_try_run
"$LINENO"; then :
6608 ac_cv_header_stdc
=no
6610 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6611 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6617 $as_echo "$ac_cv_header_stdc" >&6; }
6618 if test $ac_cv_header_stdc = yes; then
6620 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6625 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6626 if ${ac_cv_header_sys_wait_h+:} false
; then :
6627 $as_echo_n "(cached) " >&6
6629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6630 /* end confdefs.h. */
6631 #include <sys/types.h>
6632 #include <sys/wait.h>
6634 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6637 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6645 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6650 if ac_fn_c_try_compile
"$LINENO"; then :
6651 ac_cv_header_sys_wait_h
=yes
6653 ac_cv_header_sys_wait_h
=no
6655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6658 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6659 if test $ac_cv_header_sys_wait_h = yes; then
6661 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6666 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6667 if ${ac_cv_header_time+:} false
; then :
6668 $as_echo_n "(cached) " >&6
6670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6671 /* end confdefs.h. */
6672 #include <sys/types.h>
6673 #include <sys/time.h>
6679 if ((struct tm *) 0)
6685 if ac_fn_c_try_compile
"$LINENO"; then :
6686 ac_cv_header_time
=yes
6688 ac_cv_header_time
=no
6690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6693 $as_echo "$ac_cv_header_time" >&6; }
6694 if test $ac_cv_header_time = yes; then
6696 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6700 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6701 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6703 cat >>confdefs.h
<<_ACEOF
6704 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6708 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6713 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6714 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6716 cat >>confdefs.h
<<_ACEOF
6717 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6721 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6724 case " $LIBOBJS " in
6725 *" fileblocks.$ac_objext "* ) ;;
6726 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6733 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6734 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6736 cat >>confdefs.h
<<_ACEOF
6737 #define HAVE_STRUCT_STAT_ST_RDEV 1
6741 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6747 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6748 if ${ac_cv_struct_tm+:} false
; then :
6749 $as_echo_n "(cached) " >&6
6751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6752 /* end confdefs.h. */
6753 #include <sys/types.h>
6760 int *p = &tm.tm_sec;
6766 if ac_fn_c_try_compile
"$LINENO"; then :
6767 ac_cv_struct_tm
=time.h
6769 ac_cv_struct_tm
=sys
/time.h
6771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6774 $as_echo "$ac_cv_struct_tm" >&6; }
6775 if test $ac_cv_struct_tm = sys
/time.h
; then
6777 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6781 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6782 #include <$ac_cv_struct_tm>
6785 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6787 cat >>confdefs.h
<<_ACEOF
6788 #define HAVE_STRUCT_TM_TM_ZONE 1
6794 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6796 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6799 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6801 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6807 cat >>confdefs.h
<<_ACEOF
6808 #define HAVE_DECL_TZNAME $ac_have_decl
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6812 $as_echo_n "checking for tzname... " >&6; }
6813 if ${ac_cv_var_tzname+:} false
; then :
6814 $as_echo_n "(cached) " >&6
6816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6817 /* end confdefs.h. */
6819 #if !HAVE_DECL_TZNAME
6820 extern char *tzname[];
6826 return tzname[0][0];
6831 if ac_fn_c_try_link
"$LINENO"; then :
6832 ac_cv_var_tzname
=yes
6836 rm -f core conftest.err conftest.
$ac_objext \
6837 conftest
$ac_exeext conftest.
$ac_ext
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6840 $as_echo "$ac_cv_var_tzname" >&6; }
6841 if test $ac_cv_var_tzname = yes; then
6843 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6848 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6849 if test "x$ac_cv_type_off_t" = xyes
; then :
6853 cat >>confdefs.h
<<_ACEOF
6854 #define off_t long int
6859 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6860 if test "x$ac_cv_type_pid_t" = xyes
; then :
6864 cat >>confdefs.h
<<_ACEOF
6870 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6871 if test "x$ac_cv_type_size_t" = xyes
; then :
6875 cat >>confdefs.h
<<_ACEOF
6876 #define size_t unsigned int
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6882 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6883 if ${ac_cv_type_uid_t+:} false
; then :
6884 $as_echo_n "(cached) " >&6
6886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6887 /* end confdefs.h. */
6888 #include <sys/types.h>
6891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6892 $EGREP "uid_t" >/dev
/null
2>&1; then :
6893 ac_cv_type_uid_t
=yes
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6901 $as_echo "$ac_cv_type_uid_t" >&6; }
6902 if test $ac_cv_type_uid_t = no
; then
6904 $as_echo "#define uid_t int" >>confdefs.h
6907 $as_echo "#define gid_t int" >>confdefs.h
6912 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6913 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6915 cat >>confdefs.h
<<_ACEOF
6916 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6923 # Look for some functions
6924 for ac_func
in getpagesize kqueue statfs statvfs \
6925 clone kse_create rfork_thread thr_create sa_register \
6926 getcontext makecontext setcontext sigaltstack swapcontext
6928 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6929 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6930 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6931 cat >>confdefs.h
<<_ACEOF
6932 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6942 for ac_header
in $ac_header_list
6944 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6945 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6947 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6948 cat >>confdefs.h
<<_ACEOF
6949 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6963 for ac_func
in getpagesize
6965 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6966 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6967 cat >>confdefs.h
<<_ACEOF
6968 #define HAVE_GETPAGESIZE 1
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6975 $as_echo_n "checking for working mmap... " >&6; }
6976 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6977 $as_echo_n "(cached) " >&6
6979 if test "$cross_compiling" = yes; then :
6980 ac_cv_func_mmap_fixed_mapped
=no
6982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6983 /* end confdefs.h. */
6984 $ac_includes_default
6985 /* malloc might have been renamed as rpl_malloc. */
6988 /* Thanks to Mike Haertel and Jim Avera for this test.
6989 Here is a matrix of mmap possibilities:
6990 mmap private not fixed
6991 mmap private fixed at somewhere currently unmapped
6992 mmap private fixed at somewhere already mapped
6993 mmap shared not fixed
6994 mmap shared fixed at somewhere currently unmapped
6995 mmap shared fixed at somewhere already mapped
6996 For private mappings, we should verify that changes cannot be read()
6997 back from the file, nor mmap's back from the file at a different
6998 address. (There have been systems where private was not correctly
6999 implemented like the infamous i386 svr4.0, and systems where the
7000 VM page cache was not coherent with the file system buffer cache
7001 like early versions of FreeBSD and possibly contemporary NetBSD.)
7002 For shared mappings, we should conversely verify that changes get
7003 propagated back to all the places they're supposed to be.
7005 Grep wants private fixed already mapped.
7006 The main things grep needs to know about mmap are:
7007 * does it exist and is it safe to write into the mmap'd area
7008 * how to use it (BSD variants) */
7011 #include <sys/mman.h>
7013 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7017 /* This mess was copied from the GNU getpagesize.h. */
7018 #ifndef HAVE_GETPAGESIZE
7019 # ifdef _SC_PAGESIZE
7020 # define getpagesize() sysconf(_SC_PAGESIZE)
7021 # else /* no _SC_PAGESIZE */
7022 # ifdef HAVE_SYS_PARAM_H
7023 # include <sys/param.h>
7024 # ifdef EXEC_PAGESIZE
7025 # define getpagesize() EXEC_PAGESIZE
7026 # else /* no EXEC_PAGESIZE */
7028 # define getpagesize() NBPG * CLSIZE
7031 # endif /* no CLSIZE */
7032 # else /* no NBPG */
7034 # define getpagesize() NBPC
7035 # else /* no NBPC */
7037 # define getpagesize() PAGESIZE
7038 # endif /* PAGESIZE */
7039 # endif /* no NBPC */
7040 # endif /* no NBPG */
7041 # endif /* no EXEC_PAGESIZE */
7042 # else /* no HAVE_SYS_PARAM_H */
7043 # define getpagesize() 8192 /* punt totally */
7044 # endif /* no HAVE_SYS_PARAM_H */
7045 # endif /* no _SC_PAGESIZE */
7047 #endif /* no HAVE_GETPAGESIZE */
7052 char *data, *data2, *data3;
7057 pagesize = getpagesize ();
7059 /* First, make a file with some known garbage in it. */
7060 data = (char *) malloc (pagesize);
7063 for (i = 0; i < pagesize; ++i)
7064 *(data + i) = rand ();
7066 fd = creat ("conftest.mmap", 0600);
7069 if (write (fd, data, pagesize) != pagesize)
7073 /* Next, check that the tail of a page is zero-filled. File must have
7074 non-zero length, otherwise we risk SIGBUS for entire page. */
7075 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7079 if (write (fd2, cdata2, 1) != 1)
7081 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7082 if (data2 == MAP_FAILED)
7084 for (i = 0; i < pagesize; ++i)
7088 if (munmap (data2, pagesize))
7091 /* Next, try to mmap the file at a fixed address which already has
7092 something else allocated at it. If we can, also make sure that
7093 we see the same garbage. */
7094 fd = open ("conftest.mmap", O_RDWR);
7097 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7098 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7100 for (i = 0; i < pagesize; ++i)
7101 if (*(data + i) != *(data2 + i))
7104 /* Finally, make sure that changes to the mapped area do not
7105 percolate back to the file as seen by read(). (This is a bug on
7106 some variants of i386 svr4.0.) */
7107 for (i = 0; i < pagesize; ++i)
7108 *(data2 + i) = *(data2 + i) + 1;
7109 data3 = (char *) malloc (pagesize);
7112 if (read (fd, data3, pagesize) != pagesize)
7114 for (i = 0; i < pagesize; ++i)
7115 if (*(data + i) != *(data3 + i))
7121 if ac_fn_c_try_run
"$LINENO"; then :
7122 ac_cv_func_mmap_fixed_mapped
=yes
7124 ac_cv_func_mmap_fixed_mapped
=no
7126 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7127 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7132 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7133 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7135 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7138 rm -f conftest.mmap conftest.txt
7143 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7144 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7145 aros_config_ldflags
=""
7147 aros_shared_default
=yes
7149 aros_shared_cflags
="-fPIC"
7150 aros_shared_aflags
=""
7151 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7152 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7154 aros_kernel_ar_flags
="cr"
7155 aros_target_ar_flags
="cr"
7156 aros_target_nm_flags
="-C -ul"
7157 aros_target_strip_flags
="--strip-unneeded -R.comment"
7162 aros_target_genmap
="-Wl,-Map -Xlinker"
7164 # Native flavour stuff
7165 aros_serial_debug
="0"
7167 # Palm native flavour stuff
7168 aros_palm_debug_hack
="0"
7170 # Unix flavour stuff
7171 aros_nesting_supervisor
="0"
7173 # Collect-aros stuff: "-ius" to ignore undefined symbols
7174 ignore_undefined_symbols
=""
7176 # Check for X11 by default
7179 #-----------------------------------------------------------------------------
7182 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7183 # it switched on by default, and we use the host compiler, so it compiles AROS
7184 # code with this enabled resulting in link failures as we don't have support
7187 # We use two methods to disable it. For the host compiler (used to compile
7188 # some hosted modules), we test to see if the compiler supports stack
7189 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7190 # work on all platforms.
7192 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7193 # (this is done unconditionally, as it should have no effect on compilers
7194 # without the stack protection feature). This may be specific to the way that
7195 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7196 # strong enough to disable it in a generic way though, so we'll live with it
7197 # until another vendor ships GCC with it enabled in a different way, and deal
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7202 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7203 save_cflags
="$CFLAGS"
7204 CFLAGS
="$CFLAGS -fno-stack-protector"
7205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h. */
7216 if ac_fn_c_try_compile
"$LINENO"; then :
7217 use_no_stack_protector
="yes"
7219 use_no_stack_protector
="no"
7221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7223 $as_echo "$use_no_stack_protector" >&6; }
7224 if test "x-$use_no_stack_protector" = "x-yes" ; then
7225 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7227 CFLAGS
="$save_cflags"
7229 #-----------------------------------------------------------------------------
7231 # Disable pointer-signedness warnings if the compiler recognises the option
7232 # (this only works for the host compiler at the moment)
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7235 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7236 save_cflags
="$CFLAGS"
7237 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7239 /* end confdefs.h. */
7249 if ac_fn_c_try_compile
"$LINENO"; then :
7250 use_no_sign_warning
="yes"
7252 use_no_sign_warning
="no"
7254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7256 $as_echo "$use_no_sign_warning" >&6; }
7257 if test "x-$use_no_sign_warning" = "x-yes" ; then
7258 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7260 CFLAGS
="$save_cflags"
7262 #-----------------------------------------------------------------------------
7264 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7267 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7268 save_cflags
="$CFLAGS"
7269 CFLAGS
="$CFLAGS -fgnu89-inline"
7270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7271 /* end confdefs.h. */
7281 if ac_fn_c_try_compile
"$LINENO"; then :
7282 use_gnu89_inline
="yes"
7284 use_gnu89_inline
="no"
7286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7288 $as_echo "$use_gnu89_inline" >&6; }
7289 if test "x-$use_gnu89_inline" = "x-yes" ; then
7290 gnu89_inline
="-fgnu89-inline"
7292 CFLAGS
="$save_cflags"
7294 #-----------------------------------------------------------------------------
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7297 $as_echo_n "checking for type of build... " >&6; }
7298 # Check whether --enable-build_type was given.
7299 if test "${enable_build_type+set}" = set; then :
7300 enableval
=$enable_build_type; build_type
=$enableval
7302 build_type
="personal"
7306 if test "$build_type" = "nightly"; then
7307 build_type_string
="NIGHTLY"
7308 elif test "$build_type" = "snapshot"; then
7309 build_type_string
="SNAPSHOT"
7310 elif test "$build_type" = "milestone"; then
7311 build_type_string
="MILESTONE"
7312 elif test "$build_type" = "release"; then
7313 build_type_string
="RELEASE"
7315 build_type_string
="PERSONAL"
7316 build_type
="personal"
7319 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7322 $as_echo "$build_type" >&6; }
7324 #-----------------------------------------------------------------------------
7325 all_debug_types
="messages stack modules mungwall symbols"
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7328 $as_echo_n "checking which debug types to enable... " >&6; }
7329 # Check whether --enable-debug was given.
7330 if test "${enable_debug+set}" = set; then :
7331 enableval
=$enable_debug; debug
="$enableval"
7337 if test "$debug" = "" -o "$debug" = "no"; then
7339 elif test "$debug" = "yes"; then
7343 if test "$debug" = "all" ; then
7344 debug
="messages stack modules symbols"
7345 for d
in $all_debug_types; do
7346 export aros_
${d}_debug
="1"
7349 for d
in $all_debug_types; do
7350 export aros_
${d}_debug
="0"
7354 if test "$debug" != "none"; then
7355 debug
=`echo $debug | sed s/,/\ /g`
7358 for d2
in $all_debug_types; do
7359 if test "$d2" = "$d"; then
7364 if test "$found" = "0"; then
7365 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7367 export aros_
${d}_debug
="1"
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7372 $as_echo "$debug" >&6; }
7374 if test "$aros_messages_debug" = "1"; then
7375 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7377 aros_messages_debug
=""
7379 if test "$aros_symbols_debug" = "1"; then
7380 aros_symbols_debug
="-g"
7382 aros_symbols_debug
=""
7385 # These are the flags to pass when compiling debugged programs
7386 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7387 aros_debug_aflags
=""
7388 aros_debug_ldflags
="$aros_symbols_debug"
7390 #-----------------------------------------------------------------------------
7391 # Checking for distcc and ccache.
7393 # Always apply the transforms in this particular order. Basically you should
7394 # always run 'ccache distcc compiler' in that order for the best performance.
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7397 $as_echo_n "checking whether to enable distcc... " >&6; }
7398 # Check whether --enable-distcc was given.
7399 if test "${enable_distcc+set}" = set; then :
7400 enableval
=$enable_distcc; distcc
="$enableval"
7405 if test "$distcc" != "" -a "$distcc" != "no"; then
7406 # AC_CHECK_PROG will print out the result in this case
7407 # Extract the first word of "distcc", so it can be a program name with args.
7408 set dummy distcc
; ac_word
=$2
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7410 $as_echo_n "checking for $ac_word... " >&6; }
7411 if ${ac_cv_path_DISTCC+:} false
; then :
7412 $as_echo_n "(cached) " >&6
7416 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7423 test -z "$as_dir" && as_dir
=.
7424 for ac_exec_ext
in '' $ac_executable_extensions; do
7425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7426 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7438 DISTCC
=$ac_cv_path_DISTCC
7439 if test -n "$DISTCC"; then
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7441 $as_echo "$DISTCC" >&6; }
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7444 $as_echo "no" >&6; }
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 $as_echo "no" >&6; }
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7454 $as_echo_n "checking whether to enable ccache... " >&6; }
7455 # Check whether --enable-ccache was given.
7456 if test "${enable_ccache+set}" = set; then :
7457 enableval
=$enable_ccache; ccache
="$enableval"
7462 if test "$ccache" != "" -a "$ccache" != "no"; then
7463 # AC_CHECK_PROG will print out the result in this case
7464 # Extract the first word of "ccache", so it can be a program name with args.
7465 set dummy ccache
; ac_word
=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if ${ac_cv_prog_CCACHE+:} false
; then :
7469 $as_echo_n "(cached) " >&6
7471 if test -n "$CCACHE"; then
7472 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7478 test -z "$as_dir" && as_dir
=.
7479 for ac_exec_ext
in '' $ac_executable_extensions; do
7480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481 ac_cv_prog_CCACHE
="ccache"
7482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7491 CCACHE
=$ac_cv_prog_CCACHE
7492 if test -n "$CCACHE"; then
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7494 $as_echo "$CCACHE" >&6; }
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 $as_echo "no" >&6; }
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7506 #-----------------------------------------------------------------------------
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7508 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7510 # Check whether --with-kernel-gcc-version was given.
7511 if test "${with_kernel_gcc_version+set}" = set; then :
7512 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7514 kernel_tool_version
=""
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7518 $as_echo "$kernel_tool_version" >&6; }
7520 #-----------------------------------------------------------------------------
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7522 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7524 # Check whether --with-gcc-version was given.
7525 if test "${with_gcc_version+set}" = set; then :
7526 withval
=$with_gcc_version; target_tool_version
="$withval"
7528 target_tool_version
=""
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7532 $as_echo "$target_tool_version" >&6; }
7534 #-----------------------------------------------------------------------------
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7536 $as_echo_n "checking what optimization flags to use... " >&6; }
7538 # Check whether --with-optimization was given.
7539 if test "${with_optimization+set}" = set; then :
7540 withval
=$with_optimization; optimization
="$withval"
7542 optimization
="unknown"
7545 if test "$optimization" = "unknown"; then
7546 if test "$debug" != "none"; then
7552 aros_config_cflags
="$aros_config_cflags $optimization"
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7554 $as_echo "$optimization" >&6; }
7556 #-----------------------------------------------------------------------------
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7558 $as_echo_n "checking what paranoia flags to use... " >&6; }
7560 # Check whether --with-paranoia was given.
7561 if test "${with_paranoia+set}" = set; then :
7562 withval
=$with_paranoia; paranoia_flags
="$withval"
7564 paranoia_flags
="default"
7567 if test "$paranoia_flags" = "default"; then
7569 else if test "$paranoia_flags" = "yes"; then
7570 paranoia_flags
="-Wall -Werror"
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7573 $as_echo "$paranoia_flags" >&6; }
7574 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7576 #-----------------------------------------------------------------------------
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7578 $as_echo_n "checking what target variant to enable... " >&6; }
7579 # Check whether --enable-target_variant was given.
7580 if test "${enable_target_variant+set}" = set; then :
7581 enableval
=$enable_target_variant; target_variant
=$enableval
7586 if test "$target_variant" = ""; then
7587 aros_target_variant
=""
7588 aros_target_suffix
=""
7591 aros_target_variant
="$target_variant"
7592 aros_target_suffix
="-$target_variant"
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7595 $as_echo "$enableval" >&6; }
7597 #-----------------------------------------------------------------------------
7598 # Target-specific defaults. You can override then on a per-target basis.
7600 # Bootloader name. Currently used by PC target.
7601 target_bootloader
="none"
7603 #-----------------------------------------------------------------------------
7604 # Additional options for some specific targets
7606 case "$aros_target_variant" in
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7609 $as_echo_n "checking XCode path... " >&6; }
7611 # Check whether --with-xcode was given.
7612 if test "${with_xcode+set}" = set; then :
7613 withval
=$with_xcode; aros_xcode_path
="$withval"
7615 aros_xcode_path
="/Developer"
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7619 $as_echo "$aros_xcode_path" >&6; }
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7622 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7624 # Check whether --with-sdk-version was given.
7625 if test "${with_sdk_version+set}" = set; then :
7626 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7628 aros_sdk_version
="4.1"
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7632 $as_echo "$aros_sdk_version" >&6; }
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7638 $as_echo_n "checking Android SDK path... " >&6; }
7640 # Check whether --with-sdk was given.
7641 if test "${with_sdk+set}" = set; then :
7642 withval
=$with_sdk; aros_android_sdk
="$withval"
7644 aros_android_sdk
=$default_android_sdk
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7648 $as_echo "$aros_android_sdk" >&6; }
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7651 $as_echo_n "checking Android NDK path... " >&6; }
7653 # Check whether --with-ndk was given.
7654 if test "${with_ndk+set}" = set; then :
7655 withval
=$with_ndk; aros_android_ndk
="$withval"
7657 aros_android_ndk
="none"
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7661 $as_echo "$aros_android_ndk" >&6; }
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7664 $as_echo_n "checking what Android SDK version to use... " >&6; }
7666 # Check whether --with-sdk-version was given.
7667 if test "${with_sdk_version+set}" = set; then :
7668 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7670 aros_sdk_version
="12"
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7674 $as_echo "$aros_sdk_version" >&6; }
7676 if test "$aros_android_ndk" != "none"; then
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7678 $as_echo_n "checking what Android NDK version to use... " >&6; }
7680 # Check whether --with-ndk-version was given.
7681 if test "${with_ndk_version+set}" = set; then :
7682 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7684 aros_ndk_version
="9"
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7688 $as_echo "$aros_ndk_version" >&6; }
7691 export PATH
="$aros_android_sdk/tools:$PATH"
7692 # Extract the first word of "$android_tool", so it can be a program name with args.
7693 set dummy
$android_tool; ac_word
=$2
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7695 $as_echo_n "checking for $ac_word... " >&6; }
7696 if ${ac_cv_path_android_tool+:} false
; then :
7697 $as_echo_n "(cached) " >&6
7699 case $android_tool in
7701 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7708 test -z "$as_dir" && as_dir
=.
7709 for ac_exec_ext
in '' $ac_executable_extensions; do
7710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7711 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7722 android_tool
=$ac_cv_path_android_tool
7723 if test -n "$android_tool"; then
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7725 $as_echo "$android_tool" >&6; }
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7728 $as_echo "no" >&6; }
7732 if test "$android_tool" = ""; then
7733 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7736 aros_android_level
=android-
$aros_sdk_version
7737 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7738 echo "Platform $aros_android_level is not installed in your SDK"
7739 echo "Use --with-sdk-version=<API level number> to select another platform version"
7740 echo "You can check what plaform versions are installed in your SDK"
7741 echo "by examining contents of $aros_android_sdk/platforms directory"
7742 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7745 # Extract the first word of "ant", so it can be a program name with args.
7746 set dummy ant
; ac_word
=$2
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7748 $as_echo_n "checking for $ac_word... " >&6; }
7749 if ${ac_cv_path_ant+:} false
; then :
7750 $as_echo_n "(cached) " >&6
7754 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7761 test -z "$as_dir" && as_dir
=.
7762 for ac_exec_ext
in '' $ac_executable_extensions; do
7763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7764 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7776 if test -n "$ant"; then
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7778 $as_echo "$ant" >&6; }
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7781 $as_echo "no" >&6; }
7785 if test "$ant" = ""; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7787 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7790 if test "$host_os" = "mingw32"; then
7791 android_tool
="cmd //c $android_tool"
7797 #-----------------------------------------------------------------------------
7798 # External toolchains
7799 kernel_tool_prefix
="none"
7800 aros_tool_prefix
="none"
7801 elf_tool_prefix
="${target_cpu}-elf-"
7803 # This is the target configuration switch.
7804 case "$target_os" in
7806 aros_target_arch
="linux"
7807 aros_target_family
="unix"
7808 case "$target_cpu" in
7810 aros_target_cpu
="m68k"
7811 aros_object_format
="m68kelf"
7812 aros_flavour
="emulcompat"
7813 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7814 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7815 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7816 gcc_target_cpu
="mc68000"
7819 aros_target_cpu
="i386"
7820 aros_object_format
="elf_i386"
7821 aros_flavour
="emulation"
7822 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7823 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7824 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7825 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7826 aros_config_ldflags
="-m32 -march=i486"
7827 aros_kernel_ldflags
="-Wl,-melf_i386"
7828 aros_default_wbdepth
=8
7829 gcc_target_cpu
="i386"
7830 pci_hidd_target
="hidd-pci-linux"
7831 android_tool_dir_prefix
="x86"
7832 android_tool_prefix
="i686-android-linux"
7833 android_ndk_arch
="x86"
7836 aros_target_cpu
="x86_64"
7837 aros_object_format
="elf_x86_64"
7838 aros_flavour
="emulation"
7839 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7840 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7841 aros_default_wbdepth
=8
7842 pci_hidd_target
="hidd-pci-linux"
7845 aros_target_cpu
="ppc"
7846 aros_object_format
="elf32ppc"
7847 aros_flavour
="emulation"
7848 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7849 aros_default_wbdepth
=8
7850 gcc_target_cpu
="ppc"
7853 # Same as powerpc, but I need this for the nightly build to work again.
7854 # Actually, the nightly should be made working with powerpc target.
7855 # That just was too much work for the moment, another week or two.
7857 aros_target_cpu
="ppc"
7858 aros_object_format
="elf32ppc"
7859 aros_flavour
="emulation"
7860 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7861 aros_default_wbdepth
=8
7862 gcc_target_cpu
="ppc"
7865 aros_target_cpu
="arm"
7867 aros_object_format
="armelf_aros"
7868 aros_flavour
="emulation"
7869 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7870 gcc_target_cpu
="arm"
7871 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7872 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7873 aros_arch_libs
="-laeabi"
7874 gcc_default_float_abi
="hard"
7875 android_tool_dir_prefix
="arm-linux-androideabi"
7876 android_tool_prefix
="arm-linux-androideabi"
7877 android_ndk_arch
="arm"
7878 kernel_tool_prefix
="arm-linux-gnueabihf-"
7881 aros_target_cpu
="arm"
7882 aros_object_format
="armelf_aros"
7883 aros_flavour
="emulation"
7884 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7885 gcc_target_cpu
="arm"
7886 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7887 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7888 aros_arch_libs
="-laeabi"
7889 android_tool_dir_prefix
="arm-linux-androideabi"
7890 android_tool_prefix
="arm-linux-androideabi"
7891 android_ndk_arch
="arm"
7892 kernel_tool_prefix
="arm-linux-gnueabi-"
7895 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7898 case "$aros_target_variant" in
7901 if test "$android_ndk_arch" = ""; then
7902 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7905 aros_default_wbwidth
=320
7906 aros_default_wbheight
=480
7907 if test "$aros_android_ndk" = "none"; then
7908 aros_kernel_cflags
="-mandroid"
7909 aros_kernel_ldflags
="-mandroid"
7912 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
7913 kernel_tool_version
=""
7914 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7915 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7916 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7917 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7918 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7921 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7922 # Disable implicit PIC mode
7923 aros_target_cflags
="$aros_target_cflags -fno-pic"
7924 kernel_tool_prefix
="$android_tool_prefix-"
7930 aros_target_arch
="pc"
7931 aros_shared_default
="no"
7932 target_bootloader
="grub2"
7933 case "$target_cpu" in
7935 aros_target_cpu
="i386"
7938 if test "$aros_object_format" = "" ; then
7939 aros_object_format
="elf_i386"
7941 aros_flavour
="standalone"
7942 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7943 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7944 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7945 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7946 aros_config_ldflags
="-m32 -march=i486"
7947 aros_kernel_ldflags
="-Wl,-melf_i386"
7948 aros_default_wbwidth
=640
7949 aros_default_wbheight
=480
7950 gcc_target_cpu
="i386"
7953 aros_target_cpu
="x86_64"
7955 if test "$aros_object_format" = "" ; then
7956 aros_object_format
="elf_x86_64"
7958 aros_flavour
="standalone"
7959 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7960 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7961 aros_kernel_ldflags
=""
7962 aros_default_wbwidth
=640
7963 aros_default_wbheight
=480
7966 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7972 aros_target_arch
="prep"
7973 aros_shared_default
="no"
7974 aros_target_cpu
="ppc"
7975 aros_object_format
="elf32ppc"
7976 aros_flavour
="ppcnative"
7977 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7978 aros_kernel_ldflags
=""
7979 aros_default_wbwidth
=640
7980 aros_default_wbheight
=480
7981 gcc_target_cpu
="ppc"
7985 aros_target_arch
="freebsd"
7986 aros_target_family
="unix"
7987 aros_target_cpu
="i386"
7988 aros_flavour
="emulation"
7989 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7990 gcc_target_cpu
="i386"
7992 aros_target_strip_flags
="-x"
7996 aros_target_arch
="darwin"
7997 aros_target_family
="unix"
7998 aros_flavour
="emulation"
7999 case "$target_cpu" in
8001 aros_ios_platform
="iPhoneSimulator"
8002 aros_target_cpu
="i386"
8003 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8004 aros_kernel_ldflags
=""
8005 aros_macosx_version
="10.4"
8006 aros_default_wbdepth
=8
8007 gcc_target_cpu
="i386"
8008 aros_object_format
="elf_i386"
8009 aros_kernel_ar_flags
="-cr"
8010 aros_target_strip_flags
="-x"
8011 kernel_tool_flags
="-m32"
8014 aros_target_cpu
="x86_64"
8015 aros_object_format
="elf_x86_64"
8016 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8017 aros_macosx_version
="10.6"
8018 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8019 aros_kernel_cflags
="-m64"
8020 aros_kernel_ldflags
="-m64"
8021 aros_target_cflags
="-mcmodel=large"
8022 aros_default_wbdepth
=8
8024 aros_kernel_ar_flags
="-cr"
8027 aros_kernel_ranlib
="ranlib"
8029 aros_kernel_strip
="strip"
8030 kernel_tool_prefix
="i686-apple-darwin10-"
8033 aros_target_cpu
="ppc"
8034 aros_object_format
="elf32ppc"
8035 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8036 aros_kernel_ldflags
=""
8037 aros_macosx_version
="10.0"
8038 aros_default_wbdepth
=8
8039 gcc_target_cpu
="ppc"
8041 aros_kernel_ar_flags
="-cr"
8042 aros_kernel_ld
="ld -arch ppc"
8043 aros_kernel_as
="as -arch ppc"
8044 aros_kernel_ranlib
="ranlib -arch ppc"
8045 aros_kernel_nm
="nm -arch ppc"
8046 aros_kernel_strip
="strip -arch ppc"
8047 kernel_tool_prefix
="powerpc-apple-darwin10-"
8050 aros_ios_platform
="iPhoneOS"
8051 aros_target_cpu
="arm"
8052 aros_object_format
="armelf_aros"
8053 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8054 aros_arch_libs
="-laeabi"
8055 aros_default_wbdepth
=8
8056 gcc_target_cpu
="arm"
8058 aros_kernel_ar_flags
="-cr"
8059 aros_kernel_ld
="ld -arch arm"
8060 aros_kernel_ranlib
="ranlib -arch arm"
8061 kernel_tool_prefix
="arm-apple-darwin10-"
8062 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8065 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8068 case "$aros_target_variant" in
8070 aros_ios_version
="3.0"
8071 aros_default_wbwidth
=320
8072 aros_default_wbheight
=480
8073 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8074 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8075 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8077 # This is here because it may depend on iOS or SDK version
8078 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8079 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8080 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8083 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8084 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8090 aros_target_arch
="dragonfly"
8091 aros_target_family
="unix"
8092 aros_flavour
="emulation"
8093 case "$target_cpu" in
8095 aros_target_cpu
="i386"
8096 aros_object_format
="elf_i386"
8097 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8100 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8101 aros_target_cpu
="x86_64"
8102 aros_object_format
="elf_x86_64"
8103 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8106 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8112 aros_target_arch
="netbsd"
8113 aros_target_family
="unix"
8114 case "$target_cpu" in
8116 aros_target_cpu
="m68k"
8117 aros_object_format
="m68kelf"
8118 aros_flavour
="emulcompat"
8119 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8120 gcc_target_cpu
="mc68000"
8123 aros_target_cpu
="i386"
8124 aros_object_format
="elf_i386"
8125 aros_flavour
="emulation"
8126 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8127 aros_default_wbdepth
=8
8128 gcc_target_cpu
="i386"
8131 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8134 aros_target_genmap
="-Wl,-M -Xlinker >"
8135 aros_flavour
="emulation"
8136 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8140 aros_target_arch
="openbsd"
8141 aros_target_family
="unix"
8142 case "$target_cpu" in
8144 aros_target_cpu
="i386"
8145 aros_object_format
="elf_i386"
8146 aros_flavour
="emulation"
8147 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8148 gcc_target_cpu
="i386"
8151 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8154 aros_target_genmap
="-Wl,-M -Xlinker >"
8155 aros_target_nm_flags
="-u"
8156 aros_flavour
="emulation"
8160 aros_target_arch
="solaris"
8161 aros_target_family
="unix"
8162 case "$target_cpu" in
8164 aros_target_cpu
="i386"
8165 aros_object_format
="elf_i386"
8166 aros_flavour
="emulation"
8167 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8168 aros_default_wbdepth
=8
8169 gcc_target_cpu
="i386"
8172 aros_target_cpu
="sparc"
8173 aros_object_format
="elf_sparc"
8174 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8175 gcc_target_cpu
="sparc"
8178 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8181 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8182 aros_flavour
="emulation"
8186 aros_target_arch
="morphos"
8187 aros_shared_default
="no"
8188 aros_target_cpu
="ppc"
8189 aros_object_format
="elf_ppc"
8190 aros_flavour
="nativecompat"
8191 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8192 gcc_target_cpu
="ppc"
8196 aros_target_arch
="sam440"
8197 aros_shared_default
="no"
8198 aros_target_cpu
="ppc"
8199 aros_object_format
="elf32ppc"
8200 aros_flavour
="ppcnative"
8201 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8202 aros_kernel_ldflags
=""
8203 aros_default_wbwidth
=1024
8204 aros_default_wbheight
=768
8205 aros_default_wbdepth
=24
8206 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8207 gcc_target_cpu
="powerpc"
8211 aros_target_arch
="efika"
8212 aros_shared_default
="no"
8213 aros_target_cpu
="arm"
8214 aros_object_format
="armelf_aros"
8215 aros_flavour
="standalone"
8216 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8217 aros_kernel_ldflags
=""
8218 aros_default_wbwidth
=1024
8219 aros_default_wbheight
=600
8220 aros_arch_libs
="-laeabi"
8221 gcc_default_cpu
="armv7-a"
8222 gcc_default_fpu
="vfpv3"
8223 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables -Os"
8224 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables -Os"
8225 case "$target_cpu" in
8227 gcc_default_float_abi
="hard"
8232 gcc_default_float_abi
="softfp"
8235 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8241 aros_target_arch
="chrp"
8242 aros_shared_default
="no"
8243 aros_target_cpu
="ppc"
8244 aros_object_format
="elf32ppc"
8245 aros_flavour
="ppcnative"
8246 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8247 aros_kernel_ldflags
=""
8248 aros_default_wbwidth
=640
8249 aros_default_wbheight
=480
8250 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8251 gcc_target_cpu
="powerpc"
8252 case "$aros_target_variant" in
8254 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8260 aros_flavour
="standalone"
8261 aros_target_arch
="raspi"
8262 aros_target_cpu
="arm"
8263 aros_object_format
="armelf_aros"
8264 aros_shared_default
="no"
8265 aros_arch_libs
="-laeabi"
8267 gcc_default_cpu
="armv6"
8268 gcc_default_cpu_tune
="arm1176jzf-s"
8269 case "$target_cpu" in
8271 gcc_default_float_abi
="hard"
8274 gcc_default_float_abi
="softfp"
8277 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8281 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8282 aros_config_cflags
="$aros_config_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8283 aros_config_aflags
="$aros_config_aflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8284 aros_kernel_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8285 aros_target_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8289 aros_target_arch
="amiga"
8290 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8291 aros_shared_default
="no"
8293 case "$target_cpu" in
8295 # Check whether --enable-amigaos_compliance was given.
8296 if test "${enable_amigaos_compliance+set}" = set; then :
8297 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8301 aros_target_cpu
="m68k"
8302 aros_object_format
="m68kelf"
8303 aros_flavour
="standcompat"
8304 gcc_target_cpu
="m68000"
8305 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -Os -DNOLIBINLINE"
8306 aros_config_aflags
="$aros_config_aflags"
8307 aros_target_strip_flags
="-R.comment --strip-debug"
8308 aros_default_wbwidth
=640
8309 aros_default_wbheight
=256
8310 aros_default_wbdepth
=2
8314 aros_flavour
="native"
8315 gcc_target_cpu
="ppc"
8318 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8324 aros_target_arch
="mingw32"
8325 aros_shared_default
="no"
8326 aros_flavour
="emulation"
8327 aros_shared_cflags
=""
8328 need_crosstools
="yes"
8331 case "$target_cpu" in
8333 aros_target_cpu
="i386"
8334 aros_object_format
="elf_i386"
8335 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8336 aros_default_wbdepth
=8
8337 gcc_target_cpu
="i386"
8339 kernel_tool_prefix
="i386-mingw32-"
8342 aros_target_cpu
="x86_64"
8343 aros_object_format
="elf_x86_64"
8344 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8345 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8346 aros_default_wbdepth
=8
8347 kernel_tool_prefix
="x86_64-w64-mingw32-"
8350 aros_target_cpu
="arm"
8351 aros_object_format
="armelf_aros"
8352 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8353 aros_arch_libs
="-laeabi"
8354 aros_default_wbdepth
=8
8355 gcc_target_cpu
="arm"
8356 gcc_default_float_abi
="soft"
8357 kernel_tool_prefix
="arm-mingw32ce-"
8358 aros_default_wbwidth
=160
8359 aros_default_wbheight
=160
8362 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8365 if test $host_os = "cygwin"; then
8366 aros_kernel_cflags
="-mno-cygwin"
8370 aros_target_arch
="pp"
8371 aros_shared_default
="no"
8372 case "$target_cpu" in
8374 aros_target_cpu
="m68k"
8375 aros_object_format
="m68kelf"
8376 aros_flavour
="palmnative"
8377 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8378 aros_default_wbwidth
=160
8379 aros_default_wbheight
=160
8380 aros_default_wbdepth
=1
8381 aros_target_ar_flags
="cru"
8382 aros_compiler_libs
="-lgcc1"
8383 aros_shared_default
=no
8384 aros_shared_cflags
="-fpic"
8385 aros_shared_aflags
=""
8386 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8387 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8388 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8389 aros_debug_aflags
=""
8390 aros_debug_ldflags
="$aros_symbols_debug"
8391 aros_mungwall_debug
="0"
8392 aros_modules_debug
="0"
8393 gcc_target_cpu
="mc68000"
8394 ignore_undefined_symbols
="-ius"
8397 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8403 aros_target_arch
="mac"
8404 aros_shared_default
="no"
8405 case "$target_cpu" in
8407 aros_target_cpu
="m68k"
8408 aros_object_format
="m68kelf"
8409 aros_flavour
="mac68knative"
8410 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8411 aros_default_wbwidth
=512
8412 aros_default_wbheight
=384
8413 aros_default_wbdepth
=8
8414 aros_target_ar_flags
="cru"
8415 aros_compiler_libs
="-lgcc1"
8416 aros_shared_default
=no
8417 aros_shared_cflags
="-fpic"
8418 aros_shared_aflags
=""
8419 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8420 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8421 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8422 aros_debug_aflags
=""
8423 aros_debug_ldflags
="$aros_symbols_debug"
8424 aros_mungwall_debug
="0"
8425 aros_modules_debug
="0"
8426 gcc_target_cpu
="mc68000"
8427 ignore_undefined_symbols
="-ius"
8430 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8436 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8440 #-----------------------------------------------------------------------------
8441 crosstools_guess
=yes
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8444 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8446 # Check whether --with-kernel-toolchain-prefix was given.
8447 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8448 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8452 $as_echo "$kernel_tool_prefix" >&6; }
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8455 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8457 # Check whether --with-elf-toolchain-prefix was given.
8458 if test "${with_elf_toolchain_prefix+set}" = set; then :
8459 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8464 $as_echo "$elf_tool_prefix" >&6; }
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8467 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8469 # Check whether --with-aros-toolchain was given.
8470 if test "${with_aros_toolchain+set}" = set; then :
8471 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8475 if test "$aros_tool_prefix" = "yes" ; then
8476 aros_tool_prefix
=$aros_target_cpu-aros-
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8479 $as_echo "$aros_tool_prefix" >&6; }
8481 #-----------------------------------------------------------------------------
8482 # Checking if we should build crosstools..
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8484 $as_echo_n "checking whether to build crosstools... " >&6; }
8485 # Check whether --enable-crosstools was given.
8486 if test "${enable_crosstools+set}" = set; then :
8487 enableval
=$enable_crosstools; crosstools
="$enableval"
8489 crosstools
="$crosstools_guess"
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8493 $as_echo "$crosstools" >&6; }
8495 if test "${crosstools}" = "yes"; then
8496 if test "${crosstools_guess}" = "no"; then
8497 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8502 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8504 # Check whether --with-aros-toolchain-install was given.
8505 if test "${with_aros_toolchain_install+set}" = set; then :
8506 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8509 if test "x$aros_toolchain_install" = "x"; then
8510 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8512 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8513 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8516 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include Objective-C suppport" >&5
8519 $as_echo_n "checking whether to include Objective-C suppport... " >&6; }
8520 # Check whether --enable-objc was given.
8521 if test "${enable_objc+set}" = set; then :
8522 enableval
=$enable_objc; objc
="$enableval"
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
8528 $as_echo "$objc" >&6; }
8529 if test "x$objc" = "xyes"; then
8532 objc_target
="no-objc"
8535 # Now process extra architecture-specific options.
8536 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8537 # as well as floating-point ABI.
8538 case "$aros_target_cpu" in
8540 if test "$gcc_default_cpu" = ""; then
8541 gcc_default_cpu
="armv6"
8543 if test "$gcc_default_fpu" = ""; then
8544 gcc_default_fpu
="vfp"
8546 if test "$gcc_default_float_abi" = ""; then
8547 gcc_default_float_abi
="softfp"
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8551 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8553 # Check whether --with-cpu was given.
8554 if test "${with_cpu+set}" = set; then :
8555 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8557 aros_gcc_cpu
=$gcc_default_cpu
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8561 $as_echo "$aros_gcc_cpu" >&6; }
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8564 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8566 # Check whether --with-fpu was given.
8567 if test "${with_fpu+set}" = set; then :
8568 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8570 aros_gcc_fpu
=$gcc_default_fpu
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8574 $as_echo "$aros_gcc_fpu" >&6; }
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8577 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8579 # Check whether --with-float was given.
8580 if test "${with_float+set}" = set; then :
8581 withval
=$with_float; aros_gcc_float_abi
="$withval"
8583 aros_gcc_float_abi
=$gcc_default_float_abi
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8587 $as_echo "$aros_gcc_float_abi" >&6; }
8589 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"
8590 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"
8594 # Some formats need custom ELF specs.
8595 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8596 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8597 elf_specs_in
=config
/${aros_object_format}-specs.
in
8599 elf_specs_in
=config
/elf-specs.
in
8602 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8603 # Since we override specs, we may need to put these defines there
8604 if test "$gcc_target_cpu" != ""; then
8605 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8609 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8611 # Check whether --with-portssources was given.
8612 if test "${with_portssources+set}" = set; then :
8613 withval
=$with_portssources; with_portssrcdir
=$withval
8615 with_portssrcdir
="default"
8618 if test "$with_portssrcdir" = "default"; then
8619 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8621 AROS_PORTSSRCDIR
="$with_portssrcdir"
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8624 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8627 $as_echo_n "checking which bootloader to use... " >&6; }
8629 # Check whether --with-bootloader was given.
8630 if test "${with_bootloader+set}" = set; then :
8631 withval
=$with_bootloader; target_bootloader
=$withval
8633 target_bootloader
=$target_bootloader
8636 if test "$target_bootloader" = "none"; then
8637 aros_target_bootloader
=""
8639 aros_target_bootloader
="$target_bootloader"
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8642 $as_echo "$target_bootloader" >&6; }
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8645 $as_echo_n "checking which icon-set to use... " >&6; }
8647 # Check whether --with-iconset was given.
8648 if test "${with_iconset+set}" = set; then :
8649 withval
=$with_iconset; target_iconset
=$withval
8651 target_iconset
="default"
8654 if test "$target_iconset" = "default"; then
8655 aros_target_iconset
="Gorilla"
8656 target_iconset
="default (Gorilla)"
8658 aros_target_iconset
="$target_iconset"
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8661 $as_echo "$target_iconset" >&6; }
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8664 $as_echo_n "checking which GUI Theme to use... " >&6; }
8666 # Check whether --with-theme was given.
8667 if test "${with_theme+set}" = set; then :
8668 withval
=$with_theme; target_guitheme
=$withval
8670 target_guitheme
="default"
8673 if test "$target_guitheme" = "default"; then
8674 aros_target_guitheme
="Ice"
8676 aros_target_guitheme
="$target_guitheme"
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8679 $as_echo "$aros_target_guitheme" >&6; }
8681 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8685 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8689 if test "$aros_host_cpu" == "x86_64" ; then
8690 if test "$aros_target_cpu" == "i386" ; then
8695 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8696 if test "$aros_host_arch" != "$aros_target_arch" ; then
8700 if test "$host_cc_elf" = "no" ; then
8705 if test "$cross_compiling" = "no" ; then
8706 kernel_tool_prefix
=""
8707 if test "$host_cc_elf" = "yes" ; then
8712 if test "$kernel_tool_version" != ""; then
8713 kernel_tool_version
="-$kernel_tool_version"
8715 if test "$target_tool_version" != ""; then
8716 target_tool_version
="-$target_tool_version"
8719 #######################################################################
8720 ## Compute what toolchains to use, and their paths ##
8721 #######################################################################
8723 # This takes, as input:
8724 # crosstools {yes,no}
8725 # kernel_tool_version {"",[version]}
8726 # target_tool_version {"",[version]}
8727 # kernel_tool_prefix {none,[some-arch-os-]}
8728 # target_tool_prefix ${aros_target_cpu}-aros-
8729 # aros_tool_prefix ${aros_target_cpu}-aros-
8732 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8733 # Where the 'kernel' binaries are located
8734 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8735 # Where the 'target' binaries are located
8736 # (not the symlink farm - that is aros_target_*!)
8739 # if crosstools then
8740 # if kernel_tools_prefix = "no-kernel-prefix-"
8741 # aros_kernel_* = crosstools cc paths
8742 # aros_kernel_cc = elf cc wrapper around crosstools cc
8744 # VALIDATE(${kernel_tools_prefix}*)
8745 # aros_kernel_* = ${kernel_tools_prefix}*
8746 # if ${kernel_tools_prefix}cc is an AROS gcc
8747 # aros_kernel_cc = ${kernel_tools_prefix}cc
8749 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8753 # orig_target_* = aros built crosstools
8754 # orig_target_cc = elf cc wrapper around crosstools cc
8756 # VALIDATE(${kernel_tools_prefix}*)
8758 # orig_target_* = aros_kernel_*
8759 # if aros_kernel_cc is an AROS gcc
8760 # orig_target_cc = aros_kernel_cc
8762 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8766 target_tool_prefix
="${aros_target_cpu}-aros-"
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8769 $as_echo_n "checking which kernel tools... " >&6; }
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8771 $as_echo "$kernel_tool_prefix" >&6; };
8773 if test "$kernel_tool_prefix" = "none" ; then
8774 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8775 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8778 # Kernel tools required - find them
8779 # Note that 'normally', aros_kernel_* overrides will be
8780 # empty, unless specified in the per-arch sections above.
8781 if test "x$aros_kernel_cpp" = "x"; then
8782 aros_kernel_cpp
=${kernel_tool_prefix}cpp
8785 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
8786 if test "$cross_compiling" = "yes" ; then
8787 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8788 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8790 $as_echo_n "checking for $ac_word... " >&6; }
8791 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8792 $as_echo_n "(cached) " >&6
8794 case $aros_kernel_cpp in
8796 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8803 test -z "$as_dir" && as_dir
=.
8804 for ac_exec_ext
in '' $ac_executable_extensions; do
8805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8806 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8817 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8818 if test -n "$aros_kernel_cpp"; then
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8820 $as_echo "$aros_kernel_cpp" >&6; }
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8823 $as_echo "no" >&6; }
8828 if test "$GCC" = "yes"; then
8829 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8830 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8831 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8833 $as_echo_n "checking for $ac_word... " >&6; }
8834 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8835 $as_echo_n "(cached) " >&6
8837 case $aros_kernel_cpp in
8839 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8843 for as_dir
in `dirname $aros_gcc_cpp`
8846 test -z "$as_dir" && as_dir
=.
8847 for ac_exec_ext
in '' $ac_executable_extensions; do
8848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8849 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8860 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8861 if test -n "$aros_kernel_cpp"; then
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8863 $as_echo "$aros_kernel_cpp" >&6; }
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8866 $as_echo "no" >&6; }
8871 if test "$aros_kernel_cpp" = ""; then
8872 # Extract the first word of "cpp", so it can be a program name with args.
8873 set dummy cpp
; ac_word
=$2
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8875 $as_echo_n "checking for $ac_word... " >&6; }
8876 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8877 $as_echo_n "(cached) " >&6
8879 case $aros_kernel_cpp in
8881 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8888 test -z "$as_dir" && as_dir
=.
8889 for ac_exec_ext
in '' $ac_executable_extensions; do
8890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8891 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8902 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8903 if test -n "$aros_kernel_cpp"; then
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8905 $as_echo "$aros_kernel_cpp" >&6; }
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8908 $as_echo "no" >&6; }
8915 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
8916 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8918 $as_echo_n "checking for $ac_word... " >&6; }
8919 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8920 $as_echo_n "(cached) " >&6
8922 case $aros_kernel_cpp in
8924 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8931 test -z "$as_dir" && as_dir
=.
8932 for ac_exec_ext
in '' $ac_executable_extensions; do
8933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8934 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8945 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8946 if test -n "$aros_kernel_cpp"; then
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8948 $as_echo "$aros_kernel_cpp" >&6; }
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8951 $as_echo "no" >&6; }
8957 if test "$aros_kernel_cpp" = ""; then
8958 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8960 if test "x$aros_kernel_cc" = "x"; then
8961 aros_kernel_cc
=${kernel_tool_prefix}gcc
8964 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
8965 if test "$cross_compiling" = "yes" ; then
8966 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8967 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8969 $as_echo_n "checking for $ac_word... " >&6; }
8970 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8971 $as_echo_n "(cached) " >&6
8973 case $aros_kernel_cc in
8975 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8982 test -z "$as_dir" && as_dir
=.
8983 for ac_exec_ext
in '' $ac_executable_extensions; do
8984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8985 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8996 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8997 if test -n "$aros_kernel_cc"; then
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8999 $as_echo "$aros_kernel_cc" >&6; }
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9002 $as_echo "no" >&6; }
9007 if test "$GCC" = "yes"; then
9008 aros_gcc_cc
=`$CC -print-prog-name=cc`
9009 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9010 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9012 $as_echo_n "checking for $ac_word... " >&6; }
9013 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9014 $as_echo_n "(cached) " >&6
9016 case $aros_kernel_cc in
9018 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9022 for as_dir
in `dirname $aros_gcc_cc`
9025 test -z "$as_dir" && as_dir
=.
9026 for ac_exec_ext
in '' $ac_executable_extensions; do
9027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9028 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9039 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9040 if test -n "$aros_kernel_cc"; then
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9042 $as_echo "$aros_kernel_cc" >&6; }
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9045 $as_echo "no" >&6; }
9050 if test "$aros_kernel_cc" = ""; then
9051 # Extract the first word of "cc", so it can be a program name with args.
9052 set dummy cc
; ac_word
=$2
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9054 $as_echo_n "checking for $ac_word... " >&6; }
9055 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9056 $as_echo_n "(cached) " >&6
9058 case $aros_kernel_cc in
9060 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9067 test -z "$as_dir" && as_dir
=.
9068 for ac_exec_ext
in '' $ac_executable_extensions; do
9069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9070 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9081 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9082 if test -n "$aros_kernel_cc"; then
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9084 $as_echo "$aros_kernel_cc" >&6; }
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9087 $as_echo "no" >&6; }
9094 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9095 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9097 $as_echo_n "checking for $ac_word... " >&6; }
9098 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9099 $as_echo_n "(cached) " >&6
9101 case $aros_kernel_cc in
9103 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9110 test -z "$as_dir" && as_dir
=.
9111 for ac_exec_ext
in '' $ac_executable_extensions; do
9112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9113 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9124 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9125 if test -n "$aros_kernel_cc"; then
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9127 $as_echo "$aros_kernel_cc" >&6; }
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9130 $as_echo "no" >&6; }
9136 if test "$aros_kernel_cc" = ""; then
9137 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9139 if test "x$aros_kernel_cxx" = "x"; then
9140 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9143 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9144 if test "$cross_compiling" = "yes" ; then
9145 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9146 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9148 $as_echo_n "checking for $ac_word... " >&6; }
9149 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9150 $as_echo_n "(cached) " >&6
9152 case $aros_kernel_cxx in
9154 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9161 test -z "$as_dir" && as_dir
=.
9162 for ac_exec_ext
in '' $ac_executable_extensions; do
9163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9164 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9175 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9176 if test -n "$aros_kernel_cxx"; then
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9178 $as_echo "$aros_kernel_cxx" >&6; }
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9181 $as_echo "no" >&6; }
9186 if test "$GCC" = "yes"; then
9187 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9188 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9189 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9191 $as_echo_n "checking for $ac_word... " >&6; }
9192 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9193 $as_echo_n "(cached) " >&6
9195 case $aros_kernel_cxx in
9197 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9201 for as_dir
in `dirname $aros_gcc_cxx`
9204 test -z "$as_dir" && as_dir
=.
9205 for ac_exec_ext
in '' $ac_executable_extensions; do
9206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9207 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9218 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9219 if test -n "$aros_kernel_cxx"; then
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9221 $as_echo "$aros_kernel_cxx" >&6; }
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9224 $as_echo "no" >&6; }
9229 if test "$aros_kernel_cxx" = ""; then
9230 # Extract the first word of "cxx", so it can be a program name with args.
9231 set dummy cxx
; ac_word
=$2
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9233 $as_echo_n "checking for $ac_word... " >&6; }
9234 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9235 $as_echo_n "(cached) " >&6
9237 case $aros_kernel_cxx in
9239 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9246 test -z "$as_dir" && as_dir
=.
9247 for ac_exec_ext
in '' $ac_executable_extensions; do
9248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9249 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9260 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9261 if test -n "$aros_kernel_cxx"; then
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9263 $as_echo "$aros_kernel_cxx" >&6; }
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9266 $as_echo "no" >&6; }
9273 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9274 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9276 $as_echo_n "checking for $ac_word... " >&6; }
9277 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9278 $as_echo_n "(cached) " >&6
9280 case $aros_kernel_cxx in
9282 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9289 test -z "$as_dir" && as_dir
=.
9290 for ac_exec_ext
in '' $ac_executable_extensions; do
9291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9292 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9303 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9304 if test -n "$aros_kernel_cxx"; then
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9306 $as_echo "$aros_kernel_cxx" >&6; }
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9309 $as_echo "no" >&6; }
9315 # If it's set, make sure it's really there
9316 if test "x$aros_kernel_cxx" != "x" ; then
9317 if test "$aros_kernel_cxx" = ""; then
9318 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9322 if test "$aros_kernel_ld" = ""; then
9323 if test "$cross_compiling" = "yes" ; then
9324 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9325 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9327 $as_echo_n "checking for $ac_word... " >&6; }
9328 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9329 $as_echo_n "(cached) " >&6
9331 case $aros_kernel_ld in
9333 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9340 test -z "$as_dir" && as_dir
=.
9341 for ac_exec_ext
in '' $ac_executable_extensions; do
9342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9343 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9354 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9355 if test -n "$aros_kernel_ld"; then
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9357 $as_echo "$aros_kernel_ld" >&6; }
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9360 $as_echo "no" >&6; }
9365 if test "$GCC" = "yes"; then
9366 aros_gcc_ld
=`$CC -print-prog-name=ld`
9367 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9368 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9370 $as_echo_n "checking for $ac_word... " >&6; }
9371 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9372 $as_echo_n "(cached) " >&6
9374 case $aros_kernel_ld in
9376 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9380 for as_dir
in `dirname $aros_gcc_ld`
9383 test -z "$as_dir" && as_dir
=.
9384 for ac_exec_ext
in '' $ac_executable_extensions; do
9385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9386 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9397 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9398 if test -n "$aros_kernel_ld"; then
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9400 $as_echo "$aros_kernel_ld" >&6; }
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9403 $as_echo "no" >&6; }
9408 if test "$aros_kernel_ld" = ""; then
9409 # Extract the first word of "ld", so it can be a program name with args.
9410 set dummy ld
; ac_word
=$2
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9412 $as_echo_n "checking for $ac_word... " >&6; }
9413 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9414 $as_echo_n "(cached) " >&6
9416 case $aros_kernel_ld in
9418 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9425 test -z "$as_dir" && as_dir
=.
9426 for ac_exec_ext
in '' $ac_executable_extensions; do
9427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9428 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9439 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9440 if test -n "$aros_kernel_ld"; then
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9442 $as_echo "$aros_kernel_ld" >&6; }
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9445 $as_echo "no" >&6; }
9452 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9453 set dummy
$aros_kernel_ld; ac_word
=$2
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9455 $as_echo_n "checking for $ac_word... " >&6; }
9456 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9457 $as_echo_n "(cached) " >&6
9459 case $aros_kernel_ld in
9461 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9468 test -z "$as_dir" && as_dir
=.
9469 for ac_exec_ext
in '' $ac_executable_extensions; do
9470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9471 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9482 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9483 if test -n "$aros_kernel_ld"; then
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9485 $as_echo "$aros_kernel_ld" >&6; }
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9488 $as_echo "no" >&6; }
9494 if test "$aros_kernel_ld" = ""; then
9495 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9498 if test "$aros_kernel_as" = ""; then
9499 if test "$cross_compiling" = "yes" ; then
9500 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9501 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9503 $as_echo_n "checking for $ac_word... " >&6; }
9504 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9505 $as_echo_n "(cached) " >&6
9507 case $aros_kernel_as in
9509 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9516 test -z "$as_dir" && as_dir
=.
9517 for ac_exec_ext
in '' $ac_executable_extensions; do
9518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9519 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9530 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9531 if test -n "$aros_kernel_as"; then
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9533 $as_echo "$aros_kernel_as" >&6; }
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9536 $as_echo "no" >&6; }
9541 if test "$GCC" = "yes"; then
9542 aros_gcc_as
=`$CC -print-prog-name=as`
9543 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9544 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9546 $as_echo_n "checking for $ac_word... " >&6; }
9547 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9548 $as_echo_n "(cached) " >&6
9550 case $aros_kernel_as in
9552 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9556 for as_dir
in `dirname $aros_gcc_as`
9559 test -z "$as_dir" && as_dir
=.
9560 for ac_exec_ext
in '' $ac_executable_extensions; do
9561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9562 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9573 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9574 if test -n "$aros_kernel_as"; then
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9576 $as_echo "$aros_kernel_as" >&6; }
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9579 $as_echo "no" >&6; }
9584 if test "$aros_kernel_as" = ""; then
9585 # Extract the first word of "as", so it can be a program name with args.
9586 set dummy as
; ac_word
=$2
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9588 $as_echo_n "checking for $ac_word... " >&6; }
9589 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9590 $as_echo_n "(cached) " >&6
9592 case $aros_kernel_as in
9594 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9601 test -z "$as_dir" && as_dir
=.
9602 for ac_exec_ext
in '' $ac_executable_extensions; do
9603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9604 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9615 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9616 if test -n "$aros_kernel_as"; then
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9618 $as_echo "$aros_kernel_as" >&6; }
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9621 $as_echo "no" >&6; }
9628 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9629 set dummy
$aros_kernel_as; ac_word
=$2
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9631 $as_echo_n "checking for $ac_word... " >&6; }
9632 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9633 $as_echo_n "(cached) " >&6
9635 case $aros_kernel_as in
9637 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9644 test -z "$as_dir" && as_dir
=.
9645 for ac_exec_ext
in '' $ac_executable_extensions; do
9646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9647 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9658 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9659 if test -n "$aros_kernel_as"; then
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9661 $as_echo "$aros_kernel_as" >&6; }
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9664 $as_echo "no" >&6; }
9670 if test "$aros_kernel_as" = ""; then
9671 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9674 if test "$aros_kernel_ar" = ""; then
9675 if test "$cross_compiling" = "yes" ; then
9676 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9677 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9679 $as_echo_n "checking for $ac_word... " >&6; }
9680 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9681 $as_echo_n "(cached) " >&6
9683 case $aros_kernel_ar in
9685 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9692 test -z "$as_dir" && as_dir
=.
9693 for ac_exec_ext
in '' $ac_executable_extensions; do
9694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9695 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9706 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9707 if test -n "$aros_kernel_ar"; then
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9709 $as_echo "$aros_kernel_ar" >&6; }
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9712 $as_echo "no" >&6; }
9717 if test "$GCC" = "yes"; then
9718 aros_gcc_ar
=`$CC -print-prog-name=ar`
9719 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9720 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9722 $as_echo_n "checking for $ac_word... " >&6; }
9723 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9724 $as_echo_n "(cached) " >&6
9726 case $aros_kernel_ar in
9728 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9732 for as_dir
in `dirname $aros_gcc_ar`
9735 test -z "$as_dir" && as_dir
=.
9736 for ac_exec_ext
in '' $ac_executable_extensions; do
9737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9738 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9749 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9750 if test -n "$aros_kernel_ar"; then
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9752 $as_echo "$aros_kernel_ar" >&6; }
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9755 $as_echo "no" >&6; }
9760 if test "$aros_kernel_ar" = ""; then
9761 # Extract the first word of "ar", so it can be a program name with args.
9762 set dummy
ar; ac_word
=$2
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9764 $as_echo_n "checking for $ac_word... " >&6; }
9765 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9766 $as_echo_n "(cached) " >&6
9768 case $aros_kernel_ar in
9770 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9777 test -z "$as_dir" && as_dir
=.
9778 for ac_exec_ext
in '' $ac_executable_extensions; do
9779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9780 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9791 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9792 if test -n "$aros_kernel_ar"; then
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9794 $as_echo "$aros_kernel_ar" >&6; }
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9797 $as_echo "no" >&6; }
9804 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9805 set dummy
$aros_kernel_ar; ac_word
=$2
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9807 $as_echo_n "checking for $ac_word... " >&6; }
9808 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9809 $as_echo_n "(cached) " >&6
9811 case $aros_kernel_ar in
9813 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9820 test -z "$as_dir" && as_dir
=.
9821 for ac_exec_ext
in '' $ac_executable_extensions; do
9822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9823 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9834 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9835 if test -n "$aros_kernel_ar"; then
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9837 $as_echo "$aros_kernel_ar" >&6; }
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9840 $as_echo "no" >&6; }
9846 if test "$aros_kernel_ar" = ""; then
9847 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9850 if test "$aros_kernel_ranlib" = ""; then
9851 if test "$cross_compiling" = "yes" ; then
9852 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9853 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9855 $as_echo_n "checking for $ac_word... " >&6; }
9856 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9857 $as_echo_n "(cached) " >&6
9859 case $aros_kernel_ranlib in
9861 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9868 test -z "$as_dir" && as_dir
=.
9869 for ac_exec_ext
in '' $ac_executable_extensions; do
9870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9871 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9882 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9883 if test -n "$aros_kernel_ranlib"; then
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9885 $as_echo "$aros_kernel_ranlib" >&6; }
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9888 $as_echo "no" >&6; }
9893 if test "$GCC" = "yes"; then
9894 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9895 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9896 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9898 $as_echo_n "checking for $ac_word... " >&6; }
9899 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9900 $as_echo_n "(cached) " >&6
9902 case $aros_kernel_ranlib in
9904 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9908 for as_dir
in `dirname $aros_gcc_ranlib`
9911 test -z "$as_dir" && as_dir
=.
9912 for ac_exec_ext
in '' $ac_executable_extensions; do
9913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9914 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9925 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9926 if test -n "$aros_kernel_ranlib"; then
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9928 $as_echo "$aros_kernel_ranlib" >&6; }
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9931 $as_echo "no" >&6; }
9936 if test "$aros_kernel_ranlib" = ""; then
9937 # Extract the first word of "ranlib", so it can be a program name with args.
9938 set dummy ranlib
; ac_word
=$2
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9940 $as_echo_n "checking for $ac_word... " >&6; }
9941 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9942 $as_echo_n "(cached) " >&6
9944 case $aros_kernel_ranlib in
9946 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9953 test -z "$as_dir" && as_dir
=.
9954 for ac_exec_ext
in '' $ac_executable_extensions; do
9955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9956 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9967 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9968 if test -n "$aros_kernel_ranlib"; then
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9970 $as_echo "$aros_kernel_ranlib" >&6; }
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9973 $as_echo "no" >&6; }
9980 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9981 set dummy
$aros_kernel_ranlib; ac_word
=$2
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9983 $as_echo_n "checking for $ac_word... " >&6; }
9984 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9985 $as_echo_n "(cached) " >&6
9987 case $aros_kernel_ranlib in
9989 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9996 test -z "$as_dir" && as_dir
=.
9997 for ac_exec_ext
in '' $ac_executable_extensions; do
9998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9999 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10010 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10011 if test -n "$aros_kernel_ranlib"; then
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10013 $as_echo "$aros_kernel_ranlib" >&6; }
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10016 $as_echo "no" >&6; }
10022 if test "$aros_kernel_ranlib" = ""; then
10023 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10026 if test "$aros_kernel_nm" = ""; then
10027 if test "$cross_compiling" = "yes" ; then
10028 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10029 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10031 $as_echo_n "checking for $ac_word... " >&6; }
10032 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10033 $as_echo_n "(cached) " >&6
10035 case $aros_kernel_nm in
10037 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10041 for as_dir
in $PATH
10044 test -z "$as_dir" && as_dir
=.
10045 for ac_exec_ext
in '' $ac_executable_extensions; do
10046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10047 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10058 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10059 if test -n "$aros_kernel_nm"; then
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10061 $as_echo "$aros_kernel_nm" >&6; }
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10064 $as_echo "no" >&6; }
10069 if test "$GCC" = "yes"; then
10070 aros_gcc_nm
=`$CC -print-prog-name=nm`
10071 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10072 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10074 $as_echo_n "checking for $ac_word... " >&6; }
10075 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10076 $as_echo_n "(cached) " >&6
10078 case $aros_kernel_nm in
10080 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10084 for as_dir
in `dirname $aros_gcc_nm`
10087 test -z "$as_dir" && as_dir
=.
10088 for ac_exec_ext
in '' $ac_executable_extensions; do
10089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10090 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10101 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10102 if test -n "$aros_kernel_nm"; then
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10104 $as_echo "$aros_kernel_nm" >&6; }
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10107 $as_echo "no" >&6; }
10112 if test "$aros_kernel_nm" = ""; then
10113 # Extract the first word of "nm", so it can be a program name with args.
10114 set dummy nm
; ac_word
=$2
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10116 $as_echo_n "checking for $ac_word... " >&6; }
10117 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10118 $as_echo_n "(cached) " >&6
10120 case $aros_kernel_nm in
10122 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10126 for as_dir
in $PATH
10129 test -z "$as_dir" && as_dir
=.
10130 for ac_exec_ext
in '' $ac_executable_extensions; do
10131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10132 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10143 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10144 if test -n "$aros_kernel_nm"; then
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10146 $as_echo "$aros_kernel_nm" >&6; }
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10149 $as_echo "no" >&6; }
10156 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10157 set dummy
$aros_kernel_nm; ac_word
=$2
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10159 $as_echo_n "checking for $ac_word... " >&6; }
10160 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10161 $as_echo_n "(cached) " >&6
10163 case $aros_kernel_nm in
10165 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10169 for as_dir
in $PATH
10172 test -z "$as_dir" && as_dir
=.
10173 for ac_exec_ext
in '' $ac_executable_extensions; do
10174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10175 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10186 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10187 if test -n "$aros_kernel_nm"; then
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10189 $as_echo "$aros_kernel_nm" >&6; }
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10192 $as_echo "no" >&6; }
10198 if test "$aros_kernel_nm" = ""; then
10199 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10202 if test "$aros_kernel_strip" = ""; then
10203 if test "$cross_compiling" = "yes" ; then
10204 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10205 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10207 $as_echo_n "checking for $ac_word... " >&6; }
10208 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10209 $as_echo_n "(cached) " >&6
10211 case $aros_kernel_strip in
10213 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10217 for as_dir
in $PATH
10220 test -z "$as_dir" && as_dir
=.
10221 for ac_exec_ext
in '' $ac_executable_extensions; do
10222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10223 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10234 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10235 if test -n "$aros_kernel_strip"; then
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10237 $as_echo "$aros_kernel_strip" >&6; }
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10240 $as_echo "no" >&6; }
10245 if test "$GCC" = "yes"; then
10246 aros_gcc_strip
=`$CC -print-prog-name=strip`
10247 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10248 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10250 $as_echo_n "checking for $ac_word... " >&6; }
10251 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10252 $as_echo_n "(cached) " >&6
10254 case $aros_kernel_strip in
10256 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10260 for as_dir
in `dirname $aros_gcc_strip`
10263 test -z "$as_dir" && as_dir
=.
10264 for ac_exec_ext
in '' $ac_executable_extensions; do
10265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10266 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10277 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10278 if test -n "$aros_kernel_strip"; then
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10280 $as_echo "$aros_kernel_strip" >&6; }
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10283 $as_echo "no" >&6; }
10288 if test "$aros_kernel_strip" = ""; then
10289 # Extract the first word of "strip", so it can be a program name with args.
10290 set dummy strip
; ac_word
=$2
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10292 $as_echo_n "checking for $ac_word... " >&6; }
10293 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10294 $as_echo_n "(cached) " >&6
10296 case $aros_kernel_strip in
10298 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10302 for as_dir
in $PATH
10305 test -z "$as_dir" && as_dir
=.
10306 for ac_exec_ext
in '' $ac_executable_extensions; do
10307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10308 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10319 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10320 if test -n "$aros_kernel_strip"; then
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10322 $as_echo "$aros_kernel_strip" >&6; }
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10325 $as_echo "no" >&6; }
10332 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10333 set dummy
$aros_kernel_strip; ac_word
=$2
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10335 $as_echo_n "checking for $ac_word... " >&6; }
10336 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10337 $as_echo_n "(cached) " >&6
10339 case $aros_kernel_strip in
10341 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10345 for as_dir
in $PATH
10348 test -z "$as_dir" && as_dir
=.
10349 for ac_exec_ext
in '' $ac_executable_extensions; do
10350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10351 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10362 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10363 if test -n "$aros_kernel_strip"; then
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10365 $as_echo "$aros_kernel_strip" >&6; }
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10368 $as_echo "no" >&6; }
10374 if test "$aros_kernel_strip" = ""; then
10375 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10378 # Objcopy and objdump are not required for the kernel
10379 # toolchain on many architectures.
10380 # So we'll look for them, but not make them strictly required.
10382 if test "$aros_kernel_objcopy" = ""; then
10383 if test "$cross_compiling" = "yes" ; then
10384 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10385 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10387 $as_echo_n "checking for $ac_word... " >&6; }
10388 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10389 $as_echo_n "(cached) " >&6
10391 case $aros_kernel_objcopy in
10393 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10397 for as_dir
in $PATH
10400 test -z "$as_dir" && as_dir
=.
10401 for ac_exec_ext
in '' $ac_executable_extensions; do
10402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10403 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10414 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10415 if test -n "$aros_kernel_objcopy"; then
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10417 $as_echo "$aros_kernel_objcopy" >&6; }
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10420 $as_echo "no" >&6; }
10425 if test "$GCC" = "yes"; then
10426 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10427 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10428 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10430 $as_echo_n "checking for $ac_word... " >&6; }
10431 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10432 $as_echo_n "(cached) " >&6
10434 case $aros_kernel_objcopy in
10436 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10440 for as_dir
in `dirname $aros_gcc_objcopy`
10443 test -z "$as_dir" && as_dir
=.
10444 for ac_exec_ext
in '' $ac_executable_extensions; do
10445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10446 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10457 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10458 if test -n "$aros_kernel_objcopy"; then
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10460 $as_echo "$aros_kernel_objcopy" >&6; }
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10463 $as_echo "no" >&6; }
10468 if test "$aros_kernel_objcopy" = ""; then
10469 # Extract the first word of "objcopy", so it can be a program name with args.
10470 set dummy objcopy
; ac_word
=$2
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10472 $as_echo_n "checking for $ac_word... " >&6; }
10473 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10474 $as_echo_n "(cached) " >&6
10476 case $aros_kernel_objcopy in
10478 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10482 for as_dir
in $PATH
10485 test -z "$as_dir" && as_dir
=.
10486 for ac_exec_ext
in '' $ac_executable_extensions; do
10487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10488 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10499 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10500 if test -n "$aros_kernel_objcopy"; then
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10502 $as_echo "$aros_kernel_objcopy" >&6; }
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10505 $as_echo "no" >&6; }
10512 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10513 set dummy
$aros_kernel_objcopy; ac_word
=$2
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10515 $as_echo_n "checking for $ac_word... " >&6; }
10516 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10517 $as_echo_n "(cached) " >&6
10519 case $aros_kernel_objcopy in
10521 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10525 for as_dir
in $PATH
10528 test -z "$as_dir" && as_dir
=.
10529 for ac_exec_ext
in '' $ac_executable_extensions; do
10530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10531 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10542 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10543 if test -n "$aros_kernel_objcopy"; then
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10545 $as_echo "$aros_kernel_objcopy" >&6; }
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10548 $as_echo "no" >&6; }
10555 if test "$aros_kernel_objdump" = ""; then
10556 if test "$cross_compiling" = "yes" ; then
10557 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10558 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10560 $as_echo_n "checking for $ac_word... " >&6; }
10561 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10562 $as_echo_n "(cached) " >&6
10564 case $aros_kernel_objdump in
10566 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10570 for as_dir
in $PATH
10573 test -z "$as_dir" && as_dir
=.
10574 for ac_exec_ext
in '' $ac_executable_extensions; do
10575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10576 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10587 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10588 if test -n "$aros_kernel_objdump"; then
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10590 $as_echo "$aros_kernel_objdump" >&6; }
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10593 $as_echo "no" >&6; }
10598 if test "$GCC" = "yes"; then
10599 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10600 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10601 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10603 $as_echo_n "checking for $ac_word... " >&6; }
10604 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10605 $as_echo_n "(cached) " >&6
10607 case $aros_kernel_objdump in
10609 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10613 for as_dir
in `dirname $aros_gcc_objdump`
10616 test -z "$as_dir" && as_dir
=.
10617 for ac_exec_ext
in '' $ac_executable_extensions; do
10618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10619 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10630 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10631 if test -n "$aros_kernel_objdump"; then
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10633 $as_echo "$aros_kernel_objdump" >&6; }
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10636 $as_echo "no" >&6; }
10641 if test "$aros_kernel_objdump" = ""; then
10642 # Extract the first word of "objdump", so it can be a program name with args.
10643 set dummy objdump
; ac_word
=$2
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10645 $as_echo_n "checking for $ac_word... " >&6; }
10646 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10647 $as_echo_n "(cached) " >&6
10649 case $aros_kernel_objdump in
10651 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10655 for as_dir
in $PATH
10658 test -z "$as_dir" && as_dir
=.
10659 for ac_exec_ext
in '' $ac_executable_extensions; do
10660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10661 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10672 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10673 if test -n "$aros_kernel_objdump"; then
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10675 $as_echo "$aros_kernel_objdump" >&6; }
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10678 $as_echo "no" >&6; }
10685 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10686 set dummy
$aros_kernel_objdump; ac_word
=$2
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10688 $as_echo_n "checking for $ac_word... " >&6; }
10689 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10690 $as_echo_n "(cached) " >&6
10692 case $aros_kernel_objdump in
10694 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10698 for as_dir
in $PATH
10701 test -z "$as_dir" && as_dir
=.
10702 for ac_exec_ext
in '' $ac_executable_extensions; do
10703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10704 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10715 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10716 if test -n "$aros_kernel_objdump"; then
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10718 $as_echo "$aros_kernel_objdump" >&6; }
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10721 $as_echo "no" >&6; }
10727 if test "x${crosstools}" != "xyes" ; then
10728 if test "$aros_kernel_objcopy" = ""; then
10729 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10731 if test "$aros_kernel_objdump" = ""; then
10732 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10738 $as_echo_n "checking which target tools to use... " >&6; }
10739 if test "$crosstools" = "yes"; then
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10741 $as_echo "$target_tool_prefix" >&6; }
10742 # We are are building AROS crosstools
10743 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10744 orig_target_cc
="${tmp_tool_prefix}gcc${target_tool_version}"
10745 orig_target_cxx
="${tmp_tool_prefix}g++${target_tool_version}"
10746 orig_target_cpp
="${tmp_tool_prefix}cpp"
10747 orig_target_ld
="${tmp_tool_prefix}ld"
10748 orig_target_as
="${tmp_tool_prefix}as"
10749 orig_target_ar
="${tmp_tool_prefix}ar"
10750 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10751 orig_target_nm
="${tmp_tool_prefix}nm"
10752 orig_target_strip
="${tmp_tool_prefix}strip"
10753 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10754 orig_target_objdump
="${tmp_tool_prefix}objdump"
10756 # Determine whether AROS or ELF tools should be used
10757 if test "$aros_tool_prefix" = "none"; then
10758 aros_tool_prefix
="${elf_tool_prefix}"
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10762 $as_echo "$aros_tool_prefix" >&6; }
10763 # We are *not* building AROS crosstools - use the AROS or ELF tools
10765 if test "${aros_tool_prefix}cpp${target_tool_version}" = ""; then
10766 if test "$cross_compiling" = "yes" ; then
10767 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10768 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10770 $as_echo_n "checking for $ac_word... " >&6; }
10771 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10772 $as_echo_n "(cached) " >&6
10774 case $orig_target_cpp in
10776 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10780 for as_dir
in $PATH
10783 test -z "$as_dir" && as_dir
=.
10784 for ac_exec_ext
in '' $ac_executable_extensions; do
10785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10786 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10797 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10798 if test -n "$orig_target_cpp"; then
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10800 $as_echo "$orig_target_cpp" >&6; }
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10803 $as_echo "no" >&6; }
10808 if test "$GCC" = "yes"; then
10809 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10810 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10811 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10813 $as_echo_n "checking for $ac_word... " >&6; }
10814 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10815 $as_echo_n "(cached) " >&6
10817 case $orig_target_cpp in
10819 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10823 for as_dir
in `dirname $aros_gcc_cpp`
10826 test -z "$as_dir" && as_dir
=.
10827 for ac_exec_ext
in '' $ac_executable_extensions; do
10828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10829 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10840 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10841 if test -n "$orig_target_cpp"; then
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10843 $as_echo "$orig_target_cpp" >&6; }
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10846 $as_echo "no" >&6; }
10851 if test "$orig_target_cpp" = ""; then
10852 # Extract the first word of "cpp", so it can be a program name with args.
10853 set dummy cpp
; ac_word
=$2
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10855 $as_echo_n "checking for $ac_word... " >&6; }
10856 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10857 $as_echo_n "(cached) " >&6
10859 case $orig_target_cpp in
10861 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10865 for as_dir
in $PATH
10868 test -z "$as_dir" && as_dir
=.
10869 for ac_exec_ext
in '' $ac_executable_extensions; do
10870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10871 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10882 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10883 if test -n "$orig_target_cpp"; then
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10885 $as_echo "$orig_target_cpp" >&6; }
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10888 $as_echo "no" >&6; }
10895 # Extract the first word of "${aros_tool_prefix}cpp${target_tool_version}", so it can be a program name with args.
10896 set dummy
${aros_tool_prefix}cpp
${target_tool_version}; ac_word
=$2
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10898 $as_echo_n "checking for $ac_word... " >&6; }
10899 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10900 $as_echo_n "(cached) " >&6
10902 case $orig_target_cpp in
10904 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10908 for as_dir
in $PATH
10911 test -z "$as_dir" && as_dir
=.
10912 for ac_exec_ext
in '' $ac_executable_extensions; do
10913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10914 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10925 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10926 if test -n "$orig_target_cpp"; then
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10928 $as_echo "$orig_target_cpp" >&6; }
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10931 $as_echo "no" >&6; }
10937 if test "$orig_target_cpp" = ""; then
10938 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10941 if test "${aros_tool_prefix}gcc${target_tool_version}" = ""; then
10942 if test "$cross_compiling" = "yes" ; then
10943 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10944 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10946 $as_echo_n "checking for $ac_word... " >&6; }
10947 if ${ac_cv_path_orig_target_cc+:} false
; then :
10948 $as_echo_n "(cached) " >&6
10950 case $orig_target_cc in
10952 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10956 for as_dir
in $PATH
10959 test -z "$as_dir" && as_dir
=.
10960 for ac_exec_ext
in '' $ac_executable_extensions; do
10961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10962 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10973 orig_target_cc
=$ac_cv_path_orig_target_cc
10974 if test -n "$orig_target_cc"; then
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10976 $as_echo "$orig_target_cc" >&6; }
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10979 $as_echo "no" >&6; }
10984 if test "$GCC" = "yes"; then
10985 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10986 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10987 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10989 $as_echo_n "checking for $ac_word... " >&6; }
10990 if ${ac_cv_path_orig_target_cc+:} false
; then :
10991 $as_echo_n "(cached) " >&6
10993 case $orig_target_cc in
10995 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10999 for as_dir
in `dirname $aros_gcc_gcc`
11002 test -z "$as_dir" && as_dir
=.
11003 for ac_exec_ext
in '' $ac_executable_extensions; do
11004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11005 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11016 orig_target_cc
=$ac_cv_path_orig_target_cc
11017 if test -n "$orig_target_cc"; then
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11019 $as_echo "$orig_target_cc" >&6; }
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11022 $as_echo "no" >&6; }
11027 if test "$orig_target_cc" = ""; then
11028 # Extract the first word of "gcc", so it can be a program name with args.
11029 set dummy gcc
; 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_cc+:} false
; then :
11033 $as_echo_n "(cached) " >&6
11035 case $orig_target_cc in
11037 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11041 for as_dir
in $PATH
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_cc
="$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_cc
=$ac_cv_path_orig_target_cc
11059 if test -n "$orig_target_cc"; then
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11061 $as_echo "$orig_target_cc" >&6; }
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11064 $as_echo "no" >&6; }
11071 # Extract the first word of "${aros_tool_prefix}gcc${target_tool_version}", so it can be a program name with args.
11072 set dummy
${aros_tool_prefix}gcc
${target_tool_version}; ac_word
=$2
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11074 $as_echo_n "checking for $ac_word... " >&6; }
11075 if ${ac_cv_path_orig_target_cc+:} false
; then :
11076 $as_echo_n "(cached) " >&6
11078 case $orig_target_cc in
11080 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11084 for as_dir
in $PATH
11087 test -z "$as_dir" && as_dir
=.
11088 for ac_exec_ext
in '' $ac_executable_extensions; do
11089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11090 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11101 orig_target_cc
=$ac_cv_path_orig_target_cc
11102 if test -n "$orig_target_cc"; then
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11104 $as_echo "$orig_target_cc" >&6; }
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11107 $as_echo "no" >&6; }
11113 if test "$orig_target_cc" = ""; then
11114 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11117 if test "${aros_tool_prefix}g++${target_tool_version}" = ""; then
11118 if test "$cross_compiling" = "yes" ; then
11119 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11120 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11122 $as_echo_n "checking for $ac_word... " >&6; }
11123 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11124 $as_echo_n "(cached) " >&6
11126 case $orig_target_cxx in
11128 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11132 for as_dir
in $PATH
11135 test -z "$as_dir" && as_dir
=.
11136 for ac_exec_ext
in '' $ac_executable_extensions; do
11137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11138 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11149 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11150 if test -n "$orig_target_cxx"; then
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11152 $as_echo "$orig_target_cxx" >&6; }
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11155 $as_echo "no" >&6; }
11160 if test "$GCC" = "yes"; then
11161 aros_gcc_g
++=`$CC -print-prog-name=g++`
11162 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11163 set dummy
`basename $aros_gcc_g++`; 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_cxx+:} false
; then :
11167 $as_echo_n "(cached) " >&6
11169 case $orig_target_cxx in
11171 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11175 for as_dir
in `dirname $aros_gcc_g++`
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_cxx
="$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_cxx
=$ac_cv_path_orig_target_cxx
11193 if test -n "$orig_target_cxx"; then
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11195 $as_echo "$orig_target_cxx" >&6; }
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11198 $as_echo "no" >&6; }
11203 if test "$orig_target_cxx" = ""; then
11204 # Extract the first word of "g++", so it can be a program name with args.
11205 set dummy g
++; ac_word
=$2
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11207 $as_echo_n "checking for $ac_word... " >&6; }
11208 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11209 $as_echo_n "(cached) " >&6
11211 case $orig_target_cxx in
11213 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11217 for as_dir
in $PATH
11220 test -z "$as_dir" && as_dir
=.
11221 for ac_exec_ext
in '' $ac_executable_extensions; do
11222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11223 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11234 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11235 if test -n "$orig_target_cxx"; then
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11237 $as_echo "$orig_target_cxx" >&6; }
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11240 $as_echo "no" >&6; }
11247 # Extract the first word of "${aros_tool_prefix}g++${target_tool_version}", so it can be a program name with args.
11248 set dummy
${aros_tool_prefix}g
++${target_tool_version}; 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_cxx+:} false
; then :
11252 $as_echo_n "(cached) " >&6
11254 case $orig_target_cxx in
11256 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # 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_cxx
="$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_cxx
=$ac_cv_path_orig_target_cxx
11278 if test -n "$orig_target_cxx"; then
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11280 $as_echo "$orig_target_cxx" >&6; }
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11283 $as_echo "no" >&6; }
11289 if test "$orig_target_cxx" = ""; then
11290 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11293 if test "${aros_tool_prefix}ld" = ""; then
11294 if test "$cross_compiling" = "yes" ; then
11295 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11296 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11298 $as_echo_n "checking for $ac_word... " >&6; }
11299 if ${ac_cv_path_orig_target_ld+:} false
; then :
11300 $as_echo_n "(cached) " >&6
11302 case $orig_target_ld in
11304 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11308 for as_dir
in $PATH
11311 test -z "$as_dir" && as_dir
=.
11312 for ac_exec_ext
in '' $ac_executable_extensions; do
11313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11314 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11325 orig_target_ld
=$ac_cv_path_orig_target_ld
11326 if test -n "$orig_target_ld"; then
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11328 $as_echo "$orig_target_ld" >&6; }
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11331 $as_echo "no" >&6; }
11336 if test "$GCC" = "yes"; then
11337 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11338 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11339 set dummy
`basename $aros_gcc_gcc`; 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_ld+:} false
; then :
11343 $as_echo_n "(cached) " >&6
11345 case $orig_target_ld in
11347 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11351 for as_dir
in `dirname $aros_gcc_gcc`
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_ld
="$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_ld
=$ac_cv_path_orig_target_ld
11369 if test -n "$orig_target_ld"; then
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11371 $as_echo "$orig_target_ld" >&6; }
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11374 $as_echo "no" >&6; }
11379 if test "$orig_target_ld" = ""; then
11380 # Extract the first word of "gcc", so it can be a program name with args.
11381 set dummy gcc
; ac_word
=$2
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11383 $as_echo_n "checking for $ac_word... " >&6; }
11384 if ${ac_cv_path_orig_target_ld+:} false
; then :
11385 $as_echo_n "(cached) " >&6
11387 case $orig_target_ld in
11389 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11393 for as_dir
in $PATH
11396 test -z "$as_dir" && as_dir
=.
11397 for ac_exec_ext
in '' $ac_executable_extensions; do
11398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11399 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11410 orig_target_ld
=$ac_cv_path_orig_target_ld
11411 if test -n "$orig_target_ld"; then
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11413 $as_echo "$orig_target_ld" >&6; }
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11416 $as_echo "no" >&6; }
11423 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11424 set dummy
${aros_tool_prefix}ld
; 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_ld+:} false
; then :
11428 $as_echo_n "(cached) " >&6
11430 case $orig_target_ld in
11432 ac_cv_path_orig_target_ld
="$orig_target_ld" # 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_ld
="$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_ld
=$ac_cv_path_orig_target_ld
11454 if test -n "$orig_target_ld"; then
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11456 $as_echo "$orig_target_ld" >&6; }
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11459 $as_echo "no" >&6; }
11465 if test "$orig_target_ld" = ""; then
11466 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11469 if test "${aros_tool_prefix}as" = ""; then
11470 if test "$cross_compiling" = "yes" ; then
11471 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11472 set dummy
${target_tool_prefix}as
; ac_word
=$2
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11474 $as_echo_n "checking for $ac_word... " >&6; }
11475 if ${ac_cv_path_orig_target_as+:} false
; then :
11476 $as_echo_n "(cached) " >&6
11478 case $orig_target_as in
11480 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11484 for as_dir
in $PATH
11487 test -z "$as_dir" && as_dir
=.
11488 for ac_exec_ext
in '' $ac_executable_extensions; do
11489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11490 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11501 orig_target_as
=$ac_cv_path_orig_target_as
11502 if test -n "$orig_target_as"; then
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11504 $as_echo "$orig_target_as" >&6; }
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11507 $as_echo "no" >&6; }
11512 if test "$GCC" = "yes"; then
11513 aros_gcc_as
=`$CC -print-prog-name=as`
11514 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11515 set dummy
`basename $aros_gcc_as`; 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_as+:} false
; then :
11519 $as_echo_n "(cached) " >&6
11521 case $orig_target_as in
11523 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11527 for as_dir
in `dirname $aros_gcc_as`
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_as
="$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_as
=$ac_cv_path_orig_target_as
11545 if test -n "$orig_target_as"; then
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11547 $as_echo "$orig_target_as" >&6; }
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11550 $as_echo "no" >&6; }
11555 if test "$orig_target_as" = ""; then
11556 # Extract the first word of "as", so it can be a program name with args.
11557 set dummy as
; ac_word
=$2
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11559 $as_echo_n "checking for $ac_word... " >&6; }
11560 if ${ac_cv_path_orig_target_as+:} false
; then :
11561 $as_echo_n "(cached) " >&6
11563 case $orig_target_as in
11565 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11569 for as_dir
in $PATH
11572 test -z "$as_dir" && as_dir
=.
11573 for ac_exec_ext
in '' $ac_executable_extensions; do
11574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11575 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11586 orig_target_as
=$ac_cv_path_orig_target_as
11587 if test -n "$orig_target_as"; then
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11589 $as_echo "$orig_target_as" >&6; }
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11592 $as_echo "no" >&6; }
11599 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11600 set dummy
${aros_tool_prefix}as
; 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_as+:} false
; then :
11604 $as_echo_n "(cached) " >&6
11606 case $orig_target_as in
11608 ac_cv_path_orig_target_as
="$orig_target_as" # 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_as
="$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_as
=$ac_cv_path_orig_target_as
11630 if test -n "$orig_target_as"; then
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11632 $as_echo "$orig_target_as" >&6; }
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11635 $as_echo "no" >&6; }
11641 if test "$orig_target_as" = ""; then
11642 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11645 if test "${aros_tool_prefix}ar" = ""; then
11646 if test "$cross_compiling" = "yes" ; then
11647 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11648 set dummy
${target_tool_prefix}ar; ac_word
=$2
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11650 $as_echo_n "checking for $ac_word... " >&6; }
11651 if ${ac_cv_path_orig_target_ar+:} false
; then :
11652 $as_echo_n "(cached) " >&6
11654 case $orig_target_ar in
11656 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11660 for as_dir
in $PATH
11663 test -z "$as_dir" && as_dir
=.
11664 for ac_exec_ext
in '' $ac_executable_extensions; do
11665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11666 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11677 orig_target_ar
=$ac_cv_path_orig_target_ar
11678 if test -n "$orig_target_ar"; then
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11680 $as_echo "$orig_target_ar" >&6; }
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11683 $as_echo "no" >&6; }
11688 if test "$GCC" = "yes"; then
11689 aros_gcc_ar
=`$CC -print-prog-name=ar`
11690 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11691 set dummy
`basename $aros_gcc_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_ar+:} false
; then :
11695 $as_echo_n "(cached) " >&6
11697 case $orig_target_ar in
11699 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11703 for as_dir
in `dirname $aros_gcc_ar`
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_ar
="$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_ar
=$ac_cv_path_orig_target_ar
11721 if test -n "$orig_target_ar"; then
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11723 $as_echo "$orig_target_ar" >&6; }
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11726 $as_echo "no" >&6; }
11731 if test "$orig_target_ar" = ""; then
11732 # Extract the first word of "ar", so it can be a program name with args.
11733 set dummy
ar; ac_word
=$2
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11735 $as_echo_n "checking for $ac_word... " >&6; }
11736 if ${ac_cv_path_orig_target_ar+:} false
; then :
11737 $as_echo_n "(cached) " >&6
11739 case $orig_target_ar in
11741 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11745 for as_dir
in $PATH
11748 test -z "$as_dir" && as_dir
=.
11749 for ac_exec_ext
in '' $ac_executable_extensions; do
11750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11751 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11762 orig_target_ar
=$ac_cv_path_orig_target_ar
11763 if test -n "$orig_target_ar"; then
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11765 $as_echo "$orig_target_ar" >&6; }
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11768 $as_echo "no" >&6; }
11775 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11776 set dummy
${aros_tool_prefix}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_ar+:} false
; then :
11780 $as_echo_n "(cached) " >&6
11782 case $orig_target_ar in
11784 ac_cv_path_orig_target_ar
="$orig_target_ar" # 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_ar
="$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_ar
=$ac_cv_path_orig_target_ar
11806 if test -n "$orig_target_ar"; then
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11808 $as_echo "$orig_target_ar" >&6; }
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11811 $as_echo "no" >&6; }
11817 if test "$orig_target_ar" = ""; then
11818 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11821 if test "${aros_tool_prefix}ranlib" = ""; then
11822 if test "$cross_compiling" = "yes" ; then
11823 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11824 set dummy
${target_tool_prefix}ar; ac_word
=$2
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11826 $as_echo_n "checking for $ac_word... " >&6; }
11827 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11828 $as_echo_n "(cached) " >&6
11830 case $orig_target_ranlib in
11832 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11836 for as_dir
in $PATH
11839 test -z "$as_dir" && as_dir
=.
11840 for ac_exec_ext
in '' $ac_executable_extensions; do
11841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11842 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11853 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11854 if test -n "$orig_target_ranlib"; then
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11856 $as_echo "$orig_target_ranlib" >&6; }
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11859 $as_echo "no" >&6; }
11864 if test "$GCC" = "yes"; then
11865 aros_gcc_ar
=`$CC -print-prog-name=ar`
11866 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11867 set dummy
`basename $aros_gcc_ar`; 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_ranlib+:} false
; then :
11871 $as_echo_n "(cached) " >&6
11873 case $orig_target_ranlib in
11875 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11879 for as_dir
in `dirname $aros_gcc_ar`
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_ranlib
="$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_ranlib
=$ac_cv_path_orig_target_ranlib
11897 if test -n "$orig_target_ranlib"; then
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11899 $as_echo "$orig_target_ranlib" >&6; }
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11902 $as_echo "no" >&6; }
11907 if test "$orig_target_ranlib" = ""; then
11908 # Extract the first word of "ar", so it can be a program name with args.
11909 set dummy
ar; ac_word
=$2
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11911 $as_echo_n "checking for $ac_word... " >&6; }
11912 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11913 $as_echo_n "(cached) " >&6
11915 case $orig_target_ranlib in
11917 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11921 for as_dir
in $PATH
11924 test -z "$as_dir" && as_dir
=.
11925 for ac_exec_ext
in '' $ac_executable_extensions; do
11926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11927 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11938 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11939 if test -n "$orig_target_ranlib"; then
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11941 $as_echo "$orig_target_ranlib" >&6; }
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11944 $as_echo "no" >&6; }
11951 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11952 set dummy
${aros_tool_prefix}ranlib
; 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_ranlib+:} false
; then :
11956 $as_echo_n "(cached) " >&6
11958 case $orig_target_ranlib in
11960 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # 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_ranlib
="$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_ranlib
=$ac_cv_path_orig_target_ranlib
11982 if test -n "$orig_target_ranlib"; then
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11984 $as_echo "$orig_target_ranlib" >&6; }
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11987 $as_echo "no" >&6; }
11993 if test "$orig_target_ranlib" = ""; then
11994 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11997 if test "${aros_tool_prefix}nm" = ""; then
11998 if test "$cross_compiling" = "yes" ; then
11999 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12000 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12002 $as_echo_n "checking for $ac_word... " >&6; }
12003 if ${ac_cv_path_orig_target_nm+:} false
; then :
12004 $as_echo_n "(cached) " >&6
12006 case $orig_target_nm in
12008 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12012 for as_dir
in $PATH
12015 test -z "$as_dir" && as_dir
=.
12016 for ac_exec_ext
in '' $ac_executable_extensions; do
12017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12018 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12029 orig_target_nm
=$ac_cv_path_orig_target_nm
12030 if test -n "$orig_target_nm"; then
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12032 $as_echo "$orig_target_nm" >&6; }
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12035 $as_echo "no" >&6; }
12040 if test "$GCC" = "yes"; then
12041 aros_gcc_nm
=`$CC -print-prog-name=nm`
12042 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12043 set dummy
`basename $aros_gcc_nm`; 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_nm+:} false
; then :
12047 $as_echo_n "(cached) " >&6
12049 case $orig_target_nm in
12051 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12055 for as_dir
in `dirname $aros_gcc_nm`
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_nm
="$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_nm
=$ac_cv_path_orig_target_nm
12073 if test -n "$orig_target_nm"; then
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12075 $as_echo "$orig_target_nm" >&6; }
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12078 $as_echo "no" >&6; }
12083 if test "$orig_target_nm" = ""; then
12084 # Extract the first word of "nm", so it can be a program name with args.
12085 set dummy nm
; ac_word
=$2
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12087 $as_echo_n "checking for $ac_word... " >&6; }
12088 if ${ac_cv_path_orig_target_nm+:} false
; then :
12089 $as_echo_n "(cached) " >&6
12091 case $orig_target_nm in
12093 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12097 for as_dir
in $PATH
12100 test -z "$as_dir" && as_dir
=.
12101 for ac_exec_ext
in '' $ac_executable_extensions; do
12102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12103 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12114 orig_target_nm
=$ac_cv_path_orig_target_nm
12115 if test -n "$orig_target_nm"; then
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12117 $as_echo "$orig_target_nm" >&6; }
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12120 $as_echo "no" >&6; }
12127 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12128 set dummy
${aros_tool_prefix}nm
; 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_nm+:} false
; then :
12132 $as_echo_n "(cached) " >&6
12134 case $orig_target_nm in
12136 ac_cv_path_orig_target_nm
="$orig_target_nm" # 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_nm
="$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_nm
=$ac_cv_path_orig_target_nm
12158 if test -n "$orig_target_nm"; then
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12160 $as_echo "$orig_target_nm" >&6; }
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12163 $as_echo "no" >&6; }
12169 if test "$orig_target_nm" = ""; then
12170 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12173 if test "${aros_tool_prefix}strip" = ""; then
12174 if test "$cross_compiling" = "yes" ; then
12175 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12176 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12178 $as_echo_n "checking for $ac_word... " >&6; }
12179 if ${ac_cv_path_orig_target_strip+:} false
; then :
12180 $as_echo_n "(cached) " >&6
12182 case $orig_target_strip in
12184 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12188 for as_dir
in $PATH
12191 test -z "$as_dir" && as_dir
=.
12192 for ac_exec_ext
in '' $ac_executable_extensions; do
12193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12194 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12205 orig_target_strip
=$ac_cv_path_orig_target_strip
12206 if test -n "$orig_target_strip"; then
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12208 $as_echo "$orig_target_strip" >&6; }
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12211 $as_echo "no" >&6; }
12216 if test "$GCC" = "yes"; then
12217 aros_gcc_strip
=`$CC -print-prog-name=strip`
12218 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12219 set dummy
`basename $aros_gcc_strip`; 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_strip+:} false
; then :
12223 $as_echo_n "(cached) " >&6
12225 case $orig_target_strip in
12227 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12231 for as_dir
in `dirname $aros_gcc_strip`
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_strip
="$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_strip
=$ac_cv_path_orig_target_strip
12249 if test -n "$orig_target_strip"; then
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12251 $as_echo "$orig_target_strip" >&6; }
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12254 $as_echo "no" >&6; }
12259 if test "$orig_target_strip" = ""; then
12260 # Extract the first word of "strip", so it can be a program name with args.
12261 set dummy strip
; ac_word
=$2
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12263 $as_echo_n "checking for $ac_word... " >&6; }
12264 if ${ac_cv_path_orig_target_strip+:} false
; then :
12265 $as_echo_n "(cached) " >&6
12267 case $orig_target_strip in
12269 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12273 for as_dir
in $PATH
12276 test -z "$as_dir" && as_dir
=.
12277 for ac_exec_ext
in '' $ac_executable_extensions; do
12278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12279 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12290 orig_target_strip
=$ac_cv_path_orig_target_strip
12291 if test -n "$orig_target_strip"; then
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12293 $as_echo "$orig_target_strip" >&6; }
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12296 $as_echo "no" >&6; }
12303 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12304 set dummy
${aros_tool_prefix}strip
; 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_strip+:} false
; then :
12308 $as_echo_n "(cached) " >&6
12310 case $orig_target_strip in
12312 ac_cv_path_orig_target_strip
="$orig_target_strip" # 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_strip
="$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_strip
=$ac_cv_path_orig_target_strip
12334 if test -n "$orig_target_strip"; then
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12336 $as_echo "$orig_target_strip" >&6; }
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12339 $as_echo "no" >&6; }
12345 if test "$orig_target_strip" = ""; then
12346 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12349 if test "${aros_tool_prefix}objcopy" = ""; then
12350 if test "$cross_compiling" = "yes" ; then
12351 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12352 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12354 $as_echo_n "checking for $ac_word... " >&6; }
12355 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12356 $as_echo_n "(cached) " >&6
12358 case $orig_target_objcopy in
12360 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12364 for as_dir
in $PATH
12367 test -z "$as_dir" && as_dir
=.
12368 for ac_exec_ext
in '' $ac_executable_extensions; do
12369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12370 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12381 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12382 if test -n "$orig_target_objcopy"; then
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12384 $as_echo "$orig_target_objcopy" >&6; }
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12387 $as_echo "no" >&6; }
12392 if test "$GCC" = "yes"; then
12393 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12394 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12395 set dummy
`basename $aros_gcc_objcopy`; 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_objcopy+:} false
; then :
12399 $as_echo_n "(cached) " >&6
12401 case $orig_target_objcopy in
12403 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12407 for as_dir
in `dirname $aros_gcc_objcopy`
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_objcopy
="$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_objcopy
=$ac_cv_path_orig_target_objcopy
12425 if test -n "$orig_target_objcopy"; then
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12427 $as_echo "$orig_target_objcopy" >&6; }
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12430 $as_echo "no" >&6; }
12435 if test "$orig_target_objcopy" = ""; then
12436 # Extract the first word of "objcopy", so it can be a program name with args.
12437 set dummy objcopy
; ac_word
=$2
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12439 $as_echo_n "checking for $ac_word... " >&6; }
12440 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12441 $as_echo_n "(cached) " >&6
12443 case $orig_target_objcopy in
12445 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12449 for as_dir
in $PATH
12452 test -z "$as_dir" && as_dir
=.
12453 for ac_exec_ext
in '' $ac_executable_extensions; do
12454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12455 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12466 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12467 if test -n "$orig_target_objcopy"; then
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12469 $as_echo "$orig_target_objcopy" >&6; }
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12472 $as_echo "no" >&6; }
12479 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12480 set dummy
${aros_tool_prefix}objcopy
; 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_objcopy+:} false
; then :
12484 $as_echo_n "(cached) " >&6
12486 case $orig_target_objcopy in
12488 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # 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_objcopy
="$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_objcopy
=$ac_cv_path_orig_target_objcopy
12510 if test -n "$orig_target_objcopy"; then
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12512 $as_echo "$orig_target_objcopy" >&6; }
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12515 $as_echo "no" >&6; }
12521 if test "$orig_target_objcopy" = ""; then
12522 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12525 if test "${aros_tool_prefix}objdump" = ""; then
12526 if test "$cross_compiling" = "yes" ; then
12527 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12528 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12530 $as_echo_n "checking for $ac_word... " >&6; }
12531 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12532 $as_echo_n "(cached) " >&6
12534 case $orig_target_objdump in
12536 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12540 for as_dir
in $PATH
12543 test -z "$as_dir" && as_dir
=.
12544 for ac_exec_ext
in '' $ac_executable_extensions; do
12545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12546 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12557 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12558 if test -n "$orig_target_objdump"; then
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12560 $as_echo "$orig_target_objdump" >&6; }
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12563 $as_echo "no" >&6; }
12568 if test "$GCC" = "yes"; then
12569 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12570 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12571 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12573 $as_echo_n "checking for $ac_word... " >&6; }
12574 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12575 $as_echo_n "(cached) " >&6
12577 case $orig_target_objdump in
12579 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12583 for as_dir
in `dirname $aros_gcc_objdump`
12586 test -z "$as_dir" && as_dir
=.
12587 for ac_exec_ext
in '' $ac_executable_extensions; do
12588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12589 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12600 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12601 if test -n "$orig_target_objdump"; then
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12603 $as_echo "$orig_target_objdump" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12606 $as_echo "no" >&6; }
12611 if test "$orig_target_objdump" = ""; then
12612 # Extract the first word of "objdump", so it can be a program name with args.
12613 set dummy objdump
; ac_word
=$2
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12615 $as_echo_n "checking for $ac_word... " >&6; }
12616 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12617 $as_echo_n "(cached) " >&6
12619 case $orig_target_objdump in
12621 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12625 for as_dir
in $PATH
12628 test -z "$as_dir" && as_dir
=.
12629 for ac_exec_ext
in '' $ac_executable_extensions; do
12630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12631 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12642 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12643 if test -n "$orig_target_objdump"; then
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12645 $as_echo "$orig_target_objdump" >&6; }
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12648 $as_echo "no" >&6; }
12655 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12656 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12658 $as_echo_n "checking for $ac_word... " >&6; }
12659 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12660 $as_echo_n "(cached) " >&6
12662 case $orig_target_objdump in
12664 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12668 for as_dir
in $PATH
12671 test -z "$as_dir" && as_dir
=.
12672 for ac_exec_ext
in '' $ac_executable_extensions; do
12673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12674 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12685 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12686 if test -n "$orig_target_objdump"; then
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12688 $as_echo "$orig_target_objdump" >&6; }
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12691 $as_echo "no" >&6; }
12697 if test "$orig_target_objdump" = ""; then
12698 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12702 if test "$kernel_tool_prefix" = "none" ; then
12703 # No kernel tools specified
12704 # Assume target tools == kernel tools with ELF wrapper
12705 aros_kernel_cc
=$orig_target_cc
12706 aros_kernel_cxx
=$orig_target_cxx
12707 aros_kernel_cpp
=$orig_target_cpp
12708 aros_kernel_ld
=$orig_target_ld
12709 aros_kernel_as
=$orig_target_as
12710 aros_kernel_ar
=$orig_target_ar
12711 aros_kernel_ranlib
=$orig_target_ranlib
12712 aros_kernel_nm
=$orig_target_nm
12713 aros_kernel_strip
=$orig_target_strip
12714 aros_kernel_objcopy
=$orig_target_objcopy
12715 aros_kernel_objdump
=$orig_target_objdump
12716 use_kernel_cc_wrapper
=yes
12719 # At this point, all aros_kernel_* and aros_target_*
12720 # tools should be set up correctly
12722 CC
="$aros_kernel_cc $kernel_tool_flags"
12723 CPP
="$aros_kernel_cpp"
12725 #-----------------------------------------------------------------------------
12727 # Disable pointer-signedness warnings if the compiler recognises the option
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12730 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12731 save_cflags
="$CFLAGS"
12732 if test "$crosstools" != "yes" ; then
12733 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12745 if ac_fn_c_try_compile
"$LINENO"; then :
12746 use_no_sign_warning
="yes"
12748 use_no_sign_warning
="no"
12750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12752 # we do know it is supported for the smallest version of gcc we are going to build
12753 # we assume it's also supported by later versions
12754 use_no_sign_warning
=yes
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12757 $as_echo "$use_no_sign_warning" >&6; }
12758 if test "x-$use_no_sign_warning" = "x-yes" ; then
12759 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12761 CFLAGS
="$save_cflags"
12763 #-----------------------------------------------------------------------------
12765 # Find all the tools we need to compile. This could be cross-compiling
12766 # though! If that is the case we use the GNU form of the target and
12767 # simply add this to the front of the binary name. This is rather simple,
12768 # but it should work under most circumstances.
12770 # The default tools are to use the same as the host, but only if the
12771 # host and target CPU are the same. With GCC this is normally enough.
12775 aros_shared_ld
="$aros_host_ld"
12777 aros_target_mkdep
="$aros_host_mkdep"
12779 # The default tools executables to be linked to.
12780 if test "$rescomp" != ""; then
12781 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12782 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12784 $as_echo_n "checking for $ac_word... " >&6; }
12785 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12786 $as_echo_n "(cached) " >&6
12788 case $aros_kernel_rescomp in
12790 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12794 for as_dir
in $PATH
12797 test -z "$as_dir" && as_dir
=.
12798 for ac_exec_ext
in '' $ac_executable_extensions; do
12799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12800 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12811 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12812 if test -n "$aros_kernel_rescomp"; then
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12814 $as_echo "$aros_kernel_rescomp" >&6; }
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12817 $as_echo "no" >&6; }
12821 if test "$aros_kernel_rescomp" = ""; then
12822 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12826 # Set up the sources for the symlink farm
12827 if test "$crosstools" = "yes"; then
12828 crosstools_target
=tools-crosstools
12831 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12832 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12835 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12836 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12837 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12838 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12839 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12840 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12841 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12843 # aros_cc_pre is a variable that is added to the front of the compiler name
12844 # in the generated aros-gcc shell script. We need this to enable the cache
12845 # to work across cleaned builds. Also, support DISTCC using the correct
12846 # environment variable.
12849 if test "x${DISTCC}" != "x" ; then
12850 if test "x${CCACHE}" != "x" ; then
12851 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12853 aros_cc_pre
="${DISTCC} "
12856 if test "x${CCACHE}" != "x" ; then
12857 aros_cc_pre
="${CCACHE} "
12861 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12863 aros_target_nostdinc_cflags
=-nostdinc
12865 aros_target_nostartup_ldflags
=-nostartfiles
12867 aros_target_nix_ldflags
=-nix
12869 aros_target_detach_ldflags
=-detach
12871 aros_target_nostdlib_ldflags
=-nostdlib
12875 if test "$crosstools" != "yes"; then
12876 if test "$GCC" = "yes"; then
12877 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12880 # We do not know which gcc version we are going to build and what we need to know
12881 # here is different for different versions so this will be set later during the
12882 # build of crosstools.
12883 aros_target_cc_path
=@aros_target_cc_path@
12885 aros_target_cpp
="${prefix}cpp"
12886 aros_target_cc
="${prefix}gcc"
12887 aros_target_cxx
="${prefix}g++"
12888 aros_target_as
="${prefix}as"
12889 aros_target_ld
="${prefix}ld"
12890 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12891 aros_target_objcopy
="${prefix}objcopy"
12892 aros_target_objdump
="${prefix}objdump"
12893 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12894 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12895 aros_target_strip
="${prefix}strip"
12896 aros_plain_nm
="${prefix}nm"
12897 aros_plain_ar
="${prefix}ar"
12899 # Check whether --enable-includes was given.
12900 if test "${enable_includes+set}" = set; then :
12901 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12903 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
12907 if test "$aros_kernel_includes" = ""; then
12908 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12909 aros_kernel_includes
="-isystem $aros_target_incl"
12913 if test "$aros_kernel_includes" != "" ; then
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12915 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12916 if test "$aros_kernel_cc_includes" = "" ; then
12917 # Try to guess where the directory is.
12918 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12919 if test -d $aros_kernel_cc_includes; then
12920 # Check if there is also an include-fixed directory and add it
12921 # to kernel compiler's include path as it may contain some of
12922 # the headers we need.
12923 if test -d "$aros_kernel_cc_includes"-fixed; then
12924 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12926 # Check for specific includes directory. Neede for Ubuntu 11.10
12927 if test -d "/usr/include/i386-linux-gnu"; then
12928 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12931 # The directory doesn't exist, we need to do some more work.
12932 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12934 # These are the headers we're looking for.
12935 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12936 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12940 for h
in $headers; do
12941 # Which other headers are needed by each of the above?
12942 deps
=$
(echo "#include <$h>" | \
12943 $aros_kernel_cc -E -M - 2>/dev
/null | \
12944 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12946 # Copy all the needed headers to a directory beneath gendir.
12949 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12950 sed -n "s,^.*/include\(/.*\),\1,p")
12951 ! test -d $dir && mkdir
-p $dir
12952 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12958 $as_echo "$aros_kernel_cc_includes" >&6; }
12959 # Adding -nostdinc to kernel includes as they are always used together.
12960 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12963 if test "$crosstools" != "yes"; then
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12965 $as_echo_n "checking for the target compiler's include path... " >&6; }
12966 if test "$aros_target_cc_includes" = "" ; then
12967 #try to guess where the directory is
12968 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12969 if ! test -d $aros_target_cc_includes; then
12970 #the directory doesn't exist, we need to do some more work
12971 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12973 #these are the headers we're looking for
12974 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12975 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12979 for h
in $headers; do
12980 #which other headers each of the above headers needs?
12981 deps
=$
(echo "#include <$h>" | \
12982 $orig_target_cc -E -M - 2>/dev
/null | \
12983 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12985 #copy all the needed headers to a directory beneath gendir
12988 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
12989 sed -n "s,^.*/include\(/.*\),\1,p")
12990 ! test -d $dir && mkdir
-p $dir
12991 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
12997 $as_echo "$aros_target_cc_includes" >&6; }
12999 # We do not know which gcc version we are going to build and what we need to know
13000 # here is different for different versions so this will be set later during the
13001 # build of crosstools.
13002 aros_target_cc_includes
=@aros_target_cc_includes@
13006 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13007 # On GCC >= 4.0 -iquote should be used
13011 save_cflags
="$CFLAGS"
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13014 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13015 if test "x-$crosstools" != "x-yes"; then
13016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h. */
13027 if ac_fn_c_try_compile
"$LINENO"; then :
13032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13034 # we do know it is supported for the smallest version of gcc we are going to build
13035 # we assume it's also supported by later versions
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13039 $as_echo "$has_iquote" >&6; }
13040 if test "x-$has_iquote" = "x-yes" ; then
13041 host_cflags_iquote
=-iquote
13042 host_cflags_iquote_end
=
13044 host_cflags_iquote
=-I
13045 host_cflags_iquote_end
=-I-
13047 kernel_cflags_iquote
=$host_cflags_iquote
13048 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13049 if test "x-$cross_compiling" = "x-yes"; then
13050 CC
="$aros_kernel_cc"
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13052 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13053 if test "x-$crosstools" != "x-yes"; then
13054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13055 /* end confdefs.h. */
13065 if ac_fn_c_try_compile
"$LINENO"; then :
13066 use_no_stack_protector
="yes"
13068 use_no_stack_protector
="no"
13070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13072 # we do know it is supported for the smallest version of gcc we are going to build
13073 # we assume it's also supported by later versions
13074 use_no_stack_protector
=yes
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13077 $as_echo "$use_no_stack_protector" >&6; }
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13079 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13080 if test "x-$crosstools" != "x-yes"; then
13081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13092 if ac_fn_c_try_compile
"$LINENO"; then :
13097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13099 # we do know it is supported for the smallest version of gcc we are going to build
13100 # we assume it's also supported by later versions
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13104 $as_echo "$has_iquote" >&6; }
13105 if test "x-$has_iquote" = "x-yes" ; then
13106 kernel_cflags_iquote
=-iquote
13107 kernel_cflags_iquote_end
=
13109 kernel_cflags_iquote
=-I
13110 kernel_cflags_iquote_end
=-I-
13113 aros_cflags_iquote
=$kernel_cflags_iquote
13114 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13115 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13116 CC
="$orig_target_cc"
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13118 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13119 if test "x-$crosstools" != "x-yes"; then
13120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13121 /* end confdefs.h. */
13131 if ac_fn_c_try_compile
"$LINENO"; then :
13136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13138 # we do know it is supported for the smallest version of gcc we are going to build
13139 # we assume it's also supported by later versions
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13143 $as_echo "$has_iquote" >&6; }
13144 if test "x-$has_iquote" = "x-yes" ; then
13145 aros_cflags_iquote
=-iquote
13146 aros_cflags_iquote_end
=
13148 aros_cflags_iquote
=-I
13149 aros_cflags_iquote_end
=-I-
13152 if test "x-$use_no_stack_protector" = "x-yes" ; then
13153 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13157 #-----------------------------------------------------------------------------
13159 # Check if the target compiler supports some options used for delinting:
13160 # -Wunused-but-set-variable
13163 # -Wstrict-overflow
13164 # -Wformat-security
13166 if test "x-$crosstools" != "x-yes"; then
13167 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13168 CC
="$orig_target_cc"
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13171 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13172 CFLAGS
=-Wunused-but-set-variable
13173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13174 /* end confdefs.h. */
13184 if ac_fn_c_try_compile
"$LINENO"; then :
13185 aros_unused_but_set_variable
="yes"
13187 aros_unused_but_set_variable
="no"
13189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13191 $as_echo "$aros_unused_but_set_variable" >&6; }
13192 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13193 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13197 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13198 CFLAGS
=-Warray-bounds
13199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13200 /* end confdefs.h. */
13210 if ac_fn_c_try_compile
"$LINENO"; then :
13211 aros_array_bounds
="yes"
13213 aros_array_bounds
="no"
13215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13217 $as_echo "$aros_array_bounds" >&6; }
13218 if test "x-$aros_array_bounds" = "x-yes" ; then
13219 aros_cflags_array_bounds
=-Wno-array-bounds
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13223 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13224 CFLAGS
=-Wenum-compare
13225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13226 /* end confdefs.h. */
13236 if ac_fn_c_try_compile
"$LINENO"; then :
13237 aros_enum_compare
="yes"
13239 aros_enum_compare
="no"
13241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13243 $as_echo "$aros_enum_compare" >&6; }
13244 if test "x-$aros_enum_compare" = "x-yes" ; then
13245 aros_cflags_enum_compare
=-Wno-enum-compare
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13249 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13250 CFLAGS
=-Wstrict-overflow
13251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13262 if ac_fn_c_try_compile
"$LINENO"; then :
13263 aros_strict_overflow
="yes"
13265 aros_strict_overflow
="no"
13267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13269 $as_echo "$aros_strict_overflow" >&6; }
13270 if test "x-$aros_strict_overflow" = "x-yes" ; then
13271 aros_cflags_strict_overflow
=-Wno-strict-overflow
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13275 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13276 CFLAGS
=-Wformat-security
13277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13278 /* end confdefs.h. */
13288 if ac_fn_c_try_compile
"$LINENO"; then :
13289 aros_format_security
="yes"
13291 aros_format_security
="no"
13293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13295 $as_echo "$aros_format_security" >&6; }
13296 if test "x-$aros_format_security" = "x-yes" ; then
13297 aros_cflags_format_security
=-Wno-format-security
13300 # We do not know which gcc version we are going to build and what we need to know
13301 # here is different for different versions so this will be set later during the
13302 # build of crosstools.
13303 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13304 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13305 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13306 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13307 aros_cflags_format_security
=@aros_cflags_format_security@
13310 #-----------------------------------------------------------------------------
13312 # Check if we can explicitly choose older version of symbol hashing
13314 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13315 CC
="$aros_kernel_cc"
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13317 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13319 /* end confdefs.h. */
13329 if ac_fn_c_try_link
"$LINENO"; then :
13330 use_hash_style
="yes"
13332 use_hash_style
="no"
13334 rm -f core conftest.err conftest.
$ac_objext \
13335 conftest
$ac_exeext conftest.
$ac_ext
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13337 $as_echo "$use_hash_style" >&6; }
13338 if test "x-$use_hash_style" = "x-yes" ; then
13339 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13342 CFLAGS
="$save_cflags"
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13353 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13355 # Check whether --with-resolution was given.
13356 if test "${with_resolution+set}" = set; then :
13357 withval
=$with_resolution; resolution
=$withval
13362 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13363 if test "$resolution" = "yes" ; then
13366 if test "$resolution" = "no" ; then
13369 if test "$resolution" != "none" ; then
13370 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13371 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13372 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13375 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13376 aros_cv_default_wbwidth
=$aros_default_wbwidth
13377 aros_cv_default_wbheight
=$aros_default_wbheight
13378 aros_cv_default_wbdepth
=$aros_default_wbdepth
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13381 $as_echo_n "checking if serial debug is enabled... " >&6; }
13383 # Check whether --with-serial-debug was given.
13384 if test "${with_serial_debug+set}" = set; then :
13385 withval
=$with_serial_debug; serial_debug
=$withval
13390 if test "$aros_serial_debug" = 0 ; then
13391 serial_debug_forced
=""
13392 if test "$serial_debug" = "yes" ; then
13395 if test "$serial_debug" = "no" ; then
13396 serial_debug
="none"
13399 serial_debug_forced
="(forced)"
13400 serial_debug
=$aros_serial_debug
13402 if test "$serial_debug" != "none" ; then
13403 aros_serial_debug
=$serial_debug
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13405 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13408 $as_echo "no" >&6; }
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13412 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13413 # Check whether --enable-palm_debug_hack was given.
13414 if test "${enable_palm_debug_hack+set}" = set; then :
13415 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13417 palm_debug_hack
="no"
13420 if test "$palm_debug_hack" = "yes" ; then
13421 aros_palm_debug_hack
="1"
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13424 $as_echo "$palm_debug_hack" >&6; }
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
13427 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
13428 # Check whether --enable-usb30_code was given.
13429 if test "${enable_usb30_code+set}" = set; then :
13430 enableval
=$enable_usb30_code; usb30_code
="yes"
13435 if test "$usb30_code" = "yes" ; then
13436 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
13437 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
13440 $as_echo "$usb30_code" >&6; }
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13443 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13444 # Check whether --enable-nesting_supervisor was given.
13445 if test "${enable_nesting_supervisor+set}" = set; then :
13446 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13448 nesting_supervisor
="no"
13451 if test "$nesting_supervisor" = "yes" ; then
13452 aros_nesting_supervisor
="1"
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13455 $as_echo "$nesting_supervisor" >&6; }
13457 if test "$aros_enable_mmu" = "" ; then
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13459 $as_echo_n "checking if MMU support is enabled... " >&6; }
13460 # Check whether --enable-mmu was given.
13461 if test "${enable_mmu+set}" = set; then :
13462 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13464 aros_enable_mmu
="yes"
13467 if test "$aros_enable_mmu" = "" ; then
13468 aros_enable_mmu
="yes"
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13471 $as_echo "$aros_enable_mmu" >&6; }
13473 if test "$aros_enable_mmu" = "no" ; then
13474 aros_enable_mmu
="0"
13476 aros_enable_mmu
="1"
13480 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13482 if test "x-$need_dlopen" != "x-no" ; then
13485 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13486 if test "x$ac_cv_func_dlopen" = xyes
; then :
13492 if test "x-$have_dl" = "x-no" ; then
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13494 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13495 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13496 $as_echo_n "(cached) " >&6
13498 ac_check_lib_save_LIBS
=$LIBS
13500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13501 /* end confdefs.h. */
13503 /* Override any GCC internal prototype to avoid an error.
13504 Use char because int might match the return type of a GCC
13505 builtin and then its argument prototype would still apply. */
13518 if ac_fn_c_try_link
"$LINENO"; then :
13519 ac_cv_lib_dl_dlopen
=yes
13521 ac_cv_lib_dl_dlopen
=no
13523 rm -f core conftest.err conftest.
$ac_objext \
13524 conftest
$ac_exeext conftest.
$ac_ext
13525 LIBS
=$ac_check_lib_save_LIBS
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13528 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13529 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13531 aros_host_ldflags
="$aros_host_ldflags -ldl"
13537 if test "x-$have_dl" = "x-no" ; then
13538 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13544 # Check whether --enable-x11_hidd was given.
13545 if test "${enable_x11_hidd+set}" = set; then :
13546 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13548 x11_hidd
="$need_x11"
13551 case "x-$x11_hidd" in
13552 x-yes|x-no|x-auto
) ;;
13553 *) x11_hidd
="$need_x11" ;;
13558 if test "x-$x11_hidd" != "x-no" ; then
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13561 $as_echo_n "checking for X... " >&6; }
13564 # Check whether --with-x was given.
13565 if test "${with_x+set}" = set; then :
13569 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13570 if test "x$with_x" = xno
; then
13571 # The user explicitly disabled X.
13574 case $x_includes,$x_libraries in #(
13575 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13576 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13577 $as_echo_n "(cached) " >&6
13579 # One or both of the vars are not set, and there is no cached value.
13580 ac_x_includes
=no ac_x_libraries
=no
13581 rm -f -r conftest.dir
13582 if mkdir conftest.dir
; then
13584 cat >Imakefile
<<'_ACEOF'
13586 @echo incroot='${INCROOT}'
13588 @echo usrlibdir='${USRLIBDIR}'
13590 @echo libdir='${LIBDIR}'
13592 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13593 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13594 for ac_var
in incroot usrlibdir libdir
; do
13595 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13597 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13598 for ac_extension
in a so sl dylib la dll
; do
13599 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13600 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13601 ac_im_usrlibdir
=$ac_im_libdir; break
13604 # Screen out bogus values from the imake configuration. They are
13605 # bogus both because they are the default anyway, and because
13606 # using them would break gcc on systems where it needs fixed includes.
13607 case $ac_im_incroot in
13608 /usr
/include
) ac_x_includes
= ;;
13609 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13611 case $ac_im_usrlibdir in
13612 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13613 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13617 rm -f -r conftest.dir
13620 # Standard set of common directories for X headers.
13621 # Check X11 before X11Rn because it is often a symlink to the current release.
13635 /usr/local/X11/include
13636 /usr/local/X11R7/include
13637 /usr/local/X11R6/include
13638 /usr/local/X11R5/include
13639 /usr/local/X11R4/include
13641 /usr/local/include/X11
13642 /usr/local/include/X11R7
13643 /usr/local/include/X11R6
13644 /usr/local/include/X11R5
13645 /usr/local/include/X11R4
13649 /usr/XFree86/include/X11
13653 /usr/unsupported/include
13654 /usr/athena/include
13655 /usr/local/x11r5/include
13656 /usr/lpp/Xamples/include
13658 /usr/openwin/include
13659 /usr/openwin/share/include'
13661 if test "$ac_x_includes" = no
; then
13662 # Guess where to find include files, by looking for Xlib.h.
13663 # First, try using that file with no special directory specified.
13664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13665 /* end confdefs.h. */
13666 #include <X11/Xlib.h>
13668 if ac_fn_c_try_cpp
"$LINENO"; then :
13669 # We can compile using X headers with no special include directory.
13672 for ac_dir
in $ac_x_header_dirs; do
13673 if test -r "$ac_dir/X11/Xlib.h"; then
13674 ac_x_includes
=$ac_dir
13679 rm -f conftest.err conftest.i conftest.
$ac_ext
13680 fi # $ac_x_includes = no
13682 if test "$ac_x_libraries" = no
; then
13683 # Check for the libraries.
13684 # See if we find them without any special options.
13685 # Don't add to $LIBS permanently.
13688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13689 /* end confdefs.h. */
13690 #include <X11/Xlib.h>
13699 if ac_fn_c_try_link
"$LINENO"; then :
13701 # We can link X programs with no special library path.
13705 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13707 # Don't even attempt the hair of trying to link an X program!
13708 for ac_extension
in a so sl dylib la dll
; do
13709 if test -r "$ac_dir/libX11.$ac_extension"; then
13710 ac_x_libraries
=$ac_dir
13716 rm -f core conftest.err conftest.
$ac_objext \
13717 conftest
$ac_exeext conftest.
$ac_ext
13718 fi # $ac_x_libraries = no
13720 case $ac_x_includes,$ac_x_libraries in #(
13721 no
,* |
*,no |
*\'*)
13722 # Didn't find X, or a directory has "'" in its name.
13723 ac_cv_have_x
="have_x=no";; #(
13725 # Record where we found X for the cache.
13726 ac_cv_have_x
="have_x=yes\
13727 ac_x_includes='$ac_x_includes'\
13728 ac_x_libraries='$ac_x_libraries'"
13734 eval "$ac_cv_have_x"
13737 if test "$have_x" != yes; then
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13739 $as_echo "$have_x" >&6; }
13742 # If each of the values was on the command line, it overrides each guess.
13743 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13744 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13745 # Update the cache value to reflect the command line values.
13746 ac_cv_have_x
="have_x=yes\
13747 ac_x_includes='$x_includes'\
13748 ac_x_libraries='$x_libraries'"
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13750 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13755 for path
in $x_libraries
13757 x_cflags
="$x_cflags -L$path"
13760 for path
in $x_includes
13762 x_cflags
="$x_cflags -I$path"
13765 if test "x-$no_x" = "x-yes" ; then
13767 if test "x-$x11_hidd" != "x-auto" ; then
13768 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13772 x11_hidd_target
=kernel-x11gfx-kobj
13775 # Check whether --enable-x11_shm was given.
13776 if test "${enable_x11_shm+set}" = set; then :
13777 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13779 x11_hidd_shm
="auto"
13782 case "x-$x11_hidd_shm" in
13783 x-yes|x-no|x-auto
) ;;
13784 *) x11_hidd_shm
="auto" ;;
13789 if test "x-$x11_hidd_shm" != "x-no" ; then
13791 for ac_header
in sys
/ipc.h
13793 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13794 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13795 cat >>confdefs.h
<<_ACEOF
13796 #define HAVE_SYS_IPC_H 1
13803 for ac_header
in sys
/shm.h
13805 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13806 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13807 cat >>confdefs.h
<<_ACEOF
13808 #define HAVE_SYS_SHM_H 1
13816 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13818 save_cflags
="$CFLAGS"
13819 CFLAGS
="$CFLAGS $x_cflags"
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13821 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13822 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13823 $as_echo_n "(cached) " >&6
13825 ac_check_lib_save_LIBS
=$LIBS
13826 LIBS
="-lXext $LIBS"
13827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13828 /* end confdefs.h. */
13830 /* Override any GCC internal prototype to avoid an error.
13831 Use char because int might match the return type of a GCC
13832 builtin and then its argument prototype would still apply. */
13836 char XShmQueryExtension ();
13840 return XShmQueryExtension ();
13845 if ac_fn_c_try_link
"$LINENO"; then :
13846 ac_cv_lib_Xext_XShmQueryExtension
=yes
13848 ac_cv_lib_Xext_XShmQueryExtension
=no
13850 rm -f core conftest.err conftest.
$ac_objext \
13851 conftest
$ac_exeext conftest.
$ac_ext
13852 LIBS
=$ac_check_lib_save_LIBS
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13855 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13856 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13860 CFLAGS
="$save_cflags"
13864 if test "x-$have_xshm" = "x-yes" ; then
13865 DO_XSHM_SUPPORT
="1"
13866 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13867 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13869 DO_XSHM_SUPPORT
="0"
13873 # Check whether --enable-x11_vidmode was given.
13874 if test "${enable_x11_vidmode+set}" = set; then :
13875 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13877 x11_hidd_vidmode
="auto"
13880 case "x-$x11_hidd_vidmode" in
13881 x-yes|x-no|x-auto
) ;;
13882 *) x11_hidd_vidmode
="auto" ;;
13887 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13889 save_cflags
="$CFLAGS"
13890 CFLAGS
="$CFLAGS $x_cflags"
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13892 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13893 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13894 $as_echo_n "(cached) " >&6
13896 ac_check_lib_save_LIBS
=$LIBS
13897 LIBS
="-lXxf86vm $LIBS"
13898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h. */
13901 /* Override any GCC internal prototype to avoid an error.
13902 Use char because int might match the return type of a GCC
13903 builtin and then its argument prototype would still apply. */
13907 char XF86VidModeQueryExtension ();
13911 return XF86VidModeQueryExtension ();
13916 if ac_fn_c_try_link
"$LINENO"; then :
13917 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13919 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13921 rm -f core conftest.err conftest.
$ac_objext \
13922 conftest
$ac_exeext conftest.
$ac_ext
13923 LIBS
=$ac_check_lib_save_LIBS
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13926 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13927 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13931 CFLAGS
="$save_cflags"
13934 if test "x-$have_vidmode" = "x-yes" ; then
13935 DO_VIDMODE_SUPPORT
="1"
13936 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13937 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13939 DO_VIDMODE_SUPPORT
="0"
13943 aros_host_x11_includes
=$x_includes
13944 aros_host_x11_libdirs
=$x_libraries
13948 # Check whether --enable-sdl_hidd was given.
13949 if test "${enable_sdl_hidd+set}" = set; then :
13950 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13955 case "x-$sdl_hidd" in
13956 x-yes|x-no|x-auto
) ;;
13957 *) sdl_hidd
="auto" ;;
13960 if test "x-$sdl_hidd" != "x-no" ; then
13963 # Check whether --with-sdl-prefix was given.
13964 if test "${with_sdl_prefix+set}" = set; then :
13965 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13971 # Check whether --with-sdl-exec-prefix was given.
13972 if test "${with_sdl_exec_prefix+set}" = set; then :
13973 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13978 # Check whether --enable-sdltest was given.
13979 if test "${enable_sdltest+set}" = set; then :
13980 enableval
=$enable_sdltest;
13986 if test x
$sdl_exec_prefix != x
; then
13987 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
13988 if test x
${SDL_CONFIG+set} != xset
; then
13989 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
13992 if test x
$sdl_prefix != x
; then
13993 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
13994 if test x
${SDL_CONFIG+set} != xset
; then
13995 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
13999 as_save_PATH
="$PATH"
14000 if test "x$prefix" != xNONE
; then
14001 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14003 # Extract the first word of "sdl-config", so it can be a program name with args.
14004 set dummy sdl-config
; ac_word
=$2
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14006 $as_echo_n "checking for $ac_word... " >&6; }
14007 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14008 $as_echo_n "(cached) " >&6
14010 case $SDL_CONFIG in
14012 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14016 for as_dir
in $PATH
14019 test -z "$as_dir" && as_dir
=.
14020 for ac_exec_ext
in '' $ac_executable_extensions; do
14021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14022 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14030 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14034 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14035 if test -n "$SDL_CONFIG"; then
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14037 $as_echo "$SDL_CONFIG" >&6; }
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14040 $as_echo "no" >&6; }
14044 PATH
="$as_save_PATH"
14045 min_sdl_version
=1.2.10
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14047 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14049 if test "$SDL_CONFIG" = "no" ; then
14052 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14053 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14055 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14056 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14057 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14058 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14059 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14060 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14061 if test "x$enable_sdltest" = "xyes" ; then
14062 ac_save_CFLAGS
="$CFLAGS"
14063 ac_save_CXXFLAGS
="$CXXFLAGS"
14064 ac_save_LIBS
="$LIBS"
14065 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14066 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14067 LIBS
="$LIBS $SDL_LIBS"
14069 if test "$cross_compiling" = yes; then :
14070 echo $ac_n "cross compiling; assumed OK... $ac_c"
14072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14073 /* end confdefs.h. */
14076 #include <stdlib.h>
14077 #include <string.h>
14081 my_strdup (char *str)
14087 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14088 strcpy (new_str, str);
14096 int main (int argc, char *argv[])
14098 int major, minor, micro;
14101 /* This hangs on some systems (?)
14102 system ("touch conf.sdltest");
14104 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14106 /* HP/UX 9 (%@#!) writes to sscanf strings */
14107 tmp_version = my_strdup("$min_sdl_version");
14108 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14109 printf("%s, bad version string\n", "$min_sdl_version");
14113 if (($sdl_major_version > major) ||
14114 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14115 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14121 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14122 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14123 printf("*** best to upgrade to the required version.\n");
14124 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14125 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14126 printf("*** config.cache before re-running configure\n");
14133 if ac_fn_c_try_run
"$LINENO"; then :
14138 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14139 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14142 CFLAGS
="$ac_save_CFLAGS"
14143 CXXFLAGS
="$ac_save_CXXFLAGS"
14144 LIBS
="$ac_save_LIBS"
14147 if test "x$no_sdl" = x
; then
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14149 $as_echo "yes" >&6; }
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14153 $as_echo "no" >&6; }
14154 if test "$SDL_CONFIG" = "no" ; then
14155 echo "*** The sdl-config script installed by SDL could not be found"
14156 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14157 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14158 echo "*** full path to sdl-config."
14160 if test -f conf.sdltest
; then
14163 echo "*** Could not run SDL test program, checking why..."
14164 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14165 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14166 LIBS
="$LIBS $SDL_LIBS"
14167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14168 /* end confdefs.h. */
14173 int main(int argc, char *argv[])
14176 #define main K_and_R_C_main
14186 if ac_fn_c_try_link
"$LINENO"; then :
14187 echo "*** The test program compiled, but did not run. This usually means"
14188 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14189 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14190 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14191 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14192 echo "*** is required on your system"
14194 echo "*** If you have an old version installed, it is best to remove it, although"
14195 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14197 echo "*** The test program failed to compile or link. See the file config.log for the"
14198 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14199 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14200 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14202 rm -f core conftest.err conftest.
$ac_objext \
14203 conftest
$ac_exeext conftest.
$ac_ext
14204 CFLAGS
="$ac_save_CFLAGS"
14205 CXXFLAGS
="$ac_save_CXXFLAGS"
14206 LIBS
="$ac_save_LIBS"
14218 if test "x-$have_sdl" != "x-yes" ; then
14220 if test "x-$sdl_hidd" != "x-auto" ; then
14221 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14225 sdl_hidd_target
=kernel-hidd-sdl
14226 aros_host_sdl_cflags
=SDL_CFLAGS
14227 aros_host_sdl_libs
=SDL_LIBS
14231 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14232 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14237 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14238 oss_library_target
=workbench-libs-oss-unix
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14244 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14245 # Check whether --enable-dbus was given.
14246 if test "${enable_dbus+set}" = set; then :
14247 enableval
=$enable_dbus; dbus
="yes"
14252 if test "$dbus" = "yes" ; then
14254 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14255 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14256 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14257 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14262 $as_echo "$dbus" >&6; }
14264 if test "$use_kernel_cc_wrapper" = "yes" ; then
14265 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14268 if test "${crosstools}" != "yes" ; then
14269 aros_target_toolchain
=no
14271 aros_target_toolchain
=yes
14287 # Compatability with other Amiga-like operation systems
14382 # Delinting target compiler flags
14406 # Native version related
14409 # Palm native version related
14412 # Unix/Hosted version related
14418 # Apple iOS related
14423 # ARM default GCC target related
14449 # Collect-aros stuff: "-ius" to ignore undefined symbols
14452 # C compiler related
14455 #ObjC compiler related
14461 case "$aros_flavour" in
14462 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14463 aros_flavour
="emulation" ;;
14464 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14465 aros_flavour
="emulation" ;;
14466 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14467 aros_flavour
="standalone";;
14468 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14469 aros_flavour
="standalone";;
14470 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14471 aros_flavour
="native" ;;
14472 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14473 aros_flavour
="native" ;;
14474 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14475 aros_flavour
="linklib" ;;
14476 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14477 aros_flavour
="palmnative" ;;
14478 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14479 aros_flavour
="mac68knative" ;;
14480 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14481 aros_flavour
="ppcnative" ;;
14484 if test ! -d ${aros_inc_dir} ; then
14485 ${MKDIR} ${aros_inc_dir}
14487 if test ! -d ${aros_geninc_dir} ; then
14488 ${MKDIR} ${aros_geninc_dir}
14490 if test ! -d ${aros_hostcfg_dir} ; then
14491 ${MKDIR} ${aros_hostcfg_dir}
14493 if test ! -d ${aros_targetcfg_dir} ; then
14494 ${MKDIR} ${aros_targetcfg_dir}
14496 if test ! -d ${aros_tools_dir} ; then
14497 ${MKDIR} ${aros_tools_dir}
14499 if test ! -d ${aros_scripts_dir} ; then
14500 ${MKDIR} ${aros_scripts_dir}
14503 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14506 ac_config_commands
="$ac_config_commands compiler_executable"
14508 ac_config_commands
="$ac_config_commands genmf_executable"
14511 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"
14514 cat >confcache
<<\_ACEOF
14515 # This file is a shell script that caches the results of configure
14516 # tests run on this system so they can be shared between configure
14517 # scripts and configure runs, see configure's option --config-cache.
14518 # It is not useful on other systems. If it contains results you don't
14519 # want to keep, you may remove or edit it.
14521 # config.status only pays attention to the cache file if you give it
14522 # the --recheck option to rerun configure.
14524 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14525 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14526 # following values.
14530 # The following way of writing the cache mishandles newlines in values,
14531 # but we know of no workaround that is simple, portable, and efficient.
14532 # So, we kill variables containing newlines.
14533 # Ultrix sh set writes to stderr and can't be redirected directly,
14534 # and sets the high bit in the cache file unless we assign to the vars.
14536 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14537 eval ac_val
=\$
$ac_var
14541 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14542 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14545 _ | IFS | as_nl
) ;; #(
14546 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14547 *) { eval $ac_var=; unset $ac_var;} ;;
14553 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14554 *${as_nl}ac_space
=\
*)
14555 # `set' does not quote correctly, so add quotes: double-quote
14556 # substitution turns \\\\ into \\, and sed turns \\ into \.
14559 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14562 # `set' quotes correctly as required by POSIX, so do not add quotes.
14563 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14572 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14574 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14576 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14577 if test -w "$cache_file"; then
14578 if test "x$cache_file" != "x/dev/null"; then
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14580 $as_echo "$as_me: updating cache $cache_file" >&6;}
14581 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14582 cat confcache
>"$cache_file"
14584 case $cache_file in #(
14586 mv -f confcache
"$cache_file"$$
&&
14587 mv -f "$cache_file"$$
"$cache_file" ;; #(
14589 mv -f confcache
"$cache_file" ;;
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14595 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14600 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14601 # Let make expand exec_prefix.
14602 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14604 DEFS
=-DHAVE_CONFIG_H
14609 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14610 # 1. Remove the extension, and $U if already installed.
14611 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14612 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14613 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14614 # will be set to the directory where LIBOBJS objects are built.
14615 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14616 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14618 LIBOBJS
=$ac_libobjs
14620 LTLIBOBJS
=$ac_ltlibobjs
14624 : "${CONFIG_STATUS=./config.status}"
14626 ac_clean_files_save
=$ac_clean_files
14627 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14629 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14631 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14633 # Generated by $as_me.
14634 # Run this file to recreate the current configuration.
14635 # Compiler output produced by configure, useful for debugging
14636 # configure, is in config.log if it exists.
14639 ac_cs_recheck=false
14642 SHELL=\${CONFIG_SHELL-$SHELL}
14645 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14646 ## -------------------- ##
14647 ## M4sh Initialization. ##
14648 ## -------------------- ##
14650 # Be more Bourne compatible
14651 DUALCASE
=1; export DUALCASE
# for MKS sh
14652 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14655 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14656 # is contrary to our usage. Disable this feature.
14657 alias -g '${1+"$@"}'='"$@"'
14658 setopt NO_GLOB_SUBST
14660 case `(set -o) 2>/dev/null` in #(
14672 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14673 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14674 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14675 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14676 # Prefer a ksh shell builtin over an external printf program on Solaris,
14677 # but without wasting forks for bash or zsh.
14678 if test -z "$BASH_VERSION$ZSH_VERSION" \
14679 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14680 as_echo='print
-r --'
14681 as_echo_n='print
-rn --'
14682 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14683 as_echo='printf %s
\n'
14684 as_echo_n='printf %s
'
14686 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14687 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14688 as_echo_n='/usr
/ucb
/echo -n'
14690 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14691 as_echo_n_body='eval
14695 expr "X$arg" : "X\\(.*\\)$as_nl";
14696 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14698 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14700 export as_echo_n_body
14701 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14703 export as_echo_body
14704 as_echo='sh
-c $as_echo_body as_echo
'
14707 # The user is always right.
14708 if test "${PATH_SEPARATOR+set}" != set; then
14710 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14711 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14718 # We need space, tab and new line, in precisely that order. Quoting is
14719 # there to prevent editors from complaining about space-tab.
14720 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14721 # splitting by setting IFS to empty value.)
14724 # Find who we are. Look in the path if we contain no directory separator.
14727 *[\\/]* ) as_myself=$0 ;;
14728 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14729 for as_dir in $PATH
14732 test -z "$as_dir" && as_dir=.
14733 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14739 # We did not find ourselves, most probably we were run as `sh COMMAND'
14740 # in which case we are not to be found in the path.
14741 if test "x$as_myself" = x
; then
14744 if test ! -f "$as_myself"; then
14745 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14749 # Unset variables that we do not need and which cause bugs (e.g. in
14750 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14751 # suppresses any "Segmentation fault" message there. '((' could
14752 # trigger a bug in pdksh 5.2.14.
14753 for as_var
in BASH_ENV ENV MAIL MAILPATH
14754 do eval test x\
${$as_var+set} = xset \
14755 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14768 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14771 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14772 # ----------------------------------------
14773 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14774 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14775 # script with STATUS, using 1 if that was 0.
14778 as_status
=$1; test $as_status -eq 0 && as_status
=1
14780 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14781 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14783 $as_echo "$as_me: error: $2" >&2
14784 as_fn_exit
$as_status
14788 # as_fn_set_status STATUS
14789 # -----------------------
14790 # Set $? to STATUS, without forking.
14791 as_fn_set_status
()
14794 } # as_fn_set_status
14796 # as_fn_exit STATUS
14797 # -----------------
14798 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14802 as_fn_set_status
$1
14808 # Portably unset VAR.
14811 { eval $1=; unset $1;}
14813 as_unset
=as_fn_unset
14814 # as_fn_append VAR VALUE
14815 # ----------------------
14816 # Append the text in VALUE to the end of the definition contained in VAR. Take
14817 # advantage of any shell optimizations that allow amortized linear growth over
14818 # repeated appends, instead of the typical quadratic growth present in naive
14820 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14821 eval 'as_fn_append ()
14832 # as_fn_arith ARG...
14833 # ------------------
14834 # Perform arithmetic evaluation on the ARGs, and store the result in the
14835 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14836 # must be portable across $(()) and expr.
14837 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14838 eval 'as_fn_arith ()
14845 as_val
=`expr "$@" || test $? -eq 1`
14850 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14851 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14857 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14858 as_basename
=basename
14863 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14869 as_me
=`$as_basename -- "$0" ||
14870 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14871 X"$0" : 'X\(//\)$' \| \
14872 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14874 sed '/^.*\/\([^/][^/]*\)\/*$/{
14888 # Avoid depending upon Character Ranges.
14889 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14890 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14891 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14892 as_cr_digits
='0123456789'
14893 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14895 ECHO_C
= ECHO_N
= ECHO_T
=
14896 case `echo -n x` in #(((((
14898 case `echo 'xy\c'` in
14899 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14901 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14908 rm -f conf$$ conf$$.exe conf$$.
file
14909 if test -d conf$$.dir
; then
14910 rm -f conf$$.dir
/conf$$.
file
14913 mkdir conf$$.dir
2>/dev
/null
14915 if (echo >conf$$.
file) 2>/dev
/null
; then
14916 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14918 # ... but there are two gotchas:
14919 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14920 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14921 # In both cases, we have to default to `cp -p'.
14922 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14924 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14932 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14933 rmdir conf$$.dir
2>/dev
/null
14938 # Create "$as_dir" as a directory, including parents if necessary.
14943 -*) as_dir
=.
/$as_dir;;
14945 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14949 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14950 *) as_qdir
=$as_dir;;
14952 as_dirs
="'$as_qdir' $as_dirs"
14953 as_dir
=`$as_dirname -- "$as_dir" ||
14954 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14955 X"$as_dir" : 'X\(//\)[^/]' \| \
14956 X"$as_dir" : 'X\(//\)$' \| \
14957 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14958 $as_echo X"$as_dir" |
14959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14963 /^X\(\/\/\)[^/].*/{
14976 test -d "$as_dir" && break
14978 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14979 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14983 if mkdir
-p .
2>/dev
/null
; then
14984 as_mkdir_p
='mkdir -p "$as_dir"'
14986 test -d .
/-p && rmdir .
/-p
14990 if test -x / >/dev
/null
2>&1; then
14991 as_test_x
='test -x'
14993 if ls -dL / >/dev
/null
2>&1; then
15000 if test -d "$1"; then
15006 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15007 ???[sx]*):;;*)false;;esac;fi
15011 as_executable_p
=$as_test_x
15013 # Sed expression to map a string onto a valid CPP name.
15014 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15016 # Sed expression to map a string onto a valid variable name.
15017 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15021 ## ----------------------------------- ##
15022 ## Main body of $CONFIG_STATUS script. ##
15023 ## ----------------------------------- ##
15025 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15028 # Save the log message, to keep $0 and so on meaningful, and to
15029 # report actual input values of CONFIG_FILES etc. instead of their
15030 # values after options handling.
15032 This file was extended by $as_me, which was
15033 generated by GNU Autoconf 2.68. Invocation command line was
15035 CONFIG_FILES = $CONFIG_FILES
15036 CONFIG_HEADERS = $CONFIG_HEADERS
15037 CONFIG_LINKS = $CONFIG_LINKS
15038 CONFIG_COMMANDS = $CONFIG_COMMANDS
15041 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15046 case $ac_config_files in *"
15047 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15050 case $ac_config_headers in *"
15051 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15055 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15056 # Files that config.status was made for.
15057 config_files="$ac_config_files"
15058 config_headers="$ac_config_headers"
15059 config_commands="$ac_config_commands"
15063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15065 \`$as_me' instantiates files and other configuration actions
15066 from templates according to the current configuration. Unless the files
15067 and actions are specified as TAGs, all are instantiated by default.
15069 Usage: $0 [OPTION]... [TAG]...
15071 -h, --help print this help, then exit
15072 -V, --version print version number and configuration settings, then exit
15073 --config print configuration, then exit
15074 -q, --quiet, --silent
15075 do not print progress messages
15076 -d, --debug don't remove temporary files
15077 --recheck update $as_me by reconfiguring in the same conditions
15078 --file=FILE[:TEMPLATE]
15079 instantiate the configuration file FILE
15080 --header=FILE[:TEMPLATE]
15081 instantiate the configuration header FILE
15083 Configuration files:
15086 Configuration headers:
15089 Configuration commands:
15092 Report bugs to the package provider."
15095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15096 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15099 configured by $0, generated by GNU Autoconf 2.68,
15100 with options \\"\$ac_cs_config\\"
15102 Copyright (C) 2010 Free Software Foundation, Inc.
15103 This config.status script is free software; the Free Software Foundation
15104 gives unlimited permission to copy, distribute and modify it."
15108 test -n "\$AWK" || AWK=awk
15111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15112 # The default lists apply if the user does not specify any file.
15118 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15119 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15123 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15135 # Handling of the options.
15136 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15138 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15139 $as_echo "$ac_cs_version"; exit ;;
15140 --config |
--confi |
--conf |
--con |
--co |
--c )
15141 $as_echo "$ac_cs_config"; exit ;;
15142 --debug |
--debu |
--deb |
--de |
--d |
-d )
15144 --file |
--fil |
--fi |
--f )
15147 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15148 '') as_fn_error $?
"missing file argument" ;;
15150 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15151 ac_need_defaults
=false
;;
15152 --header |
--heade |
--head |
--hea )
15155 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15157 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15158 ac_need_defaults
=false
;;
15160 # Conflict between --help and --header
15161 as_fn_error $?
"ambiguous option: \`$1'
15162 Try \`$0 --help' for more information.";;
15163 --help |
--hel |
-h )
15164 $as_echo "$ac_cs_usage"; exit ;;
15165 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15166 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15169 # This is an error.
15170 -*) as_fn_error $?
"unrecognized option: \`$1'
15171 Try \`$0 --help' for more information." ;;
15173 *) as_fn_append ac_config_targets
" $1"
15174 ac_need_defaults
=false
;;
15180 ac_configure_extra_args
=
15182 if $ac_cs_silent; then
15184 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15189 if \$ac_cs_recheck; then
15190 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15192 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15193 CONFIG_SHELL='$SHELL'
15194 export CONFIG_SHELL
15199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15203 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15204 ## Running $as_me. ##
15210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15215 aros_host_exe_suffix=${aros_host_exe_suffix}
15216 aros_tools_dir=${aros_tools_dir}
15217 aros_target_cpu=${aros_target_cpu}
15218 aros_target_arch=${aros_target_arch}
15219 aros_target_suffix=${aros_target_suffix}
15220 orig_target_nm=${orig_target_nm}
15221 orig_target_as=${orig_target_as}
15222 orig_target_ar=${orig_target_ar}
15223 orig_target_ranlib=${orig_target_ranlib}
15224 orig_target_objdump=${orig_target_objdump}
15225 orig_target_objcopy=${orig_target_objcopy}
15226 orig_target_strip=${orig_target_strip}
15227 aros_kernel_ld=${aros_kernel_ld}
15230 aros_tools_dir=${aros_tools_dir}
15235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15237 # Handling of arguments.
15238 for ac_config_target
in $ac_config_targets
15240 case $ac_config_target in
15241 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15242 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15243 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15244 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15245 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15246 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15247 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15248 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15249 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15250 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15251 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15252 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15253 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15254 "${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" ;;
15255 "${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" ;;
15256 "${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" ;;
15257 "${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" ;;
15258 "${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" ;;
15259 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15260 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15261 "${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" ;;
15263 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15268 # If the user did not use the arguments to specify the items to instantiate,
15269 # then the envvar interface is used. Set only those that are not.
15270 # We use the long form for the default assignment because of an extremely
15271 # bizarre bug on SunOS 4.1.3.
15272 if $ac_need_defaults; then
15273 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15274 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15275 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15278 # Have a temporary directory for convenience. Make it in the build tree
15279 # simply because there is no reason against having it here, and in addition,
15280 # creating and moving files from /tmp can sometimes cause problems.
15281 # Hook for its removal unless debugging.
15282 # Note that there is a small window in which the directory will not be cleaned:
15283 # after its creation but before its name has been assigned to `$tmp'.
15287 trap 'exit_status=$?
15288 : "${ac_tmp:=$tmp}"
15289 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15291 trap 'as_fn_exit 1' 1 2 13 15
15293 # Create a (secure) tmp directory for tmp files.
15296 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15300 tmp
=.
/conf$$
-$RANDOM
15301 (umask 077 && mkdir
"$tmp")
15302 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15305 # Set up the scripts for CONFIG_FILES section.
15306 # No need to generate them if there are no CONFIG_FILES.
15307 # This happens for instance with `./config.status config.h'.
15308 if test -n "$CONFIG_FILES"; then
15311 ac_cr
=`echo X | tr X '\015'`
15312 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15313 # But we know of no other shell where ac_cr would be empty at this
15314 # point, so we can use a bashism as a fallback.
15315 if test "x$ac_cr" = x
; then
15316 eval ac_cr
=\$
\'\\r
\'
15318 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15319 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15322 ac_cs_awk_cr
=$ac_cr
15325 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15330 echo "cat >conf$$subs.awk <<_ACEOF" &&
15331 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15333 } >conf$$subs.sh ||
15334 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15335 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15337 for ac_last_try in false false false false false :; do
15338 . ./conf$$subs.sh ||
15339 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15341 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15342 if test $ac_delim_n = $ac_delim_num; then
15344 elif $ac_last_try; then
15345 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15347 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15350 rm -f conf$$subs.sh
15352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15353 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15357 s/^/S["/; s
/!.
*/"]=/
15367 s/\(.\{148\}\)..*/\1/
15369 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15374 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15381 s/\(.\{148\}\)..*/\1/
15383 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15387 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15392 ' <conf$$subs.awk | sed '
15397 ' >>$CONFIG_STATUS || ac_write_fail=1
15398 rm -f conf$$subs.awk
15399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15401 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15402 for (key in S) S_is_set[key] = 1
15408 nfields = split(line, field, "@
")
15410 len = length(field[1])
15411 for (i = 2; i < nfields; i++) {
15413 keylen = length(key)
15414 if (S_is_set[key]) {
15416 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15417 len += length(value) + length(field[++i])
15428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15429 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15430 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15433 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15434 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15437 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15438 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15439 # trailing colons and then remove the whole line if VPATH becomes empty
15440 # (actually we leave an empty line to preserve line numbers).
15441 if test "x
$srcdir" = x.; then
15442 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15461 fi # test -n "$CONFIG_FILES"
15463 # Set up the scripts for CONFIG_HEADERS section.
15464 # No need to generate them if there are no CONFIG_HEADERS.
15465 # This happens for instance with `./config.status Makefile'.
15466 if test -n "$CONFIG_HEADERS"; then
15467 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15471 # Transform confdefs.h into an awk script `defines.awk', embedded as
15472 # here-document in config.status, that substitutes the proper values into
15473 # config.h.in to produce config.h.
15475 # Create a delimiter string that does not exist in confdefs.h, to ease
15476 # handling of long lines.
15478 for ac_last_try in false false :; do
15479 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15480 if test -z "$ac_tt"; then
15482 elif $ac_last_try; then
15483 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15485 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15489 # For the awk script, D is an array of macro values keyed by name,
15490 # likewise P contains macro parameters if any. Preserve backslash
15491 # newline sequences.
15493 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15495 s/.\{148\}/&'"$ac_delim"'/g
15498 s/^[ ]*#[ ]*define[ ][ ]*/ /
15505 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15507 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15511 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15512 D["\
1"]=" \
3\\\\\\n
"\\/p
15514 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15519 s/.\{148\}/&'"$ac_delim"'/g
15524 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15527 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15529 ' <confdefs.h | sed '
15530 s/'"$ac_delim"'/"\\\
15531 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15534 for (key in D) D_is_set[key] = 1
15537 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15539 split(line, arg, " ")
15540 if (arg[1] == "#") {
15544 defundef
= substr
(arg
[1], 2)
15547 split(mac1
, mac2
, "(") #)
15549 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15550 if (D_is_set
[macro
]) {
15551 # Preserve the white space surrounding the "#".
15552 print prefix
"define", macro P
[macro
] D
[macro
]
15555 # Replace #undef with comments. This is necessary, for example,
15556 # in the case of _POSIX_SOURCE, which is predefined and required
15557 # on some systems where configure will not decide to define it.
15558 if (defundef
== "undef") {
15559 print
"/*", prefix defundef
, macro
, "*/"
15567 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15568 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15569 fi # test -n "$CONFIG_HEADERS"
15572 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15577 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15579 case $ac_mode$ac_tag in
15581 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15582 :[FH
]-) ac_tag
=-:-;;
15583 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15600 -) ac_f
="$ac_tmp/stdin";;
15601 *) # Look for the file first in the build tree, then in the source tree
15602 # (if the path is not absolute). The absolute path cannot be DOS-style,
15603 # because $ac_f cannot contain `:'.
15607 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15609 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15611 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15612 as_fn_append ac_file_inputs
" '$ac_f'"
15615 # Let's still pretend it is `configure' which instantiates (i.e., don't
15616 # use $as_me), people would be surprised to read:
15617 # /* config.h. Generated by config.status. */
15618 configure_input
='Generated from '`
15619 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15621 if test x
"$ac_file" != x-
; then
15622 configure_input
="$ac_file. $configure_input"
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15624 $as_echo "$as_me: creating $ac_file" >&6;}
15626 # Neutralize special characters interpreted by sed in replacement strings.
15627 case $configure_input in #(
15628 *\
&* |
*\|
* |
*\\* )
15629 ac_sed_conf_input
=`$as_echo "$configure_input" |
15630 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15631 *) ac_sed_conf_input
=$configure_input;;
15635 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15636 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15641 ac_dir
=`$as_dirname -- "$ac_file" ||
15642 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15643 X"$ac_file" : 'X\(//\)[^/]' \| \
15644 X"$ac_file" : 'X\(//\)$' \| \
15645 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15646 $as_echo X"$ac_file" |
15647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15651 /^X\(\/\/\)[^/].*/{
15664 as_dir
="$ac_dir"; as_fn_mkdir_p
15668 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15670 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15671 # A ".." for each directory in $ac_dir_suffix.
15672 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15673 case $ac_top_builddir_sub in
15674 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15675 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15678 ac_abs_top_builddir
=$ac_pwd
15679 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15680 # for backward compatibility:
15681 ac_top_builddir
=$ac_top_build_prefix
15684 .
) # We are building in place.
15686 ac_top_srcdir
=$ac_top_builddir_sub
15687 ac_abs_top_srcdir
=$ac_pwd ;;
15688 [\\/]* | ?
:[\\/]* ) # Absolute name.
15689 ac_srcdir
=$srcdir$ac_dir_suffix;
15690 ac_top_srcdir
=$srcdir
15691 ac_abs_top_srcdir
=$srcdir ;;
15692 *) # Relative name.
15693 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15694 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15695 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15697 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15709 # If the template does not know about datarootdir, expand it.
15710 # FIXME: This hack should be removed a few years after 2.60.
15711 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15722 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15723 *datarootdir
*) ac_datarootdir_seen
=yes;;
15724 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15726 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15729 ac_datarootdir_hack='
15730 s&@datadir@&$datadir&g
15731 s&@docdir@&$docdir&g
15732 s&@infodir@&$infodir&g
15733 s&@localedir@&$localedir&g
15734 s&@mandir@&$mandir&g
15735 s&\\\${datarootdir}&$datarootdir&g' ;;
15739 # Neutralize VPATH when `$srcdir' = `.'.
15740 # Shell code in configure.ac might set extrasub.
15741 # FIXME: do we really want to maintain this feature?
15742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15743 ac_sed_extra="$ac_vpsub
15746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15748 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15749 s|@configure_input@|
$ac_sed_conf_input|
;t t
15750 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15751 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15752 s
&@srcdir@
&$ac_srcdir&;t t
15753 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15754 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15755 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15756 s
&@builddir@
&$ac_builddir&;t t
15757 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15758 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15759 $ac_datarootdir_hack
15761 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15762 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15764 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15765 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15766 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15767 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15769 which seems to be undefined. Please make sure it is defined" >&5
15770 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15771 which seems to be undefined. Please make sure it is defined" >&2;}
15773 rm -f "$ac_tmp/stdin"
15775 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15776 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15778 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15784 if test x"$ac_file" != x-; then
15786 $as_echo "/* $configure_input */" \
15787 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15788 } >"$ac_tmp/config.h" \
15789 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15790 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15791 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15792 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15795 mv "$ac_tmp/config.h" "$ac_file" \
15796 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15799 $as_echo "/* $configure_input */" \
15800 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15801 || as_fn_error $? "could not create -" "$LINENO" 5
15805 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15806 $as_echo "$as_me: executing $ac_file commands" >&6;}
15811 case $ac_file$ac_mode in
15812 "compiler_executable":C)
15813 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15815 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15816 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15820 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15822 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15823 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15824 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15825 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15826 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15827 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15828 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15830 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15832 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15840 ac_clean_files=$ac_clean_files_save
15842 test $ac_write_fail = 0 ||
15843 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15846 # configure is writing to config.log, and then calls config.status.
15847 # config.status does its own redirection, appending to config.log.
15848 # Unfortunately, on DOS this fails, as config.log is still kept open
15849 # by configure, so config.status won't be able to
write to it
; its
15850 # output is simply discarded. So we exec the FD to /dev/null,
15851 # effectively closing config.log, so it can be properly (re)opened and
15852 # appended to by config.status. When coming back to configure, we
15853 # need to make the FD available again.
15854 if test "$no_create" != yes; then
15856 ac_config_status_args
=
15857 test "$silent" = yes &&
15858 ac_config_status_args
="$ac_config_status_args --quiet"
15860 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15862 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15863 # would make configure fail if this is the last instruction.
15864 $ac_cs_success || as_fn_exit
1
15866 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15868 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15873 #XXX compatability...
15874 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15876 if test -n "$aros_shared_cflags" ; then
15877 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15878 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg