2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev
/null
; then :
181 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
186 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir
=.
193 for as_base
in sh bash ksh sh5
; do
194 # Try only shells that exist, to save several forks.
195 as_shell
=$as_dir/$as_base
196 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
198 CONFIG_SHELL
=$as_shell as_have_required
=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
207 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
209 CONFIG_SHELL
=$SHELL as_have_required
=yes
214 if test "x$CONFIG_SHELL" != x
; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
224 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status
=$1; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 ac_default_prefix
=/usr
/local
550 ac_config_libobj_dir
=.
557 # Identity of this package.
565 ac_unique_file
="mmakefile"
566 # Factoring default headers for most tests.
567 ac_includes_default
="\
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
579 # ifdef HAVE_STDLIB_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
603 ac_subst_vars
='LTLIBOBJS
605 ignore_undefined_symbols
617 gcc_default_float_abi
624 aros_nesting_supervisor
629 aros_host_x11_libdirs
630 aros_host_x11_includes
634 aros_default_wbheight
640 aros_cflags_format_security
641 aros_cflags_strict_overflow
642 aros_cflags_enum_compare
643 aros_cflags_array_bounds
644 aros_cflags_unused_but_set_variable
645 crosstools_cxx_target
647 aros_target_strip_flags
654 aros_kernel_objcflags
673 aros_target_cc_includes
688 aros_target_bootloader
708 aros_amigaos_compliance
714 aros_target_toolchain
723 aros_cflags_iquote_end
725 kernel_cflags_iquote_end
727 host_cflags_iquote_end
729 aros_target_nostdlib_ldflags
730 aros_target_detach_ldflags
731 aros_target_nix_ldflags
732 aros_target_nostartup_ldflags
733 aros_target_nostdinc_cflags
850 program_transform_name
863 enable_option_checking
868 with_kernel_gcc_version
872 enable_target_variant
878 enable_amigaos_compliance
879 with_kernel_toolchain_prefix
880 with_elf_toolchain_prefix
883 with_aros_toolchain_install
895 enable_palm_debug_hack
896 enable_nesting_supervisor
908 ac_precious_vars
='build_alias
924 # Initialize some variables set by options.
926 ac_init_version
=false
927 ac_unrecognized_opts
=
929 # The variables have the same names as the options, with
930 # dashes changed to underlines.
938 program_transform_name
=s
,x
,x
,
946 # Installation directory options.
947 # These are left unexpanded so users can "make install exec_prefix=/foo"
948 # and all the variables that are supposed to be based on exec_prefix
949 # by default will actually change.
950 # Use braces instead of parens because sh, perl, etc. also accept them.
951 # (The list follows the same order as the GNU Coding Standards.)
952 bindir
='${exec_prefix}/bin'
953 sbindir
='${exec_prefix}/sbin'
954 libexecdir
='${exec_prefix}/libexec'
955 datarootdir
='${prefix}/share'
956 datadir
='${datarootdir}'
957 sysconfdir
='${prefix}/etc'
958 sharedstatedir
='${prefix}/com'
959 localstatedir
='${prefix}/var'
960 includedir
='${prefix}/include'
961 oldincludedir
='/usr/include'
962 docdir
='${datarootdir}/doc/${PACKAGE}'
963 infodir
='${datarootdir}/info'
968 libdir
='${exec_prefix}/lib'
969 localedir
='${datarootdir}/locale'
970 mandir
='${datarootdir}/man'
976 # If the previous option needs an argument, assign it.
977 if test -n "$ac_prev"; then
978 eval $ac_prev=\
$ac_option
984 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
989 # Accept the important Cygnus configure options, so we can diagnose typos.
991 case $ac_dashdash$ac_option in
995 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
997 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1000 -build |
--build |
--buil |
--bui |
--bu)
1001 ac_prev
=build_alias
;;
1002 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1003 build_alias
=$ac_optarg ;;
1005 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1006 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1007 ac_prev
=cache_file
;;
1008 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1009 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1010 cache_file
=$ac_optarg ;;
1012 --config-cache |
-C)
1013 cache_file
=config.cache
;;
1015 -datadir |
--datadir |
--datadi |
--datad)
1017 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1018 datadir
=$ac_optarg ;;
1020 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1021 |
--dataroo |
--dataro |
--datar)
1022 ac_prev
=datarootdir
;;
1023 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1024 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1025 datarootdir
=$ac_optarg ;;
1027 -disable-* |
--disable-*)
1028 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1031 as_fn_error $?
"invalid feature name: $ac_useropt"
1032 ac_useropt_orig
=$ac_useropt
1033 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034 case $ac_user_opts in
1036 "enable_
$ac_useropt"
1038 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1039 ac_unrecognized_sep
=', ';;
1041 eval enable_
$ac_useropt=no
;;
1043 -docdir |
--docdir |
--docdi |
--doc |
--do)
1045 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1046 docdir
=$ac_optarg ;;
1048 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1050 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1051 dvidir
=$ac_optarg ;;
1053 -enable-* |
--enable-*)
1054 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1057 as_fn_error $?
"invalid feature name: $ac_useropt"
1058 ac_useropt_orig
=$ac_useropt
1059 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060 case $ac_user_opts in
1062 "enable_
$ac_useropt"
1064 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1065 ac_unrecognized_sep
=', ';;
1067 eval enable_
$ac_useropt=\
$ac_optarg ;;
1069 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1070 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1071 |
--exec |
--exe |
--ex)
1072 ac_prev
=exec_prefix
;;
1073 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1074 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1075 |
--exec=* |
--exe=* |
--ex=*)
1076 exec_prefix
=$ac_optarg ;;
1078 -gas |
--gas |
--ga |
--g)
1079 # Obsolete; use --with-gas.
1082 -help |
--help |
--hel |
--he |
-h)
1083 ac_init_help
=long
;;
1084 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1085 ac_init_help
=recursive
;;
1086 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1087 ac_init_help
=short
;;
1089 -host |
--host |
--hos |
--ho)
1090 ac_prev
=host_alias
;;
1091 -host=* |
--host=* |
--hos=* |
--ho=*)
1092 host_alias
=$ac_optarg ;;
1094 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1096 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1098 htmldir
=$ac_optarg ;;
1100 -includedir |
--includedir |
--includedi |
--included |
--include \
1101 |
--includ |
--inclu |
--incl |
--inc)
1102 ac_prev
=includedir
;;
1103 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1104 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1105 includedir
=$ac_optarg ;;
1107 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1109 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1110 infodir
=$ac_optarg ;;
1112 -libdir |
--libdir |
--libdi |
--libd)
1114 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1115 libdir
=$ac_optarg ;;
1117 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1118 |
--libexe |
--libex |
--libe)
1119 ac_prev
=libexecdir
;;
1120 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1121 |
--libexe=* |
--libex=* |
--libe=*)
1122 libexecdir
=$ac_optarg ;;
1124 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1125 ac_prev
=localedir
;;
1126 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1127 localedir
=$ac_optarg ;;
1129 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1130 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1131 ac_prev
=localstatedir
;;
1132 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1133 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1134 localstatedir
=$ac_optarg ;;
1136 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1138 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1139 mandir
=$ac_optarg ;;
1141 -nfp |
--nfp |
--nf)
1142 # Obsolete; use --without-fp.
1145 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1146 |
--no-cr |
--no-c |
-n)
1149 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1150 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1153 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1154 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1155 |
--oldin |
--oldi |
--old |
--ol |
--o)
1156 ac_prev
=oldincludedir
;;
1157 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1158 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1159 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1160 oldincludedir
=$ac_optarg ;;
1162 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1164 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1165 prefix
=$ac_optarg ;;
1167 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1168 |
--program-pre |
--program-pr |
--program-p)
1169 ac_prev
=program_prefix
;;
1170 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1171 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1172 program_prefix
=$ac_optarg ;;
1174 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1175 |
--program-suf |
--program-su |
--program-s)
1176 ac_prev
=program_suffix
;;
1177 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1178 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1179 program_suffix
=$ac_optarg ;;
1181 -program-transform-name |
--program-transform-name \
1182 |
--program-transform-nam |
--program-transform-na \
1183 |
--program-transform-n |
--program-transform- \
1184 |
--program-transform |
--program-transfor \
1185 |
--program-transfo |
--program-transf \
1186 |
--program-trans |
--program-tran \
1187 |
--progr-tra |
--program-tr |
--program-t)
1188 ac_prev
=program_transform_name
;;
1189 -program-transform-name=* |
--program-transform-name=* \
1190 |
--program-transform-nam=* |
--program-transform-na=* \
1191 |
--program-transform-n=* |
--program-transform-=* \
1192 |
--program-transform=* |
--program-transfor=* \
1193 |
--program-transfo=* |
--program-transf=* \
1194 |
--program-trans=* |
--program-tran=* \
1195 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1196 program_transform_name
=$ac_optarg ;;
1198 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1200 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1201 pdfdir
=$ac_optarg ;;
1203 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1205 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1208 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1209 |
-silent |
--silent |
--silen |
--sile |
--sil)
1212 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1214 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1216 sbindir
=$ac_optarg ;;
1218 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1219 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1220 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1222 ac_prev
=sharedstatedir
;;
1223 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1224 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1225 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1227 sharedstatedir
=$ac_optarg ;;
1229 -site |
--site |
--sit)
1231 -site=* |
--site=* |
--sit=*)
1234 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1236 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1237 srcdir
=$ac_optarg ;;
1239 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1240 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1241 ac_prev
=sysconfdir
;;
1242 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1243 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1244 sysconfdir
=$ac_optarg ;;
1246 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1247 ac_prev
=target_alias
;;
1248 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1249 target_alias
=$ac_optarg ;;
1251 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1254 -version |
--version |
--versio |
--versi |
--vers |
-V)
1255 ac_init_version
=: ;;
1258 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1259 # Reject names that are not valid shell variable names.
1260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1261 as_fn_error $?
"invalid package name: $ac_useropt"
1262 ac_useropt_orig
=$ac_useropt
1263 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1264 case $ac_user_opts in
1268 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1269 ac_unrecognized_sep
=', ';;
1271 eval with_
$ac_useropt=\
$ac_optarg ;;
1273 -without-* |
--without-*)
1274 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1275 # Reject names that are not valid shell variable names.
1276 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1277 as_fn_error $?
"invalid package name: $ac_useropt"
1278 ac_useropt_orig
=$ac_useropt
1279 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1280 case $ac_user_opts in
1284 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1285 ac_unrecognized_sep
=', ';;
1287 eval with_
$ac_useropt=no
;;
1290 # Obsolete; use --with-x.
1293 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1294 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1295 ac_prev
=x_includes
;;
1296 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1297 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1298 x_includes
=$ac_optarg ;;
1300 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1301 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1302 ac_prev
=x_libraries
;;
1303 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1304 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1305 x_libraries
=$ac_optarg ;;
1307 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1308 Try \`$0 --help' for more information"
1312 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1313 # Reject names that are not valid shell variable names.
1314 case $ac_envvar in #(
1315 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1316 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1318 eval $ac_envvar=\
$ac_optarg
1319 export $ac_envvar ;;
1322 # FIXME: should be removed in autoconf 3.0.
1323 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1324 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1325 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1326 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1332 if test -n "$ac_prev"; then
1333 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1334 as_fn_error $?
"missing argument to $ac_option"
1337 if test -n "$ac_unrecognized_opts"; then
1338 case $enable_option_checking in
1340 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1341 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1345 # Check all directory arguments for consistency.
1346 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1347 datadir sysconfdir sharedstatedir localstatedir includedir \
1348 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1349 libdir localedir mandir
1351 eval ac_val
=\$
$ac_var
1352 # Remove trailing slashes.
1355 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1356 eval $ac_var=\
$ac_val;;
1358 # Be sure to have absolute directory names.
1360 [\\/$
]* | ?
:[\\/]* ) continue;;
1361 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1363 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1366 # There might be people who depend on the old broken behavior: `$host'
1367 # used to hold the argument of --host etc.
1368 # FIXME: To remove some day.
1371 target
=$target_alias
1373 # FIXME: To remove some day.
1374 if test "x$host_alias" != x
; then
1375 if test "x$build_alias" = x
; then
1376 cross_compiling
=maybe
1377 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1378 If a cross compiler is detected then cross compile mode will be used" >&2
1379 elif test "x$build_alias" != "x$host_alias"; then
1385 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1387 test "$silent" = yes && exec 6>/dev
/null
1390 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1391 ac_ls_di
=`ls -di .` &&
1392 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1393 as_fn_error $?
"working directory cannot be determined"
1394 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1395 as_fn_error $?
"pwd does not report name of working directory"
1398 # Find the source files, if location was not specified.
1399 if test -z "$srcdir"; then
1400 ac_srcdir_defaulted
=yes
1401 # Try the directory containing this script, then the parent directory.
1402 ac_confdir
=`$as_dirname -- "$as_myself" ||
1403 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1404 X"$as_myself" : 'X\(//\)[^/]' \| \
1405 X"$as_myself" : 'X\(//\)$' \| \
1406 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1407 $as_echo X"$as_myself" |
1408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1426 if test ! -r "$srcdir/$ac_unique_file"; then
1430 ac_srcdir_defaulted
=no
1432 if test ! -r "$srcdir/$ac_unique_file"; then
1433 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1434 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1436 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1438 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1440 # When building in place, set srcdir=.
1441 if test "$ac_abs_confdir" = "$ac_pwd"; then
1444 # Remove unnecessary trailing slashes from srcdir.
1445 # Double slashes in file names in object file debugging info
1446 # mess up M-x gdb in Emacs.
1448 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1450 for ac_var
in $ac_precious_vars; do
1451 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1452 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1453 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1454 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1458 # Report the --help message.
1460 if test "$ac_init_help" = "long"; then
1461 # Omit some internal or obsolete options to make the list less imposing.
1462 # This message is too long to be a string in the A/UX 3.1 sh.
1464 \`configure' configures this package to adapt to many kinds of systems.
1466 Usage: $0 [OPTION]... [VAR=VALUE]...
1468 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1469 VAR=VALUE. See below for descriptions of some of the useful variables.
1471 Defaults for the options are specified in brackets.
1474 -h, --help display this help and exit
1475 --help=short display options specific to this package
1476 --help=recursive display the short help of all the included packages
1477 -V, --version display version information and exit
1478 -q, --quiet, --silent do not print \`checking ...' messages
1479 --cache-file=FILE cache test results in FILE [disabled]
1480 -C, --config-cache alias for \`--cache-file=config.cache'
1481 -n, --no-create do not create output files
1482 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1484 Installation directories:
1485 --prefix=PREFIX install architecture-independent files in PREFIX
1486 [$ac_default_prefix]
1487 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1490 By default, \`make install' will install all the files in
1491 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1492 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1493 for instance \`--prefix=\$HOME'.
1495 For better control, use the options below.
1497 Fine tuning of the installation directories:
1498 --bindir=DIR user executables [EPREFIX/bin]
1499 --sbindir=DIR system admin executables [EPREFIX/sbin]
1500 --libexecdir=DIR program executables [EPREFIX/libexec]
1501 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1502 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1503 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1504 --libdir=DIR object code libraries [EPREFIX/lib]
1505 --includedir=DIR C header files [PREFIX/include]
1506 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1507 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1508 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1509 --infodir=DIR info documentation [DATAROOTDIR/info]
1510 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1511 --mandir=DIR man documentation [DATAROOTDIR/man]
1512 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1513 --htmldir=DIR html documentation [DOCDIR]
1514 --dvidir=DIR dvi documentation [DOCDIR]
1515 --pdfdir=DIR pdf documentation [DOCDIR]
1516 --psdir=DIR ps documentation [DOCDIR]
1522 --x-includes=DIR X include files are
in DIR
1523 --x-libraries=DIR X library files are
in DIR
1526 --build=BUILD configure
for building on BUILD
[guessed
]
1527 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1531 if test -n "$ac_init_help"; then
1536 --disable-option-checking ignore unrecognized
--enable/--with options
1537 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1538 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1539 --enable-build-type=TYPE
1540 Select the build
type. Available types are
:
1541 personal
, nightly
, snapshot
, milestone
, release. Do
1542 NOT use this option unless you know what you are
1543 doing
! (default
=personal
)
1544 --enable-debug=list Enable different types of debug. Commas or
1545 whitespaces can be used to separate the items
in the
1546 list. Available types of debug are
: all
, none
,
1547 messages
, stack
, mungwall
, modules
, symbols. If no
1548 list is provided
then "all" is assumed.
1550 --enable-distcc Use distcc as a front end to the compiler
1552 --enable-ccache Use ccache as a front end to the compiler
1554 --enable-target-variant=NAME
1555 Enable a specific target variant
(default
=none
)
1556 --enable-amigaos-compliance=VERSION
1557 Enforce userspace AmigaOS compliance to a specific
1558 KickStart version
(default
=none
).
1559 --disable-crosstools Do not build cross-compiler toolchain
1560 --enable-includes=dir Alternative system include directory
1561 --enable-palm-debug-hack
1562 Enable palm debug output hack
in palm native
1564 --enable-nesting-supervisor
1565 Enable nesting supervisor support
in unix
1567 --disable-mmu Disable MMU support
(default
=enabled
)
1568 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1569 --enable-x11-shm use X11 shared memory
(default
=auto
)
1570 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1571 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1572 --disable-sdltest Do not try to compile and run a
test SDL program
1573 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1576 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1577 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1578 --with-kernel-gcc-version=VERSION
1579 Use
host gcc-VERSION
for building AROS
1580 --with-gcc-version=VERSION
1581 Use
host gcc-VERSION
for building AROS
1582 --with-optimization=FLAGS
1583 Use optimization flags FLAGS
(default
=-O2).
1584 --with-paranoia=FLAGS CC flags to
enable paranoia
1585 --with-xcode=PATH Specify XCode path
for iOS targets
1586 (default
=/Developer
).
1587 --with-sdk-version=VERSION
1588 Use iOS SDK version VERSION
(default
=4.1).
1589 --with-sdk=PATH Specify Android SDK path
1590 (default
=$default_android_sdk).
1591 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1592 --with-sdk-version=LEVEL
1593 Use Android SDK
for API LEVEL
(default
=12).
1594 --with-ndk-version=LEVEL
1595 Use Android NDK
for API LEVEL
(default
=9).
1596 --with-kernel-toolchain-prefix=...
1597 Specify crosscompile toolchain prefix
for kernel
1599 --with-elf-toolchain-prefix=...
1600 Specify crosscompile toolchain prefix to wrap
for
1602 --with-aros-toolchain=PREFIX
1603 Specify prebuilt AROS toolchain
1604 --with-aros-toolchain-install=DIR
1605 Where to
install or search
for cross tools binaries
1606 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1607 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1608 --with-float=<spec
> Specify floating point ABI
1609 (default
=$gcc_default_float_abi).
1610 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1611 --with-portssources=DIR Where to download sourcecode
for external ports
1612 --with-bootloader=NAME Use a specific bootloader
1613 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1614 --with-theme=NAME Use a specific GUI Theme
1615 --with-resolution=XRESxYRESxDEPTH
1616 Default resolution of the initial WorkbenchScreen
1617 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1618 --with-x use the X Window System
1619 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1620 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1622 Some influential environment variables
:
1623 CXX C
++ compiler
command
1624 CXXFLAGS C
++ compiler flags
1625 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1626 nonstandard directory
<lib dir
>
1627 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1628 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1629 you have headers
in a nonstandard directory
<include dir
>
1630 CC C compiler
command
1631 CFLAGS C compiler flags
1633 PYTHON the Python interpreter
1634 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1636 Use these variables to override the choices made by
`configure' or to help
1637 it to find libraries and programs with nonstandard names/locations.
1639 Report bugs to the package provider.
1644 if test "$ac_init_help" = "recursive"; then
1645 # If there are subdirs, report their specific --help.
1646 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1647 test -d "$ac_dir" ||
1648 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1653 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1655 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1656 # A ".." for each directory in $ac_dir_suffix.
1657 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1658 case $ac_top_builddir_sub in
1659 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1660 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1663 ac_abs_top_builddir=$ac_pwd
1664 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1665 # for backward compatibility:
1666 ac_top_builddir=$ac_top_build_prefix
1669 .) # We are building in place.
1671 ac_top_srcdir=$ac_top_builddir_sub
1672 ac_abs_top_srcdir=$ac_pwd ;;
1673 [\\/]* | ?:[\\/]* ) # Absolute name.
1674 ac_srcdir=$srcdir$ac_dir_suffix;
1675 ac_top_srcdir=$srcdir
1676 ac_abs_top_srcdir=$srcdir ;;
1678 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1679 ac_top_srcdir=$ac_top_build_prefix$srcdir
1680 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1682 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1684 cd "$ac_dir" || { ac_status=$?; continue; }
1685 # Check for guested configure.
1686 if test -f "$ac_srcdir/configure.gnu"; then
1688 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1689 elif test -f "$ac_srcdir/configure"; then
1691 $SHELL "$ac_srcdir/configure" --help=recursive
1693 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1695 cd "$ac_pwd" || { ac_status=$?; break; }
1699 test -n "$ac_init_help" && exit $ac_status
1700 if $ac_init_version; then
1703 generated by GNU Autoconf 2.68
1705 Copyright (C) 2010 Free Software Foundation, Inc.
1706 This configure script is free software; the Free Software Foundation
1707 gives unlimited permission to copy, distribute and modify it.
1712 ## ------------------------ ##
1713 ## Autoconf initialization. ##
1714 ## ------------------------ ##
1716 # ac_fn_cxx_try_compile LINENO
1717 # ----------------------------
1718 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1719 ac_fn_cxx_try_compile ()
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 rm -f conftest.$ac_objext
1723 if { { ac_try="$ac_compile"
1725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1726 *) ac_try_echo
=$ac_try;;
1728 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_compile") 2>conftest.err
1732 if test -s conftest.err
; then
1733 grep -v '^ *+' conftest.err
>conftest.er1
1734 cat conftest.er1
>&5
1735 mv -f conftest.er1 conftest.err
1737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1738 test $ac_status = 0; } && {
1739 test -z "$ac_cxx_werror_flag" ||
1740 test ! -s conftest.err
1741 } && test -s conftest.
$ac_objext; then :
1744 $as_echo "$as_me: failed program was:" >&5
1745 sed 's/^/| /' conftest.
$ac_ext >&5
1749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750 as_fn_set_status
$ac_retval
1752 } # ac_fn_cxx_try_compile
1754 # ac_fn_c_try_compile LINENO
1755 # --------------------------
1756 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1757 ac_fn_c_try_compile
()
1759 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1760 rm -f conftest.
$ac_objext
1761 if { { ac_try
="$ac_compile"
1763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1764 *) ac_try_echo=$ac_try;;
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_compile") 2>conftest.err
1770 if test -s conftest.err; then
1771 grep -v '^ *+' conftest.err >conftest.er1
1772 cat conftest.er1 >&5
1773 mv -f conftest.er1 conftest.err
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } && {
1777 test -z "$ac_c_werror_flag" ||
1778 test ! -s conftest.err
1779 } && test -s conftest.$ac_objext; then :
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788 as_fn_set_status $ac_retval
1790 } # ac_fn_c_try_compile
1792 # ac_fn_c_try_cpp LINENO
1793 # ----------------------
1794 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 if { { ac_try="$ac_cpp conftest.$ac_ext"
1800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1801 *) ac_try_echo
=$ac_try;;
1803 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1807 if test -s conftest.err
; then
1808 grep -v '^ *+' conftest.err
>conftest.er1
1809 cat conftest.er1
>&5
1810 mv -f conftest.er1 conftest.err
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } > conftest.i
&& {
1814 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1815 test ! -s conftest.err
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.
$ac_ext >&5
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 as_fn_set_status
$ac_retval
1829 # ac_fn_c_try_link LINENO
1830 # -----------------------
1831 # Try to link conftest.$ac_ext, and return whether this succeeded.
1834 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1835 rm -f conftest.
$ac_objext conftest
$ac_exeext
1836 if { { ac_try
="$ac_link"
1838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1839 *) ac_try_echo=$ac_try;;
1841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_link") 2>conftest.err
1845 if test -s conftest.err; then
1846 grep -v '^ *+' conftest.err >conftest.er1
1847 cat conftest.er1 >&5
1848 mv -f conftest.er1 conftest.err
1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851 test $ac_status = 0; } && {
1852 test -z "$ac_c_werror_flag" ||
1853 test ! -s conftest.err
1854 } && test -s conftest$ac_exeext && {
1855 test "$cross_compiling" = yes ||
1856 $as_test_x conftest$ac_exeext
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.$ac_ext >&5
1865 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1866 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1867 # interfere with the next link command; also delete a directory that is
1868 # left behind by Apple's compiler. We do this before executing the actions.
1869 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871 as_fn_set_status $ac_retval
1873 } # ac_fn_c_try_link
1875 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1876 # -------------------------------------------------------
1877 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1878 # the include files in INCLUDES and setting the cache variable VAR
1880 ac_fn_c_check_header_mongrel ()
1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883 if eval \${$3+:} false; then :
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1885 $as_echo_n "checking for $2... " >&6; }
1886 if eval \${$3+:} false; then :
1887 $as_echo_n "(cached) " >&6
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1893 # Is the header compilable?
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1895 $as_echo_n "checking $2 usability... " >&6; }
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902 ac_header_compiler=yes
1904 ac_header_compiler=no
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1908 $as_echo "$ac_header_compiler" >&6; }
1910 # Is the header present?
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1912 $as_echo_n "checking $2 presence... " >&6; }
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1917 if ac_fn_c_try_cpp "$LINENO"; then :
1918 ac_header_preproc=yes
1920 ac_header_preproc=no
1922 rm -f conftest.err conftest.i conftest.$ac_ext
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1924 $as_echo "$ac_header_preproc" >&6; }
1926 # So? What about this header?
1927 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1930 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1932 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1936 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1938 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1940 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1942 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1944 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1948 $as_echo_n "checking for $2... " >&6; }
1949 if eval \${$3+:} false; then :
1950 $as_echo_n "(cached) " >&6
1952 eval "$3=\$ac_header_compiler"
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1956 $as_echo "$ac_res" >&6; }
1958 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1960 } # ac_fn_c_check_header_mongrel
1962 # ac_fn_c_try_run LINENO
1963 # ----------------------
1964 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1965 # that executables *can* be run.
1968 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1969 if { { ac_try="$ac_link"
1971 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1972 *) ac_try_echo
=$ac_try;;
1974 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1975 $as_echo "$ac_try_echo"; } >&5
1976 (eval "$ac_link") 2>&5
1978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1979 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1980 { { case "(($ac_try" in
1981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1982 *) ac_try_echo=$ac_try;;
1984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1985 $as_echo "$ac_try_echo"; } >&5
1986 (eval "$ac_try") 2>&5
1988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1989 test $ac_status = 0; }; }; then :
1992 $as_echo "$as_me: program exited with status $ac_status" >&5
1993 $as_echo "$as_me: failed program was:" >&5
1994 sed 's/^/| /' conftest.$ac_ext >&5
1996 ac_retval=$ac_status
1998 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1999 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2000 as_fn_set_status $ac_retval
2004 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2005 # -------------------------------------------------------
2006 # Tests whether HEADER exists and can be compiled using the include files in
2007 # INCLUDES, setting the cache variable VAR accordingly.
2008 ac_fn_c_check_header_compile ()
2010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2012 $as_echo_n "checking for $2... " >&6; }
2013 if eval \${$3+:} false; then :
2014 $as_echo_n "(cached) " >&6
2016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2017 /* end confdefs.h. */
2021 if ac_fn_c_try_compile "$LINENO"; then :
2026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2030 $as_echo "$ac_res" >&6; }
2031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2033 } # ac_fn_c_check_header_compile
2035 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2036 # ----------------------------------------------------
2037 # Tries to find if the field MEMBER exists in type AGGR, after including
2038 # INCLUDES, setting cache variable VAR accordingly.
2039 ac_fn_c_check_member ()
2041 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2043 $as_echo_n "checking for $2.$3... " >&6; }
2044 if eval \${$4+:} false; then :
2045 $as_echo_n "(cached) " >&6
2047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2060 if ac_fn_c_try_compile "$LINENO"; then :
2063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2064 /* end confdefs.h. */
2070 if (sizeof ac_aggr.$3)
2076 if ac_fn_c_try_compile "$LINENO"; then :
2081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2087 $as_echo "$ac_res" >&6; }
2088 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2090 } # ac_fn_c_check_member
2092 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2093 # ---------------------------------------------
2094 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2096 ac_fn_c_check_decl ()
2098 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2099 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2100 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2102 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2103 if eval \${$3+:} false; then :
2104 $as_echo_n "(cached) " >&6
2106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2107 /* end confdefs.h. */
2112 #ifndef $as_decl_name
2114 (void) $as_decl_use;
2116 (void) $as_decl_name;
2124 if ac_fn_c_try_compile "$LINENO"; then :
2129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2133 $as_echo "$ac_res" >&6; }
2134 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2136 } # ac_fn_c_check_decl
2138 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2139 # -------------------------------------------
2140 # Tests whether TYPE exists after having included INCLUDES, setting cache
2141 # variable VAR accordingly.
2142 ac_fn_c_check_type ()
2144 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2146 $as_echo_n "checking for $2... " >&6; }
2147 if eval \${$3+:} false; then :
2148 $as_echo_n "(cached) " >&6
2151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2152 /* end confdefs.h. */
2163 if ac_fn_c_try_compile "$LINENO"; then :
2164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2165 /* end confdefs.h. */
2176 if ac_fn_c_try_compile "$LINENO"; then :
2181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2187 $as_echo "$ac_res" >&6; }
2188 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2190 } # ac_fn_c_check_type
2192 # ac_fn_c_check_func LINENO FUNC VAR
2193 # ----------------------------------
2194 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2195 ac_fn_c_check_func ()
2197 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2199 $as_echo_n "checking for $2... " >&6; }
2200 if eval \${$3+:} false; then :
2201 $as_echo_n "(cached) " >&6
2203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2204 /* end confdefs.h. */
2205 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2207 #define $2 innocuous_$2
2209 /* System header to define __stub macros and hopefully few prototypes,
2210 which can conflict with char $2 (); below.
2211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2212 <limits.h> exists even on freestanding compilers. */
2215 # include <limits.h>
2217 # include <assert.h>
2222 /* Override any GCC internal prototype to avoid an error.
2223 Use char because int might match the return type of a GCC
2224 builtin and then its argument prototype would still apply. */
2229 /* The GNU C library defines this for functions which it implements
2230 to always fail with ENOSYS. Some functions are actually named
2231 something starting with __ and the normal name is an alias. */
2232 #if defined __stub_$2 || defined __stub___$2
2244 if ac_fn_c_try_link "$LINENO"; then :
2249 rm -f core conftest.err conftest.$ac_objext \
2250 conftest$ac_exeext conftest.$ac_ext
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2254 $as_echo "$ac_res" >&6; }
2255 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2257 } # ac_fn_c_check_func
2258 cat >config.log <<_ACEOF
2259 This file contains any messages produced by compilers while
2260 running configure, to aid debugging if configure makes a mistake.
2262 It was created by $as_me, which was
2263 generated by GNU Autoconf 2.68. Invocation command line was
2275 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2276 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2277 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2278 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2279 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2281 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2282 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2284 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2285 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2286 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2287 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2288 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2289 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2290 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2298 test -z "$as_dir" && as_dir=.
2299 $as_echo "PATH: $as_dir"
2315 # Keep a trace of the command line.
2316 # Strip out --no-create and --no-recursion so they do not pile up.
2317 # Strip out --silent because we don't want to record it for future runs.
2318 # Also quote any args containing shell meta-characters.
2319 # Make two passes to allow for proper duplicate-argument suppression.
2323 ac_must_keep_next=false
2329 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2330 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2331 | -silent | --silent | --silen | --sile | --sil)
2334 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2337 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2339 as_fn_append ac_configure_args1 " '$ac_arg'"
2340 if test $ac_must_keep_next = true; then
2341 ac_must_keep_next=false # Got value, back to normal.
2344 *=* | --config-cache | -C | -disable-* | --disable-* \
2345 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2346 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2347 | -with-* | --with-* | -without-* | --without-* | --x)
2348 case "$ac_configure_args0 " in
2349 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2352 -* ) ac_must_keep_next=true ;;
2355 as_fn_append ac_configure_args " '$ac_arg'"
2360 { ac_configure_args0=; unset ac_configure_args0;}
2361 { ac_configure_args1=; unset ac_configure_args1;}
2363 # When interrupted or exit'd, cleanup temporary files, and complete
2364 # config.log. We remove comments because anyway the quotes in there
2365 # would cause problems or look ugly.
2366 # WARNING: Use '\'' to represent an apostrophe within the trap.
2367 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2368 trap 'exit_status=$?
2369 # Save into config.log some information that might help in debugging.
2373 $as_echo "## ---------------- ##
2374 ## Cache variables. ##
2375 ## ---------------- ##"
2377 # The following way of writing the cache mishandles newlines in values,
2379 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2380 eval ac_val=\$$ac_var
2384 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2385 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2388 _ | IFS | as_nl) ;; #(
2389 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2390 *) { eval $ac_var=; unset $ac_var;} ;;
2395 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2396 *${as_nl}ac_space=\ *)
2398 "s/'\''/'\''\\\\'\'''\''/g;
2399 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2402 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2409 $as_echo "## ----------------- ##
2410 ## Output variables. ##
2411 ## ----------------- ##"
2413 for ac_var in $ac_subst_vars
2415 eval ac_val=\$$ac_var
2417 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2419 $as_echo "$ac_var='\''$ac_val'\''"
2423 if test -n "$ac_subst_files"; then
2424 $as_echo "## ------------------- ##
2425 ## File substitutions. ##
2426 ## ------------------- ##"
2428 for ac_var in $ac_subst_files
2430 eval ac_val=\$$ac_var
2432 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2434 $as_echo "$ac_var='\''$ac_val'\''"
2439 if test -s confdefs.h; then
2440 $as_echo "## ----------- ##
2447 test "$ac_signal" != 0 &&
2448 $as_echo "$as_me: caught signal $ac_signal"
2449 $as_echo "$as_me: exit $exit_status"
2451 rm -f core *.core core.conftest.* &&
2452 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2455 for ac_signal in 1 2 13 15; do
2456 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2460 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2461 rm -f -r conftest* confdefs.h
2463 $as_echo "/* confdefs.h */" > confdefs.h
2465 # Predefined preprocessor variables.
2467 cat >>confdefs.h <<_ACEOF
2468 #define PACKAGE_NAME "$PACKAGE_NAME"
2471 cat >>confdefs.h <<_ACEOF
2472 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2475 cat >>confdefs.h <<_ACEOF
2476 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2479 cat >>confdefs.h <<_ACEOF
2480 #define PACKAGE_STRING "$PACKAGE_STRING"
2483 cat >>confdefs.h <<_ACEOF
2484 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2487 cat >>confdefs.h <<_ACEOF
2488 #define PACKAGE_URL "$PACKAGE_URL"
2492 # Let the site file select an alternate cache file if it wants to.
2493 # Prefer an explicitly selected file to automatically selected ones.
2496 if test -n "$CONFIG_SITE"; then
2497 # We do not want a PATH search for config.site.
2498 case $CONFIG_SITE in #((
2499 -*) ac_site_file1=./$CONFIG_SITE;;
2500 */*) ac_site_file1=$CONFIG_SITE;;
2501 *) ac_site_file1=./$CONFIG_SITE;;
2503 elif test "x$prefix" != xNONE; then
2504 ac_site_file1=$prefix/share/config.site
2505 ac_site_file2=$prefix/etc/config.site
2507 ac_site_file1=$ac_default_prefix/share/config.site
2508 ac_site_file2=$ac_default_prefix/etc/config.site
2510 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2512 test "x$ac_site_file" = xNONE && continue
2513 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2515 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2516 sed 's/^/| /' "$ac_site_file" >&5
2518 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2520 as_fn_error $? "failed to load site
script $ac_site_file
2521 See \
`config.log' for more details" "$LINENO" 5; }
2525 if test -r "$cache_file"; then
2526 # Some versions of bash will fail to source /dev/null (special files
2527 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2528 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2530 $as_echo "$as_me: loading cache $cache_file" >&6;}
2532 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2533 *) . "./$cache_file";;
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2538 $as_echo "$as_me: creating cache $cache_file" >&6;}
2542 as_fn_append ac_header_list " stdlib.h"
2543 as_fn_append ac_header_list " unistd.h"
2544 as_fn_append ac_header_list " sys/param.h"
2545 # Check that the precious variables saved in the cache have kept the same
2547 ac_cache_corrupted=false
2548 for ac_var in $ac_precious_vars; do
2549 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2550 eval ac_new_set=\$ac_env_${ac_var}_set
2551 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2552 eval ac_new_val=\$ac_env_${ac_var}_value
2553 case $ac_old_set,$ac_new_set in
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2556 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2557 ac_cache_corrupted=: ;;
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2560 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2561 ac_cache_corrupted=: ;;
2564 if test "x$ac_old_val" != "x$ac_new_val"; then
2565 # differences in whitespace do not lead to failure.
2566 ac_old_val_w=`echo x
$ac_old_val`
2567 ac_new_val_w=`echo x
$ac_new_val`
2568 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2570 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2571 ac_cache_corrupted=:
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2574 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2575 eval $ac_var=\$ac_old_val
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2578 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2580 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2583 # Pass precious variables to config.status.
2584 if test "$ac_new_set" = set; then
2586 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2587 *) ac_arg=$ac_var=$ac_new_val ;;
2589 case " $ac_configure_args " in
2590 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2591 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2595 if $ac_cache_corrupted; then
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2599 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2600 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2602 ## -------------------- ##
2603 ## Main body of script. ##
2604 ## -------------------- ##
2607 ac_cpp='$CPP $CPPFLAGS'
2608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2615 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2616 if test -f "$ac_dir/install-sh"; then
2618 ac_install_sh="$ac_aux_dir/install-sh -c"
2620 elif test -f "$ac_dir/install.sh"; then
2622 ac_install_sh="$ac_aux_dir/install.sh -c"
2624 elif test -f "$ac_dir/shtool"; then
2626 ac_install_sh="$ac_aux_dir/shtool install -c"
2630 if test -z "$ac_aux_dir"; then
2631 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2634 # These three variables are undocumented and unsupported,
2635 # and are intended to be withdrawn in a future Autoconf release.
2636 # They can cause serious problems if a builder's source tree is in a directory
2637 # whose full name contains unusual characters.
2638 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2639 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2640 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2644 # Check what host we are running on.
2645 # If a target is not suggested, we use this one.
2646 # Note that what we call a target, Autoconf calls a host.
2647 # Make sure we can run config.sub.
2648 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2649 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2652 $as_echo_n "checking build system type... " >&6; }
2653 if ${ac_cv_build+:} false; then :
2654 $as_echo_n "(cached) " >&6
2656 ac_build_alias=$build_alias
2657 test "x$ac_build_alias" = x &&
2658 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2659 test "x$ac_build_alias" = x &&
2660 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2661 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2662 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2666 $as_echo "$ac_cv_build" >&6; }
2667 case $ac_cv_build in
2669 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2672 ac_save_IFS=$IFS; IFS='-'
2678 # Remember, the first character of IFS is used to create $*,
2679 # except with old shells:
2682 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2686 $as_echo_n "checking host system type... " >&6; }
2687 if ${ac_cv_host+:} false; then :
2688 $as_echo_n "(cached) " >&6
2690 if test "x$host_alias" = x; then
2691 ac_cv_host=$ac_cv_build
2693 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2694 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2699 $as_echo "$ac_cv_host" >&6; }
2702 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2705 ac_save_IFS=$IFS; IFS='-'
2711 # Remember, the first character of IFS is used to create $*,
2712 # except with old shells:
2715 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2719 # The AROS target is slightly different to the normal GNU style
2720 # format. We don't have the middle part, and we reverse the order
2721 # of the $(CPU) and $(OS) bits.
2723 # Don't strip the version of the target yet, it might be
2724 # useful on some systems.
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2727 $as_echo_n "checking for AROS style target... " >&6; }
2729 if test "$target" = "NONE" ; then
2730 target=$host_os-$host_cpu
2732 if test "$target" = "" ; then
2733 target=$host_os-$host_cpu
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2737 $as_echo "$target" >&6; }
2739 if test "$host_os" = "mingw32" ; then
2743 # Don't know where else to put this...
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2745 $as_echo_n "checking building AROS in... " >&6; }
2746 AROS_BUILDDIR=`${PWDCMD-pwd}`
2747 AROS_BUILDDIR_UNIX=${PWD}
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2749 $as_echo "$AROS_BUILDDIR" >&6; }
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2752 $as_echo_n "checking AROS source in... " >&6; }
2753 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2756 $as_echo "$SRCDIR" >&6; }
2758 # Parse the target field into something useful.
2760 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2761 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2764 # Some debug output, to be removed again.
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2766 $as_echo_n "checking for target system (debug output)... " >&6; }
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2768 $as_echo "$target_os" >&6; }
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2770 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2772 $as_echo "$target_cpu" >&6; }
2774 aros_default_wbwidth=800
2775 aros_default_wbheight=600
2776 aros_default_wbdepth=4
2779 # The first step is to find the host binaries.
2780 # Check for a compiler.
2781 # Due to a bug in autoconf check for c++ compiler first.
2782 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2784 ac_cpp='$CXXCPP $CPPFLAGS'
2785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2788 if test -z "$CXX"; then
2789 if test -n "$CCC"; then
2792 if test -n "$ac_tool_prefix"; then
2793 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2796 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2798 $as_echo_n "checking for $ac_word... " >&6; }
2799 if ${ac_cv_prog_CXX+:} false; then :
2800 $as_echo_n "(cached) " >&6
2802 if test -n "$CXX"; then
2803 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809 test -z "$as_dir" && as_dir=.
2810 for ac_exec_ext in '' $ac_executable_extensions; do
2811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2812 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2823 if test -n "$CXX"; then
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2825 $as_echo "$CXX" >&6; }
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2828 $as_echo "no" >&6; }
2832 test -n "$CXX" && break
2835 if test -z "$CXX"; then
2837 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2839 # Extract the first word of "$ac_prog", so it can be a program name with args.
2840 set dummy $ac_prog; ac_word=$2
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842 $as_echo_n "checking for $ac_word... " >&6; }
2843 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2844 $as_echo_n "(cached) " >&6
2846 if test -n "$ac_ct_CXX"; then
2847 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2853 test -z "$as_dir" && as_dir=.
2854 for ac_exec_ext in '' $ac_executable_extensions; do
2855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2856 ac_cv_prog_ac_ct_CXX="$ac_prog"
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2867 if test -n "$ac_ct_CXX"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2869 $as_echo "$ac_ct_CXX" >&6; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2876 test -n "$ac_ct_CXX" && break
2879 if test "x$ac_ct_CXX" = x; then
2882 case $cross_compiling:$ac_tool_warned in
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2886 ac_tool_warned=yes ;;
2894 # Provide some information about the compiler.
2895 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2898 for ac_option in --version -v -V -qversion; do
2899 { { ac_try="$ac_compiler $ac_option >&5"
2901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2902 *) ac_try_echo
=$ac_try;;
2904 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2905 $as_echo "$ac_try_echo"; } >&5
2906 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2908 if test -s conftest.err
; then
2910 ... rest of stderr output deleted ...
2911 10q' conftest.err
>conftest.er1
2912 cat conftest.er1
>&5
2914 rm -f conftest.er1 conftest.err
2915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2916 test $ac_status = 0; }
2919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2920 /* end confdefs.h. */
2930 ac_clean_files_save
=$ac_clean_files
2931 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2932 # Try to create an executable without -o first, disregard a.out.
2933 # It will help us diagnose broken compilers, and finding out an intuition
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2936 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2937 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2939 # The possible output files:
2940 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2943 for ac_file
in $ac_files
2946 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2947 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2952 if { { ac_try
="$ac_link_default"
2954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2955 *) ac_try_echo=$ac_try;;
2957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2958 $as_echo "$ac_try_echo"; } >&5
2959 (eval "$ac_link_default") 2>&5
2961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2962 test $ac_status = 0; }; then :
2963 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2964 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2965 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2966 # so that the user can short-circuit this test for compilers unknown to
2968 for ac_file in $ac_files ''
2970 test -f "$ac_file" || continue
2972 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2975 # We found the default executable, but exeext='' is most
2979 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2981 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2983 # We set ac_cv_exeext here because the later test for it is not
2984 # safe: cross compilers may not add the suffix if given an `-o'
2985 # argument, so we may need to know it at that point already.
2986 # Even if this section looks crufty: it has the advantage of
2993 test "$ac_cv_exeext" = no && ac_cv_exeext=
2998 if test -z "$ac_file"; then :
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000 $as_echo "no" >&6; }
3001 $as_echo "$as_me: failed program was:" >&5
3002 sed 's
/^
/|
/' conftest.$ac_ext >&5
3004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3005 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3006 as_fn_error 77 "C++ compiler cannot create executables
3007 See \`config.log
' for more details" "$LINENO" 5; }
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3010 $as_echo "yes" >&6; }
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3013 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3015 $as_echo "$ac_file" >&6; }
3016 ac_exeext=$ac_cv_exeext
3018 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3019 ac_clean_files=$ac_clean_files_save
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3021 $as_echo_n "checking for suffix of executables... " >&6; }
3022 if { { ac_try="$ac_link"
3024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025 *) ac_try_echo=$ac_try;;
3027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3028 $as_echo "$ac_try_echo"; } >&5
3029 (eval "$ac_link") 2>&5
3031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3032 test $ac_status = 0; }; then :
3033 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3034 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3035 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3037 for ac_file
in conftest.exe conftest conftest.
*; do
3038 test -f "$ac_file" ||
continue
3040 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3041 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3049 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3050 See \`config.log' for more details" "$LINENO" 5; }
3052 rm -f conftest conftest
$ac_cv_exeext
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3054 $as_echo "$ac_cv_exeext" >&6; }
3056 rm -f conftest.
$ac_ext
3057 EXEEXT
=$ac_cv_exeext
3059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3065 FILE *f = fopen ("conftest.out", "w");
3066 return ferror (f) || fclose (f) != 0;
3072 ac_clean_files
="$ac_clean_files conftest.out"
3073 # Check that the compiler produces executables we can run. If not, either
3074 # the compiler is broken, or we cross compile.
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3076 $as_echo_n "checking whether we are cross compiling... " >&6; }
3077 if test "$cross_compiling" != yes; then
3078 { { ac_try
="$ac_link"
3080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3084 $as_echo "$ac_try_echo"; } >&5
3085 (eval "$ac_link") 2>&5
3087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3088 test $ac_status = 0; }
3089 if { ac_try='./conftest$ac_cv_exeext'
3090 { { case "(($ac_try" in
3091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3092 *) ac_try_echo
=$ac_try;;
3094 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3095 $as_echo "$ac_try_echo"; } >&5
3096 (eval "$ac_try") 2>&5
3098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3099 test $ac_status = 0; }; }; then
3102 if test "$cross_compiling" = maybe
; then
3105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3107 as_fn_error $?
"cannot run C++ compiled programs.
3108 If you meant to cross compile, use \`--host'.
3109 See \`config.log' for more details" "$LINENO" 5; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3114 $as_echo "$cross_compiling" >&6; }
3116 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3117 ac_clean_files
=$ac_clean_files_save
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3119 $as_echo_n "checking for suffix of object files... " >&6; }
3120 if ${ac_cv_objext+:} false
; then :
3121 $as_echo_n "(cached) " >&6
3123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3124 /* end confdefs.h. */
3134 rm -f conftest.o conftest.obj
3135 if { { ac_try
="$ac_compile"
3137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141 $as_echo "$ac_try_echo"; } >&5
3142 (eval "$ac_compile") 2>&5
3144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3145 test $ac_status = 0; }; then :
3146 for ac_file in conftest.o conftest.obj conftest.*; do
3147 test -f "$ac_file" || continue;
3149 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3150 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3155 $as_echo "$as_me: failed program was:" >&5
3156 sed 's/^/| /' conftest.$ac_ext >&5
3158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3160 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3161 See \
`config.log' for more details" "$LINENO" 5; }
3163 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3166 $as_echo "$ac_cv_objext" >&6; }
3167 OBJEXT=$ac_cv_objext
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3170 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3171 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3172 $as_echo_n "(cached) " >&6
3174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3175 /* end confdefs.h. */
3188 if ac_fn_cxx_try_compile "$LINENO"; then :
3193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3194 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3198 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3199 if test $ac_compiler_gnu = yes; then
3204 ac_test_CXXFLAGS=${CXXFLAGS+set}
3205 ac_save_CXXFLAGS=$CXXFLAGS
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3207 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3208 if ${ac_cv_prog_cxx_g+:} false; then :
3209 $as_echo_n "(cached) " >&6
3211 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3212 ac_cxx_werror_flag=yes
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3226 if ac_fn_cxx_try_compile "$LINENO"; then :
3227 ac_cv_prog_cxx_g=yes
3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3231 /* end confdefs.h. */
3241 if ac_fn_cxx_try_compile "$LINENO"; then :
3244 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3247 /* end confdefs.h. */
3257 if ac_fn_cxx_try_compile "$LINENO"; then :
3258 ac_cv_prog_cxx_g=yes
3260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3265 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3268 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3269 if test "$ac_test_CXXFLAGS" = set; then
3270 CXXFLAGS=$ac_save_CXXFLAGS
3271 elif test $ac_cv_prog_cxx_g = yes; then
3272 if test "$GXX" = yes; then
3278 if test "$GXX" = yes; then
3285 ac_cpp='$CPP $CPPFLAGS'
3286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3291 ac_cpp='$CPP $CPPFLAGS'
3292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3295 if test -n "$ac_tool_prefix"; then
3296 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3297 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3299 $as_echo_n "checking for $ac_word... " >&6; }
3300 if ${ac_cv_prog_CC+:} false; then :
3301 $as_echo_n "(cached) " >&6
3303 if test -n "$CC"; then
3304 ac_cv_prog_CC="$CC" # Let the user override the test.
3306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310 test -z "$as_dir" && as_dir=.
3311 for ac_exec_ext in '' $ac_executable_extensions; do
3312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3313 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3324 if test -n "$CC"; then
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3326 $as_echo "$CC" >&6; }
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3329 $as_echo "no" >&6; }
3334 if test -z "$ac_cv_prog_CC"; then
3336 # Extract the first word of "gcc", so it can be a program name with args.
3337 set dummy gcc; ac_word=$2
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3339 $as_echo_n "checking for $ac_word... " >&6; }
3340 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3341 $as_echo_n "(cached) " >&6
3343 if test -n "$ac_ct_CC"; then
3344 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350 test -z "$as_dir" && as_dir=.
3351 for ac_exec_ext in '' $ac_executable_extensions; do
3352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3353 ac_cv_prog_ac_ct_CC="gcc"
3354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3364 if test -n "$ac_ct_CC"; then
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3366 $as_echo "$ac_ct_CC" >&6; }
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3369 $as_echo "no" >&6; }
3372 if test "x$ac_ct_CC" = x; then
3375 case $cross_compiling:$ac_tool_warned in
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3379 ac_tool_warned=yes ;;
3387 if test -z "$CC"; then
3388 if test -n "$ac_tool_prefix"; then
3389 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3390 set dummy ${ac_tool_prefix}cc; ac_word=$2
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3392 $as_echo_n "checking for $ac_word... " >&6; }
3393 if ${ac_cv_prog_CC+:} false; then :
3394 $as_echo_n "(cached) " >&6
3396 if test -n "$CC"; then
3397 ac_cv_prog_CC="$CC" # Let the user override the test.
3399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3403 test -z "$as_dir" && as_dir=.
3404 for ac_exec_ext in '' $ac_executable_extensions; do
3405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3406 ac_cv_prog_CC="${ac_tool_prefix}cc"
3407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3417 if test -n "$CC"; then
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3419 $as_echo "$CC" >&6; }
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3422 $as_echo "no" >&6; }
3428 if test -z "$CC"; then
3429 # Extract the first word of "cc", so it can be a program name with args.
3430 set dummy cc; ac_word=$2
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3432 $as_echo_n "checking for $ac_word... " >&6; }
3433 if ${ac_cv_prog_CC+:} false; then :
3434 $as_echo_n "(cached) " >&6
3436 if test -n "$CC"; then
3437 ac_cv_prog_CC="$CC" # Let the user override the test.
3440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 test -z "$as_dir" && as_dir=.
3445 for ac_exec_ext in '' $ac_executable_extensions; do
3446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3447 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3448 ac_prog_rejected=yes
3452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3459 if test $ac_prog_rejected = yes; then
3460 # We found a bogon in the path, so make sure we never use it.
3461 set dummy $ac_cv_prog_CC
3463 if test $# != 0; then
3464 # We chose a different compiler from the bogus one.
3465 # However, it has the same basename, so the bogon will be chosen
3466 # first if we set CC to just the basename; use the full file name.
3468 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3474 if test -n "$CC"; then
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3476 $as_echo "$CC" >&6; }
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3479 $as_echo "no" >&6; }
3484 if test -z "$CC"; then
3485 if test -n "$ac_tool_prefix"; then
3486 for ac_prog in cl.exe
3488 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3489 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3491 $as_echo_n "checking for $ac_word... " >&6; }
3492 if ${ac_cv_prog_CC+:} false; then :
3493 $as_echo_n "(cached) " >&6
3495 if test -n "$CC"; then
3496 ac_cv_prog_CC="$CC" # Let the user override the test.
3498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3502 test -z "$as_dir" && as_dir=.
3503 for ac_exec_ext in '' $ac_executable_extensions; do
3504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3505 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3516 if test -n "$CC"; then
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3518 $as_echo "$CC" >&6; }
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3521 $as_echo "no" >&6; }
3525 test -n "$CC" && break
3528 if test -z "$CC"; then
3530 for ac_prog in cl.exe
3532 # Extract the first word of "$ac_prog", so it can be a program name with args.
3533 set dummy $ac_prog; ac_word=$2
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3535 $as_echo_n "checking for $ac_word... " >&6; }
3536 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3537 $as_echo_n "(cached) " >&6
3539 if test -n "$ac_ct_CC"; then
3540 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3546 test -z "$as_dir" && as_dir=.
3547 for ac_exec_ext in '' $ac_executable_extensions; do
3548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3549 ac_cv_prog_ac_ct_CC="$ac_prog"
3550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3559 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3560 if test -n "$ac_ct_CC"; then
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3562 $as_echo "$ac_ct_CC" >&6; }
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565 $as_echo "no" >&6; }
3569 test -n "$ac_ct_CC" && break
3572 if test "x$ac_ct_CC" = x; then
3575 case $cross_compiling:$ac_tool_warned in
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3579 ac_tool_warned=yes ;;
3588 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3590 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3591 See \
`config.log' for more details" "$LINENO" 5; }
3593 # Provide some information about the compiler.
3594 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3597 for ac_option in --version -v -V -qversion; do
3598 { { ac_try="$ac_compiler $ac_option >&5"
3600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3601 *) ac_try_echo
=$ac_try;;
3603 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3604 $as_echo "$ac_try_echo"; } >&5
3605 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3607 if test -s conftest.err
; then
3609 ... rest of stderr output deleted ...
3610 10q' conftest.err
>conftest.er1
3611 cat conftest.er1
>&5
3613 rm -f conftest.er1 conftest.err
3614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3615 test $ac_status = 0; }
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3619 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3620 if ${ac_cv_c_compiler_gnu+:} false
; then :
3621 $as_echo_n "(cached) " >&6
3623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h. */
3637 if ac_fn_c_try_compile
"$LINENO"; then :
3642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3643 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3647 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3648 if test $ac_compiler_gnu = yes; then
3653 ac_test_CFLAGS
=${CFLAGS+set}
3654 ac_save_CFLAGS
=$CFLAGS
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3656 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3657 if ${ac_cv_prog_cc_g+:} false
; then :
3658 $as_echo_n "(cached) " >&6
3660 ac_save_c_werror_flag
=$ac_c_werror_flag
3661 ac_c_werror_flag
=yes
3664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3665 /* end confdefs.h. */
3675 if ac_fn_c_try_compile
"$LINENO"; then :
3679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3680 /* end confdefs.h. */
3690 if ac_fn_c_try_compile
"$LINENO"; then :
3693 ac_c_werror_flag
=$ac_save_c_werror_flag
3695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3706 if ac_fn_c_try_compile
"$LINENO"; then :
3709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3714 ac_c_werror_flag
=$ac_save_c_werror_flag
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3717 $as_echo "$ac_cv_prog_cc_g" >&6; }
3718 if test "$ac_test_CFLAGS" = set; then
3719 CFLAGS
=$ac_save_CFLAGS
3720 elif test $ac_cv_prog_cc_g = yes; then
3721 if test "$GCC" = yes; then
3727 if test "$GCC" = yes; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3734 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3735 if ${ac_cv_prog_cc_c89+:} false
; then :
3736 $as_echo_n "(cached) " >&6
3738 ac_cv_prog_cc_c89
=no
3740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3741 /* end confdefs.h. */
3744 #include <sys/types.h>
3745 #include <sys/stat.h>
3746 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3747 struct buf { int x; };
3748 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3749 static char *e (p, i)
3755 static char *f (char * (*g) (char **, int), char **p, ...)
3760 s = g (p, va_arg (v,int));
3765 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3766 function prototypes and stuff, but not '\xHH' hex character constants.
3767 These don't provoke an error unfortunately, instead are silently treated
3768 as 'x'. The following induces an error, until -std is added to get
3769 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3770 array size at least. It's necessary to write '\x00'==0 to get something
3771 that's true only with -std. */
3772 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3774 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3775 inside strings and character constants. */
3777 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3779 int test (int i, double x);
3780 struct s1 {int (*f) (int a);};
3781 struct s2 {int (*f) (double a);};
3782 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3788 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3793 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3794 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3796 CC
="$ac_save_CC $ac_arg"
3797 if ac_fn_c_try_compile
"$LINENO"; then :
3798 ac_cv_prog_cc_c89
=$ac_arg
3800 rm -f core conftest.err conftest.
$ac_objext
3801 test "x$ac_cv_prog_cc_c89" != "xno" && break
3803 rm -f conftest.
$ac_ext
3808 case "x$ac_cv_prog_cc_c89" in
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3811 $as_echo "none needed" >&6; } ;;
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3814 $as_echo "unsupported" >&6; } ;;
3816 CC
="$CC $ac_cv_prog_cc_c89"
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3818 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3820 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3825 ac_cpp
='$CPP $CPPFLAGS'
3826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3830 case $ac_cv_prog_cc_stdc in #(
3832 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3835 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3836 if ${ac_cv_prog_cc_c99+:} false
; then :
3837 $as_echo_n "(cached) " >&6
3839 ac_cv_prog_cc_c99
=no
3841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h. */
3844 #include <stdbool.h>
3849 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3850 #define debug(...) fprintf (stderr, __VA_ARGS__)
3851 #define showlist(...) puts (#__VA_ARGS__)
3852 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3854 test_varargs_macros (void)
3859 debug ("X = %d\n", x);
3860 showlist (The first, second, and third items.);
3861 report (x>y, "x is %d but y is %d", x, y);
3864 // Check long long types.
3865 #define BIG64 18446744073709551615ull
3866 #define BIG32 4294967295ul
3867 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3869 your preprocessor is broken;
3873 your preprocessor is broken;
3875 static long long int bignum = -9223372036854775807LL;
3876 static unsigned long long int ubignum = BIG64;
3878 struct incomplete_array
3886 const wchar_t *name;
3890 typedef const char *ccp;
3893 test_restrict (ccp restrict text)
3895 // See if C++-style comments work.
3896 // Iterate through items via the restricted pointer.
3897 // Also check for declarations in for loops.
3898 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3903 // Check varargs and va_copy.
3905 test_varargs (const char *format, ...)
3908 va_start (args, format);
3910 va_copy (args_copy, args);
3921 str = va_arg (args_copy, const char *);
3924 number = va_arg (args_copy, int);
3927 fnumber = va_arg (args_copy, double);
3942 _Bool success = false;
3945 if (test_restrict ("String literal") == 0)
3947 char *restrict newvar = "Another string";
3950 test_varargs ("s, d' f .", "string", 65, 34.234);
3951 test_varargs_macros ();
3953 // Check flexible array members.
3954 struct incomplete_array *ia =
3955 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3957 for (int i = 0; i < ia->datasize; ++i)
3958 ia->data[i] = i * 1.234;
3960 // Check named initializers.
3961 struct named_init ni = {
3963 .name = L"Test wide string",
3964 .average = 543.34343,
3969 int dynamic_array[ni.number];
3970 dynamic_array[ni.number - 1] = 543;
3972 // work around unused variable warnings
3973 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3974 || dynamic_array[ni.number - 1] != 543);
3980 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -xc99=all
-qlanglvl=extc99
3982 CC
="$ac_save_CC $ac_arg"
3983 if ac_fn_c_try_compile
"$LINENO"; then :
3984 ac_cv_prog_cc_c99
=$ac_arg
3986 rm -f core conftest.err conftest.
$ac_objext
3987 test "x$ac_cv_prog_cc_c99" != "xno" && break
3989 rm -f conftest.
$ac_ext
3994 case "x$ac_cv_prog_cc_c99" in
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3997 $as_echo "none needed" >&6; } ;;
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4000 $as_echo "unsupported" >&6; } ;;
4002 CC
="$CC $ac_cv_prog_cc_c99"
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4004 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4006 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4007 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4010 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4011 if ${ac_cv_prog_cc_c89+:} false
; then :
4012 $as_echo_n "(cached) " >&6
4014 ac_cv_prog_cc_c89
=no
4016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4017 /* end confdefs.h. */
4020 #include <sys/types.h>
4021 #include <sys/stat.h>
4022 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4023 struct buf { int x; };
4024 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4025 static char *e (p, i)
4031 static char *f (char * (*g) (char **, int), char **p, ...)
4036 s = g (p, va_arg (v,int));
4041 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4042 function prototypes and stuff, but not '\xHH' hex character constants.
4043 These don't provoke an error unfortunately, instead are silently treated
4044 as 'x'. The following induces an error, until -std is added to get
4045 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4046 array size at least. It's necessary to write '\x00'==0 to get something
4047 that's true only with -std. */
4048 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4050 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4051 inside strings and character constants. */
4053 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4055 int test (int i, double x);
4056 struct s1 {int (*f) (int a);};
4057 struct s2 {int (*f) (double a);};
4058 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4064 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4069 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4070 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4072 CC
="$ac_save_CC $ac_arg"
4073 if ac_fn_c_try_compile
"$LINENO"; then :
4074 ac_cv_prog_cc_c89
=$ac_arg
4076 rm -f core conftest.err conftest.
$ac_objext
4077 test "x$ac_cv_prog_cc_c89" != "xno" && break
4079 rm -f conftest.
$ac_ext
4084 case "x$ac_cv_prog_cc_c89" in
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4087 $as_echo "none needed" >&6; } ;;
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4090 $as_echo "unsupported" >&6; } ;;
4092 CC
="$CC $ac_cv_prog_cc_c89"
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4094 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4096 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4097 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4099 ac_cv_prog_cc_stdc
=no
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4106 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4107 if ${ac_cv_prog_cc_stdc+:} false
; then :
4108 $as_echo_n "(cached) " >&6
4111 case $ac_cv_prog_cc_stdc in #(
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4114 $as_echo "unsupported" >&6; } ;; #(
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4117 $as_echo "none needed" >&6; } ;; #(
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4120 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4124 ac_cpp
='$CPP $CPPFLAGS'
4125 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4126 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4129 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4130 # On Suns, sometimes $CPP names a directory.
4131 if test -n "$CPP" && test -d "$CPP"; then
4134 if test -z "$CPP"; then
4135 if ${ac_cv_prog_CPP+:} false
; then :
4136 $as_echo_n "(cached) " >&6
4138 # Double quotes because CPP needs to be expanded
4139 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4142 for ac_c_preproc_warn_flag
in '' yes
4144 # Use a header file that comes with gcc, so configuring glibc
4145 # with a fresh cross-compiler works.
4146 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4147 # <limits.h> exists even on freestanding compilers.
4148 # On the NeXT, cc -E runs the code through the compiler's parser,
4149 # not just through cpp. "Syntax error" is here to catch this case.
4150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4153 # include <limits.h>
4155 # include <assert.h>
4159 if ac_fn_c_try_cpp
"$LINENO"; then :
4162 # Broken: fails on valid input.
4165 rm -f conftest.err conftest.i conftest.
$ac_ext
4167 # OK, works on sane cases. Now check whether nonexistent headers
4168 # can be detected and how.
4169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4171 #include <ac_nonexistent.h>
4173 if ac_fn_c_try_cpp
"$LINENO"; then :
4174 # Broken: success on invalid input.
4177 # Passes both tests.
4181 rm -f conftest.err conftest.i conftest.
$ac_ext
4184 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4185 rm -f conftest.i conftest.err conftest.
$ac_ext
4186 if $ac_preproc_ok; then :
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4199 $as_echo "$CPP" >&6; }
4201 for ac_c_preproc_warn_flag
in '' yes
4203 # Use a header file that comes with gcc, so configuring glibc
4204 # with a fresh cross-compiler works.
4205 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4206 # <limits.h> exists even on freestanding compilers.
4207 # On the NeXT, cc -E runs the code through the compiler's parser,
4208 # not just through cpp. "Syntax error" is here to catch this case.
4209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4212 # include <limits.h>
4214 # include <assert.h>
4218 if ac_fn_c_try_cpp
"$LINENO"; then :
4221 # Broken: fails on valid input.
4224 rm -f conftest.err conftest.i conftest.
$ac_ext
4226 # OK, works on sane cases. Now check whether nonexistent headers
4227 # can be detected and how.
4228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4229 /* end confdefs.h. */
4230 #include <ac_nonexistent.h>
4232 if ac_fn_c_try_cpp
"$LINENO"; then :
4233 # Broken: success on invalid input.
4236 # Passes both tests.
4240 rm -f conftest.err conftest.i conftest.
$ac_ext
4243 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4244 rm -f conftest.i conftest.err conftest.
$ac_ext
4245 if $ac_preproc_ok; then :
4248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4250 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4251 See \`config.log' for more details" "$LINENO" 5; }
4255 ac_cpp
='$CPP $CPPFLAGS'
4256 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4257 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4258 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4261 # Check for a compatible awk
4262 for ac_prog
in gawk nawk
4264 # Extract the first word of "$ac_prog", so it can be a program name with args.
4265 set dummy
$ac_prog; ac_word
=$2
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4267 $as_echo_n "checking for $ac_word... " >&6; }
4268 if ${ac_cv_prog_AWK+:} false
; then :
4269 $as_echo_n "(cached) " >&6
4271 if test -n "$AWK"; then
4272 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4278 test -z "$as_dir" && as_dir
=.
4279 for ac_exec_ext
in '' $ac_executable_extensions; do
4280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4281 ac_cv_prog_AWK
="$ac_prog"
4282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 if test -n "$AWK"; then
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4294 $as_echo "$AWK" >&6; }
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4297 $as_echo "no" >&6; }
4301 test -n "$AWK" && break
4304 if test "$AWK" = ""; then
4305 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4307 # Extract the first word of "mmake", so it can be a program name with args.
4308 set dummy mmake
; ac_word
=$2
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4310 $as_echo_n "checking for $ac_word... " >&6; }
4311 if ${ac_cv_prog_MMAKE+:} false
; then :
4312 $as_echo_n "(cached) " >&6
4314 if test -n "$MMAKE"; then
4315 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4321 test -z "$as_dir" && as_dir
=.
4322 for ac_exec_ext
in '' $ac_executable_extensions; do
4323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4324 ac_cv_prog_MMAKE
="mmake "
4325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4334 MMAKE
=$ac_cv_prog_MMAKE
4335 if test -n "$MMAKE"; then
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4337 $as_echo "$MMAKE" >&6; }
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4345 # Perform some default variable assignments. Note all of these will be
4346 # Regenerated from the script, so there is no need to cache them.
4348 aros_host_cpp
="$CPP"
4350 aros_host_cxx
="$CXX"
4351 if test "$GCC" = "yes"; then
4352 aros_gcc_ld
=`$CC -print-prog-name=ld`
4353 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4354 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4356 $as_echo_n "checking for $ac_word... " >&6; }
4357 if ${ac_cv_path_aros_host_ld+:} false
; then :
4358 $as_echo_n "(cached) " >&6
4360 case $aros_host_ld in
4362 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4366 for as_dir
in `dirname $aros_gcc_ld`
4369 test -z "$as_dir" && as_dir
=.
4370 for ac_exec_ext
in '' $ac_executable_extensions; do
4371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4372 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 aros_host_ld
=$ac_cv_path_aros_host_ld
4384 if test -n "$aros_host_ld"; then
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4386 $as_echo "$aros_host_ld" >&6; }
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4389 $as_echo "no" >&6; }
4394 if test "$aros_host_ld" = ""; then
4395 # Extract the first word of "ld", so it can be a program name with args.
4396 set dummy ld
; ac_word
=$2
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398 $as_echo_n "checking for $ac_word... " >&6; }
4399 if ${ac_cv_path_aros_host_ld+:} false
; then :
4400 $as_echo_n "(cached) " >&6
4402 case $aros_host_ld in
4404 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4411 test -z "$as_dir" && as_dir
=.
4412 for ac_exec_ext
in '' $ac_executable_extensions; do
4413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4414 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4425 aros_host_ld
=$ac_cv_path_aros_host_ld
4426 if test -n "$aros_host_ld"; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4428 $as_echo "$aros_host_ld" >&6; }
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4436 if test "$aros_host_ld" = ""; then
4437 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4439 aros_host_make
="make"
4440 aros_host_cflags
=$CFLAGS
4441 aros_host_cxxflags
=$CXXFLAGS
4442 aros_host_ldflags
=$LDFLAGS
4443 aros_host_debug
="-g -O0"
4444 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4445 aros_host_mkargs
="--no-print-directory"
4446 aros_host_exe_suffix
="$EXEEXT"
4447 aros_host_lib_suffix
=""
4449 # Ignore all compliance, AROS ROMs = 0
4450 # KickStart v1.0 = 30
4451 # KickStart v1.3 = 34
4452 # KickStart v2.0 = 37
4453 # KickStart v3.0 = 39
4454 # KickStart v3.1 = 40
4456 aros_amigaos_compliance
=0
4458 for ac_prog
in aclocal aclocal19 aclocal-1.9
4460 # Extract the first word of "$ac_prog", so it can be a program name with args.
4461 set dummy
$ac_prog; ac_word
=$2
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4463 $as_echo_n "checking for $ac_word... " >&6; }
4464 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4465 $as_echo_n "(cached) " >&6
4467 if test -n "$aros_host_aclocal"; then
4468 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4474 test -z "$as_dir" && as_dir
=.
4475 for ac_exec_ext
in '' $ac_executable_extensions; do
4476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4477 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4487 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4488 if test -n "$aros_host_aclocal"; then
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4490 $as_echo "$aros_host_aclocal" >&6; }
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4493 $as_echo "no" >&6; }
4497 test -n "$aros_host_aclocal" && break
4500 for ac_prog
in autoconf autoconf259 autoconf253
4502 # Extract the first word of "$ac_prog", so it can be a program name with args.
4503 set dummy
$ac_prog; ac_word
=$2
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4505 $as_echo_n "checking for $ac_word... " >&6; }
4506 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4507 $as_echo_n "(cached) " >&6
4509 if test -n "$aros_host_autoconf"; then
4510 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4516 test -z "$as_dir" && as_dir
=.
4517 for ac_exec_ext
in '' $ac_executable_extensions; do
4518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4519 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4529 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4530 if test -n "$aros_host_autoconf"; then
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4532 $as_echo "$aros_host_autoconf" >&6; }
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535 $as_echo "no" >&6; }
4539 test -n "$aros_host_autoconf" && break
4542 for ac_prog
in autoheader autoheader259 autoheader253
4544 # Extract the first word of "$ac_prog", so it can be a program name with args.
4545 set dummy
$ac_prog; ac_word
=$2
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4547 $as_echo_n "checking for $ac_word... " >&6; }
4548 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4549 $as_echo_n "(cached) " >&6
4551 if test -n "$aros_host_autoheader"; then
4552 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4558 test -z "$as_dir" && as_dir
=.
4559 for ac_exec_ext
in '' $ac_executable_extensions; do
4560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4561 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4572 if test -n "$aros_host_autoheader"; then
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4574 $as_echo "$aros_host_autoheader" >&6; }
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4577 $as_echo "no" >&6; }
4581 test -n "$aros_host_autoheader" && break
4584 for ac_prog
in automake automake19 automake-1.9
4586 # Extract the first word of "$ac_prog", so it can be a program name with args.
4587 set dummy
$ac_prog; ac_word
=$2
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4589 $as_echo_n "checking for $ac_word... " >&6; }
4590 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4591 $as_echo_n "(cached) " >&6
4593 if test -n "$aros_host_automake"; then
4594 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4600 test -z "$as_dir" && as_dir
=.
4601 for ac_exec_ext
in '' $ac_executable_extensions; do
4602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4603 ac_cv_prog_aros_host_automake
="$ac_prog"
4604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4613 aros_host_automake
=$ac_cv_prog_aros_host_automake
4614 if test -n "$aros_host_automake"; then
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4616 $as_echo "$aros_host_automake" >&6; }
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4619 $as_echo "no" >&6; }
4623 test -n "$aros_host_automake" && break
4627 if test "$aros_host_aclocal" = ""; then
4628 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4630 if test "$aros_host_automake" = ""; then
4631 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4634 case "$aros_host_cc" in
4636 aros_host_cc_pipe
="-pipe"
4639 aros_host_cc_pipe
=""
4642 aros_host_cc_pipe
=""
4646 aros_kernel_cc_includes
=""
4647 aros_target_cc_includes
=""
4650 # ----------------------------------------------------------------------------------------
4651 # Host-specific defaults
4653 # This is the main host configuration section. It is where the host
4654 # can change the values of any variables it needs to change. We do
4655 # not look at anything that compiles to the target yet, we'll get
4660 aros_host_arch
="aros"
4661 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4664 aros_host_cpu
="i386"
4667 aros_host_cpu
="x86_64"
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4674 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4675 aros_host_cpu
="$host_cpu"
4681 aros_host_arch
="linux"
4682 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4683 android_build_os
="linux-x86"
4684 android_tool
="android"
4685 default_android_sdk
="/opt/android-sdk-linux_x86"
4688 aros_host_cpu
="i386"
4691 aros_host_cpu
="x86_64"
4694 aros_host_cpu
="m68k"
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4704 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4705 aros_host_cpu
="$host_cpu"
4711 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4712 aros_host_make
="gmake"
4713 aros_host_arch
="freebsd"
4714 aros_host_cpu
="i386"
4716 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4720 aros_object_format
="elf_i386"
4724 aros_object_format
="elf_i386_fbsd"
4731 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4732 aros_host_arch
="darwin"
4734 android_build_os
="darwin-x86"
4735 android_tool
="android"
4736 default_android_sdk
="/android-sdk-mac_x86"
4739 aros_host_cpu
="i386"
4742 aros_host_cpu
="x86_64"
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4749 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4750 aros_host_cpu
="$host_cpu"
4754 aros_host_ldflags
="$aros_host_ldflags -liconv"
4759 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4760 aros_host_make
="gmake"
4761 aros_host_arch
="dragonfly"
4764 aros_host_cpu
="i386"
4767 aros_host_cpu
="x86_64"
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4771 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4772 aros_host_cpu
="$host_cpu"
4778 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4779 aros_host_make
="gmake"
4780 aros_host_arch
="netbsd"
4783 aros_host_cpu
="i386"
4786 aros_host_cpu
="m68k"
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4790 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4791 aros_host_cpu
="$host_cpu"
4794 aros_host_lib_suffix
=".0.0"
4798 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4799 aros_host_make
="gmake"
4800 aros_host_arch
="openbsd"
4803 aros_host_cpu
="i386"
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4807 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4808 aros_host_cpu
="$host_cpu"
4814 aros_host_arch
="solaris"
4815 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4818 aros_host_cpu
="i386"
4821 aros_host_cpu
="sparc"
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4825 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4826 aros_host_cpu
="$host_cpu"
4832 aros_host_arch
="morphos"
4838 aros_host_arch
="amiga"
4844 TOUCH
="/gg/bin/touch"
4847 aros_host_cpu
="m68k"
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4854 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4855 aros_host_cpu
="$host_cpu"
4861 aros_host_arch
="cygwin"
4862 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4864 android_build_os
="windows"
4865 android_tool
="android.bat"
4866 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4870 aros_host_cpu
="i386"
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4874 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4875 aros_host_cpu
="$host_cpu"
4881 aros_host_arch
="mingw32"
4882 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4884 android_build_os
="windows"
4885 android_tool
="android.bat"
4886 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4892 $as_echo_n "checking for Windows native gcc target... " >&6; }
4893 host_cpu
=`gcc -dumpmachine`
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4895 $as_echo "$host_cpu" >&6; }
4902 aros_host_cpu
="i386"
4906 aros_host_cpu
="i386"
4910 aros_host_cpu
="x86_64"
4911 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4916 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4917 aros_host_cpu
="$host_cpu"
4922 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4926 # Extract the first word of "ar", so it can be a program name with args.
4927 set dummy
ar; ac_word
=$2
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 $as_echo_n "checking for $ac_word... " >&6; }
4930 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4931 $as_echo_n "(cached) " >&6
4933 if test -n "$aros_host_ar"; then
4934 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4940 test -z "$as_dir" && as_dir
=.
4941 for ac_exec_ext
in '' $ac_executable_extensions; do
4942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4943 ac_cv_prog_aros_host_ar
="ar cr"
4944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 aros_host_ar
=$ac_cv_prog_aros_host_ar
4954 if test -n "$aros_host_ar"; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4956 $as_echo "$aros_host_ar" >&6; }
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 $as_echo "no" >&6; }
4963 if test "$aros_host_ar" = ""; then
4964 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4966 # Extract the first word of "ranlib", so it can be a program name with args.
4967 set dummy ranlib
; ac_word
=$2
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 $as_echo_n "checking for $ac_word... " >&6; }
4970 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4971 $as_echo_n "(cached) " >&6
4973 if test -n "$aros_host_ranlib"; then
4974 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4980 test -z "$as_dir" && as_dir
=.
4981 for ac_exec_ext
in '' $ac_executable_extensions; do
4982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4983 ac_cv_prog_aros_host_ranlib
="ranlib "
4984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4993 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4994 if test -n "$aros_host_ranlib"; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4996 $as_echo "$aros_host_ranlib" >&6; }
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999 $as_echo "no" >&6; }
5003 if test "$aros_host_ranlib" = ""; then
5004 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5006 # Extract the first word of "strip", so it can be a program name with args.
5007 set dummy strip
; ac_word
=$2
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009 $as_echo_n "checking for $ac_word... " >&6; }
5010 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5011 $as_echo_n "(cached) " >&6
5013 if test -n "$aros_host_strip"; then
5014 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5020 test -z "$as_dir" && as_dir
=.
5021 for ac_exec_ext
in '' $ac_executable_extensions; do
5022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5023 ac_cv_prog_aros_host_strip
="strip "
5024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5033 aros_host_strip
=$ac_cv_prog_aros_host_strip
5034 if test -n "$aros_host_strip"; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5036 $as_echo "$aros_host_strip" >&6; }
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5043 if test "$aros_host_strip" = ""; then
5044 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5047 # Extract the first word of "rm", so it can be a program name with args.
5048 set dummy
rm; ac_word
=$2
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5050 $as_echo_n "checking for $ac_word... " >&6; }
5051 if ${ac_cv_prog_RM+:} false
; then :
5052 $as_echo_n "(cached) " >&6
5054 if test -n "$RM"; then
5055 ac_cv_prog_RM
="$RM" # Let the user override the test.
5057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5061 test -z "$as_dir" && as_dir
=.
5062 for ac_exec_ext
in '' $ac_executable_extensions; do
5063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5064 ac_cv_prog_RM
="rm -rf"
5065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 if test -n "$RM"; then
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5077 $as_echo "$RM" >&6; }
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5080 $as_echo "no" >&6; }
5084 if test "$RM" = ""; then
5085 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5087 # Extract the first word of "cp", so it can be a program name with args.
5088 set dummy
cp; ac_word
=$2
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090 $as_echo_n "checking for $ac_word... " >&6; }
5091 if ${ac_cv_prog_CP+:} false
; then :
5092 $as_echo_n "(cached) " >&6
5094 if test -n "$CP"; then
5095 ac_cv_prog_CP
="$CP" # Let the user override the test.
5097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5101 test -z "$as_dir" && as_dir
=.
5102 for ac_exec_ext
in '' $ac_executable_extensions; do
5103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5115 if test -n "$CP"; then
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5117 $as_echo "$CP" >&6; }
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5124 if test "$CP" = ""; then
5125 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5127 # Extract the first word of "mv", so it can be a program name with args.
5128 set dummy
mv; ac_word
=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if ${ac_cv_prog_MV+:} false
; then :
5132 $as_echo_n "(cached) " >&6
5134 if test -n "$MV"; then
5135 ac_cv_prog_MV
="$MV" # Let the user override the test.
5137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5141 test -z "$as_dir" && as_dir
=.
5142 for ac_exec_ext
in '' $ac_executable_extensions; do
5143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5155 if test -n "$MV"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5157 $as_echo "$MV" >&6; }
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5164 if test "$MV" = ""; then
5165 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5167 # Extract the first word of "echo", so it can be a program name with args.
5168 set dummy
echo; ac_word
=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if ${ac_cv_prog_ECHO+:} false
; then :
5172 $as_echo_n "(cached) " >&6
5174 if test -n "$ECHO"; then
5175 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5181 test -z "$as_dir" && as_dir
=.
5182 for ac_exec_ext
in '' $ac_executable_extensions; do
5183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184 ac_cv_prog_ECHO
="echo "
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5194 ECHO
=$ac_cv_prog_ECHO
5195 if test -n "$ECHO"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5197 $as_echo "$ECHO" >&6; }
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5204 if test "$ECHO" = ""; then
5205 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5207 # Extract the first word of "mkdir", so it can be a program name with args.
5208 set dummy mkdir
; ac_word
=$2
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5210 $as_echo_n "checking for $ac_word... " >&6; }
5211 if ${ac_cv_prog_MKDIR+:} false
; then :
5212 $as_echo_n "(cached) " >&6
5214 if test -n "$MKDIR"; then
5215 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5221 test -z "$as_dir" && as_dir
=.
5222 for ac_exec_ext
in '' $ac_executable_extensions; do
5223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5224 ac_cv_prog_MKDIR
="mkdir -p"
5225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 MKDIR
=$ac_cv_prog_MKDIR
5235 if test -n "$MKDIR"; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5237 $as_echo "$MKDIR" >&6; }
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5244 if test "$MKDIR" = ""; then
5245 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5247 # Extract the first word of "touch", so it can be a program name with args.
5248 set dummy
touch; ac_word
=$2
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5250 $as_echo_n "checking for $ac_word... " >&6; }
5251 if ${ac_cv_prog_TOUCH+:} false
; then :
5252 $as_echo_n "(cached) " >&6
5254 if test -n "$TOUCH"; then
5255 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5261 test -z "$as_dir" && as_dir
=.
5262 for ac_exec_ext
in '' $ac_executable_extensions; do
5263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5264 ac_cv_prog_TOUCH
="touch "
5265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5274 TOUCH
=$ac_cv_prog_TOUCH
5275 if test -n "$TOUCH"; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5277 $as_echo "$TOUCH" >&6; }
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280 $as_echo "no" >&6; }
5284 if test "$TOUCH" = ""; then
5285 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5287 # Extract the first word of "sort", so it can be a program name with args.
5288 set dummy
sort; ac_word
=$2
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5290 $as_echo_n "checking for $ac_word... " >&6; }
5291 if ${ac_cv_prog_SORT+:} false
; then :
5292 $as_echo_n "(cached) " >&6
5294 if test -n "$SORT"; then
5295 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5301 test -z "$as_dir" && as_dir
=.
5302 for ac_exec_ext
in '' $ac_executable_extensions; do
5303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5304 ac_cv_prog_SORT
="sort "
5305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 SORT
=$ac_cv_prog_SORT
5315 if test -n "$SORT"; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5317 $as_echo "$SORT" >&6; }
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 $as_echo "no" >&6; }
5324 if test "$SORT" = ""; then
5325 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5327 # Extract the first word of "uniq", so it can be a program name with args.
5328 set dummy
uniq; ac_word
=$2
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5330 $as_echo_n "checking for $ac_word... " >&6; }
5331 if ${ac_cv_prog_UNIQ+:} false
; then :
5332 $as_echo_n "(cached) " >&6
5334 if test -n "$UNIQ"; then
5335 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5341 test -z "$as_dir" && as_dir
=.
5342 for ac_exec_ext
in '' $ac_executable_extensions; do
5343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5344 ac_cv_prog_UNIQ
="uniq "
5345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 UNIQ
=$ac_cv_prog_UNIQ
5355 if test -n "$UNIQ"; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5357 $as_echo "$UNIQ" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360 $as_echo "no" >&6; }
5364 if test "$UNIQ" = ""; then
5365 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5367 # Extract the first word of "true", so it can be a program name with args.
5368 set dummy true
; ac_word
=$2
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5370 $as_echo_n "checking for $ac_word... " >&6; }
5371 if ${ac_cv_prog_NOP+:} false
; then :
5372 $as_echo_n "(cached) " >&6
5374 if test -n "$NOP"; then
5375 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5381 test -z "$as_dir" && as_dir
=.
5382 for ac_exec_ext
in '' $ac_executable_extensions; do
5383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5384 ac_cv_prog_NOP
="true "
5385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5395 if test -n "$NOP"; then
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5397 $as_echo "$NOP" >&6; }
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5400 $as_echo "no" >&6; }
5404 if test "$NOP" = ""; then
5405 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5407 # Extract the first word of "cat", so it can be a program name with args.
5408 set dummy
cat; ac_word
=$2
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5410 $as_echo_n "checking for $ac_word... " >&6; }
5411 if ${ac_cv_prog_CAT+:} false
; then :
5412 $as_echo_n "(cached) " >&6
5414 if test -n "$CAT"; then
5415 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5421 test -z "$as_dir" && as_dir
=.
5422 for ac_exec_ext
in '' $ac_executable_extensions; do
5423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5424 ac_cv_prog_CAT
="cat "
5425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 if test -n "$CAT"; then
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5437 $as_echo "$CAT" >&6; }
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5440 $as_echo "no" >&6; }
5444 if test "$CAT" = ""; then
5445 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5447 # Extract the first word of "bison", so it can be a program name with args.
5448 set dummy bison
; ac_word
=$2
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5450 $as_echo_n "checking for $ac_word... " >&6; }
5451 if ${ac_cv_prog_BISON+:} false
; then :
5452 $as_echo_n "(cached) " >&6
5454 if test -n "$BISON"; then
5455 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5461 test -z "$as_dir" && as_dir
=.
5462 for ac_exec_ext
in '' $ac_executable_extensions; do
5463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5464 ac_cv_prog_BISON
="bison "
5465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 BISON
=$ac_cv_prog_BISON
5475 if test -n "$BISON"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5477 $as_echo "$BISON" >&6; }
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5484 if test "$BISON" = ""; then
5485 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5487 # Extract the first word of "flex", so it can be a program name with args.
5488 set dummy flex
; ac_word
=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if ${ac_cv_prog_FLEX+:} false
; then :
5492 $as_echo_n "(cached) " >&6
5494 if test -n "$FLEX"; then
5495 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5501 test -z "$as_dir" && as_dir
=.
5502 for ac_exec_ext
in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_FLEX
="flex "
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 FLEX
=$ac_cv_prog_FLEX
5515 if test -n "$FLEX"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5517 $as_echo "$FLEX" >&6; }
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5524 if test "$FLEX" = ""; then
5525 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5527 # Extract the first word of "pngtopnm", so it can be a program name with args.
5528 set dummy pngtopnm
; ac_word
=$2
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5530 $as_echo_n "checking for $ac_word... " >&6; }
5531 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5532 $as_echo_n "(cached) " >&6
5534 if test -n "$PNGTOPNM"; then
5535 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5541 test -z "$as_dir" && as_dir
=.
5542 for ac_exec_ext
in '' $ac_executable_extensions; do
5543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5544 ac_cv_prog_PNGTOPNM
="pngtopnm "
5545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5554 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5555 if test -n "$PNGTOPNM"; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5557 $as_echo "$PNGTOPNM" >&6; }
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5560 $as_echo "no" >&6; }
5564 if test "$PNGTOPNM" = ""; then
5565 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5567 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5568 set dummy ppmtoilbm
; ac_word
=$2
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5570 $as_echo_n "checking for $ac_word... " >&6; }
5571 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5572 $as_echo_n "(cached) " >&6
5574 if test -n "$PPMTOILBM"; then
5575 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5581 test -z "$as_dir" && as_dir
=.
5582 for ac_exec_ext
in '' $ac_executable_extensions; do
5583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5584 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5594 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5595 if test -n "$PPMTOILBM"; then
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5597 $as_echo "$PPMTOILBM" >&6; }
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5600 $as_echo "no" >&6; }
5604 if test "$PPMTOILBM" = ""; then
5605 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5607 # Extract the first word of "sed", so it can be a program name with args.
5608 set dummy
sed; ac_word
=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5610 $as_echo_n "checking for $ac_word... " >&6; }
5611 if ${ac_cv_prog_SED+:} false
; then :
5612 $as_echo_n "(cached) " >&6
5614 if test -n "$SED"; then
5615 ac_cv_prog_SED
="$SED" # Let the user override the test.
5617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5621 test -z "$as_dir" && as_dir
=.
5622 for ac_exec_ext
in '' $ac_executable_extensions; do
5623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5624 ac_cv_prog_SED
="sed "
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5635 if test -n "$SED"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5637 $as_echo "$SED" >&6; }
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }
5644 if test "$SED" = ""; then
5645 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5647 # Extract the first word of "chmod", so it can be a program name with args.
5648 set dummy
chmod; ac_word
=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650 $as_echo_n "checking for $ac_word... " >&6; }
5651 if ${ac_cv_prog_CHMOD+:} false
; then :
5652 $as_echo_n "(cached) " >&6
5654 if test -n "$CHMOD"; then
5655 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5661 test -z "$as_dir" && as_dir
=.
5662 for ac_exec_ext
in '' $ac_executable_extensions; do
5663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5664 ac_cv_prog_CHMOD
="chmod "
5665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 CHMOD
=$ac_cv_prog_CHMOD
5675 if test -n "$CHMOD"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5677 $as_echo "$CHMOD" >&6; }
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 $as_echo "no" >&6; }
5684 if test "$CHMOD" = ""; then
5685 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5687 # Extract the first word of "patch", so it can be a program name with args.
5688 set dummy
patch; ac_word
=$2
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690 $as_echo_n "checking for $ac_word... " >&6; }
5691 if ${ac_cv_prog_PATCH+:} false
; then :
5692 $as_echo_n "(cached) " >&6
5694 if test -n "$PATCH"; then
5695 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5701 test -z "$as_dir" && as_dir
=.
5702 for ac_exec_ext
in '' $ac_executable_extensions; do
5703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5704 ac_cv_prog_PATCH
="patch "
5705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5714 PATCH
=$ac_cv_prog_PATCH
5715 if test -n "$PATCH"; then
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5717 $as_echo "$PATCH" >&6; }
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720 $as_echo "no" >&6; }
5724 if test "$PATCH" = ""; then
5725 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5734 if test -n "$PYTHON"; then
5735 # If the user set $PYTHON, use it and don't search something else.
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5737 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5739 # split strings by '.' and convert to numeric. Append some zeros
5740 # because we need at least 4 digits for the hex conversion.
5741 # map returns an iterator in Python 3.0 and a list in 2.x
5742 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5744 # xrange is not present in Python 3.0 and range returns an iterator
5745 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5746 sys.exit(sys.hexversion < minverhex)"
5747 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5748 ($PYTHON -c "$prog") >&5 2>&5
5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); }; then :
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5753 $as_echo "yes" >&6; }
5755 as_fn_error $?
"too old" "$LINENO" 5
5757 am_display_PYTHON
=$PYTHON
5759 # Otherwise, try each interpreter until we find one that satisfies
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5762 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5763 if ${am_cv_pathless_PYTHON+:} false
; then :
5764 $as_echo_n "(cached) " >&6
5767 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
5768 test "$am_cv_pathless_PYTHON" = none
&& break
5770 # split strings by '.' and convert to numeric. Append some zeros
5771 # because we need at least 4 digits for the hex conversion.
5772 # map returns an iterator in Python 3.0 and a list in 2.x
5773 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5775 # xrange is not present in Python 3.0 and range returns an iterator
5776 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5777 sys.exit(sys.hexversion < minverhex)"
5778 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5779 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); }; then :
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5788 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5789 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5790 if test "$am_cv_pathless_PYTHON" = none
; then
5793 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5794 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5796 $as_echo_n "checking for $ac_word... " >&6; }
5797 if ${ac_cv_path_PYTHON+:} false
; then :
5798 $as_echo_n "(cached) " >&6
5802 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir
=.
5810 for ac_exec_ext
in '' $ac_executable_extensions; do
5811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5812 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5823 PYTHON
=$ac_cv_path_PYTHON
5824 if test -n "$PYTHON"; then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5826 $as_echo "$PYTHON" >&6; }
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5829 $as_echo "no" >&6; }
5834 am_display_PYTHON
=$am_cv_pathless_PYTHON
5838 if test "$PYTHON" = :; then
5839 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5844 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5845 if ${am_cv_python_version+:} false
; then :
5846 $as_echo_n "(cached) " >&6
5848 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5851 $as_echo "$am_cv_python_version" >&6; }
5852 PYTHON_VERSION
=$am_cv_python_version
5856 PYTHON_PREFIX
='${prefix}'
5858 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5863 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5864 if ${am_cv_python_platform+:} false
; then :
5865 $as_echo_n "(cached) " >&6
5867 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5870 $as_echo "$am_cv_python_platform" >&6; }
5871 PYTHON_PLATFORM
=$am_cv_python_platform
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5877 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5878 if ${am_cv_python_pythondir+:} false
; then :
5879 $as_echo_n "(cached) " >&6
5881 if test "x$prefix" = xNONE
5883 am_py_prefix
=$ac_default_prefix
5885 am_py_prefix
=$prefix
5887 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`
5888 case $am_cv_python_pythondir in
5890 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5891 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5894 case $am_py_prefix in
5897 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5905 $as_echo "$am_cv_python_pythondir" >&6; }
5906 pythondir
=$am_cv_python_pythondir
5910 pkgpythondir
=\
${pythondir}/$PACKAGE
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5914 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5915 if ${am_cv_python_pyexecdir+:} false
; then :
5916 $as_echo_n "(cached) " >&6
5918 if test "x$exec_prefix" = xNONE
5920 am_py_exec_prefix
=$am_py_prefix
5922 am_py_exec_prefix
=$exec_prefix
5924 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`
5925 case $am_cv_python_pyexecdir in
5926 $am_py_exec_prefix*)
5927 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5928 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5931 case $am_py_exec_prefix in
5934 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5942 $as_echo "$am_cv_python_pyexecdir" >&6; }
5943 pyexecdir
=$am_cv_python_pyexecdir
5947 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
5957 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
5958 if ${ac_cv_lib_png_png_read_png+:} false
; then :
5959 $as_echo_n "(cached) " >&6
5961 ac_check_lib_save_LIBS
=$LIBS
5963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5964 /* end confdefs.h. */
5966 /* Override any GCC internal prototype to avoid an error.
5967 Use char because int might match the return type of a GCC
5968 builtin and then its argument prototype would still apply. */
5972 char png_read_png ();
5976 return png_read_png ();
5981 if ac_fn_c_try_link
"$LINENO"; then :
5982 ac_cv_lib_png_png_read_png
=yes
5984 ac_cv_lib_png_png_read_png
=no
5986 rm -f core conftest.err conftest.
$ac_objext \
5987 conftest
$ac_exeext conftest.
$ac_ext
5988 LIBS
=$ac_check_lib_save_LIBS
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
5991 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
5992 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
5993 cat >>confdefs.h
<<_ACEOF
5994 #define HAVE_LIBPNG 1
6001 if test "$ac_cv_lib_png_png_read_png" = ""; then
6002 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6015 # Check for some includes for the X11 HIDD and the kernel
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6018 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6019 if ${ac_cv_path_GREP+:} false
; then :
6020 $as_echo_n "(cached) " >&6
6022 if test -z "$GREP"; then
6023 ac_path_GREP_found
=false
6024 # Loop through the user's path and test for each of PROGNAME-LIST
6025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6026 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6029 test -z "$as_dir" && as_dir
=.
6030 for ac_prog
in grep ggrep
; do
6031 for ac_exec_ext
in '' $ac_executable_extensions; do
6032 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6033 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
6034 # Check for GNU ac_path_GREP and select it if it is found.
6035 # Check for GNU $ac_path_GREP
6036 case `"$ac_path_GREP" --version 2>&1` in
6038 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6041 $as_echo_n 0123456789 >"conftest.in"
6044 cat "conftest.in" "conftest.in" >"conftest.tmp"
6045 mv "conftest.tmp" "conftest.in"
6046 cp "conftest.in" "conftest.nl"
6047 $as_echo 'GREP' >> "conftest.nl"
6048 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6049 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6050 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6051 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6052 # Best one so far, save it but keep looking for a better one
6053 ac_cv_path_GREP
="$ac_path_GREP"
6054 ac_path_GREP_max
=$ac_count
6056 # 10*(2^10) chars as input seems more than enough
6057 test $ac_count -gt 10 && break
6059 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6062 $ac_path_GREP_found && break 3
6067 if test -z "$ac_cv_path_GREP"; then
6068 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6071 ac_cv_path_GREP
=$GREP
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6076 $as_echo "$ac_cv_path_GREP" >&6; }
6077 GREP
="$ac_cv_path_GREP"
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6081 $as_echo_n "checking for egrep... " >&6; }
6082 if ${ac_cv_path_EGREP+:} false
; then :
6083 $as_echo_n "(cached) " >&6
6085 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6086 then ac_cv_path_EGREP
="$GREP -E"
6088 if test -z "$EGREP"; then
6089 ac_path_EGREP_found
=false
6090 # Loop through the user's path and test for each of PROGNAME-LIST
6091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6092 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6095 test -z "$as_dir" && as_dir
=.
6096 for ac_prog
in egrep; do
6097 for ac_exec_ext
in '' $ac_executable_extensions; do
6098 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6099 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6100 # Check for GNU ac_path_EGREP and select it if it is found.
6101 # Check for GNU $ac_path_EGREP
6102 case `"$ac_path_EGREP" --version 2>&1` in
6104 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6107 $as_echo_n 0123456789 >"conftest.in"
6110 cat "conftest.in" "conftest.in" >"conftest.tmp"
6111 mv "conftest.tmp" "conftest.in"
6112 cp "conftest.in" "conftest.nl"
6113 $as_echo 'EGREP' >> "conftest.nl"
6114 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6115 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6116 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6117 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6118 # Best one so far, save it but keep looking for a better one
6119 ac_cv_path_EGREP
="$ac_path_EGREP"
6120 ac_path_EGREP_max
=$ac_count
6122 # 10*(2^10) chars as input seems more than enough
6123 test $ac_count -gt 10 && break
6125 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6128 $ac_path_EGREP_found && break 3
6133 if test -z "$ac_cv_path_EGREP"; then
6134 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6137 ac_cv_path_EGREP
=$EGREP
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6143 $as_echo "$ac_cv_path_EGREP" >&6; }
6144 EGREP
="$ac_cv_path_EGREP"
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6148 $as_echo_n "checking for ANSI C header files... " >&6; }
6149 if ${ac_cv_header_stdc+:} false
; then :
6150 $as_echo_n "(cached) " >&6
6152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6153 /* end confdefs.h. */
6167 if ac_fn_c_try_compile
"$LINENO"; then :
6168 ac_cv_header_stdc
=yes
6170 ac_cv_header_stdc
=no
6172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6174 if test $ac_cv_header_stdc = yes; then
6175 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6177 /* end confdefs.h. */
6181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6182 $EGREP "memchr" >/dev
/null
2>&1; then :
6185 ac_cv_header_stdc
=no
6191 if test $ac_cv_header_stdc = yes; then
6192 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6194 /* end confdefs.h. */
6198 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6199 $EGREP "free" >/dev
/null
2>&1; then :
6202 ac_cv_header_stdc
=no
6208 if test $ac_cv_header_stdc = yes; then
6209 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6210 if test "$cross_compiling" = yes; then :
6213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6214 /* end confdefs.h. */
6217 #if ((' ' & 0x0FF) == 0x020)
6218 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6219 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6221 # define ISLOWER(c) \
6222 (('a' <= (c) && (c) <= 'i') \
6223 || ('j' <= (c) && (c) <= 'r') \
6224 || ('s' <= (c) && (c) <= 'z'))
6225 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6228 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6233 for (i = 0; i < 256; i++)
6234 if (XOR (islower (i), ISLOWER (i))
6235 || toupper (i) != TOUPPER (i))
6240 if ac_fn_c_try_run
"$LINENO"; then :
6243 ac_cv_header_stdc
=no
6245 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6246 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6252 $as_echo "$ac_cv_header_stdc" >&6; }
6253 if test $ac_cv_header_stdc = yes; then
6255 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6259 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6260 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6261 inttypes.h stdint.h unistd.h
6263 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6264 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6266 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6267 cat >>confdefs.h
<<_ACEOF
6268 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6276 for ac_header
in sys
/ipc.h sys
/shm.h \
6277 sys
/mmap.h sys
/mman.h sysexits.h \
6278 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6281 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6282 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6283 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6284 cat >>confdefs.h
<<_ACEOF
6285 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6293 for ac_header
in sys
/mount.h
6295 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6297 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6298 cat >>confdefs.h
<<_ACEOF
6299 #define HAVE_SYS_MOUNT_H 1
6308 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6309 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6311 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6312 if eval \
${$as_ac_Header+:} false
; then :
6313 $as_echo_n "(cached) " >&6
6315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6317 #include <sys/types.h>
6329 if ac_fn_c_try_compile
"$LINENO"; then :
6330 eval "$as_ac_Header=yes"
6332 eval "$as_ac_Header=no"
6334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6336 eval ac_res
=\$
$as_ac_Header
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6338 $as_echo "$ac_res" >&6; }
6339 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6340 cat >>confdefs.h
<<_ACEOF
6341 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6344 ac_header_dirent
=$ac_hdr; break
6348 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6349 if test $ac_header_dirent = dirent.h
; then
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6351 $as_echo_n "checking for library containing opendir... " >&6; }
6352 if ${ac_cv_search_opendir+:} false
; then :
6353 $as_echo_n "(cached) " >&6
6355 ac_func_search_save_LIBS
=$LIBS
6356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6357 /* end confdefs.h. */
6359 /* Override any GCC internal prototype to avoid an error.
6360 Use char because int might match the return type of a GCC
6361 builtin and then its argument prototype would still apply. */
6374 for ac_lib
in '' dir
; do
6375 if test -z "$ac_lib"; then
6376 ac_res
="none required"
6379 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6381 if ac_fn_c_try_link
"$LINENO"; then :
6382 ac_cv_search_opendir
=$ac_res
6384 rm -f core conftest.err conftest.
$ac_objext \
6386 if ${ac_cv_search_opendir+:} false
; then :
6390 if ${ac_cv_search_opendir+:} false
; then :
6393 ac_cv_search_opendir
=no
6396 LIBS
=$ac_func_search_save_LIBS
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6399 $as_echo "$ac_cv_search_opendir" >&6; }
6400 ac_res
=$ac_cv_search_opendir
6401 if test "$ac_res" != no
; then :
6402 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6408 $as_echo_n "checking for library containing opendir... " >&6; }
6409 if ${ac_cv_search_opendir+:} false
; then :
6410 $as_echo_n "(cached) " >&6
6412 ac_func_search_save_LIBS
=$LIBS
6413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6414 /* end confdefs.h. */
6416 /* Override any GCC internal prototype to avoid an error.
6417 Use char because int might match the return type of a GCC
6418 builtin and then its argument prototype would still apply. */
6431 for ac_lib
in '' x
; do
6432 if test -z "$ac_lib"; then
6433 ac_res
="none required"
6436 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6438 if ac_fn_c_try_link
"$LINENO"; then :
6439 ac_cv_search_opendir
=$ac_res
6441 rm -f core conftest.err conftest.
$ac_objext \
6443 if ${ac_cv_search_opendir+:} false
; then :
6447 if ${ac_cv_search_opendir+:} false
; then :
6450 ac_cv_search_opendir
=no
6453 LIBS
=$ac_func_search_save_LIBS
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6456 $as_echo "$ac_cv_search_opendir" >&6; }
6457 ac_res
=$ac_cv_search_opendir
6458 if test "$ac_res" != no
; then :
6459 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6466 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6467 if ${ac_cv_header_stat_broken+:} false
; then :
6468 $as_echo_n "(cached) " >&6
6470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6471 /* end confdefs.h. */
6472 #include <sys/types.h>
6473 #include <sys/stat.h>
6475 #if defined S_ISBLK && defined S_IFDIR
6476 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6479 #if defined S_ISBLK && defined S_IFCHR
6480 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6483 #if defined S_ISLNK && defined S_IFREG
6484 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6487 #if defined S_ISSOCK && defined S_IFREG
6488 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6492 if ac_fn_c_try_compile
"$LINENO"; then :
6493 ac_cv_header_stat_broken
=no
6495 ac_cv_header_stat_broken
=yes
6497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6500 $as_echo "$ac_cv_header_stat_broken" >&6; }
6501 if test $ac_cv_header_stat_broken = yes; then
6503 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6508 $as_echo_n "checking for ANSI C header files... " >&6; }
6509 if ${ac_cv_header_stdc+:} false
; then :
6510 $as_echo_n "(cached) " >&6
6512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6513 /* end confdefs.h. */
6527 if ac_fn_c_try_compile
"$LINENO"; then :
6528 ac_cv_header_stdc
=yes
6530 ac_cv_header_stdc
=no
6532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6534 if test $ac_cv_header_stdc = yes; then
6535 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6537 /* end confdefs.h. */
6541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6542 $EGREP "memchr" >/dev
/null
2>&1; then :
6545 ac_cv_header_stdc
=no
6551 if test $ac_cv_header_stdc = yes; then
6552 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6554 /* end confdefs.h. */
6558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6559 $EGREP "free" >/dev
/null
2>&1; then :
6562 ac_cv_header_stdc
=no
6568 if test $ac_cv_header_stdc = yes; then
6569 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6570 if test "$cross_compiling" = yes; then :
6573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6574 /* end confdefs.h. */
6577 #if ((' ' & 0x0FF) == 0x020)
6578 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6579 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6581 # define ISLOWER(c) \
6582 (('a' <= (c) && (c) <= 'i') \
6583 || ('j' <= (c) && (c) <= 'r') \
6584 || ('s' <= (c) && (c) <= 'z'))
6585 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6588 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6593 for (i = 0; i < 256; i++)
6594 if (XOR (islower (i), ISLOWER (i))
6595 || toupper (i) != TOUPPER (i))
6600 if ac_fn_c_try_run
"$LINENO"; then :
6603 ac_cv_header_stdc
=no
6605 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6606 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6612 $as_echo "$ac_cv_header_stdc" >&6; }
6613 if test $ac_cv_header_stdc = yes; then
6615 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6620 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6621 if ${ac_cv_header_sys_wait_h+:} false
; then :
6622 $as_echo_n "(cached) " >&6
6624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6625 /* end confdefs.h. */
6626 #include <sys/types.h>
6627 #include <sys/wait.h>
6629 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6632 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6640 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6645 if ac_fn_c_try_compile
"$LINENO"; then :
6646 ac_cv_header_sys_wait_h
=yes
6648 ac_cv_header_sys_wait_h
=no
6650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6653 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6654 if test $ac_cv_header_sys_wait_h = yes; then
6656 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6661 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6662 if ${ac_cv_header_time+:} false
; then :
6663 $as_echo_n "(cached) " >&6
6665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6666 /* end confdefs.h. */
6667 #include <sys/types.h>
6668 #include <sys/time.h>
6674 if ((struct tm *) 0)
6680 if ac_fn_c_try_compile
"$LINENO"; then :
6681 ac_cv_header_time
=yes
6683 ac_cv_header_time
=no
6685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6688 $as_echo "$ac_cv_header_time" >&6; }
6689 if test $ac_cv_header_time = yes; then
6691 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6695 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6696 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6698 cat >>confdefs.h
<<_ACEOF
6699 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6703 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6708 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6709 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6711 cat >>confdefs.h
<<_ACEOF
6712 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6716 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6719 case " $LIBOBJS " in
6720 *" fileblocks.$ac_objext "* ) ;;
6721 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6728 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6729 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6731 cat >>confdefs.h
<<_ACEOF
6732 #define HAVE_STRUCT_STAT_ST_RDEV 1
6736 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6742 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6743 if ${ac_cv_struct_tm+:} false
; then :
6744 $as_echo_n "(cached) " >&6
6746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6747 /* end confdefs.h. */
6748 #include <sys/types.h>
6755 int *p = &tm.tm_sec;
6761 if ac_fn_c_try_compile
"$LINENO"; then :
6762 ac_cv_struct_tm
=time.h
6764 ac_cv_struct_tm
=sys
/time.h
6766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6769 $as_echo "$ac_cv_struct_tm" >&6; }
6770 if test $ac_cv_struct_tm = sys
/time.h
; then
6772 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6776 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6777 #include <$ac_cv_struct_tm>
6780 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6782 cat >>confdefs.h
<<_ACEOF
6783 #define HAVE_STRUCT_TM_TM_ZONE 1
6789 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6791 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6794 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6796 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6802 cat >>confdefs.h
<<_ACEOF
6803 #define HAVE_DECL_TZNAME $ac_have_decl
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6807 $as_echo_n "checking for tzname... " >&6; }
6808 if ${ac_cv_var_tzname+:} false
; then :
6809 $as_echo_n "(cached) " >&6
6811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6812 /* end confdefs.h. */
6814 #if !HAVE_DECL_TZNAME
6815 extern char *tzname[];
6821 return tzname[0][0];
6826 if ac_fn_c_try_link
"$LINENO"; then :
6827 ac_cv_var_tzname
=yes
6831 rm -f core conftest.err conftest.
$ac_objext \
6832 conftest
$ac_exeext conftest.
$ac_ext
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6835 $as_echo "$ac_cv_var_tzname" >&6; }
6836 if test $ac_cv_var_tzname = yes; then
6838 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6843 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6844 if test "x$ac_cv_type_off_t" = xyes
; then :
6848 cat >>confdefs.h
<<_ACEOF
6849 #define off_t long int
6854 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6855 if test "x$ac_cv_type_pid_t" = xyes
; then :
6859 cat >>confdefs.h
<<_ACEOF
6865 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6866 if test "x$ac_cv_type_size_t" = xyes
; then :
6870 cat >>confdefs.h
<<_ACEOF
6871 #define size_t unsigned int
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6877 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6878 if ${ac_cv_type_uid_t+:} false
; then :
6879 $as_echo_n "(cached) " >&6
6881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6882 /* end confdefs.h. */
6883 #include <sys/types.h>
6886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6887 $EGREP "uid_t" >/dev
/null
2>&1; then :
6888 ac_cv_type_uid_t
=yes
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6896 $as_echo "$ac_cv_type_uid_t" >&6; }
6897 if test $ac_cv_type_uid_t = no
; then
6899 $as_echo "#define uid_t int" >>confdefs.h
6902 $as_echo "#define gid_t int" >>confdefs.h
6907 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6908 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6910 cat >>confdefs.h
<<_ACEOF
6911 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6918 # Look for some functions
6919 for ac_func
in getpagesize kqueue statfs statvfs \
6920 clone kse_create rfork_thread thr_create sa_register \
6921 getcontext makecontext setcontext sigaltstack swapcontext
6923 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6924 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6925 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6926 cat >>confdefs.h
<<_ACEOF
6927 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6937 for ac_header
in $ac_header_list
6939 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6940 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6942 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6943 cat >>confdefs.h
<<_ACEOF
6944 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6958 for ac_func
in getpagesize
6960 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6961 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6962 cat >>confdefs.h
<<_ACEOF
6963 #define HAVE_GETPAGESIZE 1
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6970 $as_echo_n "checking for working mmap... " >&6; }
6971 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6972 $as_echo_n "(cached) " >&6
6974 if test "$cross_compiling" = yes; then :
6975 ac_cv_func_mmap_fixed_mapped
=no
6977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6978 /* end confdefs.h. */
6979 $ac_includes_default
6980 /* malloc might have been renamed as rpl_malloc. */
6983 /* Thanks to Mike Haertel and Jim Avera for this test.
6984 Here is a matrix of mmap possibilities:
6985 mmap private not fixed
6986 mmap private fixed at somewhere currently unmapped
6987 mmap private fixed at somewhere already mapped
6988 mmap shared not fixed
6989 mmap shared fixed at somewhere currently unmapped
6990 mmap shared fixed at somewhere already mapped
6991 For private mappings, we should verify that changes cannot be read()
6992 back from the file, nor mmap's back from the file at a different
6993 address. (There have been systems where private was not correctly
6994 implemented like the infamous i386 svr4.0, and systems where the
6995 VM page cache was not coherent with the file system buffer cache
6996 like early versions of FreeBSD and possibly contemporary NetBSD.)
6997 For shared mappings, we should conversely verify that changes get
6998 propagated back to all the places they're supposed to be.
7000 Grep wants private fixed already mapped.
7001 The main things grep needs to know about mmap are:
7002 * does it exist and is it safe to write into the mmap'd area
7003 * how to use it (BSD variants) */
7006 #include <sys/mman.h>
7008 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7012 /* This mess was copied from the GNU getpagesize.h. */
7013 #ifndef HAVE_GETPAGESIZE
7014 # ifdef _SC_PAGESIZE
7015 # define getpagesize() sysconf(_SC_PAGESIZE)
7016 # else /* no _SC_PAGESIZE */
7017 # ifdef HAVE_SYS_PARAM_H
7018 # include <sys/param.h>
7019 # ifdef EXEC_PAGESIZE
7020 # define getpagesize() EXEC_PAGESIZE
7021 # else /* no EXEC_PAGESIZE */
7023 # define getpagesize() NBPG * CLSIZE
7026 # endif /* no CLSIZE */
7027 # else /* no NBPG */
7029 # define getpagesize() NBPC
7030 # else /* no NBPC */
7032 # define getpagesize() PAGESIZE
7033 # endif /* PAGESIZE */
7034 # endif /* no NBPC */
7035 # endif /* no NBPG */
7036 # endif /* no EXEC_PAGESIZE */
7037 # else /* no HAVE_SYS_PARAM_H */
7038 # define getpagesize() 8192 /* punt totally */
7039 # endif /* no HAVE_SYS_PARAM_H */
7040 # endif /* no _SC_PAGESIZE */
7042 #endif /* no HAVE_GETPAGESIZE */
7047 char *data, *data2, *data3;
7052 pagesize = getpagesize ();
7054 /* First, make a file with some known garbage in it. */
7055 data = (char *) malloc (pagesize);
7058 for (i = 0; i < pagesize; ++i)
7059 *(data + i) = rand ();
7061 fd = creat ("conftest.mmap", 0600);
7064 if (write (fd, data, pagesize) != pagesize)
7068 /* Next, check that the tail of a page is zero-filled. File must have
7069 non-zero length, otherwise we risk SIGBUS for entire page. */
7070 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7074 if (write (fd2, cdata2, 1) != 1)
7076 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7077 if (data2 == MAP_FAILED)
7079 for (i = 0; i < pagesize; ++i)
7083 if (munmap (data2, pagesize))
7086 /* Next, try to mmap the file at a fixed address which already has
7087 something else allocated at it. If we can, also make sure that
7088 we see the same garbage. */
7089 fd = open ("conftest.mmap", O_RDWR);
7092 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7093 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7095 for (i = 0; i < pagesize; ++i)
7096 if (*(data + i) != *(data2 + i))
7099 /* Finally, make sure that changes to the mapped area do not
7100 percolate back to the file as seen by read(). (This is a bug on
7101 some variants of i386 svr4.0.) */
7102 for (i = 0; i < pagesize; ++i)
7103 *(data2 + i) = *(data2 + i) + 1;
7104 data3 = (char *) malloc (pagesize);
7107 if (read (fd, data3, pagesize) != pagesize)
7109 for (i = 0; i < pagesize; ++i)
7110 if (*(data + i) != *(data3 + i))
7116 if ac_fn_c_try_run
"$LINENO"; then :
7117 ac_cv_func_mmap_fixed_mapped
=yes
7119 ac_cv_func_mmap_fixed_mapped
=no
7121 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7122 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7127 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7128 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7130 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7133 rm -f conftest.mmap conftest.txt
7138 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7139 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7140 aros_config_ldflags
=""
7142 aros_shared_default
=yes
7144 aros_shared_cflags
="-fPIC"
7145 aros_shared_aflags
=""
7146 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7147 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7149 aros_kernel_ar_flags
="cr"
7150 aros_target_ar_flags
="cr"
7151 aros_target_nm_flags
="-C -ul"
7152 aros_target_strip_flags
="--strip-unneeded -R.comment"
7157 aros_target_genmap
="-Wl,-Map -Xlinker"
7159 # Native flavour stuff
7160 aros_serial_debug
="0"
7162 # Palm native flavour stuff
7163 aros_palm_debug_hack
="0"
7165 # Unix flavour stuff
7166 aros_nesting_supervisor
="0"
7168 # Collect-aros stuff: "-ius" to ignore undefined symbols
7169 ignore_undefined_symbols
=""
7171 # Check for X11 by default
7174 #-----------------------------------------------------------------------------
7177 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7178 # it switched on by default, and we use the host compiler, so it compiles AROS
7179 # code with this enabled resulting in link failures as we don't have support
7182 # We use two methods to disable it. For the host compiler (used to compile
7183 # some hosted modules), we test to see if the compiler supports stack
7184 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7185 # work on all platforms.
7187 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7188 # (this is done unconditionally, as it should have no effect on compilers
7189 # without the stack protection feature). This may be specific to the way that
7190 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7191 # strong enough to disable it in a generic way though, so we'll live with it
7192 # until another vendor ships GCC with it enabled in a different way, and deal
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7197 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7198 save_cflags
="$CFLAGS"
7199 CFLAGS
="$CFLAGS -fno-stack-protector"
7200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7201 /* end confdefs.h. */
7211 if ac_fn_c_try_compile
"$LINENO"; then :
7212 use_no_stack_protector
="yes"
7214 use_no_stack_protector
="no"
7216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7218 $as_echo "$use_no_stack_protector" >&6; }
7219 if test "x-$use_no_stack_protector" = "x-yes" ; then
7220 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7222 CFLAGS
="$save_cflags"
7224 #-----------------------------------------------------------------------------
7226 # Disable pointer-signedness warnings if the compiler recognises the option
7227 # (this only works for the host compiler at the moment)
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7230 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7231 save_cflags
="$CFLAGS"
7232 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7234 /* end confdefs.h. */
7244 if ac_fn_c_try_compile
"$LINENO"; then :
7245 use_no_sign_warning
="yes"
7247 use_no_sign_warning
="no"
7249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7251 $as_echo "$use_no_sign_warning" >&6; }
7252 if test "x-$use_no_sign_warning" = "x-yes" ; then
7253 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7255 CFLAGS
="$save_cflags"
7257 #-----------------------------------------------------------------------------
7259 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7262 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7263 save_cflags
="$CFLAGS"
7264 CFLAGS
="$CFLAGS -fgnu89-inline"
7265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7266 /* end confdefs.h. */
7276 if ac_fn_c_try_compile
"$LINENO"; then :
7277 use_gnu89_inline
="yes"
7279 use_gnu89_inline
="no"
7281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7283 $as_echo "$use_gnu89_inline" >&6; }
7284 if test "x-$use_gnu89_inline" = "x-yes" ; then
7285 gnu89_inline
="-fgnu89-inline"
7287 CFLAGS
="$save_cflags"
7289 #-----------------------------------------------------------------------------
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7292 $as_echo_n "checking for type of build... " >&6; }
7293 # Check whether --enable-build_type was given.
7294 if test "${enable_build_type+set}" = set; then :
7295 enableval
=$enable_build_type; build_type
=$enableval
7297 build_type
="personal"
7301 if test "$build_type" = "nightly"; then
7302 build_type_string
="NIGHTLY"
7303 elif test "$build_type" = "snapshot"; then
7304 build_type_string
="SNAPSHOT"
7305 elif test "$build_type" = "milestone"; then
7306 build_type_string
="MILESTONE"
7307 elif test "$build_type" = "release"; then
7308 build_type_string
="RELEASE"
7310 build_type_string
="PERSONAL"
7311 build_type
="personal"
7314 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7317 $as_echo "$build_type" >&6; }
7319 #-----------------------------------------------------------------------------
7320 all_debug_types
="messages stack modules mungwall symbols"
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7323 $as_echo_n "checking which debug types to enable... " >&6; }
7324 # Check whether --enable-debug was given.
7325 if test "${enable_debug+set}" = set; then :
7326 enableval
=$enable_debug; debug
="$enableval"
7332 if test "$debug" = "" -o "$debug" = "no"; then
7334 elif test "$debug" = "yes"; then
7338 if test "$debug" = "all" ; then
7339 debug
="messages stack modules symbols"
7340 for d
in $all_debug_types; do
7341 export aros_
${d}_debug
="1"
7344 for d
in $all_debug_types; do
7345 export aros_
${d}_debug
="0"
7349 if test "$debug" != "none"; then
7350 debug
=`echo $debug | sed s/,/\ /g`
7353 for d2
in $all_debug_types; do
7354 if test "$d2" = "$d"; then
7359 if test "$found" = "0"; then
7360 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7362 export aros_
${d}_debug
="1"
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7367 $as_echo "$debug" >&6; }
7369 if test "$aros_messages_debug" = "1"; then
7370 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7372 aros_messages_debug
=""
7374 if test "$aros_symbols_debug" = "1"; then
7375 aros_symbols_debug
="-g"
7377 aros_symbols_debug
=""
7380 # These are the flags to pass when compiling debugged programs
7381 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7382 aros_debug_aflags
=""
7383 aros_debug_ldflags
="$aros_symbols_debug"
7385 #-----------------------------------------------------------------------------
7386 # Checking for distcc and ccache.
7388 # Always apply the transforms in this particular order. Basically you should
7389 # always run 'ccache distcc compiler' in that order for the best performance.
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7392 $as_echo_n "checking whether to enable distcc... " >&6; }
7393 # Check whether --enable-distcc was given.
7394 if test "${enable_distcc+set}" = set; then :
7395 enableval
=$enable_distcc; distcc
="$enableval"
7400 if test "$distcc" != "" -a "$distcc" != "no"; then
7401 # AC_CHECK_PROG will print out the result in this case
7402 # Extract the first word of "distcc", so it can be a program name with args.
7403 set dummy distcc
; ac_word
=$2
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7405 $as_echo_n "checking for $ac_word... " >&6; }
7406 if ${ac_cv_path_DISTCC+:} false
; then :
7407 $as_echo_n "(cached) " >&6
7411 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7418 test -z "$as_dir" && as_dir
=.
7419 for ac_exec_ext
in '' $ac_executable_extensions; do
7420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7421 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7429 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7433 DISTCC
=$ac_cv_path_DISTCC
7434 if test -n "$DISTCC"; then
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7436 $as_echo "$DISTCC" >&6; }
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7439 $as_echo "no" >&6; }
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7445 $as_echo "no" >&6; }
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7449 $as_echo_n "checking whether to enable ccache... " >&6; }
7450 # Check whether --enable-ccache was given.
7451 if test "${enable_ccache+set}" = set; then :
7452 enableval
=$enable_ccache; ccache
="$enableval"
7457 if test "$ccache" != "" -a "$ccache" != "no"; then
7458 # AC_CHECK_PROG will print out the result in this case
7459 # Extract the first word of "ccache", so it can be a program name with args.
7460 set dummy ccache
; ac_word
=$2
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7462 $as_echo_n "checking for $ac_word... " >&6; }
7463 if ${ac_cv_prog_CCACHE+:} false
; then :
7464 $as_echo_n "(cached) " >&6
7466 if test -n "$CCACHE"; then
7467 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7473 test -z "$as_dir" && as_dir
=.
7474 for ac_exec_ext
in '' $ac_executable_extensions; do
7475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7476 ac_cv_prog_CCACHE
="ccache"
7477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7486 CCACHE
=$ac_cv_prog_CCACHE
7487 if test -n "$CCACHE"; then
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7489 $as_echo "$CCACHE" >&6; }
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7492 $as_echo "no" >&6; }
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7501 #-----------------------------------------------------------------------------
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7503 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7505 # Check whether --with-kernel-gcc-version was given.
7506 if test "${with_kernel_gcc_version+set}" = set; then :
7507 withval
=$with_kernel_gcc_version; kernel_tool_version
="-$withval"
7509 kernel_tool_version
=""
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7513 $as_echo "$kernel_tool_version" >&6; }
7515 #-----------------------------------------------------------------------------
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7517 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7519 # Check whether --with-gcc-version was given.
7520 if test "${with_gcc_version+set}" = set; then :
7521 withval
=$with_gcc_version; target_tool_version
="$withval"
7523 target_tool_version
="default"
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7527 $as_echo "$target_tool_version" >&6; }
7529 #-----------------------------------------------------------------------------
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7531 $as_echo_n "checking what optimization flags to use... " >&6; }
7533 # Check whether --with-optimization was given.
7534 if test "${with_optimization+set}" = set; then :
7535 withval
=$with_optimization; optimization
="$withval"
7537 optimization
="unknown"
7540 if test "$optimization" = "unknown"; then
7541 if test "$debug" != "none"; then
7547 aros_config_cflags
="$aros_config_cflags $optimization"
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7549 $as_echo "$optimization" >&6; }
7551 #-----------------------------------------------------------------------------
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7553 $as_echo_n "checking what paranoia flags to use... " >&6; }
7555 # Check whether --with-paranoia was given.
7556 if test "${with_paranoia+set}" = set; then :
7557 withval
=$with_paranoia; paranoia_flags
="$withval"
7559 paranoia_flags
="default"
7562 if test "$paranoia_flags" = "default"; then
7564 else if test "$paranoia_flags" = "yes"; then
7565 paranoia_flags
="-Wall -Werror"
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7568 $as_echo "$paranoia_flags" >&6; }
7569 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7571 #-----------------------------------------------------------------------------
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7573 $as_echo_n "checking what target variant to enable... " >&6; }
7574 # Check whether --enable-target_variant was given.
7575 if test "${enable_target_variant+set}" = set; then :
7576 enableval
=$enable_target_variant; target_variant
=$enableval
7581 if test "$target_variant" = ""; then
7582 aros_target_variant
=""
7583 aros_target_suffix
=""
7586 aros_target_variant
="$target_variant"
7587 aros_target_suffix
="-$target_variant"
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7590 $as_echo "$enableval" >&6; }
7592 #-----------------------------------------------------------------------------
7593 # Target-specific defaults. You can override then on a per-target basis.
7595 # Bootloader name. Currently used by PC target.
7596 target_bootloader
="none"
7598 #-----------------------------------------------------------------------------
7599 # Additional options for some specific targets
7601 case "$aros_target_variant" in
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7604 $as_echo_n "checking XCode path... " >&6; }
7606 # Check whether --with-xcode was given.
7607 if test "${with_xcode+set}" = set; then :
7608 withval
=$with_xcode; aros_xcode_path
="$withval"
7610 aros_xcode_path
="/Developer"
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7614 $as_echo "$aros_xcode_path" >&6; }
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7617 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7619 # Check whether --with-sdk-version was given.
7620 if test "${with_sdk_version+set}" = set; then :
7621 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7623 aros_sdk_version
="4.1"
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7627 $as_echo "$aros_sdk_version" >&6; }
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7633 $as_echo_n "checking Android SDK path... " >&6; }
7635 # Check whether --with-sdk was given.
7636 if test "${with_sdk+set}" = set; then :
7637 withval
=$with_sdk; aros_android_sdk
="$withval"
7639 aros_android_sdk
=$default_android_sdk
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7643 $as_echo "$aros_android_sdk" >&6; }
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7646 $as_echo_n "checking Android NDK path... " >&6; }
7648 # Check whether --with-ndk was given.
7649 if test "${with_ndk+set}" = set; then :
7650 withval
=$with_ndk; aros_android_ndk
="$withval"
7652 aros_android_ndk
="none"
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7656 $as_echo "$aros_android_ndk" >&6; }
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7659 $as_echo_n "checking what Android SDK version to use... " >&6; }
7661 # Check whether --with-sdk-version was given.
7662 if test "${with_sdk_version+set}" = set; then :
7663 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7665 aros_sdk_version
="12"
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7669 $as_echo "$aros_sdk_version" >&6; }
7671 if test "$aros_android_ndk" != "none"; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7673 $as_echo_n "checking what Android NDK version to use... " >&6; }
7675 # Check whether --with-ndk-version was given.
7676 if test "${with_ndk_version+set}" = set; then :
7677 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7679 aros_ndk_version
="9"
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7683 $as_echo "$aros_ndk_version" >&6; }
7686 export PATH
="$aros_android_sdk/tools:$PATH"
7687 # Extract the first word of "$android_tool", so it can be a program name with args.
7688 set dummy
$android_tool; ac_word
=$2
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7690 $as_echo_n "checking for $ac_word... " >&6; }
7691 if ${ac_cv_path_android_tool+:} false
; then :
7692 $as_echo_n "(cached) " >&6
7694 case $android_tool in
7696 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7703 test -z "$as_dir" && as_dir
=.
7704 for ac_exec_ext
in '' $ac_executable_extensions; do
7705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7706 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7717 android_tool
=$ac_cv_path_android_tool
7718 if test -n "$android_tool"; then
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7720 $as_echo "$android_tool" >&6; }
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7723 $as_echo "no" >&6; }
7727 if test "$android_tool" = ""; then
7728 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7731 aros_android_level
=android-
$aros_sdk_version
7732 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7733 echo "Platform $aros_android_level is not installed in your SDK"
7734 echo "Use --with-sdk-version=<API level number> to select another platform version"
7735 echo "You can check what plaform versions are installed in your SDK"
7736 echo "by examining contents of $aros_android_sdk/platforms directory"
7737 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7740 # Extract the first word of "ant", so it can be a program name with args.
7741 set dummy ant
; ac_word
=$2
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7743 $as_echo_n "checking for $ac_word... " >&6; }
7744 if ${ac_cv_path_ant+:} false
; then :
7745 $as_echo_n "(cached) " >&6
7749 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7756 test -z "$as_dir" && as_dir
=.
7757 for ac_exec_ext
in '' $ac_executable_extensions; do
7758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7759 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7771 if test -n "$ant"; then
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7773 $as_echo "$ant" >&6; }
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7776 $as_echo "no" >&6; }
7780 if test "$ant" = ""; then
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7782 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7785 if test "$host_os" = "mingw32"; then
7786 android_tool
="cmd //c $android_tool"
7792 #-----------------------------------------------------------------------------
7793 # External toolchains
7794 kernel_tool_prefix
="none"
7795 aros_tool_prefix
="none"
7796 elf_tool_prefix
="${target_cpu}-elf-"
7798 # This is the target configuration switch.
7799 case "$target_os" in
7801 aros_target_arch
="linux"
7802 aros_target_family
="unix"
7803 case "$target_cpu" in
7805 aros_target_cpu
="m68k"
7806 aros_object_format
="m68kelf"
7807 aros_flavour
="emulcompat"
7808 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7809 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7810 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7811 gcc_target_cpu
="mc68000"
7814 aros_target_cpu
="i386"
7815 aros_object_format
="elf_i386"
7816 aros_flavour
="emulation"
7817 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7818 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7819 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7820 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7821 aros_config_ldflags
="-m32 -march=i486"
7822 aros_kernel_ldflags
="-melf_i386"
7823 aros_default_wbdepth
=8
7824 gcc_target_cpu
="i386"
7825 pci_hidd_target
="hidd-pci-linux"
7826 android_tool_dir_prefix
="x86"
7827 android_tool_prefix
="i686-android-linux"
7828 android_ndk_arch
="x86"
7831 aros_target_cpu
="x86_64"
7832 aros_object_format
="elf_x86_64"
7833 aros_flavour
="emulation"
7834 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7835 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7836 aros_default_wbdepth
=8
7837 pci_hidd_target
="hidd-pci-linux"
7840 aros_target_cpu
="ppc"
7841 aros_object_format
="elf32ppc"
7842 aros_flavour
="emulation"
7843 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7844 aros_default_wbdepth
=8
7845 gcc_target_cpu
="ppc"
7848 # Same as powerpc, but I need this for the nightly build to work again.
7849 # Actually, the nightly should be made working with powerpc target.
7850 # That just was too much work for the moment, another week or two.
7852 aros_target_cpu
="ppc"
7853 aros_object_format
="elf32ppc"
7854 aros_flavour
="emulation"
7855 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7856 aros_default_wbdepth
=8
7857 gcc_target_cpu
="ppc"
7860 aros_target_cpu
="arm"
7862 aros_object_format
="armelf_linux_eabi"
7863 aros_flavour
="emulation"
7864 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7865 gcc_target_cpu
="arm"
7866 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7867 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7868 aros_arch_libs
="-laeabi"
7869 gcc_default_fpu
="vfpv3-d16"
7870 gcc_default_float_abi
="hard"
7871 android_tool_dir_prefix
="arm-linux-androideabi"
7872 android_tool_prefix
="arm-linux-androideabi"
7873 android_ndk_arch
="arm"
7874 kernel_tool_prefix
="arm-linux-gnueabihf-"
7877 aros_target_cpu
="arm"
7878 aros_object_format
="armelf_linux_eabi"
7879 aros_flavour
="emulation"
7880 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7881 gcc_target_cpu
="arm"
7882 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7883 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7884 aros_arch_libs
="-laeabi"
7885 android_tool_dir_prefix
="arm-linux-androideabi"
7886 android_tool_prefix
="arm-linux-androideabi"
7887 android_ndk_arch
="arm"
7888 kernel_tool_prefix
="arm-linux-gnueabi-"
7891 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7894 case "$aros_target_variant" in
7897 if test "$android_ndk_arch" = ""; then
7898 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7901 aros_default_wbwidth
=320
7902 aros_default_wbheight
=480
7903 if test "$aros_android_ndk" = "none"; then
7904 aros_kernel_cflags
="-mandroid"
7905 aros_kernel_ldflags
="-mandroid"
7908 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7909 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7910 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7911 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7912 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7913 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7916 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7917 # Disable implicit PIC mode
7918 aros_target_cflags
="$aros_target_cflags -fno-pic"
7919 kernel_tool_prefix
="$android_tool_prefix-"
7925 aros_target_arch
="pc"
7926 aros_shared_default
="no"
7927 target_bootloader
="grub2"
7928 case "$target_cpu" in
7930 aros_target_cpu
="i386"
7933 if test "$aros_object_format" = "" ; then
7934 aros_object_format
="elf_i386"
7936 aros_flavour
="standalone"
7937 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7938 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7939 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7940 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7941 aros_config_ldflags
="-m32 -march=i486"
7942 aros_kernel_ldflags
="-melf_i386"
7943 aros_default_wbwidth
=640
7944 aros_default_wbheight
=480
7945 gcc_target_cpu
="i386"
7948 aros_target_cpu
="x86_64"
7950 if test "$aros_object_format" = "" ; then
7951 aros_object_format
="elf_x86_64"
7953 aros_flavour
="standalone"
7954 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7955 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7956 aros_kernel_ldflags
=""
7957 aros_default_wbwidth
=640
7958 aros_default_wbheight
=480
7961 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7967 aros_target_arch
="prep"
7968 aros_shared_default
="no"
7969 aros_target_cpu
="ppc"
7970 aros_object_format
="elf32ppc"
7971 aros_flavour
="ppcnative"
7972 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7973 aros_kernel_ldflags
=""
7974 aros_default_wbwidth
=640
7975 aros_default_wbheight
=480
7976 gcc_target_cpu
="ppc"
7980 aros_target_arch
="freebsd"
7981 aros_target_family
="unix"
7982 aros_target_cpu
="i386"
7983 aros_flavour
="emulation"
7984 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7985 gcc_target_cpu
="i386"
7987 aros_target_strip_flags
="-x"
7991 aros_target_arch
="darwin"
7992 aros_target_family
="unix"
7993 aros_flavour
="emulation"
7994 case "$target_cpu" in
7996 aros_ios_platform
="iPhoneSimulator"
7997 aros_target_cpu
="i386"
7998 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7999 aros_kernel_ldflags
=""
8000 aros_macosx_version
="10.4"
8001 aros_default_wbdepth
=8
8002 gcc_target_cpu
="i386"
8003 aros_object_format
="elf_i386"
8004 aros_kernel_ar_flags
="-cr"
8005 aros_target_strip_flags
="-x"
8006 kernel_tool_flags
="-m32"
8009 aros_target_cpu
="x86_64"
8010 aros_object_format
="elf_x86_64"
8011 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8012 aros_macosx_version
="10.6"
8013 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8014 aros_kernel_cflags
="-m64"
8015 aros_kernel_ldflags
="-m64"
8016 aros_target_cflags
="-mcmodel=large"
8017 aros_default_wbdepth
=8
8019 aros_kernel_ar_flags
="-cr"
8021 aros_kernel_ranlib
="ranlib"
8024 aros_target_cpu
="ppc"
8025 aros_object_format
="elf32ppc"
8026 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8027 aros_kernel_ldflags
=""
8028 aros_macosx_version
="10.0"
8029 aros_default_wbdepth
=8
8030 gcc_target_cpu
="ppc"
8032 aros_kernel_ar_flags
="-cr"
8033 aros_kernel_ld
="ld -arch ppc"
8034 aros_kernel_as
="as -arch ppc"
8035 aros_kernel_ranlib
="ranlib -arch ppc"
8036 aros_kernel_nm
="nm -arch ppc"
8037 aros_kernel_strip
="strip -arch ppc"
8038 kernel_tool_prefix
="powerpc-apple-darwin10-"
8041 aros_ios_platform
="iPhoneOS"
8042 aros_target_cpu
="arm"
8043 aros_object_format
="armelf_linux_eabi"
8044 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8045 aros_arch_libs
="-laeabi"
8046 aros_default_wbdepth
=8
8047 gcc_target_cpu
="arm"
8049 aros_kernel_ar_flags
="-cr"
8050 aros_kernel_ld
="ld -arch arm"
8051 aros_kernel_ranlib
="ranlib -arch arm"
8052 kernel_tool_prefix
="arm-apple-darwin10-"
8053 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8056 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8059 case "$aros_target_variant" in
8061 aros_ios_version
="3.0"
8062 aros_default_wbwidth
=320
8063 aros_default_wbheight
=480
8064 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8065 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8066 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8068 # This is here because it may depend on iOS or SDK version
8069 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8070 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8071 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8074 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8075 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8081 aros_target_arch
="dragonfly"
8082 aros_target_family
="unix"
8083 aros_flavour
="emulation"
8084 case "$target_cpu" in
8086 aros_target_cpu
="i386"
8087 aros_object_format
="elf_i386"
8088 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8091 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8092 aros_target_cpu
="x86_64"
8093 aros_object_format
="elf_x86_64"
8094 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8097 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8103 aros_target_arch
="netbsd"
8104 aros_target_family
="unix"
8105 case "$target_cpu" in
8107 aros_target_cpu
="m68k"
8108 aros_object_format
="m68kelf"
8109 aros_flavour
="emulcompat"
8110 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8111 gcc_target_cpu
="mc68000"
8114 aros_target_cpu
="i386"
8115 aros_object_format
="elf_i386"
8116 aros_flavour
="emulation"
8117 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8118 aros_default_wbdepth
=8
8119 gcc_target_cpu
="i386"
8122 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8125 aros_target_genmap
="-Wl,-M -Xlinker >"
8126 aros_flavour
="emulation"
8127 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8131 aros_target_arch
="openbsd"
8132 aros_target_family
="unix"
8133 case "$target_cpu" in
8135 aros_target_cpu
="i386"
8136 aros_object_format
="elf_i386"
8137 aros_flavour
="emulation"
8138 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8139 gcc_target_cpu
="i386"
8142 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8145 aros_target_genmap
="-Wl,-M -Xlinker >"
8146 aros_target_nm_flags
="-u"
8147 aros_flavour
="emulation"
8151 aros_target_arch
="solaris"
8152 aros_target_family
="unix"
8153 case "$target_cpu" in
8155 aros_target_cpu
="i386"
8156 aros_object_format
="elf_i386"
8157 aros_flavour
="emulation"
8158 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8159 aros_default_wbdepth
=8
8160 gcc_target_cpu
="i386"
8163 aros_target_cpu
="sparc"
8164 aros_object_format
="elf_sparc"
8165 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8166 gcc_target_cpu
="sparc"
8169 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8172 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8173 aros_flavour
="emulation"
8177 aros_target_arch
="morphos"
8178 aros_shared_default
="no"
8179 aros_target_cpu
="ppc"
8180 aros_object_format
="elf_ppc"
8181 aros_flavour
="nativecompat"
8182 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8183 gcc_target_cpu
="ppc"
8187 aros_target_arch
="sam440"
8188 aros_shared_default
="no"
8189 aros_target_cpu
="ppc"
8190 aros_object_format
="elf32ppc"
8191 aros_flavour
="ppcnative"
8192 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8193 aros_kernel_ldflags
=""
8194 aros_default_wbwidth
=1024
8195 aros_default_wbheight
=768
8196 aros_default_wbdepth
=24
8197 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8198 gcc_target_cpu
="powerpc"
8202 aros_target_arch
="efika"
8203 aros_shared_default
="no"
8204 aros_target_cpu
="arm"
8205 aros_object_format
="armelf_linux_eabi"
8206 aros_flavour
="standalone"
8207 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8208 aros_kernel_ldflags
=""
8209 aros_default_wbwidth
=1024
8210 aros_default_wbheight
=600
8211 aros_arch_libs
="-laeabi"
8212 gcc_default_cpu
="armv7-a"
8213 gcc_default_fpu
="vfpv3"
8214 gcc_default_float_abi
="softfp"
8215 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8216 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8220 aros_target_arch
="chrp"
8221 aros_shared_default
="no"
8222 aros_target_cpu
="ppc"
8223 aros_object_format
="elf32ppc"
8224 aros_flavour
="ppcnative"
8225 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8226 aros_kernel_ldflags
=""
8227 aros_default_wbwidth
=640
8228 aros_default_wbheight
=480
8229 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8230 gcc_target_cpu
="powerpc"
8231 case "$aros_target_variant" in
8233 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8239 aros_target_arch
="amiga"
8240 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8241 aros_shared_default
="no"
8243 case "$target_cpu" in
8245 # Check whether --enable-amigaos_compliance was given.
8246 if test "${enable_amigaos_compliance+set}" = set; then :
8247 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8251 aros_target_cpu
="m68k"
8252 aros_object_format
="m68kelf"
8253 aros_flavour
="standcompat"
8254 gcc_target_cpu
="m68000"
8255 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -Os -DNOLIBINLINE"
8256 aros_config_aflags
="$aros_config_aflags"
8257 aros_target_strip_flags
="-R.comment --strip-debug"
8258 aros_default_wbwidth
=640
8259 aros_default_wbheight
=256
8260 aros_default_wbdepth
=2
8264 aros_flavour
="native"
8265 gcc_target_cpu
="ppc"
8268 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8274 aros_target_arch
="mingw32"
8275 aros_shared_default
="no"
8276 aros_flavour
="emulation"
8277 aros_shared_cflags
=""
8278 need_crosstools
="yes"
8281 case "$target_cpu" in
8283 aros_target_cpu
="i386"
8284 aros_object_format
="elf_i386"
8285 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8286 aros_default_wbdepth
=8
8287 gcc_target_cpu
="i386"
8289 kernel_tool_prefix
="i386-mingw32-"
8292 aros_target_cpu
="x86_64"
8293 aros_object_format
="elf_x86_64"
8294 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8295 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8296 aros_default_wbdepth
=8
8297 kernel_tool_prefix
="x86_64-w64-mingw32-"
8300 aros_target_cpu
="arm"
8301 aros_object_format
="armelf_linux_eabi"
8302 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8303 aros_arch_libs
="-laeabi"
8304 aros_default_wbdepth
=8
8305 gcc_target_cpu
="arm"
8306 gcc_default_float_abi
="soft"
8307 kernel_tool_prefix
="arm-mingw32ce-"
8308 aros_default_wbwidth
=160
8309 aros_default_wbheight
=160
8312 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8315 if test $host_os = "cygwin"; then
8316 aros_kernel_cflags
="-mno-cygwin"
8320 aros_target_arch
="pp"
8321 aros_shared_default
="no"
8322 case "$target_cpu" in
8324 aros_target_cpu
="m68k"
8325 aros_object_format
="m68kelf"
8326 aros_flavour
="palmnative"
8327 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8328 aros_default_wbwidth
=160
8329 aros_default_wbheight
=160
8330 aros_default_wbdepth
=1
8331 aros_target_ar_flags
="cru"
8332 aros_compiler_libs
="-lgcc1"
8333 aros_shared_default
=no
8334 aros_shared_cflags
="-fpic"
8335 aros_shared_aflags
=""
8336 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8337 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8338 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8339 aros_debug_aflags
=""
8340 aros_debug_ldflags
="$aros_symbols_debug"
8341 aros_mungwall_debug
="0"
8342 aros_modules_debug
="0"
8343 gcc_target_cpu
="mc68000"
8344 ignore_undefined_symbols
="-ius"
8347 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8353 aros_target_arch
="mac"
8354 aros_shared_default
="no"
8355 case "$target_cpu" in
8357 aros_target_cpu
="m68k"
8358 aros_object_format
="m68kelf"
8359 aros_flavour
="mac68knative"
8360 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8361 aros_default_wbwidth
=512
8362 aros_default_wbheight
=384
8363 aros_default_wbdepth
=8
8364 aros_target_ar_flags
="cru"
8365 aros_compiler_libs
="-lgcc1"
8366 aros_shared_default
=no
8367 aros_shared_cflags
="-fpic"
8368 aros_shared_aflags
=""
8369 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8370 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8371 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8372 aros_debug_aflags
=""
8373 aros_debug_ldflags
="$aros_symbols_debug"
8374 aros_mungwall_debug
="0"
8375 aros_modules_debug
="0"
8376 gcc_target_cpu
="mc68000"
8377 ignore_undefined_symbols
="-ius"
8380 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8386 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8390 #-----------------------------------------------------------------------------
8391 crosstools_guess
=yes
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8394 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8396 # Check whether --with-kernel-toolchain-prefix was given.
8397 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8398 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8402 $as_echo "$kernel_tool_prefix" >&6; }
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8405 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8407 # Check whether --with-elf-toolchain-prefix was given.
8408 if test "${with_elf_toolchain_prefix+set}" = set; then :
8409 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8414 $as_echo "$elf_tool_prefix" >&6; }
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8417 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8419 # Check whether --with-aros-toolchain was given.
8420 if test "${with_aros_toolchain+set}" = set; then :
8421 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8425 if test "$aros_tool_prefix" = "yes" ; then
8426 aros_tool_prefix
=$aros_target_cpu-aros-
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8429 $as_echo "$aros_tool_prefix" >&6; }
8431 #-----------------------------------------------------------------------------
8432 # Checking if we should build crosstools..
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8434 $as_echo_n "checking whether to build crosstools... " >&6; }
8435 # Check whether --enable-crosstools was given.
8436 if test "${enable_crosstools+set}" = set; then :
8437 enableval
=$enable_crosstools; crosstools
="$enableval"
8439 crosstools
="$crosstools_guess"
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8443 $as_echo "$crosstools" >&6; }
8445 if test "${crosstools}" = "yes"; then
8446 if test "${crosstools_guess}" = "no"; then
8447 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8452 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8454 # Check whether --with-aros-toolchain-install was given.
8455 if test "${with_aros_toolchain_install+set}" = set; then :
8456 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8459 if test "x$aros_toolchain_install" = "x"; then
8460 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8462 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8463 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8466 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8469 # Now process extra architecture-specific options.
8470 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8471 # as well as floating-point ABI.
8472 case "$aros_target_cpu" in
8474 if test "$gcc_default_cpu" = ""; then
8475 gcc_default_cpu
="armv6"
8477 if test "$gcc_default_fpu" = ""; then
8478 gcc_default_fpu
="vfp"
8480 if test "$gcc_default_float_abi" = ""; then
8481 gcc_default_float_abi
="softfp"
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8485 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8487 # Check whether --with-cpu was given.
8488 if test "${with_cpu+set}" = set; then :
8489 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8491 aros_gcc_cpu
=$gcc_default_cpu
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8495 $as_echo "$aros_gcc_cpu" >&6; }
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8498 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8500 # Check whether --with-fpu was given.
8501 if test "${with_fpu+set}" = set; then :
8502 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8504 aros_gcc_fpu
=$gcc_default_fpu
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8508 $as_echo "$aros_gcc_fpu" >&6; }
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8511 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8513 # Check whether --with-float was given.
8514 if test "${with_float+set}" = set; then :
8515 withval
=$with_float; aros_gcc_float_abi
="$withval"
8517 aros_gcc_float_abi
=$gcc_default_float_abi
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8521 $as_echo "$aros_gcc_float_abi" >&6; }
8523 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"
8524 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"
8528 # Some formats need custom ELF specs.
8529 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8530 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8531 elf_specs_in
=config
/${aros_object_format}-specs.
in
8533 elf_specs_in
=config
/elf-specs.
in
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8537 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8539 # Check whether --with-aros-gcc was given.
8540 if test "${with_aros_gcc+set}" = set; then :
8541 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8547 $as_echo "$aros_gcc_version" >&6; }
8549 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8550 # Since we override specs, we may need to put these defines there
8551 if test "$gcc_target_cpu" != ""; then
8552 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8556 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8558 # Check whether --with-portssources was given.
8559 if test "${with_portssources+set}" = set; then :
8560 withval
=$with_portssources; with_portssrcdir
=$withval
8562 with_portssrcdir
="default"
8565 if test "$with_portssrcdir" = "default"; then
8566 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8568 AROS_PORTSSRCDIR
="$with_portssrcdir"
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8571 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8574 $as_echo_n "checking which bootloader to use... " >&6; }
8576 # Check whether --with-bootloader was given.
8577 if test "${with_bootloader+set}" = set; then :
8578 withval
=$with_bootloader; target_bootloader
=$withval
8580 target_bootloader
=$target_bootloader
8583 if test "$target_bootloader" = "none"; then
8584 aros_target_bootloader
=""
8586 aros_target_bootloader
="$target_bootloader"
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8589 $as_echo "$target_bootloader" >&6; }
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8592 $as_echo_n "checking which icon-set to use... " >&6; }
8594 # Check whether --with-iconset was given.
8595 if test "${with_iconset+set}" = set; then :
8596 withval
=$with_iconset; target_iconset
=$withval
8598 target_iconset
="default"
8601 if test "$target_iconset" = "default"; then
8602 aros_target_iconset
="Gorilla"
8603 target_iconset
="default (Gorilla)"
8605 aros_target_iconset
="$target_iconset"
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8608 $as_echo "$target_iconset" >&6; }
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8611 $as_echo_n "checking which GUI Theme to use... " >&6; }
8613 # Check whether --with-theme was given.
8614 if test "${with_theme+set}" = set; then :
8615 withval
=$with_theme; target_guitheme
=$withval
8617 target_guitheme
="default"
8620 if test "$target_guitheme" = "default"; then
8621 aros_target_guitheme
="Ice"
8623 aros_target_guitheme
="$target_guitheme"
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8626 $as_echo "$aros_target_guitheme" >&6; }
8628 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8632 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8636 if test "$aros_host_cpu" == "x86_64" ; then
8637 if test "$aros_target_cpu" == "i386" ; then
8642 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8643 if test "$aros_host_arch" != "$aros_target_arch" ; then
8647 if test "$host_cc_elf" = "no" ; then
8652 if test "$cross_compiling" = "no" ; then
8653 kernel_tool_prefix
=""
8654 if test "$host_cc_elf" = "yes" ; then
8659 #######################################################################
8660 ## Compute what toolchains to use, and their paths ##
8661 #######################################################################
8663 # This takes, as input:
8664 # crosstools {yes,no}
8665 # kernel_tool_version {"",[version]}
8666 # aros_gcc_version {"",[version]}
8667 # kernel_tool_prefix {none,[some-arch-os-]}
8668 # target_tool_prefix ${aros_target_cpu}-aros-
8669 # aros_tool_prefix ${aros_target_cpu}-aros-
8672 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8673 # Where the 'kernel' binaries are located
8674 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8675 # Where the 'target' binaries are located
8676 # (not the symlink farm - that is aros_target_*!)
8679 # if crosstools then
8680 # if kernel_tools_prefix = "no-kernel-prefix-"
8681 # aros_kernel_* = crosstools cc paths
8682 # aros_kernel_cc = elf cc wrapper around crosstools cc
8684 # VALIDATE(${kernel_tools_prefix}*)
8685 # aros_kernel_* = ${kernel_tools_prefix}*
8686 # if ${kernel_tools_prefix}cc is an AROS gcc
8687 # aros_kernel_cc = ${kernel_tools_prefix}cc
8689 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8693 # orig_target_* = aros built crosstools
8694 # orig_target_cc = elf cc wrapper around crosstools cc
8696 # VALIDATE(${kernel_tools_prefix}*)
8698 # orig_target_* = aros_kernel_*
8699 # if aros_kernel_cc is an AROS gcc
8700 # orig_target_cc = aros_kernel_cc
8702 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8706 target_tool_prefix
="${aros_target_cpu}-aros-"
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8709 $as_echo_n "checking which kernel tools... " >&6; }
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8711 $as_echo "$kernel_tool_prefix" >&6; };
8713 if test "$kernel_tool_prefix" = "none" ; then
8714 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8715 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8718 # Kernel tools required - find them
8719 # Note that 'normally', aros_kernel_* overrides will be
8720 # empty, unless specified in the per-arch sections above.
8721 if test "x$aros_kernel_cpp" = "x"; then
8722 aros_kernel_cpp
=${kernel_tool_prefix}cpp
8725 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
8726 if test "$cross_compiling" = "yes" ; then
8727 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8728 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8730 $as_echo_n "checking for $ac_word... " >&6; }
8731 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8732 $as_echo_n "(cached) " >&6
8734 case $aros_kernel_cpp in
8736 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8743 test -z "$as_dir" && as_dir
=.
8744 for ac_exec_ext
in '' $ac_executable_extensions; do
8745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8746 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8757 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8758 if test -n "$aros_kernel_cpp"; then
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8760 $as_echo "$aros_kernel_cpp" >&6; }
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8763 $as_echo "no" >&6; }
8768 if test "$GCC" = "yes"; then
8769 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8770 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8771 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8773 $as_echo_n "checking for $ac_word... " >&6; }
8774 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8775 $as_echo_n "(cached) " >&6
8777 case $aros_kernel_cpp in
8779 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8783 for as_dir
in `dirname $aros_gcc_cpp`
8786 test -z "$as_dir" && as_dir
=.
8787 for ac_exec_ext
in '' $ac_executable_extensions; do
8788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8789 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8800 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8801 if test -n "$aros_kernel_cpp"; then
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8803 $as_echo "$aros_kernel_cpp" >&6; }
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8806 $as_echo "no" >&6; }
8811 if test "$aros_kernel_cpp" = ""; then
8812 # Extract the first word of "cpp", so it can be a program name with args.
8813 set dummy cpp
; ac_word
=$2
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8815 $as_echo_n "checking for $ac_word... " >&6; }
8816 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8817 $as_echo_n "(cached) " >&6
8819 case $aros_kernel_cpp in
8821 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8828 test -z "$as_dir" && as_dir
=.
8829 for ac_exec_ext
in '' $ac_executable_extensions; do
8830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8831 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8842 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8843 if test -n "$aros_kernel_cpp"; then
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8845 $as_echo "$aros_kernel_cpp" >&6; }
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8848 $as_echo "no" >&6; }
8855 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
8856 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8858 $as_echo_n "checking for $ac_word... " >&6; }
8859 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8860 $as_echo_n "(cached) " >&6
8862 case $aros_kernel_cpp in
8864 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8871 test -z "$as_dir" && as_dir
=.
8872 for ac_exec_ext
in '' $ac_executable_extensions; do
8873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8874 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8885 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8886 if test -n "$aros_kernel_cpp"; then
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8888 $as_echo "$aros_kernel_cpp" >&6; }
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8891 $as_echo "no" >&6; }
8897 if test "$aros_kernel_cpp" = ""; then
8898 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8900 if test "x$aros_kernel_cc" = "x"; then
8901 aros_kernel_cc
=${kernel_tool_prefix}gcc
8904 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
8905 if test "$cross_compiling" = "yes" ; then
8906 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8907 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8909 $as_echo_n "checking for $ac_word... " >&6; }
8910 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8911 $as_echo_n "(cached) " >&6
8913 case $aros_kernel_cc in
8915 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8922 test -z "$as_dir" && as_dir
=.
8923 for ac_exec_ext
in '' $ac_executable_extensions; do
8924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8925 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8936 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8937 if test -n "$aros_kernel_cc"; then
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8939 $as_echo "$aros_kernel_cc" >&6; }
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8942 $as_echo "no" >&6; }
8947 if test "$GCC" = "yes"; then
8948 aros_gcc_cc
=`$CC -print-prog-name=cc`
8949 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8950 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8952 $as_echo_n "checking for $ac_word... " >&6; }
8953 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8954 $as_echo_n "(cached) " >&6
8956 case $aros_kernel_cc in
8958 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8962 for as_dir
in `dirname $aros_gcc_cc`
8965 test -z "$as_dir" && as_dir
=.
8966 for ac_exec_ext
in '' $ac_executable_extensions; do
8967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8968 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8979 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8980 if test -n "$aros_kernel_cc"; then
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8982 $as_echo "$aros_kernel_cc" >&6; }
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8985 $as_echo "no" >&6; }
8990 if test "$aros_kernel_cc" = ""; then
8991 # Extract the first word of "cc", so it can be a program name with args.
8992 set dummy cc
; ac_word
=$2
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8994 $as_echo_n "checking for $ac_word... " >&6; }
8995 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8996 $as_echo_n "(cached) " >&6
8998 case $aros_kernel_cc in
9000 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9007 test -z "$as_dir" && as_dir
=.
9008 for ac_exec_ext
in '' $ac_executable_extensions; do
9009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9010 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9021 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9022 if test -n "$aros_kernel_cc"; then
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9024 $as_echo "$aros_kernel_cc" >&6; }
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9027 $as_echo "no" >&6; }
9034 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9035 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9037 $as_echo_n "checking for $ac_word... " >&6; }
9038 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9039 $as_echo_n "(cached) " >&6
9041 case $aros_kernel_cc in
9043 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9050 test -z "$as_dir" && as_dir
=.
9051 for ac_exec_ext
in '' $ac_executable_extensions; do
9052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9053 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9064 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9065 if test -n "$aros_kernel_cc"; then
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9067 $as_echo "$aros_kernel_cc" >&6; }
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9070 $as_echo "no" >&6; }
9076 if test "$aros_kernel_cc" = ""; then
9077 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9079 if test "x$aros_kernel_cxx" = "x"; then
9080 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9083 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9084 if test "$cross_compiling" = "yes" ; then
9085 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9086 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9088 $as_echo_n "checking for $ac_word... " >&6; }
9089 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9090 $as_echo_n "(cached) " >&6
9092 case $aros_kernel_cxx in
9094 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9101 test -z "$as_dir" && as_dir
=.
9102 for ac_exec_ext
in '' $ac_executable_extensions; do
9103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9104 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9115 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9116 if test -n "$aros_kernel_cxx"; then
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9118 $as_echo "$aros_kernel_cxx" >&6; }
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9121 $as_echo "no" >&6; }
9126 if test "$GCC" = "yes"; then
9127 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9128 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9129 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9131 $as_echo_n "checking for $ac_word... " >&6; }
9132 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9133 $as_echo_n "(cached) " >&6
9135 case $aros_kernel_cxx in
9137 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9141 for as_dir
in `dirname $aros_gcc_cxx`
9144 test -z "$as_dir" && as_dir
=.
9145 for ac_exec_ext
in '' $ac_executable_extensions; do
9146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9147 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9158 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9159 if test -n "$aros_kernel_cxx"; then
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9161 $as_echo "$aros_kernel_cxx" >&6; }
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9164 $as_echo "no" >&6; }
9169 if test "$aros_kernel_cxx" = ""; then
9170 # Extract the first word of "cxx", so it can be a program name with args.
9171 set dummy cxx
; ac_word
=$2
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9173 $as_echo_n "checking for $ac_word... " >&6; }
9174 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9175 $as_echo_n "(cached) " >&6
9177 case $aros_kernel_cxx in
9179 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9186 test -z "$as_dir" && as_dir
=.
9187 for ac_exec_ext
in '' $ac_executable_extensions; do
9188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9189 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9200 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9201 if test -n "$aros_kernel_cxx"; then
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9203 $as_echo "$aros_kernel_cxx" >&6; }
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9206 $as_echo "no" >&6; }
9213 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9214 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9216 $as_echo_n "checking for $ac_word... " >&6; }
9217 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9218 $as_echo_n "(cached) " >&6
9220 case $aros_kernel_cxx in
9222 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9229 test -z "$as_dir" && as_dir
=.
9230 for ac_exec_ext
in '' $ac_executable_extensions; do
9231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9232 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9243 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9244 if test -n "$aros_kernel_cxx"; then
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9246 $as_echo "$aros_kernel_cxx" >&6; }
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9249 $as_echo "no" >&6; }
9255 # If it's set, make sure it's really there
9256 if test "x$aros_kernel_cxx" != "x" ; then
9257 if test "$aros_kernel_cxx" = ""; then
9258 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9262 if test "$aros_kernel_ld" = ""; then
9263 if test "$cross_compiling" = "yes" ; then
9264 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9265 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9267 $as_echo_n "checking for $ac_word... " >&6; }
9268 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9269 $as_echo_n "(cached) " >&6
9271 case $aros_kernel_ld in
9273 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9280 test -z "$as_dir" && as_dir
=.
9281 for ac_exec_ext
in '' $ac_executable_extensions; do
9282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9283 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9294 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9295 if test -n "$aros_kernel_ld"; then
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9297 $as_echo "$aros_kernel_ld" >&6; }
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9300 $as_echo "no" >&6; }
9305 if test "$GCC" = "yes"; then
9306 aros_gcc_ld
=`$CC -print-prog-name=ld`
9307 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9308 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9310 $as_echo_n "checking for $ac_word... " >&6; }
9311 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9312 $as_echo_n "(cached) " >&6
9314 case $aros_kernel_ld in
9316 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9320 for as_dir
in `dirname $aros_gcc_ld`
9323 test -z "$as_dir" && as_dir
=.
9324 for ac_exec_ext
in '' $ac_executable_extensions; do
9325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9326 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9337 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9338 if test -n "$aros_kernel_ld"; then
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9340 $as_echo "$aros_kernel_ld" >&6; }
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9343 $as_echo "no" >&6; }
9348 if test "$aros_kernel_ld" = ""; then
9349 # Extract the first word of "ld", so it can be a program name with args.
9350 set dummy ld
; ac_word
=$2
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9352 $as_echo_n "checking for $ac_word... " >&6; }
9353 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9354 $as_echo_n "(cached) " >&6
9356 case $aros_kernel_ld in
9358 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9365 test -z "$as_dir" && as_dir
=.
9366 for ac_exec_ext
in '' $ac_executable_extensions; do
9367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9368 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9379 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9380 if test -n "$aros_kernel_ld"; then
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9382 $as_echo "$aros_kernel_ld" >&6; }
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9385 $as_echo "no" >&6; }
9392 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9393 set dummy
$aros_kernel_ld; ac_word
=$2
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9395 $as_echo_n "checking for $ac_word... " >&6; }
9396 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9397 $as_echo_n "(cached) " >&6
9399 case $aros_kernel_ld in
9401 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9408 test -z "$as_dir" && as_dir
=.
9409 for ac_exec_ext
in '' $ac_executable_extensions; do
9410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9411 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9422 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9423 if test -n "$aros_kernel_ld"; then
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9425 $as_echo "$aros_kernel_ld" >&6; }
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9428 $as_echo "no" >&6; }
9434 if test "$aros_kernel_ld" = ""; then
9435 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9438 if test "$aros_kernel_as" = ""; then
9439 if test "$cross_compiling" = "yes" ; then
9440 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9441 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9443 $as_echo_n "checking for $ac_word... " >&6; }
9444 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9445 $as_echo_n "(cached) " >&6
9447 case $aros_kernel_as in
9449 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9456 test -z "$as_dir" && as_dir
=.
9457 for ac_exec_ext
in '' $ac_executable_extensions; do
9458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9459 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9470 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9471 if test -n "$aros_kernel_as"; then
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9473 $as_echo "$aros_kernel_as" >&6; }
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9476 $as_echo "no" >&6; }
9481 if test "$GCC" = "yes"; then
9482 aros_gcc_as
=`$CC -print-prog-name=as`
9483 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9484 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9486 $as_echo_n "checking for $ac_word... " >&6; }
9487 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9488 $as_echo_n "(cached) " >&6
9490 case $aros_kernel_as in
9492 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9496 for as_dir
in `dirname $aros_gcc_as`
9499 test -z "$as_dir" && as_dir
=.
9500 for ac_exec_ext
in '' $ac_executable_extensions; do
9501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9502 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9513 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9514 if test -n "$aros_kernel_as"; then
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9516 $as_echo "$aros_kernel_as" >&6; }
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9519 $as_echo "no" >&6; }
9524 if test "$aros_kernel_as" = ""; then
9525 # Extract the first word of "as", so it can be a program name with args.
9526 set dummy as
; ac_word
=$2
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9528 $as_echo_n "checking for $ac_word... " >&6; }
9529 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9530 $as_echo_n "(cached) " >&6
9532 case $aros_kernel_as in
9534 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9541 test -z "$as_dir" && as_dir
=.
9542 for ac_exec_ext
in '' $ac_executable_extensions; do
9543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9544 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9555 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9556 if test -n "$aros_kernel_as"; then
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9558 $as_echo "$aros_kernel_as" >&6; }
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9561 $as_echo "no" >&6; }
9568 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9569 set dummy
$aros_kernel_as; ac_word
=$2
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9571 $as_echo_n "checking for $ac_word... " >&6; }
9572 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9573 $as_echo_n "(cached) " >&6
9575 case $aros_kernel_as in
9577 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9584 test -z "$as_dir" && as_dir
=.
9585 for ac_exec_ext
in '' $ac_executable_extensions; do
9586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9587 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9598 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9599 if test -n "$aros_kernel_as"; then
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9601 $as_echo "$aros_kernel_as" >&6; }
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9604 $as_echo "no" >&6; }
9610 if test "$aros_kernel_as" = ""; then
9611 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9614 if test "$aros_kernel_ar" = ""; then
9615 if test "$cross_compiling" = "yes" ; then
9616 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9617 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9619 $as_echo_n "checking for $ac_word... " >&6; }
9620 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9621 $as_echo_n "(cached) " >&6
9623 case $aros_kernel_ar in
9625 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9632 test -z "$as_dir" && as_dir
=.
9633 for ac_exec_ext
in '' $ac_executable_extensions; do
9634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9635 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9646 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9647 if test -n "$aros_kernel_ar"; then
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9649 $as_echo "$aros_kernel_ar" >&6; }
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9652 $as_echo "no" >&6; }
9657 if test "$GCC" = "yes"; then
9658 aros_gcc_ar
=`$CC -print-prog-name=ar`
9659 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9660 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9662 $as_echo_n "checking for $ac_word... " >&6; }
9663 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9664 $as_echo_n "(cached) " >&6
9666 case $aros_kernel_ar in
9668 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9672 for as_dir
in `dirname $aros_gcc_ar`
9675 test -z "$as_dir" && as_dir
=.
9676 for ac_exec_ext
in '' $ac_executable_extensions; do
9677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9678 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9689 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9690 if test -n "$aros_kernel_ar"; then
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9692 $as_echo "$aros_kernel_ar" >&6; }
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9695 $as_echo "no" >&6; }
9700 if test "$aros_kernel_ar" = ""; then
9701 # Extract the first word of "ar", so it can be a program name with args.
9702 set dummy
ar; ac_word
=$2
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9704 $as_echo_n "checking for $ac_word... " >&6; }
9705 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9706 $as_echo_n "(cached) " >&6
9708 case $aros_kernel_ar in
9710 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9717 test -z "$as_dir" && as_dir
=.
9718 for ac_exec_ext
in '' $ac_executable_extensions; do
9719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9720 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9731 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9732 if test -n "$aros_kernel_ar"; then
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9734 $as_echo "$aros_kernel_ar" >&6; }
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9737 $as_echo "no" >&6; }
9744 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9745 set dummy
$aros_kernel_ar; ac_word
=$2
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9747 $as_echo_n "checking for $ac_word... " >&6; }
9748 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9749 $as_echo_n "(cached) " >&6
9751 case $aros_kernel_ar in
9753 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9760 test -z "$as_dir" && as_dir
=.
9761 for ac_exec_ext
in '' $ac_executable_extensions; do
9762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9763 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9774 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9775 if test -n "$aros_kernel_ar"; then
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9777 $as_echo "$aros_kernel_ar" >&6; }
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9780 $as_echo "no" >&6; }
9786 if test "$aros_kernel_ar" = ""; then
9787 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9790 if test "$aros_kernel_ranlib" = ""; then
9791 if test "$cross_compiling" = "yes" ; then
9792 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9793 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9795 $as_echo_n "checking for $ac_word... " >&6; }
9796 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9797 $as_echo_n "(cached) " >&6
9799 case $aros_kernel_ranlib in
9801 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9808 test -z "$as_dir" && as_dir
=.
9809 for ac_exec_ext
in '' $ac_executable_extensions; do
9810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9811 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9822 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9823 if test -n "$aros_kernel_ranlib"; then
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9825 $as_echo "$aros_kernel_ranlib" >&6; }
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9828 $as_echo "no" >&6; }
9833 if test "$GCC" = "yes"; then
9834 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9835 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9836 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9838 $as_echo_n "checking for $ac_word... " >&6; }
9839 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9840 $as_echo_n "(cached) " >&6
9842 case $aros_kernel_ranlib in
9844 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9848 for as_dir
in `dirname $aros_gcc_ranlib`
9851 test -z "$as_dir" && as_dir
=.
9852 for ac_exec_ext
in '' $ac_executable_extensions; do
9853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9854 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9865 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9866 if test -n "$aros_kernel_ranlib"; then
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9868 $as_echo "$aros_kernel_ranlib" >&6; }
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9871 $as_echo "no" >&6; }
9876 if test "$aros_kernel_ranlib" = ""; then
9877 # Extract the first word of "ranlib", so it can be a program name with args.
9878 set dummy ranlib
; ac_word
=$2
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9880 $as_echo_n "checking for $ac_word... " >&6; }
9881 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9882 $as_echo_n "(cached) " >&6
9884 case $aros_kernel_ranlib in
9886 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9893 test -z "$as_dir" && as_dir
=.
9894 for ac_exec_ext
in '' $ac_executable_extensions; do
9895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9896 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9907 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9908 if test -n "$aros_kernel_ranlib"; then
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9910 $as_echo "$aros_kernel_ranlib" >&6; }
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9913 $as_echo "no" >&6; }
9920 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9921 set dummy
$aros_kernel_ranlib; ac_word
=$2
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9923 $as_echo_n "checking for $ac_word... " >&6; }
9924 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9925 $as_echo_n "(cached) " >&6
9927 case $aros_kernel_ranlib in
9929 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9936 test -z "$as_dir" && as_dir
=.
9937 for ac_exec_ext
in '' $ac_executable_extensions; do
9938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9939 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9950 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9951 if test -n "$aros_kernel_ranlib"; then
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9953 $as_echo "$aros_kernel_ranlib" >&6; }
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9956 $as_echo "no" >&6; }
9962 if test "$aros_kernel_ranlib" = ""; then
9963 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9966 if test "$aros_kernel_nm" = ""; then
9967 if test "$cross_compiling" = "yes" ; then
9968 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9969 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9971 $as_echo_n "checking for $ac_word... " >&6; }
9972 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9973 $as_echo_n "(cached) " >&6
9975 case $aros_kernel_nm in
9977 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9984 test -z "$as_dir" && as_dir
=.
9985 for ac_exec_ext
in '' $ac_executable_extensions; do
9986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9987 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9998 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9999 if test -n "$aros_kernel_nm"; then
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10001 $as_echo "$aros_kernel_nm" >&6; }
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10004 $as_echo "no" >&6; }
10009 if test "$GCC" = "yes"; then
10010 aros_gcc_nm
=`$CC -print-prog-name=nm`
10011 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10012 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10014 $as_echo_n "checking for $ac_word... " >&6; }
10015 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10016 $as_echo_n "(cached) " >&6
10018 case $aros_kernel_nm in
10020 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10024 for as_dir
in `dirname $aros_gcc_nm`
10027 test -z "$as_dir" && as_dir
=.
10028 for ac_exec_ext
in '' $ac_executable_extensions; do
10029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10030 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10041 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10042 if test -n "$aros_kernel_nm"; then
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10044 $as_echo "$aros_kernel_nm" >&6; }
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10047 $as_echo "no" >&6; }
10052 if test "$aros_kernel_nm" = ""; then
10053 # Extract the first word of "nm", so it can be a program name with args.
10054 set dummy nm
; ac_word
=$2
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10056 $as_echo_n "checking for $ac_word... " >&6; }
10057 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10058 $as_echo_n "(cached) " >&6
10060 case $aros_kernel_nm in
10062 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10066 for as_dir
in $PATH
10069 test -z "$as_dir" && as_dir
=.
10070 for ac_exec_ext
in '' $ac_executable_extensions; do
10071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10072 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10083 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10084 if test -n "$aros_kernel_nm"; then
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10086 $as_echo "$aros_kernel_nm" >&6; }
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10089 $as_echo "no" >&6; }
10096 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10097 set dummy
$aros_kernel_nm; ac_word
=$2
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10099 $as_echo_n "checking for $ac_word... " >&6; }
10100 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10101 $as_echo_n "(cached) " >&6
10103 case $aros_kernel_nm in
10105 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10109 for as_dir
in $PATH
10112 test -z "$as_dir" && as_dir
=.
10113 for ac_exec_ext
in '' $ac_executable_extensions; do
10114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10115 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10126 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10127 if test -n "$aros_kernel_nm"; then
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10129 $as_echo "$aros_kernel_nm" >&6; }
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10132 $as_echo "no" >&6; }
10138 if test "$aros_kernel_nm" = ""; then
10139 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10142 if test "$aros_kernel_strip" = ""; then
10143 if test "$cross_compiling" = "yes" ; then
10144 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10145 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10147 $as_echo_n "checking for $ac_word... " >&6; }
10148 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10149 $as_echo_n "(cached) " >&6
10151 case $aros_kernel_strip in
10153 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10157 for as_dir
in $PATH
10160 test -z "$as_dir" && as_dir
=.
10161 for ac_exec_ext
in '' $ac_executable_extensions; do
10162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10163 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10174 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10175 if test -n "$aros_kernel_strip"; then
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10177 $as_echo "$aros_kernel_strip" >&6; }
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10180 $as_echo "no" >&6; }
10185 if test "$GCC" = "yes"; then
10186 aros_gcc_strip
=`$CC -print-prog-name=strip`
10187 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10188 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10190 $as_echo_n "checking for $ac_word... " >&6; }
10191 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10192 $as_echo_n "(cached) " >&6
10194 case $aros_kernel_strip in
10196 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10200 for as_dir
in `dirname $aros_gcc_strip`
10203 test -z "$as_dir" && as_dir
=.
10204 for ac_exec_ext
in '' $ac_executable_extensions; do
10205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10206 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10217 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10218 if test -n "$aros_kernel_strip"; then
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10220 $as_echo "$aros_kernel_strip" >&6; }
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10223 $as_echo "no" >&6; }
10228 if test "$aros_kernel_strip" = ""; then
10229 # Extract the first word of "strip", so it can be a program name with args.
10230 set dummy strip
; ac_word
=$2
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10232 $as_echo_n "checking for $ac_word... " >&6; }
10233 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10234 $as_echo_n "(cached) " >&6
10236 case $aros_kernel_strip in
10238 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10242 for as_dir
in $PATH
10245 test -z "$as_dir" && as_dir
=.
10246 for ac_exec_ext
in '' $ac_executable_extensions; do
10247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10248 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10259 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10260 if test -n "$aros_kernel_strip"; then
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10262 $as_echo "$aros_kernel_strip" >&6; }
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10265 $as_echo "no" >&6; }
10272 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10273 set dummy
$aros_kernel_strip; ac_word
=$2
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10275 $as_echo_n "checking for $ac_word... " >&6; }
10276 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10277 $as_echo_n "(cached) " >&6
10279 case $aros_kernel_strip in
10281 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10285 for as_dir
in $PATH
10288 test -z "$as_dir" && as_dir
=.
10289 for ac_exec_ext
in '' $ac_executable_extensions; do
10290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10291 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10302 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10303 if test -n "$aros_kernel_strip"; then
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10305 $as_echo "$aros_kernel_strip" >&6; }
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10308 $as_echo "no" >&6; }
10314 if test "$aros_kernel_strip" = ""; then
10315 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10318 # Objcopy and objdump are not required for the kernel
10319 # toolchain on many architectures.
10320 # So we'll look for them, but not make them strictly required.
10322 if test "$aros_kernel_objcopy" = ""; then
10323 if test "$cross_compiling" = "yes" ; then
10324 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10325 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10327 $as_echo_n "checking for $ac_word... " >&6; }
10328 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10329 $as_echo_n "(cached) " >&6
10331 case $aros_kernel_objcopy in
10333 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10337 for as_dir
in $PATH
10340 test -z "$as_dir" && as_dir
=.
10341 for ac_exec_ext
in '' $ac_executable_extensions; do
10342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10343 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10354 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10355 if test -n "$aros_kernel_objcopy"; then
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10357 $as_echo "$aros_kernel_objcopy" >&6; }
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10360 $as_echo "no" >&6; }
10365 if test "$GCC" = "yes"; then
10366 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10367 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10368 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10370 $as_echo_n "checking for $ac_word... " >&6; }
10371 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10372 $as_echo_n "(cached) " >&6
10374 case $aros_kernel_objcopy in
10376 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10380 for as_dir
in `dirname $aros_gcc_objcopy`
10383 test -z "$as_dir" && as_dir
=.
10384 for ac_exec_ext
in '' $ac_executable_extensions; do
10385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10386 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10397 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10398 if test -n "$aros_kernel_objcopy"; then
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10400 $as_echo "$aros_kernel_objcopy" >&6; }
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10403 $as_echo "no" >&6; }
10408 if test "$aros_kernel_objcopy" = ""; then
10409 # Extract the first word of "objcopy", so it can be a program name with args.
10410 set dummy objcopy
; ac_word
=$2
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10412 $as_echo_n "checking for $ac_word... " >&6; }
10413 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10414 $as_echo_n "(cached) " >&6
10416 case $aros_kernel_objcopy in
10418 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10422 for as_dir
in $PATH
10425 test -z "$as_dir" && as_dir
=.
10426 for ac_exec_ext
in '' $ac_executable_extensions; do
10427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10428 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10439 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10440 if test -n "$aros_kernel_objcopy"; then
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10442 $as_echo "$aros_kernel_objcopy" >&6; }
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10445 $as_echo "no" >&6; }
10452 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10453 set dummy
$aros_kernel_objcopy; ac_word
=$2
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10455 $as_echo_n "checking for $ac_word... " >&6; }
10456 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10457 $as_echo_n "(cached) " >&6
10459 case $aros_kernel_objcopy in
10461 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10465 for as_dir
in $PATH
10468 test -z "$as_dir" && as_dir
=.
10469 for ac_exec_ext
in '' $ac_executable_extensions; do
10470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10471 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10482 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10483 if test -n "$aros_kernel_objcopy"; then
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10485 $as_echo "$aros_kernel_objcopy" >&6; }
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10488 $as_echo "no" >&6; }
10495 if test "$aros_kernel_objdump" = ""; then
10496 if test "$cross_compiling" = "yes" ; then
10497 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10498 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10500 $as_echo_n "checking for $ac_word... " >&6; }
10501 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10502 $as_echo_n "(cached) " >&6
10504 case $aros_kernel_objdump in
10506 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10510 for as_dir
in $PATH
10513 test -z "$as_dir" && as_dir
=.
10514 for ac_exec_ext
in '' $ac_executable_extensions; do
10515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10516 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10527 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10528 if test -n "$aros_kernel_objdump"; then
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10530 $as_echo "$aros_kernel_objdump" >&6; }
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10533 $as_echo "no" >&6; }
10538 if test "$GCC" = "yes"; then
10539 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10540 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10541 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10543 $as_echo_n "checking for $ac_word... " >&6; }
10544 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10545 $as_echo_n "(cached) " >&6
10547 case $aros_kernel_objdump in
10549 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10553 for as_dir
in `dirname $aros_gcc_objdump`
10556 test -z "$as_dir" && as_dir
=.
10557 for ac_exec_ext
in '' $ac_executable_extensions; do
10558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10559 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10570 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10571 if test -n "$aros_kernel_objdump"; then
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10573 $as_echo "$aros_kernel_objdump" >&6; }
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10576 $as_echo "no" >&6; }
10581 if test "$aros_kernel_objdump" = ""; then
10582 # Extract the first word of "objdump", so it can be a program name with args.
10583 set dummy objdump
; ac_word
=$2
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10585 $as_echo_n "checking for $ac_word... " >&6; }
10586 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10587 $as_echo_n "(cached) " >&6
10589 case $aros_kernel_objdump in
10591 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10595 for as_dir
in $PATH
10598 test -z "$as_dir" && as_dir
=.
10599 for ac_exec_ext
in '' $ac_executable_extensions; do
10600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10601 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10612 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10613 if test -n "$aros_kernel_objdump"; then
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10615 $as_echo "$aros_kernel_objdump" >&6; }
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10618 $as_echo "no" >&6; }
10625 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10626 set dummy
$aros_kernel_objdump; ac_word
=$2
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10628 $as_echo_n "checking for $ac_word... " >&6; }
10629 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10630 $as_echo_n "(cached) " >&6
10632 case $aros_kernel_objdump in
10634 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10638 for as_dir
in $PATH
10641 test -z "$as_dir" && as_dir
=.
10642 for ac_exec_ext
in '' $ac_executable_extensions; do
10643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10644 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10655 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10656 if test -n "$aros_kernel_objdump"; then
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10658 $as_echo "$aros_kernel_objdump" >&6; }
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10661 $as_echo "no" >&6; }
10667 if test "x${crosstools}" != "xyes" ; then
10668 if test "$aros_kernel_objcopy" = ""; then
10669 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10671 if test "$aros_kernel_objdump" = ""; then
10672 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10678 $as_echo_n "checking which target tools to use... " >&6; }
10679 if test "$crosstools" = "yes"; then
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10681 $as_echo "$target_tool_prefix" >&6; }
10682 # We are are building AROS crosstools
10683 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10684 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10685 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10686 orig_target_cpp
="${tmp_tool_prefix}cpp"
10687 orig_target_ld
="${tmp_tool_prefix}ld"
10688 orig_target_as
="${tmp_tool_prefix}as"
10689 orig_target_ar
="${tmp_tool_prefix}ar"
10690 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10691 orig_target_nm
="${tmp_tool_prefix}nm"
10692 orig_target_strip
="${tmp_tool_prefix}strip"
10693 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10694 orig_target_objdump
="${tmp_tool_prefix}objdump"
10696 # Determine whether AROS or ELF tools should be used
10697 if test "$aros_tool_prefix" = "none"; then
10698 aros_tool_prefix
="${elf_tool_prefix}"
10699 crosstools_cxx_target
=tools-crosstools
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10703 $as_echo "$aros_tool_prefix" >&6; }
10704 # We are *not* building AROS crosstools - use the AROS or ELF tools
10706 if test "${aros_tool_prefix}cpp" = ""; then
10707 if test "$cross_compiling" = "yes" ; then
10708 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10709 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10711 $as_echo_n "checking for $ac_word... " >&6; }
10712 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10713 $as_echo_n "(cached) " >&6
10715 case $orig_target_cpp in
10717 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10721 for as_dir
in $PATH
10724 test -z "$as_dir" && as_dir
=.
10725 for ac_exec_ext
in '' $ac_executable_extensions; do
10726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10727 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10738 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10739 if test -n "$orig_target_cpp"; then
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10741 $as_echo "$orig_target_cpp" >&6; }
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10744 $as_echo "no" >&6; }
10749 if test "$GCC" = "yes"; then
10750 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10751 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10752 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10754 $as_echo_n "checking for $ac_word... " >&6; }
10755 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10756 $as_echo_n "(cached) " >&6
10758 case $orig_target_cpp in
10760 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10764 for as_dir
in `dirname $aros_gcc_cpp`
10767 test -z "$as_dir" && as_dir
=.
10768 for ac_exec_ext
in '' $ac_executable_extensions; do
10769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10770 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10781 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10782 if test -n "$orig_target_cpp"; then
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10784 $as_echo "$orig_target_cpp" >&6; }
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10787 $as_echo "no" >&6; }
10792 if test "$orig_target_cpp" = ""; then
10793 # Extract the first word of "cpp", so it can be a program name with args.
10794 set dummy cpp
; ac_word
=$2
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10796 $as_echo_n "checking for $ac_word... " >&6; }
10797 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10798 $as_echo_n "(cached) " >&6
10800 case $orig_target_cpp in
10802 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10806 for as_dir
in $PATH
10809 test -z "$as_dir" && as_dir
=.
10810 for ac_exec_ext
in '' $ac_executable_extensions; do
10811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10812 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10823 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10824 if test -n "$orig_target_cpp"; then
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10826 $as_echo "$orig_target_cpp" >&6; }
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10829 $as_echo "no" >&6; }
10836 # Extract the first word of "${aros_tool_prefix}cpp", so it can be a program name with args.
10837 set dummy
${aros_tool_prefix}cpp
; ac_word
=$2
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10839 $as_echo_n "checking for $ac_word... " >&6; }
10840 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10841 $as_echo_n "(cached) " >&6
10843 case $orig_target_cpp in
10845 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10849 for as_dir
in $PATH
10852 test -z "$as_dir" && as_dir
=.
10853 for ac_exec_ext
in '' $ac_executable_extensions; do
10854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10855 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10866 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10867 if test -n "$orig_target_cpp"; then
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10869 $as_echo "$orig_target_cpp" >&6; }
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10872 $as_echo "no" >&6; }
10878 if test "$orig_target_cpp" = ""; then
10879 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10882 if test "${aros_tool_prefix}gcc" = ""; then
10883 if test "$cross_compiling" = "yes" ; then
10884 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10885 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10887 $as_echo_n "checking for $ac_word... " >&6; }
10888 if ${ac_cv_path_orig_target_cc+:} false
; then :
10889 $as_echo_n "(cached) " >&6
10891 case $orig_target_cc in
10893 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10897 for as_dir
in $PATH
10900 test -z "$as_dir" && as_dir
=.
10901 for ac_exec_ext
in '' $ac_executable_extensions; do
10902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10903 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10914 orig_target_cc
=$ac_cv_path_orig_target_cc
10915 if test -n "$orig_target_cc"; then
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10917 $as_echo "$orig_target_cc" >&6; }
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10920 $as_echo "no" >&6; }
10925 if test "$GCC" = "yes"; then
10926 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10927 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10928 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10930 $as_echo_n "checking for $ac_word... " >&6; }
10931 if ${ac_cv_path_orig_target_cc+:} false
; then :
10932 $as_echo_n "(cached) " >&6
10934 case $orig_target_cc in
10936 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10940 for as_dir
in `dirname $aros_gcc_gcc`
10943 test -z "$as_dir" && as_dir
=.
10944 for ac_exec_ext
in '' $ac_executable_extensions; do
10945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10946 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10957 orig_target_cc
=$ac_cv_path_orig_target_cc
10958 if test -n "$orig_target_cc"; then
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10960 $as_echo "$orig_target_cc" >&6; }
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10963 $as_echo "no" >&6; }
10968 if test "$orig_target_cc" = ""; then
10969 # Extract the first word of "gcc", so it can be a program name with args.
10970 set dummy gcc
; ac_word
=$2
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10972 $as_echo_n "checking for $ac_word... " >&6; }
10973 if ${ac_cv_path_orig_target_cc+:} false
; then :
10974 $as_echo_n "(cached) " >&6
10976 case $orig_target_cc in
10978 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10982 for as_dir
in $PATH
10985 test -z "$as_dir" && as_dir
=.
10986 for ac_exec_ext
in '' $ac_executable_extensions; do
10987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10988 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10999 orig_target_cc
=$ac_cv_path_orig_target_cc
11000 if test -n "$orig_target_cc"; then
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11002 $as_echo "$orig_target_cc" >&6; }
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11005 $as_echo "no" >&6; }
11012 # Extract the first word of "${aros_tool_prefix}gcc", so it can be a program name with args.
11013 set dummy
${aros_tool_prefix}gcc
; ac_word
=$2
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11015 $as_echo_n "checking for $ac_word... " >&6; }
11016 if ${ac_cv_path_orig_target_cc+:} false
; then :
11017 $as_echo_n "(cached) " >&6
11019 case $orig_target_cc in
11021 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11025 for as_dir
in $PATH
11028 test -z "$as_dir" && as_dir
=.
11029 for ac_exec_ext
in '' $ac_executable_extensions; do
11030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11031 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11042 orig_target_cc
=$ac_cv_path_orig_target_cc
11043 if test -n "$orig_target_cc"; then
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11045 $as_echo "$orig_target_cc" >&6; }
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11048 $as_echo "no" >&6; }
11054 if test "$orig_target_cc" = ""; then
11055 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11057 if test "x${crosstools_cxx_target}" = "x" ; then
11059 if test "${aros_tool_prefix}g++" = ""; then
11060 if test "$cross_compiling" = "yes" ; then
11061 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11062 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11064 $as_echo_n "checking for $ac_word... " >&6; }
11065 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11066 $as_echo_n "(cached) " >&6
11068 case $orig_target_cxx in
11070 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11074 for as_dir
in $PATH
11077 test -z "$as_dir" && as_dir
=.
11078 for ac_exec_ext
in '' $ac_executable_extensions; do
11079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11080 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11091 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11092 if test -n "$orig_target_cxx"; then
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11094 $as_echo "$orig_target_cxx" >&6; }
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11097 $as_echo "no" >&6; }
11102 if test "$GCC" = "yes"; then
11103 aros_gcc_g
++=`$CC -print-prog-name=g++`
11104 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11105 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11107 $as_echo_n "checking for $ac_word... " >&6; }
11108 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11109 $as_echo_n "(cached) " >&6
11111 case $orig_target_cxx in
11113 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11117 for as_dir
in `dirname $aros_gcc_g++`
11120 test -z "$as_dir" && as_dir
=.
11121 for ac_exec_ext
in '' $ac_executable_extensions; do
11122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11123 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11134 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11135 if test -n "$orig_target_cxx"; then
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11137 $as_echo "$orig_target_cxx" >&6; }
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11140 $as_echo "no" >&6; }
11145 if test "$orig_target_cxx" = ""; then
11146 # Extract the first word of "g++", so it can be a program name with args.
11147 set dummy g
++; ac_word
=$2
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11149 $as_echo_n "checking for $ac_word... " >&6; }
11150 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11151 $as_echo_n "(cached) " >&6
11153 case $orig_target_cxx in
11155 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11159 for as_dir
in $PATH
11162 test -z "$as_dir" && as_dir
=.
11163 for ac_exec_ext
in '' $ac_executable_extensions; do
11164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11165 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11176 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11177 if test -n "$orig_target_cxx"; then
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11179 $as_echo "$orig_target_cxx" >&6; }
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11182 $as_echo "no" >&6; }
11189 # Extract the first word of "${aros_tool_prefix}g++", so it can be a program name with args.
11190 set dummy
${aros_tool_prefix}g
++; ac_word
=$2
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11192 $as_echo_n "checking for $ac_word... " >&6; }
11193 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11194 $as_echo_n "(cached) " >&6
11196 case $orig_target_cxx in
11198 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11202 for as_dir
in $PATH
11205 test -z "$as_dir" && as_dir
=.
11206 for ac_exec_ext
in '' $ac_executable_extensions; do
11207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11208 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11219 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11220 if test -n "$orig_target_cxx"; then
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11222 $as_echo "$orig_target_cxx" >&6; }
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11225 $as_echo "no" >&6; }
11231 if test "$orig_target_cxx" = ""; then
11232 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11236 if test "${aros_tool_prefix}ld" = ""; then
11237 if test "$cross_compiling" = "yes" ; then
11238 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11239 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11241 $as_echo_n "checking for $ac_word... " >&6; }
11242 if ${ac_cv_path_orig_target_ld+:} false
; then :
11243 $as_echo_n "(cached) " >&6
11245 case $orig_target_ld in
11247 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11251 for as_dir
in $PATH
11254 test -z "$as_dir" && as_dir
=.
11255 for ac_exec_ext
in '' $ac_executable_extensions; do
11256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11257 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11268 orig_target_ld
=$ac_cv_path_orig_target_ld
11269 if test -n "$orig_target_ld"; then
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11271 $as_echo "$orig_target_ld" >&6; }
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11274 $as_echo "no" >&6; }
11279 if test "$GCC" = "yes"; then
11280 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11281 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11282 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11284 $as_echo_n "checking for $ac_word... " >&6; }
11285 if ${ac_cv_path_orig_target_ld+:} false
; then :
11286 $as_echo_n "(cached) " >&6
11288 case $orig_target_ld in
11290 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11294 for as_dir
in `dirname $aros_gcc_gcc`
11297 test -z "$as_dir" && as_dir
=.
11298 for ac_exec_ext
in '' $ac_executable_extensions; do
11299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11300 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11311 orig_target_ld
=$ac_cv_path_orig_target_ld
11312 if test -n "$orig_target_ld"; then
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11314 $as_echo "$orig_target_ld" >&6; }
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11317 $as_echo "no" >&6; }
11322 if test "$orig_target_ld" = ""; then
11323 # Extract the first word of "gcc", so it can be a program name with args.
11324 set dummy gcc
; ac_word
=$2
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11326 $as_echo_n "checking for $ac_word... " >&6; }
11327 if ${ac_cv_path_orig_target_ld+:} false
; then :
11328 $as_echo_n "(cached) " >&6
11330 case $orig_target_ld in
11332 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11336 for as_dir
in $PATH
11339 test -z "$as_dir" && as_dir
=.
11340 for ac_exec_ext
in '' $ac_executable_extensions; do
11341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11342 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11353 orig_target_ld
=$ac_cv_path_orig_target_ld
11354 if test -n "$orig_target_ld"; then
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11356 $as_echo "$orig_target_ld" >&6; }
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11359 $as_echo "no" >&6; }
11366 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11367 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11369 $as_echo_n "checking for $ac_word... " >&6; }
11370 if ${ac_cv_path_orig_target_ld+:} false
; then :
11371 $as_echo_n "(cached) " >&6
11373 case $orig_target_ld in
11375 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11379 for as_dir
in $PATH
11382 test -z "$as_dir" && as_dir
=.
11383 for ac_exec_ext
in '' $ac_executable_extensions; do
11384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11385 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11396 orig_target_ld
=$ac_cv_path_orig_target_ld
11397 if test -n "$orig_target_ld"; then
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11399 $as_echo "$orig_target_ld" >&6; }
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11402 $as_echo "no" >&6; }
11408 if test "$orig_target_ld" = ""; then
11409 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11412 if test "${aros_tool_prefix}as" = ""; then
11413 if test "$cross_compiling" = "yes" ; then
11414 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11415 set dummy
${target_tool_prefix}as
; ac_word
=$2
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11417 $as_echo_n "checking for $ac_word... " >&6; }
11418 if ${ac_cv_path_orig_target_as+:} false
; then :
11419 $as_echo_n "(cached) " >&6
11421 case $orig_target_as in
11423 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11427 for as_dir
in $PATH
11430 test -z "$as_dir" && as_dir
=.
11431 for ac_exec_ext
in '' $ac_executable_extensions; do
11432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11433 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11444 orig_target_as
=$ac_cv_path_orig_target_as
11445 if test -n "$orig_target_as"; then
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11447 $as_echo "$orig_target_as" >&6; }
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11450 $as_echo "no" >&6; }
11455 if test "$GCC" = "yes"; then
11456 aros_gcc_as
=`$CC -print-prog-name=as`
11457 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11458 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11460 $as_echo_n "checking for $ac_word... " >&6; }
11461 if ${ac_cv_path_orig_target_as+:} false
; then :
11462 $as_echo_n "(cached) " >&6
11464 case $orig_target_as in
11466 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11470 for as_dir
in `dirname $aros_gcc_as`
11473 test -z "$as_dir" && as_dir
=.
11474 for ac_exec_ext
in '' $ac_executable_extensions; do
11475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11476 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11487 orig_target_as
=$ac_cv_path_orig_target_as
11488 if test -n "$orig_target_as"; then
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11490 $as_echo "$orig_target_as" >&6; }
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11493 $as_echo "no" >&6; }
11498 if test "$orig_target_as" = ""; then
11499 # Extract the first word of "as", so it can be a program name with args.
11500 set dummy as
; ac_word
=$2
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11502 $as_echo_n "checking for $ac_word... " >&6; }
11503 if ${ac_cv_path_orig_target_as+:} false
; then :
11504 $as_echo_n "(cached) " >&6
11506 case $orig_target_as in
11508 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11512 for as_dir
in $PATH
11515 test -z "$as_dir" && as_dir
=.
11516 for ac_exec_ext
in '' $ac_executable_extensions; do
11517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11518 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11529 orig_target_as
=$ac_cv_path_orig_target_as
11530 if test -n "$orig_target_as"; then
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11532 $as_echo "$orig_target_as" >&6; }
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11535 $as_echo "no" >&6; }
11542 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11543 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11545 $as_echo_n "checking for $ac_word... " >&6; }
11546 if ${ac_cv_path_orig_target_as+:} false
; then :
11547 $as_echo_n "(cached) " >&6
11549 case $orig_target_as in
11551 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11555 for as_dir
in $PATH
11558 test -z "$as_dir" && as_dir
=.
11559 for ac_exec_ext
in '' $ac_executable_extensions; do
11560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11561 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11572 orig_target_as
=$ac_cv_path_orig_target_as
11573 if test -n "$orig_target_as"; then
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11575 $as_echo "$orig_target_as" >&6; }
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11578 $as_echo "no" >&6; }
11584 if test "$orig_target_as" = ""; then
11585 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11588 if test "${aros_tool_prefix}ar" = ""; then
11589 if test "$cross_compiling" = "yes" ; then
11590 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11591 set dummy
${target_tool_prefix}ar; ac_word
=$2
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11593 $as_echo_n "checking for $ac_word... " >&6; }
11594 if ${ac_cv_path_orig_target_ar+:} false
; then :
11595 $as_echo_n "(cached) " >&6
11597 case $orig_target_ar in
11599 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11603 for as_dir
in $PATH
11606 test -z "$as_dir" && as_dir
=.
11607 for ac_exec_ext
in '' $ac_executable_extensions; do
11608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11609 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11620 orig_target_ar
=$ac_cv_path_orig_target_ar
11621 if test -n "$orig_target_ar"; then
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11623 $as_echo "$orig_target_ar" >&6; }
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11626 $as_echo "no" >&6; }
11631 if test "$GCC" = "yes"; then
11632 aros_gcc_ar
=`$CC -print-prog-name=ar`
11633 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11634 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11636 $as_echo_n "checking for $ac_word... " >&6; }
11637 if ${ac_cv_path_orig_target_ar+:} false
; then :
11638 $as_echo_n "(cached) " >&6
11640 case $orig_target_ar in
11642 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11646 for as_dir
in `dirname $aros_gcc_ar`
11649 test -z "$as_dir" && as_dir
=.
11650 for ac_exec_ext
in '' $ac_executable_extensions; do
11651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11652 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11663 orig_target_ar
=$ac_cv_path_orig_target_ar
11664 if test -n "$orig_target_ar"; then
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11666 $as_echo "$orig_target_ar" >&6; }
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11669 $as_echo "no" >&6; }
11674 if test "$orig_target_ar" = ""; then
11675 # Extract the first word of "ar", so it can be a program name with args.
11676 set dummy
ar; ac_word
=$2
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11678 $as_echo_n "checking for $ac_word... " >&6; }
11679 if ${ac_cv_path_orig_target_ar+:} false
; then :
11680 $as_echo_n "(cached) " >&6
11682 case $orig_target_ar in
11684 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11688 for as_dir
in $PATH
11691 test -z "$as_dir" && as_dir
=.
11692 for ac_exec_ext
in '' $ac_executable_extensions; do
11693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11694 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11705 orig_target_ar
=$ac_cv_path_orig_target_ar
11706 if test -n "$orig_target_ar"; then
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11708 $as_echo "$orig_target_ar" >&6; }
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11711 $as_echo "no" >&6; }
11718 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11719 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11721 $as_echo_n "checking for $ac_word... " >&6; }
11722 if ${ac_cv_path_orig_target_ar+:} false
; then :
11723 $as_echo_n "(cached) " >&6
11725 case $orig_target_ar in
11727 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11731 for as_dir
in $PATH
11734 test -z "$as_dir" && as_dir
=.
11735 for ac_exec_ext
in '' $ac_executable_extensions; do
11736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11737 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11748 orig_target_ar
=$ac_cv_path_orig_target_ar
11749 if test -n "$orig_target_ar"; then
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11751 $as_echo "$orig_target_ar" >&6; }
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11754 $as_echo "no" >&6; }
11760 if test "$orig_target_ar" = ""; then
11761 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11764 if test "${aros_tool_prefix}ranlib" = ""; then
11765 if test "$cross_compiling" = "yes" ; then
11766 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11767 set dummy
${target_tool_prefix}ar; ac_word
=$2
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11769 $as_echo_n "checking for $ac_word... " >&6; }
11770 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11771 $as_echo_n "(cached) " >&6
11773 case $orig_target_ranlib in
11775 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11779 for as_dir
in $PATH
11782 test -z "$as_dir" && as_dir
=.
11783 for ac_exec_ext
in '' $ac_executable_extensions; do
11784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11785 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11796 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11797 if test -n "$orig_target_ranlib"; then
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11799 $as_echo "$orig_target_ranlib" >&6; }
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11802 $as_echo "no" >&6; }
11807 if test "$GCC" = "yes"; then
11808 aros_gcc_ar
=`$CC -print-prog-name=ar`
11809 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11810 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11812 $as_echo_n "checking for $ac_word... " >&6; }
11813 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11814 $as_echo_n "(cached) " >&6
11816 case $orig_target_ranlib in
11818 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11822 for as_dir
in `dirname $aros_gcc_ar`
11825 test -z "$as_dir" && as_dir
=.
11826 for ac_exec_ext
in '' $ac_executable_extensions; do
11827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11828 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11839 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11840 if test -n "$orig_target_ranlib"; then
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11842 $as_echo "$orig_target_ranlib" >&6; }
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11845 $as_echo "no" >&6; }
11850 if test "$orig_target_ranlib" = ""; then
11851 # Extract the first word of "ar", so it can be a program name with args.
11852 set dummy
ar; ac_word
=$2
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11854 $as_echo_n "checking for $ac_word... " >&6; }
11855 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11856 $as_echo_n "(cached) " >&6
11858 case $orig_target_ranlib in
11860 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11864 for as_dir
in $PATH
11867 test -z "$as_dir" && as_dir
=.
11868 for ac_exec_ext
in '' $ac_executable_extensions; do
11869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11870 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11881 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11882 if test -n "$orig_target_ranlib"; then
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11884 $as_echo "$orig_target_ranlib" >&6; }
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11887 $as_echo "no" >&6; }
11894 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11895 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11897 $as_echo_n "checking for $ac_word... " >&6; }
11898 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11899 $as_echo_n "(cached) " >&6
11901 case $orig_target_ranlib in
11903 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11907 for as_dir
in $PATH
11910 test -z "$as_dir" && as_dir
=.
11911 for ac_exec_ext
in '' $ac_executable_extensions; do
11912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11913 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11924 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11925 if test -n "$orig_target_ranlib"; then
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11927 $as_echo "$orig_target_ranlib" >&6; }
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11930 $as_echo "no" >&6; }
11936 if test "$orig_target_ranlib" = ""; then
11937 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11940 if test "${aros_tool_prefix}nm" = ""; then
11941 if test "$cross_compiling" = "yes" ; then
11942 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
11943 set dummy
${target_tool_prefix}nm
; ac_word
=$2
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11945 $as_echo_n "checking for $ac_word... " >&6; }
11946 if ${ac_cv_path_orig_target_nm+:} false
; then :
11947 $as_echo_n "(cached) " >&6
11949 case $orig_target_nm in
11951 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11955 for as_dir
in $PATH
11958 test -z "$as_dir" && as_dir
=.
11959 for ac_exec_ext
in '' $ac_executable_extensions; do
11960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11961 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11972 orig_target_nm
=$ac_cv_path_orig_target_nm
11973 if test -n "$orig_target_nm"; then
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11975 $as_echo "$orig_target_nm" >&6; }
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11978 $as_echo "no" >&6; }
11983 if test "$GCC" = "yes"; then
11984 aros_gcc_nm
=`$CC -print-prog-name=nm`
11985 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11986 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11988 $as_echo_n "checking for $ac_word... " >&6; }
11989 if ${ac_cv_path_orig_target_nm+:} false
; then :
11990 $as_echo_n "(cached) " >&6
11992 case $orig_target_nm in
11994 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11998 for as_dir
in `dirname $aros_gcc_nm`
12001 test -z "$as_dir" && as_dir
=.
12002 for ac_exec_ext
in '' $ac_executable_extensions; do
12003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12004 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12015 orig_target_nm
=$ac_cv_path_orig_target_nm
12016 if test -n "$orig_target_nm"; then
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12018 $as_echo "$orig_target_nm" >&6; }
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12021 $as_echo "no" >&6; }
12026 if test "$orig_target_nm" = ""; then
12027 # Extract the first word of "nm", so it can be a program name with args.
12028 set dummy nm
; ac_word
=$2
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12030 $as_echo_n "checking for $ac_word... " >&6; }
12031 if ${ac_cv_path_orig_target_nm+:} false
; then :
12032 $as_echo_n "(cached) " >&6
12034 case $orig_target_nm in
12036 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12040 for as_dir
in $PATH
12043 test -z "$as_dir" && as_dir
=.
12044 for ac_exec_ext
in '' $ac_executable_extensions; do
12045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12046 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12057 orig_target_nm
=$ac_cv_path_orig_target_nm
12058 if test -n "$orig_target_nm"; then
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12060 $as_echo "$orig_target_nm" >&6; }
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12063 $as_echo "no" >&6; }
12070 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12071 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12073 $as_echo_n "checking for $ac_word... " >&6; }
12074 if ${ac_cv_path_orig_target_nm+:} false
; then :
12075 $as_echo_n "(cached) " >&6
12077 case $orig_target_nm in
12079 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12083 for as_dir
in $PATH
12086 test -z "$as_dir" && as_dir
=.
12087 for ac_exec_ext
in '' $ac_executable_extensions; do
12088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12089 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12100 orig_target_nm
=$ac_cv_path_orig_target_nm
12101 if test -n "$orig_target_nm"; then
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12103 $as_echo "$orig_target_nm" >&6; }
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12106 $as_echo "no" >&6; }
12112 if test "$orig_target_nm" = ""; then
12113 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12116 if test "${aros_tool_prefix}strip" = ""; then
12117 if test "$cross_compiling" = "yes" ; then
12118 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12119 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12121 $as_echo_n "checking for $ac_word... " >&6; }
12122 if ${ac_cv_path_orig_target_strip+:} false
; then :
12123 $as_echo_n "(cached) " >&6
12125 case $orig_target_strip in
12127 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12131 for as_dir
in $PATH
12134 test -z "$as_dir" && as_dir
=.
12135 for ac_exec_ext
in '' $ac_executable_extensions; do
12136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12137 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12148 orig_target_strip
=$ac_cv_path_orig_target_strip
12149 if test -n "$orig_target_strip"; then
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12151 $as_echo "$orig_target_strip" >&6; }
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12154 $as_echo "no" >&6; }
12159 if test "$GCC" = "yes"; then
12160 aros_gcc_strip
=`$CC -print-prog-name=strip`
12161 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12162 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12164 $as_echo_n "checking for $ac_word... " >&6; }
12165 if ${ac_cv_path_orig_target_strip+:} false
; then :
12166 $as_echo_n "(cached) " >&6
12168 case $orig_target_strip in
12170 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12174 for as_dir
in `dirname $aros_gcc_strip`
12177 test -z "$as_dir" && as_dir
=.
12178 for ac_exec_ext
in '' $ac_executable_extensions; do
12179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12180 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12191 orig_target_strip
=$ac_cv_path_orig_target_strip
12192 if test -n "$orig_target_strip"; then
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12194 $as_echo "$orig_target_strip" >&6; }
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12197 $as_echo "no" >&6; }
12202 if test "$orig_target_strip" = ""; then
12203 # Extract the first word of "strip", so it can be a program name with args.
12204 set dummy strip
; ac_word
=$2
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12206 $as_echo_n "checking for $ac_word... " >&6; }
12207 if ${ac_cv_path_orig_target_strip+:} false
; then :
12208 $as_echo_n "(cached) " >&6
12210 case $orig_target_strip in
12212 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12216 for as_dir
in $PATH
12219 test -z "$as_dir" && as_dir
=.
12220 for ac_exec_ext
in '' $ac_executable_extensions; do
12221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12222 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12233 orig_target_strip
=$ac_cv_path_orig_target_strip
12234 if test -n "$orig_target_strip"; then
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12236 $as_echo "$orig_target_strip" >&6; }
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12239 $as_echo "no" >&6; }
12246 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12247 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12249 $as_echo_n "checking for $ac_word... " >&6; }
12250 if ${ac_cv_path_orig_target_strip+:} false
; then :
12251 $as_echo_n "(cached) " >&6
12253 case $orig_target_strip in
12255 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12259 for as_dir
in $PATH
12262 test -z "$as_dir" && as_dir
=.
12263 for ac_exec_ext
in '' $ac_executable_extensions; do
12264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12265 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12276 orig_target_strip
=$ac_cv_path_orig_target_strip
12277 if test -n "$orig_target_strip"; then
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12279 $as_echo "$orig_target_strip" >&6; }
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12282 $as_echo "no" >&6; }
12288 if test "$orig_target_strip" = ""; then
12289 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12292 if test "${aros_tool_prefix}objcopy" = ""; then
12293 if test "$cross_compiling" = "yes" ; then
12294 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12295 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12297 $as_echo_n "checking for $ac_word... " >&6; }
12298 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12299 $as_echo_n "(cached) " >&6
12301 case $orig_target_objcopy in
12303 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12307 for as_dir
in $PATH
12310 test -z "$as_dir" && as_dir
=.
12311 for ac_exec_ext
in '' $ac_executable_extensions; do
12312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12313 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12324 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12325 if test -n "$orig_target_objcopy"; then
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12327 $as_echo "$orig_target_objcopy" >&6; }
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12330 $as_echo "no" >&6; }
12335 if test "$GCC" = "yes"; then
12336 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12337 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12338 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12340 $as_echo_n "checking for $ac_word... " >&6; }
12341 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12342 $as_echo_n "(cached) " >&6
12344 case $orig_target_objcopy in
12346 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12350 for as_dir
in `dirname $aros_gcc_objcopy`
12353 test -z "$as_dir" && as_dir
=.
12354 for ac_exec_ext
in '' $ac_executable_extensions; do
12355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12356 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12367 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12368 if test -n "$orig_target_objcopy"; then
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12370 $as_echo "$orig_target_objcopy" >&6; }
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12373 $as_echo "no" >&6; }
12378 if test "$orig_target_objcopy" = ""; then
12379 # Extract the first word of "objcopy", so it can be a program name with args.
12380 set dummy objcopy
; ac_word
=$2
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12382 $as_echo_n "checking for $ac_word... " >&6; }
12383 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12384 $as_echo_n "(cached) " >&6
12386 case $orig_target_objcopy in
12388 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12392 for as_dir
in $PATH
12395 test -z "$as_dir" && as_dir
=.
12396 for ac_exec_ext
in '' $ac_executable_extensions; do
12397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12398 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12409 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12410 if test -n "$orig_target_objcopy"; then
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12412 $as_echo "$orig_target_objcopy" >&6; }
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12415 $as_echo "no" >&6; }
12422 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12423 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12425 $as_echo_n "checking for $ac_word... " >&6; }
12426 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12427 $as_echo_n "(cached) " >&6
12429 case $orig_target_objcopy in
12431 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12435 for as_dir
in $PATH
12438 test -z "$as_dir" && as_dir
=.
12439 for ac_exec_ext
in '' $ac_executable_extensions; do
12440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12441 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12452 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12453 if test -n "$orig_target_objcopy"; then
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12455 $as_echo "$orig_target_objcopy" >&6; }
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12458 $as_echo "no" >&6; }
12464 if test "$orig_target_objcopy" = ""; then
12465 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12468 if test "${aros_tool_prefix}objdump" = ""; then
12469 if test "$cross_compiling" = "yes" ; then
12470 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12471 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12473 $as_echo_n "checking for $ac_word... " >&6; }
12474 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12475 $as_echo_n "(cached) " >&6
12477 case $orig_target_objdump in
12479 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12483 for as_dir
in $PATH
12486 test -z "$as_dir" && as_dir
=.
12487 for ac_exec_ext
in '' $ac_executable_extensions; do
12488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12489 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12500 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12501 if test -n "$orig_target_objdump"; then
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12503 $as_echo "$orig_target_objdump" >&6; }
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12506 $as_echo "no" >&6; }
12511 if test "$GCC" = "yes"; then
12512 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12513 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12514 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12516 $as_echo_n "checking for $ac_word... " >&6; }
12517 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12518 $as_echo_n "(cached) " >&6
12520 case $orig_target_objdump in
12522 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12526 for as_dir
in `dirname $aros_gcc_objdump`
12529 test -z "$as_dir" && as_dir
=.
12530 for ac_exec_ext
in '' $ac_executable_extensions; do
12531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12532 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12543 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12544 if test -n "$orig_target_objdump"; then
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12546 $as_echo "$orig_target_objdump" >&6; }
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12549 $as_echo "no" >&6; }
12554 if test "$orig_target_objdump" = ""; then
12555 # Extract the first word of "objdump", so it can be a program name with args.
12556 set dummy objdump
; ac_word
=$2
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12558 $as_echo_n "checking for $ac_word... " >&6; }
12559 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12560 $as_echo_n "(cached) " >&6
12562 case $orig_target_objdump in
12564 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12568 for as_dir
in $PATH
12571 test -z "$as_dir" && as_dir
=.
12572 for ac_exec_ext
in '' $ac_executable_extensions; do
12573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12574 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12585 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12586 if test -n "$orig_target_objdump"; then
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12588 $as_echo "$orig_target_objdump" >&6; }
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12591 $as_echo "no" >&6; }
12598 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12599 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12601 $as_echo_n "checking for $ac_word... " >&6; }
12602 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12603 $as_echo_n "(cached) " >&6
12605 case $orig_target_objdump in
12607 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12611 for as_dir
in $PATH
12614 test -z "$as_dir" && as_dir
=.
12615 for ac_exec_ext
in '' $ac_executable_extensions; do
12616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12617 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12628 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12629 if test -n "$orig_target_objdump"; then
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12631 $as_echo "$orig_target_objdump" >&6; }
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12634 $as_echo "no" >&6; }
12640 if test "$orig_target_objdump" = ""; then
12641 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12645 if test "$kernel_tool_prefix" = "none" ; then
12646 # No kernel tools specified
12647 # Assume target tools == kernel tools with ELF wrapper
12648 aros_kernel_cc
=$orig_target_cc
12649 aros_kernel_cxx
=$orig_target_cxx
12650 aros_kernel_cpp
=$orig_target_cpp
12651 aros_kernel_ld
=$orig_target_ld
12652 aros_kernel_as
=$orig_target_as
12653 aros_kernel_ar
=$orig_target_ar
12654 aros_kernel_ranlib
=$orig_target_ranlib
12655 aros_kernel_nm
=$orig_target_nm
12656 aros_kernel_strip
=$orig_target_strip
12657 aros_kernel_objcopy
=$orig_target_objcopy
12658 aros_kernel_objdump
=$orig_target_objdump
12659 use_kernel_cc_wrapper
=yes
12662 # At this point, all aros_kernel_* and aros_target_*
12663 # tools should be set up correctly
12665 CC
="$aros_kernel_cc $kernel_tool_flags"
12666 CPP
="$aros_kernel_cpp"
12668 #-----------------------------------------------------------------------------
12670 # Disable pointer-signedness warnings if the compiler recognises the option
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12673 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12674 save_cflags
="$CFLAGS"
12675 if test "$crosstools" != "yes" ; then
12676 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h. */
12688 if ac_fn_c_try_compile
"$LINENO"; then :
12689 use_no_sign_warning
="yes"
12691 use_no_sign_warning
="no"
12693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12695 # we do know it is supported for the smallest version of gcc we are going to build
12696 # we assume it's also supported by later versions
12697 use_no_sign_warning
=yes
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12700 $as_echo "$use_no_sign_warning" >&6; }
12701 if test "x-$use_no_sign_warning" = "x-yes" ; then
12702 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12704 CFLAGS
="$save_cflags"
12706 #-----------------------------------------------------------------------------
12708 # Find all the tools we need to compile. This could be cross-compiling
12709 # though! If that is the case we use the GNU form of the target and
12710 # simply add this to the front of the binary name. This is rather simple,
12711 # but it should work under most circumstances.
12713 # The default tools are to use the same as the host, but only if the
12714 # host and target CPU are the same. With GCC this is normally enough.
12718 aros_shared_ld
="$aros_host_ld"
12720 aros_target_mkdep
="$aros_host_mkdep"
12722 # The default tools executables to be linked to.
12723 if test "$rescomp" != ""; then
12724 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12725 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12727 $as_echo_n "checking for $ac_word... " >&6; }
12728 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12729 $as_echo_n "(cached) " >&6
12731 case $aros_kernel_rescomp in
12733 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12737 for as_dir
in $PATH
12740 test -z "$as_dir" && as_dir
=.
12741 for ac_exec_ext
in '' $ac_executable_extensions; do
12742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12743 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12754 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12755 if test -n "$aros_kernel_rescomp"; then
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12757 $as_echo "$aros_kernel_rescomp" >&6; }
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12760 $as_echo "no" >&6; }
12764 if test "$aros_kernel_rescomp" = ""; then
12765 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12769 # Set up the sources for the symlink farm
12770 if test "$crosstools" = "yes"; then
12771 crosstools_target
=tools-crosstools
12774 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12775 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12778 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12779 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12780 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12781 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12782 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12783 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12784 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12786 # aros_cc_pre is a variable that is added to the front of the compiler name
12787 # in the generated aros-gcc shell script. We need this to enable the cache
12788 # to work across cleaned builds. Also, support DISTCC using the correct
12789 # environment variable.
12792 if test "x${DISTCC}" != "x" ; then
12793 if test "x${CCACHE}" != "x" ; then
12794 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12796 aros_cc_pre
="${DISTCC} "
12799 if test "x${CCACHE}" != "x" ; then
12800 aros_cc_pre
="${CCACHE} "
12804 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12806 aros_target_nostdinc_cflags
=-nostdinc
12808 aros_target_nostartup_ldflags
=-nostartfiles
12810 aros_target_nix_ldflags
=-nix
12812 aros_target_detach_ldflags
=-detach
12814 aros_target_nostdlib_ldflags
=-nostdlib
12818 if test "$crosstools" != "yes"; then
12819 if test "$GCC" = "yes"; then
12820 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12823 # We do not know which gcc version we are going to build and what we need to know
12824 # here is different for different versions so this will be set later during the
12825 # build of crosstools.
12826 aros_target_cc_path
=@aros_target_cc_path@
12828 aros_target_cpp
="${prefix}cpp"
12829 aros_target_cc
="${prefix}gcc"
12830 aros_target_cxx
="${prefix}g++"
12831 aros_target_as
="${prefix}as"
12832 aros_target_ld
="${prefix}ld"
12833 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12834 aros_target_objcopy
="${prefix}objcopy"
12835 aros_target_objdump
="${prefix}objdump"
12836 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12837 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12838 aros_target_strip
="${prefix}strip"
12839 aros_plain_nm
="${prefix}nm"
12840 aros_plain_ar
="${prefix}ar"
12842 # Check whether --enable-includes was given.
12843 if test "${enable_includes+set}" = set; then :
12844 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12846 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
12850 if test "$aros_kernel_includes" = ""; then
12851 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12852 aros_kernel_includes
="-isystem $aros_target_incl"
12856 if test "$aros_kernel_includes" != "" ; then
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12858 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12859 if test "$aros_kernel_cc_includes" = "" ; then
12860 # Try to guess where the directory is.
12861 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12862 if test -d $aros_kernel_cc_includes; then
12863 # Check if there is also an include-fixed directory and add it
12864 # to kernel compiler's include path as it may contain some of
12865 # the headers we need.
12866 if test -d "$aros_kernel_cc_includes"-fixed; then
12867 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12869 # Check for specific includes directory. Neede for Ubuntu 11.10
12870 if test -d "/usr/include/i386-linux-gnu"; then
12871 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12874 # The directory doesn't exist, we need to do some more work.
12875 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12877 # These are the headers we're looking for.
12878 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12879 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12883 for h
in $headers; do
12884 # Which other headers are needed by each of the above?
12885 deps
=$
(echo "#include <$h>" | \
12886 $aros_kernel_cc -E -M - 2>/dev
/null | \
12887 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12889 # Copy all the needed headers to a directory beneath gendir.
12892 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12893 sed -n "s,^.*/include\(/.*\),\1,p")
12894 ! test -d $dir && mkdir
-p $dir
12895 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12901 $as_echo "$aros_kernel_cc_includes" >&6; }
12902 # Adding -nostdinc to kernel includes as they are always used together.
12903 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12906 if test "$crosstools" != "yes"; then
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12908 $as_echo_n "checking for the target compiler's include path... " >&6; }
12909 if test "$aros_target_cc_includes" = "" ; then
12910 #try to guess where the directory is
12911 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12912 if ! test -d $aros_target_cc_includes; then
12913 #the directory doesn't exist, we need to do some more work
12914 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12916 #these are the headers we're looking for
12917 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12918 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12922 for h
in $headers; do
12923 #which other headers each of the above headers needs?
12924 deps
=$
(echo "#include <$h>" | \
12925 $orig_target_cc -E -M - 2>/dev
/null | \
12926 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12928 #copy all the needed headers to a directory beneath gendir
12931 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
12932 sed -n "s,^.*/include\(/.*\),\1,p")
12933 ! test -d $dir && mkdir
-p $dir
12934 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
12940 $as_echo "$aros_target_cc_includes" >&6; }
12942 # We do not know which gcc version we are going to build and what we need to know
12943 # here is different for different versions so this will be set later during the
12944 # build of crosstools.
12945 aros_target_cc_includes
=@aros_target_cc_includes@
12949 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
12950 # On GCC >= 4.0 -iquote should be used
12954 save_cflags
="$CFLAGS"
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12957 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12958 if test "x-$crosstools" != "x-yes"; then
12959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12960 /* end confdefs.h. */
12970 if ac_fn_c_try_compile
"$LINENO"; then :
12975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12977 # we do know it is supported for the smallest version of gcc we are going to build
12978 # we assume it's also supported by later versions
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12982 $as_echo "$has_iquote" >&6; }
12983 if test "x-$has_iquote" = "x-yes" ; then
12984 host_cflags_iquote
=-iquote
12985 host_cflags_iquote_end
=
12987 host_cflags_iquote
=-I
12988 host_cflags_iquote_end
=-I-
12990 kernel_cflags_iquote
=$host_cflags_iquote
12991 kernel_cflags_iquote_end
=$host_cflags_iquote_end
12992 if test "x-$cross_compiling" = "x-yes"; then
12993 CC
="$aros_kernel_cc"
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
12995 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
12996 if test "x-$crosstools" != "x-yes"; then
12997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12998 /* end confdefs.h. */
13008 if ac_fn_c_try_compile
"$LINENO"; then :
13009 use_no_stack_protector
="yes"
13011 use_no_stack_protector
="no"
13013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13015 # we do know it is supported for the smallest version of gcc we are going to build
13016 # we assume it's also supported by later versions
13017 use_no_stack_protector
=yes
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13020 $as_echo "$use_no_stack_protector" >&6; }
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13022 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13023 if test "x-$crosstools" != "x-yes"; then
13024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13025 /* end confdefs.h. */
13035 if ac_fn_c_try_compile
"$LINENO"; then :
13040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13042 # we do know it is supported for the smallest version of gcc we are going to build
13043 # we assume it's also supported by later versions
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13047 $as_echo "$has_iquote" >&6; }
13048 if test "x-$has_iquote" = "x-yes" ; then
13049 kernel_cflags_iquote
=-iquote
13050 kernel_cflags_iquote_end
=
13052 kernel_cflags_iquote
=-I
13053 kernel_cflags_iquote_end
=-I-
13056 aros_cflags_iquote
=$kernel_cflags_iquote
13057 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13058 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13059 CC
="$orig_target_cc"
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13061 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13062 if test "x-$crosstools" != "x-yes"; then
13063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13064 /* end confdefs.h. */
13074 if ac_fn_c_try_compile
"$LINENO"; then :
13079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13081 # we do know it is supported for the smallest version of gcc we are going to build
13082 # we assume it's also supported by later versions
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13086 $as_echo "$has_iquote" >&6; }
13087 if test "x-$has_iquote" = "x-yes" ; then
13088 aros_cflags_iquote
=-iquote
13089 aros_cflags_iquote_end
=
13091 aros_cflags_iquote
=-I
13092 aros_cflags_iquote_end
=-I-
13095 if test "x-$use_no_stack_protector" = "x-yes" ; then
13096 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13100 #-----------------------------------------------------------------------------
13102 # Check if the target compiler supports some options used for delinting:
13103 # -Wunused-but-set-variable
13106 # -Wstrict-overflow
13107 # -Wformat-security
13109 if test "x-$crosstools" != "x-yes"; then
13110 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13111 CC
="$orig_target_cc"
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13114 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13115 CFLAGS
=-Wunused-but-set-variable
13116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13117 /* end confdefs.h. */
13127 if ac_fn_c_try_compile
"$LINENO"; then :
13128 aros_unused_but_set_variable
="yes"
13130 aros_unused_but_set_variable
="no"
13132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13134 $as_echo "$aros_unused_but_set_variable" >&6; }
13135 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13136 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13140 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13141 CFLAGS
=-Warray-bounds
13142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13143 /* end confdefs.h. */
13153 if ac_fn_c_try_compile
"$LINENO"; then :
13154 aros_array_bounds
="yes"
13156 aros_array_bounds
="no"
13158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13160 $as_echo "$aros_array_bounds" >&6; }
13161 if test "x-$aros_array_bounds" = "x-yes" ; then
13162 aros_cflags_array_bounds
=-Wno-array-bounds
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13166 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13167 CFLAGS
=-Wenum-compare
13168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13169 /* end confdefs.h. */
13179 if ac_fn_c_try_compile
"$LINENO"; then :
13180 aros_enum_compare
="yes"
13182 aros_enum_compare
="no"
13184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13186 $as_echo "$aros_enum_compare" >&6; }
13187 if test "x-$aros_enum_compare" = "x-yes" ; then
13188 aros_cflags_enum_compare
=-Wno-enum-compare
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13192 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13193 CFLAGS
=-Wstrict-overflow
13194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13195 /* end confdefs.h. */
13205 if ac_fn_c_try_compile
"$LINENO"; then :
13206 aros_strict_overflow
="yes"
13208 aros_strict_overflow
="no"
13210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13212 $as_echo "$aros_strict_overflow" >&6; }
13213 if test "x-$aros_strict_overflow" = "x-yes" ; then
13214 aros_cflags_strict_overflow
=-Wno-strict-overflow
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13218 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13219 CFLAGS
=-Wformat-security
13220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13221 /* end confdefs.h. */
13231 if ac_fn_c_try_compile
"$LINENO"; then :
13232 aros_format_security
="yes"
13234 aros_format_security
="no"
13236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13238 $as_echo "$aros_format_security" >&6; }
13239 if test "x-$aros_format_security" = "x-yes" ; then
13240 aros_cflags_format_security
=-Wno-format-security
13243 # We do not know which gcc version we are going to build and what we need to know
13244 # here is different for different versions so this will be set later during the
13245 # build of crosstools.
13246 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13247 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13248 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13249 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13250 aros_cflags_format_security
=@aros_cflags_format_security@
13253 #-----------------------------------------------------------------------------
13255 # Check if we can explicitly choose older version of symbol hashing
13257 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13258 CC
="$aros_kernel_cc"
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13260 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13262 /* end confdefs.h. */
13272 if ac_fn_c_try_link
"$LINENO"; then :
13273 use_hash_style
="yes"
13275 use_hash_style
="no"
13277 rm -f core conftest.err conftest.
$ac_objext \
13278 conftest
$ac_exeext conftest.
$ac_ext
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13280 $as_echo "$use_hash_style" >&6; }
13281 if test "x-$use_hash_style" = "x-yes" ; then
13282 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13285 CFLAGS
="$save_cflags"
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13296 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13298 # Check whether --with-resolution was given.
13299 if test "${with_resolution+set}" = set; then :
13300 withval
=$with_resolution; resolution
=$withval
13305 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13306 if test "$resolution" = "yes" ; then
13309 if test "$resolution" = "no" ; then
13312 if test "$resolution" != "none" ; then
13313 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13314 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13315 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13318 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13319 aros_cv_default_wbwidth
=$aros_default_wbwidth
13320 aros_cv_default_wbheight
=$aros_default_wbheight
13321 aros_cv_default_wbdepth
=$aros_default_wbdepth
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13324 $as_echo_n "checking if serial debug is enabled... " >&6; }
13326 # Check whether --with-serial-debug was given.
13327 if test "${with_serial_debug+set}" = set; then :
13328 withval
=$with_serial_debug; serial_debug
=$withval
13333 if test "$aros_serial_debug" = 0 ; then
13334 serial_debug_forced
=""
13335 if test "$serial_debug" = "yes" ; then
13338 if test "$serial_debug" = "no" ; then
13339 serial_debug
="none"
13342 serial_debug_forced
="(forced)"
13343 serial_debug
=$aros_serial_debug
13345 if test "$serial_debug" != "none" ; then
13346 aros_serial_debug
=$serial_debug
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13348 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13351 $as_echo "no" >&6; }
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13355 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13356 # Check whether --enable-palm_debug_hack was given.
13357 if test "${enable_palm_debug_hack+set}" = set; then :
13358 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13360 palm_debug_hack
="no"
13363 if test "$palm_debug_hack" = "yes" ; then
13364 aros_palm_debug_hack
="1"
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13367 $as_echo "$palm_debug_hack" >&6; }
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13370 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13371 # Check whether --enable-nesting_supervisor was given.
13372 if test "${enable_nesting_supervisor+set}" = set; then :
13373 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13375 nesting_supervisor
="no"
13378 if test "$nesting_supervisor" = "yes" ; then
13379 aros_nesting_supervisor
="1"
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13382 $as_echo "$nesting_supervisor" >&6; }
13384 if test "$aros_enable_mmu" = "" ; then
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13386 $as_echo_n "checking if MMU support is enabled... " >&6; }
13387 # Check whether --enable-mmu was given.
13388 if test "${enable_mmu+set}" = set; then :
13389 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13391 aros_enable_mmu
="yes"
13394 if test "$aros_enable_mmu" = "" ; then
13395 aros_enable_mmu
="yes"
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13398 $as_echo "$aros_enable_mmu" >&6; }
13400 if test "$aros_enable_mmu" = "no" ; then
13401 aros_enable_mmu
="0"
13403 aros_enable_mmu
="1"
13407 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13409 if test "x-$need_dlopen" != "x-no" ; then
13412 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13413 if test "x$ac_cv_func_dlopen" = xyes
; then :
13419 if test "x-$have_dl" = "x-no" ; then
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13421 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13422 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13423 $as_echo_n "(cached) " >&6
13425 ac_check_lib_save_LIBS
=$LIBS
13427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13428 /* end confdefs.h. */
13430 /* Override any GCC internal prototype to avoid an error.
13431 Use char because int might match the return type of a GCC
13432 builtin and then its argument prototype would still apply. */
13445 if ac_fn_c_try_link
"$LINENO"; then :
13446 ac_cv_lib_dl_dlopen
=yes
13448 ac_cv_lib_dl_dlopen
=no
13450 rm -f core conftest.err conftest.
$ac_objext \
13451 conftest
$ac_exeext conftest.
$ac_ext
13452 LIBS
=$ac_check_lib_save_LIBS
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13455 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13456 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13458 aros_host_ldflags
="$aros_host_ldflags -ldl"
13464 if test "x-$have_dl" = "x-no" ; then
13465 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13471 # Check whether --enable-x11_hidd was given.
13472 if test "${enable_x11_hidd+set}" = set; then :
13473 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13475 x11_hidd
="$need_x11"
13478 case "x-$x11_hidd" in
13479 x-yes|x-no|x-auto
) ;;
13480 *) x11_hidd
="$need_x11" ;;
13485 if test "x-$x11_hidd" != "x-no" ; then
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13488 $as_echo_n "checking for X... " >&6; }
13491 # Check whether --with-x was given.
13492 if test "${with_x+set}" = set; then :
13496 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13497 if test "x$with_x" = xno
; then
13498 # The user explicitly disabled X.
13501 case $x_includes,$x_libraries in #(
13502 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13503 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13504 $as_echo_n "(cached) " >&6
13506 # One or both of the vars are not set, and there is no cached value.
13507 ac_x_includes
=no ac_x_libraries
=no
13508 rm -f -r conftest.dir
13509 if mkdir conftest.dir
; then
13511 cat >Imakefile
<<'_ACEOF'
13513 @echo incroot='${INCROOT}'
13515 @echo usrlibdir='${USRLIBDIR}'
13517 @echo libdir='${LIBDIR}'
13519 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13520 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13521 for ac_var
in incroot usrlibdir libdir
; do
13522 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13524 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13525 for ac_extension
in a so sl dylib la dll
; do
13526 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13527 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13528 ac_im_usrlibdir
=$ac_im_libdir; break
13531 # Screen out bogus values from the imake configuration. They are
13532 # bogus both because they are the default anyway, and because
13533 # using them would break gcc on systems where it needs fixed includes.
13534 case $ac_im_incroot in
13535 /usr
/include
) ac_x_includes
= ;;
13536 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13538 case $ac_im_usrlibdir in
13539 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13540 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13544 rm -f -r conftest.dir
13547 # Standard set of common directories for X headers.
13548 # Check X11 before X11Rn because it is often a symlink to the current release.
13562 /usr/local/X11/include
13563 /usr/local/X11R7/include
13564 /usr/local/X11R6/include
13565 /usr/local/X11R5/include
13566 /usr/local/X11R4/include
13568 /usr/local/include/X11
13569 /usr/local/include/X11R7
13570 /usr/local/include/X11R6
13571 /usr/local/include/X11R5
13572 /usr/local/include/X11R4
13576 /usr/XFree86/include/X11
13580 /usr/unsupported/include
13581 /usr/athena/include
13582 /usr/local/x11r5/include
13583 /usr/lpp/Xamples/include
13585 /usr/openwin/include
13586 /usr/openwin/share/include'
13588 if test "$ac_x_includes" = no
; then
13589 # Guess where to find include files, by looking for Xlib.h.
13590 # First, try using that file with no special directory specified.
13591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13592 /* end confdefs.h. */
13593 #include <X11/Xlib.h>
13595 if ac_fn_c_try_cpp
"$LINENO"; then :
13596 # We can compile using X headers with no special include directory.
13599 for ac_dir
in $ac_x_header_dirs; do
13600 if test -r "$ac_dir/X11/Xlib.h"; then
13601 ac_x_includes
=$ac_dir
13606 rm -f conftest.err conftest.i conftest.
$ac_ext
13607 fi # $ac_x_includes = no
13609 if test "$ac_x_libraries" = no
; then
13610 # Check for the libraries.
13611 # See if we find them without any special options.
13612 # Don't add to $LIBS permanently.
13615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13616 /* end confdefs.h. */
13617 #include <X11/Xlib.h>
13626 if ac_fn_c_try_link
"$LINENO"; then :
13628 # We can link X programs with no special library path.
13632 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13634 # Don't even attempt the hair of trying to link an X program!
13635 for ac_extension
in a so sl dylib la dll
; do
13636 if test -r "$ac_dir/libX11.$ac_extension"; then
13637 ac_x_libraries
=$ac_dir
13643 rm -f core conftest.err conftest.
$ac_objext \
13644 conftest
$ac_exeext conftest.
$ac_ext
13645 fi # $ac_x_libraries = no
13647 case $ac_x_includes,$ac_x_libraries in #(
13648 no
,* |
*,no |
*\'*)
13649 # Didn't find X, or a directory has "'" in its name.
13650 ac_cv_have_x
="have_x=no";; #(
13652 # Record where we found X for the cache.
13653 ac_cv_have_x
="have_x=yes\
13654 ac_x_includes='$ac_x_includes'\
13655 ac_x_libraries='$ac_x_libraries'"
13661 eval "$ac_cv_have_x"
13664 if test "$have_x" != yes; then
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13666 $as_echo "$have_x" >&6; }
13669 # If each of the values was on the command line, it overrides each guess.
13670 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13671 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13672 # Update the cache value to reflect the command line values.
13673 ac_cv_have_x
="have_x=yes\
13674 ac_x_includes='$x_includes'\
13675 ac_x_libraries='$x_libraries'"
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13677 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13682 for path
in $x_libraries
13684 x_cflags
="$x_cflags -L$path"
13687 for path
in $x_includes
13689 x_cflags
="$x_cflags -I$path"
13692 if test "x-$no_x" = "x-yes" ; then
13694 if test "x-$x11_hidd" != "x-auto" ; then
13695 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13699 x11_hidd_target
=kernel-x11gfx-kobj
13702 # Check whether --enable-x11_shm was given.
13703 if test "${enable_x11_shm+set}" = set; then :
13704 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13706 x11_hidd_shm
="auto"
13709 case "x-$x11_hidd_shm" in
13710 x-yes|x-no|x-auto
) ;;
13711 *) x11_hidd_shm
="auto" ;;
13716 if test "x-$x11_hidd_shm" != "x-no" ; then
13718 for ac_header
in sys
/ipc.h
13720 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13721 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13722 cat >>confdefs.h
<<_ACEOF
13723 #define HAVE_SYS_IPC_H 1
13730 for ac_header
in sys
/shm.h
13732 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13733 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13734 cat >>confdefs.h
<<_ACEOF
13735 #define HAVE_SYS_SHM_H 1
13743 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13745 save_cflags
="$CFLAGS"
13746 CFLAGS
="$CFLAGS $x_cflags"
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13748 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13749 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13750 $as_echo_n "(cached) " >&6
13752 ac_check_lib_save_LIBS
=$LIBS
13753 LIBS
="-lXext $LIBS"
13754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13757 /* Override any GCC internal prototype to avoid an error.
13758 Use char because int might match the return type of a GCC
13759 builtin and then its argument prototype would still apply. */
13763 char XShmQueryExtension ();
13767 return XShmQueryExtension ();
13772 if ac_fn_c_try_link
"$LINENO"; then :
13773 ac_cv_lib_Xext_XShmQueryExtension
=yes
13775 ac_cv_lib_Xext_XShmQueryExtension
=no
13777 rm -f core conftest.err conftest.
$ac_objext \
13778 conftest
$ac_exeext conftest.
$ac_ext
13779 LIBS
=$ac_check_lib_save_LIBS
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13782 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13783 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13787 CFLAGS
="$save_cflags"
13791 if test "x-$have_xshm" = "x-yes" ; then
13792 DO_XSHM_SUPPORT
="1"
13793 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13794 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13796 DO_XSHM_SUPPORT
="0"
13800 # Check whether --enable-x11_vidmode was given.
13801 if test "${enable_x11_vidmode+set}" = set; then :
13802 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13804 x11_hidd_vidmode
="auto"
13807 case "x-$x11_hidd_vidmode" in
13808 x-yes|x-no|x-auto
) ;;
13809 *) x11_hidd_vidmode
="auto" ;;
13814 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13816 save_cflags
="$CFLAGS"
13817 CFLAGS
="$CFLAGS $x_cflags"
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13819 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13820 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13821 $as_echo_n "(cached) " >&6
13823 ac_check_lib_save_LIBS
=$LIBS
13824 LIBS
="-lXxf86vm $LIBS"
13825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13826 /* end confdefs.h. */
13828 /* Override any GCC internal prototype to avoid an error.
13829 Use char because int might match the return type of a GCC
13830 builtin and then its argument prototype would still apply. */
13834 char XF86VidModeQueryExtension ();
13838 return XF86VidModeQueryExtension ();
13843 if ac_fn_c_try_link
"$LINENO"; then :
13844 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13846 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13848 rm -f core conftest.err conftest.
$ac_objext \
13849 conftest
$ac_exeext conftest.
$ac_ext
13850 LIBS
=$ac_check_lib_save_LIBS
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13853 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13854 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13858 CFLAGS
="$save_cflags"
13861 if test "x-$have_vidmode" = "x-yes" ; then
13862 DO_VIDMODE_SUPPORT
="1"
13863 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13864 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13866 DO_VIDMODE_SUPPORT
="0"
13870 aros_host_x11_includes
=$x_includes
13871 aros_host_x11_libdirs
=$x_libraries
13875 # Check whether --enable-sdl_hidd was given.
13876 if test "${enable_sdl_hidd+set}" = set; then :
13877 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13882 case "x-$sdl_hidd" in
13883 x-yes|x-no|x-auto
) ;;
13884 *) sdl_hidd
="auto" ;;
13887 if test "x-$sdl_hidd" != "x-no" ; then
13890 # Check whether --with-sdl-prefix was given.
13891 if test "${with_sdl_prefix+set}" = set; then :
13892 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13898 # Check whether --with-sdl-exec-prefix was given.
13899 if test "${with_sdl_exec_prefix+set}" = set; then :
13900 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13905 # Check whether --enable-sdltest was given.
13906 if test "${enable_sdltest+set}" = set; then :
13907 enableval
=$enable_sdltest;
13913 if test x
$sdl_exec_prefix != x
; then
13914 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
13915 if test x
${SDL_CONFIG+set} != xset
; then
13916 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
13919 if test x
$sdl_prefix != x
; then
13920 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
13921 if test x
${SDL_CONFIG+set} != xset
; then
13922 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
13926 as_save_PATH
="$PATH"
13927 if test "x$prefix" != xNONE
; then
13928 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
13930 # Extract the first word of "sdl-config", so it can be a program name with args.
13931 set dummy sdl-config
; ac_word
=$2
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13933 $as_echo_n "checking for $ac_word... " >&6; }
13934 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
13935 $as_echo_n "(cached) " >&6
13937 case $SDL_CONFIG in
13939 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
13942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13943 for as_dir
in $PATH
13946 test -z "$as_dir" && as_dir
=.
13947 for ac_exec_ext
in '' $ac_executable_extensions; do
13948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13949 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13957 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
13961 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
13962 if test -n "$SDL_CONFIG"; then
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
13964 $as_echo "$SDL_CONFIG" >&6; }
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13967 $as_echo "no" >&6; }
13971 PATH
="$as_save_PATH"
13972 min_sdl_version
=1.2.10
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
13974 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
13976 if test "$SDL_CONFIG" = "no" ; then
13979 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
13980 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
13982 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
13983 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13984 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
13985 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13986 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
13987 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13988 if test "x$enable_sdltest" = "xyes" ; then
13989 ac_save_CFLAGS
="$CFLAGS"
13990 ac_save_CXXFLAGS
="$CXXFLAGS"
13991 ac_save_LIBS
="$LIBS"
13992 CFLAGS
="$CFLAGS $SDL_CFLAGS"
13993 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
13994 LIBS
="$LIBS $SDL_LIBS"
13996 if test "$cross_compiling" = yes; then :
13997 echo $ac_n "cross compiling; assumed OK... $ac_c"
13999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14003 #include <stdlib.h>
14004 #include <string.h>
14008 my_strdup (char *str)
14014 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14015 strcpy (new_str, str);
14023 int main (int argc, char *argv[])
14025 int major, minor, micro;
14028 /* This hangs on some systems (?)
14029 system ("touch conf.sdltest");
14031 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14033 /* HP/UX 9 (%@#!) writes to sscanf strings */
14034 tmp_version = my_strdup("$min_sdl_version");
14035 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14036 printf("%s, bad version string\n", "$min_sdl_version");
14040 if (($sdl_major_version > major) ||
14041 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14042 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14048 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14049 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14050 printf("*** best to upgrade to the required version.\n");
14051 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14052 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14053 printf("*** config.cache before re-running configure\n");
14060 if ac_fn_c_try_run
"$LINENO"; then :
14065 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14066 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14069 CFLAGS
="$ac_save_CFLAGS"
14070 CXXFLAGS
="$ac_save_CXXFLAGS"
14071 LIBS
="$ac_save_LIBS"
14074 if test "x$no_sdl" = x
; then
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14076 $as_echo "yes" >&6; }
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14080 $as_echo "no" >&6; }
14081 if test "$SDL_CONFIG" = "no" ; then
14082 echo "*** The sdl-config script installed by SDL could not be found"
14083 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14084 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14085 echo "*** full path to sdl-config."
14087 if test -f conf.sdltest
; then
14090 echo "*** Could not run SDL test program, checking why..."
14091 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14092 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14093 LIBS
="$LIBS $SDL_LIBS"
14094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14095 /* end confdefs.h. */
14100 int main(int argc, char *argv[])
14103 #define main K_and_R_C_main
14113 if ac_fn_c_try_link
"$LINENO"; then :
14114 echo "*** The test program compiled, but did not run. This usually means"
14115 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14116 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14117 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14118 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14119 echo "*** is required on your system"
14121 echo "*** If you have an old version installed, it is best to remove it, although"
14122 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14124 echo "*** The test program failed to compile or link. See the file config.log for the"
14125 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14126 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14127 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14129 rm -f core conftest.err conftest.
$ac_objext \
14130 conftest
$ac_exeext conftest.
$ac_ext
14131 CFLAGS
="$ac_save_CFLAGS"
14132 CXXFLAGS
="$ac_save_CXXFLAGS"
14133 LIBS
="$ac_save_LIBS"
14145 if test "x-$have_sdl" != "x-yes" ; then
14147 if test "x-$sdl_hidd" != "x-auto" ; then
14148 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14152 sdl_hidd_target
=kernel-hidd-sdl
14153 aros_host_sdl_cflags
=SDL_CFLAGS
14154 aros_host_sdl_libs
=SDL_LIBS
14158 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14159 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14164 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14165 oss_library_target
=workbench-libs-oss-unix
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14171 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14172 # Check whether --enable-dbus was given.
14173 if test "${enable_dbus+set}" = set; then :
14174 enableval
=$enable_dbus; dbus
="yes"
14179 if test "$dbus" = "yes" ; then
14181 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14182 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14183 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14184 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14189 $as_echo "$dbus" >&6; }
14191 if test "$use_kernel_cc_wrapper" = "yes" ; then
14192 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14195 if test "${crosstools}" != "yes" ; then
14196 aros_target_toolchain
=no
14198 aros_target_toolchain
=yes
14214 # Compatability with other Amiga-like operation systems
14309 # Delinting target compiler flags
14333 # Native version related
14336 # Palm native version related
14339 # Unix/Hosted version related
14345 # Apple iOS related
14350 # ARM default GCC target related
14375 # Collect-aros stuff: "-ius" to ignore undefined symbols
14378 # C compiler related
14381 case "$aros_flavour" in
14382 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14383 aros_flavour
="emulation" ;;
14384 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14385 aros_flavour
="emulation" ;;
14386 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14387 aros_flavour
="standalone";;
14388 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14389 aros_flavour
="standalone";;
14390 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14391 aros_flavour
="native" ;;
14392 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14393 aros_flavour
="native" ;;
14394 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14395 aros_flavour
="linklib" ;;
14396 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14397 aros_flavour
="palmnative" ;;
14398 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14399 aros_flavour
="mac68knative" ;;
14400 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14401 aros_flavour
="ppcnative" ;;
14404 if test ! -d ${aros_inc_dir} ; then
14405 ${MKDIR} ${aros_inc_dir}
14407 if test ! -d ${aros_geninc_dir} ; then
14408 ${MKDIR} ${aros_geninc_dir}
14410 if test ! -d ${aros_hostcfg_dir} ; then
14411 ${MKDIR} ${aros_hostcfg_dir}
14413 if test ! -d ${aros_targetcfg_dir} ; then
14414 ${MKDIR} ${aros_targetcfg_dir}
14416 if test ! -d ${aros_tools_dir} ; then
14417 ${MKDIR} ${aros_tools_dir}
14419 if test ! -d ${aros_scripts_dir} ; then
14420 ${MKDIR} ${aros_scripts_dir}
14423 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14426 ac_config_commands
="$ac_config_commands compiler_executable"
14428 ac_config_commands
="$ac_config_commands genmf_executable"
14431 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"
14434 cat >confcache
<<\_ACEOF
14435 # This file is a shell script that caches the results of configure
14436 # tests run on this system so they can be shared between configure
14437 # scripts and configure runs, see configure's option --config-cache.
14438 # It is not useful on other systems. If it contains results you don't
14439 # want to keep, you may remove or edit it.
14441 # config.status only pays attention to the cache file if you give it
14442 # the --recheck option to rerun configure.
14444 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14445 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14446 # following values.
14450 # The following way of writing the cache mishandles newlines in values,
14451 # but we know of no workaround that is simple, portable, and efficient.
14452 # So, we kill variables containing newlines.
14453 # Ultrix sh set writes to stderr and can't be redirected directly,
14454 # and sets the high bit in the cache file unless we assign to the vars.
14456 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14457 eval ac_val
=\$
$ac_var
14461 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14462 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14465 _ | IFS | as_nl
) ;; #(
14466 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14467 *) { eval $ac_var=; unset $ac_var;} ;;
14473 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14474 *${as_nl}ac_space
=\
*)
14475 # `set' does not quote correctly, so add quotes: double-quote
14476 # substitution turns \\\\ into \\, and sed turns \\ into \.
14479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14482 # `set' quotes correctly as required by POSIX, so do not add quotes.
14483 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14492 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14494 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14496 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14497 if test -w "$cache_file"; then
14498 if test "x$cache_file" != "x/dev/null"; then
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14500 $as_echo "$as_me: updating cache $cache_file" >&6;}
14501 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14502 cat confcache
>"$cache_file"
14504 case $cache_file in #(
14506 mv -f confcache
"$cache_file"$$
&&
14507 mv -f "$cache_file"$$
"$cache_file" ;; #(
14509 mv -f confcache
"$cache_file" ;;
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14515 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14520 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14521 # Let make expand exec_prefix.
14522 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14524 DEFS
=-DHAVE_CONFIG_H
14529 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14530 # 1. Remove the extension, and $U if already installed.
14531 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14532 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14533 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14534 # will be set to the directory where LIBOBJS objects are built.
14535 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14536 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14538 LIBOBJS
=$ac_libobjs
14540 LTLIBOBJS
=$ac_ltlibobjs
14544 : "${CONFIG_STATUS=./config.status}"
14546 ac_clean_files_save
=$ac_clean_files
14547 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14549 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14551 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14553 # Generated by $as_me.
14554 # Run this file to recreate the current configuration.
14555 # Compiler output produced by configure, useful for debugging
14556 # configure, is in config.log if it exists.
14559 ac_cs_recheck=false
14562 SHELL=\${CONFIG_SHELL-$SHELL}
14565 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14566 ## -------------------- ##
14567 ## M4sh Initialization. ##
14568 ## -------------------- ##
14570 # Be more Bourne compatible
14571 DUALCASE
=1; export DUALCASE
# for MKS sh
14572 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14575 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14576 # is contrary to our usage. Disable this feature.
14577 alias -g '${1+"$@"}'='"$@"'
14578 setopt NO_GLOB_SUBST
14580 case `(set -o) 2>/dev/null` in #(
14592 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14593 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14594 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14595 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14596 # Prefer a ksh shell builtin over an external printf program on Solaris,
14597 # but without wasting forks for bash or zsh.
14598 if test -z "$BASH_VERSION$ZSH_VERSION" \
14599 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14600 as_echo='print
-r --'
14601 as_echo_n='print
-rn --'
14602 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14603 as_echo='printf %s
\n'
14604 as_echo_n='printf %s
'
14606 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14607 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14608 as_echo_n='/usr
/ucb
/echo -n'
14610 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14611 as_echo_n_body='eval
14615 expr "X$arg" : "X\\(.*\\)$as_nl";
14616 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14618 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14620 export as_echo_n_body
14621 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14623 export as_echo_body
14624 as_echo='sh
-c $as_echo_body as_echo
'
14627 # The user is always right.
14628 if test "${PATH_SEPARATOR+set}" != set; then
14630 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14631 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14638 # We need space, tab and new line, in precisely that order. Quoting is
14639 # there to prevent editors from complaining about space-tab.
14640 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14641 # splitting by setting IFS to empty value.)
14644 # Find who we are. Look in the path if we contain no directory separator.
14647 *[\\/]* ) as_myself=$0 ;;
14648 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14649 for as_dir in $PATH
14652 test -z "$as_dir" && as_dir=.
14653 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14659 # We did not find ourselves, most probably we were run as `sh COMMAND'
14660 # in which case we are not to be found in the path.
14661 if test "x$as_myself" = x
; then
14664 if test ! -f "$as_myself"; then
14665 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14669 # Unset variables that we do not need and which cause bugs (e.g. in
14670 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14671 # suppresses any "Segmentation fault" message there. '((' could
14672 # trigger a bug in pdksh 5.2.14.
14673 for as_var
in BASH_ENV ENV MAIL MAILPATH
14674 do eval test x\
${$as_var+set} = xset \
14675 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14688 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14691 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14692 # ----------------------------------------
14693 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14694 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14695 # script with STATUS, using 1 if that was 0.
14698 as_status
=$1; test $as_status -eq 0 && as_status
=1
14700 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14701 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14703 $as_echo "$as_me: error: $2" >&2
14704 as_fn_exit
$as_status
14708 # as_fn_set_status STATUS
14709 # -----------------------
14710 # Set $? to STATUS, without forking.
14711 as_fn_set_status
()
14714 } # as_fn_set_status
14716 # as_fn_exit STATUS
14717 # -----------------
14718 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14722 as_fn_set_status
$1
14728 # Portably unset VAR.
14731 { eval $1=; unset $1;}
14733 as_unset
=as_fn_unset
14734 # as_fn_append VAR VALUE
14735 # ----------------------
14736 # Append the text in VALUE to the end of the definition contained in VAR. Take
14737 # advantage of any shell optimizations that allow amortized linear growth over
14738 # repeated appends, instead of the typical quadratic growth present in naive
14740 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14741 eval 'as_fn_append ()
14752 # as_fn_arith ARG...
14753 # ------------------
14754 # Perform arithmetic evaluation on the ARGs, and store the result in the
14755 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14756 # must be portable across $(()) and expr.
14757 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14758 eval 'as_fn_arith ()
14765 as_val
=`expr "$@" || test $? -eq 1`
14770 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14771 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14777 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14778 as_basename
=basename
14783 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14789 as_me
=`$as_basename -- "$0" ||
14790 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14791 X"$0" : 'X\(//\)$' \| \
14792 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14794 sed '/^.*\/\([^/][^/]*\)\/*$/{
14808 # Avoid depending upon Character Ranges.
14809 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14810 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14811 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14812 as_cr_digits
='0123456789'
14813 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14815 ECHO_C
= ECHO_N
= ECHO_T
=
14816 case `echo -n x` in #(((((
14818 case `echo 'xy\c'` in
14819 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14821 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14828 rm -f conf$$ conf$$.exe conf$$.
file
14829 if test -d conf$$.dir
; then
14830 rm -f conf$$.dir
/conf$$.
file
14833 mkdir conf$$.dir
2>/dev
/null
14835 if (echo >conf$$.
file) 2>/dev
/null
; then
14836 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14838 # ... but there are two gotchas:
14839 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14840 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14841 # In both cases, we have to default to `cp -p'.
14842 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14844 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14852 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14853 rmdir conf$$.dir
2>/dev
/null
14858 # Create "$as_dir" as a directory, including parents if necessary.
14863 -*) as_dir
=.
/$as_dir;;
14865 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14869 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14870 *) as_qdir
=$as_dir;;
14872 as_dirs
="'$as_qdir' $as_dirs"
14873 as_dir
=`$as_dirname -- "$as_dir" ||
14874 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14875 X"$as_dir" : 'X\(//\)[^/]' \| \
14876 X"$as_dir" : 'X\(//\)$' \| \
14877 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14878 $as_echo X"$as_dir" |
14879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14883 /^X\(\/\/\)[^/].*/{
14896 test -d "$as_dir" && break
14898 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14899 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14903 if mkdir
-p .
2>/dev
/null
; then
14904 as_mkdir_p
='mkdir -p "$as_dir"'
14906 test -d .
/-p && rmdir .
/-p
14910 if test -x / >/dev
/null
2>&1; then
14911 as_test_x
='test -x'
14913 if ls -dL / >/dev
/null
2>&1; then
14920 if test -d "$1"; then
14926 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14927 ???[sx]*):;;*)false;;esac;fi
14931 as_executable_p
=$as_test_x
14933 # Sed expression to map a string onto a valid CPP name.
14934 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14936 # Sed expression to map a string onto a valid variable name.
14937 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14941 ## ----------------------------------- ##
14942 ## Main body of $CONFIG_STATUS script. ##
14943 ## ----------------------------------- ##
14945 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14948 # Save the log message, to keep $0 and so on meaningful, and to
14949 # report actual input values of CONFIG_FILES etc. instead of their
14950 # values after options handling.
14952 This file was extended by $as_me, which was
14953 generated by GNU Autoconf 2.68. Invocation command line was
14955 CONFIG_FILES = $CONFIG_FILES
14956 CONFIG_HEADERS = $CONFIG_HEADERS
14957 CONFIG_LINKS = $CONFIG_LINKS
14958 CONFIG_COMMANDS = $CONFIG_COMMANDS
14961 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14966 case $ac_config_files in *"
14967 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14970 case $ac_config_headers in *"
14971 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14976 # Files that config.status was made for.
14977 config_files="$ac_config_files"
14978 config_headers="$ac_config_headers"
14979 config_commands="$ac_config_commands"
14983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14985 \`$as_me' instantiates files and other configuration actions
14986 from templates according to the current configuration. Unless the files
14987 and actions are specified as TAGs, all are instantiated by default.
14989 Usage: $0 [OPTION]... [TAG]...
14991 -h, --help print this help, then exit
14992 -V, --version print version number and configuration settings, then exit
14993 --config print configuration, then exit
14994 -q, --quiet, --silent
14995 do not print progress messages
14996 -d, --debug don't remove temporary files
14997 --recheck update $as_me by reconfiguring in the same conditions
14998 --file=FILE[:TEMPLATE]
14999 instantiate the configuration file FILE
15000 --header=FILE[:TEMPLATE]
15001 instantiate the configuration header FILE
15003 Configuration files:
15006 Configuration headers:
15009 Configuration commands:
15012 Report bugs to the package provider."
15015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15016 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15019 configured by $0, generated by GNU Autoconf 2.68,
15020 with options \\"\$ac_cs_config\\"
15022 Copyright (C) 2010 Free Software Foundation, Inc.
15023 This config.status script is free software; the Free Software Foundation
15024 gives unlimited permission to copy, distribute and modify it."
15028 test -n "\$AWK" || AWK=awk
15031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15032 # The default lists apply if the user does not specify any file.
15038 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15039 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15043 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15055 # Handling of the options.
15056 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15058 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15059 $as_echo "$ac_cs_version"; exit ;;
15060 --config |
--confi |
--conf |
--con |
--co |
--c )
15061 $as_echo "$ac_cs_config"; exit ;;
15062 --debug |
--debu |
--deb |
--de |
--d |
-d )
15064 --file |
--fil |
--fi |
--f )
15067 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15068 '') as_fn_error $?
"missing file argument" ;;
15070 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15071 ac_need_defaults
=false
;;
15072 --header |
--heade |
--head |
--hea )
15075 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15077 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15078 ac_need_defaults
=false
;;
15080 # Conflict between --help and --header
15081 as_fn_error $?
"ambiguous option: \`$1'
15082 Try \`$0 --help' for more information.";;
15083 --help |
--hel |
-h )
15084 $as_echo "$ac_cs_usage"; exit ;;
15085 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15086 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15089 # This is an error.
15090 -*) as_fn_error $?
"unrecognized option: \`$1'
15091 Try \`$0 --help' for more information." ;;
15093 *) as_fn_append ac_config_targets
" $1"
15094 ac_need_defaults
=false
;;
15100 ac_configure_extra_args
=
15102 if $ac_cs_silent; then
15104 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15109 if \$ac_cs_recheck; then
15110 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15112 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15113 CONFIG_SHELL='$SHELL'
15114 export CONFIG_SHELL
15119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15123 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15124 ## Running $as_me. ##
15130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15135 aros_host_exe_suffix=${aros_host_exe_suffix}
15136 aros_tools_dir=${aros_tools_dir}
15137 aros_target_cpu=${aros_target_cpu}
15138 aros_target_arch=${aros_target_arch}
15139 aros_target_suffix=${aros_target_suffix}
15140 orig_target_nm=${orig_target_nm}
15141 orig_target_as=${orig_target_as}
15142 orig_target_ar=${orig_target_ar}
15143 orig_target_ranlib=${orig_target_ranlib}
15144 orig_target_objdump=${orig_target_objdump}
15145 orig_target_objcopy=${orig_target_objcopy}
15146 orig_target_strip=${orig_target_strip}
15147 aros_kernel_ld=${aros_kernel_ld}
15150 aros_tools_dir=${aros_tools_dir}
15155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15157 # Handling of arguments.
15158 for ac_config_target
in $ac_config_targets
15160 case $ac_config_target in
15161 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15162 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15163 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15164 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15165 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15166 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15167 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15168 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15169 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15170 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15171 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15172 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15173 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15174 "${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" ;;
15175 "${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" ;;
15176 "${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" ;;
15177 "${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" ;;
15178 "${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" ;;
15179 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15180 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15181 "${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" ;;
15183 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15188 # If the user did not use the arguments to specify the items to instantiate,
15189 # then the envvar interface is used. Set only those that are not.
15190 # We use the long form for the default assignment because of an extremely
15191 # bizarre bug on SunOS 4.1.3.
15192 if $ac_need_defaults; then
15193 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15194 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15195 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15198 # Have a temporary directory for convenience. Make it in the build tree
15199 # simply because there is no reason against having it here, and in addition,
15200 # creating and moving files from /tmp can sometimes cause problems.
15201 # Hook for its removal unless debugging.
15202 # Note that there is a small window in which the directory will not be cleaned:
15203 # after its creation but before its name has been assigned to `$tmp'.
15207 trap 'exit_status=$?
15208 : "${ac_tmp:=$tmp}"
15209 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15211 trap 'as_fn_exit 1' 1 2 13 15
15213 # Create a (secure) tmp directory for tmp files.
15216 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15220 tmp
=.
/conf$$
-$RANDOM
15221 (umask 077 && mkdir
"$tmp")
15222 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15225 # Set up the scripts for CONFIG_FILES section.
15226 # No need to generate them if there are no CONFIG_FILES.
15227 # This happens for instance with `./config.status config.h'.
15228 if test -n "$CONFIG_FILES"; then
15231 ac_cr
=`echo X | tr X '\015'`
15232 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15233 # But we know of no other shell where ac_cr would be empty at this
15234 # point, so we can use a bashism as a fallback.
15235 if test "x$ac_cr" = x
; then
15236 eval ac_cr
=\$
\'\\r
\'
15238 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15239 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15242 ac_cs_awk_cr
=$ac_cr
15245 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15250 echo "cat >conf$$subs.awk <<_ACEOF" &&
15251 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15253 } >conf$$subs.sh ||
15254 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15255 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15257 for ac_last_try in false false false false false :; do
15258 . ./conf$$subs.sh ||
15259 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15261 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15262 if test $ac_delim_n = $ac_delim_num; then
15264 elif $ac_last_try; then
15265 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15267 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15270 rm -f conf$$subs.sh
15272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15273 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15277 s/^/S["/; s
/!.
*/"]=/
15287 s/\(.\{148\}\)..*/\1/
15289 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15294 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15301 s/\(.\{148\}\)..*/\1/
15303 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15307 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15312 ' <conf$$subs.awk | sed '
15317 ' >>$CONFIG_STATUS || ac_write_fail=1
15318 rm -f conf$$subs.awk
15319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15321 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15322 for (key in S) S_is_set[key] = 1
15328 nfields = split(line, field, "@
")
15330 len = length(field[1])
15331 for (i = 2; i < nfields; i++) {
15333 keylen = length(key)
15334 if (S_is_set[key]) {
15336 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15337 len += length(value) + length(field[++i])
15348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15349 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15350 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15353 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15354 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15357 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15358 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15359 # trailing colons and then remove the whole line if VPATH becomes empty
15360 # (actually we leave an empty line to preserve line numbers).
15361 if test "x
$srcdir" = x.; then
15362 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15381 fi # test -n "$CONFIG_FILES"
15383 # Set up the scripts for CONFIG_HEADERS section.
15384 # No need to generate them if there are no CONFIG_HEADERS.
15385 # This happens for instance with `./config.status Makefile'.
15386 if test -n "$CONFIG_HEADERS"; then
15387 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15391 # Transform confdefs.h into an awk script `defines.awk', embedded as
15392 # here-document in config.status, that substitutes the proper values into
15393 # config.h.in to produce config.h.
15395 # Create a delimiter string that does not exist in confdefs.h, to ease
15396 # handling of long lines.
15398 for ac_last_try in false false :; do
15399 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15400 if test -z "$ac_tt"; then
15402 elif $ac_last_try; then
15403 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15405 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15409 # For the awk script, D is an array of macro values keyed by name,
15410 # likewise P contains macro parameters if any. Preserve backslash
15411 # newline sequences.
15413 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15415 s/.\{148\}/&'"$ac_delim"'/g
15418 s/^[ ]*#[ ]*define[ ][ ]*/ /
15425 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15427 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15431 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15432 D["\
1"]=" \
3\\\\\\n
"\\/p
15434 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15439 s/.\{148\}/&'"$ac_delim"'/g
15444 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15447 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15449 ' <confdefs.h | sed '
15450 s/'"$ac_delim"'/"\\\
15451 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15454 for (key in D) D_is_set[key] = 1
15457 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15459 split(line, arg, " ")
15460 if (arg[1] == "#") {
15464 defundef
= substr
(arg
[1], 2)
15467 split(mac1
, mac2
, "(") #)
15469 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15470 if (D_is_set
[macro
]) {
15471 # Preserve the white space surrounding the "#".
15472 print prefix
"define", macro P
[macro
] D
[macro
]
15475 # Replace #undef with comments. This is necessary, for example,
15476 # in the case of _POSIX_SOURCE, which is predefined and required
15477 # on some systems where configure will not decide to define it.
15478 if (defundef
== "undef") {
15479 print
"/*", prefix defundef
, macro
, "*/"
15487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15488 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15489 fi # test -n "$CONFIG_HEADERS"
15492 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15497 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15499 case $ac_mode$ac_tag in
15501 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15502 :[FH
]-) ac_tag
=-:-;;
15503 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15520 -) ac_f
="$ac_tmp/stdin";;
15521 *) # Look for the file first in the build tree, then in the source tree
15522 # (if the path is not absolute). The absolute path cannot be DOS-style,
15523 # because $ac_f cannot contain `:'.
15527 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15529 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15531 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15532 as_fn_append ac_file_inputs
" '$ac_f'"
15535 # Let's still pretend it is `configure' which instantiates (i.e., don't
15536 # use $as_me), people would be surprised to read:
15537 # /* config.h. Generated by config.status. */
15538 configure_input
='Generated from '`
15539 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15541 if test x
"$ac_file" != x-
; then
15542 configure_input
="$ac_file. $configure_input"
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15544 $as_echo "$as_me: creating $ac_file" >&6;}
15546 # Neutralize special characters interpreted by sed in replacement strings.
15547 case $configure_input in #(
15548 *\
&* |
*\|
* |
*\\* )
15549 ac_sed_conf_input
=`$as_echo "$configure_input" |
15550 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15551 *) ac_sed_conf_input
=$configure_input;;
15555 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15556 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15561 ac_dir
=`$as_dirname -- "$ac_file" ||
15562 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15563 X"$ac_file" : 'X\(//\)[^/]' \| \
15564 X"$ac_file" : 'X\(//\)$' \| \
15565 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15566 $as_echo X"$ac_file" |
15567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15571 /^X\(\/\/\)[^/].*/{
15584 as_dir
="$ac_dir"; as_fn_mkdir_p
15588 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15590 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15591 # A ".." for each directory in $ac_dir_suffix.
15592 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15593 case $ac_top_builddir_sub in
15594 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15595 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15598 ac_abs_top_builddir
=$ac_pwd
15599 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15600 # for backward compatibility:
15601 ac_top_builddir
=$ac_top_build_prefix
15604 .
) # We are building in place.
15606 ac_top_srcdir
=$ac_top_builddir_sub
15607 ac_abs_top_srcdir
=$ac_pwd ;;
15608 [\\/]* | ?
:[\\/]* ) # Absolute name.
15609 ac_srcdir
=$srcdir$ac_dir_suffix;
15610 ac_top_srcdir
=$srcdir
15611 ac_abs_top_srcdir
=$srcdir ;;
15612 *) # Relative name.
15613 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15614 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15615 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15617 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15629 # If the template does not know about datarootdir, expand it.
15630 # FIXME: This hack should be removed a few years after 2.60.
15631 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15642 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15643 *datarootdir
*) ac_datarootdir_seen
=yes;;
15644 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15646 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15649 ac_datarootdir_hack='
15650 s&@datadir@&$datadir&g
15651 s&@docdir@&$docdir&g
15652 s&@infodir@&$infodir&g
15653 s&@localedir@&$localedir&g
15654 s&@mandir@&$mandir&g
15655 s&\\\${datarootdir}&$datarootdir&g' ;;
15659 # Neutralize VPATH when `$srcdir' = `.'.
15660 # Shell code in configure.ac might set extrasub.
15661 # FIXME: do we really want to maintain this feature?
15662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15663 ac_sed_extra="$ac_vpsub
15666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15668 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15669 s|@configure_input@|
$ac_sed_conf_input|
;t t
15670 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15671 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15672 s
&@srcdir@
&$ac_srcdir&;t t
15673 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15674 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15675 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15676 s
&@builddir@
&$ac_builddir&;t t
15677 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15678 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15679 $ac_datarootdir_hack
15681 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15682 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15684 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15685 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15686 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15687 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15689 which seems to be undefined. Please make sure it is defined" >&5
15690 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15691 which seems to be undefined. Please make sure it is defined" >&2;}
15693 rm -f "$ac_tmp/stdin"
15695 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15696 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15698 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15704 if test x"$ac_file" != x-; then
15706 $as_echo "/* $configure_input */" \
15707 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15708 } >"$ac_tmp/config.h" \
15709 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15710 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15712 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15715 mv "$ac_tmp/config.h" "$ac_file" \
15716 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15719 $as_echo "/* $configure_input */" \
15720 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15721 || as_fn_error $? "could not create -" "$LINENO" 5
15725 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15726 $as_echo "$as_me: executing $ac_file commands" >&6;}
15731 case $ac_file$ac_mode in
15732 "compiler_executable":C)
15733 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15735 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15736 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15740 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15742 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15743 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15744 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15745 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15746 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15747 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15748 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15750 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15752 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15760 ac_clean_files=$ac_clean_files_save
15762 test $ac_write_fail = 0 ||
15763 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15766 # configure is writing to config.log, and then calls config.status.
15767 # config.status does its own redirection, appending to config.log.
15768 # Unfortunately, on DOS this fails, as config.log is still kept open
15769 # by configure, so config.status won't be able to
write to it
; its
15770 # output is simply discarded. So we exec the FD to /dev/null,
15771 # effectively closing config.log, so it can be properly (re)opened and
15772 # appended to by config.status. When coming back to configure, we
15773 # need to make the FD available again.
15774 if test "$no_create" != yes; then
15776 ac_config_status_args
=
15777 test "$silent" = yes &&
15778 ac_config_status_args
="$ac_config_status_args --quiet"
15780 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15782 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15783 # would make configure fail if this is the last instruction.
15784 $ac_cs_success || as_fn_exit
1
15786 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15788 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15793 #XXX compatability...
15794 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15796 if test -n "$aros_shared_cflags" ; then
15797 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15798 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg